CN112492648A - Data packet loss processing method, system and terminal - Google Patents

Data packet loss processing method, system and terminal Download PDF

Info

Publication number
CN112492648A
CN112492648A CN202011507046.4A CN202011507046A CN112492648A CN 112492648 A CN112492648 A CN 112492648A CN 202011507046 A CN202011507046 A CN 202011507046A CN 112492648 A CN112492648 A CN 112492648A
Authority
CN
China
Prior art keywords
data packet
equipment
router
data
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011507046.4A
Other languages
Chinese (zh)
Other versions
CN112492648B (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.)
Microgrid Union Technology Chengdu Co ltd
Original Assignee
Shenzhen Micronet Force Information 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 Shenzhen Micronet Force Information Technology Co Ltd filed Critical Shenzhen Micronet Force Information Technology Co Ltd
Priority to CN202011507046.4A priority Critical patent/CN112492648B/en
Publication of CN112492648A publication Critical patent/CN112492648A/en
Application granted granted Critical
Publication of CN112492648B publication Critical patent/CN112492648B/en
Priority to PCT/CN2021/122761 priority patent/WO2022127306A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements 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/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/12Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
    • H04W40/125Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality using a measured number of retransmissions as a link metric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point

Abstract

The application relates to a data packet loss processing method, a system and a terminal, wherein if a router does not receive a data packet feedback response message sent by first equipment within a preset time period after a data packet is sent, at least one data packet retransmission window is set, the data transmission of the rest of second equipment accessed to the router is suspended, and the data packet is retransmitted; and if the data packet feedback response message sent by the first equipment is not received within a preset time period after all the data packet retransmission windows are finished, detecting whether the feedback information from the third equipment is received or not, and sending the data packet to the first equipment through the third equipment according to the feedback information. When the router communicates with the multiple devices and data packet loss is caused by data link crosstalk, retransmission of the data packet by other devices in a data packet retransmission window is stopped, if the data packet retransmission window still fails, retransmission is performed through the third device which receives the first data packet, and therefore the risk of packet loss during data transmission processing between the router and the multiple devices is reduced.

Description

