CN112910838B - Composite protocol analysis method, device, equipment, system and storage medium - Google Patents

Composite protocol analysis method, device, equipment, system and storage medium Download PDF

Info

Publication number
CN112910838B
CN112910838B CN202110033915.2A CN202110033915A CN112910838B CN 112910838 B CN112910838 B CN 112910838B CN 202110033915 A CN202110033915 A CN 202110033915A CN 112910838 B CN112910838 B CN 112910838B
Authority
CN
China
Prior art keywords
information
data
subprotocol
determining
message data
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.)
Active
Application number
CN202110033915.2A
Other languages
Chinese (zh)
Other versions
CN112910838A (en
Inventor
任岳淼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Eslink Computing Hangzhou Co ltd
Goldcard Smart Group Co Ltd
Original Assignee
Eslink Computing Hangzhou Co ltd
Goldcard Smart Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Eslink Computing Hangzhou Co ltd, Goldcard Smart Group Co Ltd filed Critical Eslink Computing Hangzhou Co ltd
Priority to CN202110033915.2A priority Critical patent/CN112910838B/en
Publication of CN112910838A publication Critical patent/CN112910838A/en
Application granted granted Critical
Publication of CN112910838B publication Critical patent/CN112910838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Communication Control (AREA)

Abstract

The application provides a method, a device, equipment, a system and a storage medium for analyzing a composite protocol, wherein the method can be applied to a composite protocol routing device in an acquisition system and comprises the following steps: receiving message data sent by terminal equipment, acquiring feature information corresponding to the message data, determining a subprotocol corresponding to the message data according to the feature information, analyzing the message data by adopting the determined subprotocol to obtain analyzed data, and sending the analyzed data to a data center platform. According to the scheme, the characteristic information of the message data sent by the terminal equipment is obtained, different message data can be transmitted based on different subprotocols, the subprotocols corresponding to the message data can be determined, and therefore data transmission between the terminal equipment and the data center platform is achieved through the determined subprotocols.

Description

Composite protocol analysis method, device, equipment, system and storage medium
Technical Field
The present application relates to communications technologies, and in particular, to a method, an apparatus, a device, a system, and a storage medium for composite protocol parsing.
Background
Along with the improvement of the living standard and the living quality of people and the requirement of modern families for intelligent products, the gas meter is developed towards the direction of intellectualization and safety.
When the intelligent gas meter is used, the intelligent gas meter can be communicated with the acquisition system to realize information transmission, such as the temperature information, the voltage information, the gas usage amount information, the account recharging information and the like of the gas meter are sent to the acquisition system. The acquisition system can analyze corresponding data information according to the protocol. In a specific scenario, a customized gas meter needs to transmit information to an acquisition system by using a composite protocol, where the composite protocol refers to a custom protocol aggregated by multiple subprotocols, and for example, the composite protocol may be a protocol aggregated by a Modbus protocol and other custom protocols.
When a customized gas meter needs to communicate with an acquisition system, a specific subprotocol of a composite protocol needs to be determined, and if the subprotocol required for information transmission cannot be accurately determined, information transmission between the intelligent gas meter and the acquisition system cannot be realized.
Disclosure of Invention
The application provides a composite protocol analysis method, a device, equipment, a system and a storage medium, which can realize the information transmission between an intelligent gas meter and an acquisition system by acquiring the characteristic information of message data and accurately determining the subprotocol corresponding to the message data through the characteristic information.
In a first aspect, the present application provides a composite protocol parsing method, including:
receiving message data sent by terminal equipment;
acquiring characteristic information corresponding to the message data, and determining a subprotocol corresponding to the message data according to the characteristic information;
and analyzing the message data by adopting the determined subprotocol to obtain analyzed data, and sending the analyzed data to a data center platform.
Optionally, determining, according to the feature information, a subprotocol corresponding to the message data includes:
and matching the sub-protocols corresponding to the message data according to the structural information of the characteristic information in different sub-protocols.
Optionally, matching the subprotocols corresponding to the message data according to the structural information of the feature information in different subprotocols includes:
for each subprotocol in the composite protocol, acquiring first characteristic information of the message data, and determining the subprotocols meeting the length requirement according to the first characteristic information; the first characteristic information is length information of the message.
Optionally, the obtaining the first feature information of the packet data includes:
for each subprotocol in a composite protocol, determining a field for storing length information in the message data according to the subprotocol, extracting the data of the field, and acquiring first characteristic information of the message data;
correspondingly, determining the sub-protocol meeting the length requirement according to the first characteristic information comprises the following steps:
and when the first characteristic information is length information, determining the corresponding sub-protocol as the sub-protocol meeting the length requirement.
Optionally, the method further includes:
and when a plurality of sub-protocols which meet the length requirement and are determined according to the first characteristic information are available, acquiring second characteristic information of the message data, and determining the sub-protocol corresponding to the message data according to the second characteristic information.
Optionally, the obtaining second feature information of the packet data includes:
for each subprotocol in the plurality of confirmed subprotocols, confirming a field storing second characteristic information in the message data according to the subprotocol, extracting data of the field, and obtaining the second characteristic information of the message data;
correspondingly, determining the subprotocol corresponding to the message data according to the second feature information includes:
judging whether the second characteristic information belongs to preset characteristic information corresponding to the subprotocol;
and if the message data belongs to the preset characteristic information, determining that the subprotocol is the subprotocol corresponding to the message data.
Optionally, the determining whether the second feature information belongs to preset feature information corresponding to the subprotocol includes:
acquiring the corresponding relation between each subprotocol and preset characteristic information;
and judging whether the characteristic information of the message data is preset characteristic information or not according to the corresponding relation.
Optionally, before sending the analyzed data to the data center platform, the method further includes:
judging whether preset expression information in the analyzed data is default or not;
if default preset expression information exists, acquiring the preset expression information, and obtaining standard data according to the preset expression information;
correspondingly, the step of sending the analyzed data to a data center platform comprises the following steps:
and sending the standard data to a data center platform.
Optionally, the obtaining the preset expression information includes: searching issuing instruction information corresponding to the analyzed data, and determining corresponding preset expression information according to the issuing instruction information; or, determining corresponding preset expression information according to the determined subprotocol;
correspondingly, obtaining standard data according to the preset expression information comprises:
and combining the preset expression information with the analyzed data, and determining the combined data as standard data.
Optionally, the method further includes:
determining a current communication subprotocol according to the session information of the current transmission message data;
and receiving the instruction information sent by the data center platform, packaging the instruction information according to the current communication sub-protocol to obtain packaged instruction data, and sending the packaged instruction data to the terminal equipment so that the terminal equipment executes corresponding operation according to the instruction data.
In a second aspect, the present application provides a composite protocol parsing apparatus, including:
the receiving module is used for receiving message data sent by the terminal equipment;
the determining module is used for acquiring the characteristic information corresponding to the message data and determining the subprotocol corresponding to the message data according to the characteristic information;
and the sending module is used for analyzing the message data by adopting the determined subprotocol to obtain analyzed data and sending the analyzed data to the data center platform.
In a third aspect, the present application provides a composite protocol parsing device, including:
a memory for storing program instructions;
a processor for invoking and executing program instructions in said memory for performing the method of any of the first aspects.
In a fourth aspect, the present application provides an acquisition system comprising: the composite protocol analysis device and the data center platform are provided.
In a fifth aspect, the present application provides a data transmission system, including: the terminal equipment and the acquisition system of the fourth aspect;
and the terminal equipment is used for sending message data to the acquisition system.
In a sixth aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method according to any one of the first aspect.
In a seventh aspect, the present application provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the method according to any one of the first aspect.
The application provides a composite protocol analysis method, a device, equipment, a system and a storage medium. The method can be applied to a composite protocol routing device in an acquisition system, and comprises the following steps: receiving message data sent by terminal equipment, acquiring feature information corresponding to the message data, determining a subprotocol corresponding to the message data according to the feature information, analyzing the message data by adopting the determined subprotocol to obtain analyzed data, and sending the analyzed data to a data center platform. According to the scheme, the characteristic information of the message data sent by the terminal equipment is obtained, and the subprotocols corresponding to the message data can be determined based on the characteristic that different subprotocols can transmit different message data, so that data transmission between the terminal equipment and the data center platform is realized through the determined subprotocols.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for the embodiments or the description of the prior art are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention;
fig. 2 is a schematic flowchart of a composite protocol parsing method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another composite protocol parsing method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of parsing message data according to an embodiment of the present invention;
fig. 5 shows formats of response data in a default scenario and a standard scenario according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a composite protocol parsing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a composite protocol parsing device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic view of an application scenario provided by an embodiment of the present invention, as shown in fig. 1, a terminal device may be an intelligent gas meter 101, and may cooperate with an acquisition system to implement information transmission, for example, temperature information, voltage information, gas usage information, account recharging information, and the like of the intelligent gas meter 101 are sent to a data center platform 103, and the data center platform 103 sends a corresponding instruction to the intelligent gas meter 101 according to the received information.
However, when the intelligent gas meter 101 is a customized gas meter, it uses a composite protocol for information transmission with the data center platform 103, i.e. when different information is transmitted, it uses different sub-protocols in the composite protocol. As shown in fig. 1, when the intelligent gas meter and the data center platform 103 perform different information transmission, the sub-protocol used may be sub-protocol 1, sub-protocol 2 \8230, sub-protocol 8230, and sub-protocol n, so that when the acquisition system receives information sent by the intelligent gas meter 101, it is necessary to determine which sub-protocol is in the composite protocol, and then the information transmission between the intelligent gas meter and the acquisition system can be realized.
In view of the above problems, the composite protocol parsing method provided in this embodiment of the present application, based on the fact that different sub-protocols can transmit different message data, determines a sub-protocol corresponding to feature information of the message data by obtaining feature information of the message data sent by a terminal device, that is, by obtaining the feature information of the message data through the composite protocol parsing device 102 in fig. 1, parses the message data through the determined sub-protocol, and transmits the parsed data to the data center platform 103, so as to solve the problem that information transmission cannot be performed between the intelligent gas meter 101 and the acquisition system using the composite protocol.
The technical solution of the present invention will be described in detail below with specific examples. These several specific embodiments may be combined with each other below, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a schematic flow diagram of a composite protocol parsing method according to an embodiment of the present invention, where the method provided in this embodiment may be executed by a composite protocol parsing device in an acquisition system, and as shown in fig. 2, the method of this embodiment may include:
step S201, receiving message data sent by the terminal device.
The terminal equipment is an intelligent instrument, and can be a gas meter, a water meter, an electric meter or other instruments. A smart meter may be a meter that is intelligent and can communicate with an acquisition system. For example, the intelligent gas meter can be a CPU card intelligent gas meter, a radio frequency card intelligent gas meter, a wired remote gas meter, a wireless remote gas meter or an Internet of things gas meter.
The acquisition system can be based on the Internet of things, and remote management of the terminal equipment is realized through information transmission with the terminal equipment.
The message data may be only one piece of data or multiple pieces of data. The message data may be reading information, voltage information, current information, etc. reported by the intelligent gas meter, and may also be control information of the device, such as valve opening control information, valve closing control information, recharging information, etc.
Further, before receiving the message data sent by the terminal device, a communication connection between the terminal device and the acquisition system needs to be established, where the establishment manner of the communication connection is related to the type of the intelligent gas meter, and may be a communication manner based on short-distance communication or long-distance communication, or a communication manner based on an Internet of Things NB-IoT (Narrow Band Internet of Things) or a cellular mobile communication technology.
After the communication connection between the terminal equipment and the acquisition system is established, the message data sent by the terminal equipment can be received.
Step S202, obtaining characteristic information corresponding to the message data, and determining a subprotocol corresponding to the message data according to the characteristic information.
The characteristic information can represent the characteristic of a certain aspect of the message data sent by the terminal equipment. For different subprotocols, feature extraction can be accurately performed on different types of message data, for example, the subprotocol 1 can perform correct feature extraction on reported information, and the subprotocol 2 can perform correct feature extraction on control information. Therefore, the characteristic information of the message data can be acquired, and the subprotocol corresponding to the message data is determined through the characteristic information.
The characteristic information can be device reading information, voltage information, current information and the like in the reported information; alternatively, the control information may include valve opening information, valve closing information, and recharge information, or may include registration information.
The specific process of acquiring the characteristic information corresponding to the message data is as follows: and respectively acquiring the characteristic information corresponding to the message data by adopting different subprotocols, acquiring a plurality of characteristic information, and when the adopted subprotocols are the subprotocols corresponding to the message data, the extracted characteristic information is correct information, otherwise, the extracted characteristic information is wrong information, and determining the subprotocols corresponding to the message data by judging the correctness of the characteristic information.
When the correctness of the feature information is judged, the correct feature information extracted by different subprotocols can be stored in advance, and then the obtained feature information corresponding to the message data is compared with the prestored information, so that the subprotocol corresponding to the message data is determined.
For example, for one message data, when the message data is subjected to feature extraction by using the subprotocol 1, the acquired feature information is the feature information 1, when the message data is subjected to feature extraction by using the subprotocol 2, the acquired feature information is the feature information 2, the feature information corresponding to the subprotocol 1 is pre-stored as the feature information 3, and the feature information corresponding to the subprotocol 2 is pre-stored as the feature information 2, and the feature information acquired by the subprotocol 2 is the same as the stored feature information corresponding to the subprotocol 2, so that the subprotocol corresponding to the message data can be determined as the subprotocol 2.
Step S203, analyzing the message data by adopting the determined subprotocol to obtain analyzed data, and sending the analyzed data to a data center platform.
After the subprotocol corresponding to the message data is determined, the message data can be analyzed through the determined subprotocol.
The message data is data containing a plurality of bytes, and is a data format for transmission between the terminal equipment and the acquisition system. The message analysis means that the message data in a specific format is analyzed into a preset format.
Under different subprotocols, each byte has different meanings, and the message data can be correctly analyzed by determining the good subprotocols.
The composite protocol analysis equipment can send the analyzed data to the data center platform, and the data center platform can send corresponding instruction information according to the received data.
For example, when the standard data received by the data center is the remaining amount of gas sent by the intelligent gas meter, if it is determined that the remaining amount of gas is smaller than a preset value, an alarm message may be issued to the intelligent gas meter, or information for prompting a user to recharge the gas meter may also be issued.
In practical applications, the message data may include a data type and a specific value corresponding to the data type, for example, the data type is a voltage, the voltage value is a first value, the data type is a current, the current value is a second value, the subprotocol may be determined after the message data is obtained, specifically, the subprotocol may be determined by obtaining characteristic information of a specific location, if the obtained characteristic information is voltage information and current information, both of which represent report information, the subprotocol may be determined as a subprotocol for transmitting the report information, and after the corresponding subprotocol is determined, the message data is analyzed to obtain the voltage value as the first value and the current value as the second value.
The composite protocol analysis method provided by the embodiment can be applied to composite protocol analysis equipment of an acquisition system, and comprises the following steps: the method comprises the steps of receiving message data sent by terminal equipment, obtaining characteristic information corresponding to the message data, determining a subprotocol corresponding to the message data according to the characteristic information, analyzing the message data by adopting the determined subprotocol to obtain analyzed data, sending the analyzed data to a data center platform, and correctly analyzing different message data based on different subprotocols.
Optionally, determining, according to the feature information, a subprotocol corresponding to the message data includes:
and matching the sub-protocols corresponding to the message data according to the structural information of the characteristic information in different sub-protocols.
When the sub-protocol is determined based on the feature information, the sub-protocol is substantially determined based on the structure information of the feature information in different sub-protocols, where the structure information refers to the position and byte of a certain feature specified by the sub-protocol in the sub-protocol.
The corresponding sub-protocol can be conveniently determined according to the structural information, so that the same terminal can adopt different sub-protocols to perform data interaction with the data center platform.
Fig. 3 is a schematic flow chart of another composite protocol parsing method according to an embodiment of the present invention, and details a process of determining a corresponding sub-protocol according to feature information. As shown in fig. 3, the method comprises the steps of:
s301, for each subprotocol in the composite protocol, acquiring first characteristic information of the message data, and determining the subprotocols meeting the length requirement according to the first characteristic information; the first characteristic information is length information of the message.
The sub-protocols meeting the length requirement can be determined through the first characteristic information, wherein the number of the sub-protocols meeting the composite length requirement may be multiple, and may be only one. If only one is available, the subprotocol can be determined to be the subprotocol corresponding to the message data; when there are a plurality of the sensors, further judgment is needed.
Optionally, the obtaining the first feature information of the packet data includes: for each subprotocol in a composite protocol, determining a field for storing length information in the message data according to the subprotocol, extracting the data of the field, and acquiring first characteristic information of the message data;
determining a sub-protocol meeting the length requirement according to the first characteristic information, comprising: and when the first characteristic information is length information, determining the corresponding sub-protocol as the sub-protocol meeting the length requirement.
For each sub-protocol in the composite protocol, different sub-protocols specify fields describing message data storage length information, and the fields of the stored length information may also be different for different sub-protocols. By extracting the data of the field, first characteristic information can be obtained, and whether the first characteristic information is length information or not is judged.
For example, there are subprotocol 1, subprotocol 2 and subprotocol 3 in the composite protocol, where the length bit in subprotocol 1 is the fourth bit; the length bits in the subprotocol 2 are two bits, namely a sixth bit and a seventh bit; the length bit in the subprotocol 3 is a second bit, and for the subprotocol 1, the numerical value of the fourth bit of the message data can be obtained, so as to obtain the first characteristic information of the message data determined by the subprotocol 1; aiming at the subprotocol 2, the numerical values of the sixth bit and the seventh bit of the message data can be obtained, and the first characteristic information of the message data determined by the subprotocol 2 is obtained; for the subprotocol 3, the numerical value of the second bit of the message data may be obtained, and the first feature information of the message data determined by the subprotocol 3 is obtained.
After the first feature information is acquired, it may be determined whether the first feature information meets a requirement, that is, when the determined first feature information is length information, it indicates that the length requirement is met. Because, when the message data does not correspond to the parsed subprotocol, the length information may not be parsed by the subprotocol.
Or, when judging whether the first characteristic information meets the requirement, another implementation manner is as follows: after the message data is obtained, the actual length of the message data can be obtained, the first characteristic information corresponding to each sub-protocol is compared with the actual length, the first characteristic information consistent with the actual length is screened out, and then the sub-protocol corresponding to the screened first characteristic information is obtained.
For example, the actual length of the message data is 128 bytes, the first feature information determined by the subprotocol 1 is 65 bytes, and the first feature information determined by the subprotocol 2 and the subprotocol 3 are both 128 bytes, so that the subprotocol 2 and the subprotocol 3 can be preliminarily screened out as two subprotocols meeting the condition through the length information.
The subprotocols meeting the conditions are screened out through the length information of the message data, only the subprotocols meeting the length information can be processed in the subsequent processing process, and the efficiency of determining the subprotocols corresponding to the message data can be improved.
S302, when a plurality of sub-protocols meeting the length requirement are determined according to the first characteristic information, second characteristic information of the message data is obtained, and the sub-protocol corresponding to the message data is determined according to the second characteristic information.
When a plurality of sub-protocols satisfying the length requirement are determined, second characteristic information of the message data may be determined for each sub-protocol. And determining a subprotocol corresponding to the message data according to the second characteristic information.
Optionally, the obtaining of the second feature information of the message data includes:
for each sub-protocol in the plurality of determined sub-protocols, determining a field storing second characteristic information in the message data according to the sub-protocol, extracting data of the field, and acquiring the second characteristic information of the message data;
correspondingly, determining the sub-protocol corresponding to the message data according to the second characteristic information includes: judging whether the second characteristic information belongs to preset characteristic information corresponding to the subprotocol or not; and if the message data belongs to the preset characteristic information, determining that the subprotocol is the subprotocol corresponding to the message data.
In this embodiment, each sub-protocol defines the position of the second feature information, and the positions of the second feature information defined by different sub-protocols may be the same or different. And aiming at each subprotocol, extracting second characteristic information of the message data according to the position of the second characteristic information specified in the subprotocol in the message data.
For example, if the positions of the second feature information specified by the subprotocol 2 and the subprotocol 3 are both the third bit, the second feature information corresponding to the third bit of the message data may be obtained, and the second feature information determined by the subprotocol 2 may be the feature information 1, such as the report information; the second characteristic information determined by the sub-protocol 3 may be the characteristic information 2.
When the sub-protocol corresponding to the message data is determined according to the second characteristic information, the judgment can be performed through preset characteristic information. The preset characteristic information is correct characteristic information corresponding to different subprotocols.
By comparing the obtained second characteristic information with the preset characteristic information, it can be determined whether the subprotocol for obtaining the second characteristic information is the subprotocol corresponding to the message data. For example, the second feature information corresponding to the subprotocol 2 in the preset feature information is the feature information 1, that is, the report information, and when the second feature information determined by the subprotocol 2 is exactly the feature information 1, it may be determined that the subprotocol corresponding to the message data is the subprotocol 2.
According to the method, the second characteristic information corresponding to each subprotocol can be conveniently acquired according to the position of the second characteristic information, and the acquired second characteristic information is compared with the preset characteristic information, so that the subprotocol corresponding to the message data can be accurately determined.
Optionally, the determining whether the second feature information belongs to preset feature information corresponding to the subprotocol includes:
acquiring the corresponding relation between each subprotocol and preset characteristic information; and judging whether the characteristic information of the message data is preset characteristic information or not according to the corresponding relation.
Each sub-protocol corresponds to specific feature information, that is, there is a corresponding relationship between each sub-protocol and preset feature information.
In addition, in order to facilitate comparison of the obtained feature information, the feature information may be represented by a numerical value, that is, different feature information corresponds to different numerical values respectively. The corresponding relation between each subprotocol and the preset characteristic information is a preset characteristic information numerical table. That is, the preset characteristic information value table records the preset characteristic information corresponding to each sub-protocol, that is, the value that each sub-protocol can correctly resolve.
Therefore, after the message data is analyzed through different subprotocols, a numerical value representing the characteristic information of the message data can be obtained, and if the numerical value belongs to a numerical value in a preset characteristic information numerical value table, the characteristic information of the message data is preset characteristic information; and if the numerical value does not belong to the numerical value in the preset characteristic information numerical value table, the characteristic information of the message data is not the preset characteristic information.
For example, if the feature information of the message data acquired by the sub-protocol 1 is a value 90 representing voltage information in the report information, and the value 90 is a value corresponding to the sub-protocol 1 stored in the preset feature information value table, it can be determined that the feature information of the message data is the report information and belongs to the preset feature information.
According to the method, the corresponding relation between each subprotocol and the preset feature information is obtained, the feature information can be accurately compared, and the efficiency of judging whether the feature information is the preset feature information is improved.
Fig. 4 is a schematic flowchart of a process of parsing message data according to an embodiment of the present invention, and details an parsing process of the message data, where as shown in fig. 4, the method includes the following steps.
Optionally, the analyzing the message data by using the determined subprotocol to obtain analyzed standard data includes:
s401, judging whether preset expression information in the analyzed data is in default, and if the preset expression information is in default, executing the step S402; otherwise, the flow of analyzing the message data is finished.
When judging whether the default expression information exists, analyzing the message data according to the determined subprotocol, and judging whether an information default scene exists according to the analyzed information.
Fig. 5 shows formats of response data in a default scenario and a standard scenario provided in the embodiment of the present invention, where if the analyzed information is a specific numerical value, for example, 101.2 cubic meters, and the corresponding physical meaning of the analyzed information is default, it can be determined that a scenario in which the preset expression information is default exists, and if the analyzed information is yesterday gas usage =101.2 cubic meters, it can be determined that a scenario in which the preset expression information is default does not exist.
If the scene with the default information exists, the scene with the default information can be converted into a standard scene; if no scene of information default exists, the message data analysis is completed, and the analyzed data can be transmitted.
S402, obtaining the preset expression information.
Optionally, issuing instruction information corresponding to the analyzed data is searched for, and corresponding preset expression information is determined according to the issuing instruction information; or determining corresponding preset expression information according to the determined subprotocol.
Here, when the preset expression information is determined, two ways may be adopted, one of which is to search for issued instruction information corresponding to the analyzed data; when the scene with the default information exists, the issuing parameters can be obtained and supplemented into the analyzed information. Specifically, the issuing instruction information corresponding to the message data can be searched, for example, when the issuing instruction information sent by the data center platform in the acquisition system is reading yesterday gas usage, the issuing parameter is yesterday gas usage. That is, the issuing parameters are obtained through a context mechanism.
And secondly, determining corresponding preset expression information according to the determined subprotocol, and when the acquisition system receives the reported data under the condition that the acquisition system does not send the issuing instruction to the terminal equipment, determining the issuing parameter by the issuing instruction information. For such a situation, the storage location of the preset expression information in the message data can be specified through the sub-protocol, and when the terminal device reports data, the preset expression information is stored in the response location, so that after the message data is obtained, the message data can be analyzed to obtain the preset expression information. For example, for the subprotocol 1, the preset expression information is stored in the first field, and then the preset expression information can be determined by parsing.
And S403, obtaining standard data according to the preset expression information.
Optionally, the preset expression information is combined with the analyzed data, and the combined data is determined as standard data.
Specifically, after the preset expression information is obtained, the analyzed standard data is determined according to the preset expression information and the message data. Specifically, the preset expression information may be combined with the information analyzed in the default scene according to a preset format to obtain the analyzed standard data, that is, the response data in the standard scene.
For example, when the message data (i.e., the analyzed data) is 101.2 cubic meters and the preset expression information is yesterday gas usage, the standard data format after the analysis can be obtained as yesterday gas usage =101.2 cubic meters.
By the method, when a scene with default information exists, the preset expression information can be determined according to a context mechanism or the determined subprotocol, and the analyzed data is converted into standard data according to the preset expression information, so that when the data center platform acquires the analyzed data, the physical meaning represented by the data sent by the terminal equipment can be visually determined, and information errors caused by the default information are avoided.
Optionally, the method further includes:
determining a current communication subprotocol according to the session information of the current transmission message data; and receiving the instruction information sent by the data center platform, packaging the instruction information according to the current communication sub-protocol to obtain packaged instruction data, and sending the packaged instruction data to the terminal equipment so that the terminal equipment executes corresponding operation according to the instruction data.
In this embodiment, after receiving the analyzed standard data corresponding to the message data sent by the terminal device, the data center platform may also send corresponding instruction information to the terminal device, where the instruction information is information corresponding to the received standard data, and the instruction information may also be different according to different received standard data.
For example, when the received standard data is the report information, the instruction information issued by the data center platform may be communication end information; when the received standard data is the recharging information, the instruction information issued by the data center platform may be the operation information, such as instructing the terminal device to modify the remaining gas amount information.
When the data center platform sends the instruction information to the terminal equipment, the subprotocol for sending the instruction information needs to be determined, and in order to improve the efficiency of information transmission, the subprotocol does not need to be determined again according to the sent instruction information, but session information when the terminal equipment sends message data to the data center platform is directly stored. When the instruction information sent by the data center platform is received, the sub-protocol of communication can be determined through the session information, and the instruction information is sent to the terminal equipment through the determined sub-protocol.
After receiving the encapsulated instruction information, the terminal device may decapsulate the instruction information. For example, when the instruction information is operation information, such as instruction to modify the remaining gas amount information, the remaining gas amount may be increased to a corresponding value; and when the instruction information is communication ending information, ending the communication.
By the method, when the instruction information sent by the data center platform is transmitted to the terminal equipment, the subprotocol does not need to be determined again, and the information can be rapidly transmitted to the terminal equipment.
Fig. 6 is a schematic structural diagram of a composite protocol parsing apparatus according to an embodiment of the present invention. As shown in fig. 6, the composite protocol parsing apparatus 60 of the present embodiment may include: a receiving module 601, a determining module 602 and a sending module 603.
A receiving module 601, configured to receive message data sent by a terminal device;
a determining module 602, configured to obtain feature information corresponding to the packet data, and determine, according to the feature information, a subprotocol corresponding to the packet data;
the sending module 603 is configured to analyze the packet data by using the determined subprotocol, obtain analyzed data, and send the analyzed data to the data center platform.
Optionally, the determining module 602 includes a determining unit, specifically configured to:
and matching the sub-protocols corresponding to the message data according to the structural information of the characteristic information in different sub-protocols.
Optionally, the determining unit includes a first determining subunit, and is specifically configured to:
for each subprotocol in the composite protocol, acquiring first characteristic information of the message data, and determining the subprotocols meeting the length requirement according to the first characteristic information; the first characteristic information is length information of the message.
Optionally, when the first determining subunit obtains the first feature information of the packet data, the first determining subunit is specifically configured to:
for each subprotocol in the composite protocol, determining a field for storing length information in the message data according to the subprotocol, extracting data of the field, and acquiring first characteristic information of the message data;
when determining the sub-protocol meeting the length requirement according to the first feature information, the first determining sub-unit is specifically configured to:
and when the first characteristic information is length information, determining the corresponding sub-protocol as the sub-protocol meeting the length requirement.
Optionally, the determining unit further includes a second determining subunit, configured to:
and when a plurality of subprotocols meeting the length requirement are determined according to the first characteristic information, acquiring second characteristic information of the message data, and determining the subprotocols corresponding to the message data according to the second characteristic information.
Optionally, when the second determining subunit obtains the second feature information of the packet data, the second determining subunit is specifically configured to: for each sub-protocol in the plurality of determined sub-protocols, determining a field storing second characteristic information in the message data according to the sub-protocol, extracting data of the field, and acquiring the second characteristic information of the message data;
when determining the sub-protocol corresponding to the message data according to the second feature information, the second determining sub-unit is specifically configured to:
judging whether the second characteristic information belongs to preset characteristic information corresponding to the subprotocol;
and if the message data belongs to the preset characteristic information, determining that the subprotocol is the subprotocol corresponding to the message data.
Optionally, when determining whether the second feature information belongs to the preset feature information corresponding to the subprotocol, the second determining unit is specifically configured to:
acquiring the corresponding relation between each subprotocol and preset characteristic information;
and judging whether the characteristic information of the message data is preset characteristic information or not according to the corresponding relation.
Optionally, before the sending module 603 sends the analyzed data to the data center platform, the sending module is specifically configured to:
judging whether preset expression information in the analyzed data is default or not;
if default preset expression information exists, acquiring the preset expression information, and obtaining standard data according to the preset expression information;
the sending module 603, when sending the analyzed data to the data center platform, is specifically configured to:
and sending the standard data to a data center platform.
Optionally, when obtaining the preset expression information, the sending module 603 is specifically configured to:
searching issuing instruction information corresponding to the analyzed data, and determining corresponding preset expression information according to the issuing instruction information; or, determining corresponding preset expression information according to the determined subprotocol;
correspondingly, when obtaining the standard data according to the preset expression information, the sending module 603 is specifically configured to:
and combining the preset expression information with the analyzed data, and determining the combined data as standard data.
Optionally, the apparatus further includes a saving module, configured to:
determining a current communication subprotocol according to the session information of the current transmission message data;
and receiving the instruction information sent by the data center platform, packaging the instruction information according to the current communication sub-protocol to obtain packaged instruction data, and sending the packaged instruction data to the terminal equipment so that the terminal equipment executes corresponding operation according to the instruction data.
The composite protocol parsing apparatus provided in the embodiment of the present invention may implement the composite protocol parsing method according to the embodiments shown in fig. 2, fig. 3, and fig. 4, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 7 is a schematic diagram of a hardware structure of a composite protocol parsing device according to an embodiment of the present invention. As shown in fig. 7, the composite protocol parsing device 70 provided in this embodiment includes: at least one processor 701 and a memory 702. The processor 701 and the memory 702 are connected by a bus 703.
In a specific implementation process, the at least one processor 701 executes the computer-executable instructions stored in the memory 702, so that the at least one processor 701 executes the composite protocol parsing method in the foregoing method embodiment.
For a specific implementation process of the processor 701, reference may be made to the above method embodiments, which implement principles and technical effects similar to each other, and details of this embodiment are not described herein again.
In the embodiment shown in fig. 7, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
An embodiment of the present invention further provides an acquisition system, including: the composite protocol parsing device and the data center platform in the above embodiments.
The embodiment of the invention also provides a data transmission system, terminal equipment and the acquisition system in the embodiment; the terminal equipment is used for sending message data to the acquisition system.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer execution instruction is stored in the computer-readable storage medium, and when a processor executes the computer execution instruction, the composite protocol parsing method according to the above method embodiment is implemented.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A readable storage medium may be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
An embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the composite protocol parsing method provided in any embodiment of the present application corresponding to fig. 2 to fig. 5.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present application.

Claims (18)

1. A method for composite protocol parsing, the method comprising:
receiving message data sent by terminal equipment;
acquiring characteristic information corresponding to the message data, and determining a subprotocol corresponding to the message data according to the characteristic information;
analyzing the message data by adopting the determined subprotocol to obtain analyzed data, and sending the analyzed data to a data center platform;
determining a subprotocol corresponding to the message data according to the characteristic information, including:
matching sub-protocols corresponding to the message data according to the structural information of the characteristic information in different sub-protocols;
matching the sub-protocols corresponding to the message data according to the structural information of the feature information in different sub-protocols, comprising:
for each subprotocol in the composite protocol, acquiring first characteristic information of the message data, and determining the subprotocols meeting the length requirement according to the first characteristic information; the first characteristic information is length information of the message;
and when a plurality of subprotocols meeting the length requirement are determined according to the first characteristic information, acquiring second characteristic information of the message data, and determining the subprotocols corresponding to the message data according to the second characteristic information.
2. The method of claim 1, wherein obtaining the first characteristic information of the packet data comprises:
for each subprotocol in the composite protocol, determining a field for storing length information in the message data according to the subprotocol, extracting data of the field, and acquiring first characteristic information of the message data;
correspondingly, the determining of the subprotocol meeting the length requirement according to the first characteristic information includes:
and when the first characteristic information is length information, determining the corresponding sub-protocol as the sub-protocol meeting the length requirement.
3. The method of claim 1, wherein obtaining second characteristic information of the message data comprises:
for each subprotocol in the plurality of confirmed subprotocols, confirming a field storing second characteristic information in the message data according to the subprotocol, extracting data of the field, and obtaining the second characteristic information of the message data;
correspondingly, determining the subprotocol corresponding to the message data according to the second feature information includes:
judging whether the second characteristic information belongs to preset characteristic information corresponding to the subprotocol or not;
and if the message data belongs to the preset characteristic information, determining that the subprotocol is the subprotocol corresponding to the message data.
4. The method according to claim 3, wherein determining whether the second feature information belongs to preset feature information corresponding to the subprotocol comprises:
acquiring the corresponding relation between each subprotocol and preset characteristic information;
and judging whether the characteristic information of the message data is preset characteristic information or not according to the corresponding relation.
5. The method according to any one of claims 1 to 4, wherein before sending the parsed data to the data center platform, the method further comprises:
judging whether preset expression information in the analyzed data is default or not;
if default preset expression information exists, acquiring the preset expression information, and obtaining standard data according to the preset expression information;
correspondingly, the step of sending the analyzed data to a data center platform comprises the following steps:
and sending the standard data to a data center platform.
6. The method of claim 5, wherein obtaining the preset expression information comprises: searching issuing instruction information corresponding to the analyzed data, and determining corresponding preset expression information according to the issuing instruction information; or, determining corresponding preset expression information according to the determined subprotocol;
correspondingly, obtaining standard data according to the preset expression information includes:
and combining the preset expression information with the analyzed data, and determining the combined data as standard data.
7. The method of claim 1, further comprising:
determining a current communication subprotocol according to the session information of the current transmission message data;
and receiving the instruction information sent by the data center platform, packaging the instruction information according to the current communication sub-protocol to obtain packaged instruction data, and sending the packaged instruction data to the terminal equipment so that the terminal equipment executes corresponding operation according to the instruction data.
8. A composite protocol parsing apparatus, comprising:
the receiving module is used for receiving message data sent by the terminal equipment;
the determining module is used for acquiring the characteristic information corresponding to the message data and determining the subprotocol corresponding to the message data according to the characteristic information;
the sending module is used for analyzing the message data by adopting the determined subprotocol to obtain analyzed data and sending the analyzed data to the data center platform;
the determining module comprises a determining unit, and is specifically used for matching the sub-protocols corresponding to the message data according to the structural information of the feature information in different sub-protocols;
the determining unit comprises a first determining subunit, and is specifically configured to, for each subprotocol in a composite protocol, obtain first feature information of the packet data, and determine a subprotocol meeting a length requirement according to the first feature information; the first characteristic information is length information of the message;
the determining unit further includes a second determining subunit, configured to, when a plurality of subprotocols meeting the length requirement are determined according to the first feature information, obtain second feature information of the packet data, and determine a subprotocol corresponding to the packet data according to the second feature information.
9. The apparatus according to claim 8, wherein the first determining subunit, when acquiring the first feature information of the packet data, is specifically configured to:
for each subprotocol in a composite protocol, determining a field for storing length information in the message data according to the subprotocol, extracting the data of the field, and acquiring first characteristic information of the message data;
correspondingly, when the first determining subunit determines, according to the first feature information, the subprotocol meeting the length requirement, specifically configured to:
and when the first characteristic information is length information, determining the corresponding sub-protocol as the sub-protocol meeting the length requirement.
10. The apparatus according to claim 8, wherein the second determining subunit, when acquiring the second feature information of the packet data, is specifically configured to:
for each sub-protocol in the plurality of determined sub-protocols, determining a field storing second characteristic information in the message data according to the sub-protocol, extracting data of the field, and acquiring the second characteristic information of the message data;
correspondingly, when the second determining subunit determines, according to the second feature information, the subprotocol corresponding to the packet data, the second determining subunit is specifically configured to:
judging whether the second characteristic information belongs to preset characteristic information corresponding to the subprotocol;
and if the message data belongs to the preset characteristic information, determining that the subprotocol is the subprotocol corresponding to the message data.
11. The apparatus of claim 10, wherein the second determining subunit, when determining whether the second feature information belongs to the preset feature information corresponding to the subprotocol, is specifically configured to:
acquiring the corresponding relation between each subprotocol and preset characteristic information;
and judging whether the characteristic information of the message data is preset characteristic information or not according to the corresponding relation.
12. The apparatus according to any one of claims 8 to 11, wherein the sending module, before sending the parsed data to the data center platform, is specifically configured to:
judging whether preset expression information in the analyzed data is default or not;
if default preset expression information exists, acquiring the preset expression information, and obtaining standard data according to the preset expression information;
correspondingly, when the sending module sends the analyzed data to the data center platform, the sending module is specifically configured to:
and sending the standard data to a data center platform.
13. The apparatus of claim 12, wherein the sending module, when obtaining the preset expression information, is specifically configured to:
searching issuing instruction information corresponding to the analyzed data, and determining corresponding preset expression information according to the issuing instruction information; or, determining corresponding preset expression information according to the determined subprotocol;
correspondingly, when the sending module obtains the standard data according to the preset expression information, the sending module is specifically configured to:
and combining the preset expression information with the analyzed data, and determining the combined data as standard data.
14. The apparatus of claim 8, further comprising a save module to:
determining a current communication subprotocol according to the session information of the current transmission message data;
and receiving the instruction information sent by the data center platform, packaging the instruction information according to the current communication sub-protocol to obtain packaged instruction data, and sending the packaged instruction data to the terminal equipment so that the terminal equipment executes corresponding operation according to the instruction data.
15. A composite protocol parsing device, comprising:
a memory for storing program instructions;
a processor for calling and executing program instructions in said memory, performing the method of any of claims 1-7.
16. An acquisition system, comprising: the composite protocol parsing device and data center platform of claim 15.
17. A data transmission system, comprising: a terminal device and the acquisition system of claim 16;
and the terminal equipment is used for sending message data to the acquisition system.
18. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, carries out the method according to any one of claims 1-7.
CN202110033915.2A 2021-01-11 2021-01-11 Composite protocol analysis method, device, equipment, system and storage medium Active CN112910838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110033915.2A CN112910838B (en) 2021-01-11 2021-01-11 Composite protocol analysis method, device, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110033915.2A CN112910838B (en) 2021-01-11 2021-01-11 Composite protocol analysis method, device, equipment, system and storage medium

Publications (2)

Publication Number Publication Date
CN112910838A CN112910838A (en) 2021-06-04
CN112910838B true CN112910838B (en) 2022-11-22

Family

ID=76112459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110033915.2A Active CN112910838B (en) 2021-01-11 2021-01-11 Composite protocol analysis method, device, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN112910838B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116055584B (en) * 2023-01-12 2023-06-30 大秦新能源科技(泰州)有限公司 Lithium ion battery communication method and system based on different communication protocols

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242358A (en) * 2008-02-20 2008-08-13 华为技术有限公司 A flow shaping method and device
CN111786953A (en) * 2020-06-01 2020-10-16 杭州迪普科技股份有限公司 Safety protection method and device and safety management equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7580408B2 (en) * 2001-11-21 2009-08-25 Alcatel Lucent Configurable packet processor
CN102082762A (en) * 2009-11-30 2011-06-01 华为技术有限公司 Protocol identification method and device and system for same
CN102480462B (en) * 2010-11-23 2015-04-01 中国电信股份有限公司 Universal protocol adapting method and device
CN105939304B (en) * 2015-06-11 2020-03-06 杭州迪普科技股份有限公司 Tunnel message parsing method and device
CN109450936A (en) * 2018-12-21 2019-03-08 武汉长江通信智联技术有限公司 A kind of adaptation method and device of the hetero-com-munication agreement based on Kafka
CN110677432A (en) * 2019-10-14 2020-01-10 广州江南科友科技股份有限公司 Network protocol internal proxy forwarding method, device, medium and terminal equipment
CN110868336B (en) * 2019-11-11 2021-11-02 北京明略软件系统有限公司 Data management method, device and computer readable storage medium
CN111953693A (en) * 2020-08-13 2020-11-17 北京计算机技术及应用研究所 Tor network communication flow identification and analysis method
CN112118232B (en) * 2020-08-25 2022-10-18 通号城市轨道交通技术有限公司 Message protocol analysis method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242358A (en) * 2008-02-20 2008-08-13 华为技术有限公司 A flow shaping method and device
CN111786953A (en) * 2020-06-01 2020-10-16 杭州迪普科技股份有限公司 Safety protection method and device and safety management equipment

Also Published As

Publication number Publication date
CN112910838A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN112104654B (en) Multi-protocol automatic identification and conversion method, storage medium and intelligent gateway
CN107426770B (en) Data communication method, data terminal and system based on data link layer
CN111294235B (en) Data processing method, device, gateway and readable storage medium
CN111190851A (en) Analysis method, device, equipment and medium for variable length protocol
KR101330900B1 (en) Apparatus and method for supporting higher data rates on links with variable frame sizes
CN112910838B (en) Composite protocol analysis method, device, equipment, system and storage medium
CN111813622B (en) Equipment monitoring method and device
CN114860437A (en) Data acquisition method, edge calculation host and computer-readable storage medium
CN111315026B (en) Channel selection method, device, gateway and computer readable storage medium
CN113438633B (en) Communication data processing method, terminal and computer readable storage medium
CN108460044B (en) Data processing method and device
EP2420936B1 (en) Protocol conversion Communication Device
CN106027521B (en) Compression method, decompressing method, compression set and decompression device
CN116614326A (en) Modbus communication method based on single-channel multi-device
CN116132550A (en) Data transmission method and device, electronic equipment and storage medium
CN113949640B (en) Service data processing method and device
CN114079675B (en) Message processing method, device, terminal equipment and mobile broadband internet surfing equipment
CN113824724A (en) Method and device for judging tampering of sensor data of intelligent substation and storage medium
CN112910902A (en) Data analysis method and device, electronic equipment and computer readable storage medium
CN106506504A (en) A kind of intelligent protocol conversion method and device
CN112054955A (en) Equipment communication method based on gateway
CN111314108A (en) Data transmission method, device, equipment, storage medium and front-end system
CN112148694A (en) Data compression method and data decompression method for electronic equipment and electronic equipment
CN112702303A (en) Train real-time data analysis method, device, equipment and storage medium
CN110120987A (en) A kind of WiFi connection method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220921

Address after: 325600 291 weft seventeen Road, Yueqing Economic Development Zone, Wenzhou, Zhejiang

Applicant after: Goldcard Smart Group Co.,Ltd.

Applicant after: ESLINK COMPUTING (HANGZHOU) Co.,Ltd.

Address before: 325600 291 weft seventeen Road, Yueqing Economic Development Zone, Wenzhou, Zhejiang

Applicant before: Goldcard Smart Group Co.,Ltd.

GR01 Patent grant
GR01 Patent grant