CN113114526B - Data transmission method and device based on sub-packet interference prevention - Google Patents

Data transmission method and device based on sub-packet interference prevention Download PDF

Info

Publication number
CN113114526B
CN113114526B CN202110272382.3A CN202110272382A CN113114526B CN 113114526 B CN113114526 B CN 113114526B CN 202110272382 A CN202110272382 A CN 202110272382A CN 113114526 B CN113114526 B CN 113114526B
Authority
CN
China
Prior art keywords
sub
frame
packet
data
frequency point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110272382.3A
Other languages
Chinese (zh)
Other versions
CN113114526A (en
Inventor
郑凛
刘军林
李亮
温文坤
唐瑞波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Jixiang Technology Co Ltd
Original Assignee
Guangzhou Jixiang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Jixiang Technology Co Ltd filed Critical Guangzhou Jixiang Technology Co Ltd
Priority to CN202110272382.3A priority Critical patent/CN113114526B/en
Publication of CN113114526A publication Critical patent/CN113114526A/en
Application granted granted Critical
Publication of CN113114526B publication Critical patent/CN113114526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing

Abstract

The embodiment of the application discloses a data transmission method and device based on sub-packet interference prevention. According to the technical scheme provided by the embodiment of the application, a data frame to be sent is divided into a plurality of sub-frame packets containing redundant data through a terminal node, each corresponding frequency point is selected to send each sub-frame packet to a server side, the server side receives each sub-frame packet from each frequency point, each sub-frame packet is spliced into the data frame according to sequence number information, and if the corresponding sub-frame packet is determined to be lost, the corresponding lost sub-frame packet is restored based on the redundant data. By adopting the technical means, the data frame is split and the frequency point is divided for sending, so that the data interference can be reduced, and the stability of data transmission is improved. And by adding redundant data in the sub-frame packets, data loss can be avoided, and the success rate of data transmission is improved.

Description

Data transmission method and device based on sub-packet interference prevention
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a data transmission method and device based on sub-packet interference prevention.
Background
Currently, in the low power consumption wan technology, in order to ensure the stability of data long-distance transmission, a high spreading factor (i.e. a low rate) is selected for data transmission. The number of bits carried by data transmission under high spreading factor is relatively large, so that the data can meet the transmission requirement of longer distance. The more the bit number is, the longer the data transmission time is, and the longer the channel occupation time for data transmission is, the further collision between data is caused, so that the receiving end cannot correctly demodulate the service data, and the data packet loss situation occurs. Correspondingly, in order to ensure that the receiving end receives the corresponding data packet, the terminal node starts to resend the data packet because the receiving end cannot receive the response signal. However, under the condition of similar network conditions, the retransmission of the data packet may also encounter interference collision again, which may further aggravate the conditions of network channel occupation and interference collision of the whole system, and further affect the service operation processing of the system.
Disclosure of Invention
The embodiment of the application provides a data transmission method and device based on sub-packet interference prevention, which can reduce data interference, avoid data loss and improve network robustness and data transmission success rate.
In a first aspect, an embodiment of the present application provides a method for data transmission based on a packet interference prevention, including:
a terminal node splits a data frame to be transmitted into a plurality of sub-frame packets containing redundant data, wherein the sub-frame packets contain corresponding sequence number information, and the sub-frame packets with adjacent sequence numbers are redundant with each other;
the terminal node selects each corresponding frequency point to send each sub-frame packet to the server;
and the server receives the sub-frame packets from the frequency points, splices the sub-frame packets into the data frames according to the sequence number information, and restores the corresponding lost sub-frame packets based on the redundant data if the corresponding sub-frame packets are determined to be lost.
Further, determining that the corresponding sub-frame packet is lost comprises:
and comparing the received sequence number information of each sub-frame packet, and if the corresponding sequence number information is determined to be missing, judging that the corresponding sub-frame packet is lost.
Further, recovering the corresponding lost sub-frame packet based on the redundancy data, comprising:
determining the sequence number information of the currently lost sub-frame packet, and determining the adjacent sub-frame packets according to the corresponding sequence number information;
extracting the corresponding redundant data from the sub-frame packets adjacent to each other from front and back, and recovering the currently lost sub-frame packet based on the corresponding redundant data.
Further, after recovering the corresponding lost sub-frame packet based on the redundant data, the method further includes:
and the server side generates a communication quality record corresponding to each frequency point according to the packet loss information corresponding to each frequency point in a set period, and sends the communication quality record to the terminal node.
Further, after sending the communication quality record to the terminal node, the method further includes:
and the terminal node determines the packet loss times corresponding to each frequency point according to the communication quality records, and selects the frequency point according to the packet loss times to transmit the sub-frame packet of the next set period.
Further, after recovering the corresponding lost sub-frame packet based on the redundant data, the method further includes:
and if the corresponding lost sub-frame packet is failed to recover, the server side generates a retransmission instruction and sends the retransmission instruction to the terminal node, and the terminal node is instructed to retransmit the corresponding lost sub-frame packet.
Further, after the server generates a retransmission instruction and sends the retransmission instruction to the terminal node, the method further includes:
and the terminal node responds to the retransmission instruction to reselect a frequency point and sends the corresponding lost sub-frame packet to the server.
In a second aspect, an embodiment of the present application provides a device for data transmission based on packet interference prevention, including:
the terminal node is used for receiving a data frame to be sent, and transmitting the data frame to be sent to a splitting module;
the sending module is used for selecting each corresponding frequency point through the terminal node and sending each sub-frame packet to the server;
and the receiving module is used for receiving each sub-frame packet from each frequency point through the server side, splicing each sub-frame packet into the data frame according to the sequence number information, and if the corresponding sub-frame packet is determined to be lost, restoring the corresponding lost sub-frame packet based on the redundant data.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, cause the one or more processors to implement the packet interference prevention-based data transmission method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the method for packet-based interference-prevention data transmission according to the first aspect when executed by a computer processor.
According to the method and the device for transmitting the data frame, the data frame to be transmitted is divided into a plurality of sub-frame packets containing redundant data through the terminal node, each corresponding frequency point is selected to transmit each sub-frame packet to the server side, the server side receives each sub-frame packet from each frequency point, each sub-frame packet is spliced into the data frame according to the sequence number information, and if the corresponding sub-frame packet is determined to be lost, the corresponding lost sub-frame packet is restored based on the redundant data. By adopting the technical means, the data frame is split and the data frame is sent in frequency division points, so that the data interference can be reduced, and the stability of data transmission is improved. And by adding redundant data in the sub-frame packets, data loss can be avoided, and the success rate of data transmission is improved.
Drawings
Fig. 1 is a flowchart of a method for data transmission based on a packet interference prevention according to an embodiment of the present application;
fig. 2 is a schematic diagram of sub-frame packet frequency division point transmission in the first embodiment of the present application;
FIG. 3 is a flowchart illustrating sub-frame packet recovery according to one embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a data transmission apparatus based on a sub-packet interference prevention according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The data transmission method based on the sub-packet interference prevention aims to reduce data interference and improve data transmission stability by splitting a data frame and sending the data frame in frequency division points when the data frame is sent. And redundant data is added in each split sub-frame packet, so that when data is lost, the data is recovered through the redundant data, the data loss is avoided, and the success rate of data transmission is improved. Compared with the traditional data transmission mode, the terminal node sends data mainly depending on some parameter settings, such as frequency, spreading factor, bandwidth and coding rate, which determine the time when the terminal node sends a frame of data frame, i.e. the transmission time of the data frame on the channel. The longer the terminal node transmits a frame of data, the greater the likelihood of interference by other data frames during that time period. And the reduction of the transmission time of the data frame in the channel can reduce the interference so as to improve the success rate of data transmission and the robustness of the network and improve the collision interference in the data transmission process. Referring to the data frame transmission time formula:
Figure BDA0002975050020000041
Figure BDA0002975050020000042
wherein, T s For the transmission time, R, of data frames in the channel s For data rate, SF is spreading factor, BW is bandwidth, and CR is coding rate. Based on the above formula, reducing the transmission time of a single data frame can reduce the length of the data frame, reduce the spreading factor, increase the bandwidth and reduce the coding rate. By reducing the length of the data frame, the transmission time of the data frame in the channel can be reduced. Therefore, the data transmission method based on the sub-packet interference prevention is provided to solve the problem of collision interference of existing data frame transmission.
The first embodiment is as follows:
fig. 1 is a flowchart of a data transmission method based on a sub-packet interference prevention according to an embodiment of the present disclosure, where the data transmission method based on the sub-packet interference prevention provided in this embodiment may be executed by a data transmission device based on the sub-packet interference prevention, the data transmission device based on the sub-packet interference prevention may be implemented in a software and/or hardware manner, and the data transmission device based on the sub-packet interference prevention may be formed by two or more physical entities or may be formed by one physical entity. Generally, the packet interference-based data transmission device may be an internet of things system.
The following description will be given taking a data transmission apparatus based on the sub-packet interference prevention as an example of a main body that performs a data transmission method based on the sub-packet interference prevention. Referring to fig. 1, the data transmission method based on sub-packet interference prevention specifically includes:
s110, a terminal node splits a data frame to be sent into a plurality of sub-frame packets containing redundant data, wherein the sub-frame packets contain corresponding sequence number information, and the sub-frame packets with adjacent sequence numbers are redundant with each other;
and S120, the terminal node selects each corresponding frequency point to send each sub-frame packet to the server.
Specifically, in order to avoid mutual interference and collision between different data frames, the embodiment of the present application adopts a packet-division mechanism to reduce the length of the data frame, and divides the service data to be transmitted into a plurality of sub-frame packets according to a set splitting rule, and the sub-frame packets are transmitted on different frequencies, so as to reduce the possibility of being interfered. And for a data frame to be sent, the terminal node is correspondingly split into a set number of subframe packets. When data frame splitting is performed, each sub-frame packet includes the corresponding redundant data and its sequence number information in addition to its own necessary data content. The redundant data can provide fault tolerance for data transmission, and when a packet loss condition occurs when transmission of a certain sub-frame packet fails, the server end can also recover the lost sub-frame packet through the redundant data of other sub-frame packets, so that the success rate of data transmission is guaranteed. Generally, when a sub-frame packet is disassembled at a terminal node, data contents transmitted by two sub-frame packets adjacent to each other before and after are partially overlapped according to different sequence numbers of the sub-frame packets, so that the two sub-frame packets adjacent to each other before and after include corresponding redundant data. And, according to the actual need, the mutual redundant data between the sub-frame packets can be set as one half of the total data, when a certain sub-frame packet is lost subsequently, the lost sub-frame packet can be recovered according to the two sub-frame packets adjacent to each other before and after the certain sub-frame packet and the mutual redundant partial data.
As shown in fig. 2, after the data frame splitting is completed, in the embodiment of the present application, a corresponding frequency point is selected for each sub-frame to be transmitted. The sub-frames are transmitted at different frequencies, so that interference and collision among data can be further avoided. Even if the transmission of a subframe packet has interference, the data can be restored through redundant data of other subframe packets.
In one embodiment, when the terminal node splits the subframe packet, the terminal node splits the data frame into the subframe packets of the corresponding number according to the number of the currently available frequency points. Thereby shortening the length of the sub-frame packet as much as possible. It can be understood that the shorter the sub-frame packet length, the shorter the transmission time, and the less interference and collision. Therefore, the success rate of data transmission can be further improved. In addition, the terminal node can also select a set number of frequency points from the current available frequency points in turn to transmit the sub-frame packets. For example, the data frame is divided into one half of the number of available frequency points according to the number of available frequency points, and when the corresponding sub-frame packet is transmitted, one half of the frequency points are selected from the available frequency points to transmit the sub-frame packet. Correspondingly, when the next data frame is sent, the data frame is also divided into one half of the number of the available frequency points, and then the remaining one half of the frequency points are selected to send the sub-frame packets, so that the interference and collision among the data frames can be further reduced, and the success rate of data transmission is further ensured.
S130, the server side receives the sub-frame packets from the frequency points, splices the sub-frame packets into the data frames according to the sequence number information, and restores the corresponding lost sub-frame packets based on the redundant data if the corresponding sub-frame packets are determined to be lost.
Correspondingly, after the terminal node sends the sub-frame packets, the terminal node receives the sub-frame packets from the corresponding frequency points. And splicing based on each sub-frame packet to obtain a complete data frame. The data content of the sub-frame packets is spliced according to the sequence number information of each sub-frame packet, and the redundant data of each sub-frame packet is adaptively screened out during data splicing, so that a final data frame is obtained.
And when data splicing is carried out, packet loss detection is carried out according to the sequence number information of the sub-frame packets. And comparing the received sequence number information of each sub-frame packet, and if the corresponding sequence number information is determined to be missing, judging that the corresponding sub-frame packet is lost. It can be understood that each sub-frame packet includes corresponding sequence number information, and when a certain sequence number information is lost, the sequence number information corresponds to a condition that the sub-frame packet is lost. Further, after it is determined that a certain subframe packet is lost, the embodiment of the present application further recovers the currently lost subframe packet through redundant data of the remaining subframe packets. Referring to fig. 3, the process of subframe packet recovery includes:
s1301, determining the sequence number information of the currently lost sub-frame packet, and determining the sub-frame packets adjacent to each other in front and back according to the corresponding sequence number information;
s1302, extracting the corresponding redundant data from the sub-frame packets adjacent to each other from front to back, and restoring the currently lost sub-frame packet based on the corresponding redundant data.
Specifically, when a sub-frame packet is interfered by a network, the sub-frame packet may not be successfully demodulated, but because the data frame is split into a plurality of sub-frame packets in the embodiment of the present application, each sub-frame packet includes not only necessary data but also bytes with sequence number information and built-in redundant data, when a certain sub-frame packet is lost due to interference collision, the data frame can still be completely spliced at a receiving end.
For example, if the original data is directly sent at the terminal node, it is assumed that the original data is D1, D2, D3,. and Dn, that is, the data sent by the terminal node is D1, D2, D3,. and Dn. The coding matrix of the data is:
Figure BDA0002975050020000061
after the redundant data is added into the sub-frame packet, a first-order redundancy algorithm is adopted, one redundant data (namely the length of a coding group is n +1) is added to every n data, the n data and the corresponding redundant data form a group of data, and any data lost in the group of data can be recovered through the other n data. The coding matrix of the data is:
Figure BDA0002975050020000071
based on the encoding matrix, a row of redundancy algorithm parameters is inserted into the encoding matrix, C1 is calculated redundancy data, and C1 is D1+ D2+. + Dn. By using galois finite field operation, the addition and subtraction operation can be converted into an exclusive or operation, so the calculation formula of C1 is simplified as follows:
Figure BDA0002975050020000072
further, assuming that 4 sub-frame packets are transmitted (i.e., n is 4), when the sub-frame packet D2 is lost, the coding matrix of the data is:
Figure BDA0002975050020000073
knowing C1 ═ D1+ D2+. + Dn, further yields the recovery formula for D2: d2 ═ C1-D1-D3. -Dn. It is understood that if the lost data is Di, where i is 1, 2, and n, then the recovery formula for Di is: Di-C1-D1-D2-D (i-1) -D (i +1) -, Dn. By using galois finite field operation, the formula can be simplified as follows:
Figure BDA0002975050020000074
based on the above calculation formula, the corresponding lost sub-frame packet can be calculated and restored. Further, on the premise of using a first-order redundancy algorithm, by increasing the data amount of mutual redundancy between two sub-frame packets, that is, the redundant data between adjacent sub-frame packets reaches 2/3 of the total data amount, the recovery operation of packet loss of two consecutive sub-frames can be realized. Wherein, the coding matrix of the data is:
Figure BDA0002975050020000075
based on the coding matrix, when a subframe packet is lost, the data of two subframe packets before and after the subframe packet can be recovered. If the lost data is the ith frame, the data of the ith frame can be recovered through the (i-1) th frame and the (i +1) th frame. Even if a plurality of continuous frames are lost due to interference, the continuous data can be recovered based on the redundancy algorithm due to the guarantee of the redundant data amount, so that the whole data frame is successfully spliced, and the robustness of the network is improved.
In one embodiment, the server side generates a communication quality record corresponding to each frequency point according to packet loss information corresponding to each frequency point in a set period, and sends the communication quality record to the terminal node. Specifically, according to the embodiment of the application, by recording the communication quality records of the frequency points, the data transmission quality of the frequency points can be conveniently determined, so that a system can conveniently select a channel with better communication quality to transmit service data, and the stability of data transmission is further improved.
Specifically, after the communication quality record is sent to the terminal node, the terminal node determines packet loss times corresponding to each frequency point according to the communication quality record, and selects a frequency point according to the packet loss times to send the sub-frame packet of the next set period. It can be understood that, the communication quality record records the packet loss situation when the server receives the sub-frame packet from each frequency point, and based on the communication quality record, the terminal node can determine the packet loss times corresponding to each frequency point, and then, when the sub-frame packet is sent in the next set period, the frequency point with less packet loss times is preferred to send the sub-frame packet. Therefore, the risk of packet loss of the sub-frame packets can be further reduced, and the stability of data transmission is guaranteed.
In one embodiment, if the recovery of the corresponding lost sub-frame packet fails, the server generates a retransmission instruction and sends the retransmission instruction to the terminal node, and instructs the terminal node to retransmit the corresponding lost sub-frame packet. And the terminal node responds to the retransmission instruction to reselect a frequency point and sends the corresponding lost sub-frame packet to the server. Specifically, when the server recovers the lost sub-frame packet based on the redundant data, the received sub-frame packet may not have the redundant data corresponding to the lost sub-frame packet because the lost sub-frame packet is more, and the lost sub-frame packet cannot be recovered, the lost sub-frame packet needs to be determined according to the sequence number information at this time, and then a retransmission instruction is generated according to the lost sub-frame packet, and the retransmission instruction is sent to the terminal node to instruct the terminal node to perform retransmission operation of the lost sub-frame packet. It can be understood that the integrity of data reception can be ensured by determining the lost sub-frame packet through the sequence number information and instructing the terminal node to retransmit the sub-frame packet through the retransmission instruction, so that the server can completely splice the data frames. It should be noted that, because the sub-frame packet is lost due to the fact that the original frequency point is selected to transmit the sub-frame packet, in order to guarantee the success rate of data transmission, the terminal node re-selects one frequency point to transmit the sub-frame packet lost before. It can be understood that, by switching the frequency points to send the sub-frame packets, the situation that the sub-frame packet transmission fails for many times can be avoided, and the stability of data transmission is further improved.
In one embodiment, the server side counts packet loss times corresponding to frequency points in a set time period, and determines a frequency point with the packet loss times lower than a set threshold as a data frame transmission frequency point, where the data frame transmission frequency point is used for data frame transmission of the terminal node in a next set period. It can be understood that, considering that the number of packet loss times of the data frame transmission frequency point in the set time period is less, the data transmission quality is relatively better. Then, in order to improve the data transmission efficiency, the data frame can be directly transmitted through the data frame transmission frequency point without splitting the data frame, so that the data transmission and processing efficiency is improved while the data transmission stability and integrity are ensured.
The data frame to be sent is divided into a plurality of sub-frame packets containing redundant data through the terminal node, each corresponding frequency point is selected to send each sub-frame packet to the server, the server receives each sub-frame packet from each frequency point, each sub-frame packet is spliced into the data frame according to the sequence number information, and if the corresponding sub-frame packet is determined to be lost, the corresponding lost sub-frame packet is recovered based on the redundant data. By adopting the technical means, the data frame is split and the data frame is sent in frequency division points, so that the data interference can be reduced, and the stability of data transmission is improved. And by adding redundant data in the sub-frame packets, data loss can be avoided, and the success rate of data transmission is improved.
Example two:
on the basis of the foregoing embodiment, fig. 4 is a schematic structural diagram of a data transmission apparatus based on a sub-packet interference prevention according to a second embodiment of the present application. Referring to fig. 4, the data transmission apparatus based on the packet interference prevention provided in this embodiment specifically includes: a splitting module 21, a sending module 22 and a receiving module 23.
The splitting module 21 is configured to split a data frame to be sent into a plurality of sub-frame packets including redundant data through a terminal node, where the sub-frame packets include corresponding sequence number information, and the sub-frame packets with adjacent sequence numbers are redundant to each other;
the sending module 22 is configured to select each corresponding frequency point through the terminal node to send each sub-frame packet to the server;
the receiving module 23 is configured to receive each sub-frame packet from each frequency point through the server, splice the sub-frame packets into the data frame according to the sequence number information, and recover the corresponding lost sub-frame packet based on the redundant data if it is determined that the corresponding sub-frame packet is lost.
The data frame to be sent is divided into a plurality of sub-frame packets containing redundant data through the terminal node, each corresponding frequency point is selected to send each sub-frame packet to the server, the server receives each sub-frame packet from each frequency point, each sub-frame packet is spliced into the data frame according to the sequence number information, and if the corresponding sub-frame packet is determined to be lost, the corresponding lost sub-frame packet is recovered based on the redundant data. By adopting the technical means, the data frame is split and the frequency point is divided for sending, so that the data interference can be reduced, and the stability of data transmission is improved. And by adding redundant data in the sub-frame packets, data loss can be avoided, and the success rate of data transmission is improved.
The data transmission device based on the sub-packet interference prevention provided by the second embodiment of the present application can be used for executing the data transmission method based on the sub-packet interference prevention provided by the first embodiment, and has corresponding functions and beneficial effects.
Example three:
an embodiment of the present application provides an electronic device, and with reference to fig. 5, the electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more. The processor, memory, communication module, input device, and output device of the electronic device may be connected by a bus or other means.
The memory 32 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the data transmission method based on the packet interference prevention according to any embodiment of the present application (for example, a splitting module, a sending module, and a receiving module in a data transmission device based on the packet interference prevention). The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory remotely located from the processor, which may be connected to the device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications and data processing of the device by executing software programs, instructions and modules stored in the memory, that is, implements the above-described packet interference prevention-based data transmission method.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The electronic device provided above can be used to execute the data transmission method based on the sub-packet interference prevention provided in the first embodiment, and has corresponding functions and beneficial effects.
Example four:
embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for packet-based interference-prevention data transmission, where the method for packet-based interference-prevention data transmission includes: a terminal node splits a data frame to be transmitted into a plurality of sub-frame packets containing redundant data, wherein the sub-frame packets contain corresponding sequence number information, and the sub-frame packets with adjacent sequence numbers are redundant with each other; the terminal node selects each corresponding frequency point to send each sub-frame packet to the server; and the server receives the sub-frame packets from the frequency points, splices the sub-frame packets into the data frames according to the sequence number information, and restores the corresponding lost sub-frame packets based on the redundant data if the corresponding sub-frame packets are determined to be lost.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the data transmission method based on packet interference prevention described above, and may also execute related operations in the data transmission method based on packet interference prevention provided in any embodiment of the present application.
The apparatus, the storage medium, and the electronic device for packet-based interference prevention provided in the foregoing embodiments may perform the method for packet-based interference prevention provided in any embodiment of the present application, and reference may be made to the method for packet-based interference prevention provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (7)

1. A data transmission method based on sub-package interference prevention is characterized by comprising the following steps:
a terminal node splits a data frame to be transmitted into a plurality of sub-frame packets containing redundant data, wherein the sub-frame packets contain corresponding sequence number information, and the sub-frame packets with adjacent sequence numbers are redundant with each other;
the terminal node selects each corresponding frequency point to send each sub-frame packet to the server;
the server receives each sub-frame packet from each frequency point, splices each sub-frame packet into the data frame according to the sequence number information, and restores the corresponding lost sub-frame packet based on the redundant data if the corresponding sub-frame packet is determined to be lost, wherein the method comprises the following steps: determining the sequence number information of the currently lost sub-frame packet, and determining the adjacent sub-frame packets according to the corresponding sequence number information;
extracting corresponding redundant data from the sub-frame packets adjacent from front to back, and recovering the currently lost sub-frame packet based on the corresponding redundant data;
the server side counts the packet loss times corresponding to each frequency point in a set time period, and determines the frequency point with the packet loss times lower than a set threshold value as a data frame transmission frequency point, wherein the data frame transmission frequency point is used for data frame transmission of the terminal node in the next set period;
the server side generates a communication quality record corresponding to each frequency point according to packet loss information corresponding to each frequency point in a set period, and sends the communication quality record to the terminal node;
and the terminal node determines the packet loss times corresponding to each frequency point according to the communication quality records, and selects the frequency point according to the packet loss times to transmit the sub-frame packet of the next set period.
2. The method of claim 1, wherein determining that the corresponding sub-frame packet is lost comprises:
and comparing the received sequence number information of each sub-frame packet, and if the corresponding sequence number information is determined to be missing, judging that the corresponding sub-frame packet is lost.
3. The method of claim 1, wherein after recovering the corresponding lost sub-frame packet based on the redundancy data, further comprising:
and if the corresponding lost sub-frame packet is failed to recover, the server side generates a retransmission instruction and sends the retransmission instruction to the terminal node, and the terminal node is instructed to retransmit the corresponding lost sub-frame packet.
4. The method according to claim 3, wherein after the server generates the retransmission command and sends the retransmission command to the terminal node, the method further comprises:
and the terminal node responds to the retransmission instruction to reselect a frequency point and sends the corresponding lost sub-frame packet to the server.
5. A data transmission device based on sub-packet interference prevention is characterized by comprising:
the terminal node is used for receiving a data frame to be sent, and transmitting the data frame to be sent to a splitting module;
a sending module, configured to select each corresponding frequency point through a terminal node to send each sub-frame packet to a server, so that the server counts packet loss times corresponding to each frequency point in a set time period, determines a frequency point with the packet loss time lower than a set threshold as a data frame transmission frequency point, where the data frame transmission frequency point is used for data frame transmission of the terminal node in a next set period, and the server generates a communication quality record corresponding to each frequency point according to packet loss information corresponding to each frequency point in the set period and sends the communication quality record to the terminal node; the terminal node determines the packet loss times corresponding to each frequency point according to the communication quality records, and selects the frequency point according to the packet loss times to send the sub-frame packet of the next set period;
a receiving module, configured to receive each sub-frame packet from each frequency point through the server, splice the sub-frame packets into the data frame according to the sequence number information, and recover the corresponding lost sub-frame packet based on the redundant data if it is determined that the corresponding sub-frame packet is lost, where the receiving module includes: determining the sequence number information of the currently lost sub-frame packet, and determining the sub-frame packets adjacent to each other in front and back according to the corresponding sequence number information; extracting the corresponding redundant data from the sub-frame packets adjacent from front to back, and recovering the currently lost sub-frame packet based on the corresponding redundant data.
6. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
the one or more programs being executable by the one or more processors to cause the one or more processors to implement the method for packet interference-based data transmission according to any one of claims 1-4.
7. A storage medium containing computer-executable instructions, which when executed by a computer processor implement the packet interference-based data transmission method according to any one of claims 1 to 4.
CN202110272382.3A 2021-03-12 2021-03-12 Data transmission method and device based on sub-packet interference prevention Active CN113114526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110272382.3A CN113114526B (en) 2021-03-12 2021-03-12 Data transmission method and device based on sub-packet interference prevention

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110272382.3A CN113114526B (en) 2021-03-12 2021-03-12 Data transmission method and device based on sub-packet interference prevention

Publications (2)

Publication Number Publication Date
CN113114526A CN113114526A (en) 2021-07-13
CN113114526B true CN113114526B (en) 2022-09-30

Family

ID=76711171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110272382.3A Active CN113114526B (en) 2021-03-12 2021-03-12 Data transmission method and device based on sub-packet interference prevention

Country Status (1)

Country Link
CN (1) CN113114526B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810302B (en) * 2021-09-18 2023-11-14 深圳市奥拓普科技有限公司 Communication control method and communication transmission system
CN114422458A (en) * 2021-12-22 2022-04-29 北京凯视达信息技术有限公司 Multi-channel receiving video transmission method and device
CN114884938A (en) * 2022-07-11 2022-08-09 深圳瑞力网科技有限公司 Method for adaptively processing downloaded file by cloud server and corresponding server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410927A (en) * 2014-11-27 2015-03-11 江苏辰汉电子科技有限公司 Low-redundancy compensation method of video transmission packet loss in erasure channel
CN105704580A (en) * 2016-01-21 2016-06-22 深圳比特新技术有限公司 Video transmission method
CN111181698A (en) * 2019-10-31 2020-05-19 腾讯云计算(北京)有限责任公司 Data processing method, device, equipment and medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100571217C (en) * 2007-09-19 2009-12-16 腾讯科技(深圳)有限公司 A kind of method, R-T unit and system that in data transmission procedure, resists packet loss
CN101136722B (en) * 2007-10-15 2010-08-11 北京交通大学 Data transmitting method and transmitting equipment suitable for high speed mobile terminal
US7992037B2 (en) * 2008-09-11 2011-08-02 Nec Laboratories America, Inc. Scalable secondary storage systems and methods
WO2011108041A1 (en) * 2010-03-04 2011-09-09 日本電気株式会社 Storage device
CN106571893B (en) * 2016-11-10 2022-05-24 深圳市潮流网络技术有限公司 Coding and decoding method for voice data
CN111835462B (en) * 2020-07-06 2021-08-31 天津大学 Wireless sensor network packet loss recovery method based on erasure codes

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410927A (en) * 2014-11-27 2015-03-11 江苏辰汉电子科技有限公司 Low-redundancy compensation method of video transmission packet loss in erasure channel
CN105704580A (en) * 2016-01-21 2016-06-22 深圳比特新技术有限公司 Video transmission method
CN111181698A (en) * 2019-10-31 2020-05-19 腾讯云计算(北京)有限责任公司 Data processing method, device, equipment and medium

Also Published As

Publication number Publication date
CN113114526A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN113114526B (en) Data transmission method and device based on sub-packet interference prevention
US8526513B2 (en) Method and apparatus for transmitting data, and communication system
CN102761509B (en) The receiving system of ofdm system and the method for reduction receiving system internal memory
CN101656597B (en) Data receiving and transmitting methods and devices and data transmission system
US10348616B2 (en) Packet transmission method and apparatus, and interconnect interface
US20060085717A1 (en) Communications method, communications apparatus and communications system using same communications apparatus
CN110943800A (en) Method, device and system for sending data packet, storage medium and electronic device
CN108512785B (en) Data transmission protocol method
CN110557677A (en) Video transmission method and device
US8621311B2 (en) Data transfer device, method, and program
CN109818714B (en) Dynamic FEC method, device, computer terminal and computer readable storage medium
CN112995685B (en) Data transmitting method and device, data receiving method and device, medium and equipment
CN114448569A (en) Data transmission method, device and computer storage medium
US20130064312A1 (en) Data transmission method and device
CN113891348A (en) Transmission method of random access information, terminal and network side equipment
CN111181698B (en) Data processing method, device, equipment and medium
WO2018228193A1 (en) Service data unit segmentation processing method and data receiving end
KR20120112981A (en) Receiving node and method of reducing retransmission of data frame
WO2021190031A1 (en) Wdm-based data transmission method, apparatus, and system, and storage medium
CN105490773A (en) Method and device for transmitting multimedia data
CN112804028B (en) Data packet transmission method, equipment and storage medium
CN108718226B (en) Transmission method for data of underwater long-delay sensor network transmission layer
CN106027404A (en) Network performance optimization method and apparatus based on adaptive compensation coding
CN103414543A (en) Method and terminal for adjusting HARQ buffer memory amounts
CN116847453A (en) Satellite data transmission and satellite Internet of things access time management method

Legal Events

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