WO2020077752A1 - Data transmission method and apparatus, and electronic device - Google Patents

Data transmission method and apparatus, and electronic device Download PDF

Info

Publication number
WO2020077752A1
WO2020077752A1 PCT/CN2018/118128 CN2018118128W WO2020077752A1 WO 2020077752 A1 WO2020077752 A1 WO 2020077752A1 CN 2018118128 W CN2018118128 W CN 2018118128W WO 2020077752 A1 WO2020077752 A1 WO 2020077752A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission
terminal
data packet
terminals
time slot
Prior art date
Application number
PCT/CN2018/118128
Other languages
French (fr)
Chinese (zh)
Inventor
田辉
聂高峰
肖佳莉
Original Assignee
无锡北邮感知技术产业研究院有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 无锡北邮感知技术产业研究院有限公司 filed Critical 无锡北邮感知技术产业研究院有限公司
Publication of WO2020077752A1 publication Critical patent/WO2020077752A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals

Definitions

  • This application relates to the field of communication technologies, and in particular, to a data transmission method, device, and electronic equipment.
  • the uplink unlicensed transmission scheme In order to meet the latency of low latency and high reliability communication (Ultra Reliable and Low Latency Communications, URLLC), the uplink unlicensed transmission scheme is currently proposed, that is, during the uplink transmission process, the terminal can directly transmit the uplink on the pre-configured resources The data saves the process of the terminal sending a resource scheduling request to the base station. Compared with the traditional authorized transmission scheme, the uplink unlicensed transmission scheme saves resource request and authorization time and reduces user plane delay.
  • SCMA Sparse Code Multiple Access
  • the terminal Since the resource request of the terminal and the authorization of the base station are canceled, the terminal cannot know the resources used for the initial transmission and retransmission of the data packet.
  • the prior art generally adopts a semi-persistent scheduling method to configure the initial transmission resources for each terminal served by the base station, and configures a shared retransmission resource for each group of terminals.
  • the initial transmission resources and retransmission resources allocated to the terminals may not actually be used, resulting in a lot of waste of resources Therefore, it is currently impossible to balance resource utilization and user plane delay when implementing URLLC communication.
  • the purpose of the embodiments of the present application is to provide a data transmission method, device and electronic equipment, so as to reduce the user plane delay on the basis of ensuring resource utilization.
  • the specific technical solutions are as follows:
  • a data transmission method which is characterized in that it is applied to a terminal, and the method includes:
  • At least two shared basic transmission units are determined according to the terminal's identity ID, the total number of basic transmission units, and preset mapping rules;
  • the transmission result is transmission failure and the last data packet does not satisfy the retransmission condition, then at least one basic transmission unit exclusively for the terminal is determined according to the terminal ID; the retransmission condition is a data packet It has only been sent once and the data packet was sent without queuing delay;
  • the method further includes:
  • the feedback message containing the transmission result sent by the base station has not been received before sending the data packet to be transmitted, it is determined whether the number of terminals served by the base station is less than the total number of basic transmission units;
  • the number of terminals served by the base station is less than the total number of basic transmission units, at least two are determined according to the ID of the terminal, the total number of basic transmission units, the number of terminals served by the base station and the first initial mapping rule Shared basic transmission unit;
  • the number of terminals served by the base station is greater than or equal to the total number of basic transmission units, then according to the ID of the terminal, the total number of basic transmission units, the number of terminals served by the base station and the second initial mapping rule, determine at least Two shared basic transmission units;
  • determining at least two shared basic transmission units according to the terminal's identity ID, the total number of basic transmission units, and a preset mapping rule includes: :
  • the transmission result in the current time slot according to the terminal ID is transmission successful or unsuccessful
  • the arrangement position in the transmitted terminals, the transmission result of the current time slot is the number of terminals that have been successfully transmitted or not transmitted, the transmission result of the current time slot is the number of terminals that failed to be transmitted, and the basic transmission unit for sharing
  • the quantity and the first preset mapping rule determine at least two shared basic transmission units;
  • the transmission result in the current time slot according to the ID of the terminal is transmission successful or not
  • the arrangement position in the transmitted terminals, the transmission result of the current time slot is the number of terminals that failed to transmit, the number of shared basic transmission units and the second preset mapping rule, to determine at least two shared basic transmission units .
  • determining at least one basic transmission unit exclusively for the terminal according to the terminal ID includes:
  • the transmission result in the current time slot according to the terminal ID is the first
  • the arrangement position of a terminal of a type of transmission failure determines a basic transmission unit exclusively for the terminal, the first type of transmission failure is the failure of the terminal to transmit the last packet, and the terminal and the base station The distance between is less than or equal to the distance threshold;
  • the transmission result in the current time slot according to the terminal ID is the first
  • the arrangement position of the terminal of the second type of transmission failure, the transmission result of the current time slot is the number of terminals of the first type of transmission failure and the transmission result of the current time slot is the number of terminals of the second type of transmission failure, determine two
  • the second type of transmission failure is that the terminal fails to transmit the last data packet, and the distance between the terminal and the base station is greater than the distance threshold.
  • the method further includes:
  • the transmission result in the current time slot according to the terminal ID is the first Arranging positions in the terminal where the class transmission fails, determining a basic transmission unit exclusively for the terminal, and retransmitting the previous data packet to the base station through the determined basic transmission unit exclusively for the terminal;
  • the transmission result in the current time slot according to the terminal ID is the second
  • the arrangement position of the terminals that failed to transmit similarly, the transmission result of the current time slot is the number of terminals that failed to transmit in the first category, and the transmission result of the current time slot is the number of terminals that failed in transmission in the second category, and two are determined to be exclusive to the terminal
  • the basic transmission unit of retransmits the last data packet to the base station through the determined two basic transmission units exclusively for the terminal.
  • a data transmission device which is characterized in that it is applied to a terminal, and the device includes:
  • the determining module is used to determine the transmission result of the terminal to the last data packet; if the transmission result is successful or untransmitted, according to the terminal's identity ID, the total number of basic transmission units and preset mapping rules , Determine at least two shared basic transmission units; if the transmission result is transmission failure and the last data packet does not satisfy the retransmission condition, then determine at least one basic base for exclusive use by the terminal according to the terminal ID Transmission unit; the retransmission condition is that the data packet has only been sent once and the data packet has not been subjected to queuing delay;
  • the sending module is configured to send the data packet to be transmitted to the base station through the basic transmission unit determined by the determining module.
  • the device further includes: a judgment module;
  • the judging module is used to judge whether the number of terminals served by the base station is less than the total number of basic transmission units if the feedback message containing the transmission result sent by the base station has not been received before sending the data packet to be transmitted Quantity
  • the determining module is further configured to: if the number of terminals served by the base station determined by the determining module is less than the total number of basic transmission units, based on the terminal ID, the total number of basic transmission units, the base station The number of service terminals and the first initial mapping rule to determine at least two shared basic transmission units; if the number of terminals served by the base station judged by the judgment module is greater than or equal to the total number of basic transmission units, according to the terminal ID, the total number of basic transmission units, the number of terminals served by the base station, and the second initial mapping rule, determine at least two shared basic transmission units;
  • the sending module is further configured to send the data packet to be transmitted to the base station through at least two shared basic transmission units determined by the determining module.
  • the determination module is specifically configured to: determine that the transmission result in the current time slot is the number of terminals with successful or untransmitted transmission, and the transmission result in the current time slot is the number of terminals with failed transmission; determine the terminal The transmission result of the ID in the current time slot is the arrangement position in the terminal with successful or untransmitted transmission; based on the total number of basic transmission units and the transmission result of the current time slot with the number of failed transmission terminals, determine the shared terminal Number of basic transmission units; if the number of basic transmission units for sharing is greater than the number of terminals whose transmission is successful or not transmitted in the current time slot, the transmission result in the current time slot according to the terminal ID Is the arrangement position in the terminal with successful or untransmitted transmission, the transmission result of the current time slot is the number of terminals with successful or untransmitted transmission, the transmission result of the current time slot is the number of terminals with failed transmission, and the The number of shared basic transmission units and the first preset mapping rule determine at least two shared basic transmission units; if the If the number of basic
  • the determining module is specifically configured to: if the terminal transmits the last data packet as the first type of transmission failure, and the last data packet does not satisfy the retransmission condition, then determine The transmission result of the terminal ID in the current time slot is the arrangement position of the terminal of the first type of transmission failure, and a basic transmission unit exclusively for the terminal is determined, and the first type of transmission failure is the previous Data packet transmission fails, and the distance between the terminal and the base station is less than or equal to the distance threshold; if the result of the terminal's transmission of the previous data packet is a second type of transmission failure, and the previous data packet is not satisfied
  • the transmission result of the ID of the terminal in the current time slot is the arrangement position of the terminal of the second type of transmission failure, and the transmission result of the current time slot is the number of terminals of the first type of transmission failure and the current
  • the transmission result of the time slot is the number of terminals of the second type of transmission failure, and determine two basic transmission units for exclusive use by the terminal, and the second type of
  • the device further includes: a first retransmission module and a second retransmission module;
  • the first retransmission module is configured to: if the transmission result of the last data packet by the terminal is that the first type of transmission fails, and the last data packet satisfies the retransmission condition, according to the terminal ID
  • the transmission result of the current time slot is the arrangement position of the terminal of the first type of transmission failure, determine a basic transmission unit exclusively for the terminal, and retransmit to the base station through the determined basic transmission unit exclusively for the terminal The previous data packet;
  • the second retransmission module is configured to: if the transmission result of the last data packet by the terminal is that the second type of transmission fails, and the last data packet meets the retransmission condition, according to the terminal ID
  • the transmission result in the current time slot is the arrangement position in the terminal of the second type of transmission failure
  • the transmission result of the current time slot is the number of terminals of the first type of transmission failure
  • the transmission result of the current time slot is the second type
  • determine two basic transmission units exclusively for the terminal determine two basic transmission units exclusively for the terminal, and retransmit the previous data packet to the base station through the determined two basic transmission units exclusively for the terminal.
  • an electronic device which is characterized by comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
  • Memory used to store computer programs
  • the processor when used to execute the program stored in the memory, implements the steps of any of the above data transmission methods.
  • the implementation of the present application further provides a computer-readable storage medium in which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above data transmission methods are implemented.
  • an embodiment of the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any of the above data transmission methods.
  • the terminal can determine the shared basic transmission unit, that is, the terminal can send the data packet to be transmitted to the base station through the multiple shared basic transmission units, and the shared basic transmission unit can For multiple terminals to send data packets, because URLLC data packets have the characteristics of sporadic arrival, so different terminals use shared basic transmission units in different time slots without collisions, compared to the use of each terminal in the prior art
  • the exclusive initial transmission resources can increase the frequency of the basic transmission unit being used and improve the resource utilization rate.
  • the exclusive basic transmission unit is determined for the terminal that failed to transmit the last data packet, it is guaranteed that the terminal will not collide again when sending the current data packet, so after sending the data packet with the prior art, it fails to choose to retransmit until the data
  • applying the embodiment of the present application can reduce the user plane delay. Therefore, the basic transmission unit available for the terminal is adjusted in real time according to the transmission result of the last data packet provided by the embodiment of the present application, and the user plane delay can be reduced on the basis of ensuring resource utilization.
  • FIG. 1 is a schematic structural diagram of a data transmission system provided by an embodiment of the present application.
  • FIG. 2 is a flowchart of a data transmission method provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of dividing a basic transmission unit according to an embodiment of the present application.
  • FIG. 5 is an exemplary schematic diagram of a data transmission method provided by an embodiment of the present application.
  • 6 is a graph of the average packet loss rate provided by an embodiment of the present application as a function of the ratio of the number of terminals served by a base station to the total number of basic transmission units;
  • FIG. 7 is a graph of a change in average packet loss rate with flow frequency according to an embodiment of the present application.
  • FIG. 8 is another graph of average packet loss rate versus flow frequency according to an embodiment of the present application.
  • FIG. 9 is a graph of the average successful multiplexing rate provided by an embodiment of the present application as a function of the ratio of the number of terminals served by a base station to the total number of basic transmission units;
  • FIG. 11 is a schematic structural diagram of a data transmission device according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the data transmission method provided by the embodiment of the present application may be applied to the data transmission system shown in FIG. 1, the system includes: a terminal and a base station.
  • the terminal may be a terminal with wireless communication function such as a mobile phone, a computer, a wearable device.
  • the terminal is used to send a data packet to be transmitted to the base station and receive the feedback message sent by the base station.
  • the base station is used to send a feedback message to the terminal served by the base station after receiving the data packet sent by at least one terminal.
  • a data transmission method provided by an embodiment of the present application is applied to a terminal. As shown in FIG. 2, the method includes the following steps:
  • Step 201 Determine the transmission result of the last data packet by the terminal.
  • the terminal determines the transmission result of the last data packet through the feedback message sent by the base station received in the current time slot.
  • the transmission results include: successful transmission, failed transmission and untransmitted.
  • the transmission failure includes the first type of transmission failure and the second type of transmission failure.
  • the first type of transmission failure refers to the failure of the terminal to transmit the last packet, and the distance between the terminal and the base station is less than or equal to the distance threshold, indicating that the One packet is weakly retransmitted.
  • the second type of transmission failure means that the terminal fails to transmit the last data packet, and the distance between the terminal and the base station is greater than the distance threshold, indicating that the previous data packet needs to be strongly retransmitted.
  • the base station may broadcast an acknowledgment message (ACK) to all terminals served by it.
  • ACK acknowledgment message
  • the ACK message may be an N-dimensional column vector, which may In the feedback message of the terminal, N is the number of terminals served by the base station.
  • Each element in the vector can be represented by a two-bit symbol.
  • the terminal may preset a time slot every interval to send a data packet to the base station.
  • the preset time slot may be 1 time slot or 3 time slots.
  • the basic transmission units available to the terminal 5 are the basic transmission unit 1 and the basic transmission unit 3, if the data packet sent by the terminal 5 on the basic transmission unit 1 is successfully transmitted, the transmission of the data packet sent on the basic transmission unit 3 fails, Then, the data packet sent by the terminal 5 is successfully transmitted.
  • the basic transmission unit 1 can be shared by the terminals 1, 2 and 3
  • the basic transmission unit 2 can be shared by the terminals 1 and 2.
  • terminals 2 and 3 send data packets to the base station in the same time slot
  • the data packets of terminal 2 and terminal 3 on the basic transmission unit 1 collide, and the transmission of the data packets of terminal 2 on the basic transmission unit 2 is successful, because the basic transmission unit 1
  • the base station cannot know which data packets sent by the terminal collided. Therefore, it is considered that all the data packets sent by the terminal 1, 2 and 3 in the basic transmission unit 1 collide.
  • the data packet sent by the terminal 2 in the basic transmission unit 2 is successfully transmitted, so it is determined that the terminal 1 has not sent a data packet in the basic transmission unit 2. Therefore, the base station will give feedback to terminals 1, 2 and 3: terminal 1 has not transmitted the data packet, the data packet sent by terminal 2 has been successfully transmitted, and the data packet sent by terminal 3 has failed.
  • step 202 if the transmission result is successful or untransmitted, at least two shared basic transmission units are determined according to the terminal's identity ID, the total number of basic transmission units, and preset mapping rules.
  • the transmission result in the feedback message sent by the base station received in the current time slot according to the terminal's identity is the transmission
  • IDentity, ID is the transmission
  • the arrangement position, the total number of basic transmission units and the preset mapping rule in the terminals that are successfully or untransmitted determine the preset number of shared basic transmission units.
  • the preset number may be 2 or 3.
  • the shared basic transmission unit can be used not only by the terminal that sends the data packet to be transmitted, but also to other terminals that are allocated with the basic transmission unit.
  • the shared basic transmission unit 1 can be shared by the terminal 1 and the terminal 2
  • the shared basic transmission unit 2 can be shared by the terminal 1 and the terminal 3.
  • the terminal 1 and the terminal 2 are in different time slots and send data packets to the base station through the basic transmission unit 1, the data packets sent by the terminal 1 and the terminal 2 through the basic transmission unit 1 will not collide.
  • Step 203 If the transmission result is that the transmission fails and the last data packet does not satisfy the retransmission condition, then at least one basic transmission unit exclusively for the terminal is determined according to the terminal ID.
  • the retransmission condition is that the data packet has only been sent once and the queuing delay is not experienced when the data packet is sent.
  • the terminal needs to send a data packet A, the terminal has other data packets to be sent before sending data packet A, or there are other data packets that need to be retransmitted, you need to wait for other data packets to be sent before sending data packet A , That is, packet A needs to experience queuing delay.
  • the terminal fails to transmit the last data packet, it is determined whether the last data packet meets the retransmission condition; if the retransmission condition is met, then at least one of them is determined to be sent according to the terminal ID
  • Step 204 Send the data packet to be transmitted to the base station through the determined basic transmission unit.
  • the data packets to be transmitted are sent to the base station through each basic transmission unit.
  • the terminal can determine a shared basic transmission unit, that is, the terminal can send the data packet to be transmitted to the base station through multiple shared basic transmission units, and the shared basic transmission unit can be sent by multiple terminals Data packets, because URLLC data packets have the characteristics of sporadic arrival, so different terminals use shared basic transmission units in different time slots without collision, compared with the prior art.
  • Each terminal uses exclusive initial transmission resources , Can increase the frequency of the basic transmission unit is used, and improve resource utilization.
  • the exclusive basic transmission unit is determined for the terminal that failed to transmit the last data packet, it is guaranteed that the terminal will not collide again when sending the current data packet, so after sending the data packet with the prior art, it fails to choose to retransmit until the data
  • applying the embodiment of the present application can reduce the user plane delay. Therefore, the basic transmission unit available for the terminal is adjusted in real time according to the transmission result of the last data packet provided by the embodiment of the present application, and the user plane delay can be reduced on the basis of ensuring resource utilization.
  • the total number of basic transmission units is determined according to the uplink resources that the base station can use for the terminal.
  • the embodiment of the present application uses Sparse Code Multiple Access (SCMA) technology to divide the basic transmission unit.
  • SCMA Sparse Code Multiple Access
  • the bit stream of data is mapped to codewords for transmission, and N positive
  • the cross resource can generate C different codebooks, one terminal corresponds to one codebook, so N orthogonal resources can support the data of C terminals to be superimposed and transmitted on it.
  • L guides are used
  • the frequency sequence corresponds to one codebook
  • one codebook corresponds to L terminals
  • N orthogonal resources can be divided into C ⁇ L basic transmission units, and a schematic diagram of dividing the basic transmission units is shown in FIG. 3.
  • K represents the number of non-zero entities in a codeword.
  • step 201 if the system is in the initial time slot, none of the terminals served by the base station has used the method of the embodiment of the present application to transmit data packets to the base station. It can also be understood that the terminal has not received the base station before sending the data packet to be transmitted
  • the feedback message containing the transmission result is sent to the base station by the method shown in FIG. 4, which specifically includes the following steps:
  • Step 401 Determine whether the number of terminals served by the base station is less than the total number of basic transmission units.
  • the system if the system is in the initial time slot, it is determined whether the number N of terminals served by the base station is less than the total number M of basic transmission units.
  • step 402 If N is less than M, step 402 is performed; if N is greater than or equal to M, step 403 is performed.
  • Step 402 if the number of terminals served by the base station is less than the total number of basic transmission units, then at least two shared basic transmission units are determined according to the terminal ID, the total number of basic transmission units, the number of terminals served by the base station and the first initial mapping rule.
  • R shared basic transmission units are determined according to the first initial mapping rule, that is, formula (1):
  • ID is the ID of the terminal
  • M is the total number of basic transmission units
  • N is the number of terminals served by the base station
  • R is the preset number of shared basic transmission units available to the terminal
  • mod represents the remainder operation.
  • Step 403 If the number of terminals served by the base station is greater than or equal to the total number of basic transmission units, determine at least two shared basic transmission units according to the terminal ID, the total number of basic transmission units, the number of terminals served by the base station and the second initial mapping rule .
  • R shared basic transmission units are determined according to the second initial mapping rule, that is, formula (2):
  • ID is the ID of the terminal
  • M is the number of basic transmission units
  • R is the preset number of shared basic transmission units available to the terminal
  • mod represents the remainder operation.
  • the indexes of the shared basic transmission units corresponding to the terminal are: 3 and 4.
  • Step 404 Send the data packet to be transmitted to the base station through the determined at least two shared basic transmission units.
  • the transmission unit sends the data packet to be transmitted to the base station.
  • the terminal can send the data packet to be transmitted to the base station through multiple shared basic transmission units, and the shared basic transmission unit can be used by multiple terminals to send data packets, for a shared basic transmission unit, it can be provided at different times.
  • Different terminals are used; in the semi-persistent scheduling mode, each terminal has exclusive initial transmission resources, and the exclusive initial transmission resources can only be used by one terminal, so applying the embodiments of the present application can increase the frequency of basic transmission units being used To improve resource utilization.
  • the specific processing method of the above step 202 may be:
  • the transmission result in the current time slot is the number of terminals N 3 that have been successfully transmitted or not transmitted
  • the transmission result of the current time slot is the number of terminals N 1 and N 2 that failed in the transmission.
  • N 1 is the number of terminals in the current time slot whose transmission result is the first type of transmission failure
  • N 2 is the number of terminals in the current time slot transmission result is the second type of transmission failure.
  • the transmission result of the ID of the terminal in the current time slot is the arrangement position j in the terminal with successful or untransmitted transmission.
  • the feedback message sent by the base station in the current time slot is: "00, 10, 11, 01, 11, 00", respectively indicating the transmission result of the terminal 1-6, if the terminal ID is 3, the transmission result corresponding to the terminal 3 is obtained "11", the IDs of the terminals whose transmission result is successful or untransmitted are: 1, 3, 5, and 6, respectively, then the transmission position of terminal 3 in the current time slot is the successful or untransmitted terminal. 2.
  • the number of basic transmission units for sharing M ' is determined by formula (3):
  • M is the total number of basic transmission units
  • N 1 is the current time slot transmission result is the number of the first type of transmission failure terminal
  • N 2 is the current time slot transmission result is the second type of transmission failure terminal number.
  • the transmission result is the number of successful or untransmitted terminals N 3
  • the transmission result in the current time slot according to the terminal ID is the successful or untransmitted transmission Arrangement position j in the terminal
  • the transmission result of the current time slot is the number of terminals with successful transmission or untransmitted N 3
  • the transmission result of the current time slot is the number of terminals with failed transmission N 1 and N 2
  • the basic transmission unit for sharing The number M 'and the first preset mapping rule determine at least two shared basic transmission units; wherein, the first preset mapping rule is formula (4):
  • j is the arrangement position of the terminal ID in the current time slot transmission result is the successful or untransmitted terminal
  • M ' is the number of basic transmission units for sharing
  • N 1 is the transmission result of the current time slot.
  • N 2 is the number of terminals in the current time slot that failed in the second type of transmission.
  • N 3 is the number of terminals that failed in the current time slot.
  • the number of shared basic transmission units available to the terminal of, mod represents the remainder operation.
  • the transmission result in the current time slot is the number of successful or untransmitted terminals N 3 , then the transmission result in the current time slot according to the terminal ID is the successful or untransmitted
  • the arrangement position j in the terminal, the transmission result of the current time slot is the number of terminals N 1 and N 2 that failed to be transmitted, the number of basic transmission units for sharing M ′ and the second preset mapping rule to determine at least two shared basic Transmission unit; wherein, the second preset mapping rule is formula (5):
  • j is the arrangement position of the terminal ID in the current time slot transmission result is the successful or untransmitted terminal
  • M ' is the number of basic transmission units for sharing
  • N 1 is the transmission result of the current time slot.
  • N 2 is the number of terminals of the second type of transmission failure in the current time slot transmission result
  • R is the number of preset shared basic transmission units available for the terminal
  • mod represents the remainder operation.
  • the terminal can send the data packet to the base station through the determined at least two basic transmission units, if the same When the data packet is successfully transmitted in different basic transmission units at the same time, the base station obtains the multiplexing gain of the data packet, and the base station can more accurately decode the data packet, thereby improving transmission reliability.
  • the specific processing method of the above step 203 may be:
  • the transmission result in the current time slot according to the terminal ID is the first type of transmission failure, that is, the transmission result is "01", and the last data packet does not meet the retransmission condition, then the transmission result in the current time slot according to the terminal ID is the first
  • the arrangement position j ′ in the terminal of the first type of transmission failure determines the basic transmission unit with index j ′ as the basic transmission unit exclusively for the terminal.
  • the first type of transmission failure is that the terminal fails to transmit the last packet, and the terminal and The distance between the base stations is less than or equal to the distance threshold.
  • the coverage area of the base station is a circular area with the base station as the center and a radius r, and the distance threshold can be set
  • the transmission result in the current time slot according to the terminal ID is the first
  • the two basic transmission units with indexes j ′′ + N 1 and j ′′ + N 1 + N 2 are determined as the basic transmission unit exclusively for the terminal.
  • the second type of transmission failure is that the terminal fails to transmit the last packet, and the terminal and The distance between the base stations is greater than the distance threshold.
  • the transmission of the last data packet fails, which means that the last data packet collided with the data packet sent by other terminals in the shared basic transmission unit.
  • it needs to be allocated An exclusive basic transmission unit to avoid the collision of the data packets sent by the terminal executing the embodiments of the present application.
  • the second type of transmission failure indicates that the data packet sent by the terminal whose distance from the base station is greater than the distance threshold has collided. It can be understood that the terminal is farther from the base station.
  • the terminal whose transmission result is the second type of transmission failure can be assigned two exclusive basic transmission units.
  • two exclusive basic transmission units are allocated to the terminal whose transmission result is transmission failure, the number of basic transmission units used for sharing will be greatly reduced, which is not conducive to improving the resource utilization rate, so when considering resource utilization and transmission For reliability and other reasons, an exclusive basic transmission unit is allocated to a terminal that fails to transmit for a transmission result closer to the base station.
  • the method for the base station to determine the basic transmission unit corresponding to each terminal served by the base station is the same as the method for the terminal to determine the basic transmission unit.
  • the base station After the base station sends a feedback message to each terminal served by the base station, it determines that each terminal The basic transmission unit that can be used when transmitting a data packet.
  • the base station can detect the data packet transmitted in each basic transmission unit on the determined basic transmission unit that can be used by each terminal.
  • the transmission result of the last data packet by the terminal is that the transmission fails and the last data packet does not satisfy the retransmission condition
  • at least one basic transmission unit exclusively for the terminal is determined according to the terminal ID;
  • the determined at least one basic transmission unit exclusively for the terminal sends the data packet to be transmitted to the base station. Since the retransmission condition is that the data packet has only been sent once and the queuing delay has not been experienced when sending the data packet, that is, the data packet is allowed to reach the base station up to two transmission times, and the prior art data packet fails to be sent, then choose to retransmit Compared with the way until the data packet is successfully sent, applying the embodiment of the present application can reduce the user plane delay.
  • basic transmission unit 1 can be shared by terminal 1 and terminal 10
  • basic transmission unit 2 can For shared use by terminal 2 and terminal 1.
  • the IDs of the terminals that send data packets to the base station are: 2, 3, 4, 6, 7, 8, and 10 that is, the activated terminals in the initial time slot are: terminal 2, terminal 3, terminal 4, Terminal 6, Terminal 7, Terminal 8, and Terminal 10.
  • the terminal After the terminal sends a data packet to the base station and receives the ACK feedback message sent by the base station including the element: "00, 11, 01, 11, 00, 11, 10, 11, 00, 11", you can determine the terminal 2, 4 , 6, 8 and 10
  • the transmission result of the data packet sent in the initial time slot is successful transmission, and the transmission result of the data packet sent by the terminal 1, 5, and 9 in the initial time slot is untransmitted, then the above transmission result is successful
  • the non-transmitted terminal is assigned a shared basic transmission unit.
  • the transmission result of the data packet sent by terminal 3 or terminal 7 in the initial time slot is transmission failure, and the distance between terminal 3 and the base station does not exceed the distance threshold, so terminal 3 corresponds to an exclusive basic transmission unit; terminal 7 and the base station The distance between them exceeds the distance threshold, so the terminal 7 corresponds to two exclusive basic transmission units.
  • the correspondence between the specific terminal and the basic transmission unit is shown in FIG. 5, for example, the terminals corresponding to the basic transmission unit 4 are: terminal 1, terminal 10 and terminal 9. If either terminal 3 or terminal 7 meets the retransmission condition, terminal 3 or terminal 7 will retransmit the unsuccessful initial time slot data packet on the determined exclusive basic transmission unit.
  • the method for the terminal to send the data packet to the base station is:
  • the transmission result in the current time slot according to the terminal ID is the first type of transmission failure, that is, the transmission result is "01", and the last data packet meets the retransmission condition, then the transmission result in the current time slot according to the terminal ID is the first
  • the arrangement position j ′ in the terminal whose class transmission fails determines the basic transmission unit with index j ′ as the basic transmission unit exclusively for the terminal, and retransmits the last data packet to the base station through the determined basic transmission unit exclusively for the terminal.
  • the transmission result of the current time slot according to the terminal ID is the arrangement of the terminal of the second type of transmission failure Position j ′′
  • the current time slot transmission result is the number N 1 of terminals that failed in the first type of transmission
  • the current time slot transmission result is the number N 2 of terminals that failed in the second type of transmission, which will be indexed as j ′′ + N 1 and j "The two basic transmission units of + N 1 + N 2 are determined as the basic transmission unit exclusively for the terminal, and the last data packet is retransmitted to the base station through the determined two basic transmission units exclusively for the terminal.
  • the transmission result of the last data packet by the terminal is that the transmission fails and the last data packet meets the retransmission condition
  • at least one basic transmission unit exclusively for the terminal is determined.
  • the basic transmission unit exclusive to the terminal sends a data packet to the base station. Since the transmission of the last data packet fails, it means that the last data packet collided with other data packets on the shared basic transmission unit.
  • the terminal is assigned an exclusive basic transmission unit, which can prevent the terminal from sending the data packet again. The data packet collides with other data packets, improving transmission reliability.
  • the maximum number of basic transmission units allocated for sharing to the terminal can be determined in the following five ways:
  • FIG. 6 is a graph of the average packet loss rate provided by the embodiment of the present application as a function of the ratio of the number of terminals served by the base station to the total number of basic transmission units.
  • the packet loss rate increases with the increase of the ratio of the number of terminals served by the base station to the total number of basic transmission units N / M, because when the total number of basic transmission units remains unchanged, the number of terminals served by the base station increases.
  • the load will increase.
  • the traffic frequency is 0.05, that is, the probability that each terminal served by the base station is active in each time slot is 0.05.
  • each terminal serving the base station when the value of N / M is the same, each terminal serving the base station The larger the maximum number of basic transmission units configured by the terminal, the greater the average packet loss rate. This is because the larger the number of basic transmission units configured for each terminal, the greater the average load of each basic transmission unit. And as shown in FIG. 6, when N / M ⁇ 1.8, the packet loss rate of configuring up to two basic transmission units for each terminal is approximately equal to the packet loss rate of configuring up to one basic transmission unit for each terminal. To improve resource utilization, you can choose to configure up to two basic transmission units for each terminal.
  • the average packet loss rate represents the average number of data packets dropped per time slot to the total number of data packets that need to be sent.
  • the average successful multiplexing rate is the average ratio of the data packets successfully transmitted on multiple basic transmission units per time slot to the data packets that need to be sent.
  • the data packet that needs to be sent is the data packet that arrives at the terminal and needs to be sent to the base station.
  • an embodiment of the present application provides a data transmission device, which is applied to a terminal.
  • the device includes: a determination module 1101 and a sending module 1102;
  • the determining module 1101 is used to determine the transmission result of the terminal to the last data packet; if the transmission result is successful or untransmitted, then at least two are determined according to the terminal's identity ID, the total number of basic transmission units and the preset mapping rules Shared basic transmission unit; if the transmission result is transmission failure and the last data packet does not meet the retransmission condition, then at least one basic transmission unit exclusively for the terminal is determined according to the terminal ID; the retransmission condition is that the data packet has only been sent Once and there is no queuing delay when sending data packets;
  • the sending module 1102 is configured to send the data packet to be transmitted to the base station through the basic transmission unit determined by the determining module.
  • the device further includes: a judgment module;
  • the judgment module is used to judge whether the number of terminals served by the base station is less than the total number of basic transmission units if the feedback message containing the transmission result sent by the base station has not been received before sending the data packet to be transmitted;
  • the determining module 1101 is further configured to determine at least the minimum number of terminals served by the base station according to the terminal ID, the total number of basic transmission units, the number of terminals served by the base station and the first initial mapping rule if the number of terminals served by the base station determined by the determining module is less than Two shared basic transmission units; if the number of terminals served by the base station judged by the judgment module is greater than or equal to the total number of basic transmission units, then according to the terminal ID, the total number of basic transmission units, the number of terminals served by the base station and the second initial mapping rule, Determine at least two shared basic transmission units;
  • the sending module 1102 is further configured to send the data packet to be transmitted to the base station through at least two shared basic transmission units determined by the determining module.
  • the determination module 1101 is specifically configured to: determine that the transmission result in the current time slot is the number of terminals with successful or untransmitted transmission, and the transmission result in the current time slot is the number of terminals with failed transmission; determine that the terminal ID is in the current
  • the transmission result of the time slot is the arrangement position in the terminal where the transmission is successful or not; according to the total number of basic transmission units and the transmission result of the current time slot is the number of failed transmission terminals, determine the number of basic transmission units for sharing; if used If the number of shared basic transmission units is greater than the current time slot, the transmission result is the number of successful or untransmitted terminals, then the transmission result in the current time slot according to the terminal ID is the arrangement position of the successful or untransmitted terminal, The transmission result of the current time slot is the number of terminals that are successfully transmitted or not transmitted, the transmission result of the current time slot is the number of terminals that failed to be transmitted, the number of basic transmission units for sharing, and the first preset mapping rule to determine at least two sharing Basic transmission unit; if
  • the determination module 1101 is specifically used to: if the terminal transmits the last data packet as the first type of transmission failure, and the last data packet does not meet the retransmission condition, then the terminal ID is in the current time slot.
  • the transmission result is the arrangement position in the terminal of the first type of transmission failure, and a basic transmission unit for the terminal is determined.
  • the first type of transmission failure is that the terminal fails to transmit the last packet, and the distance between the terminal and the base station is less than or equal to Distance threshold; if the terminal's transmission result of the last data packet is the second type of transmission failure, and the last data packet does not meet the retransmission condition, then the transmission result of the current time slot according to the terminal ID is the second type of transmission failure.
  • the arrangement position in the terminal, the transmission result of the current time slot is the number of terminals that failed in the first type of transmission and the transmission result of the current time slot is the number of terminals that failed in the second type of transmission. Determine two basic transmission units for exclusive use by the terminal.
  • the second type of transmission failure is that the terminal fails to transmit the last data packet, and the distance between the terminal and the base station is greater than the distance threshold.
  • the device further includes: a first retransmission module and a second retransmission module;
  • the first retransmission module is used to transmit the last data packet as the first type of transmission failure, and the last data packet meets the retransmission condition, according to the terminal ID transmission result in the current time slot is the first The arrangement position of the terminal that failed to transmit similarly, determine a basic transmission unit exclusively for the terminal, and retransmit the last data packet to the base station through the determined basic transmission unit exclusively for the terminal;
  • the second retransmission module is used to transmit the result of the second type of transmission of the last data packet to the terminal is failed, and the last data packet meets the retransmission conditions, the transmission result of the current time slot according to the terminal ID is the second The arrangement position of the terminal that failed to transmit similarly, the transmission result of the current time slot is the number of terminals that failed in the first type of transmission, and the transmission result of the current time slot is the number of terminals that failed in the second type of transmission.
  • the transmission unit retransmits the last data packet to the base station through the determined two basic transmission units exclusively for the terminal.
  • An embodiment of the present application further provides an electronic device, as shown in FIG. 12, including a processor 1201, a communication interface 1202, a memory 1203, and a communication bus 1204, where the processor 1201, the communication interface 1202, and the memory 1203 pass through the communication bus 1204 Complete communication with each other,
  • the processor 1201 is configured to implement the steps executed by the terminal in the foregoing method embodiments when executing the program stored in the memory 1203.
  • the communication bus mentioned in the above electronic device may be a peripheral component interconnection standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard structure (Extended Industry Standard Architecture, EISA) bus, etc.
  • PCI peripheral component interconnection standard
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, and a control bus.
  • the figure is only represented by a thick line, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the electronic device and other devices.
  • the memory may include random access memory (Random Access Memory, RAM), or non-volatile memory (Non-Volatile Memory, NVM), for example, at least one disk memory.
  • RAM Random Access Memory
  • NVM Non-Volatile Memory
  • the memory may also be at least one storage device located away from the foregoing processor.
  • the aforementioned processor may be a general-purpose processor, including a central processor (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc .; it may also be a digital signal processor (Digital Signal Processing, DSP), dedicated integration Circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • a central processor Central Processing Unit, CPU
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • a computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement any of the above data transmission methods. A step of.
  • a computer program product containing instructions is also provided, which, when it runs on a computer, causes the computer to execute any data transmission method in the above embodiments.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmit to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including a server, a data center, and the like integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, Solid State Disk (SSD)) or the like.
  • a magnetic medium for example, a floppy disk, a hard disk, a magnetic tape
  • an optical medium for example, a DVD
  • a semiconductor medium for example, Solid State Disk (SSD)

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to the technical field of communications, provides a data transmission method and apparatus, and an electronic device, and can reduce user plane delay while ensuring resource utilization. The method comprises: determining a transmission result of a previous data packet by a terminal; if the transmission result indicates that the transmission is successful or not completed, determining at least two shared basic transmission units according to the terminal ID, the total number of basic transmission units, and a preset mapping rule; if the transmission result indicates a transmission failure and the previous data packet does not meet retransmission conditions, determining at least one basic transmission unit exclusively for the terminal according to the terminal ID, wherein the retransmission conditions are that the data packet is transmitted only once and does not experience queuing delay when the data packet is transmitted; and then, transmitting a data packet to be transmitted to a base station by means of the determined basic transmission unit.

