CN114025031B - Data processing method and device based on ground measurement and control system data transmission protocol - Google Patents

Data processing method and device based on ground measurement and control system data transmission protocol Download PDF

Info

Publication number
CN114025031B
CN114025031B CN202210000481.0A CN202210000481A CN114025031B CN 114025031 B CN114025031 B CN 114025031B CN 202210000481 A CN202210000481 A CN 202210000481A CN 114025031 B CN114025031 B CN 114025031B
Authority
CN
China
Prior art keywords
data stream
sent
code
nested
information
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
CN202210000481.0A
Other languages
Chinese (zh)
Other versions
CN114025031A (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.)
Emposat Co Ltd
Original Assignee
Emposat 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 Emposat Co Ltd filed Critical Emposat Co Ltd
Priority to CN202210000481.0A priority Critical patent/CN114025031B/en
Publication of CN114025031A publication Critical patent/CN114025031A/en
Application granted granted Critical
Publication of CN114025031B publication Critical patent/CN114025031B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The application discloses a data processing method and device based on a data transmission protocol of a ground measurement and control system. The method comprises the following steps: identifying a protocol head part included in a data stream to be sent, and acquiring an information source address and an information category code in the data stream to be sent; analyzing the information category of the data stream to be transmitted according to the information source address and the information category code; matching a user-defined category code corresponding to the information category; generating a nested data stream of a data stream to be sent, taking a self-defined class code as an information class code of a protocol header part included in the nested data stream, and taking the data stream to be sent as a data field part included in the nested data stream; and sending the nested data stream to a communication receiving terminal so that the communication receiving terminal restores the nested data stream according to the user-defined class code and distributes the data stream to be sent to a corresponding equipment execution terminal. The method and the device solve the problem that different organizations define different information types by using the message type codes, so that data analysis errors of the task execution end are caused.

Description

