Data packet transmission method and apparatus, storage medium, and electronic apparatus

By monitoring and screening the occupation time of the HARQ process, select the appropriate HARQ process transmission data packet, solve the problem of low transmission efficiency caused by exhaustion of the HARQ process, and achieve more efficient data packet transmission.

WO2025016252A1PCT designated stage expired Publication Date: 2025-01-23SUNWAVE COMM
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/104505
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-18
Filing Date
2024-07-09
Publication Date
2025-01-23

AI Technical Summary

Technical Problem

In wireless network communication systems, when the channel transmission timeout or the signal quality is poor, the HARQ process causes the HARQ process to be exhausted and the resource scheduling is not possible, which in turn affects the efficiency of data packet transmission.

Method used

By detecting the occupation status of multiple HARQ processes configured on the target base station, obtain the occupation time of each HARQ process, and screen the target HARQ process according to the occupation period, use this process to transmit the target data packet Caused resource scheduling.

Benefits of technology

The transmission efficiency of data packets transmitted by the HARQ process is improved, and multiple HARQ processes configured on the base station equipment are prevented from being occupied for a long time, thereby ensuring that newly received data packets can be transmitted normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024104505_23012025_PF_FP_ABST
    Figure CN2024104505_23012025_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a data packet transmission method and apparatus, a storage medium, and an electronic apparatus. The method comprises: when target data to be transmitted exists on a target base station, detecting the occupancy states of a plurality of HARQ processes configured on the target base station; when each HARQ process among the plurality of HARQ processes is in an occupied state, acquiring a target occupancy duration for which each current HARQ process is occupied; on the basis of the target occupancy duration, screening a target HARQ process from among the plurality of HARQ processes, wherein the target occupancy duration of the target HARQ process is greater than or equal to a reference occupancy duration; and using the target HARQ process to transmit a target data packet. Use of the described technical solution solves the problem in the related art that the transmission efficiency of transmitting a data packet by means of an HARQ process is low.
Need to check novelty before this filing date? Find Prior Art

Description

Data packet transmission method and device, storage medium and electronic device

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on July 18, 2023, with application number: 2023108821513, and invention name: "Method and device for transmitting data packets, storage medium and electronic device", the entire content of which is incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communications, and in particular to a method and device for transmitting data packets, a storage medium, and an electronic device. Background Art

[0003] In wireless network communication systems, Hybrid Automatic Repeat Request (HARQ) is a widely used error control technology to improve data reliability in environments with poor signal quality, especially in fast-moving or high-data-rate scenarios. HARQ is implemented in the Medium Access Control (MAC) layer and is responsible for retransmitting data to the receiver when errors occur. The base station creates multiple HARQ processes, each of which performs its own independent processing and is identified by a unique process ID (identity document). The base station typically implements this using a stop-and-wait (SAW) automatic repeat request protocol. During downlink scheduling, the base station allocates a HARQ process for each transport block (TB) it sends. The receiving end performs a cyclic redundancy check (CRC) on the TB. If the TB is received correctly, an acknowledgment (ACK) signal is returned. Upon receiving the ACK feedback, the base station releases the corresponding HARQ process. If an error occurs, a negative acknowledgment (NACK) signal is returned. The base station retransmits the TB using the allocated HARQ process. When the maximum retransmission limit is reached, the base station releases the HARQ process. However, in actual applications, due to channel transmission timeouts or poor signal quality, the base station may not receive ACK / NACK feedback from the terminal for a long time, resulting in the base station's allocated HARQ processes not being released properly. This can lead to HARQ process exhaustion and inability to schedule resources.

[0004] With regard to the problems of low transmission efficiency of data packets transmitted through the HARQ process in related technologies, no effective solution has been proposed yet.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a method and apparatus for transmitting a data packet, a storage medium, and an electronic device, so as to at least solve the problem of low transmission efficiency of transmitting data packets through the HARQ process in the related art.

[0007] According to an embodiment of the present application, a method for transmitting a data packet is provided, including: in a case where there is target data to be transmitted on a target base station, detecting the occupancy status of multiple HARQ processes configured on the target base station, wherein each HARQ process is used to transmit a data packet to be transmitted to a corresponding data receiving device, and the target data packet is a data packet that has not been transmitted using multiple HARQ processes; in a case where each HARQ process in the multiple HARQ processes is in an occupied state, obtaining the target occupancy time of each HARQ process currently occupied; screening out a target HARQ process from the multiple HARQ processes according to the target occupancy time, wherein the target occupancy time of the target HARQ process is greater than or equal to the reference occupancy time; and using the target HARQ process to transmit the target data packet.

[0008] Optionally, the target occupancy time of each HARQ process currently occupied is obtained, including: obtaining the first timestamp corresponding to each HARQ process, wherein the first timestamp is the timestamp of the HARQ process corresponding to the reference data packet configured by the target base station, and the reference data packet is the data packet currently transmitted by the HARQ process; calculating the target difference between the second timestamp corresponding to the current moment and the first timestamp as the target occupancy time.