Data packet loss processing method, system and terminal
Technical Field
The application relates to the field of wifi6 data transmission, in particular to a data packet loss processing method, system and terminal.
Background
Wi-Fi 6 (formerly: 802.11.ax), a sixth generation wireless network technology, is the name of the Wi-Fi standard. Is a wireless local area network technology that the Wi-Fi alliance has established from the IEEE 802.11 standard. Wi-Fi 6 mainly uses OFDMA, MU-MIMO (Multi-user multiple input multiple output), etc., which allows routers to communicate with multiple devices at the same time, rather than sequentially. MU-MIMO allows a router to communicate with four devices at a time, Wi-Fi 6 will allow communication with up to 8 devices.
The Wi-Fi 6 based data communication mode allows the router to communicate with a plurality of devices, so that the problem that data transmission processing needs queuing in the traditional technology is avoided in the aspect of data transmission processing. When the router communicates with the devices through the data link, the speed of data transmission processing is independent of the number of the devices, and the data transmission processing can be kept at high speed by one device or a plurality of devices.
However, crosstalk may exist in a data link established between the router and the device, so that data crosstalk may occur in data transmission processing between adjacent links, and further, there is a risk of packet loss in data transmission between the router and the device.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present application provides a data packet loss processing method, system and terminal.
In a first aspect, the present application provides a method for processing a packet loss, where the method includes: the router broadcasts a data packet carrying a device identifier and a data packet serial number of first equipment, wherein the first equipment is any terminal equipment communicated with the router; the router judges whether a data packet feedback response message sent by the first equipment is received within a preset time period after the data packet is sent; if the router does not receive the data packet feedback response message, setting at least one data packet retransmission window; suspending data transmission between the router and second equipment except the first equipment and accessed to the router in each data packet retransmission window, and retransmitting the data packets in the data packet retransmission window; the router judges whether a data packet feedback response message sent by the first equipment is received within a preset time period after all data packet retransmission windows are finished; if the router does not receive the data packet feedback response message, detecting whether feedback information from third equipment is received or not, wherein the third equipment is any terminal equipment which is communicated with the router except the first equipment; and sending the data packet to the first equipment through the third equipment according to the feedback information.
By adopting the implementation mode, when the router is communicated with the multiple devices and data packet loss is caused by data link crosstalk, retransmission of the data packet by other devices in the data packet retransmission window is stopped, and if the retransmission still fails, the retransmission is performed through the third device which receives the first data packet, so that the risk of packet loss during data transmission processing between the router and the multiple devices is reduced.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the setting at least one data packet retransmission window includes: comparing the length of the data packet with the transmission data length of the data packet retransmission window; and if the length of the data packet is larger than the sending data length of the data packet retransmission window, determining the number of the set data packet retransmission windows.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the suspending, within each packet retransmission window, data transmission between the router and second devices other than the first device and accessed by the router includes: judging the degree of channel interference between the rest of the equipment and the first equipment, and determining the equipment as second equipment if the degree of channel interference is greater than a preset value; alternatively, all remaining devices are treated as second devices, all suspended.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, if the remaining transmission time between the second device and the router is not greater than a preset value, the second device is waited to suspend after the transmission of the second device is completed.
With reference to the first aspect or any one of the first to third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the retransmitting the data packet within the data packet retransmission window includes: judging the data traffic of the current router and other equipment, if the traffic is smaller than a preset value, a plurality of data packet retransmission windows sequentially send the data packets side by side after the T moment; or, if the traffic is greater than the preset value, a window interval Δ t is set between multiple data packet retransmission windows, and the larger the data traffic of the router and other devices is, the longer the window interval Δ t is set.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, after each data packet retransmission window sends a corresponding data segment, the feedback response information from the first device is received.
With reference to the first aspect, in a sixth possible implementation manner of the first aspect, the sending the data packet to the first device through the third device according to the feedback information includes: the router sends inquiry information to the first equipment to determine whether to establish a data packet transmission channel with the third equipment; if receiving the channel establishing authorization information sent by the first equipment, establishing a temporary data packet transmission channel between the first equipment and the third equipment; and the third equipment sends the first data packet to the first equipment through the temporary data packet transmission channel.
With reference to the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner of the first aspect, if forwarding of the data packet by the third device fails, at least one data packet retransmission window is set to send the data packet.
In a second aspect, the present application provides a wifi 6-based data packet loss processing system, where the system includes: the router comprises a broadcast module, a receiving module and a processing module, wherein the broadcast module is used for broadcasting a data packet carrying an equipment identifier and a data packet serial number of first equipment by the router, and the first equipment is any terminal equipment communicated with the router; the router judges whether a data packet feedback response message sent by the first device is received within a preset time period after the data packet is sent; a window setting module, configured to set at least one data packet retransmission window if the router does not receive the data packet feedback response message; a first processing module, configured to suspend, within each data packet retransmission window, data transmission between the router and second devices other than the first device and accessed by the router, and retransmit the data packet within the data packet retransmission window; a second judging module, configured to judge, by the router, whether a packet feedback response message sent by the first device is received within a preset time period after all packet retransmission windows end; an information receiving module, configured to detect whether feedback information from a third device is received if the router does not receive the data packet feedback response message, where the third device is any terminal device that communicates with the router except the first device; and the second processing module is used for sending the data packet to the first equipment through the third equipment according to the feedback information.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the window setting module includes: a comparison unit for comparing the length of the data packet with the transmission data length of the data packet retransmission window; a first determining unit, configured to determine the number of set data packet retransmission windows if the length of the data packet is greater than the transmission data length of the data packet retransmission window.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the first processing module includes:
the first judgment processing unit is used for judging the channel interference degree between the rest of the equipment and the first equipment, and if the channel interference degree is greater than a preset value, the equipment is determined to be second equipment; alternatively, all remaining devices are treated as second devices, all suspended.
The second judgment processing unit is used for judging the data traffic of the current router and other equipment, and if the traffic is smaller than a preset value, the data packets are sequentially sent by the multiple data packet retransmission windows side by side after the T moment; or, if the traffic is greater than the preset value, a window interval Δ t is set between multiple data packet retransmission windows, and the larger the data traffic of the router and other devices is, the longer the window interval Δ t is set.
With reference to the second aspect, in a third possible implementation manner of the second aspect, the second processing module includes: a second determining unit, configured to send, by the router, inquiry information to the first device, and determine whether to establish a packet transmission channel with the third device; a transmission channel establishing unit, configured to establish a temporary data packet transmission channel between the first device and the third device if receiving the channel establishment authorization information sent by the first device, where the third device sends the first data packet to the first device through the temporary data packet transmission channel.
In a third aspect, an embodiment of the present application provides a terminal, including: a processor; a memory for storing computer executable instructions; when the processor executes the computer-executable instructions, the processor executes the data packet loss processing method according to the first aspect or any possible implementation manner of the first aspect.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a data packet loss processing method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a router and a device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a packet marking method according to an embodiment of the present application;
fig. 4 is a schematic diagram of crosstalk packet loss in data communication according to an embodiment of the present application
Fig. 5 is a schematic diagram of a data packet loss processing system according to an embodiment of the present application;
fig. 6 is a schematic diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic flow chart of a data packet loss processing method according to an embodiment of the present application, and referring to fig. 1, the data packet loss processing method according to the embodiment includes the following steps.
S101, the router broadcasts a data packet carrying the equipment identification and the data packet sequence number of the first equipment.
Referring to fig. 2, in the present embodiment, the router 100 performs data communication with a plurality of devices 120, and the first device is any one of the plurality of devices 120 and does not represent a specific device. Moreover, the number of the devices generally shown in fig. 2 is only illustrative, the number of the devices is not specifically limited in this embodiment, and a wifi 6-based data communication router in actual data transmission may perform data transmission simultaneously with 8 devices.
Before the router 110 communicates with the multiple devices 120, the device identifier of each device 120 is determined, specifically, the device identifier may be a device identifier obtained by converting MAC address information of the device 120 or a device identifier determined after labeling each device 120 in one communication group, which is not specifically limited in this embodiment.
After determining the device identifier of each device 120, the router 110 marks the first device identifier of a data packet sent to the first device when data transmission is sent in subsequent data communication, and if multiple data packets are marked, marks the packet sequence number to realize sequential sending of the data packets. Referring to fig. 3, the router performs data communication with the first device, data transmission is not performed yet, and the router performs device identification marking and sequence number marking on a data packet sent to the first device.
And S102, the router judges whether a data packet feedback response message sent by the first device is received within a preset time period after the data packet is sent.
In order to ensure that the data packet sent to each device can be accurately received, in the embodiment of the application, after the router communicates with the first device to send the data packet, a preset time period is set to receive the data packet feedback response from the first device. The router will start sending the next data packet only after receiving the feedback response that the last data packet was received normally.
If the data packet feedback response is not received, the router can sequentially send out the data packets according to the sequence, and the quality of the transmission cannot be obtained until the data transmission is finished, and the communication quality cannot be guaranteed due to the fact that packet loss exists or not.
S103, if the router does not receive the data packet feedback response message, setting at least one data packet retransmission window.
The packet retransmission window is a concept of a short data transmission duration, and when data is transmitted in the packet retransmission window, the communication of other devices is basically not influenced. The data length of the transmitted data is relatively short because the data transmission time of one data packet retransmission window is short.
Therefore, in the embodiment of the present application, in order to guarantee the transmission of the data packet, a sufficient number of data packet retransmission windows need to be guaranteed. In order to achieve the above object, the length of the data packet and the transmission data length of the data packet retransmission window are first compared, and if the length of the data packet is greater than the transmission data length of the data packet retransmission window, the number of the set data packet retransmission windows is determined.
For example, if the packet length is 1MB and the transmission data length of one packet retransmission window is 200kb, 5 packet retransmission windows need to be set. It is also possible that the length of the data packet is not an integer multiple of the length of the data transmitted in the data packet retransmission window, and if the data packet length is 1.1KB, it is obviously not enough to set 5 data packet retransmission windows, but setting 6 data packet retransmission windows will cause waste of data transmission time. In this embodiment, first, the data packet retransmission is guaranteed, so 6 data packet retransmission windows are set, but a data packet retransmission window ending mechanism may also be set to overcome the problem of data transmission time waste. Of course, the above examples are only illustrative, and in a specific case, the length of the data packet is random, and the transmission data length of the data packet retransmission window needs to be determined according to a specific communication situation.
S104, in each data packet retransmission window, suspending the data transmission between the router and the rest of the second devices except the first device and accessed to the router, and retransmitting the data packet in the data packet retransmission window.
After the data packet retransmission window is determined, the data packet retransmission is started, but considering that other devices may also have a relatively large influence on the transmission of the first device, the data transmission between the router and the other devices except the first device and connected with the router is suspended, so that the data transmission between the router and the other devices is suspended, and the crosstalk problem cannot exist.
The above description has been made with all devices except the first device as the second device, but there may be a case where some devices interfere with the communication between the first device and the router less, and there is no need to suspend the communication between the first device and the router for the some devices. Therefore, in this embodiment, a preset value for determining the degree of channel interference may be set, and if the degree of channel interference on signal transmission between the first device and the router is greater than the preset value, these devices are determined as the second device, and the second device is suspended.
There is also a case where it is determined that the data transmission between the second device and the router is about to end, and the remaining data transmission time is much shorter than the retransmission time of the compared data packet. And after the data transmission of the second equipment is finished, carrying out pause operation on the second equipment.
If the second device in this embodiment is only a device with a large signal interference degree to the first device, the router will continue to perform data communication with other devices except the first device. In this case, when performing packet retransmission operation through the packet retransmission window, it is necessary to consider that data communication between the router and other devices that are not suspended is not affected as much as possible while retransmission of the packet is performed.
Therefore, in this embodiment, a preset value of traffic is set, the size of data traffic between the current router and other devices is determined, and if the traffic is smaller than the preset value, multiple data packet retransmission windows sequentially send the data packets side by side after time T. In addition, in this embodiment, the time period after the time T is a time period when the router and other devices have the minimum communication data traffic.
However, if the flow rate is greater than the preset value, it means that data communication between other devices and the router is more. It is necessary to space a plurality of data packet retransmission windows, specifically, a window interval Δ t is set between a plurality of data packet retransmission windows, that is, the interval between the end of the first data packet retransmission window and the second data packet retransmission window is Δ t, and the window interval Δ t is set to be longer as the data traffic of the router and other devices is larger, so as to ensure the normal communication between the other devices and the router.
The setting mechanism of the window interval Δ t in this embodiment may determine the data transmission intermittent interval according to data communication between the router and other devices. The data transmission flow is the smallest in the pause interval, so the start time and the end time of the data transmission interval can be used as the start time and the end time of the window interval delta t, and the retransmission of the data packet and the communication between other devices and the router are basically unaffected.
In this embodiment, when the data packet is divided into a plurality of data segments by using a plurality of data packet retransmission windows and retransmitted to the first device, in order to ensure that retransmission is effective, after each data packet retransmission window transmits a corresponding data segment, the first device needs to send back a feedback response message, so that the router determines that the data segment transmitted by the data packet retransmission window has been successfully received.
And S105, the router judges whether the data packet feedback response message sent by the first device is received within a preset time period after all the data packet retransmission windows are finished.
As also noted above, the packet feedback response from the first device is received to determine that the packet can be retransmitted successfully. In this embodiment, if a plurality of data packet retransmission windows are continuously transmitted, whether a data packet feedback response message can be received within a preset time period after the data packet retransmission window is ended is required. If there is a window interval at between a plurality of data packet retransmission windows, a feedback response message is required at each data packet retransmission window.
S106, if the router does not receive the data packet feedback response message, detecting whether feedback information from third equipment is received or not.
Since the router may perform data communication and transmission with multiple devices at the same time, when the router sends a data packet to a first device through a data link between the router and the first device, before the data packet is received by the first device from the sending time, the data packet may be transmitted to another data link due to crosstalk between the data links, and then a packet is lost when data transmission is performed between the router and the first device, as shown in fig. 4.
When the third device receives the data packet sent by the router, the device identifier on the data packet is determined not to be consistent with the device identifier of the third device, and feedback information is sent to the router to inform the router of receiving the data packet from the first device. Specifically, the third device determines the device identifier and the packet length information of the first packet, and then packages and sends the packet to the router.
After receiving the information packet sent by the third device, the router analyzes the information packet to obtain the content in the information packet.
And S107, sending the data packet to the first equipment through the third equipment according to the feedback information.
When the router receives the packet from the third device, the data information of the packet is temporarily stored in the cache of the third device. And the router determines the first equipment losing the data packet according to the equipment identifier, sends inquiry information to the first equipment, and further determines whether to establish a link between the first equipment and the third equipment after determining that the first equipment loses the packet. And if the first equipment determines that the received data is incomplete and the packet loss condition exists, replying the determination information to the router, and allowing the router to establish a link between the router and the third equipment.
At this time, the router sends information to the third device to inform the third device of auxiliary data transmission, and meanwhile, a temporary link between the first device and the third device is established. The third device sends the data packet to the first device through a temporary link. And after the first data packet is transmitted, the temporary link is disconnected, and the communication between the first equipment and the third equipment is interrupted. The router not only carries out equipment identification on the data packet at first, but also carries out labeling on the data packet of each equipment, so that after the first equipment receives the data packet, all the data packets can be reordered according to the data packet number, and the consistency of the received data packet in later use is ensured.
Further, if retransmission of the data packet by the third device still fails, the communication status of the first device needs to be determined. And try again to retransmit the data packet by adopting a data packet retransmission window mode, and detailed steps are not described again.
As can be seen from the foregoing embodiments, in the data packet loss processing method provided in this embodiment, when a router communicates with multiple devices and data link crosstalk causes data packet loss, retransmission of a data packet in a data packet retransmission window by another device is suspended, and if the data packet is still failed, retransmission is performed by a third device that receives a first data packet, so that a risk of packet loss during data transmission processing between the router and the multiple devices is reduced.
Corresponding to the data packet loss processing method provided in the foregoing embodiment, the present application further provides an embodiment of a data packet loss processing system based on wifi6, and referring to fig. 5, the data packet loss processing system 20 includes: the system comprises a broadcasting module 201, a first judging module 202, a window setting module 203, a first processing module 204, a second judging module 205, an information receiving module 206 and a second processing module 207.
The broadcast module 201 is configured to broadcast, by a router, a data packet carrying a device identifier and a data packet sequence number of a first device, where the first device is any terminal device in communication with the router. A first determining module 202, where the router determines whether a data packet feedback response message sent by the first device is received within a preset time period after the data packet is sent. A window setting module 203, configured to set at least one data packet retransmission window if the router does not receive the data packet feedback response message. A first processing module 204, configured to suspend, within each data packet retransmission window, data transmission between the router and second devices other than the first device and accessed by the router, and retransmit the data packet within the data packet retransmission window. A second determining module 205, configured to determine, by the router, whether a data packet feedback response message sent by the first device is received within a preset time period after all data packet retransmission windows are ended. An information receiving module 206, configured to detect whether feedback information from a third device is received if the router does not receive the data packet feedback response message, where the third device is any terminal device that communicates with the router except the first device. And a second processing module 207, configured to send the data packet to the first device through the third device according to the feedback information.
In one exemplary embodiment, the window setting module includes: a comparison unit for comparing the length of the data packet with the transmission data length of the data packet retransmission window; a first determining unit, configured to determine the number of set data packet retransmission windows if the length of the data packet is greater than the transmission data length of the data packet retransmission window.
In another illustrative embodiment, the first processing module comprises: the first judgment processing unit is used for judging the channel interference degree between the rest of the equipment and the first equipment, and if the channel interference degree is greater than a preset value, the equipment is determined to be second equipment; alternatively, all remaining devices are treated as second devices, all suspended.
And if the residual transmission time between the second equipment and the router is not larger than a preset value, pausing after the second equipment finishes transmission.
The second judgment processing unit is used for judging the data traffic of the current router and other equipment, and if the traffic is smaller than a preset value, the data packets are sequentially sent by the multiple data packet retransmission windows side by side after the T moment; or, if the traffic is greater than the preset value, a window interval Δ t is set between multiple data packet retransmission windows, and the larger the data traffic of the router and other devices is, the longer the window interval Δ t is set. And after each data packet retransmission window sends the corresponding data segment, receiving feedback response information from the first equipment.
In one exemplary embodiment, the second processing module includes: a second determining unit, configured to send, by the router, inquiry information to the first device, and determine whether to establish a packet transmission channel with the third device; a transmission channel establishing unit, configured to establish a temporary data packet transmission channel between the first device and the third device if receiving the channel establishment authorization information sent by the first device, where the third device sends the first data packet to the first device through the temporary data packet transmission channel. And if the data packet is unsuccessfully forwarded by the third equipment, setting at least one data packet retransmission window to send the data packet.
The present application also provides a terminal, and referring to fig. 6, the terminal 30 includes: a processor 301, a memory 302, and a communication interface 303.
In fig. 6, the processor 301, the memory 302, and the communication interface 303 may be connected to each other by a bus; the bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The processor 301 generally controls the overall function of the terminal 30, for example, the terminal 30 is started, and after the device is started, the router broadcasts a data packet carrying a device identifier and a data packet sequence number of a first device, where the first device is any terminal device in communication with the router; the router judges whether a data packet feedback response message sent by the first equipment is received within a preset time period after the data packet is sent; if the router does not receive the data packet feedback response message, setting at least one data packet retransmission window; suspending data transmission between the router and second equipment except the first equipment and accessed to the router in each data packet retransmission window, and retransmitting the data packets in the data packet retransmission window; the router judges whether a data packet feedback response message sent by the first equipment is received within a preset time period after all data packet retransmission windows are finished; if the router does not receive the data packet feedback response message, detecting whether feedback information from third equipment is received or not, wherein the third equipment is any terminal equipment which is communicated with the router except the first equipment; and sending the data packet to the first equipment through the third equipment according to the feedback information. .
Further, the processor 301 may be a general-purpose processor, such as a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP. The processor may also be a Microprocessor (MCU). The processor may also include a hardware chip. The hardware chips may be Application Specific Integrated Circuits (ASICs), Programmable Logic Devices (PLDs), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a Field Programmable Gate Array (FPGA), or the like.
The memory 302 is configured to store computer-executable instructions to support the operation of the terminal 30 data. The memory 301 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
After the terminal 30 is started, the processor 301 and the memory 302 are powered on, and the processor 301 reads and executes the computer executable instructions stored in the memory 302 to complete all or part of the steps in the above-mentioned data packet loss processing method embodiment.
The communication interface 303 is used for the terminal 30 to transfer data, for example, to enable data communication with routers and devices. The communication interface 303 includes a wired communication interface, and may also include a wireless communication interface. The wired communication interface comprises a USB interface, a Micro USB interface and an Ethernet interface. The wireless communication interface may be a WLAN interface, a cellular network communication interface, a combination thereof, or the like.
In an exemplary embodiment, the terminal 30 provided by the embodiments of the present application further includes a power supply component that provides power to the various components of the terminal 30. The power components may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal 30.
A communications component configured to facilitate communications between the terminal 30 and other devices in a wired or wireless manner. The terminal 30 may access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. The communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. The communication component also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
The same and similar parts among the various embodiments in the specification of the present application may be referred to each other. Especially, for the system and terminal embodiments, since the method therein is basically similar to the method embodiments, the description is relatively simple, and the relevant points can be referred to the description in the method embodiments.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be 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. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1.A data packet loss processing method is characterized by comprising the following steps:
the router broadcasts a data packet carrying a device identifier and a data packet serial number of first equipment, wherein the first equipment is any terminal equipment communicated with the router;
the router judges whether a data packet feedback response message sent by the first equipment is received within a preset time period after the data packet is sent;
if the router does not receive the data packet feedback response message, setting at least one data packet retransmission window;
suspending data transmission between the router and second equipment except the first equipment and accessed to the router in each data packet retransmission window, and retransmitting the data packets in the data packet retransmission window;
the router judges whether a data packet feedback response message sent by the first equipment is received within a preset time period after all data packet retransmission windows are finished;
if the router does not receive the data packet feedback response message, detecting whether feedback information from third equipment is received or not, wherein the third equipment is any terminal equipment which is communicated with the router except the first equipment;
and sending the data packet to the first equipment through the third equipment according to the feedback information.
2. The method for processing data packet loss according to claim 1, wherein the setting at least one data packet retransmission window includes:
comparing the length of the data packet with the transmission data length of the data packet retransmission window;
and if the length of the data packet is larger than the sending data length of the data packet retransmission window, determining the number of the set data packet retransmission windows.
3. The method according to claim 1 or 2, wherein the suspending, within each packet retransmission window, data transmission between the router and the other second devices, except the first device, that are accessed by the router comprises:
judging the degree of channel interference between the rest of the equipment and the first equipment, and determining the equipment as second equipment if the degree of channel interference is greater than a preset value;
alternatively, all remaining devices are treated as second devices, all suspended.
4. The method according to claim 3, wherein if the remaining transmission time between the second device and the router is not greater than a preset value, the method waits for the second device to finish transmission and then suspends.
5. The method for processing data packet loss according to any one of claims 1-4, wherein said retransmitting the data packet within the data packet retransmission window comprises:
judging the data traffic of the current router and other equipment, if the traffic is smaller than a preset value, a plurality of data packet retransmission windows sequentially send the data packets side by side after the T moment;
alternatively, the first and second electrodes may be,
if the flow is larger than the preset value, a window interval delta t is set among a plurality of data packet retransmission windows, and the larger the data flow of the router and other equipment is, the longer the window interval delta t is set.
6. The method for processing data packet loss according to claim 5, further comprising: and after each data packet retransmission window sends the corresponding data segment, receiving feedback response information from the first equipment.
7. The method for processing data packet loss according to claim 1, wherein the sending the data packet to the first device through the third device according to the feedback information includes:
the router sends inquiry information to the first equipment to determine whether to establish a data packet transmission channel with the third equipment;
if receiving the channel establishing authorization information sent by the first equipment, establishing a temporary data packet transmission channel between the first equipment and the third equipment;
and the third equipment sends the first data packet to the first equipment through the temporary data packet transmission channel.
8. The method according to claim 7, wherein if forwarding of the data packet by the third device fails, at least one data packet retransmission window is set to send the data packet.
9. A wifi 6-based data packet loss processing system, the system comprising:
the router comprises a broadcast module, a receiving module and a processing module, wherein the broadcast module is used for broadcasting a data packet carrying an equipment identifier and a data packet serial number of first equipment by the router, and the first equipment is any terminal equipment communicated with the router;
the router judges whether a data packet feedback response message sent by the first device is received within a preset time period after the data packet is sent;
a window setting module, configured to set at least one data packet retransmission window if the router does not receive the data packet feedback response message;
a first processing module, configured to suspend, within each data packet retransmission window, data transmission between the router and second devices other than the first device and accessed by the router, and retransmit the data packet within the data packet retransmission window;
a second judging module, configured to judge, by the router, whether a packet feedback response message sent by the first device is received within a preset time period after all packet retransmission windows end;
an information receiving module, configured to detect whether feedback information from a third device is received if the router does not receive the data packet feedback response message, where the third device is any terminal device that communicates with the router except the first device;
and the second processing module is used for sending the data packet to the first equipment through the third equipment according to the feedback information.
10. A terminal, comprising:
a processor;
a memory for storing computer executable instructions;
when the processor executes the computer-executable instructions, the processor executes the data packet loss processing method according to any one of claims 1 to 8.
CN202011507046.4A 2020-12-18 2020-12-18 Data packet loss processing method, system and terminal Active CN112492648B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011507046.4A CN112492648B (en) 2020-12-18 2020-12-18 Data packet loss processing method, system and terminal
PCT/CN2021/122761 WO2022127306A1 (en) 2020-12-18 2021-10-09 Data packet loss processing method, system, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011507046.4A CN112492648B (en) 2020-12-18 2020-12-18 Data packet loss processing method, system and terminal