Data processing method and device based on ground measurement and control system data transmission protocol
Technical Field
The application relates to the technical field of data processing, in particular to a data processing method and device based on a data transmission protocol of a ground measurement and control system.
Background
The data transmission protocol of the ground measurement and control system is a recommended standard, and at present, many manufacturers formulate the external data communication format of own equipment on the basis of the recommended standard.
The recommended standard ground measurement and control system data transmission protocol comprises two parts of a protocol header and a data field. Wherein. There is a "message class code" field in the protocol header, which is used by organizations to define different information classes, with the risk of collisions and inconsistencies. For example, vendor a uses the "12345" information class code to represent antenna servo control commands, and vendor B also uses the "12345" information class code, but represents baseband status feedback messages. This causes a conflict, which results in the task execution end being unable to resolve, and may cause data parsing errors.
In the process of implementing the embodiment of the present application, the inventor finds that the related art has at least the following problems:
in the related art, different organizations in a data transmission protocol of a ground measurement and control system use message type codes to define different information types, which may cause data analysis errors at a task execution end.
Disclosure of Invention
The application mainly aims to provide a data processing method and device based on a data transmission protocol of a ground measurement and control system, so as to solve the problem that different organizations in the related technology use different information types defined by message type codes, which results in data analysis errors of a task execution terminal.
In order to achieve the above object, according to an aspect of the present application, a data processing method based on a data transmission protocol of a ground measurement and control system is provided, where the method is applied to a communication sending end, and the method includes:
identifying a protocol header part included in a data stream to be transmitted, and acquiring an information source address and an information category code in the data stream to be transmitted;
analyzing the information category of the data stream to be sent according to the information source address and the information category code;
matching a user-defined category code corresponding to the information category;
generating a nested data stream of the data stream to be sent, wherein a user-defined class code is used as an information class code of a protocol header part included in the nested data stream, and the data stream to be sent is used as a data field part included in the nested data stream;
and sending the nested data stream to a communication receiving end so that the communication receiving end restores the nested data stream according to the user-defined class code to obtain the data stream to be sent, and distributes the data stream to be sent to a corresponding equipment execution terminal.
Optionally, the generating a nested data stream of the data stream to be transmitted further includes:
matching a user-defined unique identification code of the equipment execution terminal corresponding to the information type;
and taking the self-defined unique identification code as a reserved code of a protocol head part included in the nested data stream, so that the communication receiving terminal determines the equipment execution terminal according to the self-defined unique identification code.
Optionally, the generating a nested data stream of the data stream to be transmitted includes:
and copying a protocol header part included by the nested data stream to generate the protocol header part included by the data stream to be sent, replacing the information category code with the self-defined category code, replacing the reserved code with the self-defined unique identification code, and updating the data field length data.
Optionally, the method further comprises:
receiving a data stream to be transmitted, which is transmitted by a local equipment terminal;
the generating the nested data stream of the data stream to be transmitted further includes: and replacing the source address code with the superior address code of the local equipment terminal.
In a second aspect, the present application further provides a data processing method based on a data transmission protocol of a ground measurement and control system, where the method is applied to a communication receiving end, and the method includes:
receiving a nested data stream sent by a communication sending end, wherein the communication sending end identifies a protocol head part included in a data stream to be sent, and acquires an information source address and an information category code in the data stream to be sent; analyzing the information category of the data stream to be sent according to the information source address and the information category code; matching a user-defined category code corresponding to the information category; generating a nested data stream of the data stream to be sent, wherein a user-defined class code is used as an information class code of a protocol header part included in the nested data stream, and the data stream to be sent is used as a data field part included in the nested data stream; the communication sending end sends the nested data stream;
restoring the nested data stream according to the user-defined class code to obtain the data stream to be sent;
and distributing the data stream to be sent to a corresponding device execution terminal.
Optionally, before the distributing the data stream to be sent to a corresponding device execution terminal, the method further includes:
determining the equipment execution terminal according to the user-defined unique identification code, wherein the communication sending end matches the user-defined unique identification code of the equipment execution terminal corresponding to the information type; and taking the self-defined unique identification code as a reserved code of a protocol header part included in the nested data stream.
In a third aspect, the present application further provides a data processing apparatus, where the apparatus is applied to a communication sending end, and the apparatus further includes:
the identification module is used for identifying the protocol head part included in the data stream to be sent and acquiring the information source address and the information category code in the data stream to be sent;
the analysis module is used for analyzing the information category of the data stream to be sent according to the information source address and the information category code;
the matching module is used for matching the user-defined category codes corresponding to the information categories;
a generating module, configured to generate a nested data stream of the data stream to be sent, where a user-defined class code is used as an information class code of a protocol header portion included in the nested data stream, and the data stream to be sent is used as a data field portion included in the nested data stream;
and the sending module is used for sending the nested data stream to a communication receiving end so that the communication receiving end restores the nested data stream according to the user-defined class code to obtain the data stream to be sent and distributes the data stream to be sent to a corresponding equipment execution terminal.
In a fourth aspect, the present application further provides a data processing apparatus based on a data transmission protocol of a ground measurement and control system, where the apparatus is applied to a communication receiving end, and the apparatus includes:
the receiving module is used for receiving the nested data stream sent by the communication sending end, wherein the communication sending end identifies a protocol head part included in the data stream to be sent, and acquires an information source address and an information category code in the data stream to be sent; analyzing the information category of the data stream to be sent according to the information source address and the information category code; matching a user-defined category code corresponding to the information category; generating a nested data stream of the data stream to be sent, wherein a user-defined class code is used as an information class code of a protocol header part included in the nested data stream, and the data stream to be sent is used as a data field part included in the nested data stream;
the restoring module is used for restoring the nested data stream according to the user-defined class code to obtain the data stream to be sent;
and the distribution module is used for distributing the data stream to be sent to the corresponding equipment execution terminal.
In a fifth aspect, the present application further provides a computer device, comprising: a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute a computer program stored in the memory;
the computer program is used for executing the data processing method based on the data transmission protocol of the ground measurement and control system.
In a sixth aspect, the present application further provides a computer-readable storage medium storing computer code, which when executed, performs the above data processing method based on the ground measurement and control system data transmission protocol.
The data processing method based on the data transmission protocol of the ground measurement and control system provided by the embodiment of the application comprises the following steps: identifying a protocol header part included in a data stream to be transmitted, and acquiring an information source address and an information category code in the data stream to be transmitted; analyzing the information category of the data stream to be sent according to the information source address and the information category code; matching a user-defined category code corresponding to the information category; generating a nested data stream of the data stream to be sent, wherein a user-defined class code is used as an information class code of a protocol header part included in the nested data stream, and the data stream to be sent is used as a data field part included in the nested data stream; and sending the nested data stream to a communication receiving end so that the communication receiving end restores the nested data stream according to the user-defined class code to obtain the data stream to be sent, and distributes the data stream to be sent to a corresponding equipment execution terminal. Therefore, on the basis of the original data stream to be sent, a protocol head part is coated, the information type code part in the protocol head part is a matched self-defined type code, and the whole original data stream to be sent is used as the data domain part of the nested data stream, so that the unified definition of the information type code in the data stream transmission process is realized, and the problem of data analysis errors is avoided. And moreover, data modification is not carried out on the data stream to be sent, so that new problems are avoided. The protocol header of the nested data stream is removed, and the equipment software can identify the originally self-defined information category without changing. And the technical problem that different organizations use the message category codes to define different information categories to cause data analysis errors of the task execution terminal in the prior art is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
fig. 1 is a flowchart of a data processing method based on a data transmission protocol of a ground measurement and control system according to an embodiment of the present application;
fig. 2 is a flowchart of another data processing method based on a data transmission protocol of a ground measurement and control system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a data processing apparatus based on a data transmission protocol of a ground measurement and control system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another data processing device based on a data transmission protocol of a ground measurement and control system according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all 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 application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. 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.
In this application, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meaning of these terms in this application will be understood by those of ordinary skill in the art as appropriate.
Furthermore, the terms "mounted", "disposed", "provided", "connected", "slidably connected", "fixed", should be understood in a broad sense. For example, "connected" may be a fixed connection, a detachable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In addition, the term "plurality" shall mean two as well as more than two.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In the related art, the recommended standard ground measurement and control system data transmission protocol comprises a protocol header and a data field. Wherein. There is a "message class code" field in the protocol header, which is used by organizations to define different information classes, with the risk of collisions and inconsistencies. For example, vendor a uses the "12345" information class code to represent antenna servo control commands, and vendor B also uses the "12345" information class code, but represents baseband status feedback messages. This causes a conflict, which results in the task execution end being unable to resolve, and may cause data parsing errors.
In order to solve the above problem, an embodiment of the present application provides a data processing method based on a data transmission protocol of a ground measurement and control system, where the method is applied to a communication sending end, and fig. 1 is a flowchart of the data processing method based on the data transmission protocol of the ground measurement and control system, and as shown in fig. 1, the method includes the following steps 100 to 500:
100, identifying a protocol header part included in a data stream to be transmitted, and acquiring an information source address and an information category code in the data stream to be transmitted.
The data flow to be sent belongs to the data flow of the data transmission protocol of the ground measurement and control system, and the structure of the data flow to be sent is shown in the following table:
TABLE 1 data flow structure of data transmission protocol of ground measurement and control system
Figure 402929DEST_PATH_IMAGE001
The part before the data field in table 1 may be referred to as a protocol header part, so that the protocol header part included in the data stream to be transmitted is identified based on the data transmission protocol of the ground measurement and control system, and the information source address and the information type code in the data stream to be transmitted can be acquired.
200, resolving the information category of the data stream to be transmitted according to the information source address and the information category code.
Specifically, different organizations define different information categories by using message category codes, so that the information category represented by the information category code corresponding to the information source address is determined according to the information source address, that is, the organization is determined according to the information source address, and the information category of the data stream to be transmitted is determined according to the information category code of the organization, for example, the information category may be real-time telemetry data or delayed telemetry data.
And 300, matching the user-defined category codes corresponding to the information categories.
Specifically, after the information category of the data stream to be sent is analyzed, a custom category code corresponding to the custom category code is matched in the database according to the information category, that is, each information category in the database corresponds to a custom category code, the custom category code in the database is artificially preset, or can be automatically generated by a definition rule according to the type of the information category, and the custom category code in the database can be shown in the following table:
TABLE 2 custom Category code
Figure 266979DEST_PATH_IMAGE002
400, generating a nested data stream of the data stream to be transmitted, wherein a user-defined class code is used as an information class code of a protocol header part included in the nested data stream, and the data stream to be transmitted is used as a data field part included in the nested data stream.
Specifically, after a user-defined type code corresponding to the information type of the data stream to be sent is matched, a nested data stream is generated, where the user-defined type code is used as the information type code of the protocol header portion included in the nested data stream, and the data stream to be sent is used as the data field portion included in the nested data stream. That is, on the basis of the original data stream to be transmitted, a protocol header part is coated, the information type code part in the protocol header part is a matched self-defined type code, and the whole original data stream to be transmitted is used as the data field part of the nested data stream.
500, sending the nested data stream to a communication receiving end, so that the communication receiving end restores the nested data stream according to the user-defined class code to obtain the data stream to be sent, and distributes the data stream to be sent to a corresponding device execution terminal.
Specifically, the nested data stream is sent to a communication receiving end, the communication receiving end analyzes the nested data stream, and further determines the information type corresponding to the user-defined type code, and then the data stream to be sent is distributed to a corresponding device execution terminal, so that the message type code is uniformly defined in the data stream transmission process, and the problem of data analysis errors is avoided. And moreover, data modification is not carried out on the data stream to be sent, so that new problems are avoided. The protocol header of the nested data stream is removed, and the equipment software can identify the originally self-defined information category without changing.
Optionally, in step 400, generating a nested data stream of the data stream to be transmitted further includes the following steps:
matching a user-defined unique identification code of the equipment execution terminal corresponding to the information type;
and taking the self-defined unique identification code as a reserved code of a protocol head part included in the nested data stream, so that the communication receiving terminal determines the equipment execution terminal according to the self-defined unique identification code.
Specifically, matching out the user-defined unique identification code of the device execution terminal corresponding to the information category specifically includes: and analyzing a data field part of the data stream to be sent, determining a user-defined unique identification code (ID) of the execution terminal of the equipment, and using the user-defined unique identification code as a reserved code of a protocol head part included in the nested data stream, wherein the user-defined unique identification code is positioned at a position of 4 characters of the reserved code. Therefore, after receiving the nested data stream, the communication receiving end analyzes the nested data stream, determines an equipment execution terminal executing the data stream to be sent, and further sends the data stream to be sent to the equipment execution terminal.
Optionally, in step 400, generating a nested data stream of the data stream to be transmitted includes the following steps:
and copying a protocol header part included by the nested data stream to generate the protocol header part included by the data stream to be sent, replacing the information category code with the self-defined category code, replacing the reserved code with the self-defined unique identification code, and updating the data field length data.
Because the data stream to be transmitted is used as the data field part of the nested data stream, the character length of the data field of the nested data stream is longer than the character length of the data field part of the data stream to be transmitted by 32 bytes, so that the data field length data in the protocol header part included in the nested data stream should be modified, and 32 data are added on the basis of the value of the original data field length data.
Optionally, the data processing method based on the data transmission protocol of the ground measurement and control system provided in the embodiment of the present application further includes:
receiving a data stream to be transmitted, which is transmitted by a local equipment terminal;
the generating the nested data stream of the data stream to be transmitted further includes: and replacing the source address code with the superior address code of the local equipment terminal.
Specifically, when the data stream to be transmitted is transmitted from the local device, the source address code in the data stream to be transmitted is the device identification code of the local device, and at this time, the superior address code of the local device is acquired, and the device identification code is replaced with the superior address code.
TABLE 3 matching relationship between test station and superior address code (Source Address code)
Figure 550193DEST_PATH_IMAGE003
The data processing method based on the data transmission protocol of the ground measurement and control system provided by the embodiment of the application comprises the following steps: identifying a protocol header part included in a data stream to be transmitted, and acquiring an information source address and an information category code in the data stream to be transmitted; analyzing the information category of the data stream to be sent according to the information source address and the information category code; matching a user-defined category code corresponding to the information category; generating a nested data stream of the data stream to be sent, wherein a user-defined class code is used as an information class code of a protocol header part included in the nested data stream, and the data stream to be sent is used as a data field part included in the nested data stream; and sending the nested data stream to a communication receiving end so that the communication receiving end restores the nested data stream according to the user-defined class code to obtain the data stream to be sent, and distributes the data stream to be sent to a corresponding equipment execution terminal. Therefore, on the basis of the original data stream to be sent, a protocol head part is coated, the information type code part in the protocol head part is a matched self-defined type code, and the whole original data stream to be sent is used as the data domain part of the nested data stream, so that the unified definition of the information type code in the data stream transmission process is realized, and the problem of data analysis errors is avoided. And moreover, data modification is not carried out on the data stream to be sent, so that new problems are avoided. The protocol header of the nested data stream is removed, and the equipment software can identify the originally self-defined information category without changing. And the technical problem that different organizations use the message category codes to define different information categories to cause data analysis errors of the task execution terminal in the prior art is solved.
Based on the same technical concept, the present application further provides a data processing method based on a data transmission protocol of a ground measurement and control system, the method is applied to a communication receiving end, fig. 2 is a flowchart of another data processing method based on a data transmission protocol of a ground measurement and control system according to an embodiment of the present application, and as shown in fig. 2, the method includes the following steps 600 to 800:
600, receiving a nested data stream sent by a communication sending end, wherein the communication sending end identifies a protocol head part included in a data stream to be sent, and acquires an information source address and an information category code in the data stream to be sent; analyzing the information category of the data stream to be sent according to the information source address and the information category code; matching a user-defined category code corresponding to the information category; generating a nested data stream of the data stream to be sent, wherein a user-defined class code is used as an information class code of a protocol header part included in the nested data stream, and the data stream to be sent is used as a data field part included in the nested data stream; the communication sending end sends the nested data stream;
700, restoring the nested data stream according to the user-defined class code to obtain the data stream to be sent;
800, the data stream to be sent is distributed to the corresponding device execution terminal.
Optionally, in step 800, before the distributing the data stream to be sent to the corresponding device execution terminal, the method further includes:
determining the equipment execution terminal according to the user-defined unique identification code, wherein the communication sending end matches the user-defined unique identification code of the equipment execution terminal corresponding to the information type; and taking the self-defined unique identification code as a reserved code of a protocol header part included in the nested data stream.
Based on the same technical concept, the present application further provides a data processing apparatus, where the apparatus is applied to a communication sending end, fig. 3 is a schematic structural diagram of the data processing apparatus based on a data transmission protocol of a ground measurement and control system provided in an embodiment of the present application, and as shown in fig. 3, the apparatus further includes:
the identification module 10 is configured to identify a protocol header portion included in a data stream to be sent, and acquire an information source address and an information type code in the data stream to be sent;
the analyzing module 20 is configured to analyze the information type of the data stream to be sent according to the information source address and the information type code;
a matching module 30, configured to match a custom category code corresponding to the information category;
a generating module 40, configured to generate a nested data stream of the data stream to be sent, where a user-defined class code is used as an information class code of a protocol header portion included in the nested data stream, and the data stream to be sent is used as a data field portion included in the nested data stream;
a sending module 50, configured to send the nested data stream to a communication receiving end, so that the communication receiving end restores the nested data stream according to the user-defined class code to obtain the data stream to be sent, and distributes the data stream to be sent to a corresponding device execution terminal.
Based on the same technical concept, the present application further provides a data processing apparatus based on a data transmission protocol of a ground measurement and control system, the apparatus is applied to a communication receiving end, fig. 4 is a schematic structural diagram of another data processing apparatus based on a data transmission protocol of a ground measurement and control system provided in the embodiment of the present application, and as shown in fig. 4, the apparatus includes:
a receiving module 60, configured to receive a nested data stream sent by a communication sending end, where the communication sending end identifies a protocol header portion included in a data stream to be sent, and obtains an information source address and an information type code in the data stream to be sent; analyzing the information category of the data stream to be sent according to the information source address and the information category code; matching a user-defined category code corresponding to the information category; generating a nested data stream of the data stream to be sent, wherein a user-defined class code is used as an information class code of a protocol header part included in the nested data stream, and the data stream to be sent is used as a data field part included in the nested data stream;
the restoring module 70 is configured to restore the nested data stream according to the user-defined class code to obtain the data stream to be sent;
a distributing module 80, configured to distribute the data stream to be sent to a corresponding device execution terminal.
Based on the same technical concept, the present application also provides a computer device, comprising: a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute a computer program stored in the memory;
the computer program is used for executing the processing method of the vehicle networking accident event.
Based on the same technical concept, the present application also provides a computer-readable storage medium storing computer code, which when executed, performs the processing method of the internet of vehicles accident event as described above.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the computer-readable storage medium described above may refer to the corresponding process in the foregoing method embodiments, and is not described herein again.
The computer program referred to in the present application may be stored in a computer-readable storage medium, which may include: any physical device capable of carrying computer program code, virtual device, flash disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only computer Memory (ROM), Random Access computer Memory (RAM), electrical carrier wave signal, telecommunications signal, and other software distribution media, and the like.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A data processing method based on ground measurement and control system data transmission protocol is characterized in that the method is applied to a communication sending end, and the method comprises the following steps:
identifying a protocol header part included in a data stream to be transmitted, and acquiring an information source address and an information category code in the data stream to be transmitted;
analyzing the information category of the data stream to be sent according to the information source address and the information category code;
matching a user-defined category code corresponding to the information category;
generating a nested data stream of the data stream to be sent, wherein a user-defined class code is used as an information class code of a protocol header part included in the nested data stream, and the data stream to be sent is used as a data field part included in the nested data stream;
and sending the nested data stream to a communication receiving end so that the communication receiving end restores the nested data stream according to the user-defined class code to obtain the data stream to be sent, and distributes the data stream to be sent to a corresponding equipment execution terminal.
2. The data processing method based on the ground measurement and control system data transmission protocol as claimed in claim 1, wherein the generating the nested data stream of the data stream to be transmitted further comprises:
matching a user-defined unique identification code of the equipment execution terminal corresponding to the information type;
and taking the self-defined unique identification code as a reserved code of a protocol head part included in the nested data stream, so that the communication receiving terminal determines the equipment execution terminal according to the self-defined unique identification code.
3. The data processing method based on the ground measurement and control system data transmission protocol as claimed in claim 2, wherein the generating the nested data stream of the data stream to be transmitted comprises:
and copying a protocol header part included by the nested data stream to generate the protocol header part included by the data stream to be sent, replacing the information category code with the self-defined category code, replacing the reserved code with the self-defined unique identification code, and updating data field length data.
4. The ground based measurement and control system data transmission protocol data processing method according to claim 3, further comprising:
receiving a data stream to be transmitted, which is transmitted by a local equipment terminal;
the generating the nested data stream of the data stream to be transmitted further includes: and replacing the source address code with the superior address code of the local equipment terminal.
5. A data processing method based on data transmission protocol of ground measurement and control system is characterized in that the method is applied to a communication receiving end, and the method comprises the following steps:
receiving a nested data stream sent by a communication sending end, wherein the communication sending end identifies a protocol head part included in a data stream to be sent, and acquires an information source address and an information category code in the data stream to be sent; analyzing the information category of the data stream to be sent according to the information source address and the information category code; matching a user-defined category code corresponding to the information category; generating a nested data stream of the data stream to be sent, wherein a user-defined class code is used as an information class code of a protocol header part included in the nested data stream, and the data stream to be sent is used as a data field part included in the nested data stream; the communication sending end sends the nested data stream;
restoring the nested data stream according to the user-defined class code to obtain the data stream to be sent;
and distributing the data stream to be sent to a corresponding device execution terminal.
6. The ground measurement and control system data transmission protocol-based data processing method according to claim 5, wherein before the data stream to be transmitted is distributed to the corresponding device execution terminal, the method further comprises:
determining the equipment execution terminal according to the customized unique identification code, wherein the communication sending end matches the customized unique identification code of the equipment execution terminal corresponding to the information type; and taking the self-defined unique identification code as a reserved code of a protocol header part included in the nested data stream.
7. A data processing device is applied to a communication sending end, and the device further comprises:
the identification module is used for identifying the protocol head part included in the data stream to be sent and acquiring the information source address and the information category code in the data stream to be sent;
the analysis module is used for analyzing the information category of the data stream to be sent according to the information source address and the information category code;
the matching module is used for matching the user-defined category codes corresponding to the information categories;
a generating module, configured to generate a nested data stream of the data stream to be sent, where a user-defined class code is used as an information class code of a protocol header portion included in the nested data stream, and the data stream to be sent is used as a data field portion included in the nested data stream;
and the sending module is used for sending the nested data stream to a communication receiving end so that the communication receiving end restores the nested data stream according to the user-defined class code to obtain the data stream to be sent and distributes the data stream to be sent to a corresponding equipment execution terminal.
8. The utility model provides a data processing apparatus based on ground measurement and control system data transmission agreement which characterized in that, the device is applied to the communication receiving terminal, and the device includes:
the receiving module is used for receiving the nested data stream sent by the communication sending end, wherein the communication sending end identifies a protocol head part included in the data stream to be sent, and acquires an information source address and an information category code in the data stream to be sent; analyzing the information category of the data stream to be sent according to the information source address and the information category code; matching a user-defined category code corresponding to the information category; generating a nested data stream of the data stream to be sent, wherein a user-defined class code is used as an information class code of a protocol header part included in the nested data stream, and the data stream to be sent is used as a data field part included in the nested data stream;
the restoring module is used for restoring the nested data stream according to the user-defined class code to obtain the data stream to be sent;
and the distribution module is used for distributing the data stream to be sent to the corresponding equipment execution terminal.
9. A computer device, comprising: a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute a computer program stored in the memory;
the computer program is used for executing the data processing method based on the ground measurement and control system data transmission protocol according to any one of claims 1 to 6.
10. A computer readable storage medium storing computer code which, when executed, performs a ground instrumentation system data transmission protocol based data processing method according to any one of claims 1 to 6.
CN202210000481.0A 2022-01-04 2022-01-04 Data processing method and device based on ground measurement and control system data transmission protocol Active CN114025031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210000481.0A CN114025031B (en) 2022-01-04 2022-01-04 Data processing method and device based on ground measurement and control system data transmission protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210000481.0A CN114025031B (en) 2022-01-04 2022-01-04 Data processing method and device based on ground measurement and control system data transmission protocol

