WO2018018607A1 - Method and device for fixed conversion of transmission protocol based on message protocol identification - Google Patents

Method and device for fixed conversion of transmission protocol based on message protocol identification Download PDF

Info

Publication number
WO2018018607A1
WO2018018607A1 PCT/CN2016/092260 CN2016092260W WO2018018607A1 WO 2018018607 A1 WO2018018607 A1 WO 2018018607A1 CN 2016092260 W CN2016092260 W CN 2016092260W WO 2018018607 A1 WO2018018607 A1 WO 2018018607A1
Authority
WO
WIPO (PCT)
Prior art keywords
protocol
conversion
converted
communication
applicable
Prior art date
Application number
PCT/CN2016/092260
Other languages
French (fr)
Chinese (zh)
Inventor
范春燕
李灵
洪瑞乾
陈志远
陈亮亮
李刘海
吴春香
刘丽华
Original Assignee
深圳市赛亿科技开发有限公司
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 深圳市赛亿科技开发有限公司 filed Critical 深圳市赛亿科技开发有限公司
Priority to CN201680001022.7A priority Critical patent/CN107925652B/en
Priority to PCT/CN2016/092260 priority patent/WO2018018607A1/en
Publication of WO2018018607A1 publication Critical patent/WO2018018607A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present disclosure relates to the field of message transmission protocol conversion technologies in communication technologies, and in particular, to a transmission protocol fixed conversion method and apparatus based on message protocol identification.
  • the communication integrated circuit has a large number of communication bus interfaces, and the transmission protocols between different communication interfaces are inconsistent. For the same communication interface, the same standard communication protocol or a customized transmission protocol may be used. As well, the Internet of Things, which is currently of particular concern, is in the initial stage of development. The network protocols used by many network equipment manufacturers are not uniform, and the incompatibility of network protocols often causes the devices to fail to communicate properly.
  • the data message conversion in the data communication process is usually bidirectional, that is, the data message in one direction is converted according to the specific conversion information, and the reverse The data packet of the direction is also converted according to the specific conversion information, thereby completing the bidirectional conversion task of the data packet, and achieving normal data communication between the interfaces or between the devices.
  • the conversion information may be a mapping relationship of some protocol attributes before and after the conversion. Therefore, the conversion information for each different data message needs to be stored and recorded for the conversion information identification, query, call, and forward conversion configuration, and vice versa, for the subsequent forward conversion of the same feature data message. Query, call and restore conversion configuration of the conversion information of the direction data message. After the first different message communication, each time you need to query, call and forward/reverse conversion of the conversion information, if some messages are subsequently communicated multiple times, it will take a lot of time to use each time or accumulate. Calling and performing forward/reverse protocol conversion configuration, thereby reducing the efficiency of message protocol conversion, thereby reducing the efficiency of message data communication.
  • the present invention provides a transmission protocol fixed conversion method and device based on message protocol identification, in order to solve the problem of message protocol conversion efficiency and low message data communication efficiency in the multiple communication of message data existing in the related art. .
  • an embodiment of the present disclosure provides a transmission protocol fixed conversion based on a message protocol identification.
  • the method is applicable to a controller comprising a storage analysis module, the controller is configured to implement a transport protocol conversion communication between two communication devices, the method comprising:
  • the controller records the identifiers of the two communication devices, and records the number of conversions of the one-way transmission protocol conversion communication between the two communication devices;
  • the controller determines whether the number of conversions is less than a preset specific value
  • the controller acquires, according to the first determination result that the number of conversions is less than the specific value, a type identifier of a first protocol that is currently applicable, and another communication according to the opposite, from a communication device that sends a message to be converted. Identifying, by the identifier of the device, a type identifier and a standard of a second protocol to which the other communication device is applicable;
  • the controller performs configuration conversion on the packet to be converted according to the standard of the second protocol, so that the converted packet is applied to the second protocol;
  • the controller determines whether the number of conversions is the first time
  • the controller obtains, according to the second determination result that the number of conversions is the first time, the configuration conversion information when the current to-be-converted message is completed from the applicable first protocol to the applicable second protocol conversion, and sends the configuration
  • the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information to the storage analysis module; the specific value is greater than 1;
  • the storage analysis module acquires, associates with the type identifier of the first protocol sent by the controller, the type identifier of the second protocol, and the configuration conversion information, and generates conversion mapping information for storage;
  • the conversion mapping information in the storage analysis module acquires, by the third judgment result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the type of the first protocol that is identified Identifying and/or the type identifier of the second protocol, configuring, by using the associated configuration conversion information, the configuration of the current protocol to be converted, and converting the first protocol applicable to the current packet to be converted into an applicable one.
  • the one-way transmission protocol between the second protocols converts communication, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
  • the to-be-converted packet includes a first header and a first packet data, and the type identifier of the first protocol is stored in the first header.
  • the configuration conversion information is header encapsulation information; the controller acquires the conversion mapping information in the storage analysis module according to a third determination result that is determined to be that the number of conversions is greater than or equal to the specific value, according to the Identifying the type identifier of the first protocol and/or the type identifier of the second protocol, and performing configuration conversion on the current to-be-converted packet by using the associated configuration conversion information to implement current
  • the first protocol to which the converted message is applied is converted into a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing a fixed conversion communication of the transmission protocol between the two communication devices, including:
  • the conversion mapping information in the storage analysis module And acquiring, by the third judgment result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the type of the first protocol that is identified And identifying the type identifier of the second protocol, and performing, by using the associated configuration conversion information, the first header to be replaced by the current to-be-converted packet, so that the first packet to be converted is applicable.
  • the protocol converts into a one-way transport protocol conversion communication between the applicable second protocols, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
  • the controller performs configuration conversion on the current to be converted according to the standard of the second protocol, so that the converted The message applies to the second protocol, including:
  • the controller generates a second header according to the standard of the second protocol, and performs configuration conversion on the first header of the packet to be converted into the second header, so that the converted packet is applicable to the first header. Second agreement.
  • the storage analysis module acquires, associates with, the type identifier of the first protocol sent by the controller, and the second The type identifier of the protocol and the configuration conversion information are generated, and the conversion mapping information is generated and stored, including:
  • the storage analysis module acquires, associates with the identifiers of the two communication devices sent by the controller, the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information, to generate a conversion map. Information is stored;
  • the method further includes:
  • the controller acquires the conversion mapping information in the storage analysis module according to a third determination result that is determined to be that the number of conversions is greater than or equal to the specific value, according to any one or two communication devices that are identified. And the identifier of the first header is replaced by the current configuration to be converted, and the first protocol applicable to the current packet to be converted is converted into the applicable second protocol. The one-way transmission protocol between the two converts the communication, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices.
  • the first protocol is a Transmission Control Protocol/Internet Protocol.
  • the second protocol is an IPX or SPX protocol.
  • the present disclosure provides a transport protocol fixed conversion device based on a message protocol identification, comprising a controller, the controller is configured to implement a transport protocol conversion communication between two communication devices, and the controller includes:
  • a processor configured to record identifiers of two of the communication devices, and record a number of conversions of the one-way transmission protocol conversion communication between the two communication devices;
  • a determining module configured to determine whether the number of conversions is less than a preset specific value
  • An identifier obtaining module configured to acquire, according to a first determination result that the number of conversions is less than the specific value, a type identifier of a first protocol that is currently applicable from a communication device that sends a message to be converted, and according to a relative
  • the identifier of a communication device acquires a type identifier and a standard of a second protocol to which the other communication device is applicable;
  • the configuration conversion module is configured to perform configuration conversion on the current to-be-converted packet according to the standard of the second protocol, so that the converted packet is applied to the second protocol;
  • the determining module is further configured to determine whether the number of conversions is the first time
  • the identification obtaining module is further configured to: obtain, according to the second determination result that the number of conversions is the first time, the configuration of the current to-be-converted message from the applicable first protocol to the applicable second protocol conversion Converting information, and sending the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information to the storage analysis module; the specific value is greater than 1;
  • a storage analysis module configured to acquire, associate with the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information sent by the controller, and generate conversion mapping information for storage;
  • the processor is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the identified a type identifier of a protocol and/or a type identifier of the second protocol, configured to convert the current to-be-converted packet by using the associated configuration conversion information, to implement the first protocol to which the current packet to be converted is applicable. Converting to a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
  • the to-be-converted packet includes a first header and a first packet data, and the type identifier of the first protocol is stored in the first header. Said Configure the conversion information as the header encapsulation information;
  • the processor is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the identified The type identifier of the protocol and/or the type identifier of the second protocol, and the first header is replaced by the current to-be-converted packet by using the associated configuration translation information, so that the current packet to be converted is applicable.
  • the first protocol is converted into a one-way transport protocol conversion communication between the applicable second protocols, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
  • the configuration conversion module is further configured to generate a second header according to the standard of the second protocol, for the current to be converted
  • the first header of the packet is configured to be converted into the second header, so that the converted packet is applied to the second protocol.
  • the storage analysis module is further configured to acquire, associate, and identify an identifier of the two communications devices sent by the controller, The type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information, and generate conversion mapping information for storage;
  • the processor is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to any identified or An identifier of the two communication devices, the first header is replaced by the current to-be-converted packet by the associated configuration conversion information, and the first protocol applicable to the current packet to be converted is converted into an applicable office.
  • the one-way transmission protocol between the second protocols converts the communication, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices.
  • the first protocol is a Transmission Control Protocol/Internet Protocol.
  • the second protocol is an IPX or SPX protocol.
  • the embodiment further provides a transmission protocol fixed conversion device based on message protocol identification, where the device includes:
  • a processor configured to implement a transmission protocol conversion communication between two communication devices
  • a memory for storing processor executable instructions
  • processor is configured:
  • the configuration conversion information when the current to-be-converted message is completed from the applicable first protocol to the applicable second protocol conversion and sending the first a type identifier of the protocol, a type identifier of the second protocol, and the configuration conversion information to the storage analysis module; the specific value is greater than 1;
  • the conversion mapping information according to the identified type identifier of the first protocol and/or the type of the second protocol Identifying, by using the associated configuration conversion information, the configuration of the current to-be-converted packet is converted, and the first protocol applicable to the current packet to be converted is converted into a applicable one-way transmission between the second protocol.
  • the protocol converts the communication, thereby completing a fixed conversion communication of the transmission protocol between the two communication devices.
  • a transmission protocol fixed conversion method and apparatus based on message protocol identification is applicable to a controller including a storage analysis module, and the controller is configured to implement a transmission protocol conversion communication between two communication devices.
  • the controller records and determines the number of conversions of the one-way transmission protocol conversion communication between the communication devices, and the controller obtains the current to-be-converted message from the applicable location according to the first determination result. And configuring configuration conversion information when the first protocol is applied to the second protocol, and sending the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information to the storage analysis module.
  • the conversion mapping information in the storage analysis module is obtained, and the configuration information is converted according to the type of the identifier of the first protocol and/or the type identifier of the second protocol.
  • the configuration information in the storage analysis module is obtained, and the configuration information is converted according to the type of the identifier of the first protocol and/or the type identifier of the second protocol.
  • FIG. 1 is a schematic diagram of an implementation environment in accordance with the present disclosure
  • FIG. 2 is a flowchart of a transport protocol fixed conversion method based on message protocol identification, according to an exemplary embodiment
  • FIG. 3 is a block diagram of a transport protocol fixed conversion apparatus based on message protocol identification, according to an exemplary embodiment.
  • the implementation environment includes a controller 110 and at least one communication device 120, and the controller 110 includes a storage analysis module 111.
  • the manner of association between the controller 110 and the communication device 120 includes the network association manner and/or protocol of the hardware, and the data association manner between the two.
  • FIG. 2 is a packet-based protocol-based transmission according to an exemplary embodiment.
  • Flow chart of the fixed conversion method of the transmission protocol As shown in FIG. 2, the transport protocol fixed conversion method based on the packet protocol identification provided in this embodiment is applicable to the controller 110 including the storage analysis module 111, and the controller 110 is configured to implement transmission between the two communication devices 120.
  • Protocol conversion communication the method includes:
  • the controller records the identifiers of the two communication devices, and records the number of conversions of the one-way transmission protocol conversion communication between the two communication devices;
  • step 202 determining whether the number of conversions is less than a preset specific value; if the number of conversions is less than a specific value, performing the following step 203, if the number of conversions is greater than or equal to a specific value, then perform the following step 208;
  • the controller acquires, from the communication device that sends the packet to be converted, a type identifier of the first protocol that is currently applicable, and acquires a type identifier of the second protocol that is applicable to the other communication device according to the identifier of the other communication device. And standards;
  • the controller performs configuration conversion on the current to be converted according to the standard of the second protocol, so that the converted message is applied to the second protocol.
  • the controller determines whether the number of conversions is the first time
  • the controller obtains the configuration conversion information when the packet to be converted is converted from the applicable first protocol to the applicable second protocol, and sends the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information.
  • the specific value is greater than 1;
  • the storage analysis module acquires, types the type identifier of the first protocol sent by the controller, the type identifier of the second protocol, and the configuration conversion information, and generates the conversion mapping information for storage.
  • the controller determines, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the identified type identifier of the first protocol and/or the type identifier of the second protocol.
  • the configuration of the current to-be-converted packet is converted and converted by the associated configuration conversion information, so that the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing two Fixed conversion communication of the transmission protocol between communication devices.
  • a transmission protocol fixed conversion method based on message protocol identification provided by an embodiment of the present disclosure is applicable to a controller 110 including a storage analysis module 111, and the controller 110 is configured to implement a transmission protocol conversion between two communication devices 120.
  • the controller 110 records and determines the number of conversions of the one-way transmission protocol conversion communication between the communication devices 120, and the controller 110 obtains the current to-be-converted message from the applicable first protocol according to the first determination result of the number of conversions.
  • the configuration conversion information is applied to the applicable second protocol conversion, and the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information are sent to the storage analysis module 111 for association, and the conversion mapping information is generated for storage; 110 Obtaining the conversion mapping information in the storage analysis module 111 according to the determination result that the number of conversions is greater than or equal to the specific value, and according to the identified type identifier of the first protocol and/or the type identifier of the second protocol, through the associated configuration.
  • the conversion information is configured to convert the current packet to be converted, and the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing the two communication devices 120.
  • the fixed conversion communication of the transmission protocol saves the time when the certain communication needs to be identified, queried, invoked, and forward/reverse protocol conversion configuration each time, thereby reducing the message.
  • the efficiency of protocol conversion which in turn reduces the efficiency of message data communication.
  • the to-be-converted packet includes a first header and a first packet data, where the type identifier of the first protocol is stored in the first header, and the configuration conversion information is header encapsulation information;
  • the controller 110 obtains the conversion mapping information in the storage analysis module 111 according to the third determination result that the number of conversions is greater than or equal to the specific value, according to the identified
  • the type identifier of the protocol and/or the type identifier of the second protocol and the configuration of the current to-be-converted packet is converted and converted by the associated configuration conversion information, so that the first protocol applicable to the current packet to be converted is converted into the applicable second.
  • the one-way transmission protocol between the protocols converts the communication, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices 120, and specifically includes the following implementation methods:
  • the controller 110 acquires the conversion mapping information in the storage analysis module 111 according to the third determination result that the number of conversions is greater than or equal to the specific value, and identifies the type identifier of the first protocol and/or the type identifier of the second protocol.
  • the first header is replaced by the current configuration to be converted, and the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols. Further, a fixed conversion communication of the transmission protocol between the two communication devices 120 is completed.
  • step 204 that is, the controller 110 performs configuration conversion on the current to-be-converted packet according to the standard of the second protocol, so that after the conversion
  • the packet is applicable to the second protocol, and specifically includes the following implementation manners:
  • the controller 110 generates a second header according to the standard of the second protocol, and converts the first header of the current packet to be converted into a second header, so that the converted packet is applied to the second protocol.
  • step 207 that is, the storage analysis module 111 acquires, associates, the type identifier of the first protocol sent by the controller 110, The type identifier of the second protocol and the configuration conversion information are generated, and the conversion mapping information is generated and stored, and specifically includes the following implementation manners:
  • the storage analysis module 111 acquires, associates the identifiers of the two communication devices 120 sent by the controller 110, the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information, and generates the conversion mapping information for storage;
  • the method further includes:
  • the controller 110 acquires the conversion mapping information in the storage analysis module 111 according to the third determination result that the number of conversions is determined to be greater than or equal to the specific value, and uses the associated configuration according to the identified identifier of any one or two communication devices 120.
  • the conversion information is used to replace the first header of the packet to be converted, and the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing two communications.
  • the first protocol is a TCP protocol or an IP protocol (that is, a Transmission Control Protocol/Internet Protocol, a Transmission Control Protocol, or an Internet Protocol).
  • the second protocol is IPX (Internet work Packet Exchange) or SPX protocol (Sequenced Packet Exchange).
  • FIG. 3 is a block diagram of a transport protocol fixed conversion apparatus based on message protocol identification, according to an exemplary embodiment.
  • an embodiment of the present disclosure provides a transport protocol fixed conversion device 310 based on a message protocol identification, including a controller 110, and the controller 110 is configured to implement at least two communication devices 120 as shown in FIG.
  • the transmission protocol converts the communication
  • the controller 110 includes a processor 101, a determination module 102, an identification acquisition module 103, a configuration conversion module 104, and a storage analysis module 111, wherein the processor 101 and the determination module 102 are connected, the determination module 102, and the identification acquisition
  • the module 103 is connected
  • the configuration conversion module 104 is connected to the identification acquisition module 103
  • the identification acquisition module 103 is also connected to the storage analysis module 111
  • the processor 101 is also connected to the storage analysis module 111.
  • the functions and working principles of the processor 101, the determining module 102, the identification obtaining module 103, the configuration converting module 104, and the storage analyzing module 111 of the device are respectively described as follows:
  • the processor 101 is configured to record the identifiers of the two communication devices 120, and record the number of conversions of the one-way transmission protocol conversion communication between the two communication devices 120;
  • the determining module 102 is configured to determine whether the number of conversions is less than a preset specific value
  • the identification obtaining module 103 is configured to obtain, according to the first determination result that the number of conversions is less than the specific value, the type identifier of the first protocol that is currently applicable from the communication device 120 that sends the message to be converted, and another communication according to the relative communication.
  • the identification of the device 120 acquires the type identification and criteria of the second protocol to which the other communication device 120 is applicable;
  • the configuration conversion module 104 is configured to perform configuration conversion on the current to be converted according to the standard of the second protocol, so that the converted message is applied to the second protocol;
  • the determining module 102 is further configured to determine whether the number of conversions is the first time
  • the identification obtaining module 103 is further configured to: obtain, according to the second determination result that the number of conversions is the first time, the configuration conversion information when the current to-be-converted message completes the conversion from the applicable first protocol to the applicable second protocol, and sends the first a type identifier of the protocol, a type identifier of the second protocol, and configuration conversion information to the storage analysis module 111; the specific value is greater than 1;
  • the storage analysis module 111 is configured to acquire the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information sent by the identifier acquisition module 103 of the controller 110, and generate the conversion mapping information for storage;
  • the processor 101 is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module 111, according to the identified type identifier of the first protocol, and/or the second
  • the type identifier of the protocol is configured to convert the current to-be-converted packet by the associated configuration conversion information, so that the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols. In turn, a fixed conversion communication of the transmission protocol between the two communication devices 120 is completed.
  • the to-be-converted packet includes a first header and a first packet data, where the type identifier of the first protocol is stored in the first header, and the configuration conversion information is header encapsulation information;
  • the processor 101 is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module 111, according to the identified type identifier of the first protocol, and/or The type identifier of the second protocol, the first header of the packet to be converted is replaced by the associated configuration conversion information, and the first protocol applicable to the current packet to be converted is converted into a single protocol between the applicable second protocol.
  • the communication is converted to the transmission protocol, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices 120.
  • the configuration conversion module 104 is also used for the standard according to the second protocol.
  • a second header is generated, and the first header of the packet to be converted is configured to be converted into a second header, so that the converted packet is applied to the second protocol.
  • the storage analysis module 111 is further configured to acquire, associate, and identify the identifiers of the two communication devices 120 sent by the controller 110, the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information.
  • the processor 101 is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module 111, according to any identified or
  • the identifiers of the two communication devices 120 are used to replace the first header of the packet to be converted by the associated configuration conversion information, so that the first protocol applicable to the current packet to be converted is converted into the applicable second protocol.
  • the one-way transmission protocol converts the communication, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices 120.
  • the first protocol is a TCP protocol or an IP protocol.
  • the second protocol is an IPX or SPX protocol.
  • the embodiment further provides a transmission protocol fixed conversion device based on message protocol identification, and the device can be used in the controller 110 of the implementation environment shown in FIG. 1 to execute all of the methods shown in FIG. 2 or Part of the steps.
  • the device includes:
  • a processor configured to implement a transport protocol conversion communication between the two communication devices 120;
  • a memory for storing processor executable instructions
  • processor is configured:
  • the information is converted by the associated configuration information.
  • the packet to be converted is configured to be converted, and the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing the transmission protocol between the two communication devices 120. Fixed conversion communication.

Abstract

Disclosed are a method and device for fixed conversion of a transmission protocol based on message protocol identification, applicable to a controller including a storage analysis module. The controller acquires, according to the number of times of conversion of unidirectional transmission protocol conversion communication between two communication devices being a first determination result, configuration conversion information about protocol conversion of a current message to be converted, and sends type identifiers of a first protocol and a second protocol and the configuration conversion information to the storage analysis module for association to generate conversion mapping information; and when the controller identifies and determines that the number of times of conversion is greater than or equal to a specific value, the conversion mapping information is acquired so as to perform configuration conversion on the current message to be converted by means of the associated configuration conversion information according to the type identifiers of the identified first protocol and/or second protocol, thereby economising tedious steps and a time required for identification, query, invoking and forward/reverse protocol conversion configuration each time during multiple subsequent communication of the message, and reducing the efficiency of message protocol conversion.

Description

一种基于报文协议识别的传输协议固定转换方法及装置Transmission protocol fixed conversion method and device based on message protocol identification 技术领域Technical field
本公开涉及通信技术中报文传输协议转换技术领域,特别涉及一种基于报文协议识别的传输协议固定转换方法及装置。The present disclosure relates to the field of message transmission protocol conversion technologies in communication technologies, and in particular, to a transmission protocol fixed conversion method and apparatus based on message protocol identification.
背景技术Background technique
在通信设备中,通信集成电路的通信总线接口繁多,不同的通信接口之间的传输协议不一致,对于相同的通信接口,也可有相同的标准性的通信协议或者自定义的传输协议。以及,目前特别受关注的物联网处于初步发展阶段,诸多的网络设备生产商家生产的产品所使用的网络协议均不统一,经常出现网络协议不兼容导致设备之间无法正常通信的问题。因此,在数据通信系统中,有大量的数据报文需要进行转换,数据通信过程中对数据报文的转换通常是双向的,即一个方向的数据报文按照特定的转换信息进行转换,而反方向的数据报文也按照所述特定的转换信息进行还原方式的转换,以此来完成数据报文的双向转换任务,达成接口之间或者设备之间的数据正常通信。In the communication device, the communication integrated circuit has a large number of communication bus interfaces, and the transmission protocols between different communication interfaces are inconsistent. For the same communication interface, the same standard communication protocol or a customized transmission protocol may be used. As well, the Internet of Things, which is currently of particular concern, is in the initial stage of development. The network protocols used by many network equipment manufacturers are not uniform, and the incompatibility of network protocols often causes the devices to fail to communicate properly. Therefore, in the data communication system, a large number of data messages need to be converted, and the data message conversion in the data communication process is usually bidirectional, that is, the data message in one direction is converted according to the specific conversion information, and the reverse The data packet of the direction is also converted according to the specific conversion information, thereby completing the bidirectional conversion task of the data packet, and achieving normal data communication between the interfaces or between the devices.
在数据报文转换过程中,转换信息可以是转换前后的一些协议属性的映射关系。因此,对于每个不同的数据报文的转换信息需要进行存储和记录,以用于后续的相同特征的数据报文的正向转换时的转换信息识别、查询、调用和正向转换配置,和反方向数据报文的转换信息的查询、调用和还原转换配置。首次不同报文通信之后,每次都需要进行转换信息的查询、调用和正向/反向转换配置,如果某些报文后续多次进行通信时,则每次或者累计下来都会耗费很多时间用来调用和进行正向/反向的协议转换配置,从而降低了报文协议转换的效率,进而降低了报文数据通信的工作效率。In the data packet conversion process, the conversion information may be a mapping relationship of some protocol attributes before and after the conversion. Therefore, the conversion information for each different data message needs to be stored and recorded for the conversion information identification, query, call, and forward conversion configuration, and vice versa, for the subsequent forward conversion of the same feature data message. Query, call and restore conversion configuration of the conversion information of the direction data message. After the first different message communication, each time you need to query, call and forward/reverse conversion of the conversion information, if some messages are subsequently communicated multiple times, it will take a lot of time to use each time or accumulate. Calling and performing forward/reverse protocol conversion configuration, thereby reducing the efficiency of message protocol conversion, thereby reducing the efficiency of message data communication.
发明内容Summary of the invention
为了解决相关技术中存在的报文数据多次通信存在的报文协议转换效率和报文数据通信工作效率低的问题,本公开提供了一种基于报文协议识别的传输协议固定转换方法及装置。The present invention provides a transmission protocol fixed conversion method and device based on message protocol identification, in order to solve the problem of message protocol conversion efficiency and low message data communication efficiency in the multiple communication of message data existing in the related art. .
第一方面,本公开实施例提供一种基于报文协议识别的传输协议固定转换 方法,适用于包含存储分析模块的控制器,所述控制器用于实现两个通信装置之间的传输协议转换通信,所述方法包括:In a first aspect, an embodiment of the present disclosure provides a transmission protocol fixed conversion based on a message protocol identification. The method is applicable to a controller comprising a storage analysis module, the controller is configured to implement a transport protocol conversion communication between two communication devices, the method comprising:
所述控制器记录两个所述通信装置的标识,以及记录所述两个通信装置之间进行单向传输协议转换通信的转换次数;The controller records the identifiers of the two communication devices, and records the number of conversions of the one-way transmission protocol conversion communication between the two communication devices;
所述控制器判断所述转换次数是否小于预设的特定值;The controller determines whether the number of conversions is less than a preset specific value;
所述控制器根据所述转换次数小于所述特定值的第一判断结果,从发送待转换的报文的通信装置处获取当前所适用的第一协议的类型标识,以及根据相对的另一通信装置的标识获取所述另一通信装置适用的第二协议的类型标识和标准;And the controller acquires, according to the first determination result that the number of conversions is less than the specific value, a type identifier of a first protocol that is currently applicable, and another communication according to the opposite, from a communication device that sends a message to be converted. Identifying, by the identifier of the device, a type identifier and a standard of a second protocol to which the other communication device is applicable;
所述控制器根据所述第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用所述第二协议;The controller performs configuration conversion on the packet to be converted according to the standard of the second protocol, so that the converted packet is applied to the second protocol;
所述控制器判断所述转换次数是否为首次;The controller determines whether the number of conversions is the first time;
所述控制器根据所述转换次数为首次的第二判断结果,获取当前待转换的报文完成从适用的所述第一协议到适用的所述第二协议转换时的配置转换信息,并发送所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息至所述存储分析模块;所述特定值大于1;The controller obtains, according to the second determination result that the number of conversions is the first time, the configuration conversion information when the current to-be-converted message is completed from the applicable first protocol to the applicable second protocol conversion, and sends the configuration The type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information to the storage analysis module; the specific value is greater than 1;
所述存储分析模块获取、关联所述控制器发送的所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储;The storage analysis module acquires, associates with the type identifier of the first protocol sent by the controller, the type identifier of the second protocol, and the configuration conversion information, and generates conversion mapping information for storage;
所述控制器根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。And acquiring, by the third judgment result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the type of the first protocol that is identified Identifying and/or the type identifier of the second protocol, configuring, by using the associated configuration conversion information, the configuration of the current protocol to be converted, and converting the first protocol applicable to the current packet to be converted into an applicable one. The one-way transmission protocol between the second protocols converts communication, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
结合第一方面,在第一种可能的实现方式中,所述待转换的报文包括第一报头和第一报文数据,所述第一协议的类型标识存储于所述第一报头中,所述配置转换信息为报头封装信息;所述控制器根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行配置转换,实现当前待 转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信,包括:With reference to the first aspect, in a first possible implementation, the to-be-converted packet includes a first header and a first packet data, and the type identifier of the first protocol is stored in the first header. The configuration conversion information is header encapsulation information; the controller acquires the conversion mapping information in the storage analysis module according to a third determination result that is determined to be that the number of conversions is greater than or equal to the specific value, according to the Identifying the type identifier of the first protocol and/or the type identifier of the second protocol, and performing configuration conversion on the current to-be-converted packet by using the associated configuration conversion information to implement current The first protocol to which the converted message is applied is converted into a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing a fixed conversion communication of the transmission protocol between the two communication devices, including:
所述控制器根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行所述第一报头的替换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。And acquiring, by the third judgment result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the type of the first protocol that is identified And identifying the type identifier of the second protocol, and performing, by using the associated configuration conversion information, the first header to be replaced by the current to-be-converted packet, so that the first packet to be converted is applicable. The protocol converts into a one-way transport protocol conversion communication between the applicable second protocols, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述控制器根据所述第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用所述第二协议,包括:With the first possible implementation of the first aspect, in a second possible implementation, the controller performs configuration conversion on the current to be converted according to the standard of the second protocol, so that the converted The message applies to the second protocol, including:
所述控制器根据所述第二协议的标准生成第二报头,对当前待转换的报文的所述第一报头进行配置转换成所述第二报头,使转换后的报文适用所述第二协议。The controller generates a second header according to the standard of the second protocol, and performs configuration conversion on the first header of the packet to be converted into the second header, so that the converted packet is applicable to the first header. Second agreement.
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述存储分析模块获取、关联所述控制器发送的所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储,包括:With reference to the second possible implementation of the first aspect, in a third possible implementation, the storage analysis module acquires, associates with, the type identifier of the first protocol sent by the controller, and the second The type identifier of the protocol and the configuration conversion information are generated, and the conversion mapping information is generated and stored, including:
所述存储分析模块获取、关联所述控制器发送的所述两个通信装置的标识,所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储;The storage analysis module acquires, associates with the identifiers of the two communication devices sent by the controller, the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information, to generate a conversion map. Information is stored;
所述方法还包括:The method further includes:
所述控制器根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的任一或者两个通信装置的标识,通过关联的所述配置转换信息对当前待转换的报文进行所述第一报头的替换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。The controller acquires the conversion mapping information in the storage analysis module according to a third determination result that is determined to be that the number of conversions is greater than or equal to the specific value, according to any one or two communication devices that are identified. And the identifier of the first header is replaced by the current configuration to be converted, and the first protocol applicable to the current packet to be converted is converted into the applicable second protocol. The one-way transmission protocol between the two converts the communication, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices.
结合第一方面的第三种可能的实现方式,在第四种可能的实现方式中,所述第一协议为传输控制协议/因特网互联协议。 In conjunction with the third possible implementation of the first aspect, in a fourth possible implementation, the first protocol is a Transmission Control Protocol/Internet Protocol.
结合第一方面的第四种可能的实现方式,在第五种可能的实现方式中,所述第二协议为IPX或者SPX协议。In conjunction with the fourth possible implementation of the first aspect, in a fifth possible implementation, the second protocol is an IPX or SPX protocol.
第二方面,本公开提供一种基于报文协议识别的传输协议固定转换装置,包括控制器,所述控制器用于实现两个通信装置之间的传输协议转换通信,所述控制器包括:In a second aspect, the present disclosure provides a transport protocol fixed conversion device based on a message protocol identification, comprising a controller, the controller is configured to implement a transport protocol conversion communication between two communication devices, and the controller includes:
处理器,用于记录两个所述通信装置的标识,以及记录所述两个通信装置之间进行单向传输协议转换通信的转换次数;a processor, configured to record identifiers of two of the communication devices, and record a number of conversions of the one-way transmission protocol conversion communication between the two communication devices;
判断模块,用于判断所述转换次数是否小于预设的特定值;a determining module, configured to determine whether the number of conversions is less than a preset specific value;
识别获取模块,用于根据所述转换次数小于所述特定值的第一判断结果,从发送待转换的报文的通信装置处获取当前所适用的第一协议的类型标识,以及根据相对的另一通信装置的标识获取所述另一通信装置适用的第二协议的类型标识和标准;An identifier obtaining module, configured to acquire, according to a first determination result that the number of conversions is less than the specific value, a type identifier of a first protocol that is currently applicable from a communication device that sends a message to be converted, and according to a relative The identifier of a communication device acquires a type identifier and a standard of a second protocol to which the other communication device is applicable;
配置转换模块,用于根据所述第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用所述第二协议;The configuration conversion module is configured to perform configuration conversion on the current to-be-converted packet according to the standard of the second protocol, so that the converted packet is applied to the second protocol;
所述判断模块,还用于判断所述转换次数是否为首次;The determining module is further configured to determine whether the number of conversions is the first time;
所述识别获取模块,还用于根据所述转换次数为首次的第二判断结果,获取当前待转换的报文完成从适用的所述第一协议到适用的所述第二协议转换时的配置转换信息,并发送所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息至所述存储分析模块;所述特定值大于1;The identification obtaining module is further configured to: obtain, according to the second determination result that the number of conversions is the first time, the configuration of the current to-be-converted message from the applicable first protocol to the applicable second protocol conversion Converting information, and sending the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information to the storage analysis module; the specific value is greater than 1;
存储分析模块,用于获取、关联所述控制器发送的所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储;a storage analysis module, configured to acquire, associate with the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information sent by the controller, and generate conversion mapping information for storage;
所述处理器,还用于根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。The processor is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the identified a type identifier of a protocol and/or a type identifier of the second protocol, configured to convert the current to-be-converted packet by using the associated configuration conversion information, to implement the first protocol to which the current packet to be converted is applicable. Converting to a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
结合第二方面,在第一种可能的实现方式中,所述待转换的报文包括第一报头和第一报文数据,所述第一协议的类型标识存储于所述第一报头中,所述 配置转换信息为报头封装信息;With reference to the second aspect, in a first possible implementation, the to-be-converted packet includes a first header and a first packet data, and the type identifier of the first protocol is stored in the first header. Said Configure the conversion information as the header encapsulation information;
所述处理器,还用于根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行所述第一报头的替换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。The processor is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the identified The type identifier of the protocol and/or the type identifier of the second protocol, and the first header is replaced by the current to-be-converted packet by using the associated configuration translation information, so that the current packet to be converted is applicable. The first protocol is converted into a one-way transport protocol conversion communication between the applicable second protocols, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述配置转换模块,还用于根据所述第二协议的标准生成第二报头,对当前待转换的报文的所述第一报头进行配置转换成所述第二报头,使转换后的报文适用所述第二协议。With reference to the first possible implementation of the second aspect, in a second possible implementation, the configuration conversion module is further configured to generate a second header according to the standard of the second protocol, for the current to be converted The first header of the packet is configured to be converted into the second header, so that the converted packet is applied to the second protocol.
结合第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述存储分析模块,还用于获取、关联所述控制器发送的所述两个通信装置的标识,所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储;With reference to the second possible implementation of the second aspect, in a third possible implementation, the storage analysis module is further configured to acquire, associate, and identify an identifier of the two communications devices sent by the controller, The type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information, and generate conversion mapping information for storage;
所述处理器,还用于根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的任一或者两个通信装置的标识,通过关联的所述配置转换信息对当前待转换的报文进行所述第一报头的替换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。The processor is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to any identified or An identifier of the two communication devices, the first header is replaced by the current to-be-converted packet by the associated configuration conversion information, and the first protocol applicable to the current packet to be converted is converted into an applicable office. The one-way transmission protocol between the second protocols converts the communication, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices.
结合第二方面的第三种可能的实现方式,在第四种可能的实现方式中,所述第一协议为传输控制协议/因特网互联协议。In conjunction with the third possible implementation of the second aspect, in a fourth possible implementation, the first protocol is a Transmission Control Protocol/Internet Protocol.
结合第二方面的第四种可能的实现方式,在第五种可能的实现方式中,所述第二协议为IPX或者SPX协议。In conjunction with the fourth possible implementation of the second aspect, in a fifth possible implementation, the second protocol is an IPX or SPX protocol.
第三方面,本实施例还提供一种基于报文协议识别的传输协议固定转换装置,所述装置包括:In a third aspect, the embodiment further provides a transmission protocol fixed conversion device based on message protocol identification, where the device includes:
处理器,用于实现两个通信装置之间的传输协议转换通信;a processor, configured to implement a transmission protocol conversion communication between two communication devices;
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
其中,所述处理器被配置: Wherein the processor is configured:
记录两个所述通信装置的标识,以及记录所述两个通信装置之间进行单向传输协议转换通信的转换次数;Recording the identifiers of the two communication devices, and recording the number of conversions of the one-way transmission protocol conversion communication between the two communication devices;
判断所述转换次数是否小于预设的特定值;Determining whether the number of conversions is less than a preset specific value;
根据所述转换次数小于所述特定值的第一判断结果,从发送待转换的报文的通信装置处获取当前所适用的第一协议的类型标识,以及根据相对的另一通信装置的标识获取所述另一通信装置适用的第二协议的类型标识和标准;Obtaining, according to the first determination result that the number of conversions is less than the specific value, obtaining a type identifier of the first protocol that is currently applicable from the communication device that sends the message to be converted, and acquiring according to the identifier of the other communication device Type identification and standard of the second protocol to which the other communication device is applicable;
根据所述第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用所述第二协议;And performing configuration conversion on the current to-be-converted packet according to the standard of the second protocol, so that the converted packet is applied to the second protocol;
判断所述转换次数是否为首次;Determining whether the number of conversions is the first time;
根据所述转换次数为首次的第二判断结果,获取当前待转换的报文完成从适用的所述第一协议到适用的所述第二协议转换时的配置转换信息,并发送所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息至所述存储分析模块;所述特定值大于1;Obtaining, according to the second determination result that the number of conversions is the first, the configuration conversion information when the current to-be-converted message is completed from the applicable first protocol to the applicable second protocol conversion, and sending the first a type identifier of the protocol, a type identifier of the second protocol, and the configuration conversion information to the storage analysis module; the specific value is greater than 1;
获取、关联所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储;Obtaining, associating, a type identifier of the first protocol, a type identifier of the second protocol, and the configuration conversion information, and generating conversion mapping information for storage;
根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。Acquiring, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information, according to the identified type identifier of the first protocol and/or the type of the second protocol Identifying, by using the associated configuration conversion information, the configuration of the current to-be-converted packet is converted, and the first protocol applicable to the current packet to be converted is converted into a applicable one-way transmission between the second protocol. The protocol converts the communication, thereby completing a fixed conversion communication of the transmission protocol between the two communication devices.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开的实施例提供的一种基于报文协议识别的传输协议固定转换方法及装置,适用于包含存储分析模块的控制器,所述控制器用于实现两个通信装置之间的传输协议转换通信,所述控制器记录并判断通信装置之间进行单向传输协议转换通信的转换次数,所述控制器根据所述转换次数为首次的判断结果,获取当前待转换的报文完成从适用的所述第一协议到适用的所述第二协议转换时的配置转换信息,并发送所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息至所述存储分析模块进行关联,生成转换映射信息进行存储;以在所述控制器根据识别判断出所述转换次数大于或等于所述特定值的 判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信,节约了某些报文后续多次进行通信时,每次都需识别、查询、调用和进行正向/反向的协议转换配置的时间,从而降低了报文协议转换的效率,进而降低了报文数据通信的工作效率。A transmission protocol fixed conversion method and apparatus based on message protocol identification provided by an embodiment of the present disclosure is applicable to a controller including a storage analysis module, and the controller is configured to implement a transmission protocol conversion communication between two communication devices. The controller records and determines the number of conversions of the one-way transmission protocol conversion communication between the communication devices, and the controller obtains the current to-be-converted message from the applicable location according to the first determination result. And configuring configuration conversion information when the first protocol is applied to the second protocol, and sending the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information to the storage analysis module. Performing association, generating conversion mapping information for storage; and determining, by the controller, that the number of conversions is greater than or equal to the specific value according to the identification As a result of the determination, the conversion mapping information in the storage analysis module is obtained, and the configuration information is converted according to the type of the identifier of the first protocol and/or the type identifier of the second protocol. Performing configuration conversion on the packet to be converted, converting the first protocol applicable to the current packet to be converted into the one-way transmission protocol conversion communication between the applicable second protocols, and completing the two communications. The fixed conversion communication of the transmission protocol between the devices saves time for each message to be identified, queried, invoked, and forward/reverse protocol conversion configuration each time, so that the time is reduced. The efficiency of message protocol conversion reduces the efficiency of message data communication.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。The above general description and the following detailed description are merely exemplary and are not intended to limit the disclosure.
附图说明DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并于说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute in FIG
图1是根据本公开所涉及的实施环境的示意图;1 is a schematic diagram of an implementation environment in accordance with the present disclosure;
图2是根据一示例性实施例示出的一种基于报文协议识别的传输协议固定转换方法的流程图;2 is a flowchart of a transport protocol fixed conversion method based on message protocol identification, according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种基于报文协议识别的传输协议固定转换装置的框图。FIG. 3 is a block diagram of a transport protocol fixed conversion apparatus based on message protocol identification, according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例执行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。The description will be made in detail herein with respect to exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with aspects of the invention as detailed in the appended claims.
图1是根据本公开所涉及的实施环境的示意图。该实施环境包括:控制器110和至少一个通信装置120,控制器110包含存储分析模块111。1 is a schematic diagram of an implementation environment in accordance with the present disclosure. The implementation environment includes a controller 110 and at least one communication device 120, and the controller 110 includes a storage analysis module 111.
控制器110与通信装置120之间的关联方式,包括硬件的网络关联方式和/或协议,以及二者之间往来的数据关联方式。The manner of association between the controller 110 and the communication device 120 includes the network association manner and/or protocol of the hardware, and the data association manner between the two.
请参见图2,图2是根据一示例性实施例示出的一种基于报文协议识别的传 输协议固定转换方法的流程图。如图2所示,本实施例提供的基于报文协议识别的传输协议固定转换方法,适用于包含存储分析模块111的控制器110,控制器110用于实现两个通信装置120之间的传输协议转换通信,该方法包括:Referring to FIG. 2, FIG. 2 is a packet-based protocol-based transmission according to an exemplary embodiment. Flow chart of the fixed conversion method of the transmission protocol. As shown in FIG. 2, the transport protocol fixed conversion method based on the packet protocol identification provided in this embodiment is applicable to the controller 110 including the storage analysis module 111, and the controller 110 is configured to implement transmission between the two communication devices 120. Protocol conversion communication, the method includes:
201、控制器记录两个通信装置的标识,以及记录两个通信装置之间进行单向传输协议转换通信的转换次数;201. The controller records the identifiers of the two communication devices, and records the number of conversions of the one-way transmission protocol conversion communication between the two communication devices;
202、判断转换次数是否小于预设的特定值;如果转换次数小于特定值,则执行下述步骤203,如果转换次数大于或者等于特定值,则执行下述步骤208;202, determining whether the number of conversions is less than a preset specific value; if the number of conversions is less than a specific value, performing the following step 203, if the number of conversions is greater than or equal to a specific value, then perform the following step 208;
203、控制器从发送待转换的报文的通信装置处获取当前所适用的第一协议的类型标识,以及根据相对的另一通信装置的标识获取另一通信装置适用的第二协议的类型标识和标准;203. The controller acquires, from the communication device that sends the packet to be converted, a type identifier of the first protocol that is currently applicable, and acquires a type identifier of the second protocol that is applicable to the other communication device according to the identifier of the other communication device. And standards;
204、控制器根据第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用第二协议;204. The controller performs configuration conversion on the current to be converted according to the standard of the second protocol, so that the converted message is applied to the second protocol.
205、控制器判断转换次数是否为首次;205. The controller determines whether the number of conversions is the first time;
206、控制器获取当前待转换的报文完成从适用的第一协议到适用的第二协议转换时的配置转换信息,并发送第一协议的类型标识、第二协议的类型标识和配置转换信息至存储分析模块;特定值大于1;The controller obtains the configuration conversion information when the packet to be converted is converted from the applicable first protocol to the applicable second protocol, and sends the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information. To the storage analysis module; the specific value is greater than 1;
207、存储分析模块获取、关联控制器发送的第一协议的类型标识、第二协议的类型标识和配置转换信息,生成转换映射信息进行存储;207. The storage analysis module acquires, types the type identifier of the first protocol sent by the controller, the type identifier of the second protocol, and the configuration conversion information, and generates the conversion mapping information for storage.
208、控制器根据识别判断出转换次数大于或等于特定值的第三判断结果,获取存储分析模块中的转换映射信息,根据识别出的第一协议的类型标识和/或第二协议的类型标识,通过关联的配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的第一协议转换成适用的第二协议之间的单向传输协议转换通信,进而完成两个通信装置之间的传输协议的固定转换通信。208. The controller determines, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the identified type identifier of the first protocol and/or the type identifier of the second protocol. The configuration of the current to-be-converted packet is converted and converted by the associated configuration conversion information, so that the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing two Fixed conversion communication of the transmission protocol between communication devices.
本公开的实施例提供的一种基于报文协议识别的传输协议固定转换方法,适用于包含存储分析模块111的控制器110,控制器110用于实现两个通信装置120之间的传输协议转换通信,控制器110记录并判断通信装置120之间进行单向传输协议转换通信的转换次数,控制器110根据转换次数为首次的判断结果,获取当前待转换的报文完成从适用的第一协议到适用的第二协议转换时的配置转换信息,并发送第一协议的类型标识、第二协议的类型标识和配置转换信息至存储分析模块111进行关联,生成转换映射信息进行存储;以在控制器110 根据识别判断出转换次数大于或等于特定值的判断结果,获取存储分析模块111中的转换映射信息,根据识别出的第一协议的类型标识和/或第二协议的类型标识,通过关联的配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的第一协议转换成适用的第二协议之间的单向传输协议转换通信,进而完成两个通信装置120之间的传输协议的固定转换通信,节约了某些报文后续多次进行通信时,每次都需识别、查询、调用和进行正向/反向的协议转换配置的时间,从而降低了报文协议转换的效率,进而降低了报文数据通信的工作效率。A transmission protocol fixed conversion method based on message protocol identification provided by an embodiment of the present disclosure is applicable to a controller 110 including a storage analysis module 111, and the controller 110 is configured to implement a transmission protocol conversion between two communication devices 120. In the communication, the controller 110 records and determines the number of conversions of the one-way transmission protocol conversion communication between the communication devices 120, and the controller 110 obtains the current to-be-converted message from the applicable first protocol according to the first determination result of the number of conversions. The configuration conversion information is applied to the applicable second protocol conversion, and the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information are sent to the storage analysis module 111 for association, and the conversion mapping information is generated for storage; 110 Obtaining the conversion mapping information in the storage analysis module 111 according to the determination result that the number of conversions is greater than or equal to the specific value, and according to the identified type identifier of the first protocol and/or the type identifier of the second protocol, through the associated configuration. The conversion information is configured to convert the current packet to be converted, and the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing the two communication devices 120. The fixed conversion communication of the transmission protocol saves the time when the certain communication needs to be identified, queried, invoked, and forward/reverse protocol conversion configuration each time, thereby reducing the message. The efficiency of protocol conversion, which in turn reduces the efficiency of message data communication.
优选的,作为一种可选的实施方式,待转换的报文包括第一报头和第一报文数据,第一协议的类型标识存储于第一报头中,配置转换信息为报头封装信息;基于上述图2所示的方法,其中的步骤208,即控制器110根据识别判断出转换次数大于或等于特定值的第三判断结果,获取存储分析模块111中的转换映射信息,根据识别出的第一协议的类型标识和/或第二协议的类型标识,通过关联的配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的第一协议转换成适用的第二协议之间的单向传输协议转换通信,进而完成两个通信装置120之间的传输协议的固定转换通信,具体的包括以下实现方法:Preferably, as an optional implementation, the to-be-converted packet includes a first header and a first packet data, where the type identifier of the first protocol is stored in the first header, and the configuration conversion information is header encapsulation information; The method shown in FIG. 2, wherein the controller 110 obtains the conversion mapping information in the storage analysis module 111 according to the third determination result that the number of conversions is greater than or equal to the specific value, according to the identified The type identifier of the protocol and/or the type identifier of the second protocol, and the configuration of the current to-be-converted packet is converted and converted by the associated configuration conversion information, so that the first protocol applicable to the current packet to be converted is converted into the applicable second. The one-way transmission protocol between the protocols converts the communication, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices 120, and specifically includes the following implementation methods:
控制器110根据识别判断出转换次数大于或等于特定值的第三判断结果,获取存储分析模块111中的转换映射信息,根据识别出的第一协议的类型标识和/或第二协议的类型标识,通过关联的配置转换信息对当前待转换的报文进行第一报头的替换,实现当前待转换的报文适用的第一协议转换成适用的第二协议之间的单向传输协议转换通信,进而完成两个通信装置120之间的传输协议的固定转换通信。The controller 110 acquires the conversion mapping information in the storage analysis module 111 according to the third determination result that the number of conversions is greater than or equal to the specific value, and identifies the type identifier of the first protocol and/or the type identifier of the second protocol. The first header is replaced by the current configuration to be converted, and the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols. Further, a fixed conversion communication of the transmission protocol between the two communication devices 120 is completed.
优选的,作为一种可选的实施方式,基于上述图2所示的方法,其中的步骤204,即控制器110根据第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用第二协议,具体的包括以下实现方式:Preferably, as an optional implementation manner, based on the method shown in FIG. 2, step 204, that is, the controller 110 performs configuration conversion on the current to-be-converted packet according to the standard of the second protocol, so that after the conversion The packet is applicable to the second protocol, and specifically includes the following implementation manners:
控制器110根据第二协议的标准生成第二报头,对当前待转换的报文的第一报头进行配置转换成第二报头,使转换后的报文适用第二协议。The controller 110 generates a second header according to the standard of the second protocol, and converts the first header of the current packet to be converted into a second header, so that the converted packet is applied to the second protocol.
优选的,作为一种可选的实施方式,基于上述图2所示的方法,其中的步骤207,即存储分析模块111获取、关联控制器110发送的第一协议的类型标识、 第二协议的类型标识和配置转换信息,生成转换映射信息进行存储,具体的包括以下实现方式:Preferably, as an optional implementation manner, based on the method shown in FIG. 2, step 207, that is, the storage analysis module 111 acquires, associates, the type identifier of the first protocol sent by the controller 110, The type identifier of the second protocol and the configuration conversion information are generated, and the conversion mapping information is generated and stored, and specifically includes the following implementation manners:
存储分析模块111获取、关联控制器110发送的两个通信装置120的标识,第一协议的类型标识、第二协议的类型标识和配置转换信息,生成转换映射信息进行存储;The storage analysis module 111 acquires, associates the identifiers of the two communication devices 120 sent by the controller 110, the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information, and generates the conversion mapping information for storage;
在本优选的实施方式中,该方法还包括:In the preferred embodiment, the method further includes:
控制器110根据识别判断出转换次数大于或等于特定值的第三判断结果,获取存储分析模块111中的转换映射信息,根据识别出的任一或者两个通信装置120的标识,通过关联的配置转换信息对当前待转换的报文进行第一报头的替换,实现当前待转换的报文适用的第一协议转换成适用的第二协议之间的单向传输协议转换通信,进而完成两个通信装置120之间的传输协议的固定转换通信。The controller 110 acquires the conversion mapping information in the storage analysis module 111 according to the third determination result that the number of conversions is determined to be greater than or equal to the specific value, and uses the associated configuration according to the identified identifier of any one or two communication devices 120. The conversion information is used to replace the first header of the packet to be converted, and the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing two communications. A fixed conversion communication of the transmission protocol between devices 120.
作为一种可选的实施方式,第一协议为TCP协议或者IP协议(即传输控制协议/因特网互联协议,Transmission Control Protocol协议或者Internet Protocol协议)。As an optional implementation manner, the first protocol is a TCP protocol or an IP protocol (that is, a Transmission Control Protocol/Internet Protocol, a Transmission Control Protocol, or an Internet Protocol).
作为一种可选的实施方式,第二协议为IPX(互联网络数据包交换,Internet work Packet Exchange)或者SPX协议(顺序包交换协议,Sequenced Packet Exchange)。As an optional implementation manner, the second protocol is IPX (Internet work Packet Exchange) or SPX protocol (Sequenced Packet Exchange).
第二方面,请参见图3,图3是根据一示例性实施例示出的一种基于报文协议识别的传输协议固定转换装置的框图。如图3所示,本公开实施例提供一种基于报文协议识别的传输协议固定转换装置310,包括控制器110,控制器110用于实现如图1所示的至少两个通信装置120之间的传输协议转换通信,控制器110包括处理器101、判断模块102、识别获取模块103、配置转换模块104和存储分析模块111,其中处理器101和判断模块102连接,判断模块102和识别获取模块103连接,配置转换模块104和识别获取模块103连接,识别获取模块103还和存储分析模块111连接,处理器101还和存储分析模块111连接。具体的,该装置的处理器101、判断模块102、识别获取模块103、配置转换模块104和存储分析模块111的作用及工作原理如下进行分别描述:In a second aspect, please refer to FIG. 3. FIG. 3 is a block diagram of a transport protocol fixed conversion apparatus based on message protocol identification, according to an exemplary embodiment. As shown in FIG. 3, an embodiment of the present disclosure provides a transport protocol fixed conversion device 310 based on a message protocol identification, including a controller 110, and the controller 110 is configured to implement at least two communication devices 120 as shown in FIG. The transmission protocol converts the communication, and the controller 110 includes a processor 101, a determination module 102, an identification acquisition module 103, a configuration conversion module 104, and a storage analysis module 111, wherein the processor 101 and the determination module 102 are connected, the determination module 102, and the identification acquisition The module 103 is connected, the configuration conversion module 104 is connected to the identification acquisition module 103, the identification acquisition module 103 is also connected to the storage analysis module 111, and the processor 101 is also connected to the storage analysis module 111. Specifically, the functions and working principles of the processor 101, the determining module 102, the identification obtaining module 103, the configuration converting module 104, and the storage analyzing module 111 of the device are respectively described as follows:
处理器101,用于记录两个通信装置120的标识,以及记录两个通信装置120之间进行单向传输协议转换通信的转换次数; The processor 101 is configured to record the identifiers of the two communication devices 120, and record the number of conversions of the one-way transmission protocol conversion communication between the two communication devices 120;
判断模块102,用于判断转换次数是否小于预设的特定值;The determining module 102 is configured to determine whether the number of conversions is less than a preset specific value;
识别获取模块103,用于根据转换次数小于特定值的第一判断结果,从发送待转换的报文的通信装置120处获取当前所适用的第一协议的类型标识,以及根据相对的另一通信装置120的标识获取另一通信装置120适用的第二协议的类型标识和标准;The identification obtaining module 103 is configured to obtain, according to the first determination result that the number of conversions is less than the specific value, the type identifier of the first protocol that is currently applicable from the communication device 120 that sends the message to be converted, and another communication according to the relative communication. The identification of the device 120 acquires the type identification and criteria of the second protocol to which the other communication device 120 is applicable;
配置转换模块104,用于根据第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用第二协议;The configuration conversion module 104 is configured to perform configuration conversion on the current to be converted according to the standard of the second protocol, so that the converted message is applied to the second protocol;
判断模块102,还用于判断转换次数是否为首次;The determining module 102 is further configured to determine whether the number of conversions is the first time;
识别获取模块103,还用于根据转换次数为首次的第二判断结果,获取当前待转换的报文完成从适用的第一协议到适用的第二协议转换时的配置转换信息,并发送第一协议的类型标识、第二协议的类型标识和配置转换信息至存储分析模块111;特定值大于1;The identification obtaining module 103 is further configured to: obtain, according to the second determination result that the number of conversions is the first time, the configuration conversion information when the current to-be-converted message completes the conversion from the applicable first protocol to the applicable second protocol, and sends the first a type identifier of the protocol, a type identifier of the second protocol, and configuration conversion information to the storage analysis module 111; the specific value is greater than 1;
存储分析模块111,用于获取、关联控制器110的识别获取模块103发送的第一协议的类型标识、第二协议的类型标识和配置转换信息,生成转换映射信息进行存储;The storage analysis module 111 is configured to acquire the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information sent by the identifier acquisition module 103 of the controller 110, and generate the conversion mapping information for storage;
处理器101,还用于根据识别判断出转换次数大于或等于特定值的第三判断结果,获取存储分析模块111中的转换映射信息,根据识别出的第一协议的类型标识和/或第二协议的类型标识,通过关联的配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的第一协议转换成适用的第二协议之间的单向传输协议转换通信,进而完成两个通信装置120之间的传输协议的固定转换通信。The processor 101 is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module 111, according to the identified type identifier of the first protocol, and/or the second The type identifier of the protocol is configured to convert the current to-be-converted packet by the associated configuration conversion information, so that the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols. In turn, a fixed conversion communication of the transmission protocol between the two communication devices 120 is completed.
作为一种可选的实施方式,待转换的报文包括第一报头和第一报文数据,第一协议的类型标识存储于第一报头中,配置转换信息为报头封装信息;则在本实施方式中处理器101,还用于根据识别判断出转换次数大于或等于特定值的第三判断结果,获取存储分析模块111中的转换映射信息,根据识别出的第一协议的类型标识和/或第二协议的类型标识,通过关联的配置转换信息对当前待转换的报文进行第一报头的替换,实现当前待转换的报文适用的第一协议转换成适用的第二协议之间的单向传输协议转换通信,进而完成两个通信装置120之间的传输协议的固定转换通信。As an optional implementation, the to-be-converted packet includes a first header and a first packet data, where the type identifier of the first protocol is stored in the first header, and the configuration conversion information is header encapsulation information; The processor 101 is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module 111, according to the identified type identifier of the first protocol, and/or The type identifier of the second protocol, the first header of the packet to be converted is replaced by the associated configuration conversion information, and the first protocol applicable to the current packet to be converted is converted into a single protocol between the applicable second protocol. The communication is converted to the transmission protocol, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices 120.
作为一种可选的实施方式,配置转换模块104,还用于根据第二协议的标准 生成第二报头,对当前待转换的报文的第一报头进行配置转换成第二报头,使转换后的报文适用第二协议。As an optional implementation, the configuration conversion module 104 is also used for the standard according to the second protocol. A second header is generated, and the first header of the packet to be converted is configured to be converted into a second header, so that the converted packet is applied to the second protocol.
作为一种可选的实施方式,存储分析模块111,还用于获取、关联控制器110发送的两个通信装置120的标识,第一协议的类型标识、第二协议的类型标识和配置转换信息,生成转换映射信息进行存储;处理器101,还用于根据识别判断出转换次数大于或等于特定值的第三判断结果,获取存储分析模块111中的转换映射信息,根据识别出的任一或者两个通信装置120的标识,通过关联的配置转换信息对当前待转换的报文进行第一报头的替换,实现当前待转换的报文适用的第一协议转换成适用的第二协议之间的单向传输协议转换通信,进而完成两个通信装置120之间的传输协议的固定转换通信。As an optional implementation, the storage analysis module 111 is further configured to acquire, associate, and identify the identifiers of the two communication devices 120 sent by the controller 110, the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information. The processor 101 is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module 111, according to any identified or The identifiers of the two communication devices 120 are used to replace the first header of the packet to be converted by the associated configuration conversion information, so that the first protocol applicable to the current packet to be converted is converted into the applicable second protocol. The one-way transmission protocol converts the communication, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices 120.
作为一种可选的实施方式,第一协议为TCP协议或者IP协议。As an optional implementation manner, the first protocol is a TCP protocol or an IP protocol.
作为一种可选的实施方式,第二协议为IPX或者SPX协议。As an optional implementation manner, the second protocol is an IPX or SPX protocol.
第三方面,本实施例还提供一种基于报文协议识别的传输协议固定转换装置,该装置可以用于图1所示实施环境的控制器110中,执行图2所示的方法的全部或者部分步骤。该装置包括:In a third aspect, the embodiment further provides a transmission protocol fixed conversion device based on message protocol identification, and the device can be used in the controller 110 of the implementation environment shown in FIG. 1 to execute all of the methods shown in FIG. 2 or Part of the steps. The device includes:
处理器,用于实现两个通信装置120之间的传输协议转换通信;a processor, configured to implement a transport protocol conversion communication between the two communication devices 120;
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
其中,处理器被配置:Wherein the processor is configured:
记录两个通信装置120的标识,以及记录两个通信装置120之间进行单向传输协议转换通信的转换次数;Recording the identifiers of the two communication devices 120, and recording the number of conversions between the two communication devices 120 for one-way transmission protocol conversion communication;
判断转换次数是否小于预设的特定值;Determining whether the number of conversions is less than a preset specific value;
根据转换次数小于特定值的第一判断结果,从发送待转换的报文的通信装置120处获取当前所适用的第一协议的类型标识,以及根据相对的另一通信装置120的标识获取另一通信装置120适用的第二协议的类型标识和标准;Obtaining, according to the first determination result that the number of conversions is less than the specific value, the type identifier of the first protocol currently applied from the communication device 120 that sends the message to be converted, and acquiring another according to the identifier of the other communication device 120 Type identification and criteria of the second protocol to which the communication device 120 is applicable;
根据第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用第二协议;Performing configuration conversion on the packet to be converted according to the standard of the second protocol, so that the converted packet is applied to the second protocol;
判断转换次数是否为首次;Determine whether the number of conversions is the first time;
根据转换次数为首次的第二判断结果,获取当前待转换的报文完成从适用的第一协议到适用的第二协议转换时的配置转换信息,并发送第一协议的类型标识、第二协议的类型标识和配置转换信息至存储分析模块111;特定值大于1; Obtaining, according to the second judgment result that the number of conversions is the first, obtaining configuration conversion information when the current to-be-converted packet is converted from the applicable first protocol to the applicable second protocol, and sending the type identifier and the second protocol of the first protocol Type identification and configuration conversion information to the storage analysis module 111; the specific value is greater than 1;
获取、关联第一协议的类型标识、第二协议的类型标识和配置转换信息,生成转换映射信息进行存储;Obtaining, associating, a type identifier of the first protocol, a type identifier of the second protocol, and configuration conversion information, and generating conversion mapping information for storage;
根据识别判断出转换次数大于或等于特定值的第三判断结果,获取转换映射信息,根据识别出的第一协议的类型标识和/或第二协议的类型标识,通过关联的配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的第一协议转换成适用的第二协议之间的单向传输协议转换通信,进而完成两个通信装置120之间的传输协议的固定转换通信。Obtaining the conversion mapping information according to the third determination result that the number of conversions is greater than or equal to the specific value, and according to the identified type identifier of the first protocol and/or the type identifier of the second protocol, the information is converted by the associated configuration information. The packet to be converted is configured to be converted, and the first protocol applicable to the current packet to be converted is converted into a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing the transmission protocol between the two communication devices 120. Fixed conversion communication.
该实施例中的装置的处理器执行操作的具体方式已经在有关基于报文协议识别的传输协议固定转换方法的实施例中执行了详细描述,此处将不做详细阐述说明。The specific manner in which the processor of the apparatus in this embodiment performs the operation has been described in detail in the embodiment relating to the transport protocol fixed conversion method based on the message protocol identification, and will not be explained in detail herein.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围执行各种修改和改变。本发明的范围仅由所附的权利要求来限制。 It is to be understood that the invention is not limited to the details of the details and The scope of the invention is limited only by the appended claims.

Claims (13)

  1. 一种基于报文协议识别的传输协议固定转换方法,其特征在于,适用于包含存储分析模块的控制器,所述控制器用于实现两个通信装置之间的传输协议转换通信,所述方法包括:A transmission protocol fixed conversion method based on message protocol identification, characterized in that it is applicable to a controller including a storage analysis module, and the controller is configured to implement transmission protocol conversion communication between two communication devices, the method comprising :
    所述控制器记录两个所述通信装置的标识,以及记录所述两个通信装置之间进行单向传输协议转换通信的转换次数;The controller records the identifiers of the two communication devices, and records the number of conversions of the one-way transmission protocol conversion communication between the two communication devices;
    所述控制器判断所述转换次数是否小于预设的特定值;The controller determines whether the number of conversions is less than a preset specific value;
    所述控制器根据所述转换次数小于所述特定值的第一判断结果,从发送待转换的报文的通信装置处获取当前所适用的第一协议的类型标识,以及根据相对的另一通信装置的标识获取所述另一通信装置适用的第二协议的类型标识和标准;And the controller acquires, according to the first determination result that the number of conversions is less than the specific value, a type identifier of a first protocol that is currently applicable, and another communication according to the opposite, from a communication device that sends a message to be converted. Identifying, by the identifier of the device, a type identifier and a standard of a second protocol to which the other communication device is applicable;
    所述控制器根据所述第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用所述第二协议;The controller performs configuration conversion on the packet to be converted according to the standard of the second protocol, so that the converted packet is applied to the second protocol;
    所述控制器判断所述转换次数是否为首次;The controller determines whether the number of conversions is the first time;
    所述控制器根据所述转换次数为首次的第二判断结果,获取当前待转换的报文完成从适用的所述第一协议到适用的所述第二协议转换时的配置转换信息,并发送所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息至所述存储分析模块;所述特定值大于1;The controller obtains, according to the second determination result that the number of conversions is the first time, the configuration conversion information when the current to-be-converted message is completed from the applicable first protocol to the applicable second protocol conversion, and sends the configuration The type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information to the storage analysis module; the specific value is greater than 1;
    所述存储分析模块获取、关联所述控制器发送的所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储;The storage analysis module acquires, associates with the type identifier of the first protocol sent by the controller, the type identifier of the second protocol, and the configuration conversion information, and generates conversion mapping information for storage;
    所述控制器根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。And acquiring, by the third judgment result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the type of the first protocol that is identified Identifying and/or the type identifier of the second protocol, configuring, by using the associated configuration conversion information, the configuration of the current protocol to be converted, and converting the first protocol applicable to the current packet to be converted into an applicable one. The one-way transmission protocol between the second protocols converts communication, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
  2. 如权利要求1所述的方法,其特征在于,所述待转换的报文包括第一报头和第一报文数据,所述第一协议的类型标识存储于所述第一报头中,所述配置转换信息为报头封装信息;所述控制器根据识别判断出所述转换次数大于或 等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信,包括:The method according to claim 1, wherein the packet to be converted includes a first header and first packet data, and a type identifier of the first protocol is stored in the first header, Configuring the conversion information as the header encapsulation information; the controller determines, according to the identification, that the number of conversions is greater than or Obtaining, by the third determination result that is the specific value, the conversion mapping information in the storage analysis module, according to the identified type identifier of the first protocol and/or the type identifier of the second protocol, The associated configuration conversion information is configured to convert the current to-be-converted packet, and the first protocol applicable to the current packet to be converted is converted into the applicable one-way transmission protocol conversion communication between the second protocol. And completing the fixed conversion communication of the transmission protocol between the two communication devices, including:
    所述控制器根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行所述第一报头的替换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。And acquiring, by the third judgment result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the type of the first protocol that is identified And identifying the type identifier of the second protocol, and performing, by using the associated configuration conversion information, the first header to be replaced by the current to-be-converted packet, so that the first packet to be converted is applicable. The protocol converts into a one-way transport protocol conversion communication between the applicable second protocols, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
  3. 如权利要求2所述的方法,其特征在于,所述控制器根据所述第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用所述第二协议,包括:The method according to claim 2, wherein the controller performs configuration conversion on the current packet to be converted according to the standard of the second protocol, so that the converted packet is applied to the second protocol, including :
    所述控制器根据所述第二协议的标准生成第二报头,对当前待转换的报文的所述第一报头进行配置转换成所述第二报头,使转换后的报文适用所述第二协议。The controller generates a second header according to the standard of the second protocol, and performs configuration conversion on the first header of the packet to be converted into the second header, so that the converted packet is applicable to the first header. Second agreement.
  4. 如权利要求3所述的方法,其特征在于,所述存储分析模块获取、关联所述控制器发送的所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储,包括:The method of claim 3, wherein the storage analysis module acquires, associates with the type identifier of the first protocol sent by the controller, the type identifier of the second protocol, and the configuration conversion information. Generate conversion mapping information for storage, including:
    所述存储分析模块获取、关联所述控制器发送的所述两个通信装置的标识,所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储;The storage analysis module acquires, associates with the identifiers of the two communication devices sent by the controller, the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information, to generate a conversion map. Information is stored;
    所述方法还包括:The method further includes:
    所述控制器根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的任一或者两个通信装置的标识,通过关联的所述配置转换信息对当前待转换的报文进行所述第一报头的替换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。 The controller acquires the conversion mapping information in the storage analysis module according to a third determination result that is determined to be that the number of conversions is greater than or equal to the specific value, according to any one or two communication devices that are identified. And the identifier of the first header is replaced by the current configuration to be converted, and the first protocol applicable to the current packet to be converted is converted into the applicable second protocol. The one-way transmission protocol between the two converts the communication, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices.
  5. 如权利要求4所述的方法,其特征在于,所述第一协议为传输控制协议/因特网互联协议。The method of claim 4 wherein said first protocol is a Transmission Control Protocol/Internet Protocol.
  6. 如权利要求5所述的方法,其特征在于,所述第二协议为互联网数据包交换协议或者顺序包交换协议。The method of claim 5 wherein said second protocol is an internet packet exchange protocol or a sequential packet exchange protocol.
  7. 一种基于报文协议识别的传输协议固定转换装置,其特征在于,包括控制器,所述控制器用于实现两个通信装置之间的传输协议转换通信,所述控制器包括:A transmission protocol fixed conversion device based on message protocol identification, comprising: a controller, wherein the controller is configured to implement transmission protocol conversion communication between two communication devices, the controller comprising:
    处理器,用于记录两个所述通信装置的标识,以及记录所述两个通信装置之间进行单向传输协议转换通信的转换次数;a processor, configured to record identifiers of two of the communication devices, and record a number of conversions of the one-way transmission protocol conversion communication between the two communication devices;
    判断模块,用于判断所述转换次数是否小于预设的特定值;a determining module, configured to determine whether the number of conversions is less than a preset specific value;
    识别获取模块,用于根据所述转换次数小于所述特定值的第一判断结果,从发送待转换的报文的通信装置处获取当前所适用的第一协议的类型标识,以及根据相对的另一通信装置的标识获取所述另一通信装置适用的第二协议的类型标识和标准;An identifier obtaining module, configured to acquire, according to a first determination result that the number of conversions is less than the specific value, a type identifier of a first protocol that is currently applicable from a communication device that sends a message to be converted, and according to a relative The identifier of a communication device acquires a type identifier and a standard of a second protocol to which the other communication device is applicable;
    配置转换模块,用于根据所述第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用所述第二协议;The configuration conversion module is configured to perform configuration conversion on the current to-be-converted packet according to the standard of the second protocol, so that the converted packet is applied to the second protocol;
    所述判断模块,还用于判断所述转换次数是否为首次;The determining module is further configured to determine whether the number of conversions is the first time;
    所述识别获取模块,还用于根据所述转换次数为首次的第二判断结果,获取当前待转换的报文完成从适用的所述第一协议到适用的所述第二协议转换时的配置转换信息,并发送所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息至所述存储分析模块;所述特定值大于1;The identification obtaining module is further configured to: obtain, according to the second determination result that the number of conversions is the first time, the configuration of the current to-be-converted message from the applicable first protocol to the applicable second protocol conversion Converting information, and sending the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information to the storage analysis module; the specific value is greater than 1;
    存储分析模块,用于获取、关联所述控制器发送的所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储;a storage analysis module, configured to acquire, associate with the type identifier of the first protocol, the type identifier of the second protocol, and the configuration conversion information sent by the controller, and generate conversion mapping information for storage;
    所述处理器,还用于根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。 The processor is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the identified a type identifier of a protocol and/or a type identifier of the second protocol, configured to convert the current to-be-converted packet by using the associated configuration conversion information, to implement the first protocol to which the current packet to be converted is applicable. Converting to a one-way transmission protocol conversion communication between the applicable second protocols, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
  8. 如权利要求7所述的装置,其特征在于,所述待转换的报文包括第一报头和第一报文数据,所述第一协议的类型标识存储于所述第一报头中,所述配置转换信息为报头封装信息;The device according to claim 7, wherein the packet to be converted includes a first header and first packet data, and a type identifier of the first protocol is stored in the first header, Configure the conversion information as the header encapsulation information;
    所述处理器,还用于根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行所述第一报头的替换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。The processor is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to the identified The type identifier of the protocol and/or the type identifier of the second protocol, and the first header is replaced by the current to-be-converted packet by using the associated configuration translation information, so that the current packet to be converted is applicable. The first protocol is converted into a one-way transport protocol conversion communication between the applicable second protocols, thereby completing a fixed conversion communication of a transmission protocol between the two communication devices.
  9. 如权利要求8所述的装置,其特征在于,The device of claim 8 wherein:
    所述配置转换模块,还用于根据所述第二协议的标准生成第二报头,对当前待转换的报文的所述第一报头进行配置转换成所述第二报头,使转换后的报文适用所述第二协议。The configuration conversion module is further configured to generate a second header according to the standard of the second protocol, and perform configuration conversion on the first header of the current to-be-converted packet into the second header, so that the converted packet is obtained. The second protocol is applied.
  10. 如权利要求9所述的装置,其特征在于,所述存储分析模块,还用于获取、关联所述控制器发送的所述两个通信装置的标识,所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储;The device according to claim 9, wherein the storage analysis module is further configured to acquire and associate an identifier of the two communication devices sent by the controller, and a type identifier and a location of the first protocol. Decoding the type identifier of the second protocol and the configuration conversion information, and generating conversion mapping information for storage;
    所述处理器,还用于根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述存储分析模块中的所述转换映射信息,根据识别出的任一或者两个通信装置的标识,通过关联的所述配置转换信息对当前待转换的报文进行所述第一报头的替换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。The processor is further configured to acquire, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information in the storage analysis module, according to any identified or An identifier of the two communication devices, the first header is replaced by the current to-be-converted packet by the associated configuration conversion information, and the first protocol applicable to the current packet to be converted is converted into an applicable office. The one-way transmission protocol between the second protocols converts the communication, thereby completing the fixed conversion communication of the transmission protocol between the two communication devices.
  11. 如权利要求10所述的装置,其特征在于,所述第一协议为传输控制协议/因特网互联协议。The apparatus of claim 10 wherein said first protocol is a Transmission Control Protocol/Internet Protocol.
  12. 如权利要求11所述的装置,其特征在于,所述第二协议为互联网数据包交换协议或者顺序包交换协议。The apparatus of claim 11, wherein the second protocol is an Internet Data Packet Exchange Protocol or a Sequence Packet Exchange Protocol.
  13. 一种基于报文协议识别的传输协议固定转换装置,其特征在于,所述装置包括:A transmission protocol fixed conversion device based on message protocol identification, characterized in that the device comprises:
    处理器,用于实现两个通信装置之间的传输协议转换通信; a processor, configured to implement a transmission protocol conversion communication between two communication devices;
    用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
    其中,所述处理器被配置:Wherein the processor is configured:
    记录两个所述通信装置的标识,以及记录所述两个通信装置之间进行单向传输协议转换通信的转换次数;Recording the identifiers of the two communication devices, and recording the number of conversions of the one-way transmission protocol conversion communication between the two communication devices;
    判断所述转换次数是否小于预设的特定值;Determining whether the number of conversions is less than a preset specific value;
    根据所述转换次数小于所述特定值的第一判断结果,从发送待转换的报文的通信装置处获取当前所适用的第一协议的类型标识,以及根据相对的另一通信装置的标识获取所述另一通信装置适用的第二协议的类型标识和标准;Obtaining, according to the first determination result that the number of conversions is less than the specific value, obtaining a type identifier of the first protocol that is currently applicable from the communication device that sends the message to be converted, and acquiring according to the identifier of the other communication device Type identification and standard of the second protocol to which the other communication device is applicable;
    根据所述第二协议的标准对当前待转换的报文进行配置转换,使转换后的报文适用所述第二协议;And performing configuration conversion on the current to-be-converted packet according to the standard of the second protocol, so that the converted packet is applied to the second protocol;
    判断所述转换次数是否为首次;Determining whether the number of conversions is the first time;
    根据所述转换次数为首次的第二判断结果,获取当前待转换的报文完成从适用的所述第一协议到适用的所述第二协议转换时的配置转换信息,并发送所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息至所述存储分析模块;所述特定值大于1;Obtaining, according to the second determination result that the number of conversions is the first, the configuration conversion information when the current to-be-converted message is completed from the applicable first protocol to the applicable second protocol conversion, and sending the first a type identifier of the protocol, a type identifier of the second protocol, and the configuration conversion information to the storage analysis module; the specific value is greater than 1;
    获取、关联所述第一协议的类型标识、所述第二协议的类型标识和所述配置转换信息,生成转换映射信息进行存储;Obtaining, associating, a type identifier of the first protocol, a type identifier of the second protocol, and the configuration conversion information, and generating conversion mapping information for storage;
    根据识别判断出所述转换次数大于或等于所述特定值的第三判断结果,获取所述转换映射信息,根据识别出的所述第一协议的类型标识和/或所述第二协议的类型标识,通过关联的所述配置转换信息对当前待转换的报文进行配置转换,实现当前待转换的报文适用的所述第一协议转换成适用的所述第二协议之间的单向传输协议转换通信,进而完成两个所述通信装置之间的传输协议的固定转换通信。 Acquiring, according to the third determination result that the number of conversions is greater than or equal to the specific value, the conversion mapping information, according to the identified type identifier of the first protocol and/or the type of the second protocol Identifying, by using the associated configuration conversion information, the configuration of the current to-be-converted packet is converted, and the first protocol applicable to the current packet to be converted is converted into a applicable one-way transmission between the second protocol. The protocol converts the communication, thereby completing a fixed conversion communication of the transmission protocol between the two communication devices.
PCT/CN2016/092260 2016-07-29 2016-07-29 Method and device for fixed conversion of transmission protocol based on message protocol identification WO2018018607A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680001022.7A CN107925652B (en) 2016-07-29 2016-07-29 Fixed conversion method and device of transmission protocol based on message protocol identification
PCT/CN2016/092260 WO2018018607A1 (en) 2016-07-29 2016-07-29 Method and device for fixed conversion of transmission protocol based on message protocol identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/092260 WO2018018607A1 (en) 2016-07-29 2016-07-29 Method and device for fixed conversion of transmission protocol based on message protocol identification

Publications (1)

Publication Number Publication Date
WO2018018607A1 true WO2018018607A1 (en) 2018-02-01

Family

ID=61015493

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092260 WO2018018607A1 (en) 2016-07-29 2016-07-29 Method and device for fixed conversion of transmission protocol based on message protocol identification

Country Status (2)

Country Link
CN (1) CN107925652B (en)
WO (1) WO2018018607A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111064716A (en) * 2019-12-05 2020-04-24 深圳猛犸电动科技有限公司 Message conversion method, device, storage medium and server
CN114006928A (en) * 2021-11-04 2022-02-01 深圳市骏嘉科技发展有限公司 Internet of things data processing method based on multi-protocol real-time communication
CN114125075A (en) * 2021-11-27 2022-03-01 云南电网有限责任公司信息中心 System and method for dynamically switching multiple communication protocols in private network
US20220124178A1 (en) * 2018-08-27 2022-04-21 Phoenix Contact Gmbh & Co. Kg Control and data transfer system for supporting different communication protocols and an adapter module
CN114006928B (en) * 2021-11-04 2024-04-19 深圳市骏嘉科技发展有限公司 Internet of things data processing method based on multi-protocol real-time communication

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477825A (en) * 2002-08-21 2004-02-25 华为技术有限公司 Address conversion method for simultaneously supporting one-to-one and many-to-many under the PAT mode
US20050033847A1 (en) * 2003-08-07 2005-02-10 Teamon Systems, Inc. Communications system providing reduced access latency and related methods
CN101060472A (en) * 2006-04-17 2007-10-24 中国科学院计算技术研究所 A route-based talk initialization protocol transparent transmission network address conversion method
CN101895534A (en) * 2010-07-02 2010-11-24 肖闽进 Protocol conversion interface device of substation intelligent device
CN102595510A (en) * 2011-01-06 2012-07-18 鼎桥通信技术有限公司 Message processing method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007101182A2 (en) * 2006-02-28 2007-09-07 Maven Networks, Inc. Systems and methods for delivering and managing media content downloaded to a network connected device
US20080137644A1 (en) * 2006-12-11 2008-06-12 Reynolds Douglas F METHODS AND APPARATUS TO PROVIDE VOICE OVER INTERNET PROTOCOL (VoIP) SERVICES
CN101316260B (en) * 2007-05-30 2012-04-25 华为技术有限公司 Packaging conversion method and packaging conversion equipment
CN101237411B (en) * 2008-01-22 2013-02-20 张建中 Method, device and system for inter-network intercommunication in networks with different protocols
CN101227412B (en) * 2008-02-05 2010-09-29 华为技术有限公司 Apparatus and method for message conversion
CN101321326B (en) * 2008-07-22 2013-06-05 中兴通讯股份有限公司 Short message forwarding method of short message first dispatching platform
CN101998313A (en) * 2009-08-17 2011-03-30 华为技术有限公司 Method and system for handling short message as well as short message gateway and interactive function entity
CN102891796B (en) * 2012-11-02 2015-05-06 中滦科技有限公司 Mining intelligent transmission gateway
CN103391251B (en) * 2013-07-16 2016-06-29 杭州华三通信技术有限公司 A kind of method and apparatus reducing redundant flow in PBB network
CN104320373A (en) * 2014-07-04 2015-01-28 中国兵器工业信息中心 Protocol interworking device between application server and terminal and method for implementing the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477825A (en) * 2002-08-21 2004-02-25 华为技术有限公司 Address conversion method for simultaneously supporting one-to-one and many-to-many under the PAT mode
US20050033847A1 (en) * 2003-08-07 2005-02-10 Teamon Systems, Inc. Communications system providing reduced access latency and related methods
CN101060472A (en) * 2006-04-17 2007-10-24 中国科学院计算技术研究所 A route-based talk initialization protocol transparent transmission network address conversion method
CN101895534A (en) * 2010-07-02 2010-11-24 肖闽进 Protocol conversion interface device of substation intelligent device
CN102595510A (en) * 2011-01-06 2012-07-18 鼎桥通信技术有限公司 Message processing method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220124178A1 (en) * 2018-08-27 2022-04-21 Phoenix Contact Gmbh & Co. Kg Control and data transfer system for supporting different communication protocols and an adapter module
US11778072B2 (en) * 2018-08-27 2023-10-03 Phoenix Contact Gmbh & Co. Kg Control and data transfer system for supporting different communication protocols and an adapter module
CN111064716A (en) * 2019-12-05 2020-04-24 深圳猛犸电动科技有限公司 Message conversion method, device, storage medium and server
CN111064716B (en) * 2019-12-05 2022-03-11 深圳猛犸电动科技有限公司 Message conversion method, device, storage medium and server
CN114006928A (en) * 2021-11-04 2022-02-01 深圳市骏嘉科技发展有限公司 Internet of things data processing method based on multi-protocol real-time communication
CN114006928B (en) * 2021-11-04 2024-04-19 深圳市骏嘉科技发展有限公司 Internet of things data processing method based on multi-protocol real-time communication
CN114125075A (en) * 2021-11-27 2022-03-01 云南电网有限责任公司信息中心 System and method for dynamically switching multiple communication protocols in private network

Also Published As

Publication number Publication date
CN107925652B (en) 2021-01-12
CN107925652A (en) 2018-04-17

Similar Documents

Publication Publication Date Title
CN109525990B (en) Wireless screen projection method and device, computer equipment and storage medium
WO2019085073A1 (en) Interface test method and apparatus, computer device, and storage medium
US20180359140A1 (en) Method, device, and system for processing a terminal fault
CN111835786A (en) System for data acquisition and equipment control of multi-protocol equipment and implementation method
US20190394305A1 (en) Apparatus for managing sdn-based in-vehicle network and control method thereof
US11497077B2 (en) Method and apparatus for port management of ethernet bridges
WO2018018607A1 (en) Method and device for fixed conversion of transmission protocol based on message protocol identification
WO2008003257A1 (en) Method, system and device of converting information in transaction managing interface
US11330035B2 (en) Method and server for HTTP protocol-based data request
WO2021035634A1 (en) Remote diagnosis method and system for vehicles
CN110830442A (en) Message processing method, device and gateway
CN107566233A (en) The resource share method and device of home appliance
CN114003647A (en) Data processing method and device and computer readable storage medium
US20140136620A1 (en) Protocol conversion apparatus and method
CN110417876A (en) Node server and main control device in session method, distributed system
WO2018072640A1 (en) Interface control command processing method and modem equipment
CN106341433A (en) Service system, signal server and intercom server
WO2018133828A1 (en) Data processing method and device utilized in client terminal
US20220052902A1 (en) Method for managing remote device through management device
CN112104591B (en) Communication device of controller and communication method thereof
WO2016188133A1 (en) Method and device for controlling intelligent household appliance
CN110502418B (en) Method for realizing remote debugging
WO2022252320A1 (en) Low-latency addressing method for pre-scheduling service of power grid monitoring system
CN110943897A (en) PPPoE data message transmission method, device, equipment and storage medium
WO2017076322A1 (en) Communication method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16910187

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16910187

Country of ref document: EP

Kind code of ref document: A1