CN110636016B - Data transmission method and system - Google Patents

Data transmission method and system Download PDF

Info

Publication number
CN110636016B
CN110636016B CN201910730141.1A CN201910730141A CN110636016B CN 110636016 B CN110636016 B CN 110636016B CN 201910730141 A CN201910730141 A CN 201910730141A CN 110636016 B CN110636016 B CN 110636016B
Authority
CN
China
Prior art keywords
data
original data
target
processing rule
original
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
CN201910730141.1A
Other languages
Chinese (zh)
Other versions
CN110636016A (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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN201910730141.1A priority Critical patent/CN110636016B/en
Publication of CN110636016A publication Critical patent/CN110636016A/en
Application granted granted Critical
Publication of CN110636016B publication Critical patent/CN110636016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing
    • 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

Abstract

The disclosure provides a data transmission method and a data transmission system, relates to the technical field of electronic information, and can solve the problem that when receiving data sent by a plurality of sending devices, a receiving device is low in efficiency when determining a data processing sequence. The specific technical scheme is as follows: the transmitting device obtains the attribute information of the original data to determine the processing rule corresponding to the original data, embeds the processing rule into the original data to generate target data, and transmits the target data to the receiving device. After the receiving device acquires the target data, the receiving device analyzes the target data, acquires a target processing rule corresponding to the original data in the target data according to the analysis result, and processes the original data when the preset condition is met according to the target processing rule. The present disclosure is for data transmission.

Description

Data transmission method and system
Technical Field
The disclosure relates to the technical field of electronic information, and in particular relates to a data transmission method and system.
Background
With the rapid development of technology, the application of data transmission is becoming wider, and especially the application of a transmitting end corresponding to multiple receiving ends is becoming wider. In the prior art, under the scene that one receiving end corresponds to a plurality of sending ends, the sequence of the data displayed by the receiving ends cannot be determined because the time for the plurality of sending ends to send the data is different and each transmission link has delay. The presentation refers to final output of the data after the device receives the data, and not only refers to outputting the data to a screen for display, but also refers to transmitting the data to a database or to a next-stage processing device and the like.
In the prior art, a special control device is arranged on each transmitting device to realize that after a plurality of transmitting ends transmit data to one receiving end, the sequence of the data displayed by the receiving device is controlled. However, because the control flow is complex and uncontrollable delay factors exist on the transmission link, the accuracy of controlling the processing sequence of the receiving end through the control flow is low; on the other hand, although the sequence of the data displayed by the receiving end can be ensured by processing the received data at the receiving end manually, the labor cost is high and the processing efficiency is low in a scene of large data volume.
Disclosure of Invention
The embodiment of the disclosure provides a data transmission method and a data transmission system, which can solve the problem that when receiving data sent by a plurality of sending devices, a receiving device is low in efficiency when determining a data processing sequence. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a data transmission method, applied to a transmitting device, the method including:
acquiring original data and attribute information corresponding to the original data;
determining a target processing rule matched with the original data according to the attribute information corresponding to the original data;
and generating target data according to the target processing rule and the original data.
In one embodiment, the target processing rules in the method include data processing order rules, and the method includes, in determining a target processing rule that matches the original data:
analyzing attribute information corresponding to the original data, determining the priority between the original data and first data according to an analysis result, wherein the first data is processed by first sending equipment;
and determining the data processing sequence rule matched with the original data according to the priority.
In one embodiment, the target processing rules in the method include data processing logic rules, and the method includes, in determining a target processing rule that matches the original data:
analyzing attribute information corresponding to the original data, and determining a correlation between the original data and first data according to an analysis result, wherein the correlation comprises a mutual exclusion relation or a dependency relation, and the first data is processed by first sending equipment;
based on the correlation, the data processing logic rules that match the original data are determined.
In one embodiment, the method generates target data after marking the raw data according to the target processing rule, comprising:
according to the target processing rule, searching the marking information corresponding to the target processing rule in a database, wherein the database comprises the corresponding relation between at least one processing rule and at least one marking information;
and embedding the marking information into the original data to generate target data.
According to a second aspect of embodiments of the present disclosure, there is provided a data transmission method, applied to a receiving device, including
Receiving target data, wherein the target data comprises original data and target processing rules matched with the original data;
and processing the original data according to the target processing rule.
In one embodiment, the method further comprises, prior to processing the raw data:
analyzing the target data, and acquiring the marking information matched with the original data according to the analysis result;
and according to the marking information, searching a target processing rule matched with the marking information in a database.
In one embodiment, the method processes the raw data according to the target processing rule, comprising:
determining corresponding preset conditions when processing the original data according to the target processing rule matched with the original data;
when the received data meets the preset condition, the original data is processed.
According to a third aspect of embodiments of the present disclosure, there is provided a data transmission system comprising: a transmitting device and a receiving device,
the transmitting device is connected with the receiving device;
the sending equipment is used for acquiring the original data and attribute information corresponding to the original data;
determining a target processing rule matched with the original data according to the attribute information corresponding to the original data;
generating target data according to the target processing rule and the original data, and sending the target data to receiving equipment;
the receiving device is used for receiving the target data, wherein the target data comprises original data and target processing rules matched with the original data;
and processing the original data according to the target processing rule.
In one embodiment, the transmitting device in the system is further configured to,
analyzing attribute information corresponding to the original data, determining the priority between the original data and first data according to an analysis result, wherein the first data is processed by first sending equipment;
and determining a target processing rule matched with the original data according to the priority.
In one embodiment, the receiving device in the system is further configured to,
determining corresponding preset conditions when processing the original data according to the target processing rule matched with the original data;
when the received data meets the preset condition, the original data is processed.
The data transmission system provided by the embodiment of the disclosure comprises a sending device and a receiving device, wherein the sending device determines a processing rule corresponding to original data by acquiring attribute information of the original data, embeds the processing rule into the original data to generate target data, and sends the target data to the receiving device. After the receiving device acquires the target data, the receiving device analyzes the target data, acquires a target processing rule corresponding to the original data in the target data according to the analysis result, and processes the original data when the preset condition is met according to the target processing rule.
The system provided by the disclosure not only achieves the purpose of transmitting the original data and processing rules, but also enables the receiving equipment to process the original data according to the processing rules, ensures the ordering and accuracy of the receiving equipment when processing the received data, improves the data processing efficiency, and particularly can avoid introducing complex synchronous or coordinated processes into the transmitting equipment under the scene that the randomness of the transmitted data contradicts the correlation of the displayed data, and can also replace the manual judgment of the receiving equipment on the data to be processed.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart 1 of a data transmission method provided in an embodiment of the present disclosure;
fig. 2 is a flowchart 2 of a data transmission method provided in an embodiment of the present disclosure;
fig. 3 is an interaction diagram of a data transmission method provided in an embodiment of the present disclosure;
fig. 4 is a block diagram of a data transmission system according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of systems and methods that are consistent with some aspects of the present disclosure, as detailed in the accompanying claims.
Example 1
An embodiment of the present disclosure provides a data transmission method, applied to a transmitting device, as shown in fig. 1, including the following steps:
101. and acquiring the original data and attribute information corresponding to the original data.
The attribute information of the original data may include attribute information of a transmitting device corresponding to the original data, type information of the original data, and logic information of the original data.
Further, the attribute information of the original data may include: data source information, data encryption information, and the like.
Further, the logical information of the original data may include priorities of sub-data in the original data and correlations between the sub-data, such as mutual exclusion between the first sub-data and the second sub-data.
For example, the priority of the sub-data in the original data may be that each data is displayed in sequence according to a preset rule according to the sequence of the data sequence numbers and the sequence of the Arabic numerals or English letters; the custom presentation logic may be set according to the actual needs of the user.
102. And determining a target processing rule matched with the original data according to the attribute information corresponding to the original data.
The target processing rules comprise data processing sequence rules and data processing logic rules which correspond to the original data when the original data is processed.
The method provided by the present disclosure may include, when determining a data processing rule matching the original data: determining the data processing rule matching the original data according to the priority of the original data or the interrelation between the first data corresponding to the original data may further include determining according to the encryption information of the original data, the information of the sending device corresponding to the original data, and the like, which are illustrated by two examples, and the disclosure is not limited thereto.
Example one: determining a corresponding data processing sequence rule when processing original data:
analyzing attribute information corresponding to the original data, and determining the priority of the original data according to an analysis result, wherein the priority comprises the following steps: priority between the original data and the first data, wherein the sending device corresponding to the first data may be identical to or different from the sending device corresponding to the original data;
and determining a target processing rule matched with the original data according to the priority of the original data, namely determining a data processing sequence rule of the receiving device when receiving the data.
The priority of the original data can be determined according to the sequence of Arabic numerals or English letters based on the sequence number of the data mark.
The processing rule corresponding to the original data is determined according to the priority between the original data and the first data, wherein the original data is the data A and the first data is the data B, the sending equipment corresponding to the data A is the target sending equipment, and the sending equipment corresponding to the data B is the first sending equipment.
When the sequence number corresponding to the data a is 1 and the sequence number corresponding to the data B is 2, the priority between the data a and the data B is set from small to large, and the priority of the data a is lower than that of the data B, so that the target processing rule corresponding to the data a can be to process the data B first and then process the data a.
Based on the above setting, when the target transmitting device transmits the data a to the receiving device, the receiving device needs to determine whether the data B transmitted by the first transmitting device is received or not according to the target processing rule when receiving the original data a, and can process the data a only after receiving and processing the data B.
In the process of processing and receiving data transmitted by a plurality of transmitting devices, the receiving device can finish data processing according to the preset processing rules only by acquiring the original data and the processing rules corresponding to the original data, thereby not only ensuring the order of data processing, but also improving the efficiency of data processing.
Example two: determining corresponding data processing logic rules when processing original data
Analyzing attribute information corresponding to the original data, and determining the interrelationship between the original data and the first data according to an analysis result, wherein the interrelationship comprises mutual exclusion relations between the data or dependency relations between the data;
and according to the relation information, determining a target processing rule matched with the original data, namely determining a data processing logic rule of the receiving equipment when receiving the data.
The two examples listed herein are set forth with respect to two different ones of the above interrelationships and are not meant to limit the present disclosure thereto.
Example one, the specific examples listed herein are illustrative: and determining a processing rule corresponding to the original data according to the mutual exclusion relation between the data.
If the original data is data D and the first data is data E, and the correlation between data D and data E is a mutual exclusion relationship, the corresponding target processing rule may be that if data E is received, data D is not processed.
Based on the target processing rule, when the receiving device receives the data D, the receiving device first determines whether the data E has been received, if the data E is received, the data D is not processed, and if the data E is not received, the data D is processed.
Second, specific examples are listed here for explanation: and determining a processing rule corresponding to the original data according to the dependency relationship between the data.
The original data is data a and the first data is data B, and the data a depends on the data B, and the target processing rule corresponding to the data a may be to process the data B first and then process the data a.
Based on the target processing rule, when receiving the data A, the receiving equipment firstly judges whether the data B is received or not, and if the data B is received, the receiving equipment processes the data A; if data B is not received, data A is not processed.
In the practical application of the above example, the data a may be coordinate data, the data B is map data, and after receiving the coordinate data of the data a, the receiving device only performs buffering without output display until receiving the map data of the data B, and then combines the coordinate and the map data and uniformly outputs and displays the combined coordinate and map data.
In the process of processing and receiving data sent by a plurality of sending devices, the receiving devices can finish data processing according to the preset processing rules only by acquiring the original data and the processing rules corresponding to the original data, thereby ensuring the order and the accuracy when the plurality of sending devices transmit the data to the receiving devices, and improving the efficiency of data processing without special control and coordination between the plurality of sending devices and the plurality of receiving devices.
103. And generating target data according to the target processing rule and the original data.
In the method provided by the present disclosure, generating target data according to the target process and the raw data includes:
according to the target processing rule, searching the marking information corresponding to the target processing rule in a database, wherein the database is used for indicating the corresponding relation between at least one rule and at least one marking information; the database data is sent to the receiving equipment in advance, so that the receiving equipment can acquire the processing rule corresponding to the marking information in the data according to the marking information when analyzing the marking information.
And embedding the marking information into the original data to generate target data.
Furthermore, the above-mentioned embedding of the tag information into the original data may embed the tag information into the original data header, the original data tail, or the original data middle section, or may alternatively insert the tag information into the field of the original data according to a preset placement rule. For example, a header field is added to the original data, and the header field contains first control information.
Specific examples are set forth herein:
for example, three processing rules are included in the database: the A processing rule is as follows: sequentially processing the data according to the identification serial numbers corresponding to the data, wherein the identification information corresponding to the A processing rule is 0001; the processing rule B is as follows: for the data with the same serial number, only the earliest received data is processed, and the corresponding identification information is 0002.
Analyzing attribute information corresponding to the original data, determining that the processing rule corresponding to the original data is an A processing rule, and embedding the A identification information into the original data to generate target data.
After the original data is embedded into the marking information to generate the target data, the target data is transmitted to the receiving equipment, so that the purposes of transmitting the original data and the data processing rules to the receiving equipment can be realized, the resources for data transmission are saved, and the data processing efficiency is improved.
Further, the identification information may further include an application scenario corresponding to the processing rule, where the application scenario may include: modifying data, deleting data, merging data and the like, thereby further defining the data processing rule and improving the data processing efficiency.
Specific examples are set forth herein: the identification information may be 1 byte, the first 4 bits are identifiers corresponding to the processing rule, and the last four bits are identifiers corresponding to the application scene.
The application scene A is deleted data, and the identifier corresponding to the application scene A is 0001; the application scene B is display data, and the corresponding identifier is 0002; the A processing rule is as follows: processing the data according to the serial number corresponding to the data, wherein the corresponding identification information is 0001; the processing rule B is as follows: for the data with the same serial number, only the earliest received data is processed, and the corresponding identification information is 0002. According to the preset rule, the processing rule A in the application scene A sequentially deletes the data according to the sequence number sequence corresponding to the data, and the marking information can be: 00010001; and B processing rules in the application scene are used for deleting the data sequentially according to the earliest received data, and the marking information can be: 00010010; the processing rule A in the application scene B is that the data are sequentially displayed according to the sequence number sequence corresponding to the data, and the marking information can be: 00100001; the processing rule B in the application scene B is that the data are deleted in sequence according to the earliest received data, and the marking information can be: 00100010.
analyzing attribute information corresponding to the original data, determining that a processing rule corresponding to the original data is an A processing rule in a B application scene, and if identification information corresponding to the A processing rule in the B application scene is 00100001, embedding the identification information 00100001 into the original data to generate target data.
When the original data includes a plurality of sub-data, the method provided by the present disclosure may first determine a target processing rule corresponding to each sub-data, and then embed the target processing rule corresponding to the sub-data packet into each corresponding sub-data, or may also embed the target processing rule into a certain sub-data.
For example, when the original data is a data frame, and the data frame includes a plurality of macro blocks, the target processing rule corresponding to the macro block may be embedded in the idle field of the packet header of each macro block, or the target processing rule and the target mapping corresponding to each macro block may be embedded in the idle field of the packet header of the data packet of the target macro block, where the target mapping is a correspondence between the target processing rule and the macro block, and the target macro block may be the macro block received by the receiving device first according to the target processing rule.
The data transmission method provided by the embodiment of the disclosure is applied to a transmitting device, the transmitting device determines a processing rule corresponding to original data by acquiring attribute information of the original data, then embeds the processing rule into the original data to generate target data, and transmits the target data to a receiving device. The method provided by the disclosure not only achieves the purpose of transmitting the original data and processing rules, but also enables the receiving device to process the original data according to the processing rules, ensures the ordering and accuracy of the receiving device when processing the received data, improves the data processing efficiency, and can avoid introducing complex synchronous or coordinated processes in the transmitting device especially in the scene that the randomness of the transmitted data contradicts the correlation of the displayed data.
Example two
Based on the data transmission method provided in the foregoing embodiment corresponding to fig. 1, another embodiment of the present disclosure provides a data transmission method, where the method may be applied to a transmitting device, for example, the transmitting device may be a terminal device or a network server, and the disclosure is not limited thereto. Referring to fig. 2, the data transmission method provided in this embodiment includes the following steps:
201. target data is received, wherein the target data comprises original data and target processing rules matched with the original data.
The method provided by the disclosure further includes analyzing the target data, and obtaining target processing rules matched with the original data according to analysis results.
The method for acquiring the target processing rule matched with the original data comprises the following steps:
analyzing the original data, and acquiring the marking information matched with the original data according to the analysis result;
and according to the marking information, searching a target processing rule matched with the marking information in a database.
Specific examples are set forth herein: after receiving the target data, the target data acquisition data a and the identification information 00100001 corresponding to the data a are analyzed. According to the identification information 00100001, the database is searched, and the processing rules corresponding to the identification information 00100001 are obtained to display the data sequentially according to the marking sequence corresponding to the data, so that the target processing rules corresponding to the data A can be determined to display the data sequentially according to the sequence number corresponding to the data.
Further, the data sequence number in the processing rule may be identified from the data, or may be obtained from attribute information of the data.
202. And processing the original data according to the target processing rule.
The method provided by the present disclosure may include, when processing the raw data according to the target processing rule:
determining and processing the corresponding preset condition of the original data according to the target processing rule matched with the original data;
when the received data satisfies the precondition, the original data is processed.
The preset condition corresponding to the original data may be set according to attribute information of the original data, for example, whether the received data has data related to the original data or has a higher priority than the original data is judged.
Taking the preset condition as an example of processing the original data when it is determined that the first data has been received, it is explained how to process the original data according to the target processing rule:
when receiving the target data, analyzing the target data to obtain the original data: and determining that the preset condition corresponding to the processing data A is that the first data is received according to the target processing rule, wherein the first data is the data B, so that whether the data B exists in the received data or not needs to be judged, and when the data B exists in the received data, namely, the received data is determined to meet the preset condition, the data A can be processed.
Processing the original data according to the target processing rule further comprises processing the original data such as modifying the data, deleting the data, merging the data and the like.
The data transmission method provided by the embodiment of the disclosure is applied to receiving equipment, after the receiving equipment acquires target data, the target data is analyzed, a target processing rule corresponding to original data in the target data is acquired according to an analysis result, and then the original data is processed when a preset condition is met according to the target processing rule. By the method, when the data transmitted by the plurality of transmitting devices are acquired, the data can be sequentially processed according to the processing sequence corresponding to the target processing rule, the condition that the data processing sequence is determined by manual processing or control equipment when the data is received by the receiving device is avoided, and the efficiency and the accuracy of data processing are improved.
Example III
Based on the data transmission method described in the above-described embodiments corresponding to fig. 1 and 2, another embodiment of the present disclosure provides a data transmission method, which may be applied to a transmitting device and a receiving device, for example, the transmitting device may be a terminal device or a network server, and the receiving device may also be a terminal device or a network server, and the like. The transmitting apparatus here includes: the target transmitting apparatus and the first transmitting apparatus are illustrated as examples, and do not represent the limitation of the present disclosure. Referring to fig. 3, the data transmission method provided in this embodiment includes the following steps:
301. the target sending equipment acquires the original data and a target processing rule corresponding to the original data.
The target processing rule is determined according to attribute information of the original data, and the attribute information can comprise priority corresponding to the original data, secret information of the original data, correlations between the original data and other data and the like.
Specific examples are set forth herein with reference to target processing rules based on a priority between the raw data and the first data.
When the priority of the original data is higher than that of the first data, setting a target processing rule corresponding to the original data as follows: when the original data and the first data have been acquired, the original data is processed before the first data.
302. The first sending equipment acquires first data and a first processing rule corresponding to the first data.
The first processing rule corresponds to a target processing rule, which is further illustrated herein based on the above example:
because the first processing rule is determined according to the priority between the original data and the first data, the first processing rule corresponding to the first data is as follows: before processing the first data, whether the original data is received is judged, and the original data is processed before the first data is processed.
303. The target sending device embeds the target processing rule into the original data to generate first target data and sends the first target data to the receiving device.
The target sending device embeds the target processing rule into the original data to generate first target data, and the first target data can be generated by determining the mark information corresponding to the target processing rule and embedding the mark information into the original data.
304. The first sending device embeds the first processing rule into the first data to generate second target data, and sends the second target data to the receiving device.
305. The receiving device receives the first target data and the second target data.
After receiving the first target data, the receiving equipment analyzes the first target data and acquires the original data and a target processing rule corresponding to the original data according to an analysis result;
after receiving the second target data, the receiving equipment analyzes the second target data, and obtains the first data and the first processing rule corresponding to the first data according to the analysis result.
Based on the above example: the target processing rules may be: when the original data and the first data are acquired, the original data are processed first and then the first data are processed;
the first processing rule may be: before processing the first data, whether the original data is received is judged, and the original data is processed before the first data is processed.
306. The receiving device processes the target data according to the target processing rule and the first processing rule processes the first data.
Based on the above example: processing target data according to a target processing rule, and processing first data according to a first processing rule, namely when the original data and the first data are acquired, processing the original data and then processing the first data; or when the first data is acquired first, the first data needs to be processed after the original data is received.
In a specific embodiment, when the receiving device has acquired the original data and the first data, the receiving device outputs the target data to the display device and then outputs the first data to the display device, so that the order and the accuracy of the receiving device in data processing are realized.
The data transmission method provided by the embodiment of the disclosure comprises a sending device and a receiving device, wherein the sending device determines a processing rule corresponding to original data by acquiring attribute information of the original data, embeds the processing rule into the original data to generate target data, and sends the target data to the receiving device. After the receiving device acquires the target data, the receiving device analyzes the target data, acquires a target processing rule corresponding to the original data in the target data according to the analysis result, and processes the original data when the preset condition is met according to the target processing rule.
The method provided by the disclosure not only achieves the purpose of transmitting the original data and processing rules, but also enables the receiving equipment to process the original data according to the processing rules, ensures the ordering and accuracy of the receiving equipment when processing the received data, improves the data processing efficiency, and particularly can avoid introducing complex synchronous or coordinated processes into the transmitting equipment under the scene that the randomness of the transmitted data contradicts the correlation of the displayed data, and can also replace the manual judgment of the receiving equipment on the data to be processed.
Example IV
Based on the data transmission method described in the foregoing corresponding embodiments of fig. 1 and fig. 2, the following is an embodiment of the system of the present disclosure, which may be used to execute an embodiment of the method of the present disclosure.
The disclosed embodiment provides a data transmission system, as shown in fig. 4, the data transmission system 40 includes:
the transmitting device 401 and the receiving device 402 are connected, wherein the connection method can be wired connection or wireless connection.
The sending device 401 is configured to obtain the original data and attribute information corresponding to the original data.
Determining a target processing rule matched with the original data according to the attribute information corresponding to the original data;
generating target data according to the target processing rule and the original data, and transmitting the target data to the receiving device 402;
in an alternative embodiment, the transmitting device 401 is further configured to,
analyzing attribute information corresponding to the original data, and determining priority between the original data and first data according to an analysis result, wherein the first data is processed by a first sending device 403;
and determining a target processing rule matched with the original data according to the priority.
The receiving device 402 is configured to receive the target data, where the target data includes original data and a target processing rule matched with the original data;
and processing the original data according to the target processing rule.
In an alternative embodiment, the receiving device 402 is further configured to,
determining corresponding preset conditions when processing the original data according to the target processing rule matched with the original data;
when the received data meets the preset condition, the original data is processed.
The data transmission system provided by the embodiment of the disclosure comprises a sending device and a receiving device, wherein the sending device determines a processing rule corresponding to original data by acquiring attribute information of the original data, embeds the processing rule into the original data to generate target data, and sends the target data to the receiving device. After the receiving device acquires the target data, the receiving device analyzes the target data, acquires a target processing rule corresponding to the original data in the target data according to the analysis result, and processes the original data when the preset condition is met according to the target processing rule.
The system provided by the disclosure not only achieves the purpose of transmitting the original data and processing rules, but also enables the receiving equipment to process the original data according to the processing rules, ensures the ordering and accuracy of the receiving equipment when processing the received data, improves the data processing efficiency, and particularly can avoid introducing complex synchronous or coordinated processes into the transmitting equipment under the scene that the randomness of the transmitted data contradicts the correlation of the displayed data, and can also replace the manual judgment of the receiving equipment on the data to be processed.
Based on the data transmission method described in the above embodiments corresponding to fig. 1 and 2, the embodiments of the present disclosure further provide a computer readable storage medium, for example, a non-transitory computer readable storage medium may be a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the data transmission method described in the corresponding embodiment of fig. 1 and fig. 2, which are not described herein.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (7)

1. A data transmission method applied to a target transmitting apparatus, the method comprising:
acquiring original data and attribute information corresponding to the original data;
determining a target processing rule matched with the original data according to the attribute information corresponding to the original data;
according to the target processing rule, searching the marking information corresponding to the target processing rule in a database, wherein the database comprises the corresponding relation between at least one processing rule and at least one marking information;
after the marking information is embedded into the original data, generating target data, wherein the marking information also comprises an application scene corresponding to the processing rule, and the application scene comprises: modifying data, deleting data and merging data;
the target processing rule includes a data processing logic rule, and the determining the target processing rule matched with the original data includes:
analyzing attribute information corresponding to the original data, determining a correlation between the original data and first data according to an analysis result, wherein the correlation comprises a mutual exclusion relation or a dependency relation, and the first data is processed by first sending equipment;
and determining the data processing logic rule matched with the original data according to the interrelationship.
2. The method of claim 1, wherein the target processing rule comprises a data processing order rule, and wherein the determining the target processing rule that matches the original data comprises:
analyzing attribute information corresponding to the original data, and determining the priority between the original data and first data according to an analysis result, wherein the first data is processed by first sending equipment;
and determining the data processing sequence rule matched with the original data according to the priority.
3. A data transmission method, applied to a receiving device, the method comprising:
receiving target data, wherein the target data comprises original data and target processing rules matched with the original data, the target processing rules are determined according to interrelationships between attribute information corresponding to the original data and first data, the interrelationships comprise mutual exclusion relations or dependency relations, and the first data are processed by first sending equipment;
analyzing the target data, and acquiring the marking information matched with the original data according to an analysis result;
according to the marking information, searching a target processing rule matched with the marking information in a database; the marking information further comprises an application scene corresponding to the processing rule, and the application scene comprises: modifying data, deleting data and merging data;
and processing the original data according to the target processing rule.
4. A method according to claim 3, wherein said processing said raw data according to said target processing rules comprises:
determining corresponding preset conditions when processing the original data according to the target processing rules matched with the original data;
and when the received data meets the preset conditions, processing the original data.
5. A data transmission system, the system comprising: a transmitting device and a receiving device,
the transmitting device is connected with the receiving device;
the sending equipment is used for acquiring original data and attribute information corresponding to the original data;
determining a target processing rule matched with the original data according to the attribute information corresponding to the original data;
according to the target processing rule, searching the marking information corresponding to the target processing rule in a database, wherein the database comprises the corresponding relation between at least one processing rule and at least one marking information; after embedding the marking information into the original data, generating target data and sending the target data to receiving equipment; the marking information further comprises an application scene corresponding to the processing rule, and the application scene comprises: modifying data, deleting data and merging data;
the target processing rule comprises a data processing logic rule, and the sending device is specifically configured to:
analyzing attribute information corresponding to the original data, determining a correlation between the original data and first data according to an analysis result, wherein the correlation comprises a mutual exclusion relation or a dependency relation, and the first data is processed by first sending equipment;
the receiving device is configured to receive the target data, where the target data includes original data and a target processing rule matched with the original data, the target processing rule is determined according to a correlation between attribute information corresponding to the original data and first data, the correlation includes a mutual exclusion relationship or a dependency relationship, and the first data is processed by the first sending device;
and processing the original data according to the target processing rule.
6. The system of claim 5, wherein the transmitting device is further configured to,
analyzing attribute information corresponding to the original data, and determining the priority between the original data and first data according to an analysis result, wherein the first data is processed by first sending equipment;
and determining a target processing rule matched with the original data according to the priority.
7. The system of claim 5, wherein the receiving device is further configured to,
determining corresponding preset conditions when processing the original data according to the target processing rules matched with the original data;
and when the received data meets the preset conditions, processing the original data.
CN201910730141.1A 2019-08-08 2019-08-08 Data transmission method and system Active CN110636016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910730141.1A CN110636016B (en) 2019-08-08 2019-08-08 Data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910730141.1A CN110636016B (en) 2019-08-08 2019-08-08 Data transmission method and system

Publications (2)

Publication Number Publication Date
CN110636016A CN110636016A (en) 2019-12-31
CN110636016B true CN110636016B (en) 2023-09-29

Family

ID=68969644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910730141.1A Active CN110636016B (en) 2019-08-08 2019-08-08 Data transmission method and system

Country Status (1)

Country Link
CN (1) CN110636016B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913490A (en) * 2006-08-04 2007-02-14 北京方正奥德计算机系统有限公司 Data route distribution method
CN101112069A (en) * 2005-01-28 2008-01-23 夏普株式会社 Communication device, communication system, communication method, communication program, and communication circuit
CN104216888A (en) * 2013-05-30 2014-12-17 中国电信股份有限公司 Data processing task relation setting method and system
CN105072050A (en) * 2015-08-26 2015-11-18 联想(北京)有限公司 Data transmission method and data transmission device
CN105187440A (en) * 2015-09-26 2015-12-23 北京暴风科技股份有限公司 Method and system for transmitting video data by using UDP protocol
CN105335389A (en) * 2014-07-09 2016-02-17 阿里巴巴集团控股有限公司 Business visualization method and system
CN105681286A (en) * 2015-12-31 2016-06-15 中电长城网际系统应用有限公司 Association analysis method and association analysis system
CN108347477A (en) * 2018-01-24 2018-07-31 广东欧珀移动通信有限公司 Data transmission method for uplink, device and server
WO2018202440A1 (en) * 2017-05-03 2018-11-08 Siemens Aktiengesellschaft Data transmission method and apparatus
CN108924109A (en) * 2018-06-21 2018-11-30 北京旷视科技有限公司 Data transmission method, device and processing equipment
CN109033483A (en) * 2017-06-12 2018-12-18 中兴通讯股份有限公司 A kind of method, apparatus and system defining data relationship in YANG model
EP3451627A1 (en) * 2017-08-29 2019-03-06 eperi GmbH Gateway computer system with intermediate data processing according to rules that are specified by templates
CN109547363A (en) * 2018-11-13 2019-03-29 中广核核电运营有限公司 Data transmission method, device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10051002B2 (en) * 2015-08-28 2018-08-14 Nicira, Inc. Distributed VPN gateway for processing remote device management attribute based rules

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101112069A (en) * 2005-01-28 2008-01-23 夏普株式会社 Communication device, communication system, communication method, communication program, and communication circuit
CN1913490A (en) * 2006-08-04 2007-02-14 北京方正奥德计算机系统有限公司 Data route distribution method
CN104216888A (en) * 2013-05-30 2014-12-17 中国电信股份有限公司 Data processing task relation setting method and system
CN105335389A (en) * 2014-07-09 2016-02-17 阿里巴巴集团控股有限公司 Business visualization method and system
CN105072050A (en) * 2015-08-26 2015-11-18 联想(北京)有限公司 Data transmission method and data transmission device
CN105187440A (en) * 2015-09-26 2015-12-23 北京暴风科技股份有限公司 Method and system for transmitting video data by using UDP protocol
CN105681286A (en) * 2015-12-31 2016-06-15 中电长城网际系统应用有限公司 Association analysis method and association analysis system
WO2018202440A1 (en) * 2017-05-03 2018-11-08 Siemens Aktiengesellschaft Data transmission method and apparatus
CN109033483A (en) * 2017-06-12 2018-12-18 中兴通讯股份有限公司 A kind of method, apparatus and system defining data relationship in YANG model
EP3451627A1 (en) * 2017-08-29 2019-03-06 eperi GmbH Gateway computer system with intermediate data processing according to rules that are specified by templates
CN108347477A (en) * 2018-01-24 2018-07-31 广东欧珀移动通信有限公司 Data transmission method for uplink, device and server
CN108924109A (en) * 2018-06-21 2018-11-30 北京旷视科技有限公司 Data transmission method, device and processing equipment
CN109547363A (en) * 2018-11-13 2019-03-29 中广核核电运营有限公司 Data transmission method, device, computer equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Zhishuo Liu ; Yao Dongxin ; Zhao Kuan ; Wang Chun Fang.Research on map matching algorithm based on priority rule for low sampling frequency vehicle navigation data.International Journal of Crowd Science.2019,全文. *
包铁 ; 刘淑芬 ; .基于业务规则的电信网络数据处理框架.计算机应用研究.2006,(12),全文. *
罗玎玎,赵海.一个嵌入式RTOS中TCP相关任务的互斥问题.计算机工程.2005,全文. *

Also Published As

Publication number Publication date
CN110636016A (en) 2019-12-31

Similar Documents

Publication Publication Date Title
US10380748B2 (en) Method and apparatus for determining to-be-superimposed area of image, superimposing image and presenting picture
KR102002024B1 (en) Method for processing labeling of object and object management server
CN111259663B (en) Information processing method and device
CN109947989B (en) Method and apparatus for processing video
RU2012101599A (en) PROVIDING AN INDIVIDUALLY ADAPTED APPLICATION TO THE USER TERMINAL
CN110377440B (en) Information processing method and device
CN110084317B (en) Method and device for recognizing images
CN104238819A (en) Detection method and system for display screen state in mobile terminal
CN113114608B (en) Point cloud data packaging method and transmission method
CN111950003A (en) Method and device for generating unique identification information of user equipment and electronic equipment
EP3410686B1 (en) Image processing device, image processing method, and program
JP6405370B2 (en) Method for mining information template, apparatus, program, and recording medium
CN110636016B (en) Data transmission method and system
CN107317821A (en) A kind of transmission method of view data, apparatus and system
CN113297422A (en) Data processing method, data processing apparatus, electronic device, medium, and program product
CN110149358B (en) Data transmission method, system and device
CN107529190B (en) User data acquisition system and method
CN113537931A (en) Electronic seal generation method and device and electronic seal verification method and device
CN111045766B (en) Method and device for outputting prompt information based on command line interface
CN109086210B (en) Navigation information method and device for testing navigation application
CN114285575A (en) Image encryption and decryption method and device, storage medium and electronic device
CN106775960A (en) A kind of unique marker method and system to Windows processes
JP2002259216A (en) Method for detecting electronic file alteration, method for describing electronic file for the same and communication equipment
CN117036127B (en) Educational resource sharing method based on educational big data platform
CN111757178B (en) Video generation method and device, electronic equipment and computer readable medium

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