Data retransmission method and device, electronic equipment and storage medium
By dynamically switching blind retransmission and feedback retransmission sub-superframes in the wireless network, and calculating reliable values based on real-time data, the problem of low data retransmission reliability in the wireless network is solved, and the reliability of data packet reception and the periodic action execution effect of the equipment are improved.
Patent Information
- Application Number
- CN202510705478.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2025-08-08
AI Technical Summary
The reliability of data retransmission methods in wireless networks is low. In actual applications, existing blind retransmission and feedback retransmission methods often cause devices not to receive data packets.
By determining the periodic retransmission superframe corresponding to the downlink data packet, including the blind retransmission sub-superframe and the feedback retransmission sub-superframe, real-time data is obtained to determine the respective reliable values, and dynamically select the target sub-superframe for packet transmission based on the reliable values, and iteratively performs blind retransmission until the periodic retransmission superframe ends.
Dynamically switch the packet retransmission method in the periodic retransmission superframe to reduce the packet loss rate, improve the reliability of data retransmission, ensure that the device receives data packets within each cycle, and ensure the smooth execution of the device's periodic actions.
Smart Images

Figure CN120454941A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer application technology, and in particular to a data retransmission method, device, electronic device and storage medium. Background Art
[0002] Compared to wired network technologies, wireless networks free devices from the constraints of wired networks, making connection and deployment more convenient. However, because wireless networks operate over open media, signals are more susceptible to external interference, making data transmission reliability difficult to guarantee. Data retransmission is an important data transmission scheduling method in wireless networks and is widely used in daily life.
[0003] In the existing technology, data retransmission is usually performed using a blind retransmission method or a feedback retransmission method based on actual conditions. However, regardless of which method is used, in actual applications, the device often fails to receive the data packet. In other words, the reliability of the current data retransmission method is low. Summary of the Invention
[0004] The present invention provides a data retransmission method, device, electronic device and storage medium to solve the low reliability problem of current data retransmission methods.
[0005] According to one aspect of the present invention, a data retransmission method is provided, the method comprising:
[0006] Determine a periodic retransmission superframe corresponding to a downlink data packet; wherein the periodic retransmission superframe includes a blind retransmission sub-superframe and a feedback retransmission sub-superframe;
[0007] performing a first operation of acquiring real-time data related to retransmission of the downlink data packet, determining a first reliability value corresponding to the blind retransmission sub-superframe and a second reliability value corresponding to the feedback retransmission sub-superframe based on the real-time data, determining a target sub-superframe based on the first reliability value and the second reliability value, and transmitting the downlink data packet to at least one target device based on the target sub-superframe until the target sub-superframe ends;
[0008] In a case where the target sub-superframe is the feedback retransmission sub-superframe, return to perform the first operation until the target sub-superframe is the blind retransmission sub-superframe, and iteratively perform the second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe until the periodic retransmission superframe ends.
[0009] According to another aspect of the present invention, a data retransmission device is provided, the device comprising:
[0010] A superframe determination module, configured to determine a periodic retransmission superframe corresponding to a downlink data packet; wherein the periodic retransmission superframe includes a blind retransmission sub-superframe and a feedback retransmission sub-superframe;
[0011] a data processing module, configured to perform a first operation of acquiring real-time data related to retransmission of the downlink data packet, determining a first reliability value corresponding to the blind retransmission sub-superframe and a second reliability value corresponding to the feedback retransmission sub-superframe based on the real-time data, determining a target sub-superframe based on the first reliability value and the second reliability value, and transmitting the downlink data packet to at least one target device based on the target sub-superframe until the target sub-superframe ends;
[0012] The data retransmission module is configured to, when the target sub-superframe is the feedback retransmission sub-superframe, return to perform the first operation until the target sub-superframe is the blind retransmission sub-superframe, and iteratively perform the second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe until the periodic retransmission superframe ends.
[0013] According to another aspect of the present invention, an electronic device is provided, comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the data retransmission method described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data retransmission method according to any embodiment of the present invention when executed.
[0018] The technical solution of the embodiment of the present invention is to determine a periodic retransmission superframe corresponding to a downlink data packet; wherein the periodic retransmission superframe includes a blind retransmission sub-superframe and a feedback retransmission sub-superframe; execute a first operation of acquiring real-time data related to the retransmission of the downlink data packet, determining a first reliability value corresponding to the blind retransmission sub-superframe and a second reliability value corresponding to the feedback retransmission sub-superframe according to the real-time data, determining a target sub-superframe according to the first reliability value and the second reliability value, and transmitting the downlink data packet to at least one target device based on the target sub-superframe until the target sub-superframe ends; when the target sub-superframe is the feedback retransmission sub-superframe, returning to execute the first operation until the target sub-superframe is the blind retransmission sub-superframe, and iteratively executing a second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe until the periodic retransmission superframe ends. It realizes dynamic switching between two data packet retransmission modes based on actual conditions in the periodic retransmission superframe, reduces the packet loss rate of data retransmission in the periodic retransmission superframe, improves the reliability of data retransmission, and increases the probability of the device receiving downlink data packets in each periodic retransmission superframe, ensuring the smooth execution of the device's periodic actions.
[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 This is an architecture diagram of a data retransmission system provided according to an embodiment of the present invention;
[0022] Figure 2 This is a flow chart of a data retransmission method provided according to the first embodiment of the present invention;
[0023] Figure 3 This is a structural diagram of a periodic retransmission superframe provided according to an embodiment of the present invention;
[0024] Figure 4 This is an overall flow chart of a data retransmission method provided according to an embodiment of the present invention;
[0025] Figure 5 This is a flow chart of a data retransmission method provided according to the second embodiment of the present invention;
[0026] Figure 6 is a superframe structure diagram related to first reliability value calculation provided by an embodiment of the present invention;
[0027] Figure 7 is a superframe structure diagram related to second reliability value calculation provided by an embodiment of the present invention;
[0028] Figure 8 This is a structural diagram of a data retransmission device provided according to Embodiment 3 of the present invention;
[0029] Figure 9 The present invention is a schematic structural diagram of an electronic device for implementing the data retransmission method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] Before describing the embodiments of the present invention, Figure 1 , the architecture of the data retransmission system for implementing the data retransmission method of the present invention is introduced. Figure 1This is an architectural diagram of a data retransmission system provided according to an embodiment of the present invention. The system includes 1, representing a cloud network; 2, representing a wired network; 3, representing a gateway; 4, representing a wireless network; and 5, representing a wireless device. Specifically, in relation to the embodiments of the present invention, the data retransmission method is described in detail using 3 as the execution subject. The data packet sent by 3 to 5 via 4 is considered a downlink data packet. 4 can be a multi-channel wireless network. In actual application scenarios, 3 can periodically send instruction data packets to 5 to control 5 to perform a target action once per cycle. Due to the susceptibility of wireless networks to environmental factors, 3 can repeatedly transmit data packets to 5 multiple times within each cycle to ensure that 5 receives the instruction within each cycle. The data packet retransmission method of this embodiment of the present invention can increase the probability that 5 will receive the data packet within each cycle. Specifically, the present invention is applicable to a star-topology network composed of wireless gateways and wireless devices, i.e., the aforementioned data retransmission system. The present invention is applicable to the reliable retransmission of downlink periodic data in a multi-channel wireless network, thereby improving the reliability of downlink periodic data transmission in the wireless network. The present invention is applicable to a star-topology network composed of wireless gateways and wireless devices. Downlink periodic data can be understood as the gateway sending a data packet to the device during each period. For example, the period duration is L, and data transmission reliability can be understood as the probability that the device successfully receives the data packet within the period L. The aforementioned period duration L corresponds to the periodic retransmission superframe described in this embodiment of the present invention.
[0033] Example 1
[0034] Figure 2 A flowchart of a data retransmission method is provided for the first embodiment of the present invention. This embodiment is applicable to data retransmission in a wireless network with a star topology. The method can be executed by a data retransmission device, which can be implemented in the form of hardware and / or software and can be configured in a computer. Figure 2 As shown, the method includes:
[0035] S110: Determine a periodic retransmission superframe corresponding to a downlink data packet. The periodic retransmission superframe in the embodiment of the present invention includes a blind retransmission sub-superframe and a feedback retransmission sub-superframe.
[0036] The downlink data packet can be understood as a data packet to be sent to the wireless device. Optionally, the data packet can be a command data packet used to control the wireless device to execute a command action. For example, the wireless device is a light bulb, and the actual requirement is to flash the light bulb once every 5 seconds. In this case, 5 seconds is a retransmission period. Within 5 seconds, the command data packet can be repeatedly sent to the light bulb to ensure that the light sign receives the command data packet every 5 seconds and executes the flashing action.
[0037] The periodic retransmission superframe can be understood as the superframe corresponding to the retransmission period. The periodic retransmission superframe can include multiple sub-superframes. A sub-superframe can be understood as a collection of time slots. A time slot can be understood as the basic unit for time resource division in line communication. In layman's terms, a time slot can be understood as a unit time period. The periodic retransmission superframe can correspond to a retransmission period. The retransmission period can be 5 seconds in the above example scenario.
[0038] The periodic retransmission superframe includes a blind retransmission sub-superframe and a feedback retransmission sub-superframe. The blind retransmission sub-superframe can be understood as a superframe corresponding to the blind retransmission mode. The feedback retransmission sub-superframe can be understood as a superframe corresponding to the feedback retransmission mode. The blind retransmission mode and feedback retransmission mode are two common downlink data packet retransmission modes.
[0039] It should be understood that the blind retransmission method retransmits all data multiple times, regardless of whether the data packet is successfully transmitted. This method is relatively simple and does not require feedback instructions, thus avoiding the time slot waste caused by feedback instructions. However, the blind retransmission method retransmits data packets that have already been successfully transmitted, resulting in invalid retransmissions and wasting communication resources. The feedback retransmission method means that the wireless device will feedback a data packet every time it receives a command packet. The feedback packet indicates whether the wireless device has received the data packet. This method can effectively avoid invalid retransmissions, but the feedback packet also consumes more communication resources. Comparing the two retransmission methods, it is generally believed that the blind retransmission method is more reliable when communication resources (communication resources can be understood as the remaining time slots in this embodiment) are relatively limited. In other words, the blind retransmission method increases the probability of the device receiving the data packet, which means the packet loss rate is lower. Correspondingly, when communication resources are relatively abundant, the feedback retransmission method is more reliable.
[0040] S120: Execute a first operation of acquiring real-time data related to the retransmission of the downlink data packet, determining a first reliability value corresponding to the blind retransmission sub-superframe and a second reliability value corresponding to the feedback retransmission sub-superframe according to the real-time data, determining a target sub-superframe according to the first reliability value and the second reliability value, and transmitting the downlink data packet to at least one target device based on the target sub-superframe until the target sub-superframe ends.
[0041] The real-time data can be understood as real-time data related to data packet retransmission. Optionally, the real-time data can include at least one of the remaining time slots of the periodic retransmission superframe, the channel time slots corresponding to the channel period in the subsuperframe, the number of channels in the data retransmission wireless network, the number of target devices, a reference packet loss rate, and a feedback packet loss rate. The target devices are devices that have not received the downlink data packet. The number of devices is determined based on the channel period in the subsuperframe. The remaining time slots can be understood as the remaining time slots for data packet transmission in the periodic retransmission superframe. Each subsuperframe includes a fixed channel period, which can correspond to one or more unit time slots. The number of devices that have not currently received the downlink data packet can be determined based on the channel period. The channel time slot can be understood as the time slot corresponding to the channel period. The number of channels can be understood as the number of channels in the wireless network used for data transmission. The number of channels can be one or more. The reference packet loss rate can be a packet loss rate obtained based on historical packet loss data. For example, the historical packet loss data can be packet loss data for a historical time period based on real time. The historical time period can be 5 minutes, 10 minutes, or the like. The feedback packet loss rate may be a packet loss rate determined based on feedback data packets fed back in real time by the wireless devices. In the case of the first data packet transmission, the target devices may be all wireless devices wirelessly connected to the gateway.
[0042] The first reliability value can represent the reliability of the blind retransmission method for real-time data. A higher reliability value can indicate a lower expected packet loss rate. Correspondingly, the second reliability value can represent the reliability of the feedback retransmission method for real-time data. In the embodiments of the present invention, the specific values of the reliability values are related to the actual application scenario and are not specifically limited here.
[0043] The target sub-superframe may represent a data packet retransmission method with a higher degree of reliability under real-time data, wherein the target sub-superframe may include a blind retransmission sub-superframe or a feedback retransmission sub-superframe.
[0044] The first operation may represent a process from obtaining a real-time data value to the end of a target sub-superframe.
[0045] S130. When the target sub-superframe is the feedback retransmission sub-superframe, return to perform the first operation until the target sub-superframe is the blind retransmission sub-superframe, and iteratively perform the second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe until the periodic retransmission superframe ends.
[0046] The second operation may represent a process of iteratively blindly retransmitting a data packet.
[0047] Optionally, after the target sub-superframe ends, the method further includes:
[0048] In a case where the target sub-superframe is the blind retransmission sub-superframe, a second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe is iteratively performed until the periodic retransmission superframe ends.
[0049] Specifically, when the target sub-superframe determined for the first time is the blind retransmission sub-superframe, the first operation is no longer performed, and the data packet is directly and iteratively blindly retransmitted until the periodic retransmission superframe ends.
[0050] Based on the above embodiment, when communication resources are relatively tight, directly iterating and blindly retransmitting data packets until the periodic retransmission superframe ends can effectively reduce the packet loss rate of data retransmission in the periodic retransmission superframe and improve the reliability of data retransmission.
[0051] Specifically, a first operation is performed to determine the periodic retransmission superframe corresponding to the downlink data packet; obtain real-time data related to the retransmission of the downlink data packet, determine a first reliability value corresponding to the blind retransmission sub-superframe and a second reliability value corresponding to the feedback retransmission sub-superframe based on the real-time data, determine a target sub-superframe based on the first reliability value and the second reliability value, and transmit the downlink data packet to at least one target device based on the target sub-superframe until the target sub-superframe ends; if the target sub-superframe is the feedback retransmission sub-superframe, return to perform the first operation until the target sub-superframe is the blind retransmission sub-superframe, and iteratively perform the second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe until the periodic retransmission superframe ends; otherwise, if the target sub-superframe is the blind retransmission sub-superframe, directly iteratively perform the second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe until the periodic retransmission superframe ends. In summary, it is obvious that the periodic retransmission superframe ultimately ends with a blind retransmission sub-superframe.
[0052] Based on the above embodiment scheme, it is possible to dynamically switch between two data packet retransmission modes based on actual conditions in a periodic retransmission superframe, and retransmit data packets in a manner adapted to actual conditions to reduce the packet loss rate of data retransmission in the periodic retransmission superframe and improve the reliability of data retransmission.
[0053] Based on the above embodiments, the following Figure 3 and Figure 4 The data retransmission method is further explained. Figure 3 This is a structural diagram of a periodically retransmitted superframe provided according to an embodiment of the present invention. Figure 4 This is an overall flow chart of a data retransmission method provided according to an embodiment of the present invention.
[0054] Regarding the structure of periodic retransmission superframes. The superframe length is the transmission period L of downlink data. The superframe is divided into multiple sub-superframes, which are further divided into blind retransmission sub-superframes and feedback retransmission sub-superframes. Figure 3 D1, D2…D N Indicates downlink data packets, A1, A2…A N Indicates the feedback data packet, Figure 3 The situation represented is that multiple feedback retransmission sub-superframes are used to retransmit data at the beginning of the superframe, and blind retransmission sub-superframes are used to retransmit data at the end of the superframe. Furthermore, the blind retransmission sub-superframe consists of a beacon period and a retransmission period. The beacon period is fixed at A time slots. The beacon period is used for the gateway device to send beacon frames to synchronize time and device information. The beacon contains information about the device that has not successfully received the data packet. The downlink data packet can be sent to the target device in the retransmission period after the beacon period. The length of the data transmission period is LA (LA represents the calculation method of L minus A) time slots, where L is the length of the blind retransmission sub-superframe. The blind retransmission sub-superframe can cyclically send downlink data packets to the device that has not successfully received the data packet for a time period until the periodic retransmission superframe ends. Furthermore, the feedback retransmission sub-superframe consists of a beacon period, a retransmission period and a feedback period. The beacon period is used for the gateway device to send beacon frames to synchronize time and device information. The length of the retransmission period is ( (Calculated by dividing the number of devices that did not receive a data packet by the number of channels, rounded down to an integer) time slots are used by the gateway to transmit a data packet to the device, where N is the number of devices that did not receive the data packet and M is the number of channels. The feedback period is the same length as the retransmission period and is used by the device to transmit a feedback packet to the gateway. The feedback packet contains information on whether the device successfully received the data packet. The feedback retransmission sub-superframe corresponds to the feedback retransmission method. In this method, each time a device receives a data packet, it sends a feedback packet to the gateway. The sending of the feedback packet indicates whether the device has successfully received the data packet. The length of this sub-superframe is determined by the number of devices that need to receive the data packet and the number of channels, which is related to the actual situation during the transmission process and the real-time data. In this embodiment of the present invention, a superframe can contain multiple feedback retransmission sub-superframes, but only one blind retransmission sub-superframe. This is because the blind retransmission method is generally more reliable than the feedback retransmission method at the end of the superframe. Therefore, in this embodiment of the present invention, the end of the periodic retransmission superframe uses an iterative cyclic retransmission method. That is, after the blind retransmission mode is adopted, the comparison between the two modes is no longer performed, and blind retransmission is directly iterated until the entire superframe ends.
[0055] Furthermore, based on the structure of the above-mentioned periodic retransmission superframe, the overall process of the data retransmission method is described. Specifically, before the start of each subsuperframe, the reliability R1 of the next subsuperframe using the feedback retransmission subsuperframe and the reliability R2 of the next subsuperframe using the blind retransmission subsuperframe are calculated. If R1 < R2, the next subsuperframe uses the feedback retransmission subsuperframe. After the feedback retransmission subsuperframe ends, the above calculation steps are repeated to calculate R1 and R2, and the next judgment is made until the end of the superframe. In this embodiment of the present invention, ω+ represents the current subsuperframe, and ω+1 represents the next subsuperframe corresponding to the current subsuperframe.
[0056] The technical solution of the embodiment of the present invention is to determine a periodic retransmission superframe corresponding to a downlink data packet; wherein the periodic retransmission superframe includes a blind retransmission sub-superframe and a feedback retransmission sub-superframe; execute a first operation of acquiring real-time data related to the retransmission of the downlink data packet, determining a first reliability value corresponding to the blind retransmission sub-superframe and a second reliability value corresponding to the feedback retransmission sub-superframe according to the real-time data, determining a target sub-superframe according to the first reliability value and the second reliability value, and transmitting the downlink data packet to at least one target device based on the target sub-superframe until the target sub-superframe ends; when the target sub-superframe is the feedback retransmission sub-superframe, returning to execute the first operation until the target sub-superframe is the blind retransmission sub-superframe, and iteratively executing a second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe until the periodic retransmission superframe ends. It realizes dynamic switching between two data packet retransmission modes based on actual conditions in the periodic retransmission superframe, reduces the packet loss rate of data retransmission in the periodic retransmission superframe, improves the reliability of data retransmission, and increases the probability of the device receiving downlink data packets in each periodic retransmission superframe, ensuring the smooth execution of the device's periodic actions.
[0057] Example 2
[0058] Figure 5 This is a flow chart of a data retransmission method provided in the second embodiment of the present invention. This embodiment refines the method of determining the first reliability value corresponding to the blind retransmission sub-superframe according to the real-time data in the above embodiment. Figure 5 As shown, the method includes:
[0059] S210: Determine a periodic retransmission superframe corresponding to the downlink data packet.
[0060] The periodic retransmission superframe includes a blind retransmission sub-superframe and a feedback retransmission sub-superframe.
[0061] S220: Acquire real-time data related to the retransmission of the downlink data packet.
[0062] Specifically, the real-time data related to the downlink data packet retransmission is obtained, including the reference packet loss rate P, the feedback packet loss rate Q, the number of channels M, and the remaining time slot L. ω , the number of devices is N ω , the channel time slot is A.
[0063] S230. When the remaining time slot does not exceed the channel time slot, use the preset first value as the first reliability value corresponding to the blind retransmission sub-superframe; otherwise, determine the first reliability value corresponding to the blind retransmission sub-superframe based on the remaining time slot, the channel time slot, the number of devices, the number of channels, and the reference packet loss rate.
[0064] In the embodiment of the present invention, the first value can be preset according to the scenario requirements and is not specifically limited here. Optionally, the first value can be 0.
[0065] Figure 6 : is a superframe structure diagram related to the calculation of the first reliability value provided according to an embodiment of the present invention. Figure 6 The specific calculation method of the first reliability value is explained.
[0066] Specifically, in L ω When ≤A, it indicates that the remaining time slots of the superframe cannot complete the beacon period and no time slots are reserved for the retransmission period. Therefore, the embodiment of the present invention can calculate the first reliability value based on the following formula:
[0067] R1(N ω ,L ω )=0;
[0068] Wherein, R1 represents the first reliability value; N ω Indicates the number of devices; A indicates the channel time slot; 0 indicates the preset first value.
[0069] Specifically, in L ω >A, it indicates that the remaining time slots of the superframe can complete the beacon period and reserve L for the retransmission period. ω -A time slots are blindly retransmitted. Therefore, the embodiment of the present invention can calculate the first reliability value based on the following formula:
[0070]
[0071] a=((L ω -A)M)mod(N ω );
[0072]
[0073] Among them, mod means remainder; Indicates the rounding down symbol; a and b indicate two intermediate calculated values; R1 indicates the first reliable value; N ω Indicates the number of devices; A indicates the channel time slot; M indicates the number of channels; P indicates the reference packet loss rate; the remaining time slot is L ω .
[0074] The above formula represents the ω Among the devices that failed to receive the data packet, a devices received b+1 retransmission opportunities, while the other N devices received b+1 retransmission opportunities. ω -a devices only get b retransmission opportunities.
[0075] S240: Determine a second reliability value corresponding to the feedback retransmission sub-superframe according to the real-time data.
[0076] Figure 7 : is a superframe structure diagram related to the second reliability value calculation provided by an embodiment of the present invention. Figure 7 The specific calculation method of the second reliability value is explained.
[0077] Optionally, determining, according to the real-time data, a second reliability value corresponding to the feedback retransmission sub-superframe includes:
[0078] In a case where the remaining time slot does not exceed the channel time slot, a preset first value is used as a second reliability value corresponding to the feedback retransmission sub-superframe.
[0079] Otherwise, a second reliability value corresponding to the blind retransmission sub-superframe is determined based on at least one of the remaining time slot, the channel time slot, the number of devices, the number of channels, the reference packet loss rate, the feedback packet loss rate, and the first reliability value.
[0080] In an embodiment of the present invention, the first value used to determine the first reliability value and the first value used to determine the second reliability value may be the same. Both of the above first values may be 0.
[0081] Specifically, in L ω When ≤A, it indicates that the remaining duration of the superframe is insufficient to complete the beacon period and no time slot is reserved for the retransmission period. Therefore, the embodiment of the present invention can calculate the second reliability value based on the following formula:
[0082] R2(N ω ,L ω )=0;
[0083] Wherein, R2 represents the second reliability value; N ω Indicates the number of devices; A indicates the channel time slot; 0 indicates the preset first value.
[0084] Optionally, determining the second reliability value corresponding to the blind retransmission sub-superframe according to at least one of the remaining time slot, the channel time slot, the number of devices, the number of channels, the reference packet loss rate, the feedback packet loss rate, and the first reliability value includes:
[0085] A first reference value is determined based on the number of channels, the number of devices, and the channel time slot, and when the remaining time slot exceeds the channel time slot but does not exceed the first reference value, the first reliability value is used as the second reliability value.
[0086] Otherwise, a second reliability value corresponding to the blind retransmission sub-superframe is determined according to at least one of the remaining time slots, the number of devices, the reference packet loss rate, the feedback packet loss rate, and the first reliability value.
[0087] Specifically, in In the case of , it is characterized that the remaining time slots of the superframe at this time cannot complete a complete retransmission. In the embodiment of the present invention, it is considered that the feedback retransmission under this condition is equivalent to blind retransmission, wherein, based on The calculated value is used as the first standard value; therefore, in the embodiment of the present invention, the calculation of the second reliability value can be implemented based on the following formula:
[0088] R2(N ω ,L ω )=R1(N ω ,L ω );
[0089] Where R1 represents the first reliability value; R2 represents the second reliability value; N ω Indicates the number of devices; L ω Represents the remaining time slot. The above formula can be expressed in In this case, there is no need to calculate the second reliability value, and the first reliability value can be directly used as the second reliability value, that is, the first reliability value is equal to the second reliability value.
[0090] Optionally, determining the second reliability value corresponding to the blind retransmission sub-superframe according to at least one of the remaining time slots, the number of devices, the reference packet loss rate, the feedback packet loss rate, and the first reliability value includes:
[0091] a second reference value determined based on the number of channels, the number of devices, and the channel time slot; and determining a second reliability value corresponding to the blind retransmission sub-superframe according to the reference packet loss rate when the remaining time slot exceeds the first reference value but does not exceed the second reference value; wherein the first reference value and the second reference value are different;
[0092] Otherwise, a second reliability value corresponding to the blind retransmission sub-superframe is determined according to the remaining time slots, the number of devices, the reference packet loss rate, the feedback packet loss rate, and the first reliability value.
[0093] Specifically, in In the case of , it means that the remaining time slots of the superframe at this time can only complete one retransmission, and cannot start the retransmission period in the next superframe, wherein, based on The calculated value is used as the first standard value; wherein, based on The calculated value is used as the second standard value; therefore, the embodiment of the present invention can calculate the second reliability value based on the following formula:
[0094] R2(N ω ,L ω )=1-P;
[0095] Wherein, R2 represents the second reliability value; N ω Indicates the number of devices; L ω represents the remaining time slot; P represents the reference packet loss rate.
[0096] Specifically, in In the case of , it indicates that the remaining time slots of the superframe at this time can complete the current feedback retransmission sub-superframe and can start the next retransmission period for on-demand retransmission. After a feedback retransmission, there are many permutations and combinations of device packet loss situations. If every situation is exhausted, the calculation complexity is extremely high. In the embodiment of the present invention, a specific formula for calculating the second reliability value can be determined based on the following process, and the calculation of the second reliability value can be further implemented based on this formula:
[0097] During the first data transmission, assuming that there are N0 devices that need to receive data packets, the initial conditions are set:
[0098]
[0099] in, Indicates the expected number of devices that fail to receive data packets after the 0th data packet transmission (that is, before the first data transmission); Indicates the number of devices that failed to send feedback packets after the 0th data transmission.
[0100] Further, recursively extrapolating to the ωth data transmission, we obtain the following formula:
[0101]
[0102] in, The expected number of devices that fail to receive data packets after the ωth data packet transmission depends on the number of devices that fail to receive data packets after the ω-1th data packet transmission. and downlink packet loss rate; It represents the expected number of devices that fail to send feedback packets after the ωth data packet transmission. This value is the sum of two items. The first item is The second item is the number of devices that fail to send feedback packets after the ω-1th data transmission. The expected number of devices that failed to send feedback packets again.
[0103] Furthermore, for the ω+1th data transmission, after one feedback retransmission sub-superframe, the expected number of devices that need to receive the sent data packet during the ω+2th data transmission is:
[0104]
[0105] in, Indicates the expected number of devices that need to receive the data packet during the ω+2th data transmission; represents the expected number of devices that fail to send feedback packets after the ωth data packet transmission; represents the expected number of devices that fail to receive data packets after the ωth data packet transmission; P represents the reference packet loss rate; Q represents the feedback packet loss rate.
[0106] The assumption implied by the above formula is that N data needs to be retransmitted in the ω+1th data transmission. ω The ratio of the number of devices that failed to receive the sent data packet to the number of devices that failed to report the feedback packet is However, the formula calculated is not necessarily an integer, so again assume The probability distribution of is as follows:
[0107]
[0108] in, express The probability distribution of Indicates the expected number of devices that need to receive the sent data packet during the ω+3th data transmission.
[0109] In summary, In this case, the second reliability value can be calculated based on the following formula:
[0110]
[0111] Wherein, R2 represents the second reliability value; L represents the superframe; R1 represents the first reliability value; L ω Indicates the remaining time slot; It represents the expected number of devices that need to receive the data packet during the ω+2th data transmission.
[0112] Based on the above embodiment, the calculation of the second reliability value based on actual conditions is achieved, thereby improving the accuracy of the calculation of the second reliability value.
[0113] S250: Determine a target sub-superframe according to the first reliability value and the second reliability value, and transmit the downlink data packet to at least one target device based on the target sub-superframe until the target sub-superframe ends.
[0114] S260. When the target sub-superframe is the feedback retransmission sub-superframe, return to execute S220-S250 until the target sub-superframe is the blind retransmission sub-superframe, and iteratively perform the second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe until the periodic retransmission superframe ends.
[0115] The technical solution of the embodiment of the present invention uses a preset first value as the first reliability value corresponding to the blind retransmission sub-superframe if the remaining time slot does not exceed the channel time slot; otherwise, the first reliability value corresponding to the blind retransmission sub-superframe is determined based on the remaining time slot, the channel time slot, the number of devices, the number of channels, and the reference packet loss rate. Based on the above embodiment, accurate calculation of the first reliability value is achieved.
[0116] Based on the embodiments of the present invention, a superframe structure comprising blind retransmission sub-superframes and feedback retransmission sub-superframes is used to dynamically switch between different retransmission modes through reliability calculation. This allows for precise selection of more reliable sub-superframes based on varying channel conditions, resource availability, and number of devices in real time, reducing waste of communication resources during data retransmission and improving data transmission reliability. Furthermore, the present invention only requires relevant real-time data to be entered into the calculation formula, resulting in low spatial and temporal complexity and minimal gateway performance requirements.
[0117] Example 3
[0118] Figure 8 This is a structural diagram of a data retransmission device provided in the third embodiment of the present invention. Figure 8 As shown, the apparatus includes: a superframe determination module 310 , a data processing module 320 and a data retransmission module 330 .
[0119] The superframe determination module 310 is configured to determine a periodic retransmission superframe corresponding to a downlink data packet, wherein the periodic retransmission superframe includes a blind retransmission subsuperframe and a feedback retransmission subsuperframe. The data processing module 320 is configured to perform a first operation of acquiring real-time data related to the retransmission of the downlink data packet, determining a first reliability value corresponding to the blind retransmission subsuperframe and a second reliability value corresponding to the feedback retransmission subsuperframe based on the real-time data, determining a target subsuperframe based on the first reliability value and the second reliability value, and transmitting the downlink data packet to at least one target device based on the target subsuperframe until the target subsuperframe ends. The data retransmission module 330 is configured to, if the target subsuperframe is the feedback retransmission subsuperframe, return to performing the first operation until the target subsuperframe becomes the blind retransmission subsuperframe, and iteratively perform a second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission subsuperframe until the periodic retransmission superframe ends.
[0120] The technical solution of the embodiment of the present invention is to determine a periodic retransmission superframe corresponding to a downlink data packet; wherein the periodic retransmission superframe includes a blind retransmission sub-superframe and a feedback retransmission sub-superframe; execute a first operation of acquiring real-time data related to the retransmission of the downlink data packet, determining a first reliability value corresponding to the blind retransmission sub-superframe and a second reliability value corresponding to the feedback retransmission sub-superframe according to the real-time data, determining a target sub-superframe according to the first reliability value and the second reliability value, and transmitting the downlink data packet to at least one target device based on the target sub-superframe until the target sub-superframe ends; when the target sub-superframe is the feedback retransmission sub-superframe, returning to execute the first operation until the target sub-superframe is the blind retransmission sub-superframe, and iteratively executing a second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe until the periodic retransmission superframe ends. It realizes dynamic switching between two data packet retransmission modes based on actual conditions in the periodic retransmission superframe, reduces the packet loss rate of data retransmission in the periodic retransmission superframe, improves the reliability of data retransmission, and increases the probability of the device receiving downlink data packets in each periodic retransmission superframe, ensuring the smooth execution of the device's periodic actions.
[0121] Optionally, the data retransmission device further includes: a blind retransmission module, which is used to iteratively perform a second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe after the target sub-superframe ends, when the target sub-superframe is the blind retransmission sub-superframe, until the periodic retransmission superframe ends.
[0122] Optionally, the real-time data related to the retransmission of the downlink data packet includes the remaining time slots of the periodic retransmission superframe, the channel time slots corresponding to the channel period in the sub-superframe, the number of channels of the data retransmission wireless network, the number of devices of the target device, a reference packet loss rate and at least one of the feedback packet loss rate; the target device is a device that has not received the downlink data packet; the number of devices is determined based on the channel period in the sub-superframe.
[0123] Optionally, the data processing module 320 includes: a first computing unit and a second computing unit;
[0124] The first calculation unit is configured to use a preset first value as a first reliability value corresponding to the blind retransmission sub-superframe when the remaining time slot does not exceed the channel time slot;
[0125] The second calculation unit is configured to determine, otherwise, a first reliability value corresponding to the blind retransmission sub-superframe according to the remaining time slot, the channel time slot, the number of devices, the number of channels, and the reference packet loss rate.
[0126] Optionally, the data processing module 320 includes: a third computing unit and a fourth computing unit;
[0127] The third calculation unit is configured to use a preset first value as a second reliability value corresponding to the feedback retransmission sub-superframe when the remaining time slot does not exceed the channel time slot.
[0128] The fourth calculation unit is used to determine, otherwise, a second reliability value corresponding to the blind retransmission sub-superframe based on at least one of the remaining time slot, the channel time slot, the number of devices, the number of channels, the reference packet loss rate, the feedback packet loss rate, and the first reliability value.
[0129] Optionally, the fourth computing unit includes: a first computing subunit and a second computing subunit;
[0130] The first calculating subunit is configured to determine a first standard value based on the number of channels, the number of devices, and the channel time slot, and use the first reliable value as the second reliable value when the remaining time slot exceeds the channel time slot but does not exceed the first standard value;
[0131] The second calculation subunit is configured to determine, otherwise, a second reliability value corresponding to the blind retransmission sub-superframe based on at least one of the remaining time slots, the number of devices, the reference packet loss rate, the feedback packet loss rate, and the first reliability value.
[0132] Optionally, the second computing subunit is specifically configured to:
[0133] a second scale value determined based on the number of channels, the number of devices, and the channel time slot, and determining a second reliability value corresponding to the blind retransmission sub-superframe according to the reference packet loss rate when the remaining time slot exceeds the first scale value but does not exceed the second scale value; wherein the first scale value and the second scale value are different;
[0134] Otherwise, a second reliability value corresponding to the blind retransmission sub-superframe is determined according to the remaining time slots, the number of devices, the reference packet loss rate, the feedback packet loss rate, and the first reliability value.
[0135] The data retransmission device provided in the embodiment of the present invention can execute the data retransmission method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0136] Example 4
[0137] Figure 9 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0138] like Figure 9 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0139] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0140] The processor 11 may be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the data retransmission method.
[0141] In some embodiments, the data retransmission method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the data retransmission method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the data retransmission method in any other suitable manner (e.g., by means of firmware).
[0142] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0143] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0144] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0145] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0146] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0147] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0148] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0149] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A data retransmission method, characterized in that: include: Determine a periodic retransmission superframe corresponding to a downlink data packet; wherein the periodic retransmission superframe includes a blind retransmission sub-superframe and a feedback retransmission sub-superframe; performing a first operation of acquiring real-time data related to retransmission of the downlink data packet, determining a first reliability value corresponding to the blind retransmission sub-superframe and a second reliability value corresponding to the feedback retransmission sub-superframe based on the real-time data, determining a target sub-superframe based on the first reliability value and the second reliability value, and transmitting the downlink data packet to at least one target device based on the target sub-superframe until the target sub-superframe ends; In a case where the target sub-superframe is the feedback retransmission sub-superframe, return to perform the first operation until the target sub-superframe is the blind retransmission sub-superframe, and iteratively perform the second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe until the periodic retransmission superframe ends.
2. The method according to claim 1, characterized in that After the target sub-superframe ends, the method further includes: In a case where the target sub-superframe is the blind retransmission sub-superframe, a second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe is iteratively performed until the periodic retransmission superframe ends.
3. The method according to claim 1, characterized in that The real-time data related to the retransmission of the downlink data packet includes at least one of the remaining time slots of the periodic retransmission superframe, the channel time slots corresponding to the channel period in the subsuperframe, the number of channels of the data retransmission wireless network, the number of the target devices, a reference packet loss rate, and a feedback packet loss rate; The target device is a device that has not received the downlink data packet; the number of the devices is determined based on the channel period in the sub-superframe.
4. The method according to claim 3, characterized in that The determining, according to the real-time data, a first reliability value corresponding to the blindly retransmitted sub-superframe includes: When the remaining time slot does not exceed the channel time slot, using a preset first value as a first reliable value corresponding to the blind retransmission sub-superframe; Otherwise, a first reliability value corresponding to the blind retransmission sub-superframe is determined according to the remaining time slots, the channel time slots, the number of devices, the number of channels, and the reference packet loss rate.
5. The method according to claim 3, characterized in that The determining, according to the real-time data, a second reliability value corresponding to the feedback retransmission sub-superframe includes: When the remaining time slot does not exceed the channel time slot, using the preset first value as the second reliable value corresponding to the feedback retransmission sub-superframe; Otherwise, a second reliability value corresponding to the blind retransmission sub-superframe is determined based on at least one of the remaining time slot, the channel time slot, the number of devices, the number of channels, the reference packet loss rate, the feedback packet loss rate, and the first reliability value.
6. The method according to claim 5, characterized in that The determining, according to at least one of the remaining time slot, the channel time slot, the number of devices, the number of channels, the reference packet loss rate, the feedback packet loss rate, and the first reliability value, a second reliability value corresponding to the blind retransmission sub-superframe includes: A first reference value determined based on the number of channels, the number of devices, and the channel time slot, and using the first reliable value as a second reliable value when the remaining time slot exceeds the channel time slot but does not exceed the first reference value; Otherwise, a second reliability value corresponding to the blind retransmission sub-superframe is determined according to at least one of the remaining time slots, the number of devices, the reference packet loss rate, the feedback packet loss rate, and the first reliability value.
7. The method according to claim 6, characterized in that The determining, according to at least one of the remaining time slots, the number of devices, the reference packet loss rate, the feedback packet loss rate, and the first reliability value, a second reliability value corresponding to the blind retransmission sub-superframe includes: a second scale value determined based on the number of channels, the number of devices, and the channel time slot, and determining a second reliability value corresponding to the blind retransmission sub-superframe according to the reference packet loss rate when the remaining time slot exceeds the first scale value but does not exceed the second scale value; wherein the first scale value and the second scale value are different; Otherwise, a second reliability value corresponding to the blind retransmission sub-superframe is determined according to the remaining time slots, the number of devices, the reference packet loss rate, the feedback packet loss rate, and the first reliability value.
8. A data retransmission device, characterized in that: include: A superframe determination module, configured to determine a periodic retransmission superframe corresponding to a downlink data packet; wherein the periodic retransmission superframe includes a blind retransmission sub-superframe and a feedback retransmission sub-superframe; a data processing module, configured to perform a first operation of acquiring real-time data related to retransmission of the downlink data packet, determining a first reliability value corresponding to the blind retransmission sub-superframe and a second reliability value corresponding to the feedback retransmission sub-superframe based on the real-time data, determining a target sub-superframe based on the first reliability value and the second reliability value, and transmitting the downlink data packet to at least one target device based on the target sub-superframe until the target sub-superframe ends; The data retransmission module is configured to, when the target sub-superframe is the feedback retransmission sub-superframe, return to perform the first operation until the target sub-superframe is the blind retransmission sub-superframe, and iteratively perform the second operation of transmitting the downlink data packet to at least one target device based on the blind retransmission sub-superframe until the periodic retransmission superframe ends.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the data retransmission method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data retransmission method according to any one of claims 1 to 7 when executed.