[0009] Optionally, a target HARQ process is selected from multiple HARQ processes based on the target occupancy time, including: determining a target transmission mode between the target base station and the reference device, wherein the target transmission mode is used to characterize the data transmission method between the target base station and the reference device, the reference device is a device for receiving a reference data packet, and the reference data packet is a data packet currently transmitted by the corresponding HARQ process; determining a reference occupancy time corresponding to the target transmission mode from transmission modes and occupancy times with corresponding relationships; and determining a HARQ process whose target occupancy time is greater than or equal to the reference occupancy time as the target HARQ process.

[0010] Optionally, the target occupied time of each HARQ process currently occupied is obtained, including: determining whether the HARQ process is in a retransmission state for the reference data packet, wherein the reference data packet is the data packet currently transmitted by the HARQ process, and the retransmission state is used to indicate that the HARQ process has repeatedly transmitted the reference data packet due to abnormal reception of the reference data packet by the data receiving device; when the HARQ process is not in a retransmission state for the reference data packet, the target occupied time of the HARQ process is obtained.

[0011] Optionally, after determining whether the HARQ process is in a retransmission state for the reference data packet, the method also includes: when the HARQ process is in a retransmission state for the reference data packet, matching the target retransmission number of the HARQ process for the reference data packet with the reference retransmission number; when the target retransmission number is greater than or equal to the reference retransmission number, determining the HARQ process as the target HARQ process.

[0012] Optionally, before matching the target retransmission number of the HARQ process for the reference data packet with the reference retransmission number, the method also includes: determining a reference data type of the data carried in the reference data packet; and determining a reference retransmission number corresponding to the reference data type from data types and retransmission numbers with corresponding relationships.

[0013] Optionally, using the target HARQ process to transmit the target data packet includes: modifying the first correspondence stored in the target correspondence set to a second correspondence, wherein the first correspondence records a reference data packet and a target process number with a correspondence, and the second correspondence records a target data packet and a target process number with a correspondence, the target process number is the process number of the target HARQ process, the reference data packet is the data packet currently transmitted by the target HARQ process, and the target base station is used to use the HARQ process to transmit the corresponding data packet according to the target correspondence set.

[0014] According to another embodiment of the embodiment of the present application, a data packet transmission device is also provided, including: a detection module, which is configured to detect the occupancy status of multiple HARQ processes configured on the target base station when there is target data to be transmitted on the target base station, wherein each HARQ process is configured to transmit a data packet to be transmitted to a corresponding data receiving device, and the target data packet is a data packet that has not been transmitted using multiple HARQ processes; an acquisition module, which is configured to obtain the target occupancy time of each HARQ process currently occupied when each HARQ process in the multiple HARQ processes is in an occupied state; a screening module, which is configured to screen out the target HARQ process from the multiple HARQ processes according to the target occupancy time, wherein the target occupancy time of the target HARQ process is greater than or equal to the reference occupancy time; and a transmission module, which is configured to use the target HARQ process to transmit the target data packet.

[0015] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the above-mentioned data packet transmission method when running.

[0016] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the data packet transmission method through the computer program.

[0017] In an embodiment of the present application, when there is target data to be transmitted on a target base station, the occupancy status of multiple HARQ processes configured on the target base station is detected, wherein each HARQ process is used to transmit a data packet to be transmitted to a corresponding data receiving device, and the target data packet is a data packet that has not been transmitted using multiple HARQ processes; when each HARQ process in the multiple HARQ processes is in an occupied state, the target occupied duration of each HARQ process is obtained; the target HARQ process is screened out from the multiple HARQ processes according to the target occupied duration, wherein the target occupied duration of the target HARQ process is greater than or equal to the reference occupied duration; the target HARQ process is used to transmit the target data packet, that is, by monitoring the occupied duration of the HARQ process on the base station, and then when there is a target data packet to be transmitted and the multiple HARQ processes set on the base station are all in an occupied state, the target HARQ process is selected from the multiple HARQ processes according to the occupied duration for transmitting the target data packet, thereby avoiding the situation where the multiple HARQ processes configured on the base station device are occupied for a long time, resulting in the inability to transmit the newly received data packet. The above technical solution solves the problem of low transmission efficiency of data packets transmitted through the HARQ process in the related art, and achieves the technical effect of improving the transmission efficiency of data packets transmitted through the HARQ process. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0020] FIG1 is a schematic diagram of a hardware environment of a data packet transmission method according to an embodiment of the present application;

[0021] FIG2 is a flow chart of a method for transmitting a data packet according to an embodiment of the present application;

[0022] FIG3 is a schematic diagram of an optional data transmission according to an embodiment of the present application;

[0023] FIG4 is a schematic diagram of an optional data interaction according to an embodiment of the application;

