CN110636016A - Data transmission method and system - Google Patents

Data transmission method and system Download PDF

Info

Publication number
CN110636016A
CN110636016A CN201910730141.1A CN201910730141A CN110636016A CN 110636016 A CN110636016 A CN 110636016A CN 201910730141 A CN201910730141 A CN 201910730141A CN 110636016 A CN110636016 A CN 110636016A
Authority
CN
China
Prior art keywords
data
target
original data
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.)
Granted
Application number
CN201910730141.1A
Other languages
Chinese (zh)
Other versions
CN110636016B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides a data transmission method and system, which relates to the technical field of electronic information and can solve the problem of low efficiency when a receiving device determines a data processing sequence when receiving data sent by a plurality of sending devices. The specific technical scheme is as follows: the sending equipment determines a processing rule corresponding to the original data by acquiring the 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 equipment. The receiving equipment analyzes the target data after acquiring the target data, acquires a target processing rule corresponding to the original data in the target data according to an analysis result, and processes the original data when a 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 present disclosure relates to the field of electronic information technologies, and in particular, to a data transmission method and system.
Background
With the rapid development of science and technology, the application of data transmission is becoming more and more extensive, and especially the application of one transmitting end corresponding to a plurality of receiving ends is becoming more and more extensive. In the prior art, in a scenario where one receiving end corresponds to multiple transmitting ends, due to differences in data transmission time of the multiple transmitting ends and delay of each transmission link, the sequence in which the receiving end displays data cannot be determined. The presentation refers to the 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.
In the prior art, a special control device is arranged in each sending device, so that after a plurality of sending terminals send data to one receiving terminal, the receiving device is controlled to display the sequence of the data. However, the accuracy of controlling the processing sequence of the receiving end by the control flow is low because the control flow is complex and uncontrollable delay factors exist on a transmission link; on the other hand, although the received data can be manually processed at the receiving end to ensure the sequence of the data displayed by the receiving end, in a scene with a large data volume, not only is the labor cost high, but also the processing efficiency is low.
Disclosure of Invention
The embodiment of the disclosure provides a data transmission method and a data transmission system, which can solve the problem of low efficiency when a receiving device determines a data processing sequence when receiving data sent by a plurality of sending devices. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a data transmission method applied to a sending 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 method wherein the target processing rule comprises a data processing order rule, the method in determining the target processing rule matching 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.
In one embodiment, the target processing rule in the method comprises a data processing logic rule, and the method comprises, in determining the target processing rule matching the original data:
analyzing attribute information corresponding to the original data, and determining a mutual relation between the original data and first data according to an analysis result, wherein the mutual relation 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 correlation.
In one embodiment, the method generates target data after marking the raw data according to the target processing rule, including:
according to the target processing rule, the marking information corresponding to the target processing rule is found in a database, wherein the database comprises a corresponding relation between at least one processing rule and at least one marking information;
after the mark information is embedded into the original data, target data is generated.
According to a second aspect of the 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 a target processing rule 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 mark information matched with the original data according to an analysis result;
and searching a target processing rule matched with the marking information in a database according to the marking information.
In one embodiment, the method processes the raw data according to the target processing rule, including:
determining a corresponding preset condition when the original data is processed according to a target processing rule matched with the original data;
and processing the original data when the received data meets the preset condition.
According to a third aspect of the embodiments of the present disclosure, there is provided a data transmission system including: a sending device and a receiving device,
the sending equipment is connected with the receiving equipment;
the sending device 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;
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, and the target data comprises original data and a target processing rule matched with the original data;
and processing the original data according to the target processing rule.
The transmitting device in the system, in one embodiment, 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.
The receiving device in the system, in one embodiment, is further configured to,
determining a corresponding preset condition when the original data is processed according to a target processing rule matched with the original data;
and processing the original data when the received data meets the preset condition.
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. The receiving equipment analyzes the target data after acquiring the target data, acquires a target processing rule corresponding to the original data in the target data according to an analysis result, and processes the original data when a 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 the processing rule, but also enables the receiving device to process the original data according to the processing rule, ensures the orderliness and the accuracy of the receiving device when processing the received data, improves the data processing efficiency, and particularly can avoid introducing a complex synchronization or coordination flow in the transmitting device and replace the receiving device to manually judge the data to be processed under the scene that the randomness of the transmitted data and the correlation of the displayed data are contradictory.
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 present 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 by an embodiment of the present disclosure;
fig. 2 is a flowchart 2 of a data transmission method provided by an embodiment of the present disclosure;
fig. 3 is an interaction diagram of a data transmission method provided by an embodiment of the present disclosure;
fig. 4 is a structural diagram of a data transmission system according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of systems and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Example one
The embodiment of the present disclosure provides a data transmission method, which is applied to a sending device, and as shown in fig. 1, the data transmission method includes the following steps:
101. and acquiring original data and attribute information corresponding to the original data.
The above-mentioned attribute information of the original data may include attribute information of a transmitting device to which the original data corresponds, 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 logic information of the original data may include a priority of the sub-data in the original data and a correlation between the sub-data, such as a mutual exclusion relationship between the first sub-data and the second sub-data.
For example, the priority of the subdata in the original data may be that each data is sequentially displayed according to the data sequence number, the sequence of the arabic numerals or the english letters, and the preset rule; the customized presentation logic can 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 rule comprises a data processing sequence rule and a data processing logic rule corresponding to the original data.
When determining the data processing rule matched with the original data, the method provided by the present disclosure may include: the determining of the data processing rule matching the original data according to the priority of the original data or the correlation between the first data corresponding to the original data may further include determining according to information such as encryption information of the original data and information of the sending device corresponding to the original data, which are described by way of two examples, and the disclosure is not limited thereto.
Example one: determining a corresponding data processing sequence rule when the original data is processed:
analyzing the attribute information corresponding to the original data, and determining the priority of the original data according to the analysis result, wherein the priority comprises: priority between the original data and the first data, wherein the sending device corresponding to the first data may be the same as or different from the sending device corresponding to the original data;
according to the priority of the original data, a target processing rule matched with the original data is determined, namely a data processing sequence rule when the receiving device receives the data is determined.
The priority of the original data can be determined according to the sequence number of the data marks and the sequence of Arabic numbers or English letters.
Taking the original data as data a and the first data as data B, wherein the sending device corresponding to the data a is the target sending device, and the sending device corresponding to the data B is the first sending device, as an example, a processing rule corresponding to the original data is determined according to the priority between the original data and the first data.
When the serial number corresponding to the data a is 1 and the serial number corresponding to the data B is 2, the priority between the data a and the data B is set from small to large according to the serial numbers, and the priority of the data a is lower than that of the data B, so the target processing rule corresponding to the data a may be that the data B is processed first and then the data a is processed.
Based on the above setting, when the target sending device sends data a to the receiving device, and the receiving device receives the original data a, it needs to determine whether to receive data B sent by the first sending device according to the target processing rule, and only after receiving and processing data B, can process data a.
In the process of processing and receiving the data sent by the plurality of sending devices, the receiving device can complete data processing according to the preset processing rule only by acquiring the original data and the processing rule corresponding to the original data, so that the order of data processing is ensured, and the efficiency of data processing is also improved.
Example two: determining corresponding data processing logic rules when processing raw data
Analyzing attribute information corresponding to the original data, and determining the correlation between the original data and the first data according to the analysis result, wherein the correlation comprises a mutual exclusion relationship between data or a dependency relationship between data;
according to the relation information, a target processing rule matched with the original data is determined, namely a data processing logic rule of the receiving device when receiving the data is determined.
Two examples are set forth herein for two different ones of the above relationships, and the disclosure is not limited thereto.
The first example is explained by taking specific examples: and determining a processing rule corresponding to the original data according to the mutual exclusion relationship among the data.
If the original data is data D and the first data is data E, and the correlation between the data D and the data E is an exclusive relationship, the corresponding target processing rule may be that the data D is not processed if the data E is received.
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, and if the data E has been received, the receiving device does not process the data D, and if the data E has not been received, the receiving device processes the data D.
Example two, the explanation is given by taking specific examples: and determining a processing rule corresponding to the original data according to the dependency relationship among the data.
The original data is data a and the first data is data B, and data a depends on data B, so the target processing rule corresponding to data a may be to process data B first and then data a.
Based on the target processing rule, when receiving the data A, the receiving device firstly judges whether the data B is received or not, and if the data B is received, the data A is processed; if data B is not received, data A is not processed.
In the above example, in actual application, the data a may be coordinate data, the data B is map data, and after receiving the data a coordinate data, the receiving device performs only caching and does not perform output display until receiving the data B map data, and then combines the coordinate and the map data and performs unified output display.
In the process of processing and receiving the data sent by the plurality of sending devices, the receiving device can complete data processing according to the preset processing rule only by acquiring the original data and the processing rule corresponding to the original data, so that the order and the accuracy of the data transmitted from the plurality of sending devices to the receiving device are ensured, special control and coordination between the plurality of sending devices and the plurality of receiving devices are not needed, and the efficiency of data processing is improved.
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, the marking information corresponding to the target processing rule is found in a database, and 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 device in advance, so that the receiving device can acquire the processing rule corresponding to the marking information in the data according to the marking information when analyzing the marking information.
After the mark information is embedded into the original data, target data is generated.
Further, the above embedding the mark information into the original data may embed the mark information into the header, the trailer, or the middle section of the original data, or may alternatively insert the mark 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 the first control information.
Specific examples are listed here for illustration:
for example, the database includes three processing rules: the processing rule of A is as follows: processing the data in sequence according to the identification serial number corresponding to the data, wherein the identification information corresponding to the processing rule A is 0001; the B processing rule is as follows: for data with the same sequence number, only the earliest received data is processed, and the corresponding identification information is 0002.
Analyzing the 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 mark information is embedded into the original data to generate the target data, the target data is sent to the receiving equipment, so that the purpose of sending the original data and the data processing rule to the receiving equipment can be realized, the data transmission resource is saved, and the data processing efficiency is improved.
Further, the identification information may further include an application scenario corresponding to the processing rule, and the application scenario may include: and data is modified, deleted, combined and the like, so that the rule of data processing is further defined, and the efficiency of data processing is improved.
Specific examples are listed here for illustration: 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 scenario.
The application scene A is deleted data, and the identifier corresponding to the application scene A is 0001; the application scene is display data, and the corresponding identifier is 0002; the processing rule of A is as follows: processing the data according to the serial number corresponding to the data, wherein the corresponding identification information is 0001; the B processing rule is as follows: for data with the same sequence number, only the earliest received data is processed, and the corresponding identification information is 0002. According to the preset rule, if the processing rule a in the application scene is to delete the data in sequence according to the sequence number sequence corresponding to the data, the marking information may be: 00010001; in order to delete data in sequence according to the earliest received data, the flag information may be: 00010010, respectively; if the processing rule a in the application scenario B is to display data sequentially according to the sequence number sequence corresponding to the data, the flag information may be: 00100001, respectively; if the B processing rule in the B application scenario is to delete data in sequence according to the earliest received data, the flag information may 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, finding that identification information corresponding to the A processing rule in the B application scene is 00100001, and embedding identification information 00100001 into the original data to generate target data.
When the original data includes a plurality of subdata, the method provided by the present disclosure may determine a target processing rule corresponding to each subdata, and then embed each corresponding subdata according to the target processing rule corresponding to the subdata packet, or embed the target processing rule into a certain subdata.
For example, when the original data is a data frame, the data frame includes a plurality of macro blocks, a target processing rule corresponding to each macro block may be embedded in an idle field of a packet header of each macro block, or a target processing rule and a target map corresponding to each macro block may be embedded in an idle field of a packet header of a data packet of a target macro block, where the target map is a correspondence between the target processing rule and the macro block, and the target macro block may be a macro block that is received first by the receiving device according to the target processing rule.
The data transmission method provided by the embodiment of the disclosure is applied to a sending device, and 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 a receiving device. The method provided by the disclosure not only achieves the purpose of transmitting the original data and the processing rule, but also enables the receiving device to process the original data according to the processing rule, ensures the orderliness and the accuracy of the receiving device when processing the received data, improves the data processing efficiency, and particularly can avoid introducing a complex synchronization or coordination flow in the transmitting device under the scene that the randomness of the transmitted data and the correlation of the displayed data are contradictory.
Example two
Based on the data transmission method provided in the embodiment corresponding to fig. 1, another embodiment of the present disclosure provides a data transmission method, where the method may be applied to a sending device, for example, the sending device may be a terminal device or a network server, and the present disclosure is not limited thereto. Referring to fig. 2, the data transmission method provided in this embodiment includes the following steps:
201. and receiving target data, wherein the target data comprises original data and a target processing rule matched with the original data.
The method provided by the disclosure further comprises analyzing the target data, and acquiring a target processing rule matched with the original data according to an analysis result.
The method for acquiring the target processing rule matched with the original data comprises the following steps:
analyzing the original data, and acquiring mark information matched with the original data according to an analysis result;
and searching a target processing rule matched with the marking information in a database according to the marking information.
Specific examples are listed here for illustration: after receiving the target data, the target data is analyzed to obtain data a and identification information 00100001 corresponding to data a. If the database is searched according to the identification information 00100001 and the processing rule corresponding to the identification information 00100001 is obtained as displaying data in sequence according to the mark sequence corresponding to the data, it can be determined that the target processing rule corresponding to the data a is displaying data in sequence according to the sequence number sequence 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, when processing the raw data according to the target processing rule, may include:
determining a preset condition corresponding to the processing of the original data according to a 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, a preset condition that whether data having a relationship with the original data exists in the received data or whether the received data has a higher priority than the original data is determined.
Here, taking the preset condition as an example of processing the original data when it is determined that the first data has been received, how to process the original data according to the target processing rule is explained:
when target data is received, analyzing the target data to obtain original data: the method includes the steps that a target processing rule corresponding to data A and the data A is determined, a preset condition corresponding to the data A is that first data are received according to the target processing rule, the first data are data B, whether the data B exist in the received data needs to be judged, and when the data B exist in the data of the received data, namely the received data meet the preset condition, the data A can be processed.
Processing the raw data according to the target processing rule further includes performing processing such as modifying data, deleting data, merging data, and the like on the raw data.
The data transmission method provided by the embodiment of the disclosure is applied to a receiving device, and after the receiving device 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 sent by the plurality of sending devices are acquired, the data can be sequentially processed according to the processing sequence corresponding to the target processing rule, the data processing sequence is prevented from being determined by manual processing or control equipment when the receiving device receives the data, and the efficiency and the accuracy of data processing are improved.
EXAMPLE III
Based on the data transmission method described in the embodiments corresponding to fig. 1 and fig. 2, another embodiment of the present disclosure provides a data transmission method, which may be applied to a sending device and a receiving device, for example, the sending device may be a terminal device or a network server, and the receiving device may also be a terminal device or a network server. Here, the transmission device includes: the target transmitting device and the first transmitting device are illustrated as examples and do not represent a 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 the target processing rule corresponding to the original data.
The target processing rule is determined according to the attribute information of the original data, and the attribute information may include the priority corresponding to the original data, the security information of the original data, and the interrelation between the original data and other data.
Specific examples are set forth herein by taking the example that the target processing rule determines the target processing rule according to the priority between the original 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 raw data and the first data have been acquired, the raw data is processed before the first data is processed.
302. The first sending equipment acquires first data and a first processing rule corresponding to the first data.
This first processing rule corresponds to a target processing rule, which is further exemplified here based on the above example:
because the first processing rule is determined according to the priority between the original data and the first data, because the original data has a higher priority than the first data, the first processing rule corresponding to the first data is: before processing the first data, it is determined whether the original data is received, and the original data is processed before the first data is processed.
303. And the target sending equipment embeds the target processing rule into the original data to generate first target data and sends the first target data to the receiving equipment.
The target sending device embeds the target processing rule into the original data to generate first target data, and the mark information corresponding to the target processing rule can be determined to embed the mark information into the original data to generate the first target data.
304. And the first sending equipment embeds the first processing rule into the first data to generate second target data and sends the second target data to the receiving equipment.
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 original data and a target processing rule corresponding to the original data according to an analysis result;
and after receiving the second target data, the receiving equipment analyzes the second target data, and acquires the first data and a first processing rule corresponding to the first data according to an analysis result.
Based on the above example: the target processing rule may be: when the original data and the first data are acquired, processing the original data first and then processing the first data;
the first processing rule may be: before processing the first data, it is determined whether the original data is received, 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 the target data according to the target processing rule and processing the first data according to the first processing rule, namely processing the original data first and then processing the first data when the original data and the first data are acquired; 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 first, and then outputs the first data to the display device, thereby achieving the ordering and accuracy of the receiving device during data processing.
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. The receiving equipment analyzes the target data after acquiring the target data, acquires a target processing rule corresponding to the original data in the target data according to an analysis result, and processes the original data when a 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 the processing rule, but also enables the receiving device to process the original data according to the processing rule, ensures the orderliness and the accuracy of the receiving device when processing the received data, improves the data processing efficiency, and particularly can avoid introducing a complex synchronization or coordination flow in the transmitting device and replace the receiving device to manually judge the data to be processed under the scene that the randomness of the transmitted data and the correlation of the displayed data are contradictory.
Example four
Based on the data transmission method described in the embodiments corresponding to fig. 1 and fig. 2, the following is an embodiment of the system of the present disclosure, which can be used to execute the embodiment of the method of the present disclosure.
An embodiment of the present disclosure provides a data transmission system, as shown in fig. 4, the data transmission system 40 includes:
the sending device 401 and the receiving device 402 are connected, wherein the connection method may be a wired connection or a wireless connection.
The sending device 401 is configured to obtain 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 the receiving device 402;
in an alternative embodiment, the sending device 401 is also adapted to,
analyzing the attribute information corresponding to the original data, and determining the priority between the original data and first data according to the 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 matching the original data;
and processing the original data according to the target processing rule.
In an alternative embodiment, the receiving device 402 is also configured to,
determining a corresponding preset condition when the original data is processed according to a target processing rule matched with the original data;
and processing the original data when the received data meets the preset condition.
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. The receiving equipment analyzes the target data after acquiring the target data, acquires a target processing rule corresponding to the original data in the target data according to an analysis result, and processes the original data when a 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 the processing rule, but also enables the receiving device to process the original data according to the processing rule, ensures the orderliness and the accuracy of the receiving device when processing the received data, improves the data processing efficiency, and particularly can avoid introducing a complex synchronization or coordination flow in the transmitting device and replace the receiving device to manually judge the data to be processed under the scene that the randomness of the transmitted data and the correlation of the displayed data are contradictory.
Based on the data transmission method described in the embodiment corresponding to fig. 1 and fig. 2, an embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a 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 embodiment corresponding to fig. 1 and fig. 2, which is not described herein again.
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 variations, 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 (10)