Description

一种数据传输方法、装置及电子设备Data transmission method, device and electronic equipment
本申请要求于2018年10月18日提交中国专利局、申请号为201811217565.X发明名称为“一种数据传输方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application filed on October 18, 2018 in the Chinese Patent Office with the application number 201811217565.X and the invention titled "A Data Transmission Method, Device, and Electronic Equipment", the entire contents of which are incorporated by reference In this application.
技术领域Technical field
本申请涉及通信技术领域,特别是涉及一种数据传输方法、装置及电子设备。This application relates to the field of communication technologies, and in particular, to a data transmission method, device, and electronic equipment.
背景技术Background technique
为了满足低时延高可靠通信(Ultra Reliable and Low Latency Communications,URLLC)的时延指标,目前提出了上行免授权传输方案,即在上行传输过程中,终端可以直接在预配置的资源上传输上行数据,省去了终端向基站发送资源调度请求的过程。与传统的授权传输方案相比,上行免授权传输方案节省了资源请求和授权的时间,减少了用户面时延。同时,考虑到URLLC支持机器类通信,用户数量较大,为了提高系统容量,可以在上行免授权系统中引入稀疏编码多址接入(Sparse Code Multiple Access,SCMA)技术,通过码域复用实现多个用户设备发送的数据包在相同的资源上传输。因此对于上行链路,可通过免授权非正交多址接入技术实现URLLC通信。In order to meet the latency of low latency and high reliability communication (Ultra Reliable and Low Latency Communications, URLLC), the uplink unlicensed transmission scheme is currently proposed, that is, during the uplink transmission process, the terminal can directly transmit the uplink on the pre-configured resources The data saves the process of the terminal sending a resource scheduling request to the base station. Compared with the traditional authorized transmission scheme, the uplink unlicensed transmission scheme saves resource request and authorization time and reduces user plane delay. At the same time, considering that URLLC supports machine-type communication and the number of users is relatively large, in order to increase the system capacity, Sparse Code Multiple Access (SCMA) technology can be introduced into the uplink unlicensed system, which is realized by code domain multiplexing Data packets sent by multiple user equipment are transmitted on the same resource. Therefore, for the uplink, URLLC communication can be achieved through an unlicensed non-orthogonal multiple access technology.
由于取消了终端的资源请求以及基站的授权,终端就无法得知用于初传和重传数据包的资源。为了解决这一问题,现有技术一般采用半持续调度方式为基站服务的每个终端配置初传资源,并为每组终端配置共享的重传资源。但是,由于实际应用中向基站发送数据包的终端的数量远小于基站服务的所有的终端数量,为终端分配的初传资源和重传资源可能实际上并未被使用,会造成大量的资源浪费,所以目前在实现URLLC通信时无法兼顾资源利用率和用户面时延。Since the resource request of the terminal and the authorization of the base station are canceled, the terminal cannot know the resources used for the initial transmission and retransmission of the data packet. In order to solve this problem, the prior art generally adopts a semi-persistent scheduling method to configure the initial transmission resources for each terminal served by the base station, and configures a shared retransmission resource for each group of terminals. However, since the number of terminals that send data packets to the base station in practical applications is much smaller than the number of all terminals served by the base station, the initial transmission resources and retransmission resources allocated to the terminals may not actually be used, resulting in a lot of waste of resources Therefore, it is currently impossible to balance resource utilization and user plane delay when implementing URLLC communication.
发明内容Summary of the invention
本申请实施例的目的在于提供一种数据传输方法、装置及电子设备,以实现在保证资源利用率的基础上降低用户面时延。具体技术方案如下:The purpose of the embodiments of the present application is to provide a data transmission method, device and electronic equipment, so as to reduce the user plane delay on the basis of ensuring resource utilization. The specific technical solutions are as follows:
第一方面,提供了一种数据传输方法,其特征在于,应用于终端,所述 方法包括:In a first aspect, a data transmission method is provided, which is characterized in that it is applied to a terminal, and the method includes:
确定所述终端对上一个数据包的传输结果;Determine the transmission result of the last data packet by the terminal;
若所述传输结果为传输成功或未传输,则根据所述终端的身份标识ID、基本传输单元总数量和预设映射规则,确定至少两个共享的基本传输单元;If the transmission result is successful or untransmitted, at least two shared basic transmission units are determined according to the terminal's identity ID, the total number of basic transmission units, and preset mapping rules;
若所述传输结果为传输失败且所述上一个数据包不满足重传条件,则根据所述终端的ID,确定至少一个供所述终端独占的基本传输单元;所述重传条件为数据包只被发送过一次且发送数据包时未经历排队时延;If the transmission result is transmission failure and the last data packet does not satisfy the retransmission condition, then at least one basic transmission unit exclusively for the terminal is determined according to the terminal ID; the retransmission condition is a data packet It has only been sent once and the data packet was sent without queuing delay;
通过确定的基本传输单元向基站发送所述待传输数据包。Sending the data packet to be transmitted to the base station through the determined basic transmission unit.
可选的,所述方法还包括:Optionally, the method further includes:
若在发送所述待传输数据包之前,未接收过所述基站发送的包含传输结果的反馈消息,则判断所述基站服务的终端数量是否小于所述基本传输单元总数量;If the feedback message containing the transmission result sent by the base station has not been received before sending the data packet to be transmitted, it is determined whether the number of terminals served by the base station is less than the total number of basic transmission units;
若所述基站服务的终端数量小于所述基本传输单元总数量,则根据所述终端的ID、所述基本传输单元总数量、所述基站服务的终端数量和第一初始映射规则,确定至少两个共享的基本传输单元;If the number of terminals served by the base station is less than the total number of basic transmission units, at least two are determined according to the ID of the terminal, the total number of basic transmission units, the number of terminals served by the base station and the first initial mapping rule Shared basic transmission unit;
若所述基站服务的终端数量大于等于所述基本传输单元总数量,则根据所述终端的ID、所述基本传输单元总数量、所述基站服务的终端数量和第二初始映射规则,确定至少两个共享的基本传输单元;If the number of terminals served by the base station is greater than or equal to the total number of basic transmission units, then according to the ID of the terminal, the total number of basic transmission units, the number of terminals served by the base station and the second initial mapping rule, determine at least Two shared basic transmission units;
通过确定的至少两个共享的基本传输单元向所述基站发送所述待传输数据包。Sending the data packet to be transmitted to the base station through the determined at least two shared basic transmission units.
可选的,所述若所述传输结果为传输成功或未传输,则根据所述终端的身份标识ID、基本传输单元总数量和预设映射规则,确定至少两个共享的基本传输单元,包括:Optionally, if the transmission result is successful or untransmitted, determining at least two shared basic transmission units according to the terminal's identity ID, the total number of basic transmission units, and a preset mapping rule includes: :
确定在当前时隙的传输结果为传输成功或未传输的终端数量,以及当前时隙的传输结果为传输失败的终端数量;Determine that the transmission result in the current time slot is the number of terminals with successful or untransmitted transmission, and the transmission result in the current time slot is the number of terminals with failed transmission;
确定所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中 的排列位置;Determine the arrangement position of the terminal ID in the current time slot transmission result is a terminal that is successfully transmitted or not transmitted;
根据所述基本传输单元总数量和所述当前时隙的传输结果为传输失败的终端数量,确定用于共享的基本传输单元数量;Determine the number of basic transmission units for sharing based on the total number of basic transmission units and the number of terminals that failed to transmit based on the transmission result of the current time slot;
若所述用于共享的基本传输单元数量大于所述当前时隙的传输结果为传输成功或未传输的终端的数量,则根据所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置、所述当前时隙的传输结果为传输成功或未传输的终端数量、所述当前时隙的传输结果为传输失败的终端数量、所述用于共享的基本传输单元数量和第一预设映射规则,确定至少两个共享的基本传输单元;If the number of basic transmission units for sharing is greater than the number of terminals in the current time slot whose transmission result is successful or untransmitted, the transmission result in the current time slot according to the terminal ID is transmission successful or unsuccessful The arrangement position in the transmitted terminals, the transmission result of the current time slot is the number of terminals that have been successfully transmitted or not transmitted, the transmission result of the current time slot is the number of terminals that failed to be transmitted, and the basic transmission unit for sharing The quantity and the first preset mapping rule determine at least two shared basic transmission units;
若所述用于共享的基本传输单元数量小于等于所述当前时隙的传输结果为传输成功或未传输的终端数量,则根据所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置、所述当前时隙的传输结果为传输失败的终端数量、所述用于共享的基本传输单元数量和第二预设映射规则,确定至少两个共享的基本传输单元。If the number of basic transmission units used for sharing is less than or equal to the number of terminals in the current time slot whose transmission result is successful or untransmitted, the transmission result in the current time slot according to the ID of the terminal is transmission successful or not The arrangement position in the transmitted terminals, the transmission result of the current time slot is the number of terminals that failed to transmit, the number of shared basic transmission units and the second preset mapping rule, to determine at least two shared basic transmission units .
可选的,所述若所述传输结果为传输失败且所述上一个数据包不满足重传条件,则根据所述终端的ID,确定至少一个供所述终端独占的基本传输单元,包括:Optionally, if the transmission result is transmission failure and the last data packet does not satisfy the retransmission condition, determining at least one basic transmission unit exclusively for the terminal according to the terminal ID includes:
若所述终端对上一个数据包的传输结果为第一类传输失败,且所述上一个数据包不满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置,确定一个供所述终端独占的基本传输单元,所述第一类传输失败为所述终端对上一个数据包传输失败,且所述终端与所述基站之间的距离小于等于距离阈值;If the transmission result of the last data packet by the terminal is that the first type of transmission fails, and the last data packet does not satisfy the retransmission condition, the transmission result in the current time slot according to the terminal ID is the first The arrangement position of a terminal of a type of transmission failure determines a basic transmission unit exclusively for the terminal, the first type of transmission failure is the failure of the terminal to transmit the last packet, and the terminal and the base station The distance between is less than or equal to the distance threshold;
若所述终端对上一个数据包的传输结果为第二类传输失败,且所述上一个数据包不满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置、所述当前时隙的传输结果为第一类传输失败的终端数量和所述当前时隙的传输结果为第二类传输失败的终端数量,确定两个供所述终端独占的基本传输单元,所述第二类传输失败为所述终端对上一个数据包传输失败,且所述终端与所述基站之间的距离大于所述 距离阈值。If the transmission result of the last data packet by the terminal is that the second type of transmission fails, and the last data packet does not satisfy the retransmission condition, the transmission result in the current time slot according to the terminal ID is the first The arrangement position of the terminal of the second type of transmission failure, the transmission result of the current time slot is the number of terminals of the first type of transmission failure and the transmission result of the current time slot is the number of terminals of the second type of transmission failure, determine two For the basic transmission unit exclusively for the terminal, the second type of transmission failure is that the terminal fails to transmit the last data packet, and the distance between the terminal and the base station is greater than the distance threshold.
可选的,所述方法还包括:Optionally, the method further includes:
若所述终端对上一个数据包的传输结果为第一类传输失败,且所述上一个数据包满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置,确定一个供所述终端独占的基本传输单元,通过确定的供所述终端独占的基本传输单元向所述基站重传所述上一个数据包;If the transmission result of the last data packet by the terminal is that the first type of transmission fails, and the last data packet meets the retransmission condition, the transmission result in the current time slot according to the terminal ID is the first Arranging positions in the terminal where the class transmission fails, determining a basic transmission unit exclusively for the terminal, and retransmitting the previous data packet to the base station through the determined basic transmission unit exclusively for the terminal;
若所述终端对上一个数据包的传输结果为第二类传输失败,且所述上一个数据包满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置、当前时隙的传输结果为第一类传输失败的终端数量和当前时隙的传输结果为第二类传输失败的终端数量,确定两个供所述终端独占的基本传输单元,通过确定的两个供所述终端独占的基本传输单元向所述基站重传所述上一个数据包。If the transmission result of the last data packet by the terminal is that the second type of transmission fails, and the last data packet meets the retransmission condition, the transmission result in the current time slot according to the terminal ID is the second The arrangement position of the terminals that failed to transmit similarly, the transmission result of the current time slot is the number of terminals that failed to transmit in the first category, and the transmission result of the current time slot is the number of terminals that failed in transmission in the second category, and two are determined to be exclusive to the terminal The basic transmission unit of, retransmits the last data packet to the base station through the determined two basic transmission units exclusively for the terminal.
第二方面,提供了一种数据传输装置,其特征在于,应用于终端,所述装置包括:In a second aspect, a data transmission device is provided, which is characterized in that it is applied to a terminal, and the device includes:
确定模块,用于确定所述终端对上一个数据包的传输结果;若所述传输结果为传输成功或未传输,则根据所述终端的身份标识ID、基本传输单元总数量和预设映射规则,确定至少两个共享的基本传输单元;若所述传输结果为传输失败且所述上一个数据包不满足重传条件,则根据所述终端的ID,确定至少一个供所述终端独占的基本传输单元;所述重传条件为数据包只被发送过一次且发送数据包时未经历排队时延;The determining module is used to determine the transmission result of the terminal to the last data packet; if the transmission result is successful or untransmitted, according to the terminal's identity ID, the total number of basic transmission units and preset mapping rules , Determine at least two shared basic transmission units; if the transmission result is transmission failure and the last data packet does not satisfy the retransmission condition, then determine at least one basic base for exclusive use by the terminal according to the terminal ID Transmission unit; the retransmission condition is that the data packet has only been sent once and the data packet has not been subjected to queuing delay;
发送模块,用于通过所述确定模块确定的基本传输单元向基站发送所述待传输数据包。The sending module is configured to send the data packet to be transmitted to the base station through the basic transmission unit determined by the determining module.
可选的,所述装置还包括:判断模块;Optionally, the device further includes: a judgment module;
所述判断模块,用于若在发送所述待传输数据包之前,未接收过所述基站发送的包含传输结果的反馈消息,则判断所述基站服务的终端数量是否小于所述基本传输单元总数量;The judging module is used to judge whether the number of terminals served by the base station is less than the total number of basic transmission units if the feedback message containing the transmission result sent by the base station has not been received before sending the data packet to be transmitted Quantity
所述确定模块,还用于若所述判断模块判断的所述基站服务的终端数量小于所述基本传输单元总数量,则根据所述终端的ID、所述基本传输单元总数量、所述基站服务的终端数量和第一初始映射规则,确定至少两个共享的基本传输单元;若所述判断模块判断的所述基站服务的终端数量大于等于所述基本传输单元总数量,则根据所述终端的ID、所述基本传输单元总数量、所述基站服务的终端数量和第二初始映射规则,确定至少两个共享的基本传输单元;The determining module is further configured to: if the number of terminals served by the base station determined by the determining module is less than the total number of basic transmission units, based on the terminal ID, the total number of basic transmission units, the base station The number of service terminals and the first initial mapping rule to determine at least two shared basic transmission units; if the number of terminals served by the base station judged by the judgment module is greater than or equal to the total number of basic transmission units, according to the terminal ID, the total number of basic transmission units, the number of terminals served by the base station, and the second initial mapping rule, determine at least two shared basic transmission units;
所述发送模块,还用于通过所述确定模块确定的至少两个共享的基本传输单元向所述基站发送所述待传输数据包。The sending module is further configured to send the data packet to be transmitted to the base station through at least two shared basic transmission units determined by the determining module.
可选的,所述确定模块,具体用于:确定在当前时隙的传输结果为传输成功或未传输的终端数量,以及当前时隙的传输结果为传输失败的终端数量;确定所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置;根据所述基本传输单元总数量和所述当前时隙的传输结果为传输失败的终端数量,确定用于共享的基本传输单元数量;若所述用于共享的基本传输单元数量大于所述当前时隙的传输结果为传输成功或未传输的终端的数量,则根据所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置、所述当前时隙的传输结果为传输成功或未传输的终端数量、所述当前时隙的传输结果为传输失败的终端数量、所述用于共享的基本传输单元数量和第一预设映射规则,确定至少两个共享的基本传输单元;若所述用于共享的基本传输单元数量小于等于所述当前时隙的传输结果为传输成功或未传输的终端数量,则根据所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置、所述当前时隙的传输结果为传输失败的终端数量、所述用于共享的基本传输单元数量和第二预设映射规则,确定至少两个共享的基本传输单元。Optionally, the determination module is specifically configured to: determine that the transmission result in the current time slot is the number of terminals with successful or untransmitted transmission, and the transmission result in the current time slot is the number of terminals with failed transmission; determine the terminal The transmission result of the ID in the current time slot is the arrangement position in the terminal with successful or untransmitted transmission; based on the total number of basic transmission units and the transmission result of the current time slot with the number of failed transmission terminals, determine the shared terminal Number of basic transmission units; if the number of basic transmission units for sharing is greater than the number of terminals whose transmission is successful or not transmitted in the current time slot, the transmission result in the current time slot according to the terminal ID Is the arrangement position in the terminal with successful or untransmitted transmission, the transmission result of the current time slot is the number of terminals with successful or untransmitted transmission, the transmission result of the current time slot is the number of terminals with failed transmission, and the The number of shared basic transmission units and the first preset mapping rule determine at least two shared basic transmission units; if the If the number of basic transmission units is less than or equal to the current time slot, the transmission result is the number of successful or untransmitted terminals, then the transmission result of the current time slot according to the terminal ID is the arrangement position of the successful or untransmitted terminal 2. The transmission result of the current time slot is the number of terminals that failed to transmit, the number of shared basic transmission units and the second preset mapping rule, and at least two shared basic transmission units are determined.
可选的,所述确定模块,具体用于:若所述终端对上一个数据包的传输结果为第一类传输失败,且所述上一个数据包不满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置,确定一个供所述终端独占的基本传输单元,所述第一类传输失败为所述终端对上一个数据包传输失败,且所述终端与所述基站之间的距离小于等于距离阈值;若所述终端对上一个数据包的传输结果为第二类传输失败,且所述上 一个数据包不满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置、当前时隙的传输结果为第一类传输失败的终端数量和当前时隙的传输结果为第二类传输失败的终端数量,确定两个供所述终端独占的基本传输单元,所述第二类传输失败为所述终端对上一个数据包传输失败,且所述终端与所述基站之间的距离大于所述距离阈值。Optionally, the determining module is specifically configured to: if the terminal transmits the last data packet as the first type of transmission failure, and the last data packet does not satisfy the retransmission condition, then determine The transmission result of the terminal ID in the current time slot is the arrangement position of the terminal of the first type of transmission failure, and a basic transmission unit exclusively for the terminal is determined, and the first type of transmission failure is the previous Data packet transmission fails, and the distance between the terminal and the base station is less than or equal to the distance threshold; if the result of the terminal's transmission of the previous data packet is a second type of transmission failure, and the previous data packet is not satisfied For the retransmission condition, the transmission result of the ID of the terminal in the current time slot is the arrangement position of the terminal of the second type of transmission failure, and the transmission result of the current time slot is the number of terminals of the first type of transmission failure and the current The transmission result of the time slot is the number of terminals of the second type of transmission failure, and determine two basic transmission units for exclusive use by the terminal, and the second type of transmission failure is the last number of the terminal pair Packet fails, and the distance between the terminal and the base station is greater than the distance threshold.
可选的,所述装置还包括:第一重传模块和第二重传模块;Optionally, the device further includes: a first retransmission module and a second retransmission module;
所述第一重传模块,用于若所述终端对上一个数据包的传输结果为第一类传输失败,且所述上一个数据包满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置,确定一个供所述终端独占的基本传输单元,通过确定的供所述终端独占的基本传输单元向所述基站重传所述上一个数据包;The first retransmission module is configured to: if the transmission result of the last data packet by the terminal is that the first type of transmission fails, and the last data packet satisfies the retransmission condition, according to the terminal ID The transmission result of the current time slot is the arrangement position of the terminal of the first type of transmission failure, determine a basic transmission unit exclusively for the terminal, and retransmit to the base station through the determined basic transmission unit exclusively for the terminal The previous data packet;
所述第二重传模块,用于若所述终端对上一个数据包的传输结果为第二类传输失败,且所述上一个数据包满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置、所述当前时隙的传输结果为第一类传输失败的终端数量和所述当前时隙的传输结果为第二类传输失败的终端数量,确定两个供所述终端独占的基本传输单元,通过确定的两个供所述终端独占的基本传输单元向所述基站重传所述上一个数据包。The second retransmission module is configured to: if the transmission result of the last data packet by the terminal is that the second type of transmission fails, and the last data packet meets the retransmission condition, according to the terminal ID The transmission result in the current time slot is the arrangement position in the terminal of the second type of transmission failure, the transmission result of the current time slot is the number of terminals of the first type of transmission failure, and the transmission result of the current time slot is the second type For the number of terminals that failed to transmit, determine two basic transmission units exclusively for the terminal, and retransmit the previous data packet to the base station through the determined two basic transmission units exclusively for the terminal.
第三方面,提供了一种电子设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In a third aspect, an electronic device is provided, which is characterized by comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
存储器,用于存放计算机程序;Memory, used to store computer programs;
处理器,用于执行存储器上所存放的程序时,实现上述任一数据传输方法的步骤。The processor, when used to execute the program stored in the memory, implements the steps of any of the above data transmission methods.
第四方面,本申请实施还提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一数据传输方法的步骤。According to a fourth aspect, the implementation of the present application further provides a computer-readable storage medium in which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above data transmission methods are implemented.
第五方面,本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一数据传输方法。According to a fifth aspect, an embodiment of the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any of the above data transmission methods.
本申请实施例提供的数据传输方法、装置及电子设备,终端可确定共享的基本传输单元,即终端能通过多个共享的基本传输单元向基站发送待传输数据包,且共享的基本传输单元可供多个终端发送数据包,由于URLLC的数据包具有零星到达的特点,所以不同终端在不同的时隙使用共享的基本传输单元不会产生碰撞,相比于现有技术中每个终端都使用独占的初传资源,可以提高基本传输单元被使用的频率,提高了资源利用率。另外,由于为上一个数据包传输失败的终端确定独占的基本传输单元,保证了该终端在发送当前数据包时不会再次碰撞,所以与现有技术数据包发送失败后,选择重传直至数据包发送成功的方式相比,应用本申请实施例能够降低用户面时延。因此采用本申请实施例提供的根据对上一个数据包的传输结果来实时调整终端可用的基本传输单元,可以实现在保证资源利用率的基础上降低用户面时延。In the data transmission method, device and electronic equipment provided by the embodiments of the present application, the terminal can determine the shared basic transmission unit, that is, the terminal can send the data packet to be transmitted to the base station through the multiple shared basic transmission units, and the shared basic transmission unit can For multiple terminals to send data packets, because URLLC data packets have the characteristics of sporadic arrival, so different terminals use shared basic transmission units in different time slots without collisions, compared to the use of each terminal in the prior art The exclusive initial transmission resources can increase the frequency of the basic transmission unit being used and improve the resource utilization rate. In addition, since the exclusive basic transmission unit is determined for the terminal that failed to transmit the last data packet, it is guaranteed that the terminal will not collide again when sending the current data packet, so after sending the data packet with the prior art, it fails to choose to retransmit until the data Compared with the successful packet sending method, applying the embodiment of the present application can reduce the user plane delay. Therefore, the basic transmission unit available for the terminal is adjusted in real time according to the transmission result of the last data packet provided by the embodiment of the present application, and the user plane delay can be reduced on the basis of ensuring resource utilization.
当然,实施本申请的任一产品或方法并不一定需要同时达到以上所述的所有优点。Of course, implementing any of the products or methods of this application does not necessarily need to achieve all the advantages described above at the same time.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, without paying any creative work, other drawings can be obtained based on these drawings.
图1为本申请实施例提供的一种数据传输系统结构示意图;1 is a schematic structural diagram of a data transmission system provided by an embodiment of the present application;
图2为本申请实施例提供的一种数据传输方法流程图;2 is a flowchart of a data transmission method provided by an embodiment of the present application;
图3为本申请实施例提供的一种划分基本传输单元的示意图;3 is a schematic diagram of dividing a basic transmission unit according to an embodiment of the present application;
图4为本申请实施例提供的另一种数据传输方法流程图;4 is a flowchart of another data transmission method provided by an embodiment of the present application;
图5为本申请实施例提供的一种数据传输方法的示例性示意图;5 is an exemplary schematic diagram of a data transmission method provided by an embodiment of the present application;
图6为本申请实施例提供的平均丢包率随基站服务的终端数量与基本传输单元总数之比变化的曲线图;6 is a graph of the average packet loss rate provided by an embodiment of the present application as a function of the ratio of the number of terminals served by a base station to the total number of basic transmission units;
图7为本申请实施例提供的一种平均丢包率随流量频率变化的曲线图;7 is a graph of a change in average packet loss rate with flow frequency according to an embodiment of the present application;
图8为本申请实施例提供的另一种平均丢包率随流量频率变化的曲线图;FIG. 8 is another graph of average packet loss rate versus flow frequency according to an embodiment of the present application;
图9为本申请实施例提供的平均成功复用率随基站服务的终端数量与基本传输单元总数之比变化的曲线图;9 is a graph of the average successful multiplexing rate provided by an embodiment of the present application as a function of the ratio of the number of terminals served by a base station to the total number of basic transmission units;
图10为本申请实施例提供的平均成功复用率随流量频率变化的曲线图;10 is a graph of the average successful multiplexing rate as a function of flow frequency provided by an embodiment of this application;
图11为本申请实施例提供的一种数据传输装置结构示意图;11 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
图12为本申请实施例提供的一种电子设备的结构示意图。12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the scope of protection of this application.
本申请实施例提供的数据传输方法可以应用于图1所示的数据传输系统中,该系统包括:终端和基站。其中,终端可以为手机、电脑、可穿戴设备等具有无线通信功能的终端。The data transmission method provided by the embodiment of the present application may be applied to the data transmission system shown in FIG. 1, the system includes: a terminal and a base station. Among them, the terminal may be a terminal with wireless communication function such as a mobile phone, a computer, a wearable device.
终端用于向基站发送待传输数据包,并接收基站发送的反馈消息。The terminal is used to send a data packet to be transmitted to the base station and receive the feedback message sent by the base station.
基站用于在接收至少一个终端发送的数据包后,向基站服务的终端发送反馈消息。The base station is used to send a feedback message to the terminal served by the base station after receiving the data packet sent by at least one terminal.
结合图1,本申请实施例提供的一种数据传输方法,应用于终端,如图2所示,该方法包括如下步骤:With reference to FIG. 1, a data transmission method provided by an embodiment of the present application is applied to a terminal. As shown in FIG. 2, the method includes the following steps:
步骤201,确定终端对上一个数据包的传输结果。Step 201: Determine the transmission result of the last data packet by the terminal.
一种实现方式中,终端通过在当前时隙接收的基站发送的反馈消息,确定上一个数据包的传输结果。其中,传输结果包括:传输成功、传输失败和未传输。In one implementation, the terminal determines the transmission result of the last data packet through the feedback message sent by the base station received in the current time slot. Among them, the transmission results include: successful transmission, failed transmission and untransmitted.
其中,传输失败包括第一类传输失败和第二类传输失败,第一类传输失败是指终端对上一个数据包传输失败,且终端与基站之间的距离小于等于距 离阈值,表示需要对上一个数据包进行弱重传。第二类传输失败是指终端对上一个数据包传输失败,且终端与基站之间的距离大于距离阈值,表示需要对上一个数据包进行强重传。Among them, the transmission failure includes the first type of transmission failure and the second type of transmission failure. The first type of transmission failure refers to the failure of the terminal to transmit the last packet, and the distance between the terminal and the base station is less than or equal to the distance threshold, indicating that the One packet is weakly retransmitted. The second type of transmission failure means that the terminal fails to transmit the last data packet, and the distance between the terminal and the base station is greater than the distance threshold, indicating that the previous data packet needs to be strongly retransmitted.
示例性地,基站接收到终端发送的信号后,可以向自身服务的所有终端广播一个确认消息(Acknowledgement,ACK),该ACK消息可以为一个N维的列向量,可包含基站对自身服务的各终端的反馈消息,N为基站服务的终端数量。Exemplarily, after receiving the signal sent by the terminal, the base station may broadcast an acknowledgment message (ACK) to all terminals served by it. The ACK message may be an N-dimensional column vector, which may In the feedback message of the terminal, N is the number of terminals served by the base station.
该向量中的每个元素可由两比特的符号表示,例如X n=00表示终端n未传输数据包。X n=01表示终端n与基站之间的距离小于等于距离阈值,且终端n发送的上一个数据包传输失败,需要进行弱重传。X n=10表示终端n与基站之间的距离大于距离阈值,且终端n发送的上一个数据包传输失败,需要进行强重传。X n=11表示终端n发送的上一个数据包传输成功。 Each element in the vector can be represented by a two-bit symbol. For example, X n = 00 means that terminal n has not transmitted a data packet. X n = 01 indicates that the distance between terminal n and the base station is less than or equal to the distance threshold, and the last data packet sent by terminal n fails to be transmitted, and weak retransmission is required. X n = 10 means that the distance between terminal n and the base station is greater than the distance threshold, and the transmission of the last data packet sent by terminal n fails, and a strong retransmission is required. X n = 11 indicates that the last data packet sent by terminal n was successfully transmitted.
进一步的,终端可以每间隔预设时隙,向基站发送一个数据包。例如,预设时隙可以为1个时隙或3个时隙。Further, the terminal may preset a time slot every interval to send a data packet to the base station. For example, the preset time slot may be 1 time slot or 3 time slots.
传输成功表示终端在确定的至少一个基本传输单元上发送的数据包传输成功;传输失败表示终端在确定的基本传输单元上发送的数据包均发生碰撞;未传输表示终端在确定的基本传输单元上均未发送数据包,或终端在确定的至少一个基本传输单元上未传输,在其余确定的基本传输单元上均传输失败。Successful transmission means that the data packet sent by the terminal on the determined at least one basic transmission unit is successfully transmitted; transmission failure means that the data packets sent by the terminal on the determined basic transmission unit all collide; untransmitted means that the terminal is on the determined basic transmission unit No data packet is sent, or the terminal does not transmit on at least one basic transmission unit determined, and the transmission fails on the remaining determined basic transmission units.
例如:若终端5可用的基本传输单元为基本传输单元1和基本传输单元3,若终端5在基本传输单元1上发送的数据包传输成功,在基本传输单元3上发送的数据包传输失败,则终端5发送的数据包传输成功。For example: if the basic transmission units available to the terminal 5 are the basic transmission unit 1 and the basic transmission unit 3, if the data packet sent by the terminal 5 on the basic transmission unit 1 is successfully transmitted, the transmission of the data packet sent on the basic transmission unit 3 fails, Then, the data packet sent by the terminal 5 is successfully transmitted.
若终端5在基本传输单元1和基本传输单元3上发送的数据包均传输失败,则终端5发送的数据包传输失败。If the data packets sent by the terminal 5 on the basic transmission unit 1 and the basic transmission unit 3 both fail to be transmitted, the transmission of the data packets sent by the terminal 5 fails.
若基本传输单元1可供终端1、2和3共享,基本传输单元2可供终端1和2共享。假设终端2和3在同一时隙向基站发送数据包,那么基本传输单元1上终端2和终端3的数据包发生碰撞,基本传输单元2上终端2的数据包传输成功,由于基本传输单元1中发生碰撞,基站无法得知是哪些终端发送的数据包发生了碰撞,所以认为终端1、2和3在基本传输单元1中发送的数据包均发生碰撞。 基本传输单元2中终端2发送的数据包传输成功,所以确定终端1在基本传输单元2中未发送数据包。所以基站会给终端1、2和3反馈:终端1未传输数据包,终端2发送的数据包传输成功,终端3发送的数据包传输失败。If the basic transmission unit 1 can be shared by the terminals 1, 2 and 3, the basic transmission unit 2 can be shared by the terminals 1 and 2. Assuming that terminals 2 and 3 send data packets to the base station in the same time slot, the data packets of terminal 2 and terminal 3 on the basic transmission unit 1 collide, and the transmission of the data packets of terminal 2 on the basic transmission unit 2 is successful, because the basic transmission unit 1 In the event of a collision, the base station cannot know which data packets sent by the terminal collided. Therefore, it is considered that all the data packets sent by the terminal 1, 2 and 3 in the basic transmission unit 1 collide. The data packet sent by the terminal 2 in the basic transmission unit 2 is successfully transmitted, so it is determined that the terminal 1 has not sent a data packet in the basic transmission unit 2. Therefore, the base station will give feedback to terminals 1, 2 and 3: terminal 1 has not transmitted the data packet, the data packet sent by terminal 2 has been successfully transmitted, and the data packet sent by terminal 3 has failed.
步骤202,若传输结果为传输成功或未传输,则根据终端的身份标识ID、基本传输单元总数量和预设映射规则,确定至少两个共享的基本传输单元。In step 202, if the transmission result is successful or untransmitted, at least two shared basic transmission units are determined according to the terminal's identity ID, the total number of basic transmission units, and preset mapping rules.
一种实现方式中,若终端对上一个数据包的传输结果为传输成功或未传输,则根据终端的身份标识(IDentity,ID)在当前时隙接收的基站发送的反馈消息中传输结果为传输成功或未传输的终端中的排列位置、基本传输单元总数量和预设映射规则,确定预设数量的共享的基本传输单元。示例性的,预设数量可以为2个或3个。In one implementation, if the terminal transmits the last data packet as successful or untransmitted, the transmission result in the feedback message sent by the base station received in the current time slot according to the terminal's identity (IDentity, ID) is the transmission The arrangement position, the total number of basic transmission units and the preset mapping rule in the terminals that are successfully or untransmitted determine the preset number of shared basic transmission units. Exemplarily, the preset number may be 2 or 3.
其中,共享的基本传输单元既可供上述发送待传输数据包的终端使用,也可供其他分配了该基本传输单元的终端使用。例如,共享的基本传输单元1可以供终端1和终端2共享使用,共享的基本传输单元2可以供终端1和终端3共享使用。在本申请实施例中,如果多个终端同时在同一个基本传输单元上传输数据包,那么这个基本传输单元上传输的数据包会发生碰撞,在基站的反馈消息中这些终端的传输结果为传输失败。反之,如果终端1和终端2在不同时隙,通过基本传输单元1向基站发送数据包,那么终端1和终端2通过基本传输单元1发送的数据包就不会发生碰撞。Among them, the shared basic transmission unit can be used not only by the terminal that sends the data packet to be transmitted, but also to other terminals that are allocated with the basic transmission unit. For example, the shared basic transmission unit 1 can be shared by the terminal 1 and the terminal 2, and the shared basic transmission unit 2 can be shared by the terminal 1 and the terminal 3. In the embodiment of the present application, if multiple terminals simultaneously transmit data packets on the same basic transmission unit, the data packets transmitted on this basic transmission unit will collide, and the transmission result of these terminals in the feedback message of the base station is transmission failure. Conversely, if the terminal 1 and the terminal 2 are in different time slots and send data packets to the base station through the basic transmission unit 1, the data packets sent by the terminal 1 and the terminal 2 through the basic transmission unit 1 will not collide.
步骤203,若传输结果为传输失败且上一个数据包不满足重传条件,则根据终端的ID,确定至少一个供终端独占的基本传输单元。Step 203: If the transmission result is that the transmission fails and the last data packet does not satisfy the retransmission condition, then at least one basic transmission unit exclusively for the terminal is determined according to the terminal ID.
其中,重传条件为数据包只被发送过一次且发送数据包时未经历排队时延。Among them, the retransmission condition is that the data packet has only been sent once and the queuing delay is not experienced when the data packet is sent.
若终端需要发送一个数据包A时,终端在发送数据包A之前还有其他待发送的数据包,或者还有其他需要重传的数据包,则需要等待其他数据包发送之后才发送数据包A,即数据包A需经历排队时延。If the terminal needs to send a data packet A, the terminal has other data packets to be sent before sending data packet A, or there are other data packets that need to be retransmitted, you need to wait for other data packets to be sent before sending data packet A , That is, packet A needs to experience queuing delay.
一种实现方式中,终端对上一个数据包的传输结果为传输失败,则判断上一个数据包是否满足重传条件;若满足重传条件,则根据终端的ID,确定至少一个用于发送上一个数据包的独占的基本传输单元;若不满足重传条件, 则根据终端的ID,确定至少一个用于发送待传输数据包的独占的基本传输单元。In one implementation, if the terminal fails to transmit the last data packet, it is determined whether the last data packet meets the retransmission condition; if the retransmission condition is met, then at least one of them is determined to be sent according to the terminal ID An exclusive basic transmission unit of a data packet; if the retransmission condition is not met, then at least one exclusive basic transmission unit for sending the data packet to be transmitted is determined according to the terminal ID.
可选的,为了支持低时延高可靠通信(Ultra Reliable and Low Latency Communications,URLLC),保证用户面时延不超过1毫秒,若终端在发送数据包A之前,等候了一个数据包的传输时间,那么数据包A只能进行一次初传。若终端在发送数据包A之前,等候了两个数据包的传输时间,则不向基站发送该数据包。Optionally, in order to support low-latency and high-reliability communication (Ultra Reliable and Low Latency Communications, URLLC), to ensure that the user plane delay does not exceed 1 millisecond, if the terminal waits for the transmission time of a data packet before sending data packet A , Then packet A can only be transmitted once. If the terminal waits for the transmission time of two data packets before sending the data packet A, it does not send the data packet to the base station.
步骤204,通过确定的基本传输单元向基站发送待传输数据包。Step 204: Send the data packet to be transmitted to the base station through the determined basic transmission unit.
一种实现方式中,若确定的基本传输单元有多个,则分别通过每个基本传输单元向基站发送待传输数据包。In an implementation manner, if there are multiple determined basic transmission units, the data packets to be transmitted are sent to the base station through each basic transmission unit.
本申请实施例提供的数据传输方法,终端可确定共享的基本传输单元,即终端能通过多个共享的基本传输单元向基站发送待传输数据包,且共享的基本传输单元可供多个终端发送数据包,由于URLLC的数据包具有零星到达的特点,所以不同终端在不同的时隙使用共享的基本传输单元不会产生碰撞,相比于现有技术中每个终端都使用独占的初传资源,可以提高基本传输单元被使用的频率,提高了资源利用率。另外,由于为上一个数据包传输失败的终端确定独占的基本传输单元,保证了该终端在发送当前数据包时不会再次碰撞,所以与现有技术数据包发送失败后,选择重传直至数据包发送成功的方式相比,应用本申请实施例能够降低用户面时延。因此采用本申请实施例提供的根据对上一个数据包的传输结果来实时调整终端可用的基本传输单元,可以实现在保证资源利用率的基础上降低用户面时延。In the data transmission method provided by the embodiment of the present application, the terminal can determine a shared basic transmission unit, that is, the terminal can send the data packet to be transmitted to the base station through multiple shared basic transmission units, and the shared basic transmission unit can be sent by multiple terminals Data packets, because URLLC data packets have the characteristics of sporadic arrival, so different terminals use shared basic transmission units in different time slots without collision, compared with the prior art. Each terminal uses exclusive initial transmission resources , Can increase the frequency of the basic transmission unit is used, and improve resource utilization. In addition, since the exclusive basic transmission unit is determined for the terminal that failed to transmit the last data packet, it is guaranteed that the terminal will not collide again when sending the current data packet, so after sending the data packet with the prior art, it fails to choose to retransmit until the data Compared with the successful packet sending method, applying the embodiment of the present application can reduce the user plane delay. Therefore, the basic transmission unit available for the terminal is adjusted in real time according to the transmission result of the last data packet provided by the embodiment of the present application, and the user plane delay can be reduced on the basis of ensuring resource utilization.
本申请实施例中,基本传输单元总数量为根据基站能够供终端使用的上行资源确定的。In the embodiment of the present application, the total number of basic transmission units is determined according to the uplink resources that the base station can use for the terminal.
可选的,本申请实施例划分基本传输单元使用的是稀疏编码多址接入(Sparse Code Multiple Access,SCMA)技术,在SCMA技术中,数据的比特流映射为码字进行传输,N个正交资源能够生成C个不同的码本,一个终端对应一个码本,所以N个正交资源可支持C个终端的数据在其上叠加传输,在引入码本复用技术后,用L个导频序列对应一个码本,一个码本对应L个终端, 则N个正交资源可以划分为C×L个基本传输单元,划分基本传输单元的示意图如图3所示。Optionally, the embodiment of the present application uses Sparse Code Multiple Access (SCMA) technology to divide the basic transmission unit. In SCMA technology, the bit stream of data is mapped to codewords for transmission, and N positive The cross resource can generate C different codebooks, one terminal corresponds to one codebook, so N orthogonal resources can support the data of C terminals to be superimposed and transmitted on it. After introducing the codebook multiplexing technology, L guides are used The frequency sequence corresponds to one codebook, and one codebook corresponds to L terminals, then N orthogonal resources can be divided into C × L basic transmission units, and a schematic diagram of dividing the basic transmission units is shown in FIG. 3.
其中,
Figure PCTCN2018118128-appb-000001
K代表一个码字中非零实体的个数。
among them,
Figure PCTCN2018118128-appb-000001
K represents the number of non-zero entities in a codeword.
在上述步骤201之前,若系统处于初始时隙,基站服务的终端均未使用本申请实施例的方法向基站传输过数据包,也可以理解为在发送待传输数据包之前,终端未接收过基站发送的包含传输结果的反馈消息,则通过如图4所示的方法向基站发送待传输数据包,具体包括如下步骤:Before the above step 201, if the system is in the initial time slot, none of the terminals served by the base station has used the method of the embodiment of the present application to transmit data packets to the base station. It can also be understood that the terminal has not received the base station before sending the data packet to be transmitted The feedback message containing the transmission result is sent to the base station by the method shown in FIG. 4, which specifically includes the following steps:
步骤401,判断基站服务的终端数量是否小于基本传输单元总数量。Step 401: Determine whether the number of terminals served by the base station is less than the total number of basic transmission units.
一种实现方式中,若系统处于初始时隙,则判断基站服务的终端数量N是否小于基本传输单元总数量M。In one implementation, if the system is in the initial time slot, it is determined whether the number N of terminals served by the base station is less than the total number M of basic transmission units.
若N小于M,则执行步骤402;若N大于或等于M,则执行步骤403。If N is less than M, step 402 is performed; if N is greater than or equal to M, step 403 is performed.
步骤402,若基站服务的终端数量小于基本传输单元总数量,则根据终端的ID、基本传输单元总数量、基站服务的终端数量和第一初始映射规则,确定至少两个共享的基本传输单元。 Step 402, if the number of terminals served by the base station is less than the total number of basic transmission units, then at least two shared basic transmission units are determined according to the terminal ID, the total number of basic transmission units, the number of terminals served by the base station and the first initial mapping rule.
一种实现方式中,若基站服务的终端数量N小于基本传输单元总数量M,则根据第一初始映射规则,即公式(1),确定R个共享的基本传输单元:In one implementation, if the number N of terminals served by the base station is less than the total number M of basic transmission units, then R shared basic transmission units are determined according to the first initial mapping rule, that is, formula (1):
Figure PCTCN2018118128-appb-000002
Figure PCTCN2018118128-appb-000002
其中,ID为终端的ID,M为基本传输单元总数量,N为基站服务的终端数量,R为预设的终端可用的共享的基本传输单元数量,mod表示取余运算。Among them, ID is the ID of the terminal, M is the total number of basic transmission units, N is the number of terminals served by the base station, R is the preset number of shared basic transmission units available to the terminal, and mod represents the remainder operation.
示例性的,若终端的ID为3,N=5,M=10,R=2,则根据公式(1)可以获得终端3确定的一个基本传输单元索引为:3mod10=3;由于R=2,可以确定 终端3对应的另一个基本传输单元索引为:(3+(2-1)×5)mod10=8。Exemplarily, if the terminal ID is 3, N = 5, M = 10, and R = 2, a basic transmission unit index determined by terminal 3 can be obtained according to formula (1): 3mod10 = 3; since R = 2 , It can be determined that another basic transmission unit index corresponding to terminal 3 is: (3+ (2-1) × 5) mod10 = 8.
步骤403,若基站服务的终端数量大于等于基本传输单元总数量,则根据终端的ID、基本传输单元总数量、基站服务的终端数量和第二初始映射规则,确定至少两个共享的基本传输单元。Step 403: If the number of terminals served by the base station is greater than or equal to the total number of basic transmission units, determine at least two shared basic transmission units according to the terminal ID, the total number of basic transmission units, the number of terminals served by the base station and the second initial mapping rule .
一种实现方式中,若基站服务的终端数量N大于等于基本传输单元总数量M,则根据第二初始映射规则,即公式(2),确定R个共享的基本传输单元:In one implementation, if the number N of terminals served by the base station is greater than or equal to the total number M of basic transmission units, then R shared basic transmission units are determined according to the second initial mapping rule, that is, formula (2):
Figure PCTCN2018118128-appb-000003
Figure PCTCN2018118128-appb-000003
其中,ID为终端的ID,M为基本传输单元数量,R为预设的终端可用的共享的基本传输单元数量,mod表示取余运算。Wherein, ID is the ID of the terminal, M is the number of basic transmission units, R is the preset number of shared basic transmission units available to the terminal, and mod represents the remainder operation.
示例性的,若终端的ID为3,N=10,M=5,R=2,则终端对应的共享的基本传输单元的索引为:3和4。Exemplarily, if the ID of the terminal is 3, N = 10, M = 5, and R = 2, the indexes of the shared basic transmission units corresponding to the terminal are: 3 and 4.
步骤404,通过确定的至少两个共享的基本传输单元向基站发送待传输数据包。Step 404: Send the data packet to be transmitted to the base station through the determined at least two shared basic transmission units.
可见,应用本申请实施例,在系统处于初始时隙时,根据第一初始映射规则或第二初始映射规则,确定终端对应的至少两个共享的基本传输单元,通过确定的至少两个共享基本传输单元向基站发送待传输数据包。这样,由于终端能通过多个共享的基本传输单元向基站发送待传输数据包,且共享的基本传输单元可供多个终端发送数据包,针对一个共享的基本传输单元,可以在不同时间,供不同的终端使用;而半持续调度方式中,每个终端都有独占的初传资源,独占的初传资源只能供一个终端使用,所以应用本申请实施例能够提高基本传输单元被使用的频率,提高了资源利用率。It can be seen that, according to the embodiment of the present application, when the system is in the initial time slot, at least two shared basic transmission units corresponding to the terminal are determined according to the first initial mapping rule or the second initial mapping rule, and the determined at least two shared basic transmission units The transmission unit sends the data packet to be transmitted to the base station. In this way, because the terminal can send the data packet to be transmitted to the base station through multiple shared basic transmission units, and the shared basic transmission unit can be used by multiple terminals to send data packets, for a shared basic transmission unit, it can be provided at different times. Different terminals are used; in the semi-persistent scheduling mode, each terminal has exclusive initial transmission resources, and the exclusive initial transmission resources can only be used by one terminal, so applying the embodiments of the present application can increase the frequency of basic transmission units being used To improve resource utilization.
具体的,上述步骤202的具体处理方式可以是:Specifically, the specific processing method of the above step 202 may be:
确定在当前时隙的传输结果为传输成功或未传输的终端数量N 3,以及当前时隙的传输结果为传输失败的终端数量N 1和N 2。其中,N 1为当前时隙的传 输结果为第一类传输失败的终端数量,N 2为当前时隙的传输结果为第二类传输失败的终端数量。 It is determined that the transmission result in the current time slot is the number of terminals N 3 that have been successfully transmitted or not transmitted, and the transmission result of the current time slot is the number of terminals N 1 and N 2 that failed in the transmission. Among them, N 1 is the number of terminals in the current time slot whose transmission result is the first type of transmission failure, and N 2 is the number of terminals in the current time slot transmission result is the second type of transmission failure.
然后,确定终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置j。Then, it is determined that the transmission result of the ID of the terminal in the current time slot is the arrangement position j in the terminal with successful or untransmitted transmission.
例如:当前时隙基站发送的反馈消息为:“00,10,11,01,11,00”,分别表示终端1-6的传输结果,若终端的ID为3,获取终端3对应的传输结果“11”,传输结果为传输成功或未传输的终端的ID分别为:1、3、5和6,则终端3在当前时隙的传输结果为传输成功或未传输的终端中的排列位置是2。For example, the feedback message sent by the base station in the current time slot is: "00, 10, 11, 01, 11, 00", respectively indicating the transmission result of the terminal 1-6, if the terminal ID is 3, the transmission result corresponding to the terminal 3 is obtained "11", the IDs of the terminals whose transmission result is successful or untransmitted are: 1, 3, 5, and 6, respectively, then the transmission position of terminal 3 in the current time slot is the successful or untransmitted terminal. 2.
再根据基本传输单元总数量M和当前时隙的传输结果为传输失败的终端数量,通过公式(3)确定用于共享的基本传输单元数量M':Then according to the total number of basic transmission units M and the transmission result of the current time slot as the number of terminals that failed to transmit, the number of basic transmission units for sharing M 'is determined by formula (3):
M'=M-N 1-2N 2  (3) M '= MN 1 -2N 2 (3)
其中,M为基本传输单元总数量,N 1为当前时隙的传输结果为第一类传输失败的终端数量,N 2为当前时隙的传输结果为第二类传输失败的终端数量。 Among them, M is the total number of basic transmission units, N 1 is the current time slot transmission result is the number of the first type of transmission failure terminal, N 2 is the current time slot transmission result is the second type of transmission failure terminal number.
若用于共享的基本传输单元数量M'大于当前时隙的传输结果为传输成功或未传输的终端的数量N 3,则根据终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置j、当前时隙的传输结果为传输成功或未传输的终端数量N 3、当前时隙的传输结果为传输失败的终端数量N 1和N 2、用于共享的基本传输单元数量M'和第一预设映射规则,确定至少两个共享的基本传输单元;其中,第一预设映射规则为公式(4): If the number of basic transmission units for sharing M 'is greater than the current time slot, the transmission result is the number of successful or untransmitted terminals N 3 , then the transmission result in the current time slot according to the terminal ID is the successful or untransmitted transmission Arrangement position j in the terminal, the transmission result of the current time slot is the number of terminals with successful transmission or untransmitted N 3 , the transmission result of the current time slot is the number of terminals with failed transmission N 1 and N 2 , the basic transmission unit for sharing The number M 'and the first preset mapping rule determine at least two shared basic transmission units; wherein, the first preset mapping rule is formula (4):
Figure PCTCN2018118128-appb-000004
Figure PCTCN2018118128-appb-000004
其中,j为终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置,M'为用于共享的基本传输单元数量,N 1为当前时隙的传输结果为第一类传输失败的终端数量,N 2为当前时隙的传输结果为第二类传输失败的终端数量,N 3为当前时隙的传输结果为传输成功或未传输的终端数量,R为 预设的终端可用的共享的基本传输单元数量,mod表示取余运算。 Among them, j is the arrangement position of the terminal ID in the current time slot transmission result is the successful or untransmitted terminal, M 'is the number of basic transmission units for sharing, and N 1 is the transmission result of the current time slot. The number of terminals that failed in the first type of transmission. N 2 is the number of terminals in the current time slot that failed in the second type of transmission. N 3 is the number of terminals that failed in the current time slot. The number of shared basic transmission units available to the terminal of, mod represents the remainder operation.
例如,当前时隙基站发送的反馈消息为:“10,00,11,10,00,01,11”,R=2,M=10,若终端的ID为5,获取终端5对应的传输结果“00”,传输结果为传输成功或未传输的终端的ID分别为:2、3、5和7,传输结果为第一类传输失败的终端的ID为:6,传输结果为第二类传输失败的终端的ID分别为:1和4,则终端5在当前时隙的传输结果为传输成功或未传输的终端中的排列位置j=3,N 1=1,N 2=2,N 3=4,M'=10-1-2×2=5,根据公式(4)可以获得终端5确定的一个基本传输单元索引为:3mod5+1+2×2=8;由于R=2,可以确定终端5对应的另一个基本传输单元索引为:(3+4)mod5+1+2×2=7。 For example, the feedback message sent by the base station in the current time slot is: "10, 00, 11, 10, 00, 01, 11", R = 2, M = 10, if the terminal ID is 5, the transmission result corresponding to terminal 5 is obtained "00", the transmission result is that the IDs of the terminals with successful or untransmitted transmissions are: 2, 3, 5, and 7, the transmission result is the ID of the first type of transmission failure: 6, and the transmission result is the second type of transmission The IDs of the failed terminals are: 1 and 4, respectively, and the transmission result of terminal 5 in the current time slot is the arrangement position of the terminal with successful transmission or untransmitted j = 3, N 1 = 1, N 2 = 2, N 3 = 4, M '= 10-1-2 × 2 = 5, according to formula (4), a basic transmission unit index determined by terminal 5 can be obtained as: 3mod5 + 1 + 2 × 2 = 8; since R = 2, it can be It is determined that another basic transmission unit index corresponding to terminal 5 is: (3 + 4) mod5 + 1 + 2 × 2 = 7.
若用于共享的基本传输单元数量M'小于等于当前时隙的传输结果为传输成功或未传输的终端数量N 3,则根据终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置j、当前时隙的传输结果为传输失败的终端数量N 1和N 2、用于共享的基本传输单元数量M'和第二预设映射规则,确定至少两个共享的基本传输单元;其中,第二预设映射规则为公式(5): If the number of basic transmission units for sharing M 'is less than or equal to the current time slot, the transmission result is the number of successful or untransmitted terminals N 3 , then the transmission result in the current time slot according to the terminal ID is the successful or untransmitted The arrangement position j in the terminal, the transmission result of the current time slot is the number of terminals N 1 and N 2 that failed to be transmitted, the number of basic transmission units for sharing M ′ and the second preset mapping rule to determine at least two shared basic Transmission unit; wherein, the second preset mapping rule is formula (5):
Figure PCTCN2018118128-appb-000005
Figure PCTCN2018118128-appb-000005
其中,j为终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置,M'为用于共享的基本传输单元数量,N 1为当前时隙的传输结果为第一类传输失败的终端数量,N 2为当前时隙的传输结果为第二类传输失败的终端数量,R为预设的终端可用的共享的基本传输单元数量,mod表示取余运算。 Among them, j is the arrangement position of the terminal ID in the current time slot transmission result is the successful or untransmitted terminal, M 'is the number of basic transmission units for sharing, and N 1 is the transmission result of the current time slot. The number of terminals of a type of transmission failure, N 2 is the number of terminals of the second type of transmission failure in the current time slot transmission result, R is the number of preset shared basic transmission units available for the terminal, and mod represents the remainder operation.
例如,当前时隙基站发送的反馈消息为:“11,00,11,10,00,01,11”,终端的ID为5,R=2,M=7,则N 1=1,N 2=1,N 3=5,M'=4,j=4,确定的两个共享的基本传输单元索引为:3和4。 For example, the feedback message sent by the base station in the current time slot is: "11, 00, 11, 10, 00, 01, 11", the terminal ID is 5, R = 2, M = 7, then N 1 = 1, N 2 = 1, N 3 = 5, M ′ = 4, j = 4, and the determined two shared basic transmission unit indexes are: 3 and 4.
可见,应用本申请实施例,若终端对上一个数据包的传输结果为传输成功或未传输,则根据第一预设映射规则或第二预设映射规则,确定至少两个 共享的基本传输单元,通过确定的共享的基本传输单元向基站发送数据包。这样,由于为上一个数据包的传输结果为传输成功或为传输的终端确定了至少两个共享的基本传输单元,终端可以通过确定的至少两个基本传输单元向基站发送数据包,若同一个数据包同时在不同的基本传输单元传输成功,那么基站则获得了该数据包的复用增益,基站在对该数据包进行译码时可以更准确,提高了传输可靠性。It can be seen that, according to the embodiment of the present application, if the transmission result of the last data packet by the terminal is successful or untransmitted, at least two shared basic transmission units are determined according to the first preset mapping rule or the second preset mapping rule , Send data packets to the base station through the determined shared basic transmission unit. In this way, since at least two shared basic transmission units are determined for the transmission result of the last data packet for successful transmission or for the transmitted terminal, the terminal can send the data packet to the base station through the determined at least two basic transmission units, if the same When the data packet is successfully transmitted in different basic transmission units at the same time, the base station obtains the multiplexing gain of the data packet, and the base station can more accurately decode the data packet, thereby improving transmission reliability.
具体的,上述步骤203的具体处理方式可以是:Specifically, the specific processing method of the above step 203 may be:
若终端对上一个数据包的传输结果为第一类传输失败,即传输结果为“01”,且上一个数据包不满足重传条件,则根据终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置j′,将索引为j′的基本传输单元确定为供终端独占的基本传输单元,第一类传输失败为终端对上一个数据包传输失败,且终端与基站之间的距离小于等于距离阈值。If the terminal's transmission result of the last data packet is the first type of transmission failure, that is, the transmission result is "01", and the last data packet does not meet the retransmission condition, then the transmission result in the current time slot according to the terminal ID is the first The arrangement position j ′ in the terminal of the first type of transmission failure determines the basic transmission unit with index j ′ as the basic transmission unit exclusively for the terminal. The first type of transmission failure is that the terminal fails to transmit the last packet, and the terminal and The distance between the base stations is less than or equal to the distance threshold.
在本申请实施例中,基站的覆盖范围是以基站为中心,半径为r的圆形区域,可以设置距离阈值为
Figure PCTCN2018118128-appb-000006
In the embodiment of the present application, the coverage area of the base station is a circular area with the base station as the center and a radius r, and the distance threshold can be set
Figure PCTCN2018118128-appb-000006
若终端对上一个数据包的传输结果为第二类传输失败,即传输结果为“10”,且上一个数据包不满足重传条件,则根据终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置j″、当前时隙的传输结果为第一类传输失败的终端数量N 1和当前时隙的传输结果为第二类传输失败的终端数量N 2,将索引为j″+N 1和j″+N 1+N 2的两个基本传输单元确定为供终端独占的基本传输单元,第二类传输失败为终端对上一个数据包传输失败,且终端与基站之间的距离大于距离阈值。 If the terminal's transmission result of the last data packet is the second type of transmission failure, that is, the transmission result is "10", and the last data packet does not meet the retransmission condition, then the transmission result in the current time slot according to the terminal ID is the first The arrangement position j ″ in the terminal of the second type of transmission failure, the transmission result of the current time slot is the number of terminals of the first type of transmission failure N 1 and the transmission result of the current time slot is the number of terminals of the second type of transmission failure N 2 , will The two basic transmission units with indexes j ″ + N 1 and j ″ + N 1 + N 2 are determined as the basic transmission unit exclusively for the terminal. The second type of transmission failure is that the terminal fails to transmit the last packet, and the terminal and The distance between the base stations is greater than the distance threshold.
在本申请实施例中,上一个数据包传输失败,表示上一个数据包在共享的基本传输单元中与其他终端发送的数据包发生了碰撞,为了保证该终端下一次传输成功,需要为其分配独占的基本传输单元,以避免执行本申请实施例的终端发送的数据包再次发生碰撞的情况。第二类传输失败表示与基站之间的距离大于距离阈值的终端发送的数据包发生了碰撞,可以理解的是,该终端距离基站较远,实际应用中,发送端距离基站越远,发送的数据包受信道衰落的影响就越大,传输时受到的干扰和噪声也越多,使得基站对于接收到的数据包译码更容易失败。为了使基站获得复用增益,提高传输的可靠性, 所以可以给传输结果为第二类传输失败的终端分配两个独占的基本传输单元。而若给传输结果为传输失败的终端都分配两个独占的基本传输单元,那么用于共享的基本传输单元数量就会大大减少,不利于提高资源利用率,所以在考虑到资源利用率和传输可靠性等方面的原因,为距离基站较近的传输结果为传输失败的终端分配一个独占的基本传输单元。In the embodiment of the present application, the transmission of the last data packet fails, which means that the last data packet collided with the data packet sent by other terminals in the shared basic transmission unit. In order to ensure that the terminal succeeds in the next transmission, it needs to be allocated An exclusive basic transmission unit to avoid the collision of the data packets sent by the terminal executing the embodiments of the present application. The second type of transmission failure indicates that the data packet sent by the terminal whose distance from the base station is greater than the distance threshold has collided. It can be understood that the terminal is farther from the base station. In actual applications, the farther the sender is from the base station, the The greater the impact of a data packet on channel fading, the more interference and noise it receives during transmission, making it easier for the base station to decode received data packets. In order to enable the base station to obtain multiplexing gain and improve the reliability of transmission, the terminal whose transmission result is the second type of transmission failure can be assigned two exclusive basic transmission units. However, if two exclusive basic transmission units are allocated to the terminal whose transmission result is transmission failure, the number of basic transmission units used for sharing will be greatly reduced, which is not conducive to improving the resource utilization rate, so when considering resource utilization and transmission For reliability and other reasons, an exclusive basic transmission unit is allocated to a terminal that fails to transmit for a transmission result closer to the base station.
在本申请实施例中,基站确定基站服务的各个终端对应的基本传输单元的方法与上述终端确定基本传输单元的方法相同,基站在向基站服务的各个终端发送反馈消息后,确定各终端在下次传输数据包时可使用的的基本传输单元,当终端下次向基站发送数据包时,基站可在确定的各个终端可使用的基本传输单元上,检测各个基本传输单元中传输的数据包。In the embodiment of the present application, the method for the base station to determine the basic transmission unit corresponding to each terminal served by the base station is the same as the method for the terminal to determine the basic transmission unit. After the base station sends a feedback message to each terminal served by the base station, it determines that each terminal The basic transmission unit that can be used when transmitting a data packet. When the terminal next sends a data packet to the base station, the base station can detect the data packet transmitted in each basic transmission unit on the determined basic transmission unit that can be used by each terminal.
可见,在本申请实施例中,若终端对上一个数据包的传输结果为传输失败且上一个数据包不满足重传条件,则根据终端的ID确定至少一个供终端独占的基本传输单元;通过确定的至少一个供终端独占的基本传输单元向基站发送待传输数据包。由于重传条件为数据包只被发送过一次且发送数据包时未经历排队时延,即允许数据包最多经历两次传输的时间到达基站,与现有技术数据包发送失败后,选择重传直至数据包发送成功的方式相比,应用本申请实施例能够降低用户面时延。It can be seen that in the embodiment of the present application, if the transmission result of the last data packet by the terminal is that the transmission fails and the last data packet does not satisfy the retransmission condition, at least one basic transmission unit exclusively for the terminal is determined according to the terminal ID; The determined at least one basic transmission unit exclusively for the terminal sends the data packet to be transmitted to the base station. Since the retransmission condition is that the data packet has only been sent once and the queuing delay has not been experienced when sending the data packet, that is, the data packet is allowed to reach the base station up to two transmission times, and the prior art data packet fails to be sent, then choose to retransmit Compared with the way until the data packet is successfully sent, applying the embodiment of the present application can reduce the user plane delay.
示例性的,参见图5,图5为本申请实施例提供的一种数据传输方法的示例性示意图。假设基本传输单元总数M=10,基站服务的终端数量N=10,假设ID为1-5的终端与基站距离不超过距离阈值,ID为6-10的终端与基站距离超过距离阈值。For example, refer to FIG. 5, which is an exemplary schematic diagram of a data transmission method according to an embodiment of the present application. Assuming that the total number of basic transmission units is M = 10 and the number of terminals served by the base station is N = 10, it is assumed that the distance between the terminal with ID 1-5 and the base station does not exceed the distance threshold, and the distance between the terminal with ID 6-10 and the base station exceeds the distance threshold.
在终端初传数据包时,系统处于初始时隙,每个基本传输单元对应的终端的ID可参见图5,例如:基本传输单元1可供终端1和终端10共享使用,基本传输单元2可供终端2和终端1共享使用。When the terminal first transmits a data packet, the system is in the initial time slot. The ID of the terminal corresponding to each basic transmission unit can be seen in FIG. 5, for example: basic transmission unit 1 can be shared by terminal 1 and terminal 10, and basic transmission unit 2 can For shared use by terminal 2 and terminal 1.
假设在初始时隙,向基站发送数据包的终端的ID为:2、3、4、6、7、8和10,即初始时隙的激活终端分别为:终端2、终端3、终端4、终端6、终端7、终端8和终端10。在终端向基站发送数据包后,收到基站发送的ACK反馈消息中包括元素:“00,11,01,11,00,11,10,11,00,11”,则可以确定终端2、4、6、8和10在初始时隙发送的数据包的传输结果为传输成功,终端1、5 和9在初始时隙发送的数据包的传输结果为未传输,则为上述传输结果为传输成功或未传输的终端分配共享的基本传输单元。终端3或终端7在初始时隙发送的数据包的传输结果为传输失败,且终端3与基站之间的距离不超过距离阈值,所以终端3对应一个独占的基本传输单元;终端7与基站之间的距离超过距离阈值,所以终端7对应两个独占的基本传输单元。具体终端与基本传输单元的对应情况如图5所示,例如:基本传输单元4对应的终端为:终端1、终端10和终端9。若终端3或终端7都满足重传条件,则终端3或终端7都会在确定的独占的基本传输单元上重新传输初始时隙未发送成功的数据包。Assume that in the initial time slot, the IDs of the terminals that send data packets to the base station are: 2, 3, 4, 6, 7, 8, and 10, that is, the activated terminals in the initial time slot are: terminal 2, terminal 3, terminal 4, Terminal 6, Terminal 7, Terminal 8, and Terminal 10. After the terminal sends a data packet to the base station and receives the ACK feedback message sent by the base station including the element: "00, 11, 01, 11, 00, 11, 10, 11, 00, 11", you can determine the terminal 2, 4 , 6, 8 and 10 The transmission result of the data packet sent in the initial time slot is successful transmission, and the transmission result of the data packet sent by the terminal 1, 5, and 9 in the initial time slot is untransmitted, then the above transmission result is successful Or the non-transmitted terminal is assigned a shared basic transmission unit. The transmission result of the data packet sent by terminal 3 or terminal 7 in the initial time slot is transmission failure, and the distance between terminal 3 and the base station does not exceed the distance threshold, so terminal 3 corresponds to an exclusive basic transmission unit; terminal 7 and the base station The distance between them exceeds the distance threshold, so the terminal 7 corresponds to two exclusive basic transmission units. The correspondence between the specific terminal and the basic transmission unit is shown in FIG. 5, for example, the terminals corresponding to the basic transmission unit 4 are: terminal 1, terminal 10 and terminal 9. If either terminal 3 or terminal 7 meets the retransmission condition, terminal 3 or terminal 7 will retransmit the unsuccessful initial time slot data packet on the determined exclusive basic transmission unit.
进一步的,若终端对上一个数据包的传输结果为传输失败,且上一个数据包满足重传条件,终端向基站发送数据包的方法为:Further, if the result of the terminal's transmission of the last data packet is transmission failure and the last data packet meets the retransmission condition, the method for the terminal to send the data packet to the base station is:
若终端对上一个数据包的传输结果为第一类传输失败,即传输结果为“01”,且上一个数据包满足重传条件,则根据终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置j′,将索引为j′的基本传输单元确定为供终端独占的基本传输单元,通过确定的供终端独占的基本传输单元向基站重传上一个数据包。If the terminal's transmission result of the last data packet is the first type of transmission failure, that is, the transmission result is "01", and the last data packet meets the retransmission condition, then the transmission result in the current time slot according to the terminal ID is the first The arrangement position j ′ in the terminal whose class transmission fails, determines the basic transmission unit with index j ′ as the basic transmission unit exclusively for the terminal, and retransmits the last data packet to the base station through the determined basic transmission unit exclusively for the terminal.
若终端对上一个数据包的传输结果为第二类传输失败,且上一个数据包满足重传条件,则根据终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置j″、当前时隙的传输结果为第一类传输失败的终端数量N 1和当前时隙的传输结果为第二类传输失败的终端数量N 2,将索引为j″+N 1和j″+N 1+N 2的两个基本传输单元确定为供终端独占的基本传输单元,通过确定的两个供终端独占的基本传输单元向基站重传上一个数据包。 If the terminal's transmission result of the last data packet is that the second type of transmission fails, and the last data packet meets the retransmission conditions, the transmission result of the current time slot according to the terminal ID is the arrangement of the terminal of the second type of transmission failure Position j ″, the current time slot transmission result is the number N 1 of terminals that failed in the first type of transmission and the current time slot transmission result is the number N 2 of terminals that failed in the second type of transmission, which will be indexed as j ″ + N 1 and j "The two basic transmission units of + N 1 + N 2 are determined as the basic transmission unit exclusively for the terminal, and the last data packet is retransmitted to the base station through the determined two basic transmission units exclusively for the terminal.
可见,在本申请实施例中,若终端对上一个数据包的传输结果为传输失败且上一个数据包满足重传条件,则确定至少一个供终端独占的基本传输单元,在确定的至少一个供终端独占的基本传输单元向基站发送数据包。由于上一个数据包传输失败则表示上一个数据包在共享的基本传输单元上与其他数据包发生了碰撞,此时为该终端分配独占的基本传输单元,可以避免该终端再次发送数据包时,该数据包与其他数据包发生碰撞,提高了传输可靠性。It can be seen that, in the embodiment of the present application, if the transmission result of the last data packet by the terminal is that the transmission fails and the last data packet meets the retransmission condition, then at least one basic transmission unit exclusively for the terminal is determined. The basic transmission unit exclusive to the terminal sends a data packet to the base station. Since the transmission of the last data packet fails, it means that the last data packet collided with other data packets on the shared basic transmission unit. At this time, the terminal is assigned an exclusive basic transmission unit, which can prevent the terminal from sending the data packet again. The data packet collides with other data packets, improving transmission reliability.
在本申请实施例中,为终端最多分配的用于共享的基本传输单元数可以通过如下五种方式确定:In the embodiment of the present application, the maximum number of basic transmission units allocated for sharing to the terminal can be determined in the following five ways:
方式一,参见图6,图6为本申请实施例提供的平均丢包率随基站服务的终端数量与基本传输单元总数之比变化的曲线图。在实际应用中,丢包率随基站服务的终端数量与基本传输单元总数之比N/M的增大而增大,因为在基本传输单元总数不变时,基站服务的终端数量增加,系统的负载就会增加。假设流量频率为0.05,即基站服务的每个终端在每个时隙均处于激活状态的概率为0.05,从图6中可以看出,在N/M的值相同时,为基站服务的每个终端最多配置的基本传输单元数量越大,平均丢包率越大,这是由于每个终端配置的基本传输单元数量越大,平均每个基本传输单元的负载就越大。且如图6所示,在N/M<1.8时,为每个终端最多配置两个基本传输单元的丢包率与为每个终端最多配置一个基本传输单元的丢包率近似相等,此时,为提高资源利用率,可以选择为每个终端最多配置两个基本传输单元。Manner 1: Referring to FIG. 6, FIG. 6 is a graph of the average packet loss rate provided by the embodiment of the present application as a function of the ratio of the number of terminals served by the base station to the total number of basic transmission units. In practical applications, the packet loss rate increases with the increase of the ratio of the number of terminals served by the base station to the total number of basic transmission units N / M, because when the total number of basic transmission units remains unchanged, the number of terminals served by the base station increases. The load will increase. Assume that the traffic frequency is 0.05, that is, the probability that each terminal served by the base station is active in each time slot is 0.05. As can be seen from FIG. 6, when the value of N / M is the same, each terminal serving the base station The larger the maximum number of basic transmission units configured by the terminal, the greater the average packet loss rate. This is because the larger the number of basic transmission units configured for each terminal, the greater the average load of each basic transmission unit. And as shown in FIG. 6, when N / M <1.8, the packet loss rate of configuring up to two basic transmission units for each terminal is approximately equal to the packet loss rate of configuring up to one basic transmission unit for each terminal. To improve resource utilization, you can choose to configure up to two basic transmission units for each terminal.
其中,平均丢包率表示平均每个时隙丢弃的数据包数量占需要发送的数据包总数的比例。Among them, the average packet loss rate represents the average number of data packets dropped per time slot to the total number of data packets that need to be sent.
方式二,参见图7,当N/M=1.5时,平均丢包率随流量频率变化的曲线图如图7所示。从图7中可以看出,平均丢包率随流量频率P的增大而增大,在流量频率相同时,为每个终端最多配置的基本传输单元数量越大,丢包率越大。在P<0.13时,为每个终端最多配置两个基本传输单元的丢包率与为每个终端最多配置一个基本传输单元的丢包率近似相等,此时,为提高资源利用率,可以选择为每个终端最多配置两个基本传输单元。Method two, referring to FIG. 7, when N / M = 1.5, the graph of the average packet loss rate with the flow frequency is shown in FIG. 7. It can be seen from FIG. 7 that the average packet loss rate increases with the increase of the traffic frequency P. When the traffic frequency is the same, the larger the number of basic transmission units configured for each terminal, the greater the packet loss rate. When P <0.13, the packet loss rate of at most two basic transmission units configured for each terminal is approximately equal to the packet loss rate of at most one basic transmission unit configured for each terminal. At this time, in order to improve resource utilization, you can choose Configure up to two basic transmission units for each terminal.
方式三,参见图8,当N/M=1时,平均丢包率随流量频率变化的曲线图如图8所示。从图8中可以看出,平均丢包率随流量频率P的增大而增大,在流量频率相同时,为每个终端最多配置的基本传输单元数量越大,丢包率越大。其中,由于当N/M=1时,为每个终端最多配置一个基本传输单元的情况下,每个用户都有一个独占的基本传输单元,所以终端发送的数据包不会发生碰撞,丢包率为零(图8中未示出)。在P<0.1时,为每个终端最多配置两个基本传输单元的丢包率也为零(图8中未示出),此时,为提高资源利用率,可以选择为每个终端最多配置两个基本传输单元。Mode three, referring to FIG. 8, when N / M = 1, the graph of the average packet loss rate with the flow frequency is shown in FIG. 8. It can be seen from FIG. 8 that the average packet loss rate increases with the increase of the traffic frequency P. When the traffic frequency is the same, the greater the number of basic transmission units configured for each terminal, the greater the packet loss rate. Among them, when N / M = 1, when each terminal is configured with at most one basic transmission unit, each user has an exclusive basic transmission unit, so the data packets sent by the terminal will not collide and lose packets The rate is zero (not shown in Figure 8). When P <0.1, the packet loss rate of up to two basic transmission units configured for each terminal is also zero (not shown in FIG. 8). At this time, in order to improve resource utilization, you can choose to configure up to each terminal Two basic transmission units.
方式四,参见图9,当流量频率P=0.05时,平均成功复用率随基站服务的终端数量与基本传输单元总数之比变化的曲线图如图9所示。从图9中可以看 出,N/M的值越大,平均成功复用率越低;在N/M≤1时,四条曲线近似重合,且四条曲线的平均成功复用率都在90%以上;在N/M>1时,为每个终端最多配置的基本传输单元数量越大,平均成功复用率越低;若选取平均成功复用率不小于70%,此时,为提高资源利用率,可以选择为每个终端最多配置两个基本传输单元。 Mode 4, referring to FIG. 9, when the traffic frequency P = 0.05, the graph of the average successful multiplexing rate changes with the ratio of the number of terminals served by the base station to the total number of basic transmission units is shown in FIG. It can be seen from Figure 9 that the larger the value of N / M, the lower the average successful multiplexing rate; when N / M≤1, the four curves are approximately coincident, and the average successful multiplexing rate of the four curves is all 90% Above; when N / M> 1, the larger the maximum number of basic transmission units configured for each terminal, the lower the average successful multiplexing rate; if the average successful multiplexing rate is not less than 70%, at this time, in order to increase resources For utilization, you can choose to configure up to two basic transmission units for each terminal.
其中,平均成功复用率为平均每个时隙在多个基本传输单元上传输成功的数据包占需要发送的数据包的比例。需要发送的数据包为到达终端,且需要向基站发送的数据包。Among them, the average successful multiplexing rate is the average ratio of the data packets successfully transmitted on multiple basic transmission units per time slot to the data packets that need to be sent. The data packet that needs to be sent is the data packet that arrives at the terminal and needs to be sent to the base station.
方式五,参见图10,当N/M=1时,平均成功复用率随流量频率变化的曲线图如图10所示。从图10中可以看出,流量频率越大,平均成功复用率越低;且当为每个终端最多配置两个基本传输单元时,平均成功复用率下降最慢;在流量频率不超过0.2时,四条曲线的平均成功复用率均在50%以上。此时,为提高资源利用率,可以选择为每个终端最多配置两个基本传输单元。 Method 5, referring to FIG. 10, when N / M = 1, the graph of the average successful multiplexing rate versus flow frequency is shown in FIG. 10. As can be seen from Figure 10, the greater the traffic frequency, the lower the average successful multiplexing rate; and when configuring up to two basic transmission units for each terminal, the average successful multiplexing rate decreases the slowest; the traffic frequency does not exceed At 0.2, the average successful reuse rate of the four curves is above 50%. At this time, in order to improve resource utilization, you can choose to configure up to two basic transmission units for each terminal.
根据上述五种确定每个终端最多配置的基本传输单元数量的方法,可以看出,当流量频率P=0.05,以及N=M时,选择为每个终端最多配置两个基本传输单元,可以实现应用本发实施例的数据传输系统平均丢包率为0,平均成功复用率为90%。According to the above five methods for determining the maximum number of basic transmission units configured for each terminal, it can be seen that when the traffic frequency P = 0.05 and N = M, it is possible to choose to configure up to two basic transmission units for each terminal to achieve The average packet loss rate of the data transmission system applying the embodiment of the present invention is 0, and the average successful multiplexing rate is 90%.
对应于上述方法实施例,如图11所示,本申请实施例提供一种数据传输装置,应用于终端,该装置包括:确定模块1101和发送模块1102;Corresponding to the above method embodiment, as shown in FIG. 11, an embodiment of the present application provides a data transmission device, which is applied to a terminal. The device includes: a determination module 1101 and a sending module 1102;
确定模块1101,用于确定终端对上一个数据包的传输结果;若传输结果为传输成功或未传输,则根据终端的身份标识ID、基本传输单元总数量和预设映射规则,确定至少两个共享的基本传输单元;若传输结果为传输失败且上一个数据包不满足重传条件,则根据终端的ID,确定至少一个供终端独占的基本传输单元;重传条件为数据包只被发送过一次且发送数据包时未经历排队时延;The determining module 1101 is used to determine the transmission result of the terminal to the last data packet; if the transmission result is successful or untransmitted, then at least two are determined according to the terminal's identity ID, the total number of basic transmission units and the preset mapping rules Shared basic transmission unit; if the transmission result is transmission failure and the last data packet does not meet the retransmission condition, then at least one basic transmission unit exclusively for the terminal is determined according to the terminal ID; the retransmission condition is that the data packet has only been sent Once and there is no queuing delay when sending data packets;
发送模块1102,用于通过确定模块确定的基本传输单元向基站发送待传输数据包。The sending module 1102 is configured to send the data packet to be transmitted to the base station through the basic transmission unit determined by the determining module.
可选的,该装置还包括:判断模块;Optionally, the device further includes: a judgment module;
判断模块,用于若在发送待传输数据包之前,未接收过基站发送的包含传输结果的反馈消息,则判断基站服务的终端数量是否小于基本传输单元总数量;The judgment module is used to judge whether the number of terminals served by the base station is less than the total number of basic transmission units if the feedback message containing the transmission result sent by the base station has not been received before sending the data packet to be transmitted;
确定模块1101,还用于若判断模块判断的基站服务的终端数量小于基本传输单元总数量,则根据终端的ID、基本传输单元总数量、基站服务的终端数量和第一初始映射规则,确定至少两个共享的基本传输单元;若判断模块判断的基站服务的终端数量大于等于基本传输单元总数量,则根据终端的ID、基本传输单元总数量、基站服务的终端数量和第二初始映射规则,确定至少两个共享的基本传输单元;The determining module 1101 is further configured to determine at least the minimum number of terminals served by the base station according to the terminal ID, the total number of basic transmission units, the number of terminals served by the base station and the first initial mapping rule if the number of terminals served by the base station determined by the determining module is less than Two shared basic transmission units; if the number of terminals served by the base station judged by the judgment module is greater than or equal to the total number of basic transmission units, then according to the terminal ID, the total number of basic transmission units, the number of terminals served by the base station and the second initial mapping rule, Determine at least two shared basic transmission units;
发送模块1102,还用于通过确定模块确定的至少两个共享的基本传输单元向基站发送待传输数据包。The sending module 1102 is further configured to send the data packet to be transmitted to the base station through at least two shared basic transmission units determined by the determining module.
可选的,确定模块1101,具体用于:确定在当前时隙的传输结果为传输成功或未传输的终端数量,以及当前时隙的传输结果为传输失败的终端数量;确定终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置;根据基本传输单元总数量和当前时隙的传输结果为传输失败的终端数量,确定用于共享的基本传输单元数量;若用于共享的基本传输单元数量大于当前时隙的传输结果为传输成功或未传输的终端的数量,则根据终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置、当前时隙的传输结果为传输成功或未传输的终端数量、当前时隙的传输结果为传输失败的终端数量、用于共享的基本传输单元数量和第一预设映射规则,确定至少两个共享的基本传输单元;若用于共享的基本传输单元数量小于等于当前时隙的传输结果为传输成功或未传输的终端数量,则根据终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置、当前时隙的传输结果为传输失败的终端数量、用于共享的基本传输单元数量和第二预设映射规则,确定至少两个共享的基本传输单元。Optionally, the determination module 1101 is specifically configured to: determine that the transmission result in the current time slot is the number of terminals with successful or untransmitted transmission, and the transmission result in the current time slot is the number of terminals with failed transmission; determine that the terminal ID is in the current The transmission result of the time slot is the arrangement position in the terminal where the transmission is successful or not; according to the total number of basic transmission units and the transmission result of the current time slot is the number of failed transmission terminals, determine the number of basic transmission units for sharing; if used If the number of shared basic transmission units is greater than the current time slot, the transmission result is the number of successful or untransmitted terminals, then the transmission result in the current time slot according to the terminal ID is the arrangement position of the successful or untransmitted terminal, The transmission result of the current time slot is the number of terminals that are successfully transmitted or not transmitted, the transmission result of the current time slot is the number of terminals that failed to be transmitted, the number of basic transmission units for sharing, and the first preset mapping rule to determine at least two sharing Basic transmission unit; if the number of basic transmission units used for sharing is less than or equal to the transmission slot of the current time slot Is the number of terminals that have been successfully transmitted or not transmitted, then the transmission result of the terminal ID in the current time slot is the arrangement position in the terminal of successful or untransmitted transmission, and the transmission result of the current time slot is the number of terminals that failed to be transmitted. The number of shared basic transmission units and the second preset mapping rule determine at least two shared basic transmission units.
可选的,确定模块1101,具体用于:若终端对上一个数据包的传输结果为第一类传输失败,且上一个数据包不满足重传条件,则根据终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置,确定一个供终端独占的基本传输单元,第一类传输失败为终端对上一个数据包传输失败,且 终端与基站之间的距离小于等于距离阈值;若终端对上一个数据包的传输结果为第二类传输失败,且上一个数据包不满足重传条件,则根据终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置、当前时隙的传输结果为第一类传输失败的终端数量和当前时隙的传输结果为第二类传输失败的终端数量,确定两个供终端独占的基本传输单元,第二类传输失败为终端对上一个数据包传输失败,且终端与基站之间的距离大于距离阈值。Optionally, the determination module 1101 is specifically used to: if the terminal transmits the last data packet as the first type of transmission failure, and the last data packet does not meet the retransmission condition, then the terminal ID is in the current time slot. The transmission result is the arrangement position in the terminal of the first type of transmission failure, and a basic transmission unit for the terminal is determined. The first type of transmission failure is that the terminal fails to transmit the last packet, and the distance between the terminal and the base station is less than or equal to Distance threshold; if the terminal's transmission result of the last data packet is the second type of transmission failure, and the last data packet does not meet the retransmission condition, then the transmission result of the current time slot according to the terminal ID is the second type of transmission failure The arrangement position in the terminal, the transmission result of the current time slot is the number of terminals that failed in the first type of transmission and the transmission result of the current time slot is the number of terminals that failed in the second type of transmission. Determine two basic transmission units for exclusive use by the terminal. The second type of transmission failure is that the terminal fails to transmit the last data packet, and the distance between the terminal and the base station is greater than the distance threshold.
可选的,该装置还包括:第一重传模块和第二重传模块;Optionally, the device further includes: a first retransmission module and a second retransmission module;
第一重传模块,用于若终端对上一个数据包的传输结果为第一类传输失败,且上一个数据包满足重传条件,则根据终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置,确定一个供终端独占的基本传输单元,通过确定的供终端独占的基本传输单元向基站重传上一个数据包;The first retransmission module is used to transmit the last data packet as the first type of transmission failure, and the last data packet meets the retransmission condition, according to the terminal ID transmission result in the current time slot is the first The arrangement position of the terminal that failed to transmit similarly, determine a basic transmission unit exclusively for the terminal, and retransmit the last data packet to the base station through the determined basic transmission unit exclusively for the terminal;
第二重传模块,用于若终端对上一个数据包的传输结果为第二类传输失败,且上一个数据包满足重传条件,则根据终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置、当前时隙的传输结果为第一类传输失败的终端数量和当前时隙的传输结果为第二类传输失败的终端数量,确定两个供终端独占的基本传输单元,通过确定的两个供终端独占的基本传输单元向基站重传上一个数据包。The second retransmission module is used to transmit the result of the second type of transmission of the last data packet to the terminal is failed, and the last data packet meets the retransmission conditions, the transmission result of the current time slot according to the terminal ID is the second The arrangement position of the terminal that failed to transmit similarly, the transmission result of the current time slot is the number of terminals that failed in the first type of transmission, and the transmission result of the current time slot is the number of terminals that failed in the second type of transmission. The transmission unit retransmits the last data packet to the base station through the determined two basic transmission units exclusively for the terminal.
本申请实施例还提供了一种电子设备,如图12所示,包括处理器1201、通信接口1202、存储器1203和通信总线1204,其中,处理器1201,通信接口1202,存储器1203通过通信总线1204完成相互间的通信,An embodiment of the present application further provides an electronic device, as shown in FIG. 12, including a processor 1201, a communication interface 1202, a memory 1203, and a communication bus 1204, where the processor 1201, the communication interface 1202, and the memory 1203 pass through the communication bus 1204 Complete communication with each other,
存储器1203,用于存放计算机程序; Memory 1203, used to store computer programs;
处理器1201,用于执行存储器1203上所存放的程序时,实现上述方法实施例中由终端执行的步骤。The processor 1201 is configured to implement the steps executed by the terminal in the foregoing method embodiments when executing the program stored in the memory 1203.
上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above electronic device may be a peripheral component interconnection standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard structure (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, and a control bus. For ease of representation, the figure is only represented by a thick line, but it does not mean that there is only one bus or one type of bus.
通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the electronic device and other devices.
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM), or non-volatile memory (Non-Volatile Memory, NVM), for example, at least one disk memory. Optionally, the memory may also be at least one storage device located away from the foregoing processor.
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The aforementioned processor may be a general-purpose processor, including a central processor (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc .; it may also be a digital signal processor (Digital Signal Processing, DSP), dedicated integration Circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
在本申请提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一数据传输方法的步骤。In yet another embodiment provided by the present application, a computer-readable storage medium is also provided. The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement any of the above data transmission methods. A step of.
在本申请提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一数据传输方法。In yet another embodiment provided by the present application, a computer program product containing instructions is also provided, which, when it runs on a computer, causes the computer to execute any data transmission method in the above embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质 (例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmit to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including a server, a data center, and the like integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, Solid State Disk (SSD)) or the like.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is any such actual relationship or order. Moreover, the terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also those not explicitly listed Or other elements that are inherent to this process, method, article, or equipment. Without more restrictions, the element defined by the sentence "include one ..." does not exclude that there are other identical elements in the process, method, article or equipment that includes the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The embodiments in this specification are described in a related manner. The same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method embodiment.
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application are included in the scope of protection of this application.

Claims (13)

  1. 一种数据传输方法,其特征在于,应用于终端,所述方法包括:A data transmission method characterized by being applied to a terminal, the method includes:
    确定所述终端对上一个数据包的传输结果;Determine the transmission result of the last data packet by the terminal;
    若所述传输结果为传输成功或未传输,则根据所述终端的身份标识ID、基本传输单元总数量和预设映射规则,确定至少两个共享的基本传输单元;If the transmission result is successful or untransmitted, at least two shared basic transmission units are determined according to the terminal's identity ID, the total number of basic transmission units, and preset mapping rules;
    若所述传输结果为传输失败且所述上一个数据包不满足重传条件,则根据所述终端的ID,确定至少一个供所述终端独占的基本传输单元;所述重传条件为数据包只被发送过一次且发送数据包时未经历排队时延;If the transmission result is transmission failure and the last data packet does not satisfy the retransmission condition, then at least one basic transmission unit exclusively for the terminal is determined according to the terminal ID; the retransmission condition is a data packet It has only been sent once and the data packet was sent without queuing delay;
    通过确定的基本传输单元向基站发送所述待传输数据包。Sending the data packet to be transmitted to the base station through the determined basic transmission unit.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    若在发送所述待传输数据包之前,未接收过所述基站发送的包含传输结果的反馈消息,则判断所述基站服务的终端数量是否小于所述基本传输单元总数量;If the feedback message containing the transmission result sent by the base station has not been received before sending the data packet to be transmitted, it is determined whether the number of terminals served by the base station is less than the total number of basic transmission units;
    若所述基站服务的终端数量小于所述基本传输单元总数量,则根据所述终端的ID、所述基本传输单元总数量、所述基站服务的终端数量和第一初始映射规则,确定至少两个共享的基本传输单元;If the number of terminals served by the base station is less than the total number of basic transmission units, at least two are determined according to the ID of the terminal, the total number of basic transmission units, the number of terminals served by the base station and the first initial mapping rule Shared basic transmission unit;
    若所述基站服务的终端数量大于等于所述基本传输单元总数量,则根据所述终端的ID、所述基本传输单元总数量、所述基站服务的终端数量和第二初始映射规则,确定至少两个共享的基本传输单元;If the number of terminals served by the base station is greater than or equal to the total number of basic transmission units, then according to the ID of the terminal, the total number of basic transmission units, the number of terminals served by the base station and the second initial mapping rule, determine at least Two shared basic transmission units;
    通过确定的至少两个共享的基本传输单元向所述基站发送所述待传输数据包。Sending the data packet to be transmitted to the base station through the determined at least two shared basic transmission units.
  3. 根据权利要求1所述的方法,其特征在于,所述若所述传输结果为传输成功或未传输,则根据所述终端的身份标识ID、基本传输单元总数量和预设映射规则,确定至少两个共享的基本传输单元,包括:The method according to claim 1, characterized in that, if the transmission result is that the transmission is successful or not transmitted, then according to the terminal's identity ID, the total number of basic transmission units, and a preset mapping rule, determine at least Two shared basic transmission units, including:
    确定在当前时隙的传输结果为传输成功或未传输的终端数量,以及当前时隙的传输结果为传输失败的终端数量;Determine that the transmission result in the current time slot is the number of terminals with successful or untransmitted transmission, and the transmission result in the current time slot is the number of terminals with failed transmission;
    确定所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置;Determining the arrangement position of the ID of the terminal in the current time slot transmission result is a terminal that is successfully transmitted or not transmitted;
    根据所述基本传输单元总数量和所述当前时隙的传输结果为传输失败的终端数量,确定用于共享的基本传输单元数量;Determine the number of basic transmission units for sharing based on the total number of basic transmission units and the number of terminals that failed to transmit based on the transmission result of the current time slot;
    若所述用于共享的基本传输单元数量大于所述当前时隙的传输结果为传输成功或未传输的终端的数量,则根据所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置、所述当前时隙的传输结果为传输成功或未传输的终端数量、所述当前时隙的传输结果为传输失败的终端数量、所述用于共享的基本传输单元数量和第一预设映射规则,确定至少两个共享的基本传输单元;If the number of basic transmission units for sharing is greater than the number of terminals in the current time slot whose transmission result is successful or untransmitted, the transmission result in the current time slot according to the terminal ID is transmission successful or unsuccessful The arrangement position in the transmitted terminals, the transmission result of the current time slot is the number of terminals that have been successfully transmitted or not transmitted, the transmission result of the current time slot is the number of terminals that failed to be transmitted, and the basic transmission unit for sharing The quantity and the first preset mapping rule determine at least two shared basic transmission units;
    若所述用于共享的基本传输单元数量小于等于所述当前时隙的传输结果为传输成功或未传输的终端数量,则根据所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置、所述当前时隙的传输结果为传输失败的终端数量、所述用于共享的基本传输单元数量和第二预设映射规则,确定至少两个共享的基本传输单元。If the number of basic transmission units used for sharing is less than or equal to the number of terminals in the current time slot whose transmission result is successful or untransmitted, the transmission result in the current time slot according to the ID of the terminal is transmission successful or not The arrangement position in the transmitted terminals, the transmission result of the current time slot is the number of terminals that failed to transmit, the number of shared basic transmission units and the second preset mapping rule, to determine at least two shared basic transmission units .
  4. 根据权利要求3所述的方法,其特征在于,所述若所述传输结果为传输失败且所述上一个数据包不满足重传条件,则根据所述终端的ID,确定至少一个供所述终端独占的基本传输单元,包括:The method according to claim 3, wherein if the transmission result is that the transmission fails and the last data packet does not satisfy the retransmission condition, then at least one for the terminal is determined according to the ID of the terminal The basic transmission unit exclusive to the terminal includes:
    若所述终端对上一个数据包的传输结果为第一类传输失败,且所述上一个数据包不满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置,确定一个供所述终端独占的基本传输单元,所述第一类传输失败为所述终端对上一个数据包传输失败,且所述终端与所述基站之间的距离小于等于距离阈值;If the transmission result of the last data packet by the terminal is that the first type of transmission fails, and the last data packet does not satisfy the retransmission condition, the transmission result in the current time slot according to the terminal ID is the first The arrangement position of a terminal of a type of transmission failure determines a basic transmission unit exclusively for the terminal, the first type of transmission failure is the failure of the terminal to transmit the last packet, and the terminal and the base station The distance between is less than or equal to the distance threshold;
    若所述终端对上一个数据包的传输结果为第二类传输失败,且所述上一个数据包不满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置、当前时隙的传输结果为第一类传输失败的终端数量和当前时隙的传输结果为第二类传输失败的终端数量,确定两个供所述终端独占的基本传输单元,所述第二类传输失败为所述终端对上 一个数据包传输失败,且所述终端与所述基站之间的距离大于所述距离阈值。If the transmission result of the last data packet by the terminal is that the second type of transmission fails, and the last data packet does not satisfy the retransmission condition, the transmission result in the current time slot according to the terminal ID is the first The arrangement position of the terminal of the second type of transmission failure, the transmission result of the current time slot is the number of terminals of the first type of transmission failure and the transmission result of the current time slot is the number of terminals of the second type of transmission failure, and two terminals are determined for the terminal For an exclusive basic transmission unit, the second type of transmission failure is that the terminal fails to transmit the last data packet, and the distance between the terminal and the base station is greater than the distance threshold.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    若所述终端对上一个数据包的传输结果为第一类传输失败,且所述上一个数据包满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置,确定一个供所述终端独占的基本传输单元,通过确定的供所述终端独占的基本传输单元向所述基站重传所述上一个数据包;If the transmission result of the last data packet by the terminal is that the first type of transmission fails, and the last data packet meets the retransmission condition, the transmission result in the current time slot according to the terminal ID is the first Arranging positions in the terminal where the class transmission fails, determining a basic transmission unit exclusively for the terminal, and retransmitting the previous data packet to the base station through the determined basic transmission unit exclusively for the terminal;
    若所述终端对上一个数据包的传输结果为第二类传输失败,且所述上一个数据包满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置、所述当前时隙的传输结果为第一类传输失败的终端数量和所述当前时隙的传输结果为第二类传输失败的终端数量,确定两个供所述终端独占的基本传输单元,通过确定的两个供所述终端独占的基本传输单元向所述基站重传所述上一个数据包。If the transmission result of the last data packet by the terminal is that the second type of transmission fails, and the last data packet meets the retransmission condition, the transmission result in the current time slot according to the terminal ID is the second The arrangement position of the terminals that failed to transmit similarly, the transmission result of the current time slot is the number of terminals that failed to transmit in the first category, and the transmission result of the current time slot is the number of terminals that failed to transmit in the second category. The basic transmission unit exclusively for the terminal retransmits the last data packet to the base station through the determined two basic transmission units exclusively for the terminal.
  6. 一种数据传输装置,其特征在于,应用于终端,所述装置包括:A data transmission device, characterized in that it is applied to a terminal, the device includes:
    确定模块,用于确定所述终端对上一个数据包的传输结果;若所述传输结果为传输成功或未传输,则根据所述终端的身份标识ID、基本传输单元总数量和预设映射规则,确定至少两个共享的基本传输单元;若所述传输结果为传输失败且所述上一个数据包不满足重传条件,则根据所述终端的ID,确定至少一个供所述终端独占的基本传输单元;所述重传条件为数据包只被发送过一次且发送数据包时未经历排队时延;The determining module is used to determine the transmission result of the terminal to the last data packet; if the transmission result is successful or untransmitted, according to the terminal's identity ID, the total number of basic transmission units and preset mapping rules , Determine at least two shared basic transmission units; if the transmission result is transmission failure and the last data packet does not satisfy the retransmission condition, then determine at least one basic base for exclusive use by the terminal according to the terminal ID Transmission unit; the retransmission condition is that the data packet has only been sent once and the data packet has not been subjected to queuing delay;
    发送模块,用于通过所述确定模块确定的基本传输单元向基站发送所述待传输数据包。The sending module is configured to send the data packet to be transmitted to the base station through the basic transmission unit determined by the determining module.
  7. 根据权利要求6所述的装置,其特征在于,所述装置还包括:判断模块;The device according to claim 6, wherein the device further comprises: a judgment module;
    所述判断模块,用于若在发送所述待传输数据包之前,未接收过所述基站发送的包含传输结果的反馈消息,则判断所述基站服务的终端数量是否小于所述基本传输单元总数量;The judging module is used to judge whether the number of terminals served by the base station is less than the total number of basic transmission units if the feedback message containing the transmission result sent by the base station has not been received before sending the data packet to be transmitted Quantity
    所述确定模块,还用于若所述判断模块判断的所述基站服务的终端数量小于所述基本传输单元总数量,则根据所述终端的ID、所述基本传输单元总数量、所述基站服务的终端数量和第一初始映射规则,确定至少两个共享的基本传输单元;若所述判断模块判断的所述基站服务的终端数量大于等于所述基本传输单元总数量,则根据所述终端的ID、所述基本传输单元总数量、所述基站服务的终端数量和第二初始映射规则,确定至少两个共享的基本传输单元;The determining module is further configured to: if the number of terminals served by the base station determined by the determining module is less than the total number of basic transmission units, based on the terminal ID, the total number of basic transmission units, the base station The number of service terminals and the first initial mapping rule to determine at least two shared basic transmission units; if the number of terminals served by the base station judged by the judgment module is greater than or equal to the total number of basic transmission units, according to the terminal ID, the total number of basic transmission units, the number of terminals served by the base station, and the second initial mapping rule, determine at least two shared basic transmission units;
    所述发送模块,还用于通过所述确定模块确定的至少两个共享的基本传输单元向所述基站发送所述待传输数据包。The sending module is further configured to send the data packet to be transmitted to the base station through at least two shared basic transmission units determined by the determining module.
  8. 根据权利要求6所述的装置,其特征在于,The device according to claim 6, characterized in that
    所述确定模块,具体用于:确定在当前时隙的传输结果为传输成功或未传输的终端数量,以及当前时隙的传输结果为传输失败的终端数量;确定所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置;根据所述基本传输单元总数量和所述当前时隙的传输结果为传输失败的终端数量,确定用于共享的基本传输单元数量;若所述用于共享的基本传输单元数量大于所述当前时隙的传输结果为传输成功或未传输的终端的数量,则根据所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置、所述当前时隙的传输结果为传输成功或未传输的终端数量、所述当前时隙的传输结果为传输失败的终端数量、所述用于共享的基本传输单元数量和第一预设映射规则,确定至少两个共享的基本传输单元;若所述用于共享的基本传输单元数量小于等于所述当前时隙的传输结果为传输成功或未传输的终端数量,则根据所述终端的ID在当前时隙的传输结果为传输成功或未传输的终端中的排列位置、所述当前时隙的传输结果为传输失败的终端数量、所述用于共享的基本传输单元数量和第二预设映射规则,确定至少两个共享的基本传输单元。The determination module is specifically configured to: determine that the transmission result in the current time slot is the number of terminals with successful or untransmitted transmission, and the transmission result in the current time slot is the number of terminals with failed transmission; determine that the ID of the terminal is at the current time The transmission result of the slot is the arrangement position in the terminal with successful or untransmitted transmission; according to the total number of basic transmission units and the transmission result of the current time slot is the number of terminals with failed transmission, determine the number of basic transmission units for sharing ; If the number of basic transmission units for sharing is greater than the number of terminals in the current time slot whose transmission result is successful or untransmitted, the transmission result in the current time slot according to the terminal ID is transmission successful or Arrangement position among untransmitted terminals, the transmission result of the current time slot is the number of terminals with successful transmission or untransmitted, the transmission result of the current time slot is the number of terminals with failed transmission, and the basic transmission for sharing The number of units and the first preset mapping rule determine at least two shared basic transmission units; if the basic transmission is used for sharing If the number of units is less than or equal to the current time slot, the transmission result is the number of successful or untransmitted terminals. According to the terminal ID, the transmission result in the current time slot is the position and location of the successful or untransmitted terminal The transmission result of the current time slot is the number of terminals that failed to transmit, the number of basic transmission units for sharing and the second preset mapping rule, and at least two shared basic transmission units are determined.
  9. 根据权利要求8所述的装置,其特征在于,The device according to claim 8, characterized in that
    所述确定模块,具体用于:若所述终端对上一个数据包的传输结果为第一类传输失败,且所述上一个数据包不满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置,确定一 个供所述终端独占的基本传输单元,所述第一类传输失败为所述终端对上一个数据包传输失败,且所述终端与所述基站之间的距离小于等于距离阈值;若所述终端对上一个数据包的传输结果为第二类传输失败,且所述上一个数据包不满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置、当前时隙的传输结果为第一类传输失败的终端数量和当前时隙的传输结果为第二类传输失败的终端数量,确定两个供所述终端独占的基本传输单元,所述第二类传输失败为所述终端对上一个数据包传输失败,且所述终端与所述基站之间的距离大于所述距离阈值。The determining module is specifically configured to: according to the ID of the terminal, if the result of the terminal ’s transmission of the last data packet is that the first type of transmission fails and the previous data packet does not satisfy the retransmission condition The transmission result of the current time slot is the arrangement position in the terminal of the first type of transmission failure, and a basic transmission unit exclusively for the terminal is determined. The first type of transmission failure is that the terminal fails to transmit the last packet , And the distance between the terminal and the base station is less than or equal to the distance threshold; if the result of the terminal ’s transmission of the last data packet is type 2 transmission failure, and the previous data packet does not satisfy the retransmission Conditions, then the transmission result of the ID of the terminal in the current time slot is the arrangement position of the terminal of the second type of transmission failure, the transmission result of the current time slot is the number of terminals of the first type of transmission failure and the transmission of the current time slot The result is the number of terminals of the second type of transmission failure, and two basic transmission units exclusively for the terminal are determined. The second type of transmission failure is that the terminal transmits the last packet Lost, and the distance between the terminal and the base station is greater than the distance threshold.
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括:第一重传模块和第二重传模块;The apparatus according to claim 9, wherein the apparatus further comprises: a first retransmission module and a second retransmission module;
    所述第一重传模块,用于若所述终端对上一个数据包的传输结果为第一类传输失败,且所述上一个数据包满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第一类传输失败的终端中的排列位置,确定一个供所述终端独占的基本传输单元,通过确定的供所述终端独占的基本传输单元向所述基站重传所述上一个数据包;The first retransmission module is configured to: if the transmission result of the last data packet by the terminal is that the first type of transmission fails, and the last data packet satisfies the retransmission condition, according to the terminal ID The transmission result of the current time slot is the arrangement position of the terminal of the first type of transmission failure, determine a basic transmission unit exclusively for the terminal, and retransmit to the base station through the determined basic transmission unit exclusively for the terminal The previous data packet;
    所述第二重传模块,用于若所述终端对上一个数据包的传输结果为第二类传输失败,且所述上一个数据包满足所述重传条件,则根据所述终端的ID在当前时隙的传输结果为第二类传输失败的终端中的排列位置、所述当前时隙的传输结果为第一类传输失败的终端数量和所述当前时隙的传输结果为第二类传输失败的终端数量,确定两个供所述终端独占的基本传输单元,通过确定的两个供所述终端独占的基本传输单元向所述基站重传所述上一个数据包。The second retransmission module is configured to: if the transmission result of the last data packet by the terminal is that the second type of transmission fails, and the last data packet meets the retransmission condition, according to the terminal ID The transmission result in the current time slot is the arrangement position in the terminal of the second type of transmission failure, the transmission result of the current time slot is the number of terminals of the first type of transmission failure, and the transmission result of the current time slot is the second type For the number of terminals that failed to transmit, determine two basic transmission units exclusively for the terminal, and retransmit the previous data packet to the base station through the determined two basic transmission units exclusively for the terminal.
  11. 一种电子设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;An electronic device, characterized in that it includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
    存储器,用于存放计算机程序;Memory, used to store computer programs;
    处理器,用于执行存储器上所存放的程序时,实现权利要求1-5任一所述的方法步骤。The processor, when used to execute the program stored on the memory, implements the method steps of any one of claims 1-5.
  12. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质 内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-5任一所述的方法步骤。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps of any one of claims 1-5 are realized.
  13. 一种计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行权利要求1-5任一所述的方法步骤。A computer program product, characterized in that, when it runs on a computer, it causes the computer to execute the method steps of any one of claims 1-5.
PCT/CN2018/118128 2018-10-18 2018-11-29 Data transmission method and apparatus, and electronic device WO2020077752A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811217565.X 2018-10-18
CN201811217565.XA CN109450602B (en) 2018-10-18 2018-10-18 Data transmission method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2020077752A1 true WO2020077752A1 (en) 2020-04-23

Family

ID=65546836

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/118128 WO2020077752A1 (en) 2018-10-18 2018-11-29 Data transmission method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN109450602B (en)
WO (1) WO2020077752A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107113826A (en) * 2015-01-27 2017-08-29 华为技术有限公司 Transmission system and method for exempting from authorized uplink transmission plan
WO2018059876A1 (en) * 2016-09-30 2018-04-05 Sony Corporation Wireless telecommunications apparatus and methods
WO2018126934A1 (en) * 2017-01-05 2018-07-12 Jrd Communication (Shenzhen) Ltd METHODS AND DEVICES FOR DOWNLINK RESOURCE SHARING BETWEEN URLLC AND eMBB TRANSMISSIONS IN WIRELESS COMMUNICATION SYSTEMS
CN108633005A (en) * 2017-03-17 2018-10-09 维沃移动通信有限公司 A kind of resource allocation methods and device, the processing method and user equipment of exempting from mandate business

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100516686B1 (en) * 2000-07-08 2005-09-22 삼성전자주식회사 Hybrid automatic repeat request method for cdma mobile system
EP2225911A4 (en) * 2007-12-29 2012-10-17 Alcatel Lucent Semi-persistent scheduling method and apparatus based on statistically multiplexing in time and frenquency resources
CN101478381B (en) * 2008-01-04 2012-12-26 电信科学技术研究院 Data packet processing method, system and apparatus in semi-continuous scheduling
CN101730250B (en) * 2008-11-03 2012-07-04 电信科学技术研究院 Method for semi-persistently dispatching resource, base station and user terminal
WO2010076993A2 (en) * 2009-01-02 2010-07-08 Lg Electronics Inc. Method of trasmitting signlas from a user equipment by harq scheme in releasing sps radio resource and user equipment for the same
CN107135051B (en) * 2016-02-29 2020-04-28 中国移动通信集团公司 Method, device and system for retransmitting uplink data
WO2018024946A1 (en) * 2016-08-05 2018-02-08 Nokia Technologies Oy Blind retransmissions over shared resources
CN108633096B (en) * 2017-03-24 2023-05-12 北京三星通信技术研究有限公司 Method and device for reporting scheduling request in narrowband internet of things system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107113826A (en) * 2015-01-27 2017-08-29 华为技术有限公司 Transmission system and method for exempting from authorized uplink transmission plan
WO2018059876A1 (en) * 2016-09-30 2018-04-05 Sony Corporation Wireless telecommunications apparatus and methods
WO2018126934A1 (en) * 2017-01-05 2018-07-12 Jrd Communication (Shenzhen) Ltd METHODS AND DEVICES FOR DOWNLINK RESOURCE SHARING BETWEEN URLLC AND eMBB TRANSMISSIONS IN WIRELESS COMMUNICATION SYSTEMS
CN108633005A (en) * 2017-03-17 2018-10-09 维沃移动通信有限公司 A kind of resource allocation methods and device, the processing method and user equipment of exempting from mandate business

Also Published As

Publication number Publication date
CN109450602B (en) 2020-04-14
CN109450602A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
US11012198B2 (en) HARQ feedback method, apparatus and system
CN110166182B (en) Method for managing contention window and sending equipment
EP3550752A1 (en) Method device and system for feedback
CN110506403B (en) Method and apparatus for flow control of wireless devices
WO2018059173A1 (en) Unlicensed uplink information transmission method, network device, and terminal device
EP3595220B1 (en) Method and apparatus for sending and receiving feedback information
US11303396B2 (en) Feedback information sending method and device
TWI526019B (en) Method and device for processing a packet in a wlan system
CN105162706B (en) Multicast transmission method, apparatus and system
JP6485979B2 (en) Transmission protection
WO2019192471A1 (en) Transmission method, terminal device and network device for csi report
WO2020200092A1 (en) Uplink information transmission method and apparatus
CN108933642B (en) Downlink retransmission method based on code block grouping, base station and terminal
US7626927B2 (en) System and method of data transmission in wireless communication networks
WO2018137206A1 (en) Data transmission method and device based on half-duplex mode
CN111565093B (en) Information transmission method, terminal equipment and network equipment
CN103368865B (en) Adaptive communication method and system based on Multi net voting access interface
AU2017422786A1 (en) Transmission method, apparatus and system for feedback acknowledge information
WO2024012170A1 (en) Psfch signal detection method and device, storage medium, and electronic device
WO2020077752A1 (en) Data transmission method and apparatus, and electronic device
WO2019028965A1 (en) Method and device for transmitting data
WO2021062638A1 (en) Method and device for sending and receiving feedback information
CN108768598B (en) Method and device for transmitting downlink control information in ultrahigh-reliability ultralow-time communication
US10904888B2 (en) Contention-based uplink data transmission
CN108809533B (en) Method and device for transmitting coding block group

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18937244

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18937244

Country of ref document: EP

Kind code of ref document: A1