[0024] FIG5 is a first schematic diagram of an optional target HARQ process for determining according to an embodiment of the present application;

[0025] FIG6 is a second schematic diagram of an optional target HARQ process for determining a target HARQ process according to an embodiment of the present application;

[0026] FIG7 is an optional data packet transmission flow chart according to an embodiment of the present application;

[0027] FIG8 is a structural block diagram of a data packet transmission device according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] To help those skilled in the art better understand the present invention, the following will provide a clear and complete description of the technical solutions in the embodiments of the present invention, in conjunction with the accompanying drawings. It should be understood that the embodiments described are only part of the embodiments of the present invention, not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without inventive effort should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising 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.

[0030] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal, a device terminal or a similar computing device. Taking operation on a computer terminal as an example, FIG1 is a hardware environment diagram of a method for transmitting a data packet according to an embodiment of the present application. As shown in FIG1 , the computer terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 configured to store data. In an exemplary embodiment, the computer terminal may further include a transmission device 106 and an input / output device 108 configured to have a communication function. It will be understood by those skilled in the art that the structure shown in FIG1 is only illustrative and does not limit the structure of the computer terminal. For example, the computer terminal may further include more or fewer components than those shown in FIG1 , or a different configuration having the same function as shown in FIG1 or more functions than those shown in FIG1 .

[0031] The memory 104 can be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for sending a message push in the embodiment of the present invention. The processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, to implement the above-mentioned method. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may include a memory remotely located relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0032] The transmission device 106 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by a computer terminal's communications provider. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module configured to communicate with the Internet wirelessly.

[0033] In this embodiment, a method for transmitting a data packet is provided, which is applied to the above-mentioned computer terminal. FIG2 is a flow chart of a method for transmitting a data packet according to an embodiment of the present application, and the flow chart includes the following steps:

[0034] Step S202: If target data to be transmitted exists on the target base station, detecting occupancy status of multiple HARQ processes configured on the target base station, wherein each HARQ process is used to transmit a data packet to be transmitted to a corresponding data receiving device, and the target data packet is a data packet that has not been transmitted using multiple HARQ processes;

[0035] Step S204: when each of the multiple HARQ processes is in an occupied state, obtaining a target occupied duration of each HARQ process currently occupied;

[0036] Step S206: Filtering a target HARQ process from the multiple HARQ processes according to the target occupation duration, wherein the target occupation duration of the target HARQ process is greater than or equal to the reference occupation duration;

[0037] Step S208: Use the target HARQ process to transmit the target data packet.

[0038] Through the above steps, by monitoring the occupancy time of the HARQ process on the base station, when there is a target data packet that needs to be transmitted and multiple HARQ processes configured on the base station are all in an occupied state, a target HARQ process is selected from the multiple HARQ processes based on the occupancy time to transmit the target data packet, thereby avoiding the situation where multiple HARQ processes configured on the base station device are occupied for a long time, resulting in the inability to transmit newly received data packets. The above technical solution solves the problem of low transmission efficiency of data packets transmitted through HARQ processes in related technologies, and achieves the technical effect of improving the transmission efficiency of data packets transmitted through HARQ processes.

[0039] In the technical solution provided in the above step S202, it is possible but not limited to constructing a correspondence between the HARQ process and the data packet. The base station transmits the corresponding data instead of the HARQ process according to the correspondence, thereby realizing the occupancy status of each HARQ process through the correspondence between the HARQ process and the data packet. Alternatively, it can be constructed by constructing a correspondence between the data packet and the process identifier of the HARQ process. When the base station needs to transmit a data packet, it can find the data packet corresponding to the HARQ process identifier from the correspondence, and then determine the occupancy status of the HARQ process corresponding to the process identifier.

[0040] Optionally, in this embodiment, HARQ technology is applied to the Medium Access Control layer (MAC), which is responsible for retransmitting data to the receiving end when an error occurs in the data transmission. The base station side creates multiple HARQ processes, and each HARQ process independently performs its own processing process. During the downlink scheduling process, the base station side allocates a HARQ process for each transport block TB (transport block) sent. Figure 3 is an optional data transmission schematic diagram according to an embodiment of the present application. As shown in Figure 3, multiple HARQ processes are established on the base station, and each HARQ process independently performs its own processing process for sending data to the corresponding terminal device.

[0041] Optionally, in this embodiment, the base station side generally uses a stop-and-wait (SAW) automatic repeat request protocol for implementation. Figure 4 is an optional data interaction diagram according to the application embodiment. As shown in Figure 4, during the downlink scheduling process, the base station side will allocate a HARQ process for each transport block TB (transport block) sent. The terminal device will perform CRC error detection on the TB. If the reception is correct, it will return an acknowledgment (ACK) signal. When the base station side receives the ACK feedback, it will release the HARQ process corresponding to the ACK feedback. If it is an error, it will return a non-acknowledgement (NACK) signal. The base station side will use the allocated HARQ process to retransmit the TB data.

