CN114268656A - Communication protocol conversion method, device, equipment and system, and storage medium - Google Patents

Communication protocol conversion method, device, equipment and system, and storage medium Download PDF

Info

Publication number
CN114268656A
CN114268656A CN202111564253.8A CN202111564253A CN114268656A CN 114268656 A CN114268656 A CN 114268656A CN 202111564253 A CN202111564253 A CN 202111564253A CN 114268656 A CN114268656 A CN 114268656A
Authority
CN
China
Prior art keywords
conversion
communication
communication protocol
protocol
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111564253.8A
Other languages
Chinese (zh)
Other versions
CN114268656B (en
Inventor
邱裕丹
黄日星
陈树生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yingweike Information Technology Co ltd
Original Assignee
Shenzhen Yingweike Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yingweike Information Technology Co ltd filed Critical Shenzhen Yingweike Information Technology Co ltd
Priority to CN202111564253.8A priority Critical patent/CN114268656B/en
Publication of CN114268656A publication Critical patent/CN114268656A/en
Application granted granted Critical
Publication of CN114268656B publication Critical patent/CN114268656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a communication protocol conversion method, a device, equipment and a system, and a computer readable storage medium, wherein the method comprises the steps of obtaining conversion configuration data corresponding to first conversion communication equipment supporting a first conversion communication protocol; the conversion configuration data comprises first conversion communication protocol information and object identification information; and establishing communication connection with second conversion communication equipment supporting a second conversion communication protocol, so that the second conversion communication equipment acquires the object identification information based on the second conversion communication protocol and establishes communication connection of the first conversion communication equipment corresponding to the object identification information.

Description

Communication protocol conversion method, device, equipment and system, and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, a system, and a computer-readable storage medium for converting a communication protocol.
Background
With the development of Network technology, people step into a new information era, and in the face of increasingly complex Network structures and gradually increasing Network traffic, more and more devices need to be accessed to a Network through a Simple Network Management Protocol (SNMP), which is convenient for a terminal to manage various devices. However, some devices currently do not support the SNMP protocol, but only support the serial port communication protocol or the non-SNMP network communication protocol, which will cause that the devices cannot be managed in a centralized manner. If the devices support the SNMP protocol according to the prior art, the devices need to be developed again, which is difficult.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a communication protocol conversion method, apparatus, device, system, and computer readable storage medium, which can implement conversion between different communication protocols.
The technical scheme of the embodiment of the invention is realized as follows:
in a first aspect, a communication protocol conversion method is provided, which is applied to a protocol conversion device, and includes:
acquiring conversion configuration data corresponding to first conversion communication equipment supporting a first conversion communication protocol; the conversion configuration data comprises first conversion communication protocol information and object identification information;
and establishing communication connection with second conversion communication equipment supporting a second conversion communication protocol, so that the second conversion communication equipment acquires the object identification information based on the second conversion communication protocol and establishes communication connection of the first conversion communication equipment corresponding to the object identification information.
In a second aspect, a communication protocol conversion method is provided, which is applied to a protocol conversion system, and includes:
the protocol conversion equipment acquires conversion configuration data corresponding to first conversion communication equipment supporting a first conversion communication protocol; the conversion configuration data comprises first conversion communication protocol information and object identification information;
the protocol conversion equipment establishes communication connection with second conversion communication equipment supporting a second conversion communication protocol;
the second conversion communication device acquires the object identification information from the protocol conversion device, and establishes communication connection with the first conversion communication device based on the object identification information.
In a third aspect, a communication protocol conversion apparatus is provided, including:
the configuration module is used for acquiring conversion configuration data corresponding to first conversion communication equipment supporting a first conversion communication protocol; the conversion configuration data comprises first conversion communication protocol information and object identification information;
the conversion module is configured to establish a communication connection with a second conversion communication device that supports a second conversion communication protocol, so that the second conversion communication device obtains the object identification information based on the second conversion communication protocol, and establishes a communication connection with the first conversion communication device corresponding to the object identification information.
In a fourth aspect, a protocol conversion device is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the communication protocol conversion method provided in the embodiment of the present application.
In a fifth aspect, a communication protocol conversion system is provided, including a first conversion communication device, a second conversion communication device, and the protocol conversion device according to the embodiment of the present application, where the first conversion communication device includes a serial port communication device and/or an ethernet communication device, and the second conversion communication device includes an SNMP communication device.
In a sixth aspect, a storage medium is provided, which stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the steps of the communication protocol conversion method provided in the embodiment of the present application.
In the communication protocol conversion method, apparatus, device, system, and computer-readable storage medium provided in the foregoing embodiments, the protocol conversion device obtains the conversion configuration data corresponding to the first conversion communication device supporting the first conversion communication protocol, and establishes a communication connection with the second conversion communication device supporting the second conversion communication protocol, where the conversion configuration data includes the first conversion communication protocol information and the object identification information, and thus, the second conversion communication device can obtain the object identification information of the first conversion communication device from the protocol conversion device based on the second conversion communication protocol, and establish the communication connection of the first conversion communication device corresponding to the object identification information, thereby realizing conversion between different first conversion communication protocols and second conversion communication protocols, and having higher flexibility and wider application range, and being capable of reducing development difficulty, the development cost is reduced.
Drawings
FIG. 1 is a diagram of an alternative application scenario of the communication protocol conversion method in one embodiment;
FIG. 2 is a diagram of an alternative application scenario of the communication protocol conversion method in another embodiment;
FIG. 3 is a flow diagram of a method for communication protocol conversion in one embodiment;
FIG. 4 is a flow chart of a communication protocol conversion method in another embodiment;
FIG. 5 is a flowchart of a communication protocol conversion method in yet another embodiment;
FIG. 6 is a block diagram of a communication protocol conversion system in an alternative embodiment;
FIG. 7 is a flow chart of a communication protocol conversion method in an alternative embodiment;
FIG. 8 is a diagram of an embodiment of a communication protocol conversion device;
fig. 9 is a diagram of a protocol conversion device in an embodiment.
Detailed Description
The technical scheme of the invention is further elaborated by combining the drawings and the specific embodiments in the specification.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of the present invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In the following description, reference is made to the expression "some embodiments" which describes a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
Referring to fig. 1, a schematic diagram of an optional application scenario of a communication protocol conversion method provided in the embodiment of the present application is shown, where a system architecture of the communication protocol conversion method includes a first conversion communication device 31, a protocol conversion device 32, and a second conversion communication device 33. The first converted communication device 31 is a communication device supporting the first converted communication protocol. The second converting communication device 33 is a communication device supporting the second converting communication protocol. The protocol conversion device 32 acquires and stores conversion configuration data corresponding to the first conversion communication device 31, the second conversion communication device 33 establishes a communication connection with the protocol conversion device 32 through the second conversion communication protocol, and acquires the conversion configuration data from the protocol conversion device 32 to establish a communication connection with the first conversion communication device 31. The protocol conversion device 32 may include a display device, a protocol conversion configuration client for configuring the first conversion communication device is installed in the protocol conversion device, and a user may perform configuration operation through the protocol conversion device 32, open a configuration interface of the protocol conversion configuration client, and input conversion configuration data, so as to complete configuration of the conversion configuration data of the first conversion communication device 31. The protocol conversion device 32 obtains the conversion configuration data, and by running the computer program of the communication protocol conversion method provided in the embodiment of the present application, the conversion from the first conversion communication protocol to the second conversion communication protocol is realized, and the communication connection between the first conversion communication device 31 and the second conversion communication device 33 is established.
Referring to fig. 2, a schematic diagram of an optional application scenario of the communication protocol conversion method according to another embodiment of the present application is provided, where a system architecture of the communication protocol conversion method further includes a configuration terminal 34, the protocol conversion device 32 does not include a display device, a protocol conversion configuration client for implementing configuration of the first conversion communication device 31 is installed in the configuration terminal 34, and a user may operate through the configuration terminal to open a configuration interface of the protocol conversion configuration client to input conversion configuration data, so as to complete configuration of the conversion configuration data of the first conversion communication device 31. The configuration terminal 34 sends the converted configuration data to the protocol conversion device 32, and the protocol conversion device 32 realizes conversion from the first converted communication protocol to the second converted communication protocol by running the computer program of the communication protocol conversion method provided in the embodiment of the present application, and establishes a communication connection between the first converted communication device 31 and the second converted communication device 33. The configuration terminal 34 may be various intelligent devices with storage and calculation capabilities, such as a personal computer, a mobile phone, a tablet and other electronic device terminals.
Referring to fig. 3, a flowchart of a communication protocol conversion method provided in an embodiment of the present application can be applied to the protocol converter shown in fig. 1 or fig. 2, and the communication protocol conversion method includes the following steps.
S101, acquiring conversion configuration data corresponding to first conversion communication equipment supporting a first conversion communication protocol; the conversion configuration data includes first conversion communication protocol information and object identification information.
The first conversion communication protocol refers to one of two communication protocols that need to be converted into each other, such as a communication protocol that needs to be converted into a second conversion communication protocol. The first conversion communication device is a device supporting the first conversion communication protocol, and the device may be various devices supporting the first conversion communication protocol and requiring to access the network with the second conversion communication protocol to facilitate the terminal to perform unified management, such as an intelligent home device, an intelligent security device, and the like. The conversion configuration data may refer to information required to configure the first conversion communication device to implement conversion of the first conversion communication protocol supported by the first conversion communication device to the second conversion communication protocol, including the first conversion communication protocol information and the object identification information. The first converted communication protocol information may refer to information such as a name, an identifier, and the like of a communication protocol, which can uniquely characterize the first converted communication protocol identity. The Object identification information may include an Object Identifier (OID) of the first converting communication device, a data type of the Object Identifier, a read-write attribute of the Object Identifier, a mapping relationship between the Object Identifier and communication protocol data to be converted, and the like.
S103, establishing communication connection with a second conversion communication device supporting a second conversion communication protocol, so that the second conversion communication device acquires the object identification information based on the second conversion communication protocol, and establishes communication connection with the first conversion communication device corresponding to the object identification information.
The second converted communication protocol refers to the other of the two communication protocols that need to be converted to each other, such as the type of communication protocol to which the first converted communication protocol is expected to be converted. The second converted communication device is a device that supports the second converted communication protocol and needs to establish a communication connection with the first converted communication device that supports the first converted communication protocol. The protocol conversion device may establish a communication connection with the first conversion communication device by using the corresponding first conversion communication protocol according to the first conversion communication protocol information in the conversion configuration data. The protocol conversion equipment supports a second conversion communication protocol and establishes communication connection with the second conversion communication equipment, so that the second conversion communication equipment can read the object identification information corresponding to the first conversion communication equipment from the protocol conversion equipment through the second conversion communication protocol, establish communication connection with the first conversion communication equipment according to the object identification information and realize communication protocol conversion between the first conversion communication protocol and the second conversion communication protocol.
In the above embodiment, the protocol conversion device obtains the conversion configuration data corresponding to the first conversion communication device supporting the first conversion communication protocol, and establishes a communication connection with the second conversion communication device supporting the second conversion communication protocol, where the conversion configuration data includes the first conversion communication protocol information and the object identification information, and thus, the second conversion communication device can obtain the object identification information of the first conversion communication device from the protocol conversion device based on the second conversion communication protocol, and establish a communication connection of the first conversion communication device corresponding to the object identification information, thereby realizing conversion between different first conversion communication protocols and different second conversion communication protocols, and having higher flexibility and wider application range, reducing development difficulty, and reducing development cost.
In some embodiments, referring to fig. 4, the object identification information includes an object identifier and an association relationship between the object identifier and a designated bit of the first converted communication protocol instruction;
the S103, establishing a communication connection with a second conversion communication device supporting a second conversion communication protocol, so that the second conversion communication device obtains the object identification information based on the second conversion communication protocol, and establishing a communication connection with the first conversion communication device corresponding to the object identification information, includes:
and S1031, establishing communication connection with a second conversion communication device supporting a second conversion communication protocol, enabling the second conversion communication device to acquire the association relationship based on the second conversion communication protocol, determining an object identifier according to the data value of the specified bit of the first conversion communication protocol instruction in the association relationship, and establishing communication connection with the first conversion communication device represented by the object identifier.
The designated bits of the first converted communication protocol command may be designated data bits of first converted communication protocol data transmitted in the first converted communication protocol. The association of the object identifier with the specified bit of the first converted communication protocol instruction refers to a mapping relationship between a data value of the object identifier of the first communication conversion apparatus and the first converted communication protocol data. Through the setting of the association relationship, the protocol conversion device can read the data value of the designated data bit of the first conversion communication protocol data through the first conversion communication protocol, so that the data value of the object identifier of the first conversion communication device can be obtained according to the association relationship. Such as: the protocol conversion equipment reads and stores the data value of the specified bit of the first conversion communication protocol instruction, and associates the data value with the data value of the object identifier of the first conversion communication equipment, so as to acquire the data value of the object identifier of the first conversion communication equipment; the second conversion communication device can read the data value of the object identifier of the first conversion communication device from the protocol conversion device through the second conversion communication protocol, and indirectly obtain the data value of the designated bit of the first conversion communication protocol instruction according to the association relation, so that the communication connection of the first conversion communication device corresponding to the object identification information is established, and the conversion between the first conversion communication protocol and the second conversion communication protocol is achieved.
In the above embodiment, when the protocol conversion device is configured to convert between the first conversion communication protocol and the second conversion communication protocol, the conversion configuration data of the first conversion communication device includes the configuration of the association relationship between the object identifier of the first conversion communication device and the designated bit of the first conversion communication protocol command, so that the protocol conversion device can obtain the data value of the object identifier of the first conversion communication device by reading the data value of the designated bit of the first conversion communication protocol command, thereby not only completing the conversion between the first conversion communication protocol and the second conversion communication protocol, but also implementing the dynamic configuration of the object identifiers of different conversion communication devices Material resources, development cost saving and development difficulty reduction.
Optionally, the association relationship between the object identifier and the specified bit of the first translation communication protocol instruction includes a mapping relationship between the object identifier and the specified bit of the register address defined by the first translation communication protocol.
In this embodiment, the association relationship between the object identifier and the designated bit of the first converted communication protocol command refers to an association relationship between the object identifier and a set address in a register address of the first converted communication protocol command, in an optional specific example, the first converted communication protocol is a Modbus-RTU serial port communication protocol, and the association relationship between the object identifier and the designated bit of the first converted communication protocol command refers to association between the object identifier and a register address 0 defined by the Modbus-RTU serial port communication protocol. The second conversion communication equipment establishes communication connection with the protocol conversion equipment through the second conversion communication protocol so that the second conversion communication equipment can obtain the incidence relation in the object identification information from the protocol conversion equipment, the protocol conversion equipment reads the data value of the register address 0 defined by the first conversion communication protocol through a Modbus-RTU serial port communication protocol, and the data value is used as the data value of the object identifier, so that the data value of the object identifier of the first conversion communication equipment is obtained; the second conversion communication equipment can read the data value of the object identifier from the protocol conversion equipment through the second conversion communication protocol, so that the data value of the register address 0 defined by the Modbus-RTU serial port communication protocol is indirectly acquired, the communication connection of the first conversion communication equipment corresponding to the data value of the object identifier is established, and the conversion between the first conversion communication protocol and the second conversion communication protocol is achieved.
In another alternative specific example, the first conversion communication protocol is a Modbus-TCP ethernet communication protocol, and the association relationship between the object identifier and the specified bit of the first conversion communication protocol command means that the object identifier is associated with a register address 0 defined by the Modbus-RTU ethernet communication protocol. The second conversion communication device establishes communication connection with the protocol conversion device through the second conversion communication protocol so that the second conversion communication device can obtain the association relation in the object identification information from the protocol conversion device, the protocol conversion device reads the data value of the register address 0 defined by the Modbus-TCP Ethernet communication protocol through the Modbus-TCP Ethernet communication protocol, and the data value is used as the data value of the object identifier, so that the data value of the object identifier of the first conversion communication device is obtained; the second conversion communication equipment can read the data value of the object identifier from the protocol conversion equipment through the second conversion communication protocol, so that the data value of the register address 0 defined by the Modbus-TCP Ethernet communication protocol of the first conversion communication conversion equipment is indirectly obtained, the communication connection of the first conversion communication equipment corresponding to the data value of the object identifier is established, and the conversion between the first conversion communication protocol and the second conversion communication protocol is achieved.
In the above embodiment, the association relationship between the object identifier in the object identification information and the designated bit of the first conversion communication protocol instruction includes a mapping relationship between the object identifier and the designated bit of the register address defined by the first conversion communication protocol, a specific implementation manner for associating the object identifier with the first conversion communication protocol data is provided, and the register reading speed is high, thereby facilitating improvement of the conversion efficiency between the first conversion communication protocol and the second conversion communication protocol.
In some embodiments, the first converted communication protocol comprises a first communication protocol and/or a second communication protocol, the second converted communication protocol being a third communication protocol;
the obtaining of the conversion configuration data corresponding to the first conversion communication device includes:
the method comprises the steps of obtaining conversion configuration data corresponding to first conversion communication equipment supporting a first communication protocol, and/or obtaining conversion configuration data corresponding to first conversion communication equipment supporting a second communication protocol.
The first conversion communication protocol may be a communication protocol that is dynamically configured to select a different protocol to be converted into another communication protocol with the second conversion communication protocol. Secondly, the first converted communication protocol may also be a plurality of communication protocols that need to be converted into and from the second converted communication protocol by dynamic configuration, for example, the first converted communication protocol may include the first communication protocol and the second communication protocol. Accordingly, the protocol converter acquiring the conversion configuration data of the first conversion communication device that needs to be converted may include conversion configuration data corresponding to the first conversion communication device that supports the first communication protocol and/or conversion configuration data corresponding to the first conversion communication device that supports the second communication protocol.
In the above embodiment, the protocol conversion device may implement conversion between different first conversion communication protocols and different second conversion communication protocols based on dynamic configuration, and may support conversion between a plurality of different first conversion communication protocols and different second conversion communication protocols, so that a communication device that does not support the second conversion communication protocol may be accessed to the network in the second conversion communication protocol by way of protocol conversion, thereby facilitating unified management of the terminal on the access device, and having a wide application range.
In some embodiments, the obtaining of the conversion configuration data corresponding to the first conversion communication device supporting the first communication protocol includes:
acquiring a selected instruction of a serial communication protocol based on a conversion configuration interface, and acquiring first conversion communication protocol information as the serial communication protocol according to the selected instruction;
acquiring a first object identifier of serial communication equipment to be converted, the data type of the first object identifier, the read-write attribute of the first object identifier and the association relationship between the first object identifier and a specified bit of a serial communication protocol instruction based on the conversion configuration interface.
The acquisition of the conversion configuration data can be completed through a protocol conversion configuration client installed on the protocol conversion equipment or a configuration terminal connected with the protocol conversion equipment, and the configuration terminal can send the received conversion configuration data to the protocol conversion equipment according to the configuration operation of a user aiming at the condition that the protocol conversion configuration client is installed on the configuration terminal to provide conversion configuration for the user. The protocol conversion configuration client provides a conversion configuration interface, a user can input related configuration information through entering the conversion configuration interface, the conversion configuration interface is selectable, a to-be-selected item of the first conversion communication protocol is arranged in the conversion configuration interface, the to-be-selected item can be provided in different forms such as a pull-down menu, a list or a list, and the user can select one of the to-be-selected items to acquire the first conversion communication protocol information. In this embodiment, the to-be-selected item of the first conversion communication protocol includes a serial communication protocol, the protocol converter obtains a selected instruction of the serial communication protocol, and determines that the first conversion communication protocol information is the serial communication protocol according to the selected instruction.
Optionally, an input area of the first object identifier is provided in the conversion configuration interface, and a user may fill in the first object identifier of the serial communication device to be converted into the second conversion communication protocol in the input area to implement setting of the first object identifier. Optionally, the conversion configuration interface is provided with a to-be-selected item of the data type of the first object identifier and/or a to-be-selected item of the read-write attribute of the first object identifier, where the to-be-selected item of the data type may include an integer type, a character type, and the like, and the to-be-selected item of the read-write attribute may include read-only, readable-write, and the like. Optionally, the conversion configuration interface is provided with a to-be-selected item in which the first object identifier is associated with the selectable digits of the serial communication protocol instruction, and a user may select a certain data bit from the selectable digits to set the designated bit.
In the above embodiment, through the conversion configuration interface, a user can complete the conversion from a visualization perspective between a first conversion communication protocol to a second conversion communication protocol in the communication protocol conversion, and complete the configuration of the first conversion communication device of different object identifiers accessing the network through the second conversion communication protocol through the protocol conversion; and secondly, the conversion configuration interface can provide guidance for the operation of configuring the conversion configuration data by the user, so that the operation difficulty of configuring by the user can be simplified, and the application range of the communication protocol conversion method is widened.
In some embodiments, the obtaining of the conversion configuration data corresponding to the first conversion communication device supporting the second communication protocol includes:
acquiring a selected instruction of an Ethernet communication protocol based on a conversion configuration interface, and acquiring first conversion communication protocol information as the Ethernet communication protocol according to the selected instruction;
and acquiring a second object identifier corresponding to the Ethernet communication equipment to be converted, the data type of the second object identifier, the read-write attribute of the second object identifier and the incidence relation between the second object identifier and the designated bit of the Ethernet communication protocol instruction based on the conversion configuration interface.
The acquisition of the conversion configuration data can be completed through a protocol conversion configuration client installed on the protocol conversion equipment or a configuration terminal connected with the protocol conversion equipment, and the configuration terminal can send the received conversion configuration data to the protocol conversion equipment according to the configuration operation of a user aiming at the condition that the protocol conversion configuration client is installed on the configuration terminal to provide conversion configuration for the user. The protocol conversion configuration client provides a conversion configuration interface, a user can input related configuration information by entering the conversion configuration interface, for example, a to-be-selected item of the first conversion communication protocol is arranged in the conversion configuration interface, the to-be-selected item can be provided in different forms such as a pull-down menu, a list or a list, and the user can obtain the first conversion communication protocol information by selecting one of the to-be-selected items. In this embodiment, the to-be-selected item of the first conversion communication protocol includes an ethernet communication protocol, the protocol converter acquires a selected instruction for the ethernet communication protocol, and determines that the first conversion communication protocol information is the ethernet communication protocol according to the selected instruction.
Optionally, the conversion configuration interface is provided with an input area of the first object identifier, and the user may fill in the first object identifier of the ethernet communication device to be converted into the second conversion communication protocol in the input area to implement setting of the first object identifier. Optionally, the conversion configuration interface is provided with a to-be-selected item of the data type of the first object identifier and/or a to-be-selected item of the read-write attribute of the first object identifier, where the to-be-selected item of the data type may include an integer type, a character type, and the like, and the to-be-selected item of the read-write attribute may include read-only, readable-write, and the like. Optionally, the conversion configuration interface is provided with a to-be-selected item in which the first object identifier is associated with the selectable bits of the ethernet communication protocol instruction, and a user may select a certain data bit from the selectable bits to set the designated bit.
Optionally, the to-be-converted option of the first conversion communication protocol in the conversion configuration interface may include a plurality of communication protocols such as a serial communication protocol and an ethernet communication protocol as the to-be-converted option, and correspondingly, in the process of performing configuration operation by the user based on the conversion configuration interface, when a different communication protocol is selected as the first conversion communication protocol to be converted, the conversion configuration interface may be correspondingly switched to a configuration sub-page including the configuration option matched with the selected first conversion communication protocol based on the selected operation, so that the configuration sub-page is conveniently designed in a targeted manner according to the different communication protocols to be converted, so that the configuration page is converted more intuitively and indirectly, and the purpose of simplifying the configuration operation by the user is better achieved.
In the above embodiment, through the conversion configuration interface, a user can complete the conversion from a visualization perspective between a first conversion communication protocol to a second conversion communication protocol in the communication protocol conversion, and complete the configuration of the first conversion communication device of different object identifiers accessing the network through the second conversion communication protocol through the protocol conversion; and secondly, the conversion configuration interface can provide guidance for the operation of configuring the conversion configuration data by the user, so that the operation difficulty of configuring by the user can be simplified, and the application range of the communication protocol conversion method is widened.
In some embodiments, after obtaining the conversion configuration data corresponding to the first conversion communication device supporting the first conversion communication protocol, the method further includes:
decrypting the converted configuration data;
performing data verification on the decrypted conversion configuration data;
and if the decryption fails or the data verification fails, returning to the step of acquiring the conversion configuration data corresponding to the first conversion communication equipment supporting the first conversion communication protocol, and/or returning failure prompt information.
The method comprises the steps that in the process of storing conversion configuration data of first conversion communication equipment in a protocol converter through a visual interface, communication data are encrypted, and after the protocol converter receives the conversion configuration data, the conversion configuration data are firstly decrypted to ensure the safety of data communication. In addition, the conversion configuration data comprises a check code, and the protocol conversion equipment decrypts the conversion configuration data and then checks the decrypted conversion configuration data so as to ensure the correctness of data communication.
Referring to fig. 5, in another aspect of the embodiments of the present application, a communication protocol conversion method is further provided, which is applied to a protocol conversion system, where the protocol conversion system includes a first conversion communication device, a protocol converter, and a second conversion communication device, and the communication protocol conversion method may include the following steps:
s201, a protocol conversion device acquires conversion configuration data corresponding to a first conversion communication device supporting a first conversion communication protocol; the conversion configuration data includes first conversion communication protocol information and object identification information.
The protocol conversion device may include a display apparatus and is installed with a protocol converter that implements a protocol conversion configuration client that configures the first conversion communication device. The protocol conversion device may acquire the conversion configuration data by opening a protocol conversion configuration client by the protocol conversion device through a user and acquiring the conversion configuration data based on configuration operation in a conversion configuration interface. Optionally, the configuration operation may include a selection operation of a user on a first conversion communication protocol to be selected in the conversion configuration interface, an input operation of inputting an object identifier corresponding to the first conversion communication device, a setting operation of type data of the object identifier, a setting operation of a read-write attribute of the object identifier, and a setting operation of an association relationship between the object identifier and a specified bit of the first conversion communication protocol instruction.
In other embodiments, the protocol conversion device is in communication connection with the configuration terminal, the configuration terminal includes a display device and is provided with a protocol conversion configuration client for implementing configuration of the first conversion communication device, and a user performs configuration operation on a conversion configuration interface through the protocol conversion configuration client on the configuration terminal, so that the configuration terminal acquires the conversion configuration data and sends the conversion configuration data to the protocol conversion device.
It should be noted that the protocol conversion configuration client may be an application client (e.g., a mobile phone APP), a web page client, an applet, and the like, which is not limited herein.
S203, the protocol conversion device establishes communication connection with a second conversion communication device supporting a second conversion communication protocol.
The protocol conversion device is a protocol conversion device supporting a second conversion communication protocol, in an optional example, the second conversion communication protocol is an SNMP communication protocol, and the protocol conversion device is an SNMP protocol converter.
S205, the second converting communication device obtains the object identifier information from the protocol converting device, and establishes a communication connection with the first converting communication device based on the object identifier information.
The second conversion communication equipment establishes data communication connection with the protocol conversion equipment through a second conversion communication protocol, acquires object identification information in conversion configuration data from the protocol conversion equipment, establishes communication connection with the first conversion communication equipment according to the object identification information, and realizes communication protocol conversion between the first conversion communication protocol and the second conversion communication protocol.
In the above embodiment, the protocol conversion device obtains the conversion configuration data corresponding to the first conversion communication device supporting the first conversion communication protocol, and establishes a communication connection with the second conversion communication device supporting the second conversion communication protocol, where the conversion configuration data includes the first conversion communication protocol information and the object identification information, and thus, the second conversion communication device can obtain the object identification information of the first conversion communication device from the protocol conversion device based on the second conversion communication protocol, and establish the communication connection of the first conversion communication device corresponding to the object identification information, so that conversion between different first conversion communication protocols and different second conversion communication protocols can be realized through dynamic configuration, and the flexibility is higher, the application range is wider, the development difficulty is reduced, and the development cost is reduced.
In some embodiments, the communication protocol conversion method further includes:
the method comprises the steps that a configuration terminal obtains a selected instruction of a first conversion communication protocol based on configuration operation received by a conversion configuration interface, determines first conversion communication protocol information according to the selected instruction, and obtains an object identifier of first conversion communication equipment and an incidence relation between the object identifier and a designated bit of the first conversion communication protocol instruction;
and the configuration terminal forms conversion configuration data according to the first conversion communication protocol information and the incidence relation and sends the conversion configuration data to the protocol conversion equipment.
In this embodiment, the protocol conversion system includes a configuration terminal that is in communication connection with the protocol conversion device and is physically independent of the protocol conversion device. The protocol conversion configuration client provides a conversion configuration interface, a user can input related configuration information through configuration operation on the conversion configuration interface, for example, a to-be-selected item of a first conversion communication protocol is arranged in the conversion configuration interface, the to-be-selected item can be provided in different forms such as a pull-down menu, a list or a list, and the user can obtain the first conversion communication protocol information by selecting one of the to-be-selected items. Optionally, an input area of the first object identifier is provided in the conversion configuration interface, and a user may fill in the first object identifier of the serial communication device to be converted into the second conversion communication protocol in the input area to implement setting of the first object identifier. Optionally, the conversion configuration interface is provided with a to-be-selected item of the data type of the first object identifier and/or a to-be-selected item of the read-write attribute of the first object identifier, where the to-be-selected item of the data type may include an integer type, a character type, and the like, and the to-be-selected item of the read-write attribute may include read-only, readable-write, and the like. Optionally, the conversion configuration interface is provided with a to-be-selected item in which the first object identifier is associated with the selectable digits of the serial communication protocol instruction, and a user may select a certain data bit from the selectable digits to set the designated bit.
In the above embodiment, the configuration terminal may be any intelligent terminal, such as a mobile phone, a personal computer, etc., which can load a protocol conversion configuration client and provide a user configuration operation, so that a user can use the existing intelligent terminal to complete the protocol conversion configuration, thereby improving the convenience of use; through the conversion configuration interface, a user can complete the conversion from different first conversion communication protocols to second conversion communication protocols in the communication protocol conversion from the visual point of view, and complete the configuration that the first conversion communication equipment of different object identifiers accesses the network through the second conversion communication protocols through the protocol conversion; and secondly, the conversion configuration interface can provide guidance for the operation of configuring the conversion configuration data by the user, so that the operation difficulty of configuring by the user can be simplified, and the application range of the communication protocol conversion method is widened.
In some embodiments, the second translation communication device obtaining the object identification information from the protocol translation device, and establishing a communication connection with the first translation communication device based on the object identification information includes:
the second conversion communication equipment establishes communication connection with the protocol conversion equipment through the second conversion communication protocol;
and the second conversion communication equipment reads the data value of the specified bit of the first conversion communication protocol instruction from the protocol conversion equipment, acquires the data value of the object identifier according to the data value of the specified bit of the first conversion communication protocol instruction and the association relation, and realizes communication with the first conversion communication equipment.
Through the setting of the incidence relation, the protocol conversion equipment can read and store the data value of the appointed data bit of the first conversion communication protocol data through the first conversion communication protocol, so that the second conversion communication equipment can read the data value of the appointed bit and obtain the data value of the object identifier of the first conversion communication equipment according to the incidence relation. Such as: the protocol conversion equipment reads the data value of the specified bit of the first conversion communication protocol instruction of the first conversion communication equipment through the first conversion communication protocol, and associates the data value with the data value of the object identifier, so as to obtain the data value of the object identifier of the first conversion communication equipment; the second conversion communication equipment can read the data value of the object identifier from the protocol conversion equipment through the second conversion communication protocol, and indirectly obtain the data value of the specified position of the first conversion communication protocol instruction according to the incidence relation, so that the second conversion communication equipment establishes the communication connection of the first conversion communication equipment corresponding to the object identification information, and the conversion between the first conversion communication protocol and the second conversion communication protocol is achieved.
In the above embodiment, when the protocol conversion device is configured to convert between the first conversion communication protocol and the second conversion communication protocol, the conversion configuration data of the first conversion communication device includes the configuration of the association relationship between the object identifier of the first conversion communication device and the designated bit of the first conversion communication protocol command, so that the protocol conversion device can obtain the data value of the object identifier of the first conversion communication device by reading the data value of the designated bit of the first conversion communication protocol command, thereby not only completing the conversion between the first conversion communication protocol and the second conversion communication protocol, but also implementing the dynamic configuration of the object identifiers of different conversion communication devices Material resources, development cost saving and development difficulty reduction.
In order to more integrally and completely understand the communication protocol conversion method provided in the embodiment of the present application, please refer to fig. 6 and fig. 7, in the following, a protocol conversion device is taken as an SNMP protocol converter, a first conversion communication device includes a serial port communication device and an ethernet communication device, and a second conversion communication device is taken as an SNMP communication device for example, and the communication protocol conversion method includes the following steps:
s11, the serial port communication device is connected with the SNMP protocol converter in a serial port communication mode, and/or the Ethernet communication device is connected with the SNMP protocol converter in an Ethernet communication mode;
s12, the upper computer obtains the conversion configuration data through the configuration operation of the user on the protocol conversion configuration client and sends the data to the SNMP protocol converter; the protocol conversion configuration client can comprise different configuration modes such as an application program client, a webpage client, an applet and the like; the upper computer can load a protocol conversion configuration client at will and provide an intelligent terminal for user configuration operation, such as a mobile phone, a personal computer and the like.
S13, the SNMP protocol converter obtains and stores the conversion configuration data from the upper computer; the conversion configuration data includes but is not limited to communication protocol, object identifier, data type, read-write attribute, and incidence relation between object identifier and communication protocol register address, and the conversion configuration data can be adjusted based on actual application requirement;
s14, the SNMP communication device reads the data value of the object identifier from the SNMP protocol converter through the SNMP protocol, and indirectly obtains the data value of the address of the communication protocol register needing to be converted according to the incidence relation, so as to realize the conversion between the SNMP protocol and the communication protocol needing to be converted.
If the communication protocol needing to be converted is a serial communication protocol, the communication protocol is configured in a serial mode, the upper computer is connected with the SNMP protocol converter through a serial port on hardware, a configuration client is opened on the upper computer, the communication protocol needing to be converted into the SNMP protocol is selected to be the serial communication protocol through a visual interface, and OID information of the serial communication equipment is filled, for example: and storing the configured information into the SNMP protocol converter in a serial port mode after the configuration is finished, wherein the OID data type, the OID read-write attribute, the mapping relation between the OID and the serial port communication protocol data and the like. In a specific example, the communication protocol to be converted can be selected as a Modbus-RTU serial port protocol by configuration operation, an OID1 information is filled, the data type is integer, the read-write attribute is read-only, the mapping relationship is that the OID1 is associated with the Modbus-RTU register address 0, the SNMP protocol converter reads the data of the register address 0 of the serial port communication equipment through the Modbus-RTU protocol, the read register value is stored in the SNMP protocol converter, and the register value is taken as the data value of the OID1, so that the SNMP communication equipment can read the data value of the OID1 through the SNMP protocol, indirectly obtain the data value of the Modbus-RTU protocol register address 0 of the serial port communication equipment, and the conversion between the serial port communication protocol and the SNMP protocol can be achieved.
For another example, if the communication protocol to be converted is an ethernet communication protocol, the communication protocol is configured in an ethernet manner, the upper computer is connected to the SNMP protocol converter through the ethernet on hardware, and opens the web client at the upper computer, and selects the communication protocol to be converted into the SNMP protocol on the web visual interface by accessing the IP address of the SNMP protocol converter, and fills in OID information, for example: and the OID data type, the OID read-write attribute, the mapping relation between the OID and the data of the communication protocol to be converted and the like, and after the configuration is finished, the configured information is stored into the SNMP protocol converter 3 through the Ethernet. In a specific example, the configuration operation may include selecting the communication protocol to be converted to be a Modbus-TCP serial port protocol, filling in an OID1 information, where the data type is an integer, the read-write attribute is read-only, the mapping relationship is that the OID1 is associated with the Modbus-TCP register address 0, the SNMP protocol converter reads the data of the register address 0 of the ethernet communication device 1 through the Modbus-TCP protocol, the read register value is stored in the SNMP protocol converter 3, and the SNMP communication device 4 may read the data value of the OID1 through the SNMP protocol to indirectly obtain the data value of the Modbus-TCP protocol register address 0 of the ethernet communication device 1, so as to achieve conversion between the ethernet communication protocol and the SNMP protocol.
By configuring the mapping relation between the object identifier and the communication protocol data to be converted, when a user needs to change the OID configuration, the internal information of the SNMP protocol converter can be changed only by changing the visual interface, so that the aim of dynamic configuration is fulfilled, and software does not need to be changed again.
It should be noted that the communication protocol conversion method may have various implementation schemes, such as any two or more combinations of OID dynamic configuration, conversion between a serial port communication protocol and an SNMP communication protocol, and conversion between an ethernet communication protocol and an SNMP communication protocol, and may be applicable to the implementation schemes of conversion between a serial port communication protocol and an SNMP communication protocol, and combination of an ethernet communication protocol and an SNMP communication protocol, for devices that need to be converted into an SNMP protocol, that is, a serial port interface is supported, an ethernet interface is also supported, and OID is definitely not changed; aiming at the equipment which needs to be converted into the SNMP protocol, when only the serial port interface is supported and the Ethernet interface is not supported, the implementation scheme of the conversion combination between the OID dynamic configuration and the serial port communication protocol and the SNMP communication protocol can be applied; aiming at the equipment which needs to be converted into the SNMP protocol, when only the Ethernet interface is supported and the serial port interface is not supported, the implementation scheme of the conversion combination between the OID dynamic configuration and the Ethernet communication protocol and the SNMP communication protocol can be applied; aiming at the equipment which needs to be converted into the SNMP protocol, namely when the equipment supports both the serial port interface and the Ethernet interface, the implementation scheme can be suitable for the OID dynamic configuration, the conversion between the serial port communication protocol and the SNMP communication protocol and the conversion combination between the Ethernet communication protocol and the SNMP communication protocol.
On one hand, the communication protocol conversion method provided by the embodiment solves the problem of conversion between the SNMP protocol and other network communication protocols, and accesses serial communication equipment and/or ethernet communication equipment which do not support the SNMP protocol into a network by converting the SNMP protocol, so that the terminal management is facilitated, the application coverage is wider, and the application scene is wider; on the other hand, the OID can be configured according to different requirements, the OID is bound with communication protocol data to form a mapping relation, compared with the current SNMP OID static configuration method, the dynamic configuration method is higher in flexibility, manpower and material resources can be greatly reduced, the development cost is saved, and the development difficulty is reduced.
Referring to fig. 8, another aspect of the present invention provides a communication protocol conversion apparatus, including: a configuration module 111, configured to obtain conversion configuration data corresponding to a first conversion communication device supporting a first conversion communication protocol; the conversion configuration data comprises first conversion communication protocol information and object identification information; a conversion module 112, configured to establish a communication connection with a second conversion communication device that supports a second conversion communication protocol, so that the second conversion communication device obtains the object identification information based on the second conversion communication protocol, and establishes a communication connection with the first conversion communication device corresponding to the object identification information.
Optionally, the object identification information includes an object identifier and an association relationship between the object identifier and a specified bit of the first converted communication protocol instruction; the conversion module 112 is further configured to establish a communication connection with a second conversion communication device that supports a second conversion communication protocol, so that the second conversion communication device obtains the association relationship based on the second conversion communication protocol, determines an object identifier according to the data value of the specified bit of the first conversion communication protocol instruction in the association relationship, and establishes a communication connection with the first conversion communication device that is characterized by the object identifier.
Optionally, the association relationship between the object identifier and the specified bit of the first translation communication protocol instruction includes a mapping relationship between the object identifier and the specified bit of the register address defined by the first translation communication protocol.
Optionally, the first conversion communication protocol includes a first communication protocol and/or a second communication protocol, and the second conversion communication protocol is a third communication protocol; the configuration module 111 is further configured to obtain conversion configuration data corresponding to a first conversion communication device supporting a first communication protocol, and/or obtain conversion configuration data corresponding to a first conversion communication device supporting a second communication protocol.
Optionally, the configuration module 111 is further configured to obtain a selected instruction of a serial communication protocol based on a conversion configuration interface, and obtain first conversion communication protocol information as the serial communication protocol according to the selected instruction; acquiring a first object identifier of serial communication equipment to be converted, the data type of the first object identifier, the read-write attribute of the first object identifier and the association relationship between the first object identifier and a specified bit of a serial communication protocol instruction based on the conversion configuration interface.
Optionally, the configuration module 111 is further configured to obtain a selected instruction of the ethernet communication protocol based on the conversion configuration interface, and obtain the first conversion communication protocol information as the ethernet communication protocol according to the selected instruction; and acquiring a second object identifier corresponding to the Ethernet communication equipment to be converted, the data type of the second object identifier, the read-write attribute of the second object identifier and the incidence relation between the second object identifier and the designated bit of the Ethernet communication protocol instruction based on the conversion configuration interface.
It will be understood by those skilled in the art that the structure of the communication protocol conversion apparatus in fig. 8 does not constitute a limitation to the communication protocol conversion apparatus, and the respective modules may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a controller in the computer device, or can be stored in a memory in the computer device in a software form, so that the controller can call and execute operations corresponding to the modules. In other embodiments, more or fewer modules than shown may be included in the communication protocol conversion apparatus.
Referring to fig. 9, in another aspect of the embodiments of the present application, a protocol conversion apparatus is further provided, which includes a memory 211 and a processor 212, where the memory 211 stores a computer program, and when the computer program is executed by the processor, the processor 212 executes the steps of the communication protocol conversion method provided in any of the embodiments of the present application.
On the other hand, the embodiment of the present application further provides a communication protocol conversion system, which includes a first conversion communication device, a second conversion communication device and the protocol conversion device in the embodiment of the present application, where the first conversion communication device includes a serial port communication device and/or an ethernet communication device, and the second conversion communication device includes an SNMP communication device.
In another aspect of the embodiments of the present application, a storage medium is further provided, where a computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the steps of the communication protocol conversion method provided in any of the embodiments of the present application.
It will be understood by those skilled in the art that all or part of the processes of the methods provided in the above embodiments may be implemented by a computer program, which can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. The scope of the invention is to be determined by the scope of the appended claims.

Claims (13)

1. A communication protocol conversion method is applied to protocol conversion equipment and is characterized by comprising the following steps:
acquiring conversion configuration data corresponding to first conversion communication equipment supporting a first conversion communication protocol; the conversion configuration data comprises first conversion communication protocol information and object identification information;
and establishing communication connection with second conversion communication equipment supporting a second conversion communication protocol, so that the second conversion communication equipment acquires the object identification information based on the second conversion communication protocol and establishes communication connection of the first conversion communication equipment corresponding to the object identification information.
2. The communication protocol conversion method according to claim 1, wherein the object identification information includes an object identifier and an association of the object identifier with a specified bit of a first converted communication protocol instruction;
the establishing of the communication connection with the second conversion communication device supporting the second conversion communication protocol, for the second conversion communication device to acquire the object identification information based on the second conversion communication protocol, and establishing the communication connection with the first conversion communication device corresponding to the object identification information, includes:
establishing communication connection with a second conversion communication device supporting a second conversion communication protocol, enabling the second conversion communication device to acquire the incidence relation based on the second conversion communication protocol, determining an object identifier according to the data value of the specified bit of the first conversion communication protocol instruction in the incidence relation, and establishing communication connection with the first conversion communication device represented by the object identifier.
3. The communication protocol conversion method according to claim 2, wherein the association of the object identifier with the specified bit of the first converted communication protocol instruction includes a mapping of the object identifier with the specified bit of the register address defined by the first converted communication protocol.
4. The communication protocol conversion method according to claim 1, wherein the first converted communication protocol includes a first communication protocol and/or a second communication protocol, the second converted communication protocol being a third communication protocol;
the obtaining of the conversion configuration data corresponding to the first conversion communication device includes:
the method comprises the steps of obtaining conversion configuration data corresponding to first conversion communication equipment supporting a first communication protocol, and/or obtaining conversion configuration data corresponding to first conversion communication equipment supporting a second communication protocol.
5. The communication protocol conversion method according to claim 4, wherein the acquiring of the conversion configuration data corresponding to the first conversion communication device supporting the first communication protocol includes:
acquiring a selected instruction of a serial communication protocol based on a conversion configuration interface, and acquiring first conversion communication protocol information as the serial communication protocol according to the selected instruction;
acquiring a first object identifier of serial communication equipment to be converted, the data type of the first object identifier, the read-write attribute of the first object identifier and the association relationship between the first object identifier and a specified bit of the serial communication protocol instruction based on the conversion configuration interface.
6. The communication protocol conversion method according to claim 4, wherein the acquiring of the conversion configuration data corresponding to the first conversion communication device supporting the second communication protocol includes:
acquiring a selected instruction of an Ethernet communication protocol based on a conversion configuration interface, and acquiring first conversion communication protocol information as the Ethernet communication protocol according to the selected instruction;
and acquiring a second object identifier corresponding to the Ethernet communication equipment to be converted, the data type of the second object identifier, the read-write attribute of the second object identifier and the incidence relation between the second object identifier and the designated bit of the Ethernet communication protocol instruction based on the conversion configuration interface.
7. A communication protocol conversion method is applied to a protocol conversion system and is characterized by comprising the following steps:
the protocol conversion equipment acquires conversion configuration data corresponding to first conversion communication equipment supporting a first conversion communication protocol; the conversion configuration data comprises first conversion communication protocol information and object identification information;
the protocol conversion equipment establishes communication connection with second conversion communication equipment supporting a second conversion communication protocol;
the second conversion communication device acquires the object identification information from the protocol conversion device, and establishes communication connection with the first conversion communication device based on the object identification information.
8. The communication protocol conversion method according to claim 7, further comprising:
the method comprises the steps that a configuration terminal obtains a selected instruction of a first conversion communication protocol based on configuration operation received by a conversion configuration interface, determines first conversion communication protocol information according to the selected instruction, and obtains an object identifier of first conversion communication equipment and an incidence relation between the object identifier and a designated bit of the first conversion communication protocol instruction;
and the configuration terminal forms conversion configuration data according to the first conversion communication protocol information and the incidence relation and sends the conversion configuration data to the protocol conversion equipment.
9. The communication protocol conversion method according to claim 8, wherein the second conversion communication device acquires the object identification information from the protocol conversion device, establishes a communication connection with the first conversion communication device based on the object identification information, and includes:
the second conversion communication equipment establishes communication connection with the protocol conversion equipment through the second conversion communication protocol;
and the second conversion communication equipment reads the data value of the specified bit of the first conversion communication protocol instruction from the protocol conversion equipment, acquires the data value of the object identifier according to the data value of the specified bit of the first conversion communication protocol instruction and the association relation, and realizes communication with the first conversion communication equipment.
10. A communication protocol conversion apparatus, comprising:
the configuration module is used for acquiring conversion configuration data corresponding to first conversion communication equipment supporting a first conversion communication protocol; the conversion configuration data comprises first conversion communication protocol information and object identification information;
the conversion module is configured to establish a communication connection with a second conversion communication device that supports a second conversion communication protocol, so that the second conversion communication device obtains the object identification information based on the second conversion communication protocol, and establishes a communication connection with the first conversion communication device corresponding to the object identification information.
11. A protocol conversion device, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 9.
12. A communication protocol conversion system comprising a first conversion communication device, a second conversion communication device, and the protocol conversion device according to claim 11, the first conversion communication device comprising a serial communication device and/or an ethernet communication device, the second conversion communication device comprising an SNMP communication device.
13. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 9.
CN202111564253.8A 2021-12-20 2021-12-20 Communication protocol conversion method, device, equipment and system and storage medium Active CN114268656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111564253.8A CN114268656B (en) 2021-12-20 2021-12-20 Communication protocol conversion method, device, equipment and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111564253.8A CN114268656B (en) 2021-12-20 2021-12-20 Communication protocol conversion method, device, equipment and system and storage medium

Publications (2)

Publication Number Publication Date
CN114268656A true CN114268656A (en) 2022-04-01
CN114268656B CN114268656B (en) 2024-08-23

Family

ID=80828246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111564253.8A Active CN114268656B (en) 2021-12-20 2021-12-20 Communication protocol conversion method, device, equipment and system and storage medium

Country Status (1)

Country Link
CN (1) CN114268656B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000267961A (en) * 1999-03-17 2000-09-29 Nec Corp System for sharing package method so as to be operated as snmp agent
US20030131118A1 (en) * 2002-01-10 2003-07-10 Lee Sung Hee Apparatus for managing networks operated by different protocols and method thereof
WO2003060712A2 (en) * 2002-01-15 2003-07-24 Idetic, Inc. Method and system of accessing shared resources using configurable management information bases
JP2005038296A (en) * 2003-07-17 2005-02-10 Matsushita Electric Ind Co Ltd Network management system
KR20050030071A (en) * 2003-09-24 2005-03-29 삼성전자주식회사 The method of protocol converting between tl1 and snmp using xml
JP2006338417A (en) * 2005-06-02 2006-12-14 Matsushita Electric Ind Co Ltd Proxy device
JP2007006291A (en) * 2005-06-27 2007-01-11 Mitsubishi Electric Corp Gateway device, repeating method, and program
US7272836B1 (en) * 2000-05-31 2007-09-18 International Business Machines Corporation Method and apparatus for bridging service for standard object identifier based protocols
KR20090046054A (en) * 2007-11-05 2009-05-11 주식회사 케이티 Apparatus and method for transferring protocol
CN101714979A (en) * 2008-09-30 2010-05-26 富士通株式会社 Management apparatus and information processing apparatus, control method and program of the management apparatus
CN101815008A (en) * 2010-03-25 2010-08-25 浙江工业大学 OLT (Optical Line Terminal) agent subsystem of GPON (Gigabit-Capable Passive Optical Network) management system
CN104125086A (en) * 2013-04-28 2014-10-29 深圳市同洲电子股份有限公司 Network management multi-protocol adaption method, device and system
CN107347075A (en) * 2017-08-22 2017-11-14 深圳市计通智能技术有限公司 Conversion method and snmp protocol converter of a kind of serial port protocol to snmp protocol
CN109379280A (en) * 2018-10-25 2019-02-22 许继电气股份有限公司 A kind of protocol conversion gateway
CN112953880A (en) * 2019-11-26 2021-06-11 中车大连电力牵引研发中心有限公司 Communication protocol conversion device and method
CN113572651A (en) * 2021-09-27 2021-10-29 军事科学院***工程研究院网络信息研究所 Cloud platform resource management method and system based on multi-protocol equipment management architecture

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000267961A (en) * 1999-03-17 2000-09-29 Nec Corp System for sharing package method so as to be operated as snmp agent
US7272836B1 (en) * 2000-05-31 2007-09-18 International Business Machines Corporation Method and apparatus for bridging service for standard object identifier based protocols
US20030131118A1 (en) * 2002-01-10 2003-07-10 Lee Sung Hee Apparatus for managing networks operated by different protocols and method thereof
WO2003060712A2 (en) * 2002-01-15 2003-07-24 Idetic, Inc. Method and system of accessing shared resources using configurable management information bases
JP2005038296A (en) * 2003-07-17 2005-02-10 Matsushita Electric Ind Co Ltd Network management system
KR20050030071A (en) * 2003-09-24 2005-03-29 삼성전자주식회사 The method of protocol converting between tl1 and snmp using xml
JP2006338417A (en) * 2005-06-02 2006-12-14 Matsushita Electric Ind Co Ltd Proxy device
JP2007006291A (en) * 2005-06-27 2007-01-11 Mitsubishi Electric Corp Gateway device, repeating method, and program
KR20090046054A (en) * 2007-11-05 2009-05-11 주식회사 케이티 Apparatus and method for transferring protocol
CN101714979A (en) * 2008-09-30 2010-05-26 富士通株式会社 Management apparatus and information processing apparatus, control method and program of the management apparatus
CN101815008A (en) * 2010-03-25 2010-08-25 浙江工业大学 OLT (Optical Line Terminal) agent subsystem of GPON (Gigabit-Capable Passive Optical Network) management system
CN104125086A (en) * 2013-04-28 2014-10-29 深圳市同洲电子股份有限公司 Network management multi-protocol adaption method, device and system
CN107347075A (en) * 2017-08-22 2017-11-14 深圳市计通智能技术有限公司 Conversion method and snmp protocol converter of a kind of serial port protocol to snmp protocol
CN109379280A (en) * 2018-10-25 2019-02-22 许继电气股份有限公司 A kind of protocol conversion gateway
CN112953880A (en) * 2019-11-26 2021-06-11 中车大连电力牵引研发中心有限公司 Communication protocol conversion device and method
CN113572651A (en) * 2021-09-27 2021-10-29 军事科学院***工程研究院网络信息研究所 Cloud platform resource management method and system based on multi-protocol equipment management architecture

Also Published As

Publication number Publication date
CN114268656B (en) 2024-08-23

Similar Documents

Publication Publication Date Title
JP6515207B2 (en) Internet access authentication method and client, and computer storage medium
US9572025B2 (en) Method, server, computer program and computer program product for communicating with secure element
US8949469B2 (en) Method for software program synchronization
US20190089810A1 (en) Resource access method, apparatus, and system
US9439076B2 (en) Method for incorporating subscriber identity data into a subscriber identity module
US11930558B2 (en) Method for providing subscription profiles, subscriber identity module and subscription server
CN109729535B (en) Base station opening method and device, computer storage medium and equipment
CN106230977B (en) A kind of client functionality loading method, system, client and server-side
CN109299010A (en) Mock test method, device, computer equipment and storage medium
CN113242331B (en) Different types of address conversion method, device, computer equipment and storage medium
CN108924906A (en) Smart machine control method, ZigBee gateway and storage medium
KR20100099625A (en) Method and apparatus for storing subscriber information at machine-to-machine module
Boškov et al. Time-to-provision evaluation of IoT devices using automated zero-touch provisioning
CN103425647A (en) Method and system for webpage seamless browsing
CN103973874A (en) Device associating method and device
CN102299945A (en) Gateway configuration page registration method, system thereof and portal certificate server
US20180069762A1 (en) Device asset tracking and service desk using an external network management system as a data source
CN114268656B (en) Communication protocol conversion method, device, equipment and system and storage medium
CN109451497B (en) Wireless network connection method and device, electronic equipment and storage medium
CN109039784B (en) Node deployment method and device of OpenStack
CN108282784A (en) Wireless network access method, MiFi terminals, mobile terminal and storage medium
JP2024523633A (en) Communication method, device, electronic device, and storage medium for externally connected devices
CN109587013A (en) APP network compatibility test method, device, computer equipment and storage medium
CN112367661B (en) USAT application matching implementation method, USIM, terminal, device and medium
WO2011006439A1 (en) Method and device for storing resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant