CN110290127A - A message conversion method and message conversion system - Google Patents
A message conversion method and message conversion system Download PDFInfo
- Publication number
- CN110290127A CN110290127A CN201910534781.5A CN201910534781A CN110290127A CN 110290127 A CN110290127 A CN 110290127A CN 201910534781 A CN201910534781 A CN 201910534781A CN 110290127 A CN110290127 A CN 110290127A
- Authority
- CN
- China
- Prior art keywords
- message
- target
- plug
- identification address
- format
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 132
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000004458 analytical method Methods 0.000 claims abstract description 80
- 238000004891 communication Methods 0.000 claims description 55
- 230000005540 biological transmission Effects 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2212/00—Encapsulation of packets
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请提供一种报文转换方法以及报文转换系统,该方法包括:接收第一装置发送的第一报文;对所述第一报文进行解析,获得目标标识地址;根据所述目标标识地址,在至少两个规约解析插件中选择目标规约解析插件;利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文;向第二装置发送所述第二报文。这样,接收到第一报文之后,可以在至少两个规约解析插件中选择目标规约解析插件,并利用目标规约解析插件对第一报文进行转换。不需要为不同的智能设备定制开发不同的软件系统,降低报文转换难度,报文转换系统的兼容性更好。
The present application provides a message conversion method and a message conversion system, the method comprising: receiving a first message sent by a first device; parsing the first message to obtain a target identification address; according to the target identification address, select a target protocol analysis plug-in from at least two protocol analysis plug-ins; use the target protocol analysis plug-in to convert the first message to obtain a second message; send the second message to the second device . In this way, after receiving the first message, the target protocol analysis plug-in can be selected from at least two protocol analysis plug-ins, and the first message can be converted by the target protocol analysis plug-in. There is no need to customize and develop different software systems for different smart devices, reducing the difficulty of message conversion, and the compatibility of the message conversion system is better.
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种报文转换方法以及报文转换系统。The present application relates to the technical field of communications, and in particular to a message conversion method and a message conversion system.
背景技术Background technique
在电力通信规约多样化的情况下,不同的厂商生产的智能设备甚至不同类型的智能设备使用的电力通信规约都不同。这些电力通信规约都不具备兼容性,接入不同电力通信规约的智能设备均需要定制化开发不同的软件系统,才能实现与服务器端进行通信。甚至在部署运行后,如果第三方接口发生变动,开发者还需要进行重新开发部署。因此,相关技术中,由于各种电力通信规约不具备兼容性,导致要为不同的智能设备定制开发不同的软件系统,报文转换难度大。In the case of diversified power communication protocols, smart devices produced by different manufacturers and even different types of smart devices use different power communication protocols. These power communication protocols are not compatible, and smart devices connected to different power communication protocols need to customize and develop different software systems to communicate with the server. Even after the deployment is running, if the third-party interface changes, the developer needs to re-develop and deploy. Therefore, in the related art, since various power communication protocols are not compatible, different software systems need to be customized and developed for different smart devices, and message conversion is difficult.
发明内容Contents of the invention
本申请提供了一种报文转换方法以及报文转换系统,以解决相关技术中,由于各种电力通信规约不具备兼容性,导致要为不同的智能设备定制开发不同的软件系统,报文转换难度大的问题。The present application provides a message conversion method and a message conversion system to solve the problem of different software systems developed for different smart devices due to the incompatibility of various power communication protocols in related technologies. Difficult question.
一方面,本申请提供一种报文转换方法,包括:On the one hand, the present application provides a message conversion method, including:
接收第一装置发送的第一报文;receiving a first message sent by the first device;
对所述第一报文进行解析,获得目标标识地址;Analyzing the first packet to obtain a target identification address;
根据所述目标标识地址,在至少两个规约解析插件中选择目标规约解析插件;Select a target protocol analysis plug-in from at least two protocol analysis plug-ins according to the target identification address;
利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文;Converting the first message by using the target protocol parsing plug-in to obtain a second message;
向第二装置发送所述第二报文。Send the second message to a second device.
可选的,所述根据所述目标标识地址,在至少两个规约解析插件中选择目标规约解析插件,包括:Optionally, the selecting a target protocol analysis plug-in from at least two protocol analysis plug-ins according to the target identification address includes:
根据所述目标标识地址以及配置文件确定目标通信规约,其中,所述配置文件包含标识地址与通信规约的对应关系;Determine the target communication protocol according to the target identification address and the configuration file, wherein the configuration file includes the correspondence between the identification address and the communication protocol;
根据所述目标通信规约,在所述至少两个规约解析插件中选择与所述目标通信规约对应的目标规约解析插件。According to the target communication protocol, a target protocol parsing plug-in corresponding to the target communication protocol is selected from the at least two protocol parsing plug-ins.
可选的,所述接收第一装置发送的第一报文,包括:Optionally, the receiving the first message sent by the first device includes:
接收底层设备发送的所述第一报文;receiving the first packet sent by the underlying device;
所述利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文,包括:The step of using the target protocol parsing plug-in to convert the first message to obtain the second message includes:
利用所述目标规约解析插件对所述第一报文进行转换,获得JavaScript对象简谱(JSON)格式的第二报文;Utilize the target specification analysis plug-in to convert the first message to obtain the second message in JavaScript Object Numbered Notation (JSON) format;
所述向第二装置发送所述第二报文,包括:The sending the second message to the second device includes:
向服务器发送所述JSON格式的第二报文。Send the second message in JSON format to the server.
可选的,所述接收第一装置发送的第一报文,包括:Optionally, the receiving the first message sent by the first device includes:
接收服务器发送的JSON格式的第一报文;Receive the first message in JSON format sent by the server;
所述利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文,包括:The step of using the target protocol parsing plug-in to convert the first message to obtain the second message includes:
利用所述目标规约解析插件对所述JSON格式的第一报文进行转换,获得规约报文格式的第二报文;Converting the first message in the JSON format by using the target protocol parsing plug-in to obtain a second message in the protocol message format;
所述向第二装置发送所述第二报文,包括:The sending the second message to the second device includes:
向底层设备发送所述规约报文格式的第二报文。Send the second packet in the protocol packet format to the underlying device.
可选的,所述向底层设备发送所述规约报文格式的第二报文,包括:Optionally, the sending the second message in the protocol message format to the underlying device includes:
根据所述目标标识地址,确定具有所述目标标识地址的底层设备;According to the target identification address, determine the underlying device with the target identification address;
向具有所述目标标识地址的底层设备发送所述规约报文格式的第二报文。Sending the second packet in the protocol packet format to the underlying device having the target identification address.
另一方面,本申请还提供一种报文转换系统,包括:On the other hand, the present application also provides a message conversion system, including:
接收模块,用于接收第一装置发送的第一报文;a receiving module, configured to receive the first message sent by the first device;
解析模块,用于对所述第一报文进行解析,获得目标标识地址;A parsing module, configured to parse the first message to obtain a target identification address;
选择模块,用于根据所述目标标识地址,在至少两个规约解析插件中选择目标规约解析插件;A selection module, configured to select a target protocol analysis plug-in from at least two protocol analysis plug-ins according to the target identification address;
转换模块,用于利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文;A conversion module, configured to use the target protocol parsing plug-in to convert the first message to obtain a second message;
发送模块,用于向第二装置发送所述第二报文。A sending module, configured to send the second message to the second device.
可选的,所述选择模块包括:Optionally, the selection module includes:
第一确定子模块,用于根据所述目标标识地址以及配置文件确定目标通信规约,其中,所述配置文件包含标识地址与通信规约的对应关系;The first determining submodule is configured to determine the target communication protocol according to the target identification address and the configuration file, wherein the configuration file includes the correspondence between the identification address and the communication protocol;
选择子模块,用于根据所述目标通信规约,在所述至少两个规约解析插件中选择与所述目标通信规约对应的目标规约解析插件。The selection submodule is configured to select a target protocol parsing plug-in corresponding to the target communication protocol among the at least two protocol parsing plug-ins according to the target communication protocol.
可选的,所述接收模块用于接收底层设备发送的所述第一报文;Optionally, the receiving module is configured to receive the first packet sent by the underlying device;
所述转换模块用于利用所述目标规约解析插件对所述第一报文进行转换,获得JavaScript对象简谱(JSON)格式的第二报文;The conversion module is used to convert the first message by using the target specification parsing plug-in to obtain the second message in JavaScript Object Numbered Notation (JSON) format;
所述发送模块用于向服务器发送所述JSON格式的第二报文。The sending module is configured to send the second message in JSON format to the server.
可选的,所述接收模块用于接收服务器发送的JSON格式的第一报文;Optionally, the receiving module is configured to receive the first message in JSON format sent by the server;
所述转换模块用于利用所述目标规约解析插件对所述JSON格式的第一报文进行转换,获得规约报文格式的第二报文;The conversion module is used to convert the first message in the JSON format by using the target protocol parsing plug-in to obtain the second message in the protocol message format;
所述发送模块用于向底层设备发送所述规约报文格式的第二报文。The sending module is configured to send the second message in the protocol message format to the underlying device.
可选的,所述发送模块包括:Optionally, the sending module includes:
第二确定子模块,用于根据所述目标标识地址,确定具有所述目标标识地址的底层设备;The second determination submodule is configured to determine the underlying device with the target identification address according to the target identification address;
发送子模块,用于向具有所述目标标识地址的底层设备发送所述规约报文格式的第二报文。The sending submodule is configured to send the second message in the protocol message format to the underlying device having the target identification address.
由以上技术方案可知,本申请提供一种报文转换方法以及报文转换系统,所述方法包括:接收第一装置发送的第一报文;对所述第一报文进行解析,获得目标标识地址;根据所述目标标识地址,在至少两个规约解析插件中选择目标规约解析插件;利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文;向第二装置发送所述第二报文。这样,接收到第一报文之后,可以在至少两个规约解析插件中选择目标规约解析插件,并利用目标规约解析插件对第一报文进行转换。不需要为不同的智能设备定制开发不同的软件系统,降低报文转换难度,报文转换系统的兼容性更好。It can be seen from the above technical solutions that the present application provides a message conversion method and a message conversion system, the method comprising: receiving a first message sent by a first device; parsing the first message to obtain a target identifier address; according to the target identification address, select a target protocol analysis plug-in from at least two protocol analysis plug-ins; use the target protocol analysis plug-in to convert the first message to obtain a second message; to the second device Send the second message. In this way, after receiving the first message, the target protocol analysis plug-in can be selected from at least two protocol analysis plug-ins, and the first message can be converted by the target protocol analysis plug-in. There is no need to customize and develop different software systems for different smart devices, reducing the difficulty of message conversion, and the compatibility of the message conversion system is better.
附图说明Description of drawings
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solution of the present application more clearly, the accompanying drawings that need to be used in the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, on the premise of not paying creative work, there are also Additional figures can be derived from these figures.
图1为本申请提供的一种报文转换方法的流程图;Fig. 1 is a flow chart of a message conversion method provided by the present application;
图2为本申请提供的另一种报文转换方法的流程图;Fig. 2 is a flowchart of another message conversion method provided by the present application;
图3为本申请提供的另一种报文转换方法的流程图;Fig. 3 is a flowchart of another message conversion method provided by the present application;
图4为本申请提供的另一种报文转换方法的流程图;Fig. 4 is a flow chart of another message conversion method provided by the present application;
图5为本申请提供的一种报文转换系统的结构图;Fig. 5 is a structural diagram of a message conversion system provided by the present application;
图6为本申请提供的另一种报文转换系统的结构图;FIG. 6 is a structural diagram of another message conversion system provided by the present application;
图7为本申请提供的另一种报文转换系统的结构图。FIG. 7 is a structural diagram of another message conversion system provided by the present application.
具体实施方式Detailed ways
下面将详细地对实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下实施例中描述的实施方式并不代表与本申请相一致的所有实施方式。仅是与权利要求书中所详述的、本申请的一些方面相一致的系统和方法的示例。The embodiments will be described in detail hereinafter, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following examples do not represent all implementations consistent with this application. These are merely examples of systems and methods consistent with aspects of the present application as recited in the claims.
参见图1,图1是本申请提供的一种报文转换方法的流程图。如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flow chart of a message conversion method provided by the present application. As shown in Figure 1, the following steps are included:
步骤101、接收第一装置发送的第一报文。Step 101. Receive a first message sent by a first device.
在步骤101中,报文转换系统可以接收第一装置发送的第一报文。例如,报文转换系统可以接收底层设备发送的第一报文。In step 101, the message conversion system may receive a first message sent by a first device. For example, the packet conversion system may receive the first packet sent by the underlying device.
步骤102、对所述第一报文进行解析,获得目标标识地址。Step 102: Analyze the first message to obtain the target identification address.
在步骤102中,报文转换系统可以对第一报文进行解析,获得目标标识地址。In step 102, the message conversion system may analyze the first message to obtain the target identification address.
步骤103、根据所述目标标识地址,在至少两个规约解析插件中选择目标规约解析插件。Step 103: Select a target protocol analysis plug-in from at least two protocol analysis plug-ins according to the target identification address.
在步骤103中,报文转换系统可以根据目标标识地址,在至少两个规约解析插件中选择目标规约解析插件。例如,报文转换系统可以根据目标标识地址以及配置文件确定目标通信规约。其中,配置文件包含标识地址与通信规约的对应关系。即报文转换系统可以利用目标标识地址,和配置文件进行匹配,进而确定目标通信规约。然后,报文转换系统可以根据目标通信规约,在至少两个规约解析插件中选择与目标通信规约对应的目标规约解析插件。即报文转换系统可以根据配置文件匹配结果,在至少两个规约解析插件中选择目标规约解析插件。In step 103, the message conversion system may select the target protocol analysis plug-in from at least two protocol analysis plug-ins according to the target identification address. For example, the message conversion system can determine the target communication protocol according to the target identification address and the configuration file. Wherein, the configuration file includes the corresponding relationship between the identification address and the communication protocol. That is, the message conversion system can use the target identification address to match with the configuration file, and then determine the target communication protocol. Then, the message conversion system can select a target protocol analysis plug-in corresponding to the target communication protocol from at least two protocol analysis plug-ins according to the target communication protocol. That is, the message conversion system can select a target protocol analysis plug-in from at least two protocol analysis plug-ins according to the configuration file matching result.
步骤104、利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文。Step 104: Use the target protocol parsing plug-in to convert the first packet to obtain a second packet.
在步骤104中,报文转换系统可以利用目标规约解析插件对第一报文进行转换,获得第二报文。即报文转换系统可以利用目标规约解析插件对第一报文进行转换,获得JavaScript对象简谱(Java Script Object Notation,JSON)格式的第二报文。即报文转换系统可以按照目标规约解析插件对应的解析规则对第一报文进行转换,封装成通用JSON格式的第二报文。In step 104, the message conversion system may use the target protocol analysis plug-in to convert the first message to obtain the second message. That is, the message conversion system can use the target specification parsing plug-in to convert the first message to obtain the second message in JavaScript object notation (Java Script Object Notation, JSON) format. That is, the message conversion system can convert the first message according to the parsing rules corresponding to the target protocol parsing plug-in, and encapsulate it into a second message in the common JSON format.
步骤105、向第二装置发送所述第二报文。Step 105. Send the second message to the second device.
在步骤105中,报文转换系统可以向第二装置发送第二报文,即报文转换系统可以向服务器发送JSON格式的第二报文。In step 105, the message conversion system may send the second message to the second device, that is, the message conversion system may send the second message in JSON format to the server.
需要说明的是,不同的电力通信规约报文对应不同的解析规则。相关技术中,由于各种电力通信规约不具备兼容性,导致要为不同的智能设备定制开发不同的软件系统,报文转换难度大。It should be noted that different power communication protocol messages correspond to different parsing rules. In related technologies, since various power communication protocols are not compatible, different software systems need to be customized and developed for different smart devices, and message conversion is difficult.
而在本申请中,通过以插件的形式将不同的规约解析插件集成到一套报文转换系统里。这样的形式使得报文转换系统很容易扩展支持更多的除电力规约外的物联网规约。能够在服务器端与第三方系统对接过程中需要改动接口的时候不需要改动规约解析插件中的任何模块。报文转换系统接收到第一报文之后,可以在至少两个规约解析插件中选择目标规约解析插件,并利用目标规约解析插件对第一报文进行转换。不需要为不同的智能设备定制开发不同的软件系统,降低报文转换难度,报文转换系统的兼容性更好。However, in this application, different protocol analysis plug-ins are integrated into a packet conversion system in the form of plug-ins. This form makes it easy for the message conversion system to expand to support more Internet of Things protocols other than the power protocol. When the interface needs to be changed during the connection between the server side and the third-party system, there is no need to change any module in the protocol analysis plug-in. After the message conversion system receives the first message, it can select a target protocol analysis plug-in from at least two protocol analysis plug-ins, and use the target protocol analysis plug-in to convert the first message. There is no need to customize and develop different software systems for different smart devices, reducing the difficulty of message conversion, and the compatibility of the message conversion system is better.
本申请提供的报文转换方法,接收第一装置发送的第一报文;对所述第一报文进行解析,获得目标标识地址;根据所述目标标识地址,在至少两个规约解析插件中选择目标规约解析插件;利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文;向第二装置发送所述第二报文。这样,接收到第一报文之后,可以在至少两个规约解析插件中选择目标规约解析插件,并利用目标规约解析插件对第一报文进行转换。不需要为不同的智能设备定制开发不同的软件系统,降低报文转换难度,报文转换系统的兼容性更好。The message conversion method provided by the present application receives the first message sent by the first device; parses the first message to obtain the target identification address; according to the target identification address, in at least two protocol analysis plug-ins Selecting a target protocol parsing plug-in; using the target protocol parsing plug-in to convert the first message to obtain a second message; sending the second message to the second device. In this way, after receiving the first message, the target protocol analysis plug-in can be selected from at least two protocol analysis plug-ins, and the first message can be converted by the target protocol analysis plug-in. There is no need to customize and develop different software systems for different smart devices, reducing the difficulty of message conversion, and the compatibility of the message conversion system is better.
参见图2,图2是本申请提供的另一种报文转换方法的流程图。如图2所示,包括以下步骤:Referring to FIG. 2, FIG. 2 is a flow chart of another message conversion method provided by the present application. As shown in Figure 2, it includes the following steps:
步骤201、接收第一装置发送的第一报文。Step 201. Receive a first message sent by a first device.
在步骤201中,报文转换系统可以接收第一装置发送的第一报文。In step 201, the message conversion system may receive a first message sent by a first device.
步骤202、对所述第一报文进行解析,获得目标标识地址。Step 202, analyze the first message to obtain the target identification address.
在步骤202中,报文转换系统可以对第一报文进行解析,获得目标标识地址。In step 202, the message conversion system may analyze the first message to obtain the target identification address.
步骤203、根据所述目标标识地址以及配置文件确定目标通信规约,其中,所述配置文件包含标识地址与通信规约的对应关系。Step 203. Determine the target communication protocol according to the target identification address and the configuration file, wherein the configuration file includes the correspondence between the identification address and the communication protocol.
在步骤203中,报文转换系统可以根据目标标识地址以及配置文件确定目标通信规约。其中,配置文件包含标识地址与通信规约的对应关系。即报文转换系统可以利用目标标识地址,和配置文件进行匹配,进而确定目标通信规约。In step 203, the message conversion system may determine the target communication protocol according to the target identification address and the configuration file. Wherein, the configuration file includes the corresponding relationship between the identification address and the communication protocol. That is, the message conversion system can use the target identification address to match with the configuration file, and then determine the target communication protocol.
步骤204、根据所述目标通信规约,在所述至少两个规约解析插件中选择与所述目标通信规约对应的目标规约解析插件。Step 204: According to the target communication protocol, select a target protocol analysis plug-in corresponding to the target communication protocol from the at least two protocol analysis plug-ins.
在步骤204中,报文转换系统可以根据目标通信规约,在至少两个规约解析插件中选择与目标通信规约对应的目标规约解析插件。即报文转换系统可以根据配置文件匹配结果,在至少两个规约解析插件中选择目标规约解析插件。In step 204, the message conversion system may select a target protocol analysis plug-in corresponding to the target communication protocol from at least two protocol analysis plug-ins according to the target communication protocol. That is, the message conversion system can select a target protocol analysis plug-in from at least two protocol analysis plug-ins according to the configuration file matching result.
步骤205、利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文。Step 205: Use the target protocol parsing plug-in to convert the first packet to obtain a second packet.
在步骤205中,报文转换系统可以利用目标规约解析插件对第一报文进行转换,获得第二报文。In step 205, the message conversion system can use the target protocol analysis plug-in to convert the first message to obtain the second message.
可选的,所述接收第一装置发送的第一报文,包括:Optionally, the receiving the first message sent by the first device includes:
接收底层设备发送的所述第一报文;receiving the first packet sent by the underlying device;
所述利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文,包括:The step of using the target protocol parsing plug-in to convert the first message to obtain the second message includes:
利用所述目标规约解析插件对所述第一报文进行转换,获得JavaScript对象简谱(JSON)格式的第二报文;Utilize the target specification analysis plug-in to convert the first message to obtain the second message in JavaScript Object Numbered Notation (JSON) format;
所述向第二装置发送所述第二报文,包括:The sending the second message to the second device includes:
向服务器发送所述JSON格式的第二报文。Send the second message in JSON format to the server.
例如,报文转换系统可以接收底层设备发送的第一报文。需要说明的是,不同的电力通信规约报文对应不同的解析规则。报文转换系统可以利用目标规约解析插件对第一报文进行转换,获得JSON格式的第二报文。即报文转换系统可以按照目标规约解析插件对应的解析规则对第一报文进行转换,封装成通用JSON格式的第二报文。接下来,报文转换系统可以向服务器发送JSON格式的第二报文。For example, the packet conversion system may receive the first packet sent by the underlying device. It should be noted that different power communication protocol messages correspond to different parsing rules. The message conversion system can use the target specification parsing plug-in to convert the first message to obtain the second message in JSON format. That is, the message conversion system can convert the first message according to the parsing rules corresponding to the target protocol parsing plug-in, and encapsulate it into a second message in the common JSON format. Next, the message conversion system may send the second message in JSON format to the server.
通过以插件的形式将不同的规约解析插件集成到一套报文转换系统里,然后通过配置文件根据目标标识地址确定目标通信规约。之后调用相关的规约解析插件去解析不同的电力通信规约报文,最后实现不同电力通信规约报文到通用JSON报文的转换。Different protocol analysis plug-ins are integrated into a message conversion system in the form of plug-ins, and then the target communication protocol is determined according to the target identification address through the configuration file. Then call the relevant protocol parsing plug-in to parse different power communication protocol messages, and finally realize the conversion of different power communication protocol messages into general JSON messages.
规约解析插件之所以以插件的形式使用,主要是考虑到报文转换系统的扩展以及兼容性,这样的形式使得报文转换系统很容易扩展支持更多的除电力规约外的物联网规约。只需要以插件的形式开发需要的规约解析插件,就可以集成到报文转换系统中来。能够在服务器端与第三方系统对接过程中需要改动接口的时候不需要改动规约解析插件中的任何模块。The reason why the protocol analysis plug-in is used in the form of a plug-in is mainly to consider the expansion and compatibility of the message conversion system. This form makes the message conversion system easy to expand and support more IoT protocols except the power protocol. You only need to develop the required protocol analysis plug-ins in the form of plug-ins, and then they can be integrated into the message conversion system. When the interface needs to be changed during the connection between the server side and the third-party system, there is no need to change any module in the protocol analysis plug-in.
可选的,所述接收第一装置发送的第一报文,包括:Optionally, the receiving the first message sent by the first device includes:
接收服务器发送的JSON格式的第一报文;Receive the first message in JSON format sent by the server;
所述利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文,包括:The step of using the target protocol parsing plug-in to convert the first message to obtain the second message includes:
利用所述目标规约解析插件对所述JSON格式的第一报文进行转换,获得规约报文格式的第二报文;Converting the first message in the JSON format by using the target protocol parsing plug-in to obtain a second message in the protocol message format;
所述向第二装置发送所述第二报文,包括:The sending the second message to the second device includes:
向底层设备发送所述规约报文格式的第二报文。Send the second packet in the protocol packet format to the underlying device.
报文转换系统还可以接收服务器发送的JSON格式的第一报文。进而报文转换系统可以利用目标规约解析插件对接收到的JSON格式的第一报文进行转换,获得规约报文格式的第二报文。即报文转换系统可以利用目标规约解析插件对JSON格式的第一报文进行解析,封装成规约报文格式的第二报文。然后,报文转换系统可以向底层设备发送规约报文格式的第二报文。The message conversion system may also receive the first message in JSON format sent by the server. Furthermore, the message conversion system can use the target protocol parsing plug-in to convert the received first message in JSON format to obtain the second message in the protocol message format. That is, the message conversion system can use the target protocol parsing plug-in to analyze the first message in the JSON format and encapsulate it into a second message in the protocol message format. Then, the message conversion system may send the second message in the protocol message format to the bottom layer device.
与相关技术相比,本申请可以降低底层设备接入报文转换系统的难度,提高兼容性,还可以降低通信规约实时协议转换难度。且报文转换系统的开发效率高,开发时间短,报文转换系统的稳定性、可靠性、扩展性和兼容性更好。Compared with related technologies, the present application can reduce the difficulty of accessing the message conversion system for bottom-layer equipment, improve compatibility, and can also reduce the difficulty of real-time protocol conversion of communication protocols. Moreover, the development efficiency of the message conversion system is high, the development time is short, and the stability, reliability, scalability and compatibility of the message conversion system are better.
可选的,所述向底层设备发送所述规约报文格式的第二报文,包括:Optionally, the sending the second message in the protocol message format to the underlying device includes:
根据所述目标标识地址,确定具有所述目标标识地址的底层设备;According to the target identification address, determine the underlying device with the target identification address;
向具有所述目标标识地址的底层设备发送所述规约报文格式的第二报文。Sending the second packet in the protocol packet format to the underlying device having the target identification address.
进一步的,报文转换系统可以根据目标标识地址,确定具有目标标识地址的底层设备。进而报文转换系统可以向具有目标标识地址的底层设备发送规约报文格式的第二报文。Further, the packet conversion system can determine the underlying device with the target identification address according to the target identification address. Furthermore, the message conversion system may send the second message in the specified message format to the underlying device having the target identification address.
步骤206、向第二装置发送所述第二报文。Step 206: Send the second message to the second device.
在步骤206中,如前所述,报文转换系统可以向第二装置发送第二报文。In step 206, as mentioned above, the message conversion system may send the second message to the second device.
本申请提供的报文转换方法,接收到第一报文之后,可以对第一报文进行解析,获得目标标识地址。进而可以根据目标标识地址以及配置文件确定目标通信规约。然后,可以根据目标通信规约,在至少两个规约解析插件中选择与目标通信规约对应的目标规约解析插件,并利用目标规约解析插件对第一报文进行转换。通过以插件的形式将不同的规约解析插件集成到一套报文转换系统里。这样的形式使得报文转换系统很容易扩展支持更多的除电力规约外的物联网规约。能够在服务器端与第三方系统对接过程中需要改动接口的时候不需要改动规约解析插件中的任何模块。不需要为不同的智能设备定制开发不同的软件系统,降低报文转换难度,报文转换系统的兼容性更好。In the message conversion method provided by the present application, after receiving the first message, the first message can be analyzed to obtain the target identification address. Furthermore, the target communication protocol can be determined according to the target identification address and the configuration file. Then, according to the target communication protocol, select a target protocol analysis plug-in corresponding to the target communication protocol from at least two protocol analysis plug-ins, and use the target protocol analysis plug-in to convert the first message. Integrate different protocol analysis plug-ins into a packet conversion system in the form of plug-ins. This form makes it easy for the message conversion system to expand to support more Internet of Things protocols other than the power protocol. When the interface needs to be changed during the connection between the server side and the third-party system, there is no need to change any module in the protocol analysis plug-in. There is no need to customize and develop different software systems for different smart devices, reducing the difficulty of message conversion, and the compatibility of the message conversion system is better.
参见图3,图3是本申请提供的另一种报文转换方法的流程图。如图3所示,包括以下步骤:Referring to FIG. 3 , FIG. 3 is a flow chart of another message conversion method provided by the present application. As shown in Figure 3, the following steps are included:
步骤301、底层设备向报文转换系统上传报文。Step 301, the underlying device uploads the message to the message conversion system.
步骤302、报文转换系统的数据接收模块接收底层设备上传的报文。Step 302, the data receiving module of the message conversion system receives the message uploaded by the underlying device.
步骤303、报文转换系统的数据解析模块对底层设备上传的报文进行解析,获得底层设备的唯一标识地址。Step 303, the data parsing module of the message conversion system parses the message uploaded by the bottom device to obtain the unique identification address of the bottom device.
步骤304、报文转换系统的配置文件解析模块利用底层设备的唯一标识地址,和配置文件进行匹配,进而确定目标通信规约。Step 304, the configuration file parsing module of the message conversion system uses the unique identification address of the underlying device to match the configuration file, and then determines the target communication protocol.
步骤305、报文转换系统根据目标通信规约调用相关的规约解析插件。Step 305, the message conversion system invokes the relevant protocol parsing plug-in according to the target communication protocol.
步骤306、报文转换系统按照相关规约解析插件对应的解析规则对底层设备上传的报文进行转换,封装成通用JSON格式的报文。Step 306: The message conversion system converts the message uploaded by the underlying device according to the parsing rule corresponding to the relevant protocol parsing plug-in, and encapsulates it into a message in common JSON format.
需要说明的是,可以以插件的形式将不同的规约解析插件集成到一套报文转换系统里。例如,如图3所示,报文转换系统可以包含101规约解析插件、104规约解析插件和串行通信协议(Modbus)规约解析插件等等。可以利用101规约解析插件对底层设备上传的101报文进行转换,封装成通用JSON格式的报文;可以利用104规约解析插件对底层设备上传的104报文进行转换,封装成通用JSON格式的报文;可以利用Modbus规约解析插件对底层设备上传的Modbus报文进行转换,封装成通用JSON格式的报文。It should be noted that different protocol parsing plug-ins can be integrated into a packet conversion system in the form of plug-ins. For example, as shown in FIG. 3 , the message conversion system may include 101 protocol analysis plug-ins, 104 protocol analysis plug-ins, serial communication protocol (Modbus) protocol analysis plug-ins, and so on. You can use the 101 protocol analysis plug-in to convert the 101 message uploaded by the underlying device and encapsulate it into a general JSON format message; you can use the 104 protocol analysis plug-in to convert the 104 message uploaded by the underlying device and encapsulate it into a general JSON format message Text; the Modbus protocol analysis plug-in can be used to convert the Modbus message uploaded by the underlying device and encapsulate it into a general JSON format message.
步骤307、报文转换系统可以将由底层设备上传的报文转换而来的通用JSON格式的报文上传至服务器。可以实现不同的电力通信规约报文轻松的转换为通用JSON格式的报文接入到服务器端。In step 307, the message conversion system can upload the message in common JSON format converted from the message uploaded by the underlying device to the server. It can realize the easy conversion of different power communication protocol messages into messages in common JSON format and access to the server.
本申请提供的报文转换方法,通过以插件的形式将不同的规约解析插件集成到一套报文转换系统里。这样的形式使得报文转换系统很容易扩展支持更多的除电力规约外的物联网规约。能够在服务器端与第三方系统对接过程中需要改动接口的时候不需要改动规约解析插件中的任何模块。不需要为不同的智能设备定制开发不同的软件系统,降低报文转换难度,报文转换系统的兼容性更好。The message conversion method provided by this application integrates different protocol analysis plug-ins into a message conversion system in the form of plug-ins. This form makes it easy for the message conversion system to expand to support more Internet of Things protocols other than the power protocol. When the interface needs to be changed during the connection between the server side and the third-party system, there is no need to change any module in the protocol analysis plug-in. There is no need to customize and develop different software systems for different smart devices, reducing the difficulty of message conversion, and the compatibility of the message conversion system is better.
参见图4,图4是本申请提供的另一种报文转换方法的流程图。如图4所示,包括以下步骤:Referring to FIG. 4, FIG. 4 is a flow chart of another message conversion method provided by the present application. As shown in Figure 4, the following steps are included:
步骤401、服务器向报文转换系统下发通用JSON格式的报文。Step 401, the server sends a message in common JSON format to the message conversion system.
步骤402、报文转换系统的数据接收模块接收服务器下发的通用JSON格式的报文。Step 402, the data receiving module of the message conversion system receives the message in general JSON format delivered by the server.
步骤403、报文转换系统的数据解析模块对服务器下发的通用JSON格式的报文进行解析,获得底层设备的唯一标识地址。Step 403, the data parsing module of the message conversion system parses the message in general JSON format sent by the server to obtain the unique identification address of the underlying device.
步骤404、报文转换系统的配置文件解析模块利用底层设备的唯一标识地址,和配置文件进行匹配,进而确定目标通信规约。Step 404, the configuration file parsing module of the message conversion system uses the unique identification address of the underlying device to match with the configuration file, and then determines the target communication protocol.
步骤405、报文转换系统根据目标通信规约调用相关的规约解析插件。Step 405, the message conversion system invokes the relevant protocol parsing plug-in according to the target communication protocol.
步骤406、报文转换系统利用相关规约解析插件对服务器下发的通用JSON格式的报文进行解析,封装成规约报文格式的报文。Step 406, the message conversion system uses the relevant protocol analysis plug-in to analyze the message in general JSON format issued by the server, and encapsulates it into a message in the protocol message format.
需要说明的是,可以以插件的形式将不同的规约解析插件集成到一套报文转换系统里。例如,如图4所示,报文转换系统可以包含101规约解析插件、104规约解析插件和Modbus规约解析插件等等。可以利用101规约解析插件对服务器下发的通用JSON格式的报文进行转换,封装成101报文;可以利用104规约解析插件对服务器下发的通用JSON格式的报文进行转换,封装成104报文;可以利用Modbus规约解析插件对服务器下发的通用JSON格式的报文进行转换,封装成Modbus报文。It should be noted that different protocol parsing plug-ins can be integrated into a packet conversion system in the form of plug-ins. For example, as shown in FIG. 4 , the message conversion system may include 101 protocol analysis plug-ins, 104 protocol analysis plug-ins, Modbus protocol analysis plug-ins, and the like. You can use the 101 protocol analysis plug-in to convert the general JSON format message sent by the server and encapsulate it into a 101 message; you can use the 104 protocol analysis plug-in to convert the general JSON format message sent by the server and encapsulate it into a 104 message Text; you can use the Modbus protocol analysis plug-in to convert the general JSON format message sent by the server and encapsulate it into a Modbus message.
步骤407、报文转换系统可以将由服务器下发的通用JSON格式的报文转换而来的规约报文格式的报文下发至底层设备。进一步的,报文转换系统可以根据获得的底层设备的唯一标识地址,确定具有该唯一标识地址的底层设备。进而报文转换系统可以向具有该唯一标识地址的底层设备发送规约报文格式的报文。可以实现服务器端通用JSON格式的报文轻松的转换为不同电力通信规约报文下发到底层设备。In step 407, the message conversion system can deliver the message in the protocol message format converted from the message in the common JSON format delivered by the server to the underlying device. Further, the packet conversion system may determine the bottom device with the unique identification address according to the obtained unique identification address of the bottom device. Furthermore, the message conversion system can send a message in a standardized message format to the underlying device with the uniquely identified address. It is possible to easily convert messages in the common JSON format on the server side into messages of different power communication protocols and send them to the underlying devices.
本申请提供的报文转换方法,通过以插件的形式将不同的规约解析插件集成到一套报文转换系统里。这样的形式使得报文转换系统很容易扩展支持更多的除电力规约外的物联网规约。能够在服务器端与第三方系统对接过程中需要改动接口的时候不需要改动规约解析插件中的任何模块。不需要为不同的智能设备定制开发不同的软件系统,降低报文转换难度,报文转换系统的兼容性更好。The message conversion method provided by this application integrates different protocol analysis plug-ins into a message conversion system in the form of plug-ins. This form makes it easy for the message conversion system to expand to support more Internet of Things protocols other than the power protocol. When the interface needs to be changed during the connection between the server side and the third-party system, there is no need to change any module in the protocol analysis plug-in. There is no need to customize and develop different software systems for different smart devices, reducing the difficulty of message conversion, and the compatibility of the message conversion system is better.
参见图5,图5是本申请提供的一种报文转换系统的结构图。如图5所示,报文转换系统500包括接收模块501、解析模块502、选择模块503、转换模块504和发送模块505,其中:Referring to FIG. 5, FIG. 5 is a structural diagram of a message conversion system provided by the present application. As shown in Figure 5, the message conversion system 500 includes a receiving module 501, an analysis module 502, a selection module 503, a conversion module 504 and a sending module 505, wherein:
接收模块501,用于接收第一装置发送的第一报文;a receiving module 501, configured to receive the first message sent by the first device;
解析模块502,用于对所述第一报文进行解析,获得目标标识地址;A parsing module 502, configured to parse the first message to obtain a target identification address;
选择模块503,用于根据所述目标标识地址,在至少两个规约解析插件中选择目标规约解析插件;A selection module 503, configured to select a target protocol analysis plug-in from at least two protocol analysis plug-ins according to the target identification address;
转换模块504,用于利用所述目标规约解析插件对所述第一报文进行转换,获得第二报文;A conversion module 504, configured to use the target protocol parsing plug-in to convert the first message to obtain a second message;
发送模块505,用于向第二装置发送所述第二报文。A sending module 505, configured to send the second message to the second device.
可选的,如图6所示,所述选择模块503包括:Optionally, as shown in FIG. 6, the selection module 503 includes:
第一确定子模块5031,用于根据所述目标标识地址以及配置文件确定目标通信规约,其中,所述配置文件包含标识地址与通信规约的对应关系;The first determination sub-module 5031 is configured to determine the target communication protocol according to the target identification address and the configuration file, wherein the configuration file includes the correspondence between the identification address and the communication protocol;
选择子模块5032,用于根据所述目标通信规约,在所述至少两个规约解析插件中选择与所述目标通信规约对应的目标规约解析插件。The selection submodule 5032 is configured to select a target protocol parsing plug-in corresponding to the target communication protocol among the at least two protocol parsing plug-ins according to the target communication protocol.
可选的,所述接收模块501用于接收底层设备发送的所述第一报文;Optionally, the receiving module 501 is configured to receive the first message sent by the underlying device;
所述转换模块504用于利用所述目标规约解析插件对所述第一报文进行转换,获得JavaScript对象简谱(JSON)格式的第二报文;The conversion module 504 is configured to convert the first message by using the target specification parsing plug-in to obtain a second message in JavaScript Object Numbered Notation (JSON) format;
所述发送模块505用于向服务器发送所述JSON格式的第二报文。The sending module 505 is configured to send the second message in JSON format to the server.
可选的,所述接收模块501用于接收服务器发送的JSON格式的第一报文;Optionally, the receiving module 501 is configured to receive the first message in JSON format sent by the server;
所述转换模块504用于利用所述目标规约解析插件对所述JSON格式的第一报文进行转换,获得规约报文格式的第二报文;The conversion module 504 is configured to convert the first message in the JSON format by using the target protocol parsing plug-in to obtain a second message in the protocol message format;
所述发送模块505用于向底层设备发送所述规约报文格式的第二报文。The sending module 505 is configured to send the second message in the protocol message format to the underlying device.
可选的,如图7所示,所述发送模块505包括:Optionally, as shown in FIG. 7, the sending module 505 includes:
第二确定子模块5051,用于根据所述目标标识地址,确定具有所述目标标识地址的底层设备;The second determining submodule 5051 is configured to determine the underlying device with the target identification address according to the target identification address;
发送子模块5052,用于向具有所述目标标识地址的底层设备发送所述规约报文格式的第二报文。The sending submodule 5052 is configured to send the second message in the protocol message format to the underlying device with the target identification address.
报文转换系统500能够实现图1-图4的方法实施例中报文转换系统实现的各个过程,为避免重复,这里不再赘述。且报文转换系统500可以实现接收到第一报文之后,可以对第一报文进行解析,获得目标标识地址。进而可以根据目标标识地址以及配置文件确定目标通信规约。然后,可以根据目标通信规约,在至少两个规约解析插件中选择与目标通信规约对应的目标规约解析插件,并利用目标规约解析插件对第一报文进行转换。通过以插件的形式将不同的规约解析插件集成到一套报文转换系统里。这样的形式使得报文转换系统很容易扩展支持更多的除电力规约外的物联网规约。能够在服务器端与第三方系统对接过程中需要改动接口的时候不需要改动规约解析插件中的任何模块。不需要为不同的智能设备定制开发不同的软件系统,降低报文转换难度,报文转换系统的兼容性更好。The message conversion system 500 can implement various processes implemented by the message conversion system in the method embodiments shown in FIGS. 1-4 . To avoid repetition, details are not repeated here. Moreover, the message conversion system 500 can analyze the first message after receiving the first message, and obtain the target identification address. Furthermore, the target communication protocol can be determined according to the target identification address and the configuration file. Then, according to the target communication protocol, select a target protocol analysis plug-in corresponding to the target communication protocol from at least two protocol analysis plug-ins, and use the target protocol analysis plug-in to convert the first message. Integrate different protocol analysis plug-ins into a packet conversion system in the form of plug-ins. This form makes it easy for the message conversion system to expand to support more Internet of Things protocols other than the power protocol. When the interface needs to be changed during the connection between the server side and the third-party system, there is no need to change any module in the protocol analysis plug-in. There is no need to customize and develop different software systems for different smart devices, reducing the difficulty of message conversion, and the compatibility of the message conversion system is better.
本申请提供的实施例之间的相似部分相互参见即可,以上提供的具体实施方式只是本申请总的构思下的几个示例,并不构成本申请保护范围的限定。对于本领域的技术人员而言,在不付出创造性劳动的前提下依据本申请方案所扩展出的任何其他实施方式都属于本申请的保护范围。The similar parts between the embodiments provided in the present application can be referred to each other, and the specific implementations provided above are only a few examples under the general concept of the present application, and do not constitute a limitation of the protection scope of the present application. For those skilled in the art, any other implementations expanded based on the proposal of the present application without creative work shall fall within the scope of protection of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910534781.5A CN110290127A (en) | 2019-06-20 | 2019-06-20 | A message conversion method and message conversion system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910534781.5A CN110290127A (en) | 2019-06-20 | 2019-06-20 | A message conversion method and message conversion system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110290127A true CN110290127A (en) | 2019-09-27 |
Family
ID=68004345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910534781.5A Pending CN110290127A (en) | 2019-06-20 | 2019-06-20 | A message conversion method and message conversion system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110290127A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111800381A (en) * | 2020-05-28 | 2020-10-20 | 国网江苏省电力有限公司 | Public utility data integrated remote acquisition unified protocol processing system and method |
CN111953733A (en) * | 2020-07-14 | 2020-11-17 | 许昌许继软件技术有限公司 | A power distribution IoT system based on MQTT protocol |
CN112214967A (en) * | 2020-10-12 | 2021-01-12 | 中国民航信息网络股份有限公司 | Message format conversion method and device |
CN113504909A (en) * | 2021-06-30 | 2021-10-15 | 中汽数据(天津)有限公司 | Industrial APP heterogeneous component data exchange method and related equipment |
CN114040018A (en) * | 2021-10-11 | 2022-02-11 | 许昌许继软件技术有限公司 | Data receiving and transmitting method and device based on JSON data format |
CN115022422A (en) * | 2022-06-16 | 2022-09-06 | 上海博般数据技术有限公司 | Real-time data processing system and method for Internet of things |
CN115314572A (en) * | 2022-06-24 | 2022-11-08 | 国网信息通信产业集团有限公司 | A protocol conversion method, system and device for power communication protocol |
CN117499504A (en) * | 2023-12-29 | 2024-02-02 | 万联易达物流科技有限公司 | Message format conversion method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135889A (en) * | 2010-12-25 | 2011-07-27 | 许继集团有限公司 | Method for rapidly constructing embedded system communication way |
CN102333031A (en) * | 2011-09-07 | 2012-01-25 | 江苏润和软件股份有限公司 | Device intelligent access system based on device adaptation technology, and method of the same |
CN104639654A (en) * | 2015-03-05 | 2015-05-20 | 国家电网公司 | Integrated access system and integrated access method for mass electricity information acquisition terminals |
CN105653616A (en) * | 2015-12-25 | 2016-06-08 | 长沙威胜信息技术有限公司 | Communication protocol conversion method for master station in power system |
CN106603502A (en) * | 2016-11-21 | 2017-04-26 | 云南电网有限责任公司电力科学研究院 | IEC 60870-5-104 and GOOSE conversion method based on XML |
CN108040051A (en) * | 2017-12-12 | 2018-05-15 | 开放物联(北京)科技发展有限公司 | A kind of configurable things-internet gateway method for converting protocol |
CN109474590A (en) * | 2018-11-05 | 2019-03-15 | 四川神坤电液控制技术有限公司 | Big Dipper short message and day lead to the conversion method and device of short message |
-
2019
- 2019-06-20 CN CN201910534781.5A patent/CN110290127A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135889A (en) * | 2010-12-25 | 2011-07-27 | 许继集团有限公司 | Method for rapidly constructing embedded system communication way |
CN102333031A (en) * | 2011-09-07 | 2012-01-25 | 江苏润和软件股份有限公司 | Device intelligent access system based on device adaptation technology, and method of the same |
CN104639654A (en) * | 2015-03-05 | 2015-05-20 | 国家电网公司 | Integrated access system and integrated access method for mass electricity information acquisition terminals |
CN105653616A (en) * | 2015-12-25 | 2016-06-08 | 长沙威胜信息技术有限公司 | Communication protocol conversion method for master station in power system |
CN106603502A (en) * | 2016-11-21 | 2017-04-26 | 云南电网有限责任公司电力科学研究院 | IEC 60870-5-104 and GOOSE conversion method based on XML |
CN108040051A (en) * | 2017-12-12 | 2018-05-15 | 开放物联(北京)科技发展有限公司 | A kind of configurable things-internet gateway method for converting protocol |
CN109474590A (en) * | 2018-11-05 | 2019-03-15 | 四川神坤电液控制技术有限公司 | Big Dipper short message and day lead to the conversion method and device of short message |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111800381A (en) * | 2020-05-28 | 2020-10-20 | 国网江苏省电力有限公司 | Public utility data integrated remote acquisition unified protocol processing system and method |
CN111800381B (en) * | 2020-05-28 | 2024-03-15 | 国网江苏省电力有限公司 | Integrated remote collection and unified protocol processing system and method for public utility data |
CN111953733A (en) * | 2020-07-14 | 2020-11-17 | 许昌许继软件技术有限公司 | A power distribution IoT system based on MQTT protocol |
CN112214967A (en) * | 2020-10-12 | 2021-01-12 | 中国民航信息网络股份有限公司 | Message format conversion method and device |
CN113504909A (en) * | 2021-06-30 | 2021-10-15 | 中汽数据(天津)有限公司 | Industrial APP heterogeneous component data exchange method and related equipment |
CN114040018A (en) * | 2021-10-11 | 2022-02-11 | 许昌许继软件技术有限公司 | Data receiving and transmitting method and device based on JSON data format |
CN115022422A (en) * | 2022-06-16 | 2022-09-06 | 上海博般数据技术有限公司 | Real-time data processing system and method for Internet of things |
CN115022422B (en) * | 2022-06-16 | 2023-05-30 | 上海博般数据技术有限公司 | Real-time data processing system and method for Internet of things |
CN115314572A (en) * | 2022-06-24 | 2022-11-08 | 国网信息通信产业集团有限公司 | A protocol conversion method, system and device for power communication protocol |
CN115314572B (en) * | 2022-06-24 | 2024-01-16 | 国网信息通信产业集团有限公司 | A protocol conversion method, system and equipment for power communication protocol |
CN117499504A (en) * | 2023-12-29 | 2024-02-02 | 万联易达物流科技有限公司 | Message format conversion method and system |
CN117499504B (en) * | 2023-12-29 | 2024-03-22 | 万联易达物流科技有限公司 | Message format conversion method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110290127A (en) | A message conversion method and message conversion system | |
US20160285820A1 (en) | Method for processing address resolution protocol message, switch, and controller | |
CN111083161A (en) | Data transmission processing method and device and Internet of things equipment | |
CN109688164A (en) | Method for converting protocol and device | |
CN106888152B (en) | A message processing method, device and system | |
CN104683994A (en) | Wireless network configuration method and wireless network devices | |
US8656001B2 (en) | Communication system, application server and communication method for server cooperation | |
CN106550241A (en) | Video traffic identifying system and virtualization dispositions method | |
CN105072149A (en) | Method and device for building remote communication through proxy gateway | |
CN102790705B (en) | Operational trials system and method, signalling analysis system and method | |
CN104065688B (en) | A kind of method and device for calling underlying services | |
CN100484101C (en) | A method, system and device to transport the IPv6 message of Ethernet | |
CN109525539B (en) | A capability invocation method, invocation receipt method, information processing method and system | |
CN113630466A (en) | Data transmission method, system, electronic device and storage medium | |
CN112019491B (en) | Message processing method and system | |
CN115174340B (en) | Communication method supporting interaction of multiple protocol types and Internet of things operating system | |
CN117395195A (en) | Communication method, device, equipment and storage medium | |
CN101925021B (en) | Method/system for processing messages and convergence service system | |
CN107666671B (en) | Method and device for detecting wrong connection based on TWAMP | |
KR102173015B1 (en) | Control plane apparatus, user plane apparatus and method for processing packet using the same | |
CN104580491A (en) | End system protocol stack construction method and method for accessing end system to service carrying network | |
CN117651084B (en) | Heterogeneous protocol message processing method and device, electronic equipment and storage medium | |
CN101350693B (en) | Method and apparatus for conveying protocol information | |
CN102754417B (en) | Method for managing data in a communication network | |
CN100589358C (en) | Method and system for processing messages and message sender and message receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190927 |
|
RJ01 | Rejection of invention patent application after publication |