[0042] In the technical solution provided in the above step S204, a timer may be set for each HARQ process on the base station, but is not limited to being set. The timer is used to record the duration of time the corresponding HARQ process is occupied, thereby obtaining the target occupation duration of each HARQ process. Alternatively, a timestamp may be recorded. When each HARQ process is assigned to a data packet, a timestamp is added, denoted as HarqProcessIdT1, to mark the time point when the newly transmitted data is successfully assigned to the HARQ process. When the target occupation duration needs to be obtained, the current timestamp HarqProcessIdT2 is obtained, and the difference between HarqProcessIdT2 and HarqProcessIdT1 is determined as the occupation duration of the corresponding HARQ process.

[0043] In the technical solution provided in step S206 above, the reference on-duration may be determined based on the target on-duration corresponding to each HARQ process. For example, the reference on-duration may be determined by calculating the average of the on-durations of all HARQ processes configured on the base station as the reference on-duration, or by comparing the on-durations of all HARQ processes to select the reference on-duration. Alternatively, the reference on-duration may be determined based on the duplex mode and TDD subframe of the data transmission between the base station and the terminal. For example, a correspondence between the duplex mode, TDD subframe, and on-duration may be set to select the reference on-duration corresponding to the current duplex mode and TDD subframe.

[0044] Optionally, in this embodiment, each of the multiple HARQ processes is set with a process number of the position. Before obtaining the occupancy time of each HARQ process, the process numbers of the multiple HARQ processes can also be identified, and it is detected whether the process number value is greater than the total number of the multiple HARQ processes. When it is determined that the process number of a certain HARQ process is greater than the total number of the multiple HARQ processes, the HARQ process can be determined to be an abnormal process, and then the HARQ process is determined to be the target HARQ process, and the process number of the target HARQ process is reconfigured.

[0045] In the embodiment provided in the above step S208, the target data packet may be encrypted and transmitted in the target HARQ process or transmitted according to an encryption method pre-agreed between the terminal device receiving the target data packet, and this solution does not limit this.

[0046] Optionally, in this embodiment, after the target HARQ process is determined, it is first necessary to release the service data currently being transmitted on the target HARQ process, and configure the target HARQ process as the HARQ process for transmitting the target data packet.

[0047] As an optional embodiment, obtaining the target occupied duration of each HARQ process currently occupied includes:

[0048] Obtaining a first timestamp corresponding to each HARQ process, wherein the first timestamp is a timestamp of the HARQ process corresponding to the reference data packet configured by the target base station, and the reference data packet is a data packet currently transmitted by the HARQ process;

[0049] The target difference between the second timestamp corresponding to the current moment and the first timestamp is calculated as the target occupancy duration.

[0050] Optionally, in this embodiment, the timestamp may be, but is not limited to, a 16-bit timestamp combined with a subframe and a system frame message of the current TTI.

[0051] As an optional embodiment, selecting a target HARQ process from multiple HARQ processes according to a target occupancy duration includes:

[0052] Determining a target transmission mode between the target base station and a reference device, where the target transmission mode is used to characterize a data transmission method between the target base station and the reference device, where the reference device is a device used to receive a reference data packet, and the reference data packet is a data packet currently transmitted by the corresponding HARQ process;

[0053] Determining a reference occupied duration corresponding to a target transmission mode from transmission modes and occupied durations having a corresponding relationship;

[0054] A HARQ process whose target occupation duration is greater than or equal to the reference occupation duration is determined as a target HARQ process.

[0055] Optionally, in this embodiment, the target transmission mode may include, but is not limited to, a duplex mode (such as a time division duplex mode, a frequency division duplex mode, etc.) and a simplex mode, which is not limited in this solution.

[0056] As an optional embodiment, obtaining the target occupied duration of each HARQ process currently occupied includes:

[0057] Determining whether the HARQ process is in a retransmission state for a reference data packet, where the reference data packet is a data packet currently being transmitted by the HARQ process, and the retransmission state is used to indicate that the HARQ process has repeatedly transmitted the reference data packet due to an abnormal reception of the reference data packet by a data receiving device;

[0058] When the HARQ process is not in a retransmission state for the reference data packet, a target occupied time duration of the HARQ process is obtained.

[0059] Optionally, in this embodiment, the retransmission status of the reference data packet can be determined by detecting the data transmission information corresponding to the reference data. The data transmission information can be information configured on the device that sends the reference data packet to characterize the number of data transmissions. For example, the number of times each data packet is sent is recorded on the device that sends the reference data packet. When the number of transmissions is 0, the data packet is determined to be a newly transmitted data packet. When the number of transmissions is an integer greater than or equal to 1, the data packet is determined to be a retransmitted data packet. The data transmission information can also be an NDI (new data indication) field, which is not limited in this solution.

