Data communication method based on SNMP protocol and related equipment
The invention discloses a data communication method and device based on an SNMP protocol, electronic equipment and a computer readable storage medium. The data communication method comprises the stepsof receiving an object identifier and a data format definition class of to-be-acquired data sent by...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
07.02.2020
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a data communication method and device based on an SNMP protocol, electronic equipment and a computer readable storage medium. The data communication method comprises the stepsof receiving an object identifier and a data format definition class of to-be-acquired data sent by a client; calling a data analysis API in the ORM component to send a data request message to an SNMP server of the acquisition equipment end; receiving a data message which is returned by the SNMP server and corresponds to the object identifier; calling a configuration analysis API in the ORM component to extract a data text set from the data message; and calling a data analysis API to convert the data text set into a target data object conforming to the data format definition class, and sending the target data object to the client. According to the invention, the development and implementation of the SNMP protocol at the server are completed in an object-oriented manner, and the client only needs to define the dat |
---|---|
Bibliography: | Application Number: CN201910859428 |