1. A data transmission method, applied to a target transmission device, 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;
and generating target data according to the target processing rule and the original data.
2. The method of claim 1, wherein the target processing rule comprises a data processing order rule, and wherein determining the target processing rule that matches the raw 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. The method of claim 1, wherein the target processing rule comprises a data processing logic rule, and wherein determining the target processing rule that matches the raw data comprises:
analyzing attribute information corresponding to the original data, and determining a mutual relation between the original data and first data according to an analysis result, wherein the mutual relation 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 mutual relation.
4. The method of claim 1, wherein generating target data after marking the raw data according to the target processing rule comprises:
according to the target processing rule, the mark information corresponding to the target processing rule is found in a database, wherein the database comprises the corresponding relation between at least one processing rule and at least one mark information;
and embedding the mark information into the original data to generate target data.
5. A data transmission method, applied to a receiving device, the method comprising:
receiving target data, wherein the target data comprises original data and a target processing rule matched with the original data;
and processing the original data according to the target processing rule.
6. The method of claim 5, wherein prior to processing the raw data, the method further comprises:
analyzing the target data, and acquiring mark information matched with the original data according to an analysis result;
and searching a target processing rule matched with the marking information in a database according to the marking information.
7. The method of claim 5, wherein the processing the raw data according to the target processing rule comprises:
determining a corresponding preset condition when the original data is processed according to a target processing rule matched with the original data;
and processing the original data when the received data meets the preset condition.
8. A data transmission system, the system comprising: a sending device and a receiving device,
the sending equipment is connected with the receiving equipment;
the sending device 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;
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, and the target data comprises original data and a target processing rule matched with the original data;
and processing the original data according to the target processing rule.
9. The system of claim 8, wherein the sending 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.
10. The system of claim 8, wherein the receiving device is further configured to,
determining a corresponding preset condition when the original data is processed according to a target processing rule matched with the original data;
and processing the original data when the received data meets the preset condition.
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 true CN110636016A (en) 2019-12-31
CN110636016B 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 (14)