Publications (2)

Publication Number Publication Date
CN112492648A true CN112492648A (en) 2021-03-12
CN112492648B CN112492648B (en) 2021-07-02

Family

ID=74914236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011507046.4A Active CN112492648B (en) 2020-12-18 2020-12-18 Data packet loss processing method, system and terminal

Country Status (2)

Country Link
CN (1) CN112492648B (en)
WO (1) WO2022127306A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259863A (en) * 2021-06-23 2021-08-13 北京翔东智能科技有限公司 Take bluetooth adapter of NFC function
WO2022127521A1 (en) * 2020-12-18 2022-06-23 深圳市微网力合信息技术有限公司 Wifi6-based data transmission method and system, and terminal
WO2022127306A1 (en) * 2020-12-18 2022-06-23 深圳市微网力合信息技术有限公司 Data packet loss processing method, system, and terminal

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016170357A1 (en) * 2015-04-24 2016-10-27 Rockley Photonics Limited Optoelectronic switch architectures
CN107294848A (en) * 2016-04-13 2017-10-24 中兴通讯股份有限公司 The sending method and device of a kind of router request message
US20170346665A1 (en) * 2010-05-28 2017-11-30 Cohere Technologies, Inc. Modulation and equalization in an orthonormal time-frequency shifting communications system
CN110447146A (en) * 2016-12-21 2019-11-12 英特尔公司 Wireless communication technique, device and method
CN110708736A (en) * 2019-10-24 2020-01-17 东南大学 Dynamic routing method and system based on energy efficiency relay selection
US20200068627A1 (en) * 2018-08-24 2020-02-27 Ledvance Llc Bluetooth low energy backed smart lighting system
CN111316732A (en) * 2017-09-06 2020-06-19 弗劳恩霍夫应用研究促进协会 User equipment using dual beams to support multiple connections in a wireless communication network
US20200259604A1 (en) * 2010-05-28 2020-08-13 Cohere Technologies, Inc. Modulation and equalization in an orthonormal time-frequency shifting communications system
CN111585603A (en) * 2020-05-18 2020-08-25 天津市中环系统工程有限责任公司 Dual-wireless link hot standby circuit and redundant communication method
CN111684771A (en) * 2017-09-18 2020-09-18 英特尔公司 Time-coded data communication protocol, apparatus and method for generating and receiving data signals
CN111758233A (en) * 2018-02-26 2020-10-09 瑞典爱立信有限公司 Scheduling request and ACK/NACK prioritization
CN111869301A (en) * 2018-03-15 2020-10-30 高通股份有限公司 Resource partitioning between access links and backhaul communication links

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674235B (en) * 2009-09-27 2011-11-30 中兴通讯股份有限公司 Data transmission method and apparatus
WO2012043142A1 (en) * 2010-09-27 2012-04-05 日本電気株式会社 Multicast router and multicast network system
CN106301694B (en) * 2016-08-11 2020-06-19 浙江宇视科技有限公司 Method and device for reducing retransmission times of data packet in reliable multicast transmission
CN107659386A (en) * 2017-09-19 2018-02-02 深圳乐腾无线科技有限公司 A kind of method for solving to apply packet loss under WiFi in real time based on router
CN112492648B (en) * 2020-12-18 2021-07-02 深圳市微网力合信息技术有限公司 Data packet loss processing method, system and terminal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170346665A1 (en) * 2010-05-28 2017-11-30 Cohere Technologies, Inc. Modulation and equalization in an orthonormal time-frequency shifting communications system
US20200259604A1 (en) * 2010-05-28 2020-08-13 Cohere Technologies, Inc. Modulation and equalization in an orthonormal time-frequency shifting communications system
WO2016170357A1 (en) * 2015-04-24 2016-10-27 Rockley Photonics Limited Optoelectronic switch architectures
CN107294848A (en) * 2016-04-13 2017-10-24 中兴通讯股份有限公司 The sending method and device of a kind of router request message
CN110447146A (en) * 2016-12-21 2019-11-12 英特尔公司 Wireless communication technique, device and method
CN111316732A (en) * 2017-09-06 2020-06-19 弗劳恩霍夫应用研究促进协会 User equipment using dual beams to support multiple connections in a wireless communication network
CN111684771A (en) * 2017-09-18 2020-09-18 英特尔公司 Time-coded data communication protocol, apparatus and method for generating and receiving data signals
CN111758233A (en) * 2018-02-26 2020-10-09 瑞典爱立信有限公司 Scheduling request and ACK/NACK prioritization
CN111869301A (en) * 2018-03-15 2020-10-30 高通股份有限公司 Resource partitioning between access links and backhaul communication links
US20200068627A1 (en) * 2018-08-24 2020-02-27 Ledvance Llc Bluetooth low energy backed smart lighting system
CN110708736A (en) * 2019-10-24 2020-01-17 东南大学 Dynamic routing method and system based on energy efficiency relay selection
CN111585603A (en) * 2020-05-18 2020-08-25 天津市中环系统工程有限责任公司 Dual-wireless link hot standby circuit and redundant communication method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022127521A1 (en) * 2020-12-18 2022-06-23 深圳市微网力合信息技术有限公司 Wifi6-based data transmission method and system, and terminal
WO2022127306A1 (en) * 2020-12-18 2022-06-23 深圳市微网力合信息技术有限公司 Data packet loss processing method, system, and terminal
CN113259863A (en) * 2021-06-23 2021-08-13 北京翔东智能科技有限公司 Take bluetooth adapter of NFC function
CN113259863B (en) * 2021-06-23 2021-09-24 北京翔东智能科技有限公司 Take bluetooth adapter of NFC function

