EP3883158A1 - Procédé et appareil de communication - Google Patents
Procédé et appareil de communication Download PDFInfo
- Publication number
- EP3883158A1 EP3883158A1 EP19889821.5A EP19889821A EP3883158A1 EP 3883158 A1 EP3883158 A1 EP 3883158A1 EP 19889821 A EP19889821 A EP 19889821A EP 3883158 A1 EP3883158 A1 EP 3883158A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- data packet
- timer
- transmission
- layer entity
- transmitted
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 107
- 238000004891 communication Methods 0.000 title claims abstract description 60
- 230000005540 biological transmission Effects 0.000 claims abstract description 373
- 238000012545 processing Methods 0.000 claims description 63
- 238000004590 computer program Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 description 39
- 230000006870 function Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 10
- 239000000725 suspension Substances 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 8
- 230000003247 decreasing effect Effects 0.000 description 6
- 230000011664 signaling Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 238000010295 mobile communication Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 235000019800 disodium phosphate Nutrition 0.000 description 4
- 230000010363 phase shift Effects 0.000 description 4
- 102100022734 Acyl carrier protein, mitochondrial Human genes 0.000 description 3
- 101000678845 Homo sapiens Acyl carrier protein, mitochondrial Proteins 0.000 description 3
- 238000003491 array Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 101000741965 Homo sapiens Inactive tyrosine-protein kinase PRAG1 Proteins 0.000 description 1
- 102100038659 Inactive tyrosine-protein kinase PRAG1 Human genes 0.000 description 1
- 108700026140 MAC combination Proteins 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0015—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
- H04L1/0017—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy where the mode-switching is based on Quality of Service requirement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0002—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
- H04L1/0003—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate by switching between different modulation schemes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0009—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0015—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0015—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
- H04L1/0017—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy where the mode-switching is based on Quality of Service requirement
- H04L1/0018—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy where the mode-switching is based on Quality of Service requirement based on latency requirement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/08—Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1825—Adaptation of specific ARQ protocol parameters according to transmission conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1829—Arrangements specially adapted for the receiver end
- H04L1/1864—ARQ related signaling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
- H04L1/1893—Physical mapping arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
- H04L1/1896—ARQ related signaling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/0816—Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
- H04L41/0836—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0847—Transmission error
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0231—Traffic management, e.g. flow control or congestion control based on communication conditions
- H04W28/0236—Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0268—Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/04—Error control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/1607—Details of the supervisory signal
- H04L1/1628—List acknowledgements, i.e. the acknowledgement message consisting of a list of identifiers, e.g. of sequence numbers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
- H04L43/0858—One way delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
Definitions
- Embodiments of this application relate to the field of communications technologies, and in particular, to a communication method and a communications apparatus.
- an indicator of an air interface of an ultra-reliable low-latency communication (Ultra-reliable and Low Latency Communication, URLLC) service is set as a requirement that a 1-millisecond (ms) latency plus 99.999% reliability needs to be ensured on a user plane.
- a time to live is set at an application layer of the URLLC service, to avoid relatively great impact on the application layer caused by an occasional communication error at a network layer. The time to live means that if the application layer does not receive a data packet within a time range in which the data packet is expected to arrive, the application layer starts a time-to-live timer.
- the timer stops. If the timer keeps running until the timer expires, to be specific, no expected data packet arrives at the application layer during a time period in which the time-to-live timer is active, interruption occurs at the application layer. In this case, the application layer enters a predefined state after interruption occurs at the application layer, which affects a normal application layer service.
- Embodiments of this application provide a communication method and a communications apparatus, to improve a success rate of data packet transmission, thereby avoiding interruption occurs at an application layer and improving data transmission reliability.
- a first aspect of this application provides a communication method, including:
- a first device obtains transmission states of first n data packets by using a first protocol layer entity, where the first protocol layer entity includes a radio link control RLC layer entity or an entity above an RLC layer;
- the first protocol layer entity includes the RLC layer entity or the entity above the RLC layer, for example, an SDAP layer or a PDCP layer, or may include another entity that has a same function as the RLC layer entity or the entity above the RLC layer.
- the first device determines that the transmission states of the m data packets in the first n data packets are transmission failures, the first device starts the timer, and adjusts the radio resource configuration parameter of the subsequent data packet transmitted in a running process of the timer, to improve a success rate of data packet transmission. In this way, interruption occurs at an application layer can be avoided, and data transmission reliability can be improved.
- that the first device determines a radio resource configuration parameter used to transmit a subsequent data packet includes:
- the first device determines that q data packets fail to be transmitted within a preset time period during running of the timer, the first device adjusts a radio resource configuration parameter used to transmit a to-be-transmitted data packet, where the to-be-transmitted data packet is a data packet sent after the q th data packet that fails to be transmitted within the preset time period, and q is a positive integer greater than 0; or the first device adjusts, during running of the timer, a radio resource configuration parameter used to transmit a data packet within the preset time period.
- the q data packets may be consecutive data packets, or may be inconsecutive data packets. If the q data packets are inconsecutive data packets, and the first device determines that q data packets fail to be transmitted accumulatively within the preset time period during running of the timer, the first device adjusts the radio resource configuration parameter used to transmit the to-be-transmitted data packet.
- the radio resource configuration parameter used to transmit the to-be-transmitted data packet is adjusted, it can be ensured that a data packet sent after the q th data packet that fails to be transmitted within the preset time period is successfully transmitted, so that interruption occurs at the application layer can be avoided, and data transmission reliability can be improved.
- the first device may alternatively start to adjust the radio resource configuration parameter once the timer is started.
- the radio resource configuration parameter used to transmit the data packet within the preset time period is adjusted, it can be ensured that the data packet transmitted within the preset time period is successfully transmitted, so that interruption occurs at the application layer can be avoided, and data transmission reliability can be improved.
- the first device obtains a transmission state of each data packet based on one of the following information by using the first protocol layer entity:
- the first device maintains the timer by using a PDCP layer. If the data packet is successfully transmitted in the running process of the timer, it may be determined that the transmission state of the data packet is a transmission success. If the timer expires, regardless of whether the data packet is successfully transmitted, it is considered that the transmission state of the data packet is a transmission failure; or if the timer does not expire, but the data packet is not successfully transmitted, it may also be determined that the transmission state of the data packet is a transmission failure.
- the second device sends the first indication information to the PDCP layer of the first device by using the PDCP layer, where the first indication information indicates the transmission state of the data packet. For example, if a bit state of the first indication information is 0, it indicates that the data packet fails to be transmitted; or if a bit state of the first indication information is 1, it indicates that the data packet is successfully transmitted.
- the first device sends the second indication information to the PDCP layer of the first device by using a MAC layer of the first device, where the second indication information indicates the transmission state of the data packet. For example, if a bit state of the second indication information is 0, it indicates that the data packet fails to be transmitted; or if a bit state of the second indication information is 1, it indicates that the data packet is successfully transmitted.
- the second device sends the third indication information to the PDCP layer of the first device by using a MAC layer of the second device, where the third indication information indicates the transmission state of the data packet. For example, if a bit state of the third indication information is 0, it indicates that the data packet fails to be transmitted; or if a bit state of the third indication information is 1, it indicates that the data packet is successfully transmitted.
- the second device obtains the sequence numbers of all the received data packets by using the PDCP layer of the second device or by using a MAC layer of the second device. If the second device determines that the sequence numbers of all the received data packets are consecutive, the second device determines that the data packets are successfully transmitted. If the second device determines that the sequence number of the received data packet is missing, the second device determines that the data packet fails to be transmitted. Further, the second device may determine that a transmission state of the data packet corresponding to the missing sequence number is a transmission failure.
- the quality of service (service quality, QoS) information includes at least one of a transmission latency parameter, a reliability parameter, a jitter parameter, or a service period parameter.
- the second device may learn of the transmission latency based on the QoS information by using the PDCP layer or the MAC layer, that is, learn of a latency range of data packet transmission. If the second device determines that the data packet is not correctly transmitted within the transmission latency, the second device may determine that the transmission state of the data packet is a transmission failure. If the second device determines that the data packet is successfully transmitted within the transmission latency, the second device considers that the transmission state of the data packet is a transmission success.
- the radio resource configuration parameter includes at least one of the following:
- the radio resource configuration parameter may further include all parameters in a radio resource control (radio resource control, RRC) reconfiguration message.
- RRC radio resource control
- the method further includes:
- the first device When determining that p data packets are successfully transmitted within the preset time period during running of the timer, the first device processes the timer in any one of the following manners: resetting, stop, suspension, or interruption.
- resetting (reset) of the timer means that the timer is resumed to an initial setting (for example, be cleared) and keeps running. In this case, the timer maintains in an active state, but restarts timing.
- Stop (stop) of the timer may also be referred to as termination of the timer, and means that the timer is resumed to an initial setting and stops running. In this case, the timer changes from an active state to an inactive state, and can only be restarted subsequently.
- Suspension (suspend) of the timer may also be referred to as interruption/breaking off (interrupt/break off) of the timer, and means that the timer is not cleared and stops running. In this case, the timer changes from an active state to an inactive state, but maintains a current state, and may be resumed to run.
- interruption/breaking off interrupt/break off
- the first device is a terminal device, and the second device is a network device; and the first device receives fourth indication information from the second device or a third device, and the fourth indication information includes a parameter of the timer corresponding to a radio bearer or a QoS service flow.
- the parameter of the timer may include duration of the timer, a protocol layer entity that maintains the timer, and/or the like.
- the terminal device receives, from the network device or a core network device, the parameter of the timer corresponding to the radio bearer or the QoS service flow, to start the timer based on the parameter of the timer, and maintain the timer based on the protocol layer entity that maintains the timer.
- the first device is a terminal device, and the second device is a network device; and the first device sends fifth indication information to the second device or a third device, and the fifth indication information includes a parameter of the timer corresponding to a radio bearer or a QoS service flow.
- the parameter of the timer may include duration of the timer, a protocol layer entity that maintains the timer, and/or the like.
- the terminal device may send, to the network device or a core network device, the parameter of the timer corresponding to the radio bearer or the QoS service flow, so that the network device or the core network device configures and maintains the timer based on the parameter of the timer.
- the method further includes:
- the first device When determining that at least p data packets are not successfully transmitted within the preset time period during running of the timer, the first device releases the radio bearer or the QoS service flow.
- the network device when the network device determines that a quantity of data packets that are successfully transmitted during running of the timer is less than p, or a quantity of data packets that are incorrectly transmitted is greater than q, the network device sends an RRC reconfiguration message to the terminal device.
- the RRC reconfiguration message includes release indication information of a radio bearer corresponding to the service, to indicate to release the bearer corresponding to the service.
- the first device is the terminal device, and the second device is the network device; and that the first device determines a radio resource configuration parameter used to transmit a subsequent data packet includes: the first device adjusts, based on first parameter information configured by the second device, the radio resource configuration parameter used to transmit the subsequent data packet.
- the terminal device may adjust the radio resource configuration parameter based on the first parameter information, to transmit, based on the adjusted radio resource configuration parameter, a data packet within the preset time period during running of the timer.
- the first device is the terminal device, and the second device is the network device; and that the first device determines a radio resource configuration parameter used to transmit a subsequent data packet includes: the first device adjusts, based on second parameter information configured by the second device, the radio resource configuration parameter used to transmit a data packet when the timer is in a disabled state.
- the terminal device adjusts the radio resource configuration parameter based on the second parameter information preconfigured by the network device, to transmit, based on the adjusted radio resource configuration parameter, the data packet when the timer is in the disabled state.
- the first device is the terminal device, and the second device is the network device; and that the first device determines a radio resource configuration parameter used to transmit a subsequent data packet includes:
- the terminal device after starting the timer, the terminal device sends a started state of the timer to the network device.
- the network device sends the second message to the terminal device.
- the second message is a radio resource control (radio resource control, RRC) reconfiguration message.
- the to-be-adjusted parameter may include at least one of a modulation and coding scheme, a HARQ, an ARQ, a size of a transmission resource, a type of a transmission resource, a priority of a logical channel, an RLC layer transmission mode of a radio bearer, a type of a radio bearer, or a transmit power, and the to-be-adjusted parameter may further include all parameters in the RRC reconfiguration message.
- a second aspect of this application provides a communications apparatus, including:
- the processing unit is specifically configured to:
- the processing unit obtains a transmission state of each data packet based on one of the following information by using the first protocol layer entity:
- the radio resource configuration parameter includes at least one of the following:
- the processing unit is further configured to: when determining that p data packets are successfully transmitted within the preset time period during running of the timer, process the timer in any one of the following manners: resetting, stop, suspension, or interruption.
- the apparatus is a terminal device, and the second device is a network device;
- the apparatus is a terminal device, and the second device is a network device; and the sending unit is further configured to send fifth indication information to the second device or a third device, and the fifth indication information includes a parameter of the timer corresponding to a radio bearer or a QoS service flow.
- the processing unit is further configured to: when determining that at least p data packets are not successfully transmitted within the preset time period during running of the timer, release the radio bearer or the QoS service flow.
- the apparatus is the terminal device, and the second device is the network device; and the processing unit is specifically configured to: adjust, based on first parameter information configured by the second device, the radio resource configuration parameter used to transmit the subsequent data packet.
- the apparatus is the terminal device, and the second device is the network device; and the processing unit is specifically configured to: adjust, based on second parameter information configured by the second device, the radio resource configuration parameter used to transmit a data packet when the timer is in a disabled state.
- the apparatus is the terminal device, and the second device is the network device; and the processing unit is specifically configured to:
- a third aspect of this application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program; and when the program is executed by a processor, the communication method according to the first aspect is implemented.
- a fourth aspect of this application provides a communications apparatus, including a memory, a processor, and a program that is stored in the memory and that can be run on the processor, where when the processor executes the program, the communication method according to the first aspect is implemented.
- the first device obtains the transmission states of the first n data packets by using the first protocol layer entity, where the first protocol layer entity includes the RLC layer entity or the entity above the RLC layer; the first device starts the timer if the transmission states of the m data packets in the first n data packets are transmission failures, where n and m are both positive integers, and m is less than or equal to n; and the first device determines the radio resource configuration parameter used to transmit the subsequent data packet, or sends the first message to the second device, where the first message is used to indicate the state of the timer, and the state of the timer is used to determine the radio resource configuration parameter used to transmit the subsequent data packet.
- the first device determines that the transmission states of the m data packets in the first n data packets are transmission failures, the first device starts the timer, and adjusts the radio resource configuration parameter of the subsequent data packet transmitted in the running process of the timer, to improve a success rate of data packet transmission. In this way, interruption occurs at the application layer can be avoided, and data transmission reliability can be improved.
- the first device may be a terminal device, and the second device is a network device.
- the second device may be a terminal device.
- the first device and the second device may alternatively be other devices that need to adjust radio resource configuration parameters of subsequent data packets based on transmission states of first n data packets.
- the communication method provided in the embodiments of this application may be applied to a fourth generation mobile communication technology (the 4th Generation mobile communication, 4G), a fifth generation mobile communication technology (5G network, 5G), or a future evolved communications system, or may be applied to another wireless communications system.
- 4G fourth generation mobile communication technology
- 5G network 5G network
- future evolved communications system or may be applied to another wireless communications system.
- the wireless communications system may be a system to which various radio access technologies (radio access technology, RAT) are applied, for example, a code division multiple access (code division multiple access, CDMA) system, a time division multiple access (time division multiple access, TDMA) system, a frequency division multiple access (frequency division multiple access, FDMA) system, an orthogonal frequency division multiple access (orthogonal frequency-division multiple access, OFDMA) system, or a single carrier frequency division multiple access (single carrier FDMA, SC-FDMA) system, or another system.
- RAT radio access technology
- the wireless communications system may be a long term evolution (long term evolution, LTE) system, a CDMA system, a wideband code division multiple access (wideband CDMA, WCDMA) system, a global system for mobile communications (global system for mobile communications, GSM) system, a wireless local area network (wireless local area network, WLAN) system, a new radio (New Radio, NR) system, various evolved or converged systems, and a system using a future-oriented communications technology.
- long term evolution long term evolution, LTE
- CDMA wideband code division multiple access
- WCDMA wideband CDMA
- GSM global system for mobile communications
- WLAN wireless local area network
- NR new radio
- FIG. 1 is a schematic diagram of a possible system architecture according to an embodiment of this application.
- the system includes a terminal device 10 and a network device 20.
- the terminal device 10 may be, for example, UE, and the network device 20 may be a base station.
- a first device is the terminal device 10
- a second device is the network device 20.
- a first device is the network device 20
- a second device may be the terminal device 10.
- FIG. 1 shows communication between only one network device 20 (for example, a base station) and one terminal device 10 (for example, UE).
- the wireless communications system may include any quantity of network devices and terminal devices.
- the wireless communications system may further include one or more core network devices, one or more devices configured to bear a virtualized network function, or the like.
- a time to live is set at an application layer of a URLLC service, to avoid relatively great impact on the application layer caused by an occasional communication error at a network layer.
- the time to live means that if the application layer does not receive a data packet within a time range in which the data packet is expected to arrive, the application layer starts a time-to-live timer. If an expected data packet arrives at the application layer in a running process of the timer, the timer stops. If the timer keeps running until the timer expires, to be specific, no expected data packet arrives at the application layer during a time period in which the time-to-live timer is active, interruption occurs at the application layer.
- the application layer enters a predefined state after interruption occurs at the application layer, which affects a normal application layer service.
- the application layer is a protocol layer that directly processes service data generated by application software
- the network layer is a lower-layer protocol layer of the application layer, for example, may be any protocol layer defined in 3GPP, and is used to transmit service data.
- an embodiment of this application provides a communication method.
- a first device obtains transmission states of first n data packets by using a first protocol layer entity, the first protocol layer entity includes an RLC layer entity or an entity above an RLC layer, and the data packet may be a data packet on a same radio bearer or in a same service flow.
- the radio bearer includes a data radio bearer and a signaling radio bearer.
- the first device starts a timer if transmission states of m data packets in the first n data packets are transmission failures.
- n and m are both positive integers, and m is less than or equal to n.
- the first device determines a radio resource configuration parameter used to transmit a subsequent data packet, or sends a first message to a second device, the first message is used to indicate a state of the timer, and the state of the timer is used to determine the radio resource configuration parameter used to transmit the subsequent data packet. Because the first device determines that the transmission states of the m data packets in the first n data packets are transmission failures, the first device starts the timer, and adjusts the radio resource configuration parameter of the subsequent data packet transmitted in a running process of the timer, to improve a success rate of data packet transmission. In this way, interruption occurs at the application layer can be avoided, and data transmission reliability can be improved.
- this embodiment of this application further provides a communication method.
- a first device obtains transmission states of first n data packets by using a first protocol layer entity, and the first protocol layer entity includes an RLC layer entity or an entity above an RLC layer.
- the first device starts a counter if transmission states of m data packets in the first n data packets are transmission failures.
- n and m are both positive integers, and m is less than or equal to n. After the timer is started, the counter is increased or decreased by 1 each time a data packet fails to be transmitted subsequently.
- the first device determines a radio resource configuration parameter used to transmit a subsequent data packet, or sends a third message to a second device after a value of the counter reaches a threshold, where the threshold may be configured by a core network device or a network device.
- the third message is used to indicate the value of the counter, and the value of the counter is used to determine the radio resource configuration parameter used to transmit the subsequent data packet. Because the first device determines that the transmission states of the m data packets in the first n data packets are transmission failures, the first device starts the counter, and adjusts the radio resource configuration parameter of the subsequent data packet transmitted in a counting process of the counter, to improve a success rate of data packet transmission. In this way, interruption occurs at the application layer can be avoided, and data transmission reliability can be improved.
- FIG. 2 is a schematic flowchart of a data transmission method according to this application. Based on the system architecture shown in FIG. 1 , as shown in FIG. 2 , the method in this embodiment may include the following steps.
- Step 201 A first device obtains transmission states of first n data packets by using a first protocol layer entity, where the first protocol layer entity includes an RLC layer entity or an entity above an RLC layer.
- the data packet may be a data packet on a same radio bearer or in a same service flow.
- the radio bearer includes a data radio bearer and a signaling radio bearer.
- the data packet may be a service data unit (service data unit, SDU) or a protocol data unit (protocol data unit, PDU) of the first protocol layer entity.
- the service flow includes a service flow (service flow) or a QoS flow (QoS flow), and is a bearer of service data packets having a same type of QoS requirement.
- the data packet may also be an application layer data packet, or may be an internet protocol (Internet Protocol, IP) packet, or an ethernet (Ethernet) packet.
- IP Internet Protocol
- Ethernet ethernet
- the data packet may be a data packet above a network layer, and arrives at the network layer as a service data unit (service data unit, SDU) of the network layer.
- SDU service data unit
- the ethernet (Ethernet) packet and the IP packet have different encapsulation formats.
- the ethernet (Ethernet) packet is encapsulated based on an ethernet protocol
- the IP packet is encapsulated based on an IP protocol.
- n may be a positive integer, for example, may be 1, 2, 3, 4, or 5.
- the first device may obtain the transmission states of the first n data packets by using the first protocol layer entity, for example, may obtain transmission states of first two or three data packets, and the transmission states of the data packets include transmission successes or transmission failures.
- the first protocol layer entity includes the RLC layer entity or the entity above the RLC layer, for example, an SDAP layer or a PDCP layer, or may include another entity that has a same function as the RLC layer entity or the entity above the RLC layer.
- the first protocol layer entity is a PDCP layer and a second protocol layer entity is a media access control (media access control, MAC) layer to describe in detail how the first device obtains a transmission state of each data packet.
- a manner of obtaining the transmission state of the data packet is similar to the manner in which the first protocol layer entity is the PDCP layer and the second protocol layer entity is the MAC layer. Details are not described herein.
- Manner 1 If a timer maintained by the first device by using the first protocol layer entity does not expire and the data packet is successfully transmitted, the first device determines that the transmission state of the data packet is a transmission success; otherwise, the first device determines that the transmission state of the data packet is a transmission failure.
- the first device when the first device is a network device, if the timer maintained by the first protocol layer entity does not expire and a downlink data packet is successfully transmitted, the first device determines that a transmission state of the downlink data packet is a transmission success; otherwise, the first device determines that a transmission state of the downlink data packet is a transmission failure.
- the first device is a terminal device, if the timer maintained by the first protocol layer entity does not expire and an uplink data packet is successfully transmitted, the first device determines that a transmission state of the uplink data packet is a transmission success; otherwise, the first device determines that a transmission state of the uplink data packet is a transmission failure.
- the first device maintains the timer by using the PDCP layer. If the data packet is successfully transmitted in a running process of the timer, the first device may determine that the transmission state of the data packet is a transmission success. If the timer expires, regardless of whether the data packet is successfully transmitted, it is considered that the transmission state of the data packet is a transmission failure; or if the timer does not expire, but the data packet is not successfully transmitted, it may also be determined that the transmission state of the data packet is a transmission failure.
- Expiration (expire) of the timer refers to a state after the timer reaches a threshold.
- the threshold may be specified in a protocol in advance, or may be configured in advance after the threshold is determined by using a message sent by a second device or based on an application layer of the first device.
- the first device may further determine the transmission state of the data packet by using a counter. If the counter maintained by the first device by using the first protocol layer entity does not overflow and the data packet is successfully transmitted, the first device determines that the transmission state of the data packet is a transmission success; otherwise, the first device determines that the transmission state of the data packet is a transmission failure.
- the first device maintains the counter by using the PDCP layer. If the data packet is successfully transmitted in a counting process of the counter, the first device may determine that the transmission state of the data packet is a transmission success. If the counter overflows, regardless of whether the data packet is successfully transmitted, it is considered that the transmission state of the data packet is a transmission failure; or if the counter does not overflow, but the data packet is not successfully transmitted, it may also be determined that the transmission state of the data packet is a transmission failure.
- Overflow (overflow) of the counter refers to a state after the timer reaches a threshold.
- the threshold may be specified in a protocol in advance, or may be configured in advance after the threshold is determined by using a message sent by the second device or based on the application layer of the first device.
- the counter may count incrementally. For example, an initial value is 0. Each time a data packet that fails to be transmitted is determined, the counter is increased by 1. When the counter reaches a threshold X, it is considered that the counter overflows. Alternatively, an initial value of the counter may be set to Y (where Y is a non-zero positive integer). Each time a data packet that fails to be transmitted is determined, the counter is decreased by 1, and overflow occurs when the counter reaches a threshold 0.
- Manner 2 The second device sends first indication information to the first protocol layer entity of the first device by using the first protocol layer entity, where the first indication information is used to indicate that the data packet is successfully transmitted or fails to be transmitted.
- the second device sends the first indication information to the PDCP layer of the first device by using the PDCP layer, and the first indication information indicates the transmission state of the data packet. For example, if a bit state of the first indication information is 0, it indicates that the data packet fails to be transmitted; or if a bit state of the first indication information is 1, it indicates that the data packet is successfully transmitted.
- the first indication information may alternatively be a PDCP status report (status report), and the PDCP status report includes a serial number (serial number, SN) of at least one data packet and a corresponding transmission state.
- PDCP status report includes a serial number (serial number, SN) of at least one data packet and a corresponding transmission state.
- Manner 3 The first device sends second indication information to the first protocol layer entity of the first device by using the second protocol layer entity, where the second indication information is used to indicate that the data packet is successfully transmitted or fails to be transmitted.
- the first device sends the second indication information to the PDCP layer of the first device by using the MAC layer of the first device, and the second indication information indicates the transmission state of the data packet. For example, if a bit state of the second indication information is 0, it indicates that the data packet fails to be transmitted; or if a bit state of the second indication information is 1, it indicates that the data packet is successfully transmitted.
- Manner 4 The second device sends third indication information to the first protocol layer entity of the first device by using the second protocol layer entity, where the third indication information is used to indicate that the data packet is successfully transmitted or fails to be transmitted.
- the second device sends the third indication information to the PDCP layer of the first device by using the MAC layer of the second device, and the third indication information indicates the transmission state of the data packet. For example, if a bit state of the third indication information is 0, it indicates that the data packet fails to be transmitted; or if a bit state of the third indication information is 1, it indicates that the data packet is successfully transmitted.
- Manner 5 The second device obtains, by using the first protocol layer entity or by using the second protocol layer entity, sequence numbers of all received data packets, and if the second device determines that the sequence number of the data packet is missing, determines that the data packet fails to be transmitted.
- the second device obtains the sequence numbers of all the received data packets by using the PDCP layer of the second device or by using the MAC layer of the second device. If the second device determines that the sequence numbers of all the received data packets are consecutive, the second device determines that the data packets are successfully transmitted. If the second device determines that the sequence number of the received data packet is missing, the second device determines that the data packet fails to be transmitted. Further, the second device may determine that a transmission state of the data packet corresponding to the missing sequence number is a transmission failure.
- the second device learns of a transmission latency based on quality of service (service quality, QoS) information by using the first protocol layer entity or by using the second protocol layer entity; and if the data packet is not correctly transmitted within the transmission latency, determines that the data packet fails to be transmitted.
- quality of service service quality, QoS
- the QoS information includes at least one of a transmission latency parameter, a reliability parameter, a jitter parameter, or a service period parameter.
- the second device may learn of the transmission latency based on the QoS information by using the PDCP layer or the MAC layer, that is, learn of a latency range of data packet transmission. If the second device determines that the data packet is not correctly transmitted within the transmission latency, the second device may determine that the transmission state of the data packet is a transmission failure. If the second device determines that the data packet is successfully transmitted within the transmission latency, the second device considers that the transmission state of the data packet is a transmission success.
- the first device may obtain the transmission state of the data packet in any one of the foregoing manners, or may obtain the transmission state of the data packet in a combination of the foregoing two or more manners.
- a manner of obtaining the transmission state of the data packet is not limited in this embodiment of this application.
- Step 202 The first device starts the timer if transmission states of m data packets in the first n data packets are transmission failures.
- n and m are both positive integers, and m is less than or equal to n.
- the first device determines whether the transmission states of the m data packets in the first n data packets are transmission failures, where the m data packets may be consecutive data packets, or may be inconsecutive data packets.
- data packets with consecutive sequence numbers may be referred to as consecutive data packets
- data packets with inconsecutive sequence numbers may be referred to as inconsecutive data packets.
- data packets with sequence numbers #1, #2, and #3 are consecutive data packets
- data packets with sequence numbers #1, #3, and #6 are inconsecutive data packets.
- the first device may determine, by using the counter, whether the transmission states of the m data packets in the first n data packets are transmission failures. Specifically, before transmitting a data packet, the first device may initialize the counter. If a value of the counter is initialized to 0, the first device may increase the value of the counter by 1 each time the first device determines a data packet that fails to be transmitted. In a process of transmitting the first n data packets, if the value of the counter is increased to m, the first device may determine that the transmission states of the m data packets in the first n data packets are transmission failures.
- the value of the counter may be decreased by 1 each time the first device determines a data packet that fails to be transmitted. In a process of transmitting the first n data packets, if the value of the counter is decreased to 0, the first device may determine that the transmission states of the m data packets in the first n data packets are transmission failures.
- the first device starts the timer if the first device determines that the transmission states of the m data packets in the first n data packets are transmission failures.
- Duration of the timer may be set based on a time to live of an application layer service or an actual situation.
- the duration of the timer may be n periodic service generation periodicities, where n may be 1, 2, or 5, or the duration of the timer may be a time period, for example, may be set to 1 ms, 2 ms, 5 ms, or the like.
- the duration of the timer is not limited in this embodiment of this application.
- the time to live of the application layer service is obtained by a terminal device and/or a network device from a core network device, or may be obtained by a terminal device from an application layer of the terminal device and reported to a network device.
- Start (start) of the timer means that the timer changes from an inactive state to an active state and starts to run.
- the first device receives fourth indication information from the second device or a third device.
- the fourth indication information includes a parameter of the timer corresponding to a radio bearer or a QoS service flow.
- the second device may be the network device
- the third device may be the core network device.
- the parameter of the timer may include the duration of the timer, a protocol layer entity that maintains the timer, and/or the like.
- the terminal device receives, from the network device or the core network device, the parameter of the timer corresponding to the radio bearer (radio bearer) or the QoS service flow (QoS flow), to start the timer based on the parameter of the timer, and maintain the timer based on the protocol layer entity that maintains the timer.
- the radio bearer includes the data radio bearer (data radio bearer, DRB) and the signaling radio bearer (signal radio bearer, SRB).
- Step 203 The first device determines a radio resource configuration parameter used to transmit a subsequent data packet, or sends a first message to the second device, where the first message is used to indicate a state of the timer, and the state of the timer is used to determine the radio resource configuration parameter used to transmit the subsequent data packet.
- the radio resource configuration parameter includes at least one of the following: a modulation and coding scheme (modulation and coding scheme, MCS), a maximum quantity of retransmissions of a hybrid automatic repeat request (hybrid automatic repeat request, HARQ), a maximum quantity of retransmissions of an automatic repeat request (automatic repeat request, ARQ), a size of a transmission resource, a type of a transmission resource, a priority of a logical channel, an RLC layer transmission mode of a radio bearer, a type of a radio bearer, or a transmit power.
- the radio resource configuration parameter may further include all parameters in a radio resource control (radio resource control, RRC) reconfiguration message.
- An MCS modulation and coding table is a representation form proposed in the institute of electrical and electronics engineers (Institute of Electrical and Electronics Engineers, IEEE) 802.11n to represent a physical transmission rate.
- the MCS uses a factor that affects a communication rate as a column of the table, and uses an MCS index as a row, to form a rate table. Therefore, each MCS index corresponds to a physical transmission rate in a group of parameters.
- the maximum quantity of the retransmissions of the hybrid automatic repeat request indicates a maximum quantity of times that a same MAC protocol data unit (protocol data unit, PDU) is transmitted at a MAC layer.
- PDU protocol data unit
- the maximum quantity of the retransmissions of the automatic repeat request indicates a maximum quantity of times that a same RLC PDU is transmitted at an RLC layer.
- the size of the transmission resource is, for example, a size of an SPS resource, or a quantity of time domain units or a quantity of frequency domain units occupied in time domain.
- the time domain unit may be a symbol, a slot, a subframe, a frame, a superframe, or the like
- the frequency domain unit may be a carrier, a subcarrier, a BWP, or the like.
- the type of the transmission resource is, for example, an SPS resource, a grant-free (grant free) resource, or a dynamic scheduling resource.
- the priority of the logical channel is used to indicate a priority of each logical channel when the logical channel is multiplexed at a MAC layer. Different logical channels may have a same priority.
- the RLC layer transmission mode of the radio bearer indicates whether a radio bearer uses an RLC unacknowledged mode (Unacknowledged Mode, UM) or an RLC acknowledged mode (Acknowledged Mode, AM) for transmission.
- RLC unacknowledged mode Unacknowledged Mode, UM
- RLC acknowledged mode Acknowledged Mode, AM
- the RLC AM transmission mode provides a reliable transmission service, and provides all RLC functions (including an ARQ function).
- the RLC UM transmission mode provides all RLC functions except retransmission and re-segmentation, and consequently provides an unreliable transmission service.
- the RLC TM transmission mode In this mode, the RLC can be considered as null. No processing is performed on an RLC service data unit (service data unit, SDU), and no RLC header (Header) is added. This is because only a data transparent transmission (passthrough) function is provided in this transmission mode.
- the type of the radio bearer includes a data radio bearer (data radio bearer, DRB) type and a signaling radio bearer (signaling radio bearer, SRB) type. Further, different types may refer to having different DRB IDs and SRB IDs.
- the transmit power indicates a transmit power used for sending a MAC PDU.
- the first device determines the radio resource configuration parameter used to transmit the subsequent data packet in the running process of the timer.
- When the first device adjusts the radio resource configuration parameter used to transmit the subsequent data packet may be determined in the following manners: Manner 1: When the first device determines that q data packets fail to be transmitted within a preset time period during running of the timer, the first device adjusts a radio resource configuration parameter used to transmit a to-be-transmitted data packet, where the to-be-transmitted data packet is a data packet sent after the q th data packet that fails to be transmitted within the preset time period, and q is a positive integer greater than 0.
- the first device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the first device starts the timer. If the q data packets fail to be transmitted within the preset time period in the running process of the timer, the first device adjusts the radio resource configuration parameter of the data packet sent after the q th data packet that fails to be transmitted within the preset time period.
- the preset time period is less than or equal to timing duration of the timer.
- the preset time period may be set based on an actual situation or experience. For example, the preset time period may be set based on the timing duration of the timer, for example, set to 4s, 5s, or the like.
- the q data packets may be consecutive data packets, or may be inconsecutive data packets. If the q data packets are inconsecutive data packets, and the first device determines that q data packets fail to be transmitted accumulatively within the preset time period during running of the timer, the first device adjusts the radio resource configuration parameter used to transmit the to-be-transmitted data packet.
- q is a positive integer greater than 0. For example, q may be 1, 2, 3, 4, 5, or the like as specified in a 3GPP protocol.
- the first device obtains transmission states of first three data packets. It is assumed that a transmission state of a data packet 1 is a transmission success, and transmission states of a data packet 2 and a data packet 3 are transmission failures. In other words, if transmission states of two of the three data packets are transmission failures, the first device starts the timer.
- the first device adjusts the radio resource configuration parameter used to transmit the to-be-transmitted data packet, and the to-be-transmitted data packet is a data packet transmitted after the first data packet within the preset time period.
- the radio resource configuration parameter used to transmit the to-be-transmitted data packet is adjusted, it can be ensured that a data packet sent after the q th data packet that fails to be transmitted within the preset time period is successfully transmitted, so that interruption occurs at the application layer can be avoided as much as possible, and data transmission reliability can be improved.
- Manner 2 The first device adjusts, during running of the timer, a radio resource configuration parameter used to transmit a data packet within a first time period.
- this manner lies in that the first device starts to adjust the radio resource configuration parameter once the timer is started.
- the radio resource configuration parameter used to transmit the data packet within the preset time period is adjusted, it can be ensured that the data packet transmitted within the preset time period is successfully transmitted, so that interruption occurs at the application layer can be avoided, and data transmission reliability can be improved.
- the first device may determine, in the following two manners, the radio resource configuration parameter used to transmit the subsequent data packet: (1) The first device receives a second message from the second device, where the second message includes the to-be-adjusted parameter; and the first device adjusts, based on the to-be-adjusted parameter, the radio resource configuration parameter used to transmit the subsequent data packet.
- the terminal device after starting the timer, the terminal device sends a started state of the timer to the network device.
- the network device sends the second message to the terminal device.
- the second message is a radio resource control (radio resource control, RRC) reconfiguration message.
- the second message includes a to-be-adjusted parameter.
- the to-be-adjusted parameter is a radio resource configuration parameter reconfigured by the network device, and the to-be-adjusted parameter may include at least one of a modulation and coding scheme MCS, a HARQ, an ARQ, a periodicity of a transmission resource, a location of a transmission resource, a size of a transmission resource, a type of a transmission resource, a priority of a logical channel, an RLC layer transmission mode of a radio bearer, a type of a radio bearer, or a transmit power.
- the to-be-adjusted parameter may also include all parameters in the RRC reconfiguration message.
- the terminal device After receiving the second message, the terminal device adjusts the radio resource configuration parameter based on the to-be-adjusted parameter in the second message. In this way, the terminal device transmits the subsequent data packet based on the adjusted radio resource configuration parameter, thereby improving a success rate of transmission of the subsequent data packet.
- the terminal device may adjust the radio resource configuration parameter in the following manners based on the to-be-adjusted parameter: adjusting the MCS, increasing a quantity of retransmissions of the HARQ, increasing a quantity of retransmissions of the ARQ, increasing the size of the transmission resource, adjusting the type of the transmission resource, increasing the priority of the logical channel, adjusting the RLC layer transmission mode of the radio bearer, adjusting the radio bearer to use duplication (duplication) transmission, increasing the transmit power, or the like.
- the terminal device may also adjust a parameter in the RRC reconfiguration message.
- the terminal device may alternatively adjust a priority of the subsequent data packet, for example, adjust a scheduling priority or a priority of a MAC layer packet assembly, to improve the success rate of transmission of the subsequent data packet, to avoid expiration of the timer at the application layer due to transmission failures of a plurality of data packets, and avoid interruption occurs at the application layer.
- the following uses an example to describe in detail how the terminal device adjusts the radio resource configuration parameter.
- the terminal device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the terminal device starts the timer and sends the started state of the timer to the network device. When determining that the timer is in the started state, the network device sends the second message to the terminal device. If the second message includes the to-be-adjusted parameter: the MCS, the terminal device adjusts a high-order MCS to a low-order MCS.
- the high-order MCS may be, for example, a code rate a
- a modulation scheme is quadrature phase shift keying (Quadrature Phase Shift Keying, QPSK)
- QPSK Quadrature Phase Shift Keying
- the low-order MCS may be a code rate b, and a modulation scheme is binary phase shift keying (Binary Phase Shift Keying, BPSK), where a is greater than b.
- BPSK Binary Phase Shift Keying
- the terminal device transmits the subsequent data packet by using the adjusted low-order MCS. Because the low-order MCS has a lower code rate, a redundant bit for transmission is increased, and an increase in the redundant bit can improve a success rate of data transmission.
- the terminal device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the terminal device starts the timer and sends the started state of the timer to the network device. When determining that the timer is in the started state, the network device sends the second message to the terminal device. If the second message includes the to-be-adjusted parameter: the quantity of the retransmissions of the HARQ, the terminal device may increase the quantity of the retransmissions of the HARQ to d, where d is greater than c.
- the terminal device transmits the subsequent data packet by using the adjusted quantity of the retransmissions of the HARQ. Because a quantity of transmissions of the data packet at the MAC layer is increased, a success rate of data transmission can be improved. It should be noted that the second message includes an increased value of the quantity of the retransmissions of the HARQ, and the terminal device may increase the quantity of the retransmissions of the HARQ based on the received second message.
- the terminal device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the terminal device starts the timer and sends the started state of the timer to the network device. When determining that the timer is in the started state, the network device sends the second message to the terminal device. If the second message includes the to-be-adjusted parameter: the quantity of the retransmissions of the ARQ, the terminal device may increase the quantity of the retransmissions of the ARQ to f, where f is greater than e.
- the terminal device transmits the subsequent data packet by using the adjusted quantity of the retransmissions of the ARQ. Because a quantity of transmissions of the data packet at the RLC layer is increased, a success rate of data transmission can be improved. It should be noted that the second message includes an increased value of the quantity of the retransmissions of the ARQ, and the terminal device may increase the quantity of the retransmissions of the ARQ based on the received second message.
- the terminal device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the terminal device starts the timer and sends the started state of the timer to the network device. When determining that the timer is in the started state, the network device sends the second message to the terminal device. If the second message includes the size of the transmission resource, the terminal device may transmit the subsequent data packet by using transmission resources in the j th slot (slot) and the k th slot (slot).
- Sizes of the transmission resource j in the j th slot (slot) and the transmission resource in the k th slot (slot) are greater than a size of the transmission resource in the i th slot (slot). Because the terminal device may transmit the subsequent data packet by using a relatively large amount of transmission resources, a probability that the data packet is successfully transmitted can be increased.
- the terminal device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the terminal device starts the timer and sends the started state of the timer to the network device. When determining that the timer is in the started state, the network device sends the second message to the terminal device. If the second message includes the type of the transmission resource, the terminal device may adjust the dynamically scheduled transmission resource by using an SPS resource configured by using higher layer signaling, and transmit the subsequent data packet by using the SPS transmission resource.
- the terminal device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the terminal device starts the timer and sends the started state of the timer to the network device. When determining that the timer is in the started state, the network device sends the second message to the terminal device. If the second message includes the priority of the logical channel, the terminal device may adjust the priority of the logical channel to h, where h is less than g. Optionally, a smaller number indicates a higher priority of the logical channel. The terminal device transmits the subsequent data packet by using the adjusted priority of the logical channel. Because the priority of the logical channel is increased, a probability of successfully transmitting the data packet can be increased.
- the terminal device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the terminal device starts the timer and sends the started state of the timer to the network device. When determining that the timer is in the started state, the network device sends the second message to the terminal device. If the second message includes the transmission mode of the radio bearer, the terminal device may adjust the transmission mode of the radio bearer from the RLC UM transmission mode to the RLC AM transmission mode, and transmit the subsequent data packet in the RLC AM transmission mode. Because the RLC AM transmission mode includes the ARQ function, transmission reliability of the subsequent data packet can be improved.
- the terminal device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the terminal device starts the timer and sends the started state of the timer to the network device. When determining that the timer is in the started state, the network device sends the second message to the terminal device. If the second message indicates to enable the duplication transmission, the terminal device may adjust the radio bearer to enable the duplication transmission to transmit the subsequent data packet. Because the terminal device transmits the subsequent data packet in a manner of duplication transmission, a success rate of data transmission can be improved.
- duplication duplication
- the terminal device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the terminal device starts the timer and sends the started state of the timer to the network device. When determining that the timer is in the started state, the network device sends the second message to the terminal device. If the second message includes the transmit power, the terminal device may increase the transmit power from original x mW to y mW, where y is greater than x. The terminal device transmits the subsequent data packet by using the increased transmit power. Because the transmit power is increased, a probability of successfully transmitting the data packet can be increased.
- adjusting a parameter in the RRC reconfiguration message may include adjusting another parameter in an information element (information element, IE), namely, an RRC bearer configuration (Bearer Config), in 3GPP 38.331 or an IE, namely, a radio resource configuration dedicated (radio Resource Config Dedicated), in 3GPP 36.331.
- IE information element
- IE RRC bearer configuration
- the first device adjusts, based on first parameter information configured by the second device, the radio resource configuration parameter used to transmit the subsequent data packet.
- the network device may configure two sets of parameter information for a DRB and a service flow (flow), which are respectively a first parameter information and a second parameter information.
- the terminal device may adjust the radio resource configuration parameter based on the first parameter information, to transmit, based on the adjusted radio resource configuration parameter, the data packet within the preset time period during running of the timer.
- the terminal device may further adjust, based on the second parameter information configured by the second device, the radio resource configuration parameter used to transmit a data packet when the timer is in a disabled state. Specifically, when the timer is in the disabled state, the terminal device adjusts the radio resource configuration parameter based on the second parameter information preconfigured by the network device, to transmit, based on the adjusted radio resource configuration parameter, the data packet when the timer is in the disabled state.
- the radio resource configuration parameter adjusted based on the second parameter information may be the same as or different from the radio resource configuration parameter used to transmit the data packet before the timer is started.
- the network device may also adjust the MCS, increase the quantity of the retransmissions of the HARQ, increase the quantity of the retransmissions of the ARQ, increase the size of the transmission resource, adjust the type of the transmission resource, increase the priority of the logical channel, adjust the RLC layer transmission mode of the radio bearer, adjust the radio bearer to use duplication (duplication) transmission, increase the transmit power, or the like in the foregoing manner.
- the terminal device may also adjust the parameter in the RRC reconfiguration message. For a process in which the network device adjusts the to-be-adjusted parameter, refer to the foregoing descriptions. Details are not described herein again.
- the first device after the first device starts the timer, the first device sends the first message to the second device.
- the first message is used to indicate the state of the timer.
- the second device After receiving the first message, the second device determines, based on the state of the timer, the radio resource configuration parameter used to transmit the subsequent data packet.
- the first message may be, for example, an RRC message, or may be a MAC control element (MAC control element, MAC CE), or may be downlink control information (downlink control indicator, DCI).
- MAC control element MAC control element
- DCI downlink control indicator
- a specific form of the first message is not limited in this embodiment of this application.
- the state of the timer includes a state of whether the timer is started.
- the second device determines the radio resource configuration parameter used to transmit the subsequent data packet.
- a manner in which the second device determines the radio resource configuration parameter is similar to the foregoing manner in which the first device determines the radio resource configuration parameter. Details are not described herein again. If the second device determines, based on the first message, that the timer is not in the started state, the second device does not adjust the radio resource configuration parameter used to transmit the subsequent data packet, that is, transmits the subsequent data packet by using an original radio resource configuration parameter.
- the first device may further send fifth indication information to the second device or the third device.
- the fifth indication information includes a parameter of the timer corresponding to a radio bearer or a QoS service flow.
- the parameter of the timer may include duration of the timer, a protocol layer entity that maintains the timer, and/or the like.
- the terminal device may send, to the network device or the core network device, the parameter of the timer corresponding to the radio bearer or the QoS service flow, so that the network device or the core network device configures and maintains the timer based on the parameter of the timer.
- the first device determines that p data packets are successfully transmitted within the preset time period during running of the timer, the first device processes the timer in any one of the following manners: resetting, stop, suspension, or interruption.
- p is a positive integer, and may be, for example, 2, 3, or 4.
- the first device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the first device starts the timer. If the p data packets are successfully transmitted within the preset time period in the running process of the timer, the first device does not adjust the radio resource configuration parameter used to transmit the subsequent data packet. In addition, the first device resets, stops, suspends, or interrupts the timer.
- Resetting (reset) of the timer means that the timer is resumed to an initial setting (for example, be cleared) and keeps running. In this case, the timer maintains in an active state, but restarts timing. For example, when one timer timer is timing, a value of the timer is increased by 1 every second. When the value of the timer is 4 currently, and the value of the timer is 5 in a next second, the value of the timer changes to 0 after the timer is reset. To be specific, the timer immediately changes from a state in which the value of the counter is 4 to a state in which the value of the timer is 0. However, the timer keeps running, and one second later, the value of the timer changes from 0 to 1. In addition, resetting of the timer may also be referred to as restart (restart) of the timer.
- Stop (stop) of the timer may also be referred to as termination of the timer, and means that the timer is resumed to an initial setting and stops running.
- the timer changes from an active state to an inactive state, and can only be restarted subsequently.
- the value of the timer timer is supposed to change to 5 in the next second. If an action of the timer currently is to stop, the value of the timer changes to 0 and the timer stops running, and the timer no longer changes with time. If the timer stops and runs again, the timer needs to be restarted (start).
- Suspension (suspend) of the timer may also be referred to as interruption/breaking off (interrupt/break off) of the timer, and means that the timer is not cleared and stops running.
- interruption/breaking off interrupt/break off
- the timer changes from an active state to an inactive state, but maintains a current state, and may be resumed to run.
- the value of the timer timer currently is 4 and is supposed to change to 5 in the next second. If an action of the timer currently is to suspend, interrupt, or break off, the value of the timer remains 4 and the timer stops running. In this case, the timer no longer changes with the time.
- the timer needs to be resumed or recovered (resume or recover).
- the first device determines that the p data packets are successfully transmitted within the preset time period during running of the timer, the first device processes the timer in any one of resetting, stop, suspension, or interruption, to avoid interruption occurs at the application layer due to expiration of the timer.
- the first device determines that at least p data packets are not successfully transmitted within the preset time period during running of the timer, the first device releases the radio bearer or the QoS service flow.
- the network device When the network device determines that a quantity of data packets that are successfully transmitted during running of the timer is less than p, or a quantity of data packets that are incorrectly transmitted is greater than q, the network device sends an RRC reconfiguration message to the terminal device.
- the RRC reconfiguration message includes release indication information of a radio bearer corresponding to the service, to indicate to release the bearer corresponding to the service.
- the terminal device when the terminal device determines that the p data packets are not successfully transmitted within the preset time period during running of the timer, the terminal device initiates a random access procedure.
- the terminal device determines that a quantity of data packets that are successfully transmitted during running of the timer is less than p, or a quantity of data packets that are incorrectly transmitted is greater than q, the terminal device re-initiates a random access procedure.
- the terminal device sends a random access preamble preamble to the network device.
- the network device After receiving the preamble, the network device sends a random access response message to the terminal device, and the random access response message includes uplink grant information.
- the terminal device may send uplink data or an RRC message on a resource indicated in an uplink grant.
- the RRC message may be an RRC connection establishment request message, an RRC connection reestablishment request message, or an RRC connection resume request message.
- the first device obtains the transmission states of the first n data packets by using the first protocol layer entity, where the first protocol layer entity includes the RLC layer entity or the entity above the RLC layer; the first device starts the timer if the transmission states of the m data packets in the first n data packets are transmission failures, where n and m are both positive integers, and m is less than or equal to n; and the first device determines the radio resource configuration parameter used to transmit the subsequent data packet, or sends the first message to the second device, where the first message is used to indicate the state of the timer, and the state of the timer is used to determine the radio resource configuration parameter used to transmit the subsequent data packet.
- the first device determines that the transmission states of the m data packets in the first n data packets are transmission failures, the first device starts the timer, and adjusts the radio resource configuration parameter of the subsequent data packet transmitted in the running process of the timer, to improve a success rate of data packet transmission. In this way, interruption occurs at the application layer can be avoided, and data transmission reliability can be improved.
- FIG. 3 is another schematic flowchart of a data transmission method according to this application. Based on the system architecture shown in FIG. 1 , as shown in FIG. 3 , the method in this embodiment may include the following steps.
- Step 301 A first device obtains transmission states of first n data packets by using a first protocol layer entity, where the first protocol layer entity includes an RLC layer entity or an entity above an RLC layer.
- the first protocol layer entity includes an RLC layer entity or an entity above an RLC layer.
- Step 302 The first device starts a counter if transmission states of m data packets in the first n data packets are transmission failures.
- n and m are both positive integers, and m is less than or equal to n.
- the first device starts the counter if the first device determines that the transmission states of the m data packets in the first n data packets are transmission failures.
- a threshold of the counter may be set based on an actual situation. For example, the threshold of the counter may be specified in advance or set in advance. The counter may count incrementally. For example, an initial value is 0. Each time a data packet that fails to be transmitted is determined, the counter is increased by 1. When the counter reaches a threshold X, it is considered that the counter overflows. Alternatively, an initial value of the counter may be set to X (where X is a non-zero positive integer). Each time a data packet that fails to be transmitted is determined, the counter is decreased by 1, and overflow occurs when the counter reaches a threshold 0.
- the threshold of the counter is not limited herein in this embodiment of this application.
- Start (start) of the counter means that the counter changes from an inactive state to an active state and starts to run.
- the first device receives fourth indication information from a second device or a third device.
- the fourth indication information includes a parameter of the counter corresponding to a radio bearer or a QoS service flow.
- the second device may be a network device
- the third device may be a core network device.
- the parameter of the counter may include a specified threshold of the counter, a protocol layer entity that maintains the counter, and/or the like.
- the terminal device receives, from the network device or the core network device, the parameter of the counter corresponding to the radio bearer or the QoS service flow, to start the counter based on the parameter of the counter, and maintain the counter based on the protocol layer entity that maintains the counter.
- Step 303 The first device determines a radio resource configuration parameter used to transmit a subsequent data packet, or sends a third message to the second device, where the third message is used to indicate a state of the counter, and the state of the counter is used to determine the radio resource configuration parameter used to transmit the subsequent data packet.
- radio resource configuration parameter For the radio resource configuration parameter, refer to related descriptions in the foregoing embodiment. Details are not described herein again.
- the first device determines the radio resource configuration parameter used to transmit the subsequent data packet in the counting process of the counter.
- When the first device adjusts the radio resource configuration parameter used to transmit the subsequent data packet may be determined in the following manners: Manner 1: When the first device determines that q data packets fail to be transmitted within a preset time period during counting of the counter, the first device adjusts a radio resource configuration parameter used to transmit a to-be-transmitted data packet, where the to-be-transmitted data packet is a data packet sent after the q th data packet that fails to be transmitted within the preset time period, and q is a positive integer greater than 0.
- the first device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the first device starts the counter. If the q data packets fail to be transmitted within the preset time period in the counting process of the counter, the first device adjusts the radio resource configuration parameter of the data packet sent after the q th data packet that fails to be transmitted within the preset time period.
- the preset time period is less than or equal to counting duration of the counter.
- the preset time period may be set based on an actual situation or experience. For example, the preset time period may be set based on the counting duration of the counter, for example, set to 4s, 5s, or the like.
- the counting duration of the counter is duration from a moment at which the counter starts to count to a moment at which the counter overflows.
- Manner 2 The first device adjusts, during running of the counter, a radio resource configuration parameter used to transmit a data packet within a first time period.
- this manner lies in that the first device starts to adjust the radio resource configuration parameter once the counter is started.
- the first device sends a third message to the second device.
- the third message is used to indicate a state of the counter.
- the second device determines, based on the state of the counter, the radio resource configuration parameter used to transmit the subsequent data packet.
- the third message may be, for example, an RRC message, or may be a MAC CE, or may be DCI.
- a specific form of the third message is not limited in this embodiment of this application.
- the state of the counter includes a state of whether the counter is started, namely, a state of whether the counter starts to count.
- the second device determines the radio resource configuration parameter used to transmit the subsequent data packet.
- a manner in which the second device determines the radio resource configuration parameter is similar to the foregoing manner in which the first device determines the radio resource configuration parameter. Details are not described herein again. If the second device determines, based on the third message, that the counter is not in the started state, the second device does not adjust the radio resource configuration parameter used to transmit the subsequent data packet, that is, transmits the subsequent data packet by using an original radio resource configuration parameter.
- the first device may further send fifth indication information to the second device or the third device.
- the fifth indication information includes a parameter of the counter corresponding to a radio bearer or a QoS service flow.
- the parameter of the counter may include a set threshold of the counter, a protocol layer entity that maintains the counter, and/or the like.
- the terminal device may send, to the network device or the core network device, the parameter of the counter corresponding to the radio bearer or the QoS service flow, so that the network device or the core network device configures and maintains the counter based on the parameter of the counter.
- the first device determines that p data packets are successfully transmitted within the preset time period in the counting process of the counter, the first device processes the counter in any one of the following manners: resetting, stop, suspension, or interruption.
- p is a positive integer, and may be, for example, 2, 3, or 4.
- the first device when determining that the transmission states of the m data packets in the first n data packets are transmission failures, the first device starts the counter. If the p data packets are successfully transmitted within the preset time period in the running process of the counter, the first device does not adjust the radio resource configuration parameter used to transmit the subsequent data packet. In addition, the first device resets, stops, suspends, or interrupts the counter.
- Resetting (reset) the counter means that the counter is resumed to an initial setting (for example, be cleared, or be resumed to a maximum value) and keeps running. In this case, the timer maintains in an active state, but restarts counting.
- An example in which the value of the counter is incremented is used for description.
- a value of the counter is increased by 1 each time a data packet that fails to be transmitted is determined.
- the value of the counter currently is 4, the value of the counter changes to 0 after the counter is reset. To be specific, the counter immediately changes from a state in which the value of the counter is 4 to a state in which the value of the counter is 0. However, the counter keeps running, and after another data packet that fails to be transmitted is determined, the value of the counter changes from 0 to 1.
- resetting of the counter may also be referred to as restart (restart) of the counter.
- Stop (stop) of the counter may also be referred to as termination of the counter, and means that the counter is resumed to initial setting and stops running.
- the counter changes from an active state to an inactive state, and can only be restarted subsequently.
- the value of the counter is supposed to change to 5. If an action of the counter currently is to stop, the value of the counter changes to 0 and the counter stops running, and the counter no longer changes with time. If the counter stops and runs again, the counter needs to be restarted (start).
- Suspension (suspend) of the counter may also be referred to as interruption/breaking off (interrupt/break off) of the counter, and means that the counter is not cleared and stops running.
- interruption/breaking off interrupt/break off
- the counter changes from an active state to an inactive state, but maintains a current state, and may be resumed to run.
- a value of the counter currently is 4.
- the value of the counter is supposed to change to 5. If an action currently performed by the counter is to suspend, interrupt, or break off, the value of the counter remains 4 and the counter stops running. In this case, the counter no longer changes with time.
- the counter is suspended, interrupted, or broke off and then runs again, the counter needs to be resumed or recovered (resume or recover).
- the first device determines that the p data packets are successfully transmitted within the preset time period during running of the counter, the first device processes the counter in any one of resetting, stop, suspension, or interruption, to avoid interruption occurs at the application layer due to overflow of the counter.
- An embodiment of this application further provides a communication method.
- a first device obtains transmission states of first n data packets by using a first protocol layer entity, where the first protocol layer entity includes an RLC layer entity or an entity above an RLC layer; the first device starts a counter (where the counter is increased by 1 or decreased by 1) if transmission states of m data packets in the first n data packets are transmission failures, where n and m are both positive integers, and m is less than or equal to n; and the first device determines a radio resource configuration parameter used to transmit a subsequent data packet, or sends a third message to a second device, where the third message is used to indicate a value of the counter, and the value of the counter is used to determine the radio resource configuration parameter used to transmit the subsequent data packet.
- the first device determines that the transmission states of the m data packets in the first n data packets are transmission failures, the first device starts the counter, and adjusts the radio resource configuration parameter of the subsequent data packet transmitted in a counting process of the counter, to improve a success rate of data packet transmission. In this way, interruption occurs at the application layer can be avoided, and data transmission reliability can be improved.
- the first device is a terminal device
- the second device is a network device
- the first protocol layer entity is a PDCP layer entity.
- the network device pre-configures, for the terminal device in advance, at least two sets of radio resource configuration parameters used to transmit a subsequent data packet.
- a value of m configured by a core network device is 1. Because only the value of m is configured, the terminal device also considers a value of n as 1 by default.
- the PDCP layer entity of the terminal device After the PDCP layer entity of the terminal device completes initialization, it is determined that a transmission state of a previous data packet is not a transmission failure (where when the first data packet is transmitted after initialization, it is considered by default that transmission states of all data packets before the first data packet are transmission successes).
- the first PDCP PDU is sent by using the first set of radio resource configuration parameters, and a corresponding PDCP SN is #1.
- the PDCP layer entity of the terminal device may obtain a transmission state of the PDCP PDU #1 based on an indication of an RLC layer or a MAC layer of the PDCP layer entity, or may obtain a transmission state of the PDCP PDU #1 based on indication information, for example, a PDCP status report (Status Report), sent by a PDCP layer entity of the network device.
- indication information for example, a PDCP status report (Status Report) sent by a PDCP layer entity of the network device.
- the RLC layer may obtain a transmission state of each PDCP PDU based on the RLC status report
- the MAC layer may obtain the transmission state of each PDCP PDU based on an ACK/a NACK in a HARQ process
- the PDCP status report sent by the PDCP layer entity of the network device includes an SN of at least one PDCP PDU and a transmission state corresponding to the at least one PDCP PDU.
- the PDCP layer entity of the terminal device learns that the transmission state of the PDCP PDU #1 is a transmission success. Because the transmission state of the previous data packet is not a transmission failure, the timer is not started.
- the PDCP layer entity of the terminal device may obtain a transmission state of a PDCP PDU #2 by using an indication of the RLC layer or the MAC layer of the PDCP layer entity, or may obtain a transmission state of a PDCP PDU #2 by using indication information, for example, a PDCP status report, sent by the PDCP layer entity of the network device.
- indication information for example, a PDCP status report
- a transmission state that is of the PDCP PDU #2 and that is obtained by the PDCP layer entity of the terminal device is a transmission failure.
- transmission may fail within a maximum quantity of retransmissions of a HARQ and/or a maximum quantity of retransmissions of an ARQ.
- the timer is started (where the timer changes to an active state), and the terminal device transmits a PDCP PDU #3 by using the second set of radio resource configuration parameters, or the terminal device reports a state (the active state) of the timer to the network device.
- the network device sends the third set of radio resource configuration parameters to the terminal device based on the state of the timer of the terminal device. After receiving the third set of radio resource configuration parameters, the terminal device transmits a subsequent PDCP PDU by using the third set of radio resource configuration parameters.
- the PDCP layer entity of the terminal device transmits the PDCP PDU #3 by using the second set of the radio resource configuration parameters or the third set of radio resource configuration parameters. If the terminal device learns, in the foregoing manner, that the transmission state of the PDCP PDU #3 is a transmission success, the timer is terminated (where the timer changes to an inactive state), or the terminal device reports the state (the inactive state) of the timer to the network device.
- the network device sends the fourth set of radio resource configuration parameters to the terminal device based on the state of the timer of the terminal device. After receiving the fourth set of radio resource configuration parameters, the terminal device transmits a subsequent PDCP PDU by using the fourth set of radio resource configuration parameters.
- the PDCP layer entity of the terminal device may obtain a value of n and/or a value of m from the network device or the core network device, or the terminal device may obtain the value of n and/or the value of m and a length of the timer from an application layer or a non-access stratum of the terminal device, the network device may obtain the value of n and/or the value of m and the length of the timer through reporting by the terminal device or configuring by the core network device.
- the first PDCP PDU is sent by using the first set of radio resource configuration parameters, and the corresponding PDCP SN is #1.
- the PDCP layer entity of the terminal device may obtain the transmission state of the PDCP PDU #1 by using the foregoing method. It is assumed that the transmission state of the PDCP PDU #1 is a transmission success. Because the transmission states of the first two consecutive data packets are not transmission failures, the timer is not started, and the first set of radio resource configuration parameters may continue to be used to transmit the PDCP PDU #2.
- the PDCP layer entity of the terminal device obtains the transmission state of the PDCP PDU #2 by using the foregoing method. It is assumed that the transmission state of the PDCP PDU #2 is a transmission failure. Specifically, transmission may fail within a maximum quantity of retransmissions of a HARQ and/or a maximum quantity of retransmissions of an ARQ. Because the transmission states of the first two consecutive data packets are transmission failures, the timer is still not started, and the first set of radio resource configuration parameters may continue to be used to transmit the PDCP PDU #3.
- the PDCP layer entity of the terminal device obtains the transmission state of the PDCP PDU #3 by using the foregoing method. It is assumed that the transmission state of the PDCP PDU #3 is a transmission failure. Because the transmission states of the foregoing two consecutive data packets are transmission failures (where both the PDCP PDU #2 and the PDCP PDU #3 are transmission failures), the terminal device starts the timer, and transmits the PDCP PDU #4 by using the second set of radio resource configuration parameters, or the terminal device reports the state (the active state) of the timer to the network device. The network device sends the third set of radio resource configuration parameters to the terminal device based on the state of the timer of the terminal device. After receiving the third set of radio resource configuration parameters, the terminal device transmits the subsequent PDCP PDU #4 by using the third set of radio resource configuration parameters.
- the terminal device In a running process of the timer, if the terminal device receives an indication message indicating that the PDCP PDU #4 is successfully transmitted, the terminal device controls the timer to stop.
- the value of m configured by the core network device is 2, and n is 3.
- the PDCP layer entity of the terminal device determines transmission states of three data packets, namely, a PDCP PDU # (k-1), a PDCP PDU# (k-2), and a PDCP PDU (k-3), before the PDCP PDU #k.
- the radio resource configuration parameter is adjusted in the foregoing manner, or the state of the timer is reported to the network device, so that the subsequent data packet is transmitted based on the adjusted radio resource configuration parameter or a radio resource configuration parameter delivered by the network device.
- a manner in which the terminal device starts the counter to adjust the radio resource configuration parameter used to transmit the subsequent data packet is similar to a manner in which the terminal device starts the timer to adjust the radio resource configuration parameter used to transmit the subsequent data packet. Details are not described herein again.
- the first device obtains the transmission states of the first n data packets by using the first protocol layer entity, where the first protocol layer entity includes the RLC layer entity or the entity above the RLC layer; the first device starts the timer if the transmission states of the m data packets in the first n data packets are transmission failures, where n and m are both positive integers, and m is less than or equal to n; and the first device determines the radio resource configuration parameter used to transmit the subsequent data packet, or sends the first message to the second device, where the first message is used to indicate the state of the timer, and the state of the timer is used to determine the radio resource configuration parameter used to transmit the subsequent data packet.
- the first device determines that the transmission states of the m data packets in the first n data packets are transmission failures, the first device starts the timer, and adjusts the radio resource configuration parameter of the subsequent data packet transmitted in the running process of the timer, to improve a success rate of data packet transmission. In this way, interruption occurs at the application layer can be avoided, and data transmission reliability can be improved.
- FIG. 4 is a schematic structural diagram of a communications apparatus according to an embodiment of this application.
- the apparatus may be a first device or a chip or a system-on-a-chip in the first device, and may be configured to perform actions related to the first device in the foregoing method embodiments.
- the apparatus includes a processing unit 11 and a sending unit 12, where
- the processing unit 11 obtains the transmission states of the first n data packets by using the first protocol layer entity, where the first protocol layer entity includes the RLC layer entity or the entity above the RLC layer; the processing unit 11 starts the timer if the transmission states of the m data packets in the first n data packets are transmission failures, where n and m are both positive integers, and m is less than or equal to n; and the processing unit 11 determines the radio resource configuration parameter used to transmit the subsequent data packet, or the sending unit 12 sends the first message to the second device, where the first message is used to indicate the state of the timer, and the state of the timer is used to determine the radio resource configuration parameter used to transmit the subsequent data packet.
- the processing unit 11 determines that the transmission states of the m data packets in the first n data packets are transmission failures, the processing unit 11 starts the timer, and adjusts the radio resource configuration parameter of the subsequent data packet transmitted in a running process of the timer, to improve a success rate of data packet transmission. In this way, interruption occurs at the application layer can be avoided, and data transmission reliability can be improved.
- processing unit 11 is specifically configured to:
- the processing unit 11 obtains a transmission state of each data packet based on one of the following information by using the first protocol layer entity:
- FIG. 5 is a schematic structural diagram of another communications apparatus according to an embodiment of this application.
- the apparatus is a terminal device, and the second device is a network device.
- the apparatus further includes a receiving unit 13, where the receiving unit 13 is further configured to receive fourth indication information from the second device or a third device, and the fourth indication information includes a parameter of the timer corresponding to a radio bearer or a QoS service flow.
- the apparatus is a terminal device, and the second device is a network device; and the sending unit 12 is further configured to send fifth indication information to the second device or a third device, and the fifth indication information includes a parameter of the timer corresponding to a radio bearer or a QoS service flow.
- the apparatus is a terminal device, and the second device is a network device;
- the apparatus is a terminal device, and the second device is a network device; and the processing unit 11 is specifically configured to: adjust, based on second parameter information configured by the second device, the radio resource configuration parameter used to transmit a data packet when the timer is in a disabled state.
- the apparatus is a terminal device, and the second device is a network device; and the processing unit 11 is specifically configured to:
- the communications apparatus provided in this embodiment of this application may perform the foregoing corresponding method embodiment.
- the implementation principles and the technical effects of the communications apparatus are similar to those in the method embodiment. Details are not described herein again.
- division into the units of the apparatus is merely logical function division. During actual implementation, all or some of the units may be integrated into a physical entity, or the units may be physically separate. In addition, all of the units may be implemented in a form of software invoked by a processing element, or implemented in a form of hardware. Alternatively, some of the units may be implemented in a form of software invoked by a processing element, and some of the units may be implemented in a form of hardware. For example, the sending unit may be a processing element disposed separately, or may be integrated into a chip of the apparatus for implementation.
- the sending unit may be stored in a memory of the apparatus in a form of a program, and invoked by a processing element of the apparatus to perform the function of the sending unit. Implementation of other units is similar. In addition, all or some of the units may be integrated together, or may be implemented independently.
- the processing element described herein may be an integrated circuit with a signal processing capability. In an implementation process, steps in the method or the units can be implemented by using a hardware integrated logical circuit in the processing element, or by using instructions in a form of software.
- the foregoing sending unit is a sending control unit, and may send information through a sending apparatus of the apparatus, for example, an antenna and a radio frequency apparatus.
- the foregoing units may be one or more integrated circuits configured to perform the foregoing method, for example, one or more application-specific integrated circuits (application specific integrated circuit, ASIC), one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA).
- ASIC application specific integrated circuit
- DSP digital signal processor
- FPGA field programmable gate array
- the processing element may be a general-purpose processor, for example, a central processing unit (central processing unit, CPU) or another processor that can invoke a program.
- the units may be integrated and implemented in a form of a system-on-a-chip (system-on-a-chip, SOC).
- FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of this application.
- the terminal includes a processor 110, a memory 120, and a transceiver apparatus 130.
- the transceiver apparatus 130 may be connected to an antenna.
- the transceiver apparatus 130 receives, through the antenna, information sent by a base station, and sends the information to the processor 110 for processing.
- the processor 110 processes data of the terminal, and sends the data to the base station through the transceiver apparatus 130.
- the memory 120 is configured to store a program for implementing the foregoing method embodiment or the modules in the embodiment shown in FIG. 4 or FIG. 5 .
- the processor 110 invokes the program to perform the operations in the foregoing method embodiment, to implement the modules shown in FIG. 4 or FIG. 5 .
- the foregoing modules may be implemented in a form of an integrated circuit that is embedded in a chip of the terminal.
- the modules may be separately implemented, or may be integrated together.
- the foregoing units may be configured as one or more integrated circuits for implementing the foregoing method, for example, one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA).
- ASIC Application Specific Integrated Circuit
- DSP digital signal processor
- FPGA Field Programmable Gate Array
- FIG. 7 is a schematic structural diagram of a base station according to an embodiment of this application.
- the base station includes an antenna 110, a radio frequency apparatus 120, and a baseband apparatus 130.
- the antenna 110 is connected to the radio frequency apparatus 120.
- the radio frequency apparatus 120 receives, through the antenna 110, information sent by a terminal, and sends, to the baseband apparatus 130 for processing, the information sent by the terminal.
- the baseband apparatus 130 processes the information of the terminal and sends the information to the radio frequency apparatus 120
- the radio frequency apparatus 120 processes the information of the terminal and then sends the information to the terminal through the antenna 110.
- the foregoing modules are implemented in a form of a processing element scheduling a program.
- the baseband apparatus 130 includes a processing element 131 and a storage element 132, and the processing element 131 invokes a program stored in the storage element 132, to perform the method in the foregoing method embodiment.
- the baseband apparatus 130 may further include an interface 133, configured to exchange information with the radio frequency apparatus 120.
- the interface is, for example, a common public radio interface (common public radio interface, CPRI).
- the foregoing modules may be configured as one or more processing elements to implement the foregoing method, and the processing elements are arranged on the baseband apparatus 130.
- the processing element herein may be an integrated circuit, for example, one or more ASICs, one or more DSPs, or one or more FPGAs.
- the integrated circuits may be integrated together to form a chip.
- the foregoing modules may be integrated together and implemented in a form of a system-on-a-chip (system-on-a-chip, SOC).
- the baseband apparatus 130 includes an SOC chip, configured to implement the foregoing method.
- the processing element 131 and the storage element 132 may be integrated into the chip, and the processing element 131 invokes the program stored in the storage element 132, to implement the foregoing method or functions of the foregoing units.
- at least one integrated circuit may be integrated in the chip to implement the foregoing method or functions of the foregoing units.
- functions of some units are implemented in a form of a processing element invoking a program, and functions of some units are implemented in a form of an integrated circuit.
- the base station includes at least one processing element, a storage element, and a communications interface, and the at least one processing element is configured to perform the method provided in the foregoing method embodiment.
- the processing element may perform some or all of the steps in the foregoing method embodiment in a first manner, that is, in a manner of executing the program stored in the storage element, or in a second manner, that is, in a manner of using an integrated logic circuit of hardware in the processor element in combination with an instruction.
- the method according to the foregoing method embodiment may also be performed in combination with the first manner and the second manner.
- the processing element herein is the same as that described above, may be a general-purpose processor, for example, a central processing unit (Central Processing Unit, CPU), or may be one or more integrated circuits configured to implement the foregoing method, for example, one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA).
- ASIC Application Specific Integrated Circuit
- DSP digital signal processor
- FPGA Field Programmable Gate Array
- the storage element may be a memory, or may be a general name of a plurality of storage elements.
- This application further provides a storage medium, including a readable storage medium and a computer program.
- the computer program is used to implement the communication method provided in any one of the foregoing embodiments.
- This application further provides a program product, where the program product includes a computer program (namely, executable instructions), and the computer program is stored in a readable storage medium.
- At least one processor of a first device may read the computer program from the readable storage medium, and the at least one processor executes the computer program, so that the first device performs the communication method provided in the foregoing various implementations.
- An embodiment of this application further provides a communications apparatus, including at least one storage element and at least one processing element.
- the at least one storage element is configured to store a program.
- the communications apparatus is enabled to perform an operation of the first device in any one of the foregoing embodiments.
- the foregoing memory includes: a read-only memory (English: read-only memory, ROM for short), a RAM, a flash memory, a hard disk, a solid-state drive, a magnetic tape (English: magnetic tape), a floppy disk (English: floppy disk), an optical disc (English: optical disc), and any combination thereof.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Environmental & Geological Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811458547.0A CN111262648B (zh) | 2018-11-30 | 2018-11-30 | 通信方法和装置 |
PCT/CN2019/115248 WO2020108231A1 (fr) | 2018-11-30 | 2019-11-04 | Procédé et appareil de communication |
Publications (2)
Publication Number | Publication Date |
---|---|
EP3883158A1 true EP3883158A1 (fr) | 2021-09-22 |
EP3883158A4 EP3883158A4 (fr) | 2022-01-05 |
Family
ID=70852638
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP19889821.5A Pending EP3883158A4 (fr) | 2018-11-30 | 2019-11-04 | Procédé et appareil de communication |
Country Status (4)
Country | Link |
---|---|
US (1) | US11936472B2 (fr) |
EP (1) | EP3883158A4 (fr) |
CN (1) | CN111262648B (fr) |
WO (1) | WO2020108231A1 (fr) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200116015A (ko) * | 2018-02-05 | 2020-10-08 | 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 | 링크 품질 검출 방법 및 단말 기기 |
CN113708889A (zh) * | 2020-05-22 | 2021-11-26 | 维沃移动通信有限公司 | 数据传输方法和设备 |
WO2022021317A1 (fr) * | 2020-07-31 | 2022-02-03 | Zte Corporation | Temps de survie pour relâchement des exigences de qualité de service |
WO2022151637A1 (fr) * | 2021-01-15 | 2022-07-21 | Apple Inc. | Transmission de données priorisée |
CN114828087A (zh) * | 2021-01-18 | 2022-07-29 | 大唐移动通信设备有限公司 | 数据传输方法、终端、网络侧设备及计算机可读存储介质 |
CN115119263A (zh) * | 2021-03-23 | 2022-09-27 | 维沃移动通信有限公司 | 信息反馈、接收方法、装置及通信设备 |
CN115314167A (zh) * | 2021-05-07 | 2022-11-08 | 华为技术有限公司 | 一种ue传输参数调整方法及装置 |
US20230388044A1 (en) * | 2022-05-27 | 2023-11-30 | Qualcomm Incorporated | Continuous phase modulation in wireless communications |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1379033A1 (fr) * | 2002-07-01 | 2004-01-07 | Siemens Mobile Communications S.p.A. | Procédé de libération de TBFs individuels dans la voie aval dans un système de radiocommunication mobile |
KR101691480B1 (ko) * | 2010-04-06 | 2017-01-09 | 삼성전자주식회사 | 이동통신 시스템에서 패킷 재전송 방법 및 장치 |
CN109714136B (zh) * | 2013-04-09 | 2021-11-19 | 华为技术有限公司 | 一种通讯方法和终端 |
US20150305041A1 (en) * | 2014-04-16 | 2015-10-22 | Electronics And Telecommunications Research Institute | Method and apparatus for providing service using radio resource aggregation |
US10554340B2 (en) * | 2015-08-21 | 2020-02-04 | Intel IP Corporation | PDCP status reports using sequence numbers or sequence number offsets |
CN106550470A (zh) * | 2015-09-18 | 2017-03-29 | 中国移动通信集团公司 | 一种数据传输方法及装置 |
GB2551485A (en) * | 2016-06-14 | 2017-12-27 | Fujitsu Ltd | Providing service data flow description |
CN107734547A (zh) * | 2016-08-12 | 2018-02-23 | 中兴通讯股份有限公司 | 状态报告生成和系统,及状态报告接收方法 |
US10750410B2 (en) * | 2016-09-30 | 2020-08-18 | Huawei Technologies Co., Ltd. | Ultra reliable low latency connection support in radio access networks |
CN108923894B (zh) * | 2017-03-23 | 2023-04-18 | 中兴通讯股份有限公司 | 一种信息传输的方法、用户设备、基站、存储介质和系统 |
WO2018182366A1 (fr) * | 2017-03-30 | 2018-10-04 | 삼성전자 주식회사 | Procédé de traitement de données en fonction des tcp/ip |
KR102293998B1 (ko) * | 2017-03-30 | 2021-08-27 | 삼성전자 주식회사 | Tcp/ip를 고려한 데이터 처리 방법 |
US11277769B2 (en) * | 2017-11-22 | 2022-03-15 | Kyocera Corporation | Communication method, radio communication apparatus, and processor |
US11115892B2 (en) * | 2018-02-15 | 2021-09-07 | Ofinno, Llc | Beam failure information for radio configuration |
CN112997432A (zh) * | 2018-11-01 | 2021-06-18 | 苹果公司 | 针对空闲模式下的预配置上行链路资源的传输、重传和harq过程 |
-
2018
- 2018-11-30 CN CN201811458547.0A patent/CN111262648B/zh active Active
-
2019
- 2019-11-04 WO PCT/CN2019/115248 patent/WO2020108231A1/fr unknown
- 2019-11-04 EP EP19889821.5A patent/EP3883158A4/fr active Pending
-
2021
- 2021-05-28 US US17/334,318 patent/US11936472B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111262648A (zh) | 2020-06-09 |
EP3883158A4 (fr) | 2022-01-05 |
CN111262648B (zh) | 2021-09-07 |
US20210288747A1 (en) | 2021-09-16 |
WO2020108231A1 (fr) | 2020-06-04 |
US11936472B2 (en) | 2024-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11936472B2 (en) | Communication method and communications apparatus for improving reliability of data transmission | |
US11671988B2 (en) | Configured grant and dynamic grant transmission | |
CN112088575B (zh) | 用于在拒绝时处置周期性无线电接入网络通知区域(rna)更新配置的方法 | |
US12022517B2 (en) | Non-scheduling resource based data sending method and apparatus thereof | |
US11405147B2 (en) | Enhanced wireless device and wireless network processes | |
US10833810B2 (en) | Method for executing HARQ in wireless communication system and device therefor | |
JP6693565B2 (ja) | 無線通信システムにおける短い送信時間間隔に基づく通信のための方法 | |
CN111480359B (zh) | 用于发送数据单元的通信设备、处理设备及方法 | |
EP2383927B1 (fr) | Procédé et appareil pour redémarrage d'un temporisateur d'une porteuse composante dans un système de communication sans fil | |
EP3791681B1 (fr) | Procédé permettant de suspendre un état inactif lors de la reprise et de reprendre l'état inactif lors de la suspension | |
EP3122147A1 (fr) | Système de communication sans fil, dispositif de terminal, procédé de communication sans fil, circuit intégré et procédé de traitement | |
EP3122075B1 (fr) | Dispositif, procédé et circuit intégré pour double connectivité | |
EP2230878A1 (fr) | Procédé et dispositif de communication associé pour reconfiguration de contrôle de lien radio dans un système de communication sans fil | |
EP3371915B1 (fr) | Noeud de réseau, procédé correspondant, programme informatique et porteuse comprenant le programme informatique de retransmission d'une pdu rlc | |
KR101147664B1 (ko) | 무선 통신 시스템에서의 무선 링크 제어 재설정 방법 및 관련 통신 기기 | |
WO2019191999A1 (fr) | Procédé et appareil de détermination de ressources, procédé d'indication et appareil | |
WO2018177014A1 (fr) | Procédé et dispositif de réglage d'un débit d'envoi de données de terminal | |
CN112640522A (zh) | 用于在无线通信系统中发送和接收数据的方法和装置 | |
US20230217525A1 (en) | Method and apparatus for providing cell group activation or deactivation service in wireless communication system | |
TW202226879A (zh) | 降低多分支傳輸中封包延遲的方法和裝置 | |
JP7306474B2 (ja) | ビーム失敗回復方法、装置及び通信システム | |
KR102110190B1 (ko) | 통신 시스템에서 bwp 운용을 위한 방법 및 장치 | |
WO2020074069A1 (fr) | Transmissions de demande d'ordonnancement améliorées dans des réseaux sans fil | |
JP6915721B2 (ja) | ユーザ装置及び基地局による方法 | |
CN114828087A (zh) | 数据传输方法、终端、网络侧设备及计算机可读存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
17P | Request for examination filed |
Effective date: 20210614 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
A4 | Supplementary search report drawn up and despatched |
Effective date: 20211203 |
|
RIC1 | Information provided on ipc code assigned before grant |
Ipc: H04L 12/24 20060101ALI20211129BHEP Ipc: H04L 1/16 20060101ALI20211129BHEP Ipc: H04L 1/08 20060101ALI20211129BHEP Ipc: H04L 12/26 20060101ALI20211129BHEP Ipc: H04L 1/18 20060101ALI20211129BHEP Ipc: H04W 72/08 20090101ALI20211129BHEP Ipc: H04L 1/00 20060101AFI20211129BHEP |
|
DAV | Request for validation of the european patent (deleted) | ||
DAX | Request for extension of the european patent (deleted) | ||
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: EXAMINATION IS IN PROGRESS |
|
17Q | First examination report despatched |
Effective date: 20230517 |