[0060] Optionally, in this embodiment, different detection mechanisms may be set for different retransmission states to detect whether the current process needs to be released and whether it needs to be set as the target process for transmitting the target data packet. For example, when the data packet transmitted by the occupied process is a retransmission data packet, it may be determined based on the number of retransmissions whether the current process can be used as the target HARQ process for transmitting the target data packet. When the data packet transmitted by the occupied process is a new transmission data packet, it may be determined based on the duration of the process being occupied whether the current duration can be used as the target HARQ process for transmitting the target data packet. FIG5 is a first schematic diagram of an optional target HARQ process determination according to an embodiment of the present application. As shown in FIG5 , the process includes at least the following steps:

[0061] S501, for each UE (User Equipment) scheduled for TTI (Transmission Time Interval), first determine whether the target data packet scheduled by the UE is a new transmission or a retransmission. For retransmissions, the already allocated HARQ process is returned, while for new transmissions, new downlink resources are allocated. When a HARQ process needs to be allocated for the target data packet, the occupancy status of all HARQ processes currently allocated on the base station needs to be determined, and the HARQ process in the idle state is selected as the target HARQ process. For the HarqProcessId successfully allocated for the new transmission data, the HarqProcessId obtained for the new transmission data is timestamped with HarqProcessIdT1 according to the subframe and system frame message scheduled for the current TTI, and the Harq process is set to the occupied state. However, if all HARQ processes configured on the base station are in the occupied state, an available HarqProcessId cannot be successfully allocated, and the target HARQ process needs to be determined based on the retransmission status of the data packet by each process.

[0062] S502: traverse the HARQ processes deployed on the base station and determine the retransmission status of the data packet currently being transmitted in each process.

[0063] S503, when the data packet transmitted on the process is a retransmission data packet, the target HARQ process is determined according to the number of retransmissions. For example, when the number of retransmissions is greater than the reference number of retransmissions, the HARQ process is determined as the target HARQ process.

[0064] S504, when the data packet transmitted on the process is a new data packet, the target HARQ process is determined according to the duration of the process occupation. For example, when the occupation duration is greater than the reference number of retransmissions, the HARQ process is determined as the target HARQ process.

[0065] In the above embodiment, in order to avoid the process being occupied for a long time due to the retransmission of the data packet not meeting the retransmission number, the target HARQ process can be determined according to the length of time the HARQ process in the retransmission state is occupied. FIG6 is a second schematic diagram of optional determination of the target HARQ process according to the first embodiment of the present application. As shown in FIG6, at least the following steps are included:

[0066] S601, detect whether the target retransmission number of the current process is greater than the reference retransmission number. If it is greater than the reference retransmission number, execute step S603; if it is less than the reference retransmission number, execute step S602.

[0067] S602, when the number of retransmissions of the process in the current retransmission state does not reach the reference number of retransmissions, obtain the current timestamp, and calculate the difference between the current timestamp and the timestamp corresponding to the moment when the current process is occupied, obtain the target occupation time, and determine whether the target occupation time is greater than the reference occupation time.

[0068] S603: When the target occupation duration is greater than the reference occupation duration, the current HARQ process is determined as the target HARQ process.

[0069] As an optional embodiment, after determining whether the HARQ process is in a retransmission state for the reference data packet, the method further includes:

[0070] When the HARQ process is in a retransmission state for the reference data packet, matching a target retransmission number of the HARQ process for the reference data packet with a reference retransmission number;

[0071] When the target retransmission number is greater than or equal to the reference retransmission number, the HARQ process is determined as the target HARQ process.

[0072] Optionally, in this embodiment, when the reference data packet is in a retransmission state, the target occupancy time of the data packet for the HARQ process can be determined first. When the target occupancy time is greater than or equal to the reference occupancy time, the HARQ process is determined as the target HARQ process. When the target occupancy time is less than the reference occupancy time, the target number of retransmissions of the data packet is determined. When the target number of retransmissions is greater than or equal to the reference number of retransmissions, the HARQ process is determined as the target HARQ process.

[0073] Optionally, in this embodiment, the reference number of retransmissions may be determined based on a target number of retransmissions corresponding to each HARQ process. For example, the average number of retransmissions of all HARQ processes configured on the base station is calculated as the reference number of retransmissions, or the number of retransmissions of all HARQ processes is compared and the maximum number is selected as the reference number of retransmissions. Alternatively, the reference number of retransmissions may be determined based on the duplex mode and TDD subframe of data transmission between the base station and the terminal. For example, a correspondence between the duplex mode, TDD subframe, and number of retransmissions is set, and the reference number of retransmissions corresponding to the current duplex mode and TDD subframe is selected.

[0074] Optionally, in this embodiment, the reference retransmission number can also be the retransmission number set corresponding to the data type of the transmitted data packet, or it can also be the retransmission number set according to the size of the data carried by the data packet. This solution does not limit this.