Also Published As

Publication number Publication date
CN112492648B (en) 2021-07-02
WO2022127306A1 (en) 2022-06-23

Similar Documents

Publication Publication Date Title
CN112492648B (en) Data packet loss processing method, system and terminal
EP3569031B1 (en) Management of identifiers of a user device in an inactive mode by a serving device
CN112636877B (en) Data transmission method, system and terminal based on wifi6
US11463844B2 (en) Reliable link layer multicast in a low power wide area network
US10750499B2 (en) Method, device and system for controlling air interface resource
CN107959555B (en) Data transmission method, device and storage medium based on LWAAP
CN110859010B (en) Conflict detection method and device for realizing data transmission
CN104782059A (en) Systems and methods for packet relaying
US20210409408A1 (en) METHOD AND APPARATUS FOR MoCA NETWORK WITH PROTECTED SET-UP
US20220116149A1 (en) Data retransmission method and device, storage medium, and electronic device
JP2023538148A (en) Method and apparatus for multiple sidelink transmission opportunities in one slot
US8625482B2 (en) Wireless communication system, wireless access point, communication control method and computer-readable medium
JP7338038B2 (en) Feedback information transmission method and device
EP3484081B1 (en) Data retransmission method and device
CN116326086A (en) Relay UE selection for transmission over a side link
US20150003358A1 (en) Wireless communication system and a method of controlling the same
US20030235161A1 (en) Communication control method and communication device
CN113517956A (en) Method and device for clearing cache
JP2009225412A (en) Method and system for delivering and constructing status information in communication system
CN110661550B (en) Method, device, storage medium and electronic equipment for forwarding message in HPLC communication link
WO2017201689A1 (en) Data transmission method, device, and system
JP2022517080A (en) Methods and Devices for Determining Feedback Resources in Sidelink
CN107566093B (en) RLC ARQ method of cross-base-station carrier aggregation system and base station
CN108293210B (en) Cell switching method and equipment
CN112822715A (en) Information transmission method and equipment

Legal Events

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

Effective date of registration: 20230306

Address after: No. 502, Building 5, No. 528, Yuefei Road, Shibantan Street, Xindu District, Chengdu, Sichuan, 610000

Patentee after: Microgrid union Technology (Chengdu) Co.,Ltd.

Address before: B808, Fu'an technology building, 013 Gaoxin South 1st Road, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: SHENZHEN WEIWANG LIHE INFORMATION TECHNOLOGY CO.,LTD.