* 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
US20170063794A1 (en) * 2015-08-28 2017-03-02 Nicira, Inc. Creating and Using Remote Device Management Attribute Rule Data Store
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

Patent Citations (14)

* 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
US20170063794A1 (en) * 2015-08-28 2017-03-02 Nicira, Inc. Creating and Using Remote Device Management Attribute Rule Data Store
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 *
包铁;刘淑芬;: "基于业务规则的电信网络数据处理框架", 计算机应用研究, no. 12 *
罗玎玎, 赵海: "一个嵌入式RTOS中TCP相关任务的互斥问题", 计算机工程 *

Also Published As

Publication number Publication date
CN110636016B (en) 2023-09-29

Similar Documents

Publication Publication Date Title
CN105141409B (en) A kind of implementation method, terminal and the server of screen Digital watermark
CN107911222B (en) Digital signature generating method, digital signature verifying method, digital signature generating apparatus, digital signature verifying apparatus, and storage medium storing digital signature verifying program
US10380748B2 (en) Method and apparatus for determining to-be-superimposed area of image, superimposing image and presenting picture
CN111708785B (en) Big data mining processing method and device and cloud platform
KR102002024B1 (en) Method for processing labeling of object and object management server
CN113114608B (en) Point cloud data packaging method and transmission method
CN110377440B (en) Information processing method and device
CN104238819A (en) Detection method and system for display screen state in mobile terminal
CN113393471A (en) Image processing method and device
CN112306495A (en) Picture verification method and device, computer equipment and computer-readable storage medium
EP3410686B1 (en) Image processing device, image processing method, and program
CN110636016B (en) Data transmission method and system
CN113297422A (en) Data processing method, data processing apparatus, electronic device, medium, and program product
CN110149358B (en) Data transmission method, system and device
CN113537931A (en) Electronic seal generation method and device and electronic seal verification method and device
CN109086210B (en) Navigation information method and device for testing navigation application
CN111045766B (en) Method and device for outputting prompt information based on command line interface
CN106775960A (en) A kind of unique marker method and system to Windows processes
CN114124469A (en) Data processing method, device and equipment
JP2002259216A (en) Method for detecting electronic file alteration, method for describing electronic file for the same and communication equipment
CN112632588A (en) Text encryption method and device
CN107800561B (en) Resource updating method and device
CN114006954B (en) GOOSE message receiving and sending method and device
CN111800665B (en) Method, system, device and readable storage medium for detecting health of device
CN114928466B (en) Automatic identification method and device for encrypted data, storage medium and computer 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