[0075] As an optional embodiment, before matching the target number of retransmissions of the HARQ process for the reference data packet with the reference number of retransmissions, the method further includes:

[0076] determining a reference data type of data carried in a reference data packet;

[0077] A reference retransmission number corresponding to a reference data type is determined from data types and retransmission numbers having a corresponding relationship.

[0078] As an optional embodiment, using the target HARQ process to transmit the target data packet includes:

[0079] The first correspondence stored in the target correspondence set is modified to a second correspondence, wherein the first correspondence records a reference data packet and a target process number with a corresponding relationship, and the second correspondence records a target data packet and a target process number with a corresponding relationship, the target process number is the process number of the target HARQ process, the reference data packet is the data packet currently transmitted by the target HARQ process, and the target base station is used to transmit the corresponding data packet using the HARQ process according to the target correspondence set.

[0080] Optionally, in this embodiment, each HARQ process independently performs its own processing, and each process has a unique process number.

[0081] FIG7 is a flowchart of an optional data packet transmission according to an embodiment of the present application. As shown in FIG7 , the flowchart includes at least the following steps:

[0082] S701, for each downlink TTI, MAC performs downlink scheduling and schedules downlink resources based on whether the currently scheduled UE is for new transmission data. If the scheduled resources are for new transmission data, resources such as the number of RBs, MCS, and downlink HARQ process are allocated. Otherwise, if the data is retransmission data, the retransmission data is obtained from the retransmission queue, and the scheduling resources use the HARQ process that has been allocated during the new transmission, where the HARQ process is represented by HARQProcessID.

[0083] S702, determine whether the current TTI scheduling is a new data packet (i.e., determine whether the target data packet is a new data packet). If it is a new data packet, execute step S703; if it is not a new data packet, execute step S713.

[0084] S703, detect the occupancy status of all HARQ processes configured on the current base station, and determine whether there is an idle HARQProcessID. If there is an idle HARQProcessID, execute step S704; if there is no HARQProcessID, execute step S705.

[0085] S704, when there is an idle HARQProcessID, allocate an idle HARQProcessID, and based on the system frame and subframe information of the current scheduling moment, mark the timestamp HARQProcessIDT1 for the successfully allocated HarqProcessID of the TTI, and set the state of the Harq process to occupied state.

[0086] S705: If the idle state HARQProcessID cannot be obtained normally during the downlink scheduling process, all HARQ processes need to be traversed and processed according to the following two situations. First, it is determined whether the currently traversed HARQProcessID is less than the maximum total number of HARQ processes currently configured.

[0087] S706: Detect whether the data packet currently transmitted in each HARQ process is a new data packet.

[0088] S707 : When the data packet currently being transmitted on the HARQ process is a newly transmitted data packet, obtain the current timestamp HARQProcessIDT2 and calculate the difference ΔT (target occupancy time) between HARQProcessIDT2 and HARQProcessIDT1 .

[0089] S708: Check whether the target occupation duration is less than or equal to HARQTimeout (reference occupation duration). When the target occupation duration is greater than the reference occupation duration, execute step S714.

[0090] S709: Release the process whose occupancy time exceeds the reference occupancy time, and determine the process as the target HARQ process.

[0091] S710, detecting whether the number of times the process retransmits the data packet is greater than the maximum retransmission number (reference retransmission number), if it is greater than the reference retransmission number, executing step S711, otherwise executing step S714.

[0092] S711: Release the process whose retransmission times exceed the maximum retransmission times, and determine the process as the target HARQ process.

[0093] S712: Configure a timestamp for indicating the initial occupation time of the process by the target data packet.

[0094] S713, returns the process that has been allocated during the new transmission.

[0095] S714: The process sends the data packet that needs to be sent.

[0096] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software and the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0097] Figure 8 is a structural block diagram of a data packet transmission device according to an embodiment of the present application; as shown in Figure 8, it includes: a detection module 82, which is configured to detect the occupancy status of multiple HARQ processes configured on the target base station when there is target data to be transmitted on the target base station, wherein each HARQ process is configured to transmit a data packet to be transmitted to a corresponding data receiving device, and the target data packet is a data packet that has not been transmitted using multiple HARQ processes; an acquisition module 84, which is configured to obtain the target occupancy time of each HARQ process currently occupied when each HARQ process in multiple HARQ processes is in an occupied state; a screening module 86, which is configured to screen out a target HARQ process from multiple HARQ processes based on the target occupancy time, wherein the target occupancy time of the target HARQ process is greater than or equal to the reference occupancy time; a transmission module 88, which is configured to use the target HARQ process to transmit the target data packet.

