CN117278174A - Data transmission method and device, electronic equipment and storage medium - Google Patents
Data transmission method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117278174A CN117278174A CN202311246422.2A CN202311246422A CN117278174A CN 117278174 A CN117278174 A CN 117278174A CN 202311246422 A CN202311246422 A CN 202311246422A CN 117278174 A CN117278174 A CN 117278174A
- Authority
- CN
- China
- Prior art keywords
- data packet
- data
- analyzed
- link
- layer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 143
- 238000000034 method Methods 0.000 title claims abstract description 69
- 230000004044 response Effects 0.000 claims abstract description 128
- 238000012360 testing method Methods 0.000 claims description 71
- 230000001360 synchronised effect Effects 0.000 claims description 47
- 230000000630 rising effect Effects 0.000 claims description 35
- 238000004458 analytical method Methods 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012795 verification Methods 0.000 claims description 9
- 238000000605 extraction Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 20
- 238000004891 communication Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000009471 action Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 101100368149 Mus musculus Sync gene Proteins 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1809—Selective-repeat protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/20—Arrangements for detecting or preventing errors in the information received using signal quality detector
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0053—Allocation of signalling, i.e. of overhead other than pilot signals
- H04L5/0055—Physical resource allocation for ACK/NACK
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Quality & Reliability (AREA)
- Communication Control (AREA)
Abstract
The embodiment of the application provides a data transmission method, a device, an electronic device and a storage medium, wherein the method is applied to a data link layer of data receiving equipment and comprises the following steps: receiving a data packet to be analyzed transmitted by data transmitting equipment through a physical layer, and determining the type of the data packet to be analyzed according to a start mark and/or an end mark of the data packet to be analyzed; if the type of the data packet to be analyzed is the data packet of the data link layer, analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment; and if the type of the data packet to be analyzed is a transmission layer data packet, removing the data link layer information of the data packet to be analyzed to obtain an application data packet, and transmitting the application data packet to an application layer through the transmission layer so as to analyze the application data packet by the application layer. By applying the method provided by the embodiment of the application, the data processing efficiency of the data receiving equipment can be improved.
Description
Technical Field
The present disclosure relates to the field of data transmission technologies, and in particular, to a data transmission method, a data transmission device, an electronic device, and a storage medium.
Background
The data transmission system may include a data transmitting device and a data receiving device, where each of the data transmitting device and the data receiving device may include four layer models of an application layer, a transport layer, a data link layer, and a physical layer. In the related art, a data packet received by a data receiving device generally reaches an application layer sequentially through a physical layer, a data link layer and a transport layer, and the application layer parses the data packet.
However, the data processing capability of the application layer is limited, and all data packets received by the data receiving device are parsed by the application layer, which may result in a low data processing efficiency of the data receiving device.
Disclosure of Invention
An object of an embodiment of the present application is to provide a data transmission method, apparatus, electronic device, and storage medium, so as to improve data processing efficiency of a data receiving device. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a data transmission method, where the method is applied to a data link layer of a data receiving device, and the data receiving device further includes: an application layer, a transport layer, and a physical layer; the method comprises the following steps:
receiving a data packet to be analyzed transmitted by data transmitting equipment through the physical layer, and determining the type of the data packet to be analyzed according to a start mark and/or an end mark of the data packet to be analyzed;
If the type of the data packet to be analyzed is a data packet of a data link layer, analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment;
and if the type of the data packet to be analyzed is a transmission layer data packet, removing the data link layer information of the data packet to be analyzed to obtain an application data packet, and transmitting the application data packet to the application layer through the transmission layer so that the application layer analyzes the application data packet.
Optionally, in a specific implementation manner, the data receiving device and the data sending device have performed a sequence synchronization operation; the method further comprises the steps of:
if the type of the data packet to be analyzed is a transport layer data packet, extracting the sequence number of the data packet to be analyzed as a target sequence number;
if the target sequence number and the expected sequence number of the data link layer meet a preset relation, feeding back a sequence response data packet used for representing that the data packet to be analyzed is successfully received to the data sending equipment so that the data sending equipment deletes the stored data packet to be analyzed;
If the target sequence number and the expected sequence number do not meet the preset relation, feeding back a sequence retransmission data packet used for representing that the missed transmission layer data packet exists to the data sending equipment, so that the data sending equipment transmits the missed transmission layer data packet according to the appointed sequence number carried by the sequence retransmission data packet;
wherein, the appointed serial number is: receiving the maximum sequence number except the target sequence number in all sequence numbers of the successful transmission layer data packet; the expected sequence number is: and according to a preset sequence number increment rule, designating the sequence number next to the sequence number.
Optionally, in a specific implementation manner, the performing manner of the sequence synchronization operation includes:
receiving a sequence synchronous data packet sent by the data sending equipment, and analyzing the received sequence synchronous data packet to obtain a synchronous sequence number included in the sequence synchronous data packet;
updating the appointed sequence number into the synchronous sequence number, and feeding back a sequence synchronous response data packet to the data sending equipment.
Optionally, in a specific implementation manner, the data packet to be parsed is a sequence reset data packet belonging to the data link layer data packet type; the analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending device includes:
Analyzing the sequence reset data packet, and executing reset operation according to the analysis result of the sequence reset data packet;
and after the reset operation is executed, feeding back a sequence synchronous response data packet to the data sending equipment.
Optionally, in a specific implementation manner, the data packet to be parsed is a link trigger data packet belonging to the data link layer data packet type; the analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending device includes:
analyzing the link triggering data packet and feeding back a link triggering response data packet to the data sending equipment;
if the link trigger data packet is a rising edge link trigger data packet, the link trigger response data packet is a rising edge link trigger response data packet; if the link trigger data packet is a falling edge link trigger data packet, the link trigger response data packet is a falling edge link trigger response data packet; the rising edge link triggering data packet is sent by the data sending equipment after detecting the rising edge of a link triggering source; the falling edge link trigger data packet is transmitted by the data transmitting device after detecting the falling edge of the link trigger source.
Optionally, in a specific implementation manner, the data packet to be parsed is a link test data packet belonging to the data link layer data packet type; the analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending device includes:
analyzing the link test data packet, and checking the content of the data segment of the link test data packet according to the analysis result of the link test data packet;
and feeding back a link test response data packet to the data sending equipment after the verification is passed.
In a second aspect, an embodiment of the present application provides a data transmission method, where the method is applied to a data sending device, and the method includes:
transmitting a data packet to be analyzed to a data receiving device, so that a physical layer of the data receiving device receives the data packet to be analyzed and transmits the received data packet to a data link layer of the data receiving device; the data link layer of the data receiving equipment receives the data packet to be analyzed, and determines the type of the data packet to be analyzed according to the start mark and/or the end mark of the data packet to be analyzed; if the type of the data packet to be analyzed is a data packet of a data link layer, analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment; if the type of the data packet to be analyzed is a transmission layer data packet, removing the data link layer information of the data packet to be analyzed to obtain an application data packet, and transmitting the application data packet to the application layer through the transmission layer so that the application layer analyzes the application data packet;
And receiving the response data packet sent by the data receiving equipment.
In a third aspect, an embodiment of the present application provides a data transmission apparatus, where the apparatus is applied to a data link layer of a data receiving device, and the data receiving device further includes: an application layer, a transport layer, and a physical layer; the device comprises:
the data packet receiving module is used for receiving a data packet to be analyzed, which is transmitted by the data transmitting equipment through the physical layer, and determining the type of the data packet to be analyzed according to the start mark and/or the end mark of the data packet to be analyzed;
the data packet analysis module is used for analyzing the data packet to be analyzed if the type of the data packet to be analyzed is a data packet of a data link layer, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment;
and the information removing module is used for removing the data link layer information of the data packet to be analyzed to obtain an application data packet if the type of the data packet to be analyzed is a transmission layer data packet, and transmitting the application data packet to the application layer through the transmission layer so that the application layer analyzes the application data packet.
Optionally, in a specific implementation manner, the data receiving device and the data sending device have performed a sequence synchronization operation; the apparatus further comprises:
the sequence number extraction module is used for extracting the sequence number of the data packet to be analyzed as a target sequence number if the type of the data packet to be analyzed is a transmission layer data packet;
the sequence response module is used for feeding back a sequence response data packet used for representing that the data packet to be analyzed is successfully received to the data transmission equipment if the target sequence number and the expected sequence number of the data link layer meet a preset relation, so that the data transmission equipment deletes the stored data packet to be analyzed;
a sequence retransmission module, configured to, if the target sequence number and the expected sequence number do not satisfy the preset relationship, feed back a sequence retransmission data packet for characterizing that there is a missed transmission layer data packet to the data sending device, so that the data sending device transmits the missed transmission layer data packet according to a specified sequence number carried by the sequence retransmission data packet;
wherein, the appointed serial number is: receiving the maximum sequence number except the target sequence number in all sequence numbers of the successful transmission layer data packet; the expected sequence number is: and according to a preset sequence number increment rule, designating the sequence number next to the sequence number.
Optionally, in a specific implementation manner, the performing manner of the sequence synchronization operation includes:
receiving a sequence synchronous data packet sent by the data sending equipment, and analyzing the received sequence synchronous data packet to obtain a synchronous sequence number included in the sequence synchronous data packet;
updating the appointed sequence number into the synchronous sequence number, and feeding back a sequence synchronous response data packet to the data sending equipment.
Optionally, in a specific implementation manner, the data packet to be parsed is a sequence reset data packet belonging to the data link layer data packet type; the data packet analysis module is specifically configured to:
analyzing the sequence reset data packet, and executing reset operation according to the analysis result of the sequence reset data packet;
and after the reset operation is executed, feeding back a sequence synchronous response data packet to the data sending equipment.
Optionally, in a specific implementation manner, the data packet to be parsed is a link trigger data packet belonging to the data link layer data packet type; the data packet analysis module is specifically configured to:
analyzing the link triggering data packet and feeding back a link triggering response data packet to the data sending equipment;
If the link trigger data packet is a rising edge link trigger data packet, the link trigger response data packet is a rising edge link trigger response data packet; if the link trigger data packet is a falling edge link trigger data packet, the link trigger response data packet is a falling edge link trigger response data packet; the rising edge link triggering data packet is sent by the data sending equipment after detecting the rising edge of a link triggering source; the falling edge link trigger data packet is transmitted by the data transmitting device after detecting the falling edge of the link trigger source.
Optionally, in a specific implementation manner, the data packet to be parsed is a link test data packet belonging to the data link layer data packet type; the data packet analysis module is specifically configured to:
analyzing the link test data packet, and checking the content of the data segment of the link test data packet according to the analysis result of the link test data packet;
and feeding back a link test response data packet to the data sending equipment after the verification is passed.
In a fourth aspect, an embodiment of the present application provides a data transmission apparatus, where the apparatus is applied to a data sending device, the apparatus includes:
The data packet sending module is used for sending a data packet to be analyzed to the data receiving equipment so that a physical layer of the data receiving equipment receives the data packet to be analyzed and transmits the received data packet to a data link layer of the data receiving equipment; the data link layer of the data receiving equipment receives the data packet to be analyzed, and determines the type of the data packet to be analyzed according to the start mark and/or the end mark of the data packet to be analyzed; if the type of the data packet to be analyzed is a data packet of a data link layer, analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment; if the type of the data packet to be analyzed is a transmission layer data packet, removing the data link layer information of the data packet to be analyzed to obtain an application data packet, and transmitting the application data packet to the application layer through the transmission layer so that the application layer analyzes the application data packet;
and the response receiving module is used for receiving the response data packet sent by the data receiving equipment.
In a fifth aspect, embodiments of the present application provide an electronic device, including:
A memory for storing a computer program;
and the processor is used for realizing any one of the data transmission methods when executing the program stored in the memory.
In a sixth aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored therein, the computer program implementing any of the above described data transmission methods when executed by a processor.
Embodiments of the present application also provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform any of the data transmission methods described above.
The beneficial effects of the embodiment of the application are that:
in the foregoing, by applying the scheme provided by the embodiment of the present application, the data receiving device may include: the data link layer of the data receiving device can receive the data packet to be analyzed transmitted by the data transmitting device through the physical layer, and the type of the data packet to be analyzed is determined according to the start mark and/or the end mark of the data packet to be analyzed; if the type of the data packet to be analyzed is the data packet of the data link layer, the data link layer can analyze the data packet to be analyzed and feed back a response data packet corresponding to the data packet to be analyzed to the data sending equipment; if the type of the data packet to be analyzed is a transmission layer data packet, the data link layer can remove the data link layer information of the data packet to be analyzed to obtain an application data packet, and the application data packet is transmitted to the application layer through the transmission layer, so that the application layer can analyze the application data packet after receiving the application data packet.
Based on this, the data link layer packet received by the data receiving apparatus can be parsed by the data link layer without being transmitted to the application layer. Therefore, by applying the scheme provided by the embodiment of the application, the data processing link can be shortened, and the data processing efficiency is improved.
In addition, the data link layer determines the type of the data packet to be analyzed, and the data link layer and the application layer process the data packets to be analyzed in different types respectively, so that the complexity of the data packet to be analyzed, which is required to be analyzed by the application layer, can be reduced, and the accuracy of the data packet to be analyzed, which is required to be analyzed by the application layer, can be improved.
Of course, not all of the above-described advantages need be achieved simultaneously in practicing any one of the products or methods of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will briefly introduce the drawings that are required to be used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other embodiments may also be obtained according to these drawings to those skilled in the art.
Fig. 1 is a schematic flow chart of a data transmission method applied to a data link layer of a data receiving device according to an embodiment of the present application;
Fig. 2 is a schematic diagram of communication connection between an industrial camera and an image acquisition card according to an embodiment of the present application;
fig. 3 is a schematic diagram of a data transmission model between an industrial camera and an image acquisition card according to an embodiment of the present application;
fig. 4 (a) is a schematic flow chart of another data transmission method applied to a data link layer of a data receiving device according to an embodiment of the present application;
fig. 4 (b) is a schematic flow chart of a data sending device sending a data packet to a data receiving device according to an embodiment of the present application;
fig. 5 is a schematic flow chart of a data transmission method applied to a data transmission device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a data transmission device applied to a data link layer of a data receiving apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data transmission device applied to a data sending apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. Based on the embodiments herein, a person of ordinary skill in the art would be able to obtain all other embodiments based on the disclosure herein, which are within the scope of the disclosure herein.
The data transmission system may include a data transmitting device and a data receiving device, where each of the data transmitting device and the data receiving device may include four layer models of an application layer, a transport layer, a data link layer, and a physical layer. In the related art, a data packet received by a data receiving device generally reaches an application layer sequentially through a physical layer, a data link layer and a transport layer, and the application layer parses the data packet. However, the data processing capability of the application layer is limited, and all data packets received by the data receiving device are parsed by the application layer, which may result in a low data processing efficiency of the data receiving device.
In order to solve the above problems, embodiments of the present application provide a data transmission method.
The method is suitable for various data transmission scenes comprising a data transmitting device and a data receiving device. For example, when the camera transmits image data to the capture card, the data transmitting device may be the camera and the data receiving device may be the capture card; when the acquisition card transmits control data to the camera, the data transmitting device may be the acquisition card, and the data receiving device may be the camera. Of course, the camera and the acquisition card are merely examples, the data sending device may be any type of device, and the data receiving device may also be any type of device, which is not specifically limited in this embodiment of the present application.
In addition, the method can be applied to the data link layer of various electronic devices capable of receiving data. The electronic device may be an independent electronic device or may be a device cluster including a plurality of electronic devices, and the embodiment of the present application is not particularly limited, and may be hereinafter referred to as an electronic device.
The data transmission method provided by the embodiment of the application can be applied to a data link layer of a data receiving device, and the data receiving device can further include: an application layer, a transport layer, and a physical layer; the data transmission method provided by the embodiment of the application can comprise the following steps:
receiving a data packet to be analyzed transmitted by data transmitting equipment through the physical layer, and determining the type of the data packet to be analyzed according to a start mark and/or an end mark of the data packet to be analyzed;
if the type of the data packet to be analyzed is a data packet of a data link layer, analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment;
and if the type of the data packet to be analyzed is a transmission layer data packet, removing the data link layer information of the data packet to be analyzed to obtain an application data packet, and transmitting the application data packet to the application layer through the transmission layer so that the application layer analyzes the application data packet.
In the foregoing, by applying the scheme provided by the embodiment of the present application, the data receiving device may include: the data link layer of the data receiving device can receive the data packet to be analyzed transmitted by the data transmitting device through the physical layer, and the type of the data packet to be analyzed is determined according to the start mark and/or the end mark of the data packet to be analyzed; if the type of the data packet to be analyzed is the data packet of the data link layer, the data link layer can analyze the data packet to be analyzed and feed back a response data packet corresponding to the data packet to be analyzed to the data sending equipment; if the type of the data packet to be analyzed is a transmission layer data packet, the data link layer can remove the data link layer information of the data packet to be analyzed to obtain an application data packet, and the application data packet is transmitted to the application layer through the transmission layer, so that the application layer can analyze the application data packet after receiving the application data packet.
Based on this, the data link layer packet received by the data receiving apparatus can be parsed by the data link layer without being transmitted to the application layer. Therefore, by applying the scheme provided by the embodiment of the application, the data processing link can be shortened, and the data processing efficiency is improved.
In addition, the data link layer determines the type of the data packet to be analyzed, and the data link layer and the application layer process the data packets to be analyzed in different types respectively, so that the complexity of the data packet to be analyzed, which is required to be analyzed by the application layer, can be reduced, and the accuracy of the data packet to be analyzed, which is required to be analyzed by the application layer, can be improved.
Next, a specific description will be given of a data transmission method provided in the embodiment of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present application, as shown in fig. 1, the method may include the following steps S101 to S103.
S101: and receiving the data packet to be analyzed, which is transmitted by the data transmitting equipment through the physical layer, and determining the type of the data packet to be analyzed according to the start mark and/or the end mark of the data packet to be analyzed.
The data receiving device and the data receiving device may each include an application Layer (Application Layer), a Transport Layer (Transport Layer), a data link Layer (data Layer), and a Physical Layer (Physical Layer). The data packets to be analyzed, which are sent to the data receiving device by the data sending device, can be transmitted to the data link layer of the data receiving device through the physical layer of the data receiving device, and then the data link layer of the data receiving device can receive the data packets to be analyzed, which are transmitted by the data sending device through the physical layer.
The data transmission device may also include an application layer, a transport layer, a data link layer, and a physical layer. For the data transmitting device, the data link layer may generate a data packet itself, or may receive a data packet from the transport layer, and the type of the data packet generated by the data link layer may be a data link layer data packet (Data Link Layer Packet, DLLP), and the type of the data packet from the transport layer may be a transport layer data packet (Transport Layer Packet, TLP). The data packet from the transport layer may be a data packet generated by the transport layer or a data packet generated by the application layer and transmitted to the transport layer, and the embodiment of the present application is not specifically limited.
The start and/or end marks of the data link layer data packet and the transport layer data packet may be different, so that the data link layer of the data receiving apparatus may determine the type of the data packet to be parsed according to the start and/or end marks of the data packet to be parsed after receiving the data packet to be parsed.
Optionally, in a specific implementation manner, the data sending device may be a camera, and the data receiving device may be an acquisition card; alternatively, the data transmitting device may be an acquisition card, and the data receiving device may be a camera.
Wherein, there is communication connection between the data transmitting device and the data receiving device.
Further, when the camera transmits image data to the acquisition card, the data transmitting apparatus may be the camera, and the data receiving apparatus may be the acquisition card; when the acquisition card transmits control data to the camera, the data transmitting device may be the acquisition card, and the data receiving device may be the camera.
Illustratively, as shown in FIG. 2, the cameras may be industrial cameras 0-3 and the acquisition card may be an image acquisition card on an industrial control PC (Personal Computer). The data transfer model between any of the industrial cameras 0-3 and the image capture card may be as shown in fig. 3.
In fig. 3, the content indicated by reference numeral 1 is the complete packet structure of data transmitted in a physical transmission link. That is, each packet transmitted in the physical transmission link may be composed of five parts, SDLLP (DLLP header, start of Data Link Layer Packet), STLP (TLP header, start of Transport Layer Packet), DATA (DATA content), ETLP (TLP trailer, end of Transport Layer Packet) and EDLLP (DLLP trailer, end of Data Link Layer Packet).
S102: if the type of the data packet to be analyzed is the data packet of the data link layer, analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment.
The data link layer data packet generated by the data link layer of the data transmitting device can be directly analyzed by the data link layer of the data receiving device, so that if the type of the data packet to be analyzed is the data link layer data packet, the data link layer of the data receiving device can analyze the data packet to be analyzed and feed back the response data packet corresponding to the data packet to be analyzed to the data transmitting device.
S103: and if the type of the data packet to be analyzed is a transmission layer data packet, removing the data link layer information of the data packet to be analyzed to obtain an application data packet, and transmitting the application data packet to an application layer through the transmission layer so as to analyze the application data packet by the application layer.
The transmission layer of the data transmission device can transmit the transmission layer data packet to the data link layer of the data transmission device; the data link layer of the data transmission device may add data link layer information to the transport layer data packet, and transmit the transport layer data packet to which the data link layer information is added to the physical layer of the data transmission device; the physical layer of the data transmitting apparatus may convert the transport layer packet to which the data link layer information is added into a bit stream, and then transmit the transport layer packet to which the data link layer information is added to the data receiving apparatus. Therefore, if the type of the data packet to be parsed received by the data link layer of the data receiving device is the transport layer data packet, the data link layer of the data receiving device can remove the data link layer information of the data packet to be parsed to obtain the application data packet.
Since the transport layer packet from the transport layer of the data sending device cannot be directly parsed by the data link layer of the data receiving device, but needs to be parsed by the application layer of the data receiving device, after the application packet is obtained, the data link layer of the data receiving device can transmit the application packet to the application layer through the transport layer, so that the application layer parses the application packet.
Based on this, the data link layer packet received by the data receiving apparatus can be parsed by the data link layer without being transmitted to the application layer. Therefore, by applying the scheme provided by the embodiment of the application, the data processing link can be shortened, and the data processing efficiency is improved.
In addition, the data link layer determines the type of the data packet to be analyzed, and the data link layer and the application layer process the data packets to be analyzed in different types respectively, so that the complexity of the data packet to be analyzed, which is required to be analyzed by the application layer, can be reduced, and the accuracy of the data packet to be analyzed, which is required to be analyzed by the application layer, can be improved.
Optionally, in a specific implementation manner, when data transmission is performed, a sequence synchronization operation is performed between the data receiving device and the data sending device, so that whether a missed transmission transport layer data packet exists can be judged according to the sequence number; further, as shown in fig. 4 (a), a data transmission method provided in the embodiment of the present application may further include the following steps S401 to S403.
S401: and if the type of the data packet to be analyzed is a transport layer data packet, extracting the sequence number of the data packet to be analyzed as a target sequence number.
Each transport layer data packet may include a sequence number added to the transport layer data packet by a data link layer of the data transmitting device according to a preset sequence number increment rule. Therefore, if the type of the data packet to be parsed is the transport layer data packet, the sequence number of the data packet to be parsed can be extracted as the target sequence number.
Illustratively, the data structure of the transport layer packet may be as shown in table 1.
Table 1:
as can be seen, in the transport layer packet, the content of word 1, i.e., word 0, may be "4 x SOT" (one word occupies 32 bits, "SOT" occupies 8 bits, "4 x SOT" is "SOT" that is "SOT" repeated 4 times to form one word, and the following "4 x tlp Type", "4 x seq_num" are equivalent), so that the SOT is the start indication of the transport layer packet; the 2 nd word, that is, the content of word 1 may be "4×tlp Type", where TLP Type indicates that the data is an upper layer transport layer packet Type value, and is a fixed codeword; the 3 rd word, i.e. word 2, may have a content of "4 x seq_num", seq_num being the sequence number; the contents of the 4 th word to the n+2 th word, that is, the words 3 to the words n+1, may be "tlp_data", which is upper layer transport layer packet Data; the n+3 word, since the content of word n+2 may be "4 x EOT", EOT is the end of transport layer packet indication.
S402: if the target sequence number and the expected sequence number of the data link layer meet the preset relation, feeding back a sequence response data packet used for representing that the data packet to be analyzed is successfully received to the data sending equipment, so that the data sending equipment deletes the stored data packet to be analyzed.
The specified sequence number may be: receiving the maximum sequence number except the target sequence number in all sequence numbers of the successful transmission layer data packet; the expected sequence number may be: and designating the next sequence number of the sequence numbers according to a preset sequence number increment rule.
The target sequence number is a sequence number added by the data sending device for the data packet of the transmission layer, the expected sequence number is an expected sequence number of the data link layer of the data receiving device, and the sequence synchronization operation is performed on the data receiving device and the data sending device, so that a specified relationship between the target sequence number and the expected sequence number of the data link layer can be met. Furthermore, when data transmission is performed, if a sequence synchronization operation is performed between the data receiving device and the data transmitting device, and the target sequence number and the expected sequence number of the data link layer meet a preset relationship, it is indicated that no missed transmission layer data packet exists at present, and further, a sequence response data packet for representing that the data packet to be analyzed is successfully received can be fed back to the data transmitting device, so that the data transmitting device deletes the stored data packet to be analyzed.
The above-mentioned preset relationship may be determined according to a numerical relationship between the target sequence number and the expected sequence number of the data link layer after the sequence synchronization operation is performed, which is not specifically limited in the embodiment of the present application.
Alternatively, the sequence synchronization operation is performed on the data receiving apparatus and the data transmitting apparatus, so that the sequence number added by the data transmitting apparatus for the next transport layer packet, that is, the specified target sequence number of the first transport layer packet to be received by the data receiving apparatus after the sequence synchronization operation is performed, is the same as the specified expected sequence number of the data receiving apparatus after the sequence synchronization operation is performed. Furthermore, the predetermined relationship may be that the target sequence number is not greater than the expected sequence number. That is, if the target sequence number is not greater than the expected sequence number, it is indicated that there is no missing transport layer packet currently.
Alternatively, the sequence synchronization operation may be performed on the data receiving apparatus and the data transmitting apparatus such that the specified target sequence number is smaller than the specified expected sequence number and the difference between the specified expected sequence number and the specified target sequence number is 1. Furthermore, the predetermined relationship may be that the target sequence number is smaller than the expected sequence number. That is, if the target sequence number is less than the expected sequence number, it is indicated that there is no missing transport layer packet currently.
The data structure of the sequential acknowledgement packet may be as shown in table 2, for example.
Table 2:
it can be seen that, in the sequence response packet, the content of the 1 st word, i.e. word 0, may be "4 x SOD", i.e. the data link layer packet start indication; the 2 nd word, that is, the content of word 1 may be "4×sn ACK Type", where SN ACK Type represents a Type value of the sequence response packet, and is a fixed codeword; the 3 rd word, i.e. the content of word 2, may be "4 x seq_num", the sequence number, which is the sequence number, indicating that the transport layer packet corresponding to the sequence number is normally received; the content of word 4, i.e., word 3, may be "4 x EOD," EOD, i.e., an end of packet indication at the data link layer.
Alternatively, the flow of the data transmitting apparatus transmitting the data packet to the data receiving apparatus may be as shown in fig. 4 (b). It can be seen that, after the data link layer of the data transmitting device receives the transport layer packet (i.e., TLP packet) and adds the sequence number and the data link layer information to the transport layer packet, the transport layer packet to which the sequence number and the data link layer information are added may be cached in a buffer area dedicated to the transport layer packet. The data link layer may determine a data packet n to be transmitted in order of the sequence number included in the data packet in the buffer from small to large, and transmit a data packet n transmission request with respect to the data packet n to the data transmission link.
If the data transmission link is occupied by a high priority data packet, a step of sending a data packet n transmission request for the data packet n to the data transmission link may be returned. If the data transmission link is not occupied by the high priority data packet, the data packet n may be sent to the data receiving device through the data transmission link, and the data receiving device waits for a response (i.e. waits for receiving the sequence response data packet), if the response is wrong or the response is overtime (i.e. the sequence response data packet corresponding to the data packet n is not received within a specified time), the data packet n may be retransmitted (i.e. the step of sending a request for sending the data packet n to the data transmission link is returned), if the response is correct (i.e. the sequence response data packet corresponding to the data packet n is received within a specified time), the data packet n is indicated to be sent to be ended, and then the data packet n may be emptied, the buffer space occupied by the data packet n is released, and the next data packet is started to be sent.
S403: if the target sequence number and the expected sequence number do not meet the preset relation, feeding back a sequence retransmission data packet used for representing that the missed transmission layer data packet exists to the data sending equipment, so that the data sending equipment transmits the missed transmission layer data packet according to the appointed sequence number carried by the sequence retransmission data packet.
If the target sequence number and the expected sequence number do not meet the preset relation, the transmission layer data packet with missing transmission is indicated, and further the sequence retransmission data packet used for representing the transmission layer data packet with missing transmission can be fed back to the data sending equipment, so that the data sending equipment can transmit the missing transmission layer data packet according to the appointed sequence number carried by the sequence retransmission data packet.
The data structure of the sequence retransmission packet may be as shown in table 3, for example.
Table 3:
in the sequence retransmission packet, the content of the 1 st word, i.e. word 0, may be "4 x SOD", i.e. the data link layer packet start indication; the 2 nd word, that is, the content of word 1 may be "4×sn RSND Type", where SN RSND Type represents an error retransmission acknowledgement packet Type value, which is a fixed codeword; the 3 rd word, i.e. word 2, may have a content of "4 x seq_num", i.e. a specified sequence number; the content of word 4, i.e., word 3, may be "4 x EOD," EOD, i.e., an end of packet indication at the data link layer.
Optionally, in a specific implementation manner, the implementation manner of the sequence synchronization operation may include the following steps 11-12.
Step 11: and receiving the sequence synchronous data packet sent by the data sending equipment, and analyzing the received sequence synchronous data packet to obtain the synchronous sequence number included in the sequence synchronous data packet.
Step 12: updating the appointed sequence number into a synchronous sequence number, and feeding back a sequence synchronous response data packet to the data sending equipment.
When the sequence synchronization operation is executed, the data transmitting device may transmit a sequence synchronization data packet including a synchronization sequence number to the data receiving device, and the data link layer of the data receiving device may receive the sequence synchronization data packet transmitted by the data transmitting device and parse the received sequence synchronization data packet to obtain a synchronization sequence number included in the sequence synchronization data packet. After the synchronous sequence number is obtained, the data link layer of the data receiving device can update the designated sequence number to the synchronous sequence number and feed back a sequence synchronous response data packet to the data sending device.
The value of the synchronization sequence number may be set by a person skilled in the art according to the actual application, and the embodiment of the present application is not specifically limited.
For example, the value of the synchronization sequence number may be 0, and the data structure of the sequence synchronization packet may be as shown in table 4.
Table 4:
it can be seen that, in the sequence synchronization packet, the content of the 1 st word, i.e. word 0, may be "4 x SOD", i.e. the data link layer packet start indication; the 2 nd word, that is, the content of the word 1 may be "4×sn SYNC Type", where SN SYNC Type represents a value of a Type of the sequence synchronization packet, and is a fixed codeword; the 3 rd word, i.e. word 2, may have a content of "4 x seq_num", the seq_num being the sync sequence number, with a value of 0; the content of word 4, i.e., word 3, may be "4 x EOD," EOD, i.e., an end of packet indication at the data link layer.
Further, after the data link layer of the data receiving device receives the sequence synchronization data packet and analyzes the sequence synchronization data packet to obtain a synchronization sequence number 0, the data link layer of the data receiving device can update the designated sequence number to 0 and feed back the sequence synchronization response data packet to the data transmitting device. Further, after receiving the sequence synchronization response packet, the data transmitting device may set the sequence number carried by the first transport layer packet sent to the data receiving device to 1, and the first expected sequence number of the data receiving device may also set the sequence number to 1.
The data structure of the sequence synchronization reply packet may be as shown in table 5, for example.
Table 5:
it can be seen that, in the sequence synchronous response packet, the content of the 1 st word, that is, word 0, may be "4 x SOD", i.e., the start indication of the data link layer packet; the 2 nd word, that is, the content of the word 1 may be "4 x SN DONE", where SN DONE Type represents a Type value of the sequence synchronization response packet, which is a fixed codeword; the 3 rd word, namely the content of word 2, can be "4 x Code", the Code is a normal receiving Code, which means that the synchronous receiving of serial numbers is normal; the content of word 4, i.e., word 3, may be "4 x EOD," EOD, i.e., an end of packet indication at the data link layer.
Next, a data transmission method provided in the embodiment of the present application will be specifically described by way of a specific example.
In an exemplary process of data transmission, the data transmitting device may transmit a sequence synchronization data packet including a synchronization sequence number 0 to the data receiving device, and the data link layer of the data receiving device may receive the sequence synchronization data packet transmitted by the data transmitting device and parse the received sequence synchronization data packet to obtain the synchronization sequence number 0 included in the sequence synchronization data packet. After obtaining the synchronization sequence number 0, the data link layer of the data receiving device may update the designated sequence number to 0, update the expected sequence number to 1, and feed back the sequence synchronization response data packet to the data transmitting device. The sequence number increment rule may be 1 for each increment, and after the data transmitting device receives the sequence synchronization response data packet, when adding a sequence number to a transport layer data packet to be transmitted to the data receiving device, the added first sequence number may be 1.
When the data transmitting device transmits the transport layer packet to the data receiving device, the data transmitting device may transmit the transport layer packet with the sequence number of 1 to the data receiving device, and the data receiving device may receive the transport layer packet with the sequence number of 1, and extract the sequence number of the transport layer packet to obtain the target sequence number of 1. Since the target sequence number is not greater than the expected sequence number at this time, there is no missed transport layer packet, so the data receiving device can feed back the sequence response packet carrying the sequence number 1 to the data transmitting device. After receiving the sequence response data packet carrying the sequence number 1, the data transmitting device can delete the transport layer data packet with the sequence number 1.
Next, the data receiving apparatus may update the designated sequence number to 1 and the expected sequence number to 2, and the data transmitting apparatus may transmit the transport layer packet with the sequence number of 2 to the data receiving apparatus, however, the packet may not be successfully transmitted to the data receiving apparatus. And then, the data transmitting device can transmit the transport layer data packet with the sequence number of 3 to the data receiving device, and the data receiving device can receive the transport layer data packet with the sequence number of 3, extract the sequence number of the transport layer data packet and obtain the target sequence number of 3. Since the expected sequence number of the data receiving apparatus is 2 and the target sequence number is greater than the expected sequence number, it can be determined that there is a missed transport layer packet. Further, the data receiving apparatus may feed back the sequence retransmission packet carrying the specified sequence number 1 to the data transmitting apparatus, so that the data transmitting apparatus retransmits the transport layer packet having the sequence number located after the specified sequence number to the data receiving apparatus.
Optionally, in a specific implementation manner, the data packet to be parsed is a sequence reset data packet belonging to a data link layer data packet type; in the step S102, the parsing the data packet to be parsed and feeding back the response data packet corresponding to the data packet to be parsed to the data sending device may include the following steps 21-22.
Step 21: analyzing the sequence reset data packet, and executing reset operation according to the analysis result of the sequence reset data packet.
Step 22: after the reset operation is performed, the sequence synchronous response data packet is fed back to the data sending device.
After the data link layer of the data receiving device receives the sequence reset data packet, the sequence reset data packet can be analyzed, and the reset operation is executed according to the analysis result of the sequence reset data packet. After the reset operation is performed, the data link layer of the data receiving device may feed back the sequence synchronization response data packet to the data transmitting device.
The data structure of the sequence reset packet may be as shown in table 6, for example.
Table 6:
it can be seen that, in the sequence reset packet, the content of the 1 st word, that is, word 0, may be "4 x SOD", i.e., the start indication of the data link layer packet; the 2 nd word, that is, the content of word 1 may be "4×reset Type", where Reset Type represents a sequence Reset packet Type value, which is a fixed codeword; the 3 rd word, that is, the content of the word 2, may be "4×reserved" and "Reserved" is Reserved, which is a Reserved field, on the one hand, the format of each data link layer data packet may be kept consistent, and on the other hand, if the content needs to be added in the sequence reset data packet subsequently, the field may be occupied directly; the content of word 4, i.e., word 3, may be "4 x EOD," EOD, i.e., an end of packet indication at the data link layer.
When the link trigger source cannot directly act on the data receiving equipment, the link trigger source can be accessed to the data sending equipment, the data sending equipment can generate a link trigger data packet based on the link trigger source and send the link trigger data packet to the data receiving equipment, and the data receiving equipment can receive and analyze the link trigger data packet sent by the data sending equipment to obtain link trigger information corresponding to the link trigger source. The link trigger information may include an edge trigger type, a trigger number, etc., the edge trigger type may include a rising edge trigger and a falling edge trigger, and the link trigger information may be used as a set of control signals to control use of certain functions of the data receiving device, so as to implement indirect control of the data receiving device by the link trigger source.
Therefore, in an alternative embodiment, the data packet to be parsed may be a link trigger data packet belonging to a data link layer data packet type; further, in the step S102, analyzing the data packet to be analyzed and feeding back the response data packet corresponding to the data packet to be analyzed to the data transmitting device may include the following step 31.
Step 31: and analyzing the link triggering data packet and feeding back the link triggering response data packet to the data sending equipment.
If the link trigger data packet is a rising edge link trigger data packet, the link trigger response data packet is a rising edge link trigger response data packet; if the link trigger data packet is a falling edge link trigger data packet, the link trigger response data packet is a falling edge link trigger response data packet; the rising edge link trigger data packet is sent by the data sending device after detecting the rising edge of the link trigger source; the falling edge link trigger packet is transmitted by the data transmitting device after detecting the falling edge of the link trigger source.
The data transmitting device may transmit a rising edge link trigger data packet to the data receiving device after detecting the rising edge of the link trigger source, and the data link layer of the data receiving device may parse the rising edge link trigger data packet and feed back the rising edge link trigger response data packet to the data transmitting device.
The data transmitting device can transmit the falling edge link trigger data packet to the data receiving device after detecting the falling edge of the link trigger source, and the data link layer of the data receiving device can analyze the falling edge link trigger data packet and feed back the falling edge link trigger response data packet to the data transmitting device.
Illustratively, the data structure of the rising edge link trigger packet may be as shown in table 7.
Table 7:
it can be seen that, in the rising edge link trigger packet, the content of word 1, i.e., word 0, may be "4 x SOD", i.e., the start indication of the data link layer packet; the 2 nd word, that is, the content of the word 1 may be "4×trig Rise Type", where Trig Rise Type indicates a rising edge link trigger packet Type value, which is a fixed codeword; the 3 rd word, i.e. word 2, may have a content of "4 x number" indicating a trigger number; the content of word 4, i.e., word 3, may be "4 x EOD," EOD, i.e., an end of packet indication at the data link layer.
Illustratively, the data structure of the rising edge link trigger reply packet may be as shown in table 8.
Table 8:
it can be seen that, in the rising edge link trigger response packet, the content of the 1 st word, that is, word 0, may be "4 x SOD", i.e., the start indication of the data link layer packet; word 2, i.e., word 1, may have a content of "4*Trig Rise ACK Type", trig Rise ACK Type indicates that the rising edge link trigger reply packet type value is a fixed codeword; the 3 rd word, that is, the content of word 2 may be "4×code", where Code is a normal receiving Code, indicating that the triggering data packet is normally received; the content of word 4, i.e., word 3, may be "4 x EOD," EOD, i.e., an end of packet indication at the data link layer.
The data structure of the falling edge link trigger packet may be as shown in table 9, for example.
Table 9:
it can be seen that, in the falling edge link trigger packet, the content of the 1 st word, that is, word 0, may be "4×sod", i.e., the start indication of the data link layer packet; the 2 nd word, that is, the content of the word 1 may be "4×trig Fall Type", where Trig Fall Type indicates a falling edge link trigger packet Type value, which is a fixed codeword; the 3 rd word, i.e. word 2, may have a content of "4 x number" indicating a trigger number; the content of word 4, i.e., word 3, may be "4 x EOD," EOD, i.e., an end of packet indication at the data link layer.
Illustratively, the data structure of the falling edge link trigger acknowledgement packet may be as shown in table 10.
Table 10:
it can be seen that, in the falling edge link trigger response packet, the content of the 1 st word, that is, word 0, may be "4×sod", i.e., the start indication of the data link layer packet; word 2, i.e., word 1, may have a content of "4*Trig Fall ACK Type", trig Fall ACK Type indicates that the falling edge link trigger reply packet type value is a fixed codeword; the 3 rd word, that is, the content of word 2 may be "4×code", where Code is a normal receiving Code, indicating that the triggering data packet is normally received; the content of word 4, i.e., word 3, may be "4 x EOD," EOD, i.e., an end of packet indication at the data link layer.
Optionally, in a specific implementation manner, the data packet to be parsed may be a link test data packet belonging to a data link layer data packet type; in the step S102, the parsing the data packet to be parsed and feeding back the response data packet corresponding to the data packet to be parsed to the data sending device may include the following steps 41-42.
Step 41: analyzing the link test data packet, and checking the data segment content of the link test data packet according to the analysis result of the link test data packet.
Step 42: and feeding back the link test response data packet to the data transmission equipment after the verification is passed.
If the data packet to be analyzed is a link test data packet belonging to the data link layer data packet type, the data link layer of the data receiving device can analyze the link test data packet and verify the content of the data segment of the link test data packet according to the analysis result of the link test data packet. If the verification is passed, the data link layer of the data transmission device can feed back a link test response data packet to the data transmission device.
The data field of the link test data packet may be a fixed and regular digital combination, and specific numbers included in the data field are not specifically limited in the embodiment of the present application.
For example, the data field of link test packet 1 may be a set of consecutive integers from 0 to 255, and the number of cycles of the data field is determined by the number of sets in the packet. Further, the data structure of the link test packet 1 may be as shown in table 11.
Table 11:
it can be seen that, in the link test packet 1, the content of the 1 st word, i.e. word 0, may be "4 x SOD", i.e. the data link layer packet start indication; the 2 nd word, that is, the content of the word 1 may be "4×test1type", the Test1 Type indicates a Type 1 value of the link Test packet, which is a fixed codeword; the 3 rd word, i.e. the content of word 2, may be "4×group_number", i.e. the Number of groups, one Group corresponding to 256 bytes (i.e. from 00-FF); the contents of the 4 th word to the n+2 th word, namely the words 3 to the words n+1, can be Data, wherein the Data is accumulated in byte units from the value 0, and the Data is spliced from 0 again after overflowing to form test Data; the n+3 word, since the content of word n+2 may be "4 x EOD", EOD being an end of packet indication at the data link layer.
Alternatively, the number of groups may be set by those skilled in the art according to actual situations, and the embodiment of the present application is not specifically limited.
For example, the number of groups may be 7, and further, the Data may include: 7 sets of consecutive integers from 0 to 255, that is, from 0 to 255 are added up to 255 in bytes, and after overflow, are added up to 255 again in bytes from 0, and repeated 7 times, thereby concatenating 7 sets of consecutive numbers from 0 to 255 to obtain test data.
Accordingly, the content of the test Data of the link test Data packet 1 is verified according to the analysis result of the link test Data packet 1 shown in table 11, and after the verification is passed, the Data structure of the link test response Data packet 1 fed back by the Data link layer of the Data receiving device to the Data transmitting device may be shown in table 12.
Table 12:
it can be seen that, in the link test response packet 1, the content of the 1 st word, that is, word 0, may be "4 x SOD", i.e., the data link layer packet start indication; the 2 nd word, that is, the content of the word 1 may be "4×test1ack Type", the Test1 ACK Type indicates that the data is a Type 1 value of the link Test response packet, and is a fixed codeword; the 3 rd word, that is, the content of word 2 may be "4×code", where Code is a normal receiving Code, indicating that the link test packet 1 is received normally; the content of word 4, i.e., word 3, may be "4 x EOD," EOD, i.e., an end of packet indication at the data link layer.
For another example, the data field of the link test packet 2 may be a set of identical numbers in words, and the number of cycles of the data field is determined by the number of sets in the packet. Further, the data structure of the link test packet 2 may be as shown in table 13.
Table 13:
it can be seen that, in the link test packet, the content of the 1 st word, i.e. word 0, may be "4 x SOD", i.e. the data link layer packet start indication; the 2 nd word, that is, the content of the word 1 may be "4×test2type", the Test2 Type indicates that the data is a link Test packet 2 Type value, which is a fixed codeword; the 3 rd word, that is, the content of word 2 may be "4×group_number", i.e., the Number of groups, one Group corresponding to 256 bytes; the contents of the 4 th word to the n+2 th word, that is, the words 3 to the n+1, may be "Data", data is test Data, and the values included in the Data may be the same set value; the n+3 word, since the content of word n+2 may be "4 x EOD", EOD being an end of packet indication at the data link layer.
For example, when the length of 1 word is 32 bits, the number of groups is 2, and the set value is "01", the set of the same numbers in units of words may include 64 words, each word may include 4 bytes, the content of each byte may be "01010101", and the test Data may include: 2 (number of groups) x 64 (group 1 includes 64 words) x 4 (word 1 includes 4 bytes) of "01010101".
Accordingly, the content of the data segment of the link test data packet 2 is verified according to the analysis result of the link test data packet 2 shown in table 13, and after the verification is passed, the data structure of the link test response data packet 2 fed back by the data link layer of the data receiving device to the data transmitting device may be shown in table 14.
Table 14:
it can be seen that, in the link test response packet 2, the content of the 1 st word, that is, the word 0, may be "4 x SOD", i.e., the data link layer packet start indication; the 2 nd word, that is, the content of the word 1 may be "4×test2acktype", the Test2 acktype indicates that the data is a link Test response packet 2 Type value, which is a fixed codeword; the 3 rd word, that is, the content of word 2 may be "4×code", where Code is a normal receiving Code, indicating that the link test data packet 2 is received normally; the content of word 4, i.e., word 3, may be "4 x EOD," EOD, i.e., an end of packet indication at the data link layer.
It should be noted that the codes in the respective reply data packets may be the same or different, and the specific content of the codes may be determined by those skilled in the art according to the actual application, which is not specifically limited in the embodiments of the present application. For example, the specific contents of the Code in the link test response packet 2 may be: 8-bit Data intercepted in Data in the link test packet 2 received by the Data receiving apparatus. Since the values included in the Data in the link test packet 2 are the same set values, if the values included in the Code in the link test response packet 2 returned by the Data receiving apparatus are all the set values, it is indicated that the Data transmission quality of the Data transmission link is not a problem.
However, since the Data included in the Data in the link test packet 1 is not the same set value, 8-bit Data is intercepted in the Data in the link test packet 1 received by the Data receiving apparatus, and the obtained Data is uncertain, the specific content of the Code in the link test response packet 1 may not be: 8-bit Data intercepted in Data in the link test packet 1 received by the Data receiving apparatus.
Based on this, the specific content of the Code in the above-described link test response packet 1 may be specified content set by those skilled in the art. If the content included in the Code in the link test response packet 1 returned by the data receiving apparatus is the above specified content, it is indicated that there is no problem in the data transmission quality of the data transmission link.
The embodiment of the application also provides a data transmission method, which is applied to the data sending device, as shown in fig. 5, and the method can include the following steps S501-S502.
S501: transmitting the data packet to be analyzed to the data receiving equipment so that a physical layer of the data receiving equipment receives the data packet to be analyzed and transmits the received data packet to be analyzed to a data link layer of the data receiving equipment; the data link layer of the data receiving equipment receives the data packet to be analyzed, and determines the type of the data packet to be analyzed according to the start mark and/or the end mark of the data packet to be analyzed; if the type of the data packet to be analyzed is the data packet of the data link layer, analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment; and if the type of the data packet to be analyzed is a transmission layer data packet, removing the data link layer information of the data packet to be analyzed to obtain an application data packet, and transmitting the application data packet to an application layer through the transmission layer so as to analyze the application data packet by the application layer.
S502: and receiving the response data packet sent by the data receiving equipment.
Based on this, the data link layer packet received by the data receiving apparatus can be parsed by the data link layer without being transmitted to the application layer. Therefore, by applying the scheme provided by the embodiment of the application, the data processing link can be shortened, and the data processing efficiency is improved.
In addition, the data link layer determines the type of the data packet to be analyzed, and the data link layer and the application layer process the data packets to be analyzed in different types respectively, so that the complexity of the data packet to be analyzed, which is required to be analyzed by the application layer, can be reduced, and the accuracy of the data packet to be analyzed, which is required to be analyzed by the application layer, can be improved.
Corresponding to the data link layer data transmission method applied to the data receiving device provided in the embodiment of the application, the embodiment of the application also provides a data link layer data transmission device applied to the data receiving device.
Fig. 6 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present application, where the apparatus is applied to a data link layer of a data receiving device, and the data receiving device further includes: an application layer, a transport layer, and a physical layer; as shown in fig. 6, the data transmission apparatus may include the following modules:
The data packet receiving module 601 is configured to receive a data packet to be parsed transmitted by the data transmitting device through the physical layer, and determine a type of the data packet to be parsed according to a start tag and/or an end tag of the data packet to be parsed;
the data packet parsing module 602 is configured to parse the data packet to be parsed and feed back a response data packet corresponding to the data packet to be parsed to the data sending device if the type of the data packet to be parsed is a data packet of a link layer;
the information removing module 603 is configured to remove data link layer information of the data packet to be parsed if the type of the data packet to be parsed is a transport layer data packet, obtain an application data packet, and transmit the application data packet to the application layer through the transport layer, so that the application layer parses the application data packet.
Based on this, the data link layer packet received by the data receiving apparatus can be parsed by the data link layer without being transmitted to the application layer. Therefore, by applying the scheme provided by the embodiment of the application, the data processing link can be shortened, and the data processing efficiency is improved.
In addition, the data link layer determines the type of the data packet to be analyzed, and the data link layer and the application layer process the data packets to be analyzed in different types respectively, so that the complexity of the data packet to be analyzed, which is required to be analyzed by the application layer, can be reduced, and the accuracy of the data packet to be analyzed, which is required to be analyzed by the application layer, can be improved.
Optionally, in a specific implementation manner, the data receiving device and the data sending device have performed a sequence synchronization operation; the apparatus further comprises:
the sequence number extraction module is used for extracting the sequence number of the data packet to be analyzed as a target sequence number if the type of the data packet to be analyzed is a transmission layer data packet;
the sequence response module is used for feeding back a sequence response data packet used for representing that the data packet to be analyzed is successfully received to the data transmission equipment if the target sequence number and the expected sequence number of the data link layer meet a preset relation, so that the data transmission equipment deletes the stored data packet to be analyzed;
a sequence retransmission module, configured to, if the target sequence number and the expected sequence number do not satisfy a preset relationship, feed back a sequence retransmission data packet for characterizing that there is a missed transmission layer data packet to the data sending device, so that the data sending device transmits the missed transmission layer data packet according to a specified sequence number carried by the sequence retransmission data packet;
wherein, the appointed serial number is: receiving the maximum sequence number except the target sequence number in all sequence numbers of the successful transmission layer data packet; the expected sequence number is: according to a preset sequence number increment rule, the sequence number next to the appointed sequence number;
Optionally, in a specific implementation manner, the performing manner of the sequence synchronization operation includes:
receiving a sequence synchronous data packet sent by the data sending equipment, and analyzing the received sequence synchronous data packet to obtain a synchronous sequence number included in the sequence synchronous data packet;
updating the appointed sequence number into the synchronous sequence number, and feeding back a sequence synchronous response data packet to the data sending equipment;
optionally, in a specific implementation manner, the data packet to be parsed is a sequence reset data packet belonging to the data link layer data packet type; the data packet analysis module is specifically configured to:
analyzing the sequence reset data packet, and executing reset operation according to the analysis result of the sequence reset data packet;
after the reset operation is executed, feeding back a sequence synchronous response data packet to the data sending equipment;
optionally, in a specific implementation manner, the data packet to be parsed is a link trigger data packet belonging to the data link layer data packet type; the data packet analysis module is specifically configured to:
analyzing the link triggering data packet and feeding back a link triggering response data packet to the data sending equipment;
If the link trigger data packet is a rising edge link trigger data packet, the link trigger response data packet is a rising edge link trigger response data packet; if the link trigger data packet is a falling edge link trigger data packet, the link trigger response data packet is a falling edge link trigger response data packet; the rising edge link triggering data packet is sent by the data sending equipment after detecting the rising edge of a link triggering source; the falling edge link trigger data packet is sent by the data sending device after detecting the falling edge of the link trigger source;
optionally, in a specific implementation manner, the data packet to be parsed is a link test data packet belonging to the data link layer data packet type; the data packet analysis module is specifically configured to:
analyzing the link test data packet, and checking the content of the data segment of the link test data packet according to the analysis result of the link test data packet;
after the verification is passed, feeding back a link test response data packet to the data sending equipment;
optionally, in a specific implementation manner, the data sending device is a camera, and the data receiving device is an acquisition card; or,
The data transmitting device is an acquisition card, and the data receiving device is a camera;
wherein, there is communication connection between the data sending equipment and the data receiving equipment.
Corresponding to the data transmission method applied to the data transmission device provided by the embodiment of the application, the embodiment of the application also provides a data transmission device applied to the data transmission device.
Fig. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the present application, where the device is applied to a data sending apparatus; as shown in fig. 7, the data transmission apparatus may include the following modules:
a data packet sending module 701, configured to send a data packet to be parsed to a data receiving device, so that a physical layer of the data receiving device receives the data packet to be parsed and transmits the received data packet to a data link layer of the data receiving device; the data link layer of the data receiving equipment receives the data packet to be analyzed, and determines the type of the data packet to be analyzed according to the start mark and/or the end mark of the data packet to be analyzed; if the type of the data packet to be analyzed is a data packet of a data link layer, analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment; and if the type of the data packet to be analyzed is a transmission layer data packet, removing the data link layer information of the data packet to be analyzed to obtain an application data packet, and transmitting the application data packet to the application layer through the transmission layer so that the application layer analyzes the application data packet.
And the response receiving module 702 is configured to receive a response data packet sent by the data receiving device.
Based on this, the data link layer packet received by the data receiving apparatus can be parsed by the data link layer without being transmitted to the application layer. Therefore, by applying the scheme provided by the embodiment of the application, the data processing link can be shortened, and the data processing efficiency is improved.
In addition, the data link layer determines the type of the data packet to be analyzed, and the data link layer and the application layer process the data packets to be analyzed in different types respectively, so that the complexity of the data packet to be analyzed, which is required to be analyzed by the application layer, can be reduced, and the accuracy of the data packet to be analyzed, which is required to be analyzed by the application layer, can be improved.
The embodiment of the application also provides an electronic device, as shown in fig. 8, including:
a memory 801 for storing a computer program;
the processor 802 is configured to implement any of the above-described data transmission methods when executing the program stored in the memory 801.
And the electronic device may further comprise a communication bus and/or a communication interface, through which the processor 802, the communication interface, and the memory 801 communicate with each other.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided herein, there is also provided a computer readable storage medium having stored therein a computer program which when executed by a processor implements the steps of any of the data transmission methods described above.
In yet another embodiment provided herein, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform any of the data transmission methods of the above embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a Solid State Disk (SSD), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the apparatus embodiments, the electronic device embodiments, the computer-readable storage medium embodiments, and the computer program product embodiments, the description is relatively simple, and reference should be made to the description of method embodiments in part, since they are substantially similar to the method embodiments.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application. Any modifications, equivalent substitutions, improvements, etc. that are within the spirit and principles of the present application are intended to be included within the scope of the present application.
Claims (12)
1. A data transmission method, wherein the method is applied to a data link layer of a data receiving device, the data receiving device further comprising: an application layer, a transport layer, and a physical layer; the method comprises the following steps:
receiving a data packet to be analyzed transmitted by data transmitting equipment through the physical layer, and determining the type of the data packet to be analyzed according to a start mark and/or an end mark of the data packet to be analyzed;
if the type of the data packet to be analyzed is a data packet of a data link layer, analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment;
and if the type of the data packet to be analyzed is a transmission layer data packet, removing the data link layer information of the data packet to be analyzed to obtain an application data packet, and transmitting the application data packet to the application layer through the transmission layer so that the application layer analyzes the application data packet.
2. The method according to claim 1, wherein the data receiving apparatus and the data transmitting apparatus have performed a sequence synchronization operation; the method further comprises the steps of:
if the type of the data packet to be analyzed is a transport layer data packet, extracting the sequence number of the data packet to be analyzed as a target sequence number;
if the target sequence number and the expected sequence number of the data link layer meet a preset relation, feeding back a sequence response data packet used for representing that the data packet to be analyzed is successfully received to the data sending equipment so that the data sending equipment deletes the stored data packet to be analyzed;
if the target sequence number and the expected sequence number do not meet the preset relation, feeding back a sequence retransmission data packet used for representing that the missed transmission layer data packet exists to the data sending equipment, so that the data sending equipment transmits the missed transmission layer data packet according to the appointed sequence number carried by the sequence retransmission data packet;
wherein, the appointed serial number is: receiving the maximum sequence number except the target sequence number in all sequence numbers of the successful transmission layer data packet; the expected sequence number is: and according to a preset sequence number increment rule, designating the sequence number next to the sequence number.
3. The method of claim 2, wherein the sequence synchronization operation is performed in a manner comprising:
receiving a sequence synchronous data packet sent by the data sending equipment, and analyzing the received sequence synchronous data packet to obtain a synchronous sequence number included in the sequence synchronous data packet;
updating the appointed sequence number into the synchronous sequence number, and feeding back a sequence synchronous response data packet to the data sending equipment.
4. The method according to claim 1, wherein the data packet to be parsed is a sequence reset data packet belonging to the data link layer data packet type; the analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending device includes:
analyzing the sequence reset data packet, and executing reset operation according to the analysis result of the sequence reset data packet;
and after the reset operation is executed, feeding back a sequence synchronous response data packet to the data sending equipment.
5. The method according to claim 1, wherein the data packet to be parsed is a link trigger data packet belonging to the data link layer data packet type; the analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending device includes:
Analyzing the link triggering data packet and feeding back a link triggering response data packet to the data sending equipment;
if the link trigger data packet is a rising edge link trigger data packet, the link trigger response data packet is a rising edge link trigger response data packet; if the link trigger data packet is a falling edge link trigger data packet, the link trigger response data packet is a falling edge link trigger response data packet; the rising edge link triggering data packet is sent by the data sending equipment after detecting the rising edge of a link triggering source; the falling edge link trigger data packet is transmitted by the data transmitting device after detecting the falling edge of the link trigger source.
6. The method according to claim 1, wherein the data packet to be parsed is a link test data packet belonging to the data link layer data packet type; the analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending device includes:
analyzing the link test data packet, and checking the content of the data segment of the link test data packet according to the analysis result of the link test data packet;
And feeding back a link test response data packet to the data sending equipment after the verification is passed.
7. A data transmission method, the method being applied to a data transmission apparatus, the method comprising:
transmitting a data packet to be analyzed to a data receiving device, so that a physical layer of the data receiving device receives the data packet to be analyzed and transmits the received data packet to a data link layer of the data receiving device; the data link layer of the data receiving equipment receives the data packet to be analyzed, and determines the type of the data packet to be analyzed according to the start mark and/or the end mark of the data packet to be analyzed; if the type of the data packet to be analyzed is a data packet of a data link layer, analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment; if the type of the data packet to be analyzed is a transmission layer data packet, removing the data link layer information of the data packet to be analyzed to obtain an application data packet, and transmitting the application data packet to the application layer through the transmission layer so that the application layer analyzes the application data packet;
And receiving the response data packet sent by the data receiving equipment.
8. A data transmission apparatus, the apparatus being applied to a data link layer of a data receiving device, the data receiving device further comprising: an application layer, a transport layer, and a physical layer; the device comprises:
the data packet receiving module is used for receiving a data packet to be analyzed, which is transmitted by the data transmitting equipment through the physical layer, and determining the type of the data packet to be analyzed according to the start mark and/or the end mark of the data packet to be analyzed;
the data packet analysis module is used for analyzing the data packet to be analyzed if the type of the data packet to be analyzed is a data packet of a data link layer, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment;
and the information removing module is used for removing the data link layer information of the data packet to be analyzed to obtain an application data packet if the type of the data packet to be analyzed is a transmission layer data packet, and transmitting the application data packet to the application layer through the transmission layer so that the application layer analyzes the application data packet.
9. The apparatus of claim 8, wherein the data receiving device and the data transmitting device have performed a sequence synchronization operation; the apparatus further comprises:
The sequence number extraction module is used for extracting the sequence number of the data packet to be analyzed as a target sequence number if the type of the data packet to be analyzed is a transmission layer data packet;
the sequence response module is used for feeding back a sequence response data packet used for representing that the data packet to be analyzed is successfully received to the data transmission equipment if the target sequence number and the expected sequence number of the data link layer meet a preset relation, so that the data transmission equipment deletes the stored data packet to be analyzed;
a sequence retransmission module, configured to, if the target sequence number and the expected sequence number do not satisfy the preset relationship, feed back a sequence retransmission data packet for characterizing that there is a missed transmission layer data packet to the data sending device, so that the data sending device transmits the missed transmission layer data packet according to a specified sequence number carried by the sequence retransmission data packet;
wherein, the appointed serial number is: receiving the maximum sequence number except the target sequence number in all sequence numbers of the successful transmission layer data packet; the expected sequence number is: according to a preset sequence number increment rule, the sequence number next to the appointed sequence number;
And/or the number of the groups of groups,
the execution mode of the sequence synchronization operation comprises the following steps:
receiving a sequence synchronous data packet sent by the data sending equipment, and analyzing the received sequence synchronous data packet to obtain a synchronous sequence number included in the sequence synchronous data packet;
updating the appointed sequence number into the synchronous sequence number, and feeding back a sequence synchronous response data packet to the data sending equipment;
and/or the number of the groups of groups,
the data packet to be analyzed is a sequence reset data packet belonging to the data link layer data packet type; the data packet analysis module is specifically configured to:
analyzing the sequence reset data packet, and executing reset operation according to the analysis result of the sequence reset data packet;
after the reset operation is executed, feeding back a sequence synchronous response data packet to the data sending equipment;
and/or the number of the groups of groups,
the data packet to be analyzed is a link trigger data packet belonging to the data link layer data packet type; the data packet analysis module is specifically configured to:
analyzing the link triggering data packet and feeding back a link triggering response data packet to the data sending equipment;
if the link trigger data packet is a rising edge link trigger data packet, the link trigger response data packet is a rising edge link trigger response data packet; if the link trigger data packet is a falling edge link trigger data packet, the link trigger response data packet is a falling edge link trigger response data packet; the rising edge link triggering data packet is sent by the data sending equipment after detecting the rising edge of a link triggering source; the falling edge link trigger data packet is sent by the data sending device after detecting the falling edge of the link trigger source;
And/or the number of the groups of groups,
the data packet to be analyzed is a link test data packet belonging to the data link layer data packet type; the data packet analysis module is specifically configured to:
analyzing the link test data packet, and checking the content of the data segment of the link test data packet according to the analysis result of the link test data packet;
and feeding back a link test response data packet to the data sending equipment after the verification is passed.
10. A data transmission apparatus, the apparatus being applied to a data transmission device, the apparatus comprising:
the data packet sending module is used for sending a data packet to be analyzed to the data receiving equipment so that a physical layer of the data receiving equipment receives the data packet to be analyzed and transmits the received data packet to a data link layer of the data receiving equipment; the data link layer of the data receiving equipment receives the data packet to be analyzed, and determines the type of the data packet to be analyzed according to the start mark and/or the end mark of the data packet to be analyzed; if the type of the data packet to be analyzed is a data packet of a data link layer, analyzing the data packet to be analyzed, and feeding back a response data packet corresponding to the data packet to be analyzed to the data sending equipment; if the type of the data packet to be analyzed is a transmission layer data packet, removing the data link layer information of the data packet to be analyzed to obtain an application data packet, and transmitting the application data packet to the application layer through the transmission layer so that the application layer analyzes the application data packet;
And the response receiving module is used for receiving the response data packet sent by the data receiving equipment.
11. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the method of any one of claims 1-6 or the method of claim 7 when executing a program stored on a memory.
12. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the method of any of claims 1-6 or the method of claim 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311246422.2A CN117278174A (en) | 2023-09-25 | 2023-09-25 | Data transmission method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311246422.2A CN117278174A (en) | 2023-09-25 | 2023-09-25 | Data transmission method and device, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117278174A true CN117278174A (en) | 2023-12-22 |
Family
ID=89202194
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311246422.2A Pending CN117278174A (en) | 2023-09-25 | 2023-09-25 | Data transmission method and device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117278174A (en) |
-
2023
- 2023-09-25 CN CN202311246422.2A patent/CN117278174A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4495493A (en) | Method of controlling the transmission/reception of data in a local communication network, and data transmission system for performing the method | |
| CN101217429B (en) | Method for Determining Initiation Relationship Between TCP Messages Based on TCP Timestamp Options | |
| CN112822260B (en) | File transmission method and device, electronic equipment and storage medium | |
| EP0195598A2 (en) | Universal protocol data receiver | |
| US6965571B2 (en) | Precise error reporting | |
| CN112272243B (en) | Address allocation method | |
| US11341842B2 (en) | Metering data management system and computer readable recording medium | |
| CN111404872A (en) | Message processing method, device and system | |
| CN109756401B (en) | Test method, test device, electronic equipment and storage medium | |
| CN114489718A (en) | Firmware upgrading method, device, equipment and storage medium of tree connection system | |
| CN103365810A (en) | Method and apparatus to reduce flash memory device programming time over a C.A.N. bus | |
| US20090022158A1 (en) | Method For Increasing Network Transmission Efficiency By Increasing A Data Updating Rate Of A Memory | |
| US11435999B2 (en) | Method and apparatus for upgrading software | |
| CN112291523A (en) | Image data receiving system and method of chip mounter | |
| CN118826968B (en) | Method and device for processing midway failure data aiming at large batch of data | |
| CN114499750B (en) | A data packet processing method, communication device and communication system | |
| CN117278174A (en) | Data transmission method and device, electronic equipment and storage medium | |
| CN117061072B (en) | Message transmission method, device, equipment and storage medium | |
| CN113259490A (en) | Multi-level node network data transmission method based on UDP transmission protocol | |
| CN115002135A (en) | Multi-terminal cooperation method, device and system and computer readable storage medium | |
| CN116488778A (en) | Data communication method and device and terminal equipment | |
| CN117640459A (en) | Time delay measurement method and device, equipment and computer readable storage medium | |
| CN109327284B (en) | Data transmission method and device and electronic equipment | |
| WO2017063589A1 (en) | Data transmission method and apparatus | |
| US20210176021A1 (en) | Adjusting method for data transmission |
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 |