Publications (2)

Publication Number Publication Date
CN114025031A CN114025031A (en) 2022-02-08
CN114025031B true CN114025031B (en) 2022-04-08

Family

ID=80069517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210000481.0A Active CN114025031B (en) 2022-01-04 2022-01-04 Data processing method and device based on ground measurement and control system data transmission protocol

Country Status (1)

Country Link
CN (1) CN114025031B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2006230217A1 (en) * 2005-03-30 2006-10-05 Welch Allyn, Inc. Communication of information between a plurality of network elements
WO2009000193A1 (en) * 2007-06-28 2008-12-31 Shenzhen Coship Electronics Co., Ltd. Method and device for transmitting and receiving digital television broadcasting data
CN108234499A (en) * 2018-01-08 2018-06-29 北京邮电大学 Security monitoring model based on safety label in satellite network
CN112003937A (en) * 2020-08-21 2020-11-27 西安寰宇卫星测控与数据应用有限公司 Satellite data transmission method, satellite data transmission device, computer equipment and storage medium
CN112087441A (en) * 2020-09-03 2020-12-15 郑州信大先进技术研究院 Multi-protocol communication method, intelligent home gateway and multi-protocol communication system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143035B (en) * 2010-06-04 2013-06-12 华为技术有限公司 Data traffic processing method, network device and network system
CN111327687B (en) * 2020-01-21 2023-02-21 卓米私人有限公司 Data transmission method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2006230217A1 (en) * 2005-03-30 2006-10-05 Welch Allyn, Inc. Communication of information between a plurality of network elements
WO2009000193A1 (en) * 2007-06-28 2008-12-31 Shenzhen Coship Electronics Co., Ltd. Method and device for transmitting and receiving digital television broadcasting data
CN108234499A (en) * 2018-01-08 2018-06-29 北京邮电大学 Security monitoring model based on safety label in satellite network
CN112003937A (en) * 2020-08-21 2020-11-27 西安寰宇卫星测控与数据应用有限公司 Satellite data transmission method, satellite data transmission device, computer equipment and storage medium
CN112087441A (en) * 2020-09-03 2020-12-15 郑州信大先进技术研究院 Multi-protocol communication method, intelligent home gateway and multi-protocol communication system