[0098] Through the above content, by monitoring the occupancy time of the HARQ process on the base station, when there is a target data packet that needs to be transmitted and multiple HARQ processes configured on the base station are all in an occupied state, a target HARQ process is selected from the multiple HARQ processes based on the occupancy time and set to transmit the target data packet, thereby avoiding the situation where multiple HARQ processes configured on the base station device are occupied for a long time, resulting in the inability to transmit newly received data packets. The above technical solution solves the problem of low transmission efficiency of data packets transmitted through HARQ processes in related technologies, and achieves the technical effect of improving the transmission efficiency of data packets transmitted through HARQ processes.

[0099] Optionally, the acquisition module includes: a first acquisition unit, configured to obtain a first timestamp corresponding to each HARQ process, wherein the first timestamp is the timestamp of the HARQ process corresponding to the reference data packet configured by the target base station, and the reference data packet is the data packet currently transmitted by the HARQ process; a calculation unit, configured to calculate the target difference between the second timestamp corresponding to the current moment and the first timestamp as the target occupancy time.

[0100] Optionally, the screening module includes: a first determination unit, configured to determine a target transmission mode between the target base station and a reference device, wherein the target transmission mode is configured to characterize a data transmission method between the target base station and the reference device, the reference device is a device configured to receive a reference data packet, and the reference data packet is a data packet currently transmitted by the corresponding HARQ process; a second determination unit, configured to determine a reference occupancy time corresponding to the target transmission mode from transmission modes and occupancy times having a corresponding relationship; and a third determination unit, configured to determine a HARQ process having a target occupancy time greater than or equal to the reference occupancy time as a target HARQ process.

[0101] Optionally, the acquisition module includes: a judgment unit, configured to judge whether the HARQ process is in a retransmission state for a reference data packet, wherein the reference data packet is a data packet currently transmitted by the HARQ process, and the retransmission state is set to indicate that the HARQ process has repeatedly transmitted the reference data packet due to an abnormal reception of the reference data packet by the data receiving device; and a second acquisition unit, configured to obtain the target occupancy time of the HARQ process when the HARQ process is not in a retransmission state for the reference data packet.

[0102] Optionally, the device also includes: a matching module, which is configured to, after determining whether the HARQ process is in a retransmission state for the reference data packet, match the target retransmission number of the HARQ process for the reference data packet with the reference retransmission number when the HARQ process is in a retransmission state for the reference data packet; and a first determination module, which is configured to determine the HARQ process as the target HARQ process when the target retransmission number is greater than or equal to the reference retransmission number.

[0103] Optionally, the device also includes: a second determination module, configured to determine the reference data type of the data carried in the reference data packet before matching the target retransmission number of the HARQ process for the reference data packet with the reference retransmission number; and a third determination module, configured to determine the reference retransmission number corresponding to the reference data type from data types and retransmission numbers with corresponding relationships.

[0104] Optionally, the transmission module includes: a modification unit, which is configured to modify the first correspondence stored in the target correspondence set to a second correspondence, wherein the first correspondence records a reference data packet and a target process number with a corresponding relationship, and the second correspondence records a target data packet and a target process number with a corresponding relationship, the target process number is the process number of the target HARQ process, the reference data packet is the data packet currently transmitted by the target HARQ process, and the target base station is configured to use the HARQ process to transmit the corresponding data packet according to the target correspondence set.

[0105] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein when the program is run, any of the above-mentioned data packet transmission methods is executed.

[0106] Optionally, in this embodiment, the above-mentioned storage medium can be configured to store program code configured to perform the following steps: in a case where there is target data to be transmitted on the target base station, detecting the occupancy status of multiple HARQ processes configured on the target base station, wherein each HARQ process is configured to transmit a data packet to be transmitted to a corresponding data receiving device, and the target data packet is a data packet that has not been transmitted using multiple HARQ processes; in a case where each HARQ process in the multiple HARQ processes is in an occupied state, obtaining the target occupancy time of each HARQ process currently occupied; filtering out the target HARQ process from the multiple HARQ processes according to the target occupancy time, wherein the target occupancy time of the target HARQ process is greater than or equal to the reference occupancy time; and using the target HARQ process to transmit the target data packet.

[0107] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned data packet transmission method embodiments.

[0108] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0109] Optionally, in this embodiment, the above-mentioned processor can be configured to perform the following steps through a computer program: in a case where there is target data to be transmitted on the target base station, detecting the occupancy status of multiple HARQ processes configured on the target base station, wherein each HARQ process is used to transmit a data packet to be transmitted to a corresponding data receiving device, and the target data packet is a data packet that has not been transmitted using multiple HARQ processes; in a case where each HARQ process in the multiple HARQ processes is in an occupied state, obtaining the target occupancy time of each HARQ process currently occupied; filtering out the target HARQ process from the multiple HARQ processes according to the target occupancy time, wherein the target occupancy time of the target HARQ process is greater than or equal to the reference occupancy time; and using the target HARQ process to transmit the target data packet.

[0110] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0111] Optionally, specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0112] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices. Alternatively, they can be implemented using program code executable by the computing device, so that they can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described can be performed in a different order than herein, or they can be made into separate integrated circuit modules, or multiple modules or steps can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0113] The above is only an optional implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for transmitting a data packet, comprising: In a case where there is target data to be transmitted on the target base station, detecting the occupancy status of multiple HARQ processes configured on the target base station, wherein each of the HARQ processes is used to transmit a data packet to be transmitted to a corresponding data receiving device, and the target data packet is a data packet that has not been transmitted using the multiple HARQ processes; When each of the multiple HARQ processes is in an occupied state, obtaining a target occupied duration of each of the HARQ processes currently occupied; Filtering a target HARQ process from the multiple HARQ processes according to the target occupancy duration, wherein the target occupancy duration of the target HARQ process is greater than or equal to a reference occupancy duration; The target data packet is transmitted using the target HARQ process.

2. The method according to claim 1, wherein: The obtaining of the target occupied time length of each HARQ process currently occupied comprises: Acquire a first timestamp corresponding to each of the HARQ processes, wherein the first timestamp is a timestamp of the HARQ process corresponding to the reference data packet configured by the target base station, and the reference data packet is a data packet currently transmitted by the HARQ process; A target difference between a second timestamp corresponding to the current moment and the first timestamp is calculated as the target occupancy duration.

3. The method according to claim 1, wherein: The selecting a target HARQ process from the multiple HARQ processes according to the target occupancy duration includes: Determine a target transmission mode between the target base station and a reference device, wherein the target transmission mode is used to characterize a data transmission mode between the target base station and the reference device, the reference device is a device for receiving a reference data packet, and the reference data packet is a reference data packet. The data packet currently transmitted by the HARQ process; Determining the reference occupied duration corresponding to the target transmission mode from the transmission modes and occupied durations having a corresponding relationship; The HARQ process whose target occupancy duration is greater than or equal to the reference occupancy duration is determined as the target HARQ process.

4. The method according to claim 1, wherein: The obtaining of the target occupied time length of each HARQ process currently occupied comprises: Determine whether the HARQ process is in a retransmission state for a reference data packet, wherein the reference data packet is a data packet currently transmitted by the HARQ process, and the retransmission state is used to indicate that the reference data packet is repeatedly transmitted by the HARQ process due to abnormal reception of the reference data packet by a data receiving device; When the HARQ process is not in the retransmission state for the reference data packet, a target occupied time length of the HARQ process is acquired.

5. The method according to claim 4, wherein: After determining whether the HARQ process is in a retransmission state for the reference data packet, the method further includes: When the HARQ process is in a retransmission state for the reference data packet, matching a target retransmission number of the HARQ process for the reference data packet with a reference retransmission number; When the target number of retransmissions is greater than or equal to the reference number of retransmissions, the HARQ process is determined as the target HARQ process.

6. The method according to claim 4, wherein: Before matching the target number of retransmissions of the reference data packet by the HARQ process with the reference number of retransmissions, the method further includes: Determining a reference data type of data carried in the reference data packet; The reference retransmission number corresponding to the reference data type is determined from data types and retransmission numbers that have a corresponding relationship.

7. The method according to claim 1, wherein: The using the target HARQ process to transmit the target data packet includes: The first correspondence stored in the target correspondence set is modified to a second correspondence, wherein the first correspondence records a reference data packet and a target process number with a correspondence, and the second correspondence records the target data packet and the target process number with a correspondence, the target process number is the process number of the target HARQ process, the reference data packet is the data packet currently transmitted by the target HARQ process, and the target base station is used to use the HARQ process to transmit the corresponding data packet according to the target correspondence set.

8. A data packet transmission device, wherein: include: a detection module, configured to detect the occupancy status of multiple HARQ processes configured on the target base station when there is target data to be transmitted on the target base station, wherein each of the HARQ processes is configured to transmit a data packet to be transmitted to a corresponding data receiving device, and the target data packet is a data packet that has not been transmitted using the multiple HARQ processes; An acquisition module is configured to acquire, when each of the multiple HARQ processes is in an occupied state, a target occupied duration of each of the HARQ processes currently occupied; A screening module is configured to screen out a target HARQ process from the multiple HARQ processes according to the target occupancy duration, wherein the target occupancy duration of the target HARQ process is greater than or equal to a reference occupancy duration; A transmission module is configured to transmit the target data packet using the target HARQ process.

9. A computer-readable storage medium, wherein: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 7 when executed.

10. An electronic device comprising a memory and a processor, wherein: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.

Citation Information

Patent Citations

  • A method and apparatus for data transmission

    CN110100494B

  • Data transmission method and equipment

    CN114070485A

  • Uplink transmission method, device and terminal

    CN115276919A

  • Data packet transmission method and device, storage medium and electronic device

    CN116865913A

  • HARQ process management method and apparatus, terminal, and storage medium

    US20220368467A1