Also Published As

Publication number Publication date
CN114025031A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN109582588B (en) Test case generation method and device and electronic equipment
CN109117209B (en) Serialization and deserialization method and device
CN111371638A (en) Intelligent equipment testing method and device, server and storage medium
CN110247811A (en) A kind of alarm method and relevant apparatus of internet of things equipment
CN112217656B (en) Method and device for synchronizing configuration information of network equipment in SD-WAN (secure digital-to-Wide area network) system
CN107404481B (en) User information recognition methods and device
CN110351378A (en) A kind of control method and system of internet of things equipment
CN109388417B (en) Communication protocol updating method, system and terminal equipment
CN108365967A (en) Method, system, terminal and the computer readable storage medium of dynamic configuration communications parameter
CN108306804A (en) A kind of Ethercat main station controllers and its communication means and system
CN110688828A (en) File processing method and device, file processing system and computer equipment
CN112800095A (en) Data processing method, device, equipment and storage medium
CN112306881A (en) Simulation data generation method, device, equipment and storage medium
CN111552838A (en) Data processing method and device, computer equipment and storage medium
CN106714225A (en) Method and system for identifying network device and intelligent terminal
CN107193917A (en) Whole station CONFIG.SYS lossless data update method based on IID
CN111200523A (en) Middle station system configuration method, device, equipment and storage medium
CN115794641A (en) Method, device and equipment for making number based on business process and storage medium
CN111291443B (en) Automatic generation method, device and equipment for I/O module model of vehicle control unit software
CN105302556B (en) Realize the method and system and server unit calculated
CN113783860A (en) Message processing method, device and equipment based on visual configuration
CN114025031B (en) Data processing method and device based on ground measurement and control system data transmission protocol
CN110830455B (en) Equipment model description method
CN102075386B (en) Identification method and device
CN109976868A (en) DApp method for customizing, device and electronic equipment

Legal Events

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