WO2022056746A1 - Communication method and communication apparatus - Google Patents

Communication method and communication apparatus Download PDF

Info

Publication number
WO2022056746A1
WO2022056746A1 PCT/CN2020/115696 CN2020115696W WO2022056746A1 WO 2022056746 A1 WO2022056746 A1 WO 2022056746A1 CN 2020115696 W CN2020115696 W CN 2020115696W WO 2022056746 A1 WO2022056746 A1 WO 2022056746A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission mode
point
data packet
receiving window
receiving
Prior art date
Application number
PCT/CN2020/115696
Other languages
French (fr)
Chinese (zh)
Inventor
许斌
李秉肇
曹振臻
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2020/115696 priority Critical patent/WO2022056746A1/en
Publication of WO2022056746A1 publication Critical patent/WO2022056746A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a communication method and a communication device.
  • Multicast broadcast service is a service for multiple terminal equipment (User Equipment, UE), such as live broadcast service, public safety service, batch software update service, etc.
  • UE User Equipment
  • the MBS service comes from the data server.
  • the data server sends the MBS data to the core network device, then the core network device sends the MBS data to the access network device, and finally the access network device sends the MBS data to at least one terminal device that receives the MBS service.
  • the access network equipment can send the MBS service to the terminal equipment in various transmission modes. How to realize the switching between different transmission modes and data processing and maintain the reliability of the service transmission is a problem that needs to be solved.
  • the present application provides a communication method and a communication device, which can realize switching between different transmission modes and data processing, and improve the reliability of service transmission.
  • a communication method including: a radio link control entity of a terminal device receives a first data packet sent by a network device, and the first data packet is transmitted in a first transmission mode.
  • the terminal device updates the parameters of the reception window of the RLC entity, and the reception window is used to reassemble the SDU segment of the service data unit.
  • the parameters of the receiving window include: one or more of a reassembly timer, a receiving state variable, and a receiving window size.
  • the receiving state variable may include the earliest SN (RX_Next_Reassembly) of the SNs waiting for reassembly, the next SN of the SN that triggers the reassembly timer (RX_Timer_Trigger), and the next SN of the largest SN of all received SNs (RX_Next_Highest) one or more of.
  • the radio link control entity receives a second data packet, the second data packet is transmitted through a second transmission mode, and the first transmission mode and the second transmission mode are one of a point-to-multipoint transmission mode and a point-to-point transmission mode and another.
  • the terminal device has a protocol stack architecture of a single RLC entity, and the single RLC entity receives data packets in point-to-point and point-to-multipoint transmission modes, thereby reducing the complexity of the terminal device.
  • the network device sends the first data packet in the first transmission mode, then switches the transmission mode to the second transmission mode, and sends the second data packet in the second transmission mode.
  • the terminal device updates the RLC entity's reception parameters of the window, so as to ensure the continuity of service transmission.
  • the terminal device receives first indication information sent by the network device, where the first indication information is used to instruct the first transmission mode to switch to the second transmission mode.
  • the terminal device judges that the transmission mode is switched from the first transmission mode to the second transmission mode according to the first indication information, and updates the parameters of the receiving window of the RLC entity.
  • the network device sends the first indication information to the terminal device to indicate that the transmission mode is switched, and the terminal device can update the parameters of the receiving window in time according to the indication information.
  • the first indication information may specifically indicate the first transmission mode and/or the second transmission mode, or the first indication information indicates that the transmission mode is switched.
  • the terminal device when the first indication information indicates the first transmission mode and/or the second transmission mode, the terminal device can know, according to the first indication information, whether the switched transmission mode is the point-to-point transmission mode or the point-to-multipoint transmission mode Which of the transfer modes.
  • the terminal device can know that the transmission mode is switched, and the terminal device further determines whether the switched transmission mode is the point-to-point transmission mode or the point-to-point transmission mode according to the second data packet received after the transmission mode is switched. Multipoint transmission mode.
  • the terminal device determines, according to the second data packet, that the transmission mode is switched from the first transmission mode to the second transmission mode.
  • the terminal device when the terminal device receives the second data packet, it can learn which transmission mode the network device transmits. At this time, the terminal device may compare the transmission mode of the currently received second data packet with the transmission mode of the last received data packet, so as to determine whether the transmission mode has been switched.
  • the first transmission mode is a point-to-multipoint transmission mode
  • the second transmission mode is a point-to-point transmission mode.
  • the updating of the parameters of the receiving window of the radio link control entity by the terminal device includes: updating the parameters of the receiving window as an initial value, and the initial value may be specified by a protocol.
  • the terminal device when the network device switches from the first transmission mode to the second transmission mode, the terminal device updates the parameters of the receiving window of the RLC entity to the initial value, and the update to the initial value compares the implementation requirements of the terminal device It is simple, and since the terminal device has the same understanding of the SN allocation method adopted when the terminal device receives the data packet and the network device transmits it, it can prevent data packet loss or data merging errors after switching the transmission mode.
  • the first transmission mode is a point-to-multipoint transmission mode
  • the second transmission mode is a point-to-point transmission mode.
  • Updating the parameter of the receiving window of the RLC entity includes: updating the parameter of the receiving window as a first parameter, and the first parameter is the parameter of the receiving window in the last point-to-point transmission mode.
  • the first parameter may be a parameter of the receiving window of the terminal device when the terminal device receives the last service data unit or service data unit segment transmitted in the last point-to-point transmission mode.
  • the terminal device when the network device switches from the first transmission mode to the second transmission mode, the terminal device updates the parameters of the receiving window of the RLC entity to the parameters of the receiving window in the last point-to-point transmission mode, This allows the terminal device to continue to receive data packets following the last stored receiving state, without the need for the terminal device to perform additional actions, and because the terminal device has the same understanding of the SN allocation method used when the terminal device receives the data packet and the network device sends it, it can prevent Packet loss or data merging error after switching transmission modes.
  • the first transmission mode is a point-to-point transmission mode
  • the second transmission mode is a point-to-multipoint transmission mode.
  • the terminal device receives the second indication information sent by the network device, where the second indication information is used to indicate the serial number SN.
  • the terminal equipment updating the parameters of the receiving window of the RLC entity includes: updating the parameters of the receiving window according to the SN.
  • the terminal device when the network device switches from the first transmission mode to the second transmission mode, the terminal device receives the second indication information sent by the network device, and the second indication information indicates the value of the SN.
  • the terminal device may update the parameters of the receiving window according to the value of the SN indicated by the second indication information. Packet loss or data merging errors after switching transmission modes can be prevented.
  • the second data packet includes a service data unit SDU segment.
  • Updating the parameters of the receiving window of the RLC entity includes: updating the parameters of the receiving window according to the sequence number SN, where the sequence number SN is the first SDU segment received by the terminal device in the second transmission mode.
  • the terminal device when the network device switches from the first transmission mode to the second transmission mode, the terminal device receives the SDU segment sent by the network device, and the terminal device can receive the SDU segment according to the first SDU segment received in the second transmission mode. Update the parameters of the receive window, thereby preventing packet loss or data merging errors after switching transmission modes.
  • the first data packet includes a SDU segment, and when switching from the first transmission mode to the second transmission mode, the terminal device discards the receiving window and receives in the first transmission mode SDU segment.
  • a communication method including: a radio link control entity of a network device sends a first data packet in a first transmission mode. Switching from the first transmission mode to the second transmission mode, the network device determines the SN of the second data packet.
  • the second data packet may include a service data unit SDU segment, the second data packet includes a packet header, and the packet header includes an SN number of the SDU segment.
  • the RLC of the terminal device can reassemble the SDU segments according to the SN number in the packet header to assemble a complete SDU, and the RLC of the terminal device sends the assembled complete SDU to the PDCP.
  • the radio link control entity of the network device sends the second data packet in the second transmission mode.
  • the first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
  • the SN number of the second data packet may refer to the SN number allocated to the second data packet by the RLC of the network device. It can also be understood that the network device determines the SN of the second data packet as the network device updates the SN number of the second data packet.
  • the network device switches the transmission mode from the first transmission mode to the second transmission mode, and the network device determines the SN number of the second data packet. By updating the SN number of the second data packet, the situation of data packet transmission loss or data merging errors can be avoided.
  • the first transmission mode is a point-to-multipoint transmission mode
  • the second transmission mode is a point-to-point transmission mode
  • SN is an initial value.
  • the initial value can be specified by the protocol, for example, the initial value is 1.
  • the SN number of the SDU segment of the second data packet may be updated to an initial value.
  • the first transmission mode is a point-to-multipoint transmission mode
  • the second transmission mode is a point-to-point transmission mode.
  • the network device determining the SN of the second data packet includes: the network device determining the SN according to the first SN, where the first SN is the maximum SN corresponding to the SDU segment transmitted in the last point-to-point transmission mode.
  • the maximum SN refers to the SN with the largest value among the SNs corresponding to the SDU segment transmitted in the last point-to-point transmission mode.
  • the network device may update the SN of the second data packet to the first SN+1. For example, when the first SN is 7, the network device may update the SN of the second data packet to 8.
  • the SN number of the SDU segment of the second data packet may be updated to the maximum SN corresponding to the SDU segment transmitted in the last point-to-point transmission mode.
  • the first data packet includes a service data unit SDU segment.
  • a complete SDU corresponding to the first SDU segment is sent in the second transmission mode, and the first SDU segment is at least one of the SDU segments sent in the first transmission mode.
  • the complete SDU corresponding to the first SDU segment is sent in the second transmission mode, the complete SDU may be sent directly, or all the first SDU segments corresponding to the complete SDU may be segmented in the second sent in transfer mode.
  • the continuity of service transmission can be ensured.
  • the first transmission mode is a point-to-point transmission mode
  • the second transmission mode is a point-to-multipoint transmission mode.
  • the method further includes: the network device sends second indication information to the terminal device, where the second indication information is used to indicate the serial number SN, and the serial number SN is used to instruct the terminal device to update the parameters of the receiving window according to the SN.
  • the network device when the network device switches from the first transmission mode to the second transmission mode, the network device sends second indication information, and the second indication information indicates the value of the SN.
  • the terminal device may update the parameters of the receiving window according to the value of the SN indicated by the second indication information. Packet loss or data merging errors after switching transmission modes can be prevented.
  • a communication method including: a terminal device receiving first configuration information, where the first configuration information is used to configure at least one first receiving window and at least one second receiving window of a radio link control entity RLC.
  • the first receiving window is used for receiving the first data packet transmitted in the point-to-point transmission mode
  • the second receiving window is used for receiving the second data packet transmitted in the point-to-multipoint transmission mode.
  • the terminal device receives the first data packet and/or the second data packet.
  • two receiving windows in an RLC entity are respectively used to receive data packets transmitted in the point-to-point transmission mode and data packets transmitted in the point-to-multipoint transmission mode, and each receiving window maintains its own Receive window variable, packet receive buffer or receive window parameter.
  • the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
  • the terminal device sends capability information to the network device, where the capability information is used to indicate to the network device that the terminal device supports the same RLC configuration with at least two receiving windows.
  • the network device may send the first configuration information to the terminal device according to the capability information sent by the terminal device.
  • the scheduling information of the second data packet transmitted by using PTM is scrambled by using G-RNTI
  • the scheduling information of the first data packet transmitted by using PTP is scrambled by using C-RNTI .
  • the terminal device may decide which receiving window to put the data packet into for processing according to the scrambled RNTI type.
  • a communication method comprising: a network device sending first configuration information to a terminal device, where the first configuration information is used to configure at least one first receiving window and at least one first receiving window of a radio link control entity RLC of the terminal device The second receiving window.
  • the first receiving window is used for receiving the first data packet in the point-to-point transmission mode
  • the second receiving window is used for receiving the second data packet in the point-to-multipoint transmission mode. Sending the first data packet and/or the second data packet.
  • the network device sends configuration information to the terminal device, which is used to configure at least two receiving windows in one RLC entity of the terminal device. At least two receive windows are respectively used to receive data packets transmitted in point-to-point transmission mode and data packets transmitted in point-to-multipoint transmission mode, and each receive window maintains its own receive window variable, data packet receive buffer or Receive window parameters. In this way, no matter how the point-to-multipoint transmission mode and the point-to-point transmission mode are switched, the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
  • the network device receives capability information of the terminal device, where the capability information is used to indicate to the network device that the terminal device supports the same RLC configuration with at least two receiving windows.
  • the network device may send the first configuration information to the terminal device according to the capability information sent by the terminal device.
  • the scheduling information of the second data packet transmitted by using PTM is scrambled by using G-RNTI
  • the scheduling information of the first data packet transmitted by using PTP is scrambled by using C-RNTI .
  • the network device uses G-RNTI to scramble the scheduling information of the second data packet transmitted using PTM, and uses C-RNTI to scramble the scheduling information of the first data packet transmitted using PTP.
  • the terminal device can decide which receiving window to put the data packet into for processing according to the type of scrambled RNTI.
  • a communication apparatus may be a terminal device, comprising: a transceiver module for receiving a first data packet and a second data packet, the first data packet is transmitted in a first transmission mode, and a second data packet The data packets are transmitted through the second transmission mode.
  • a processing module configured to reassemble the first data packet and/or the second data packet by using the receiving window of the RLC entity.
  • the processing module is further configured to update the parameters of the reception window of the RLC entity when the first transmission mode is switched to the second transmission mode.
  • the receive window is used to reassemble service data unit SDU segments.
  • the parameters of the receiving window include: one or more of a reassembly timer, a receiving state variable, and a receiving window size.
  • the receiving state variable may include the earliest SN (RX_Next_Reassembly) of the SNs waiting for reassembly, the next SN of the SN that triggers the reassembly timer (RX_Timer_Trigger), and the next SN of the largest SN of all received SNs (RX_Next_Highest) one or more of.
  • the first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
  • the terminal device has a protocol stack architecture of a single RLC entity, and the single RLC entity receives data packets in point-to-point and point-to-multipoint transmission modes, thereby reducing the complexity of the terminal device.
  • the network device sends the first data packet in the first transmission mode, then switches the transmission mode to the second transmission mode, and sends the second data packet in the second transmission mode.
  • the terminal device updates the RLC entity's reception parameters of the window, so as to ensure the continuity of service transmission.
  • the transceiver module is configured to receive first indication information sent by the network device, where the first indication information is used to instruct the first transmission mode to switch to the second transmission mode.
  • the processing module of the terminal device is configured to determine, according to the first indication information, that the transmission mode is switched from the first transmission mode to the second transmission mode, and update the parameters of the receiving window of the RLC entity.
  • the network device sends the first indication information to the terminal device to indicate that the transmission mode is switched, and the terminal device can update the parameters of the receiving window in time according to the indication information.
  • the first indication information may specifically indicate the first transmission mode and/or the second transmission mode, or the first indication information indicates that the transmission mode is switched.
  • the terminal device when the first indication information indicates the first transmission mode and/or the second transmission mode, the terminal device can know, according to the first indication information, whether the switched transmission mode is the point-to-point transmission mode or the point-to-multipoint transmission mode Which of the transfer modes.
  • the terminal device can know that the transmission mode is switched, and the terminal device further determines whether the switched transmission mode is the point-to-point transmission mode or the point-to-point transmission mode according to the second data packet received after the transmission mode is switched. Multipoint transmission mode.
  • the processing module is configured to determine, according to the second data packet, that the transmission mode is switched from the first transmission mode to the second transmission mode.
  • the terminal device when the terminal device receives the second data packet, it can learn which transmission mode the network device transmits. At this time, the terminal device may compare the transmission mode of the currently received second data packet with the transmission mode of the last received data packet, so as to determine whether the transmission mode has been switched.
  • the first transmission mode is a point-to-multipoint transmission mode
  • the second transmission mode is a point-to-point transmission mode.
  • the parameter used by the processing module to update the receiving window of the RLC entity includes: the parameter used by the processing module to update the receiving window is an initial value, and the initial value may be specified by a protocol.
  • the terminal device when the network device switches from the first transmission mode to the second transmission mode, the terminal device updates the parameters of the receiving window of the RLC entity to the initial value, which can prevent the loss of data packets or the loss of data packets after switching the transmission mode. Data merge error.
  • the first transmission mode is a point-to-multipoint transmission mode
  • the second transmission mode is a point-to-point transmission mode.
  • the parameters used by the processing module to update the receiving window of the radio link control entity include: the parameters used by the processing module to update the receiving window are the first parameters, and the first parameters are the parameters of the receiving window in the last point-to-point transmission mode.
  • the first parameter may be a parameter of the receiving window of the terminal device when the terminal device receives the last service data unit or service data unit segment transmitted in the last point-to-point transmission mode.
  • the terminal device when the network device switches from the first transmission mode to the second transmission mode, the terminal device updates the parameters of the receiving window of the RLC entity to the parameters of the receiving window in the last point-to-point transmission mode, Packet loss or data merging errors after switching transmission modes can be prevented.
  • the first transmission mode is a point-to-point transmission mode
  • the second transmission mode is a point-to-multipoint transmission mode.
  • the transceiver module is further configured to receive second indication information sent by the network device, where the second indication information is used to indicate the serial number SN.
  • the processing module used to update the parameters of the receiving window of the RLC entity includes: the processing module is used to update the parameters of the receiving window according to the SN.
  • the terminal device when the network device switches from the first transmission mode to the second transmission mode, the terminal device receives the second indication information sent by the network device, and the second indication information indicates the value of the SN.
  • the terminal device may update the parameters of the receiving window according to the value of the SN indicated by the second indication information. Packet loss or data merging errors after switching transmission modes can be prevented.
  • the second data packet includes a service data unit SDU segment.
  • the parameters used by the processing module to update the receiving window of the RLC entity include: the processing module is used to update the parameters of the receiving window according to the sequence number SN, and the sequence number SN is the first SDU received by the terminal device in the second transmission mode segment.
  • the terminal device when the network device switches from the first transmission mode to the second transmission mode, the terminal device receives the SDU segment sent by the network device, and the terminal device can receive the SDU segment according to the first SDU segment received in the second transmission mode. Update the parameters of the receive window, thereby preventing packet loss or data merging errors after switching transmission modes.
  • the first data packet includes a service data unit SDU segment
  • the processing module when switching from the first transmission mode to the second transmission mode, is configured to discard the receiving window in the first transmission mode the received SDU segment.
  • a communication apparatus configured to be a network device, and includes: a transceiver module configured to send a first data packet in a radio link control entity in a first transmission mode.
  • the processing module is used for switching from the first transmission mode to the second transmission mode.
  • the processing module is further configured to determine the SN of the second data packet.
  • the second data packet may include a service data unit SDU segment, the second data packet includes a packet header, and the packet header includes an SN number of the SDU segment.
  • the RLC of the terminal device can reassemble the SDU segments according to the SN number in the packet header to assemble a complete SDU, and the RLC of the terminal device sends the assembled complete SDU to the PDCP.
  • the SN number of the second data packet may refer to the SN number allocated to the second data packet by the RLC of the network device. It can also be understood that the network device determines the SN of the second data packet as the network device updates the SN number of the second data packet.
  • a transceiver module configured to send the second data packet in the RLC entity in a second transmission mode.
  • the first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
  • the network device switches the transmission mode from the first transmission mode to the second transmission mode, and the network device determines the SN number of the second data packet. By updating the SN number of the second data packet, the situation of data packet transmission loss or data merging errors can be avoided.
  • the first transmission mode is a point-to-multipoint transmission mode
  • the second transmission mode is a point-to-point transmission mode
  • SN is an initial value.
  • the initial value can be specified by the protocol, for example, the initial value is 1.
  • the SN number of the SDU segment of the second data packet may be updated to an initial value.
  • the first transmission mode is a point-to-multipoint transmission mode
  • the second transmission mode is a point-to-point transmission mode.
  • the processing module configured to determine the SN of the second data packet includes: the processing module is configured to determine the SN according to the first SN, where the first SN is the maximum SN corresponding to the SDU segment transmitted in the last point-to-point transmission mode.
  • the maximum SN refers to the SN with the largest value among the SNs corresponding to the SDU segment transmitted in the last point-to-point transmission mode.
  • the network device may update the SN of the second data packet to the first SN+1. For example, when the first SN is 7, the network device may update the SN of the second data packet to 8.
  • the SN number of the SDU segment of the second data packet may be updated to the maximum SN corresponding to the SDU segment transmitted in the last point-to-point transmission mode.
  • the first data packet includes a service data unit SDU segment.
  • the transceiver module is configured to send a complete SDU corresponding to the first SDU segment in the second transmission mode, where the first SDU segment is at least one of the SDU segments sent in the first transmission mode.
  • the complete SDU corresponding to the first SDU segment is sent in the second transmission mode, the complete SDU may be sent directly, or all the first SDU segments corresponding to the complete SDU may be segmented in the second sent in transfer mode.
  • the continuity of service transmission can be ensured.
  • the first transmission mode is a point-to-point transmission mode
  • the second transmission mode is a point-to-multipoint transmission mode.
  • the transceiver module is further configured to send second indication information to the terminal equipment, where the second indication information is used to indicate the serial number SN, and the serial number SN is used to instruct the terminal equipment to update the parameters of the receiving window according to the SN.
  • the transceiver module when switching from the first transmission mode to the second transmission mode, is further configured to send second indication information, where the second indication information indicates the value of the SN.
  • the terminal device may update the parameters of the receiving window according to the value of the SN indicated by the second indication information. Packet loss or data merging errors after switching transmission modes can be prevented.
  • a communication apparatus may be a terminal device, and includes: a transceiver module for receiving the first configuration information.
  • the processing module is configured to configure at least one first receiving window and at least one second receiving window of the radio link control entity RLC according to the first configuration information.
  • the first receiving window is used for receiving the first data packet transmitted in the point-to-point transmission mode
  • the second receiving window is used for receiving the second data packet transmitted in the point-to-multipoint transmission mode.
  • the transceiver module is further configured to receive the first data packet and/or the second data packet.
  • two receiving windows in an RLC entity are respectively used to receive data packets transmitted in the point-to-point transmission mode and data packets transmitted in the point-to-multipoint transmission mode, and each receiving window maintains its own Receive window variable, packet receive buffer or receive window parameter.
  • the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
  • the transceiver module is configured to send capability information, where the capability information is used to indicate to the network device that the terminal device supports the same RLC configuration with at least two receiving windows.
  • the network device may send the first configuration information to the terminal device according to the capability information sent by the terminal device.
  • a communication device comprising: a transceiver module for sending first configuration information, where the first configuration information is used to configure at least one first receiving window and at least one second receiving window of a radio link control entity RLC .
  • the first receiving window is used for receiving the first data packet in the point-to-point transmission mode
  • the second receiving window is used for receiving the second data packet in the point-to-multipoint transmission mode.
  • the transceiver module is further configured to send the first data packet and/or the second data packet.
  • the processing module is configured to control the transceiver module to send the first configuration information and/or to control the transceiver module to send the first data packet and/or the second data packet.
  • the network device sends configuration information to the terminal device, which is used to configure at least two receiving windows in one RLC entity of the terminal device. At least two receive windows are respectively used to receive data packets transmitted in point-to-point transmission mode and data packets transmitted in point-to-multipoint transmission mode, and each receive window maintains its own receive window variable, data packet receive buffer or Receive window parameters. In this way, no matter how the point-to-multipoint transmission mode and the point-to-point transmission mode are switched, the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
  • the transceiver module is further configured to receive capability information of the terminal device, where the capability information is used to indicate to the network device that the terminal device supports the same RLC configuration with at least two receiving windows.
  • the network device may send the first configuration information to the terminal device according to the capability information sent by the terminal device.
  • a ninth aspect provides a computer-readable storage medium comprising instructions that, when run on a computer, cause the computer to perform the method of implementing any possible implementation of the first aspect.
  • a tenth aspect provides a computer-readable storage medium comprising instructions that, when run on a computer, cause the computer to perform the method of implementing any possible implementation of the second aspect.
  • An eleventh aspect provides a computer-readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method in any possible implementation of the third aspect.
  • a twelfth aspect provides a computer-readable storage medium comprising instructions that, when run on a computer, cause the computer to perform the method of implementing any possible implementation of the fourth aspect.
  • a thirteenth aspect provides a communication apparatus, the communication apparatus includes a memory and a processor, the memory is used for storing instructions, the processor is used for executing the instructions stored in the memory, and processing the instructions stored in the memory Execution causes the processor to execute the method in any possible implementation of the first aspect.
  • a fourteenth aspect provides a communication device, the communication device includes a memory and a processor, the memory is used for storing instructions, the processor is used for executing the instructions stored in the memory, and processing the instructions stored in the memory. Execution causes the processor to perform the method in any possible implementation of the second aspect.
  • a fifteenth aspect provides a communication apparatus, the communication apparatus includes a memory and a processor, the memory is used for storing instructions, the processor is used for executing the instructions stored in the memory, and processing the instructions stored in the memory Execution causes the processor to execute the method in any possible implementation manner of the third aspect.
  • a sixteenth aspect provides a communication apparatus, the communication apparatus includes a memory and a processor, the memory is used for storing instructions, the processor is used for executing the instructions stored in the memory, and processing the instructions stored in the memory. Execution causes the processor to execute the method in any possible implementation manner of the fourth aspect.
  • a seventeenth aspect provides a communication system, including the communication device of the fifth aspect and the communication device of the seventh aspect.
  • An eighteenth aspect provides a communication system, including the communication device of the sixth aspect and the communication device of the eighth aspect.
  • a nineteenth aspect provides a computer program product comprising instructions, the computer program product is used to store a computer program, when the computer program is run on a computer, the computer causes the computer to execute any possible method of the first aspect above method in the implementation.
  • a twentieth aspect provides a computer program product comprising instructions, the computer program product is used to store a computer program, and when the computer program is run on a computer, the computer causes the computer to execute any possible method of the second aspect above. method in the implementation.
  • a twenty-first aspect provides a computer program product comprising instructions, the computer program product is used to store a computer program, when the computer program is run on a computer, the computer enables the computer to perform any possibility of the third aspect above method in the implementation.
  • a twenty-second aspect provides a computer program product containing instructions, the computer program product is used to store a computer program, and when the computer program is run on a computer, the computer enables the computer to perform any possibility of the fourth aspect above method in the implementation.
  • FIG. 1 is a schematic diagram of a network architecture to which an embodiment of the present application is applicable;
  • FIG. 2 is a schematic diagram of another network architecture to which the embodiments of the present application are applicable;
  • FIG. 3 is a schematic diagram of another network architecture to which the embodiment of the present application is applicable.
  • FIG. 4 is a schematic diagram of a multicast broadcast service transmission architecture to which an embodiment of the present application is applicable;
  • FIG. 5 is a schematic structural diagram of a protocol stack for transmitting an MBS service provided by an embodiment of the present application
  • FIG. 6 is a flowchart of a communication method provided by the first embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 9 is another schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 10 is another schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 11 is another schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
  • Terminal device It can be a wireless terminal device that can receive network equipment scheduling and instruction information.
  • the wireless terminal device can be a device that provides voice and/or data connectivity to users, or a handheld device with wireless connection function, or a connection other processing equipment to the wireless modem.
  • Terminal equipment can communicate with one or more core networks or the Internet via a radio access network (RAN), and the terminal equipment can be a mobile terminal equipment, such as a mobile phone (or "cellular" phone, mobile phone (mobile phone), computer and data cards, for example, may be portable, pocket-sized, hand-held, computer built-in or vehicle mounted mobile devices that exchange language and/or data with the radio access network.
  • RAN radio access network
  • Wireless terminal equipment may also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile station (MS), a remote station, an access point ( access point (AP), remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent), subscriber station (SS), user terminal equipment (customer premises equipment, CPE), terminal (terminal), user equipment (user equipment, UE), mobile terminal (mobile terminal, MT), etc.
  • the terminal device may also be a wearable device and a next-generation communication system, for example, a terminal device in a 5G communication system or a terminal device in a future evolved public land mobile network (PLMN).
  • PLMN public land mobile network
  • the device for implementing the function of the terminal may be the terminal, or may be a circuit capable of supporting the terminal to implement the function, for example, a circuit that may be applied to a chip system.
  • the chip system can be installed in a terminal.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • Network device It can be a device in a wireless network.
  • a network device can be a radio access network (RAN) node (or device) that connects a terminal device to a wireless network, also known as a base station.
  • RAN equipment are: generation Node B (gNodeB), transmission reception point (TRP), evolved Node B (evolved Node B, eNB), wireless network in the 5G communication system Controller (radio network controller, RNC), Node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, Or home Node B, HNB), base band unit (base band unit, BBU), or wireless fidelity (wireless fidelity, Wi-Fi) access point (access point, AP), etc.
  • RNC radio network controller
  • Node B Node B
  • BSC base station controller
  • base transceiver station base transceiver station
  • BTS home
  • the network device may include a centralized unit (centralized unit, CU) node, or a distributed unit (distributed unit, DU) node, or a RAN device including a CU node and a DU node.
  • the network device may be other devices that provide wireless communication functions for the terminal device.
  • the embodiments of the present application do not limit the specific technology and specific device form adopted by the network device. For convenience of description, in this embodiment of the present application, a device that provides a wireless communication function for a terminal device is referred to as a network device.
  • the network equipment may also include core network equipment, the core network equipment may be a 5G core network, and the core network equipment includes but is not limited to: AMF, User plane Function (UPF), Authentication Server Function (AUSF) ), Data Network (DN), Unstructured Data Storage Function (UDFS), Network Exposure Function (NEF), NF Repository Function (NF Repository Function, NRF), Network SliceSelection Function (NSSF), Policy Control Function (PCF), Session Management Function (SMF), Unified Data Management (UDM), Unified Data warehouse function (Unified Data Repository, UDR) or application layer function (Application Function, AF).
  • AMF User plane Function
  • AUSF Authentication Server Function
  • DN Data Network
  • UDFS Unstructured Data Storage Function
  • NEF Network Exposure Function
  • NRF NF Repository Function
  • NSSF Network SliceSelection Function
  • PCF Policy Control Function
  • SMS Session Management Function
  • UDM Unified Data Management
  • UDR Unified Data warehouse function
  • UDR Unified
  • system and “network” in the embodiments of the present application may be used interchangeably.
  • “At least one” means one or more, and “plurality” means two or more.
  • “And/or”, which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • “At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example "at least one of A, B and C” includes A, B, C, AB, AC, BC or ABC.
  • ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, sequence, priority or importance of multiple objects degree.
  • first threshold and the second threshold are only for distinguishing different thresholds, and do not indicate the difference in priority or importance of the two thresholds.
  • FIG. 1 is a schematic diagram of a network architecture to which an embodiment of the present application is applied.
  • the terminal device 130 can be connected to a wireless network to obtain services of an external network (eg, the Internet) through the wireless network, or communicate with other devices through the wireless network, for example, can communicate with other terminal devices.
  • the wireless network includes a radio access network (RAN) device 110 and a core network (core network, CN) device 120, wherein the RAN device 110 is used to access the terminal device 130 to the wireless network, and the CN device 120 is used to connect the terminal device 130 to the wireless network.
  • the number of each device in the communication system shown in FIG. 1 is only for illustration, and the embodiments of the present application are not limited to this. In practical applications, the communication system may also include more terminal devices 130 and more RAN devices. 110, other devices may also be included.
  • the CN may include a plurality of CN devices 120.
  • the CN devices 120 may be access and mobility management function (AMF) entities, session management Function (session management function, SMF) entity or user plane function (user plane function, UPF) entity, etc.
  • AMF access and mobility management function
  • SMF session management Function
  • UPF user plane function
  • the CN device 120 can be a mobility management entity (mobility management entity). entity, MME) and serving gateway (serving gateway, S-GW), etc.
  • FIG. 2 is a schematic diagram of another network architecture to which this embodiment of the present application is applicable.
  • the network architecture includes CN equipment, RAN equipment and terminal equipment.
  • the RAN equipment includes a baseband device and a radio frequency device, where the baseband device can be implemented by one node or multiple nodes, and the radio frequency device can be implemented independently from the baseband device, or can be integrated in the baseband device, or some functions Independent integration, some functions are integrated in the baseband device.
  • a RAN equipment includes a baseband device and a radio frequency device, wherein the radio frequency device may be arranged remotely relative to the baseband device, for example, a remote radio unit (remote radio unit, RRU) is arranged relative to the BBU remote wireless unit.
  • a remote radio unit remote radio unit, RRU
  • the control plane protocol layer structure may include a radio resource control (RRC) layer, a packet data convergence protocol (packet data convergence protocol, PDCP) layer. , radio link control (radio link control, RLC) layer, media access control (media access control, MAC) layer and physical layer and other protocol layer functions; user plane protocol layer structure can include PDCP layer, RLC layer, MAC layer
  • RRC radio resource control
  • RLC radio link control
  • MAC media access control
  • user plane protocol layer structure can include PDCP layer, RLC layer, MAC layer
  • SDAP service data adaptation protocol
  • a RAN device may implement the functions of protocol layers such as RRC, PDCP, RLC, and MAC by one node, or may implement the functions of these protocol layers by multiple nodes.
  • a RAN device may include a CU) and a DU, and multiple DUs may be centrally controlled by one CU.
  • the CU and DU can be divided according to the protocol layers of the wireless network. For example, the functions of the PDCP layer and above are set in the CU, and the functions of the protocol layers below PDCP, such as the RLC layer and the MAC layer, are set in the DU.
  • this protocol layer is only an example, and it can also be divided at other protocol layers, for example, at the RLC layer, the functions of the RLC layer and the above protocol layers are set in the CU, and the functions of the protocol layers below the RLC layer are set in the DU; Alternatively, in a certain protocol layer, for example, some functions of the RLC layer and functions of the protocol layers above the RLC layer are placed in the CU, and the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer are placed in the DU. In addition, it can also be divided in other ways, for example, by time delay, the functions whose processing time needs to meet the delay requirements are set in the DU, and the functions that do not need to meet the delay requirements are set in the CU.
  • radio frequency device may be integrated independently, not placed in the DU, may also be integrated in the DU, or partially remote and partially integrated in the DU, which is not limited herein.
  • FIG. 3 is a schematic diagram of another network architecture to which this embodiment of the present application is applied.
  • the control plane (CP) and user plane (UP) of the CU can also be separated and divided into different entities for implementation, namely the control plane (CP) CU entity ( That is, the CU-CP entity) and the user plane (user plane, UP) CU entity (that is, the CU-UP entity).
  • CP control plane
  • UP user plane
  • the signaling generated by the CU can be sent to the terminal device through the DU, or the signaling generated by the terminal device can be sent to the CU through the DU.
  • the DU may not parse the signaling, but directly encapsulate it through the protocol layer and transparently transmit it to the terminal device or CU.
  • the sending or receiving of the signaling by the DU includes this scenario.
  • the signaling of the RRC or PDCP layer is finally processed as the signaling of the PHY layer and sent to the terminal device, or is converted from the received signaling of the PHY layer.
  • the signaling of the RRC or PDCP layer can also be considered to be sent by the DU, or sent by the DU and radio frequency loading.
  • the network architecture shown in FIG. 1 , FIG. 2 or FIG. 3 can be applied to communication systems of various radio access technologies (RATs), such as an LTE communication system, or a 5G (or referred to as 5G) communication system.
  • the new wireless (new radio, NR) communication system can also be a transition system between the LTE communication system and the 5G communication system.
  • the transition system can also be called a 4.5G communication system, and of course it can also be a future communication system.
  • the network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute limitations on the technical solutions provided by the embodiments of the present application.
  • the evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • the apparatuses in the following embodiments of the present application may be located in terminal equipment or network equipment according to the functions implemented by them.
  • the network device may be a CU node, or a DU node, or a RAN device including a CU node and a DU node.
  • FIG. 4 is a schematic diagram of a multicast broadcast service transmission architecture to which an embodiment of the present application is applied.
  • Multicast broadcast service (Multicast and Broadcast Service, MBS) is a service for multiple terminal devices, such as live broadcast service, public safety service, batch software update service, etc.
  • the MBS service transmission process includes: the MBS service comes from the data server 401. First, the data server 401 sends the MBS data to the core network device 402, then the core network device 402 sends the MBS data to the RAN device 403, and finally the RAN device sends the MBS data to the RAN device 403. 403 Send the MBS data to at least one terminal device that receives the MBS service.
  • MBS services are transmitted through a common transmission channel MBS session, and when sending from RAN to terminal equipment, there are two transmission modes: the first one can use point-to-multipoint (point-to-multipoint) multi-point, PTM) transmission mode, the second can use point to point (point to point, PTP) transmission mode.
  • PTM point-to-multipoint
  • PTP point to point
  • the PTM transmission mode may also be called a group scheduling mode or a multicast transmission mode, which refers to a transmission mode in which a certain service sends data to multiple terminal devices simultaneously through a network device.
  • a network device such as a RAN device
  • PTM is mainly divided into two types: multimedia broadcast multicast service single frequency network (MBSFN) and single cell point to multipoint (SC-PTM).
  • MBSFN mode refers to that multiple mutually synchronized cells in the MBSFN area, such as multiple RAN devices, simultaneously transmit the same information to multiple terminal devices.
  • the received data is a single superimposed data, which can improve the strength of the received signal and eliminate the interference between cells.
  • the SC-PTM mode means that MBS services are transmitted only through one cell, such as one RAN device, and one network device simultaneously performs group scheduling on multiple terminal devices.
  • Sending in the PTM transmission mode means: when a device sends a transport block (TB) corresponding to a protocol data unit (PDU), it uses a group radio network temporary identifier (G-RNTI) ) scramble the PDU, or scramble the downlink control information (DCI) corresponding to the PDU, and at the same time one or more devices receive the same PDU according to the same G-RNTI.
  • G-RNTI group radio network temporary identifier
  • DCI downlink control information
  • using the PTM transmission mode to transmit a PDU may refer to informing multiple devices of the location of the same PDU in a semi-static manner, and multiple devices may receive the PDU at the same time.
  • using the PTM transmission mode to transmit a PDU may mean that the PDU is transmitted in a radio bearer established for multicast transmission or in a channel specially designed for multicast transmission.
  • Receiving in the PTM transmission mode refers to: when the transmitting device transmits in the PTM transmission mode, one device among the plurality of receiving devices receives the PDU according to the G-RNTI. Or one of the plurality of receiving devices receives the PDU through the radio bearer established for the multicast transmission or on the channel used for the multicast transmission.
  • multicast is a specific form of multicast, and therefore, multicast may also be called multicast.
  • Sending in the PTP transmission mode means: when a device sends the TB corresponding to the PDU, it uses the cell network temporary identifier (C-RNTI) to scramble the PDU, or scramble the DCI corresponding to the PDU. At the same time only one device receives the same PDU according to the C-RNTI.
  • C-RNTI cell network temporary identifier
  • the use of PTP transmission mode to transmit a PDU may mean that the PDU is transmitted in a radio bearer established for unicast or in a channel specially designed for unicast.
  • Receiving in the PTP transmission mode refers to: when the transmitting device transmits in the PTP transmission mode, a receiving device receives the PDU according to the C-RNTI. Either a receiving device receives via a radio bearer established for unicast transmission or receives on a channel for unicast transmission.
  • PDCP is located above the MAC layer and the RLC layer, and data transmission is from network equipment to terminal equipment.
  • 5 is a schematic diagram of a protocol stack structure for transmitting an MBS service provided by an embodiment of the present application. As shown in FIG. 5 , the dotted line with an arrow represents the data transmission direction, and the data transmission process of the MBS service is as follows:
  • the data first arrives at the PDCP layer of the network device, and is then transmitted to the RLC layer and the MAC layer after being processed by the PDCP layer of the network device. After processing, it is sent from the physical layer and transmitted to the terminal device through the air interface. Then, each protocol layer of the terminal device sequentially performs corresponding processing on the data packets according to the processing sequence opposite to that of the network device.
  • the processing of data packets by various layers can be visually combined, which is called wireless bearer. For each data in the wireless bearer, it needs to be processed by each layer, and each layer has corresponding Function entities to perform corresponding functions, such as PDCP entities of the PDCP layer.
  • Each radio bearer configuration will contain a PDCP entity, and at the same time, the radio bearer configuration will be associated with at least one RLC entity, and each RLC entity corresponds to a logical channel.
  • the network device can flexibly decide which transmission mode to use for transmission, that is, it can dynamically switch the transmission mode.
  • two RLC entities are used to transmit PTP and PTM respectively. If the MBS data packets from the PDCP layer decide to use the PTP transmission mode, they will be placed in the RLC entity corresponding to the PTP for processing, and then the PTP will be used. The transmission method is sent to the terminal device. On the contrary, after being processed in another RLC entity, it is sent to the terminal number device using the PTM transmission mode.
  • the two RLC entities can perform PTP and PTM-related processing respectively, and the network device can perform flexible and dynamic switching between the two different transmission modes.
  • Transparent Mode corresponds to the TMRLC entity, referred to as the TM entity. This mode can be considered as the RLC does not do any processing, because in this mode the RLC only provides the pass through function of the data.
  • AM Acknowledged Mode
  • AM corresponding to the AM RLC entity, referred to as the AM entity.
  • AM acknowledged Mode
  • This mode provides all RLC functions, including the Automatic Repeat Request (ARQ) function described below.
  • ARQ Automatic Repeat Request
  • Unacknowledged Mode corresponds to the UM RLC entity, referred to as the UM entity. This mode provides all RLC functions except retransmission and re-segmentation, and provides an unreliable transmission service because there is no retransmission function even if the data packet is transmitted in error.
  • the network device In wireless communication, after the terminal device enters the connected state, when there is a service that needs to be transmitted, the network device will configure the wireless bearer for the terminal device for service transmission.
  • the configuration of the wireless bearer includes the configuration information of RLC, according to the service of the service.
  • Quality of service (QoS) requirements RLC can be configured to any one of the above working modes.
  • RLC is configured as UM RLC, if an RLC Service Data Unit (SDU) is not fragmented when it is sent, there is no need to add a sequence number ( Serial Number, SN), if the SDU is segmented when it is sent, the SN needs to be added to the header of the RLC PDU composed of RLC SDU segments.
  • SDU RLC Service Data Unit
  • SN Serial Number
  • the RLC layer of the receiver can directly submit it to the upper layer after receiving it without reading the SN, but for a PDU composed of segmented SDUs, the receiver needs to judge which SDUs are based on the SN in the packet header. The segments belong to the same complete SDU, thus assembling it together.
  • Protocol data unit PDU The information exchanged between the peer layers by the protocol of the protocol layer.
  • An SDU is a unit of information that is transmitted from a higher-layer protocol to a lower-layer protocol.
  • the unprocessed data entering each sublayer is called a service data unit (SDU), and the data that is processed by the sublayer and formed into a specific format is called a protocol data unit (PDU).
  • SDU service data unit
  • PDU protocol data unit
  • the PDU formed by this layer is the SDU of the next layer. According to the data of the protocol data unit, it is sent to the designated layer of the receiving end.
  • the first data packet and the second data packet in the embodiments of the present application refer to PDU or SDU or PDU segment or SDU segment, and PDU or SDU or or PDU segment or SDU segment are different forms of data packets.
  • the first data packet/second data packet from PDCP received by the RLC entity of the network device is the PDCP PDU or RLC SDU, and the RLC entity of the network device can process the RLC SDU as required,
  • the RLC SDU segment is formed.
  • the RLC PDU contains the RLC header.
  • the header The SN number will be included in the RLC SDU, which is used for the terminal equipment at the receiving end to reassemble the SDU segment; when adding a packet header to the complete RLC SDU, the packet header will not contain the SN number.
  • the first data packet/second data packet received by the terminal device is the PDU or the SDU or the PDU segment or the SDU segment.
  • the communication method provided by the embodiment of the present application may be based on a single RLC entity protocol stack architecture. It is worth noting that the single RLC entity protocol stack architecture in the present invention is all for the same radio bearer, that is, only one radio bearer has only one An architecture including or associated with one RLC entity may include multiple radio bearers for a terminal device or a base station, that is, a terminal device or a base station may include multiple RLC entities.
  • the protocol stack architecture provided by the embodiment of the present application includes an RLC entity, and the working mode of the RLC entity can be dynamically switched to meet the processing requirements of the data packet transmission mode when dynamically switching between the PTP and PTM transmission modes.
  • the RLC entity When using this protocol stack to dynamically switch the transmission mode, since there is only one RLC, time division multiplexing can be used for RLC processing, that is, when the PTP transmission method is used, the RLC entity performs PTP transmission related processing on the data packets. When the PTM transmission mode is adopted, the RLC entity performs PTM transmission-related processing on the data packets.
  • the communication method provided by the embodiment of the present application uses a single RLC entity protocol stack architecture to switch transmission modes, so that processing data packets through different transmission modes can significantly reduce the specification requirements for terminal equipment and improve data transmission performance.
  • the communication method provided in this embodiment of the present application may include two possible solutions, which are referred to as solution one and solution two for convenience of description.
  • the first solution and the second solution are only a general introduction to the technical solutions provided by the embodiments of the present application. It should be noted that this is only for better understanding of the core idea of the technical solutions of the embodiments of the present application, and does not represent a limitation on the embodiments of the present application.
  • the terminal device and the network device are the protocol stack architecture of a single RLC entity
  • the network device sends the first data packet in the first transmission mode, then switches the transmission mode to the second transmission mode, and sends in the second transmission mode.
  • the network device updates the allocation method of the RLC SN
  • the terminal device updates the parameters of the receiving window of the RLC entity, thereby ensuring the reliability of service transmission.
  • the terminal device and the network device are the protocol stack architecture of a single RLC entity, and the RLC entity of the terminal device is configured with at least two receiving windows, which are respectively used to receive data packets transmitted in different transmission modes, thereby ensuring the reliability of service transmission. .
  • FIG. 6 is a flowchart of a communication method provided by the first embodiment of the present application.
  • the communication method of the first embodiment includes:
  • the radio link control entity of the network device sends the first data packet in the first transmission mode, and the radio link entity of the terminal device receives the first data packet.
  • the network device sends the first data packet to the terminal device.
  • the radio link control entity of the network device may be referred to as a transmitter RLC entity, and the radio link control entity of the terminal device may be referred to as a receiver RLC entity.
  • the first transmission mode may be PTP or PTM.
  • the first data packet may be a data packet of an MBS service, and the network device may be an access network device or a base station.
  • the first data packet comes from the data server and is sent to the core network device.
  • the core network device sends the first data packet to the base station.
  • the data arrives at the PDCP layer of the base station, and is processed by the PDCP layer of the base station and then transmitted to the RLC layer and the MAC layer. After processing, it is sent from the physical layer and transmitted to the terminal through the air interface. equipment.
  • the physical layer of the terminal device first receives the first data packet, and after processing, transmits it to higher layers such as the MAC layer, the RLC layer, and the PDCP layer for corresponding processing.
  • the first data packet is sent to the RLC layer after being processed by PDCP
  • the first data packet received by the RLC layer may be called an RLC SDU
  • the first data packet after being processed by the RLC layer may be called an RLC PDU.
  • the first data packet from a higher layer can be called the first data packet when processed by each protocol layer, which means that it is the same data packet, and other data packets are similar.
  • the RLC entity at the receiving end When the RLC entity at the receiving end receives data from the MAC, it will do the following: 1. Detect whether the RLC SDU or RLC SDU segment is lost. 2. Reassemble the RLC SDU into a complete RLC SDU, and submit it to the PDCP layer after the reorganization is successful. When the RLC is configured in UM mode, only the segmented SDU will be placed in the receiving window, and the complete RLC SDU will be directly submitted. to the PDCP layer. 3. If the reassembly timer expires or the receiving window moves, so that the RLC SDU cannot be reassembled, the received segment corresponding to the SDU is discarded.
  • the network device switches from the first transmission mode to the second transmission mode.
  • the second transmission mode may be PTP.
  • the second transmission mode may be PTM.
  • the protocol stack architecture of the network device may be a single RLC entity, and switch between the first transmission mode and the second transmission mode in a time-division multiplexing manner.
  • the radio link control entity of the network device determines the SN of the second data packet, sends the second data packet in the second transmission mode, and the radio link control entity of the terminal device receives the second data packet.
  • the second data packet may be a data packet related to the MBS service, and the second data packet comes from the data server and is sent to the core network device.
  • the core network device sends the second data packet to the base station.
  • the data first reaches the PDCP layer of the base station, and is processed by the PDCP layer of the base station and then transmitted to the RLC layer and the MAC layer. After processing, it is sent from the physical layer and transmitted to the terminal through the air interface. equipment. Equivalently, the physical layer of the terminal device first receives the second data packet, and after processing, transmits it to higher layers such as the MAC layer, the RLC layer, and the PDCP layer for corresponding processing.
  • the RLC entity of the network device may need to assign an SN number to the second data packet.
  • the second data packet contains an RLC SDU segment.
  • the SN number of the SDU segment may be independently set by the RLC entity.
  • the network device will not be able to determine how to allocate the SN to the data packet, which is prone to data packet transmission loss or data merging. wrong situation.
  • the network device can improve the reliability of data transmission by determining the SN number of the second data packet.
  • determining the SN of the second data packet can be understood as updating the SN of the second data packet distribution method.
  • the terminal device may update the parameters of the receiving window of the RLC entity accordingly to ensure the reliability of data transmission.
  • the parameters of the receiving window of the RLC entity may include one or more of: a reassembly timer (t-Reassembly), a receiving state variable, and a receiving window size.
  • the reassembly timer is used by the RLC entity to determine that the data packet is lost. Specifically, when the RLC entity finds that the SDU or SDU segment corresponding to a certain SN number has not been received, it is considered that the SN number triggers the start of the reassembly timer. When the timer expires, it is considered that the SDU or SDU segment corresponding to the SN number is lost.
  • the receiving state variable may include the earliest SN (RX_Next_Reassembly) of the SNs waiting for reassembly, the next SN of the SN that triggers the reassembly timer (RX_Timer_Trigger), and the next SN of the largest SN of all received SNs (RX_Next_Highest) one or more of.
  • RX_Next_Highest can also be considered as the upper edge of the receive window.
  • the receiving window size (UM_Window_Size) is a constant used by the RLC entity to determine the SN that can be received without sliding the receiving window forward.
  • the receiving window can be determined by the SN number and the receiving window size corresponding to the lower edge of the receiving window, or by The SN number corresponding to the upper edge of the receiving window and the size of the receiving window are determined.
  • the SDU segment with the SN number greater than or equal to 5 and less than 10 can be directly put into the receiving window.
  • SDU segments with SN numbers less than 5 they will be discarded.
  • the SN may refer to the PDU, PDU segment, SDU or SDU segment corresponding to the SN, one complete SDU corresponds to one SN, and multiple SDU segments belonging to the same complete SDU correspond to the same SN.
  • the parameters of the receiving window of the RLC entity need to be updated, and the updated parameters of the receiving window include RX_Next_Highest, the state of the reassembly timer, etc. Data merging errors or packet loss can be prevented by updating the parameters of the receiving window.
  • the terminal device can determine that the transmission mode has been switched in two ways:
  • the terminal device receives the second data packet, which is a data packet generated by the network device through the second transmission mode.
  • the terminal device can learn which transmission mode the network device transmits.
  • the terminal device may compare the transmission mode of the currently received second data packet with the transmission mode of the last received data packet, so as to determine whether the transmission mode has been switched.
  • the terminal device receives the first indication information sent by the network device, where the first indication information is used to instruct the first transmission mode to be switched to the second transmission mode.
  • the terminal device receives the first indication information, it can know that the transmission mode is switched at this time, so as to update the parameters of the receiving window.
  • the content indicated by the first indication information may include two types: in one case, the first indication information may specifically indicate the first transmission mode and the second transmission mode, for example, the first indication information may indicate that the transmission mode at this time is from point to The multicast transmission mode is switched to the point-to-point transmission mode. In another case, the first indication information may only indicate that the transmission mode is switched, and the specific transmission mode is switched from the point-to-multipoint transmission mode to the point-to-point transmission mode or from the point-to-point transmission mode to the point-to-point transmission mode The multicast mode is not specified. At this time, the terminal device can judge by itself what kind of switching it is.
  • the terminal device before receiving the first indication information, it uses the point-to-point transmission mode to receive data packets, and after receiving the first indication information, the terminal device can know that it is a point-to-point transmission. The mode is switched to point-to-multipoint transmission mode. In addition, it is also possible to determine which type of switching is by receiving the second data packet. For example, the second data packet is a data packet sent by the network device in the second transmission mode. At this time, the terminal device learns through the first indication information that the transmission mode is switched, and determines through the second data packet that the switched transmission mode is the second transmission mode.
  • the terminal device When the terminal device makes a judgment, if it is the first transmission mode before switching, it switches from the first transmission mode to the second transmission mode; if it is the second transmission mode before switching, the terminal device considers that the switching has not occurred, and this happens. The reason may be that the terminal device has missed the previous switching command, or the transmission of the network device has an error.
  • the terminal device can report the indication information, indicating that the transmission mode of the network device before and after the switch is the same.
  • the first transmission mode is PTM and the second transmission mode is PTP as an example for description.
  • the RLC entity of the network device sends the first data packet in PTM, and the RLC entity of the network device can segment the first data packet received from the PDCP layer to form 3 RLC SDU segments, and each The RLC SDU segment adds a header, and the header contains the SN number.
  • the SN numbers of SDU segments belonging to the same complete SDU are the same, for example, the SN number of three RLC SDU segments is 9.
  • the network device sequentially sends the SDU segments to the terminal device.
  • the RLC entity of the network device may also directly transmit a PDU containing a complete SDU to the terminal device without segmenting the first data packet received from the PDCP layer.
  • the RLC entity of the terminal device receives the first data packet, and buffers the SDU segments in the receiving window. After receiving all the SDU segments belonging to the same complete SDU, the SDU segments are reassembled, and the reassembly is completed and sent to the PDCP .
  • the parameters of the receiving window can be: the upper edge of the receiving window, RX_Next_Highest, can be set to No. 10. Assuming that the UM_Window_Size of the size of the receiving window is 6, the range of the receiving window is SN No. 4-10.
  • the reorganization timer has been started , it may correspond to an SN number in the range of 5-10, or it may not be activated.
  • step 602 the network device switches the transmission mode from PTM to PTP.
  • the RLC entity of the network device will send data packets through the switched transmission mode.
  • the RLC entity of the network device sends the second data packet by PTP.
  • the network device needs to determine the SN number of the second data packet.
  • the network device can use the allocation before the handover.
  • the method or the allocation method of the SN number of the second data packet is updated, and the terminal device correspondingly updates the parameters of the receiving window.
  • the update of the SN number allocation of the second data packet by the network device needs to be consistent with the update of the parameters of the receiving window by the terminal device. Specifically, there are two update methods:
  • the distribution method of the network device updating SN is to start the distribution from the initial value, and the parameter of the terminal device updating the receiving window is the initial value, wherein the initial value can be specified by the protocol or pre-configured by the network device.
  • the RLC entity of the network device can segment the data received from the PDCP layer to form multiple RLC SDU segments, and add a packet header to the SDU segment.
  • the packet header contains an SN number, which is the RLC SN.
  • the SN number of the SDU segment of the first data packet has been set to 9.
  • the SN number of the SDU segment of the second data packet can be updated to an initial value, such as 0 or 1.
  • the RLC entity of the network device updates the way of allocating the SN number.
  • the terminal device will update the parameters of the receiving window of the RLC entity. By updating the parameters of the receiving window, the occurrence of packet loss during data packet transmission can be prevented. This will be explained in detail below:
  • the terminal device does not update the parameters of the receiving window.
  • the receiving window parameter status of the RLC entity of the terminal device is as follows: the upper edge of the receiving window RX_Next_Highest is No. 10, the UM_Window_Size of the receiving window size is 6, and the range of the receiving window is SN No. 4-10.
  • the SN number of the SDU segment of the second data packet is 1, which falls outside the lower edge of the receiving window. The SDU segment of the second data packet with the SN number of 1 will be discarded and cannot be received by the receiving window, thereby causing packet loss.
  • the terminal device In mode 1, when the transmission mode is switched, the terminal device will update the parameters of the receiving window to the initial value. Assuming the initial value is 1, the SDU segment of the second data packet with the SN number of 1 can be placed in the receiving window for waiting. Reassembly to avoid packet loss.
  • the network device determines the SN of the second data packet according to the first SN, where the first SN is the maximum SN corresponding to the SDU segment transmitted in the last point-to-point transmission mode.
  • the terminal device updates the parameter of the receiving window as the first parameter, and the first parameter is the parameter of the receiving window in the last point-to-point transmission mode.
  • the network device performs two handover processes, the first handover is from PTP to PTM, and the second handover is from PTM to PTP.
  • the second handover is regarded as the current handover, and the first handover is regarded as the last handover.
  • the PTP transmission mode before the last handover may be referred to as the last PTP transmission mode, and the PTP transmission mode in the current handover is referred to as the current PTP transmission mode.
  • the two switching of the network device can be expressed as: the previous PTP transmission mode is switched to the PTM transmission mode, and the PTM transmission mode is switched to the current PTP transmission mode.
  • the RLC entity of the network device assigns SN numbers to each SDU segment in turn.
  • the first SDU includes SDU segment A, SDU segment
  • the SN number of segment B, SDU segment C, SDU segment A, SDU segment B, and SDU segment C is 1
  • the second SDU includes segment SDU segment D
  • the SN number of SDU segment is 2, with
  • the SN number of the last SDU segment transmitted in the last PTP transmission mode is 7.
  • the network device saves the SN number 7 as the maximum SN number in the last PTP transmission mode, and the maximum SN number may be called the first SN.
  • the transmission mode of the network device is switched from PTM to PTP, the network device transmits the second data packet in this PTP transmission mode, and updates the SN number of the second data packet before sending the second data packet .
  • the network device will determine the SN of the second data packet based on the first SN.
  • the network device may update the SN of the second data packet to the first SN+1.
  • the network device may update the SN of the second data packet to 8.
  • the process of updating the parameters of the receiving window of the RLC entity by the terminal device is as follows:
  • the state of the parameters of the receiving window of the RLC entity of the terminal device may be: receiving window The upper edge of RX_Next_Highest is 8, the UM_Window_Size of the size of the receiving window is 6, and the range of the receiving window is SN number 2-8.
  • the terminal device may save the parameter of the receiving window in the PTP transmission mode before the first switch, and the parameter may be referred to as the first parameter.
  • step 601 although before switching to the PTP transmission mode this time, in the PTM transmission mode, the state of the parameters of the receiving window of the RLC entity of the terminal device is: the upper edge of the receiving window RX_Next_Highest is 10, the size of the receiving window is 10 UM_Window_Size is 6, and the range of the receiving window is SN number 4-10.
  • the terminal device After switching to the PTP transmission mode this time, the terminal device will update the parameters of the receiving window to the first parameter: the upper edge of the receiving window RX_Next_Highest is 8, the UM_Window_Size of the size of the receiving window is 6, and the range of the receiving window is SN number 2 -8.
  • the receive window slide is received by the receive window. This prevents packet loss from occurring.
  • the terminal device may discard the SDU segments received in the previous PTP transmission mode.
  • the RLC entity of the network device receives the data packet sent via the PDCP, and the PDCP adds the PDCP SN to the data packet to form a PDCP PDU before sending the data packet to the RLC.
  • the RLC entity can choose to segment it to form multiple RLC SDU segments, and add a packet header to each RLC SDU segment, and the packet header contains the RLC SN number.
  • the SN numbers of the SDU segments belonging to the same complete SDU are the same, and the PDCP SN numbers corresponding to the SDU segments belonging to the same complete SDU are also the same.
  • the network device sends SDU segments to the terminal device, and the RLC entity of the terminal device reassembles the SDU segments with the same SN number after receiving the RLC SDU.
  • the network device will set the same RLC SN for the data packets with the same PDCP SN number, but during the transmission mode switching process, the RLC SN of the data packets with the same PDCP SN number may be different before and after the switching, in other words, it will cause different RLC SNs.
  • the data packets of PDCP SN have the same RLC SN before and after the handover. Since the RLC layer cannot see the PDCP SN number, it may reassemble the SDU segments with the same RLC SN number but different PDCP SN, resulting in errors.
  • the network device transmits a data packet by using the PTM transmission mode.
  • the PDCP SN for this packet is 5, and the RLCSN assigned for the RLC SDU segment is 2.
  • segment A and segment B there are two RLC SDU segments with SN of 2: segment A and segment B. If segment B is lost during transmission, a receiving window will be maintained on the terminal device side, and the SDUA segment with SN of 2 will be stored in it for reassembly.
  • the SN of the data packet of the PDCP layer corresponding to the RLC SDU segment is 5.
  • the network device When the network device switches the transmission mode, the network device will use PTP transmission. Since the network device also maintains only one RLC entity, it does not care that when the data packet is transmitted in the PTM transmission mode, the SN of the segmented RLC SDU data packet is set to what number. When the RLC SDU segment needs to be transmitted, the SN number will be set separately for the RLC SDU segment, and then sent to the terminal device. Assuming that the network device sends the SDU segment with the SN number of 2 to the terminal device by PTP, at this time, the PDCPSN corresponding to the SDU segment with the SN number of 2 sent by the PTP may be number 7.
  • the terminal device When the terminal device receives it, it will combine the SDU segment with RLC SN of 2 transmitted by PTP and the SDU segment of RLC SN of 2 transmitted by PTM. But in essence, the PDCP SN corresponding to the SDU segment whose RLC SN is 2 using PTP transmission is 7, and the PDCP SN corresponding to the SDU segment whose RLC SN is 2 using PTM transmission is 5. Combining the two will result in data packets Receive error.
  • the RLC entity can avoid allocating the same RLC SN number to PDCP data packets with different SN numbers. , causing a data merge error to occur.
  • the network device may continue to use the SN allocation method of the second data packet before the transmission mode switching, and the terminal device continues to maintain the parameters of the receiving window before switching the transmission mode after switching the transmission mode.
  • the network device updates the SN number of the second data packet to 10, that is, before the switching For the RLC SN used in the PTM transmission mode, set the SN for the RLC SDU segment transmitted in the PTP transmission mode.
  • the RLC entity of the terminal device can continue to maintain the parameters of the receiving window before switching the mode, and no additional update is required.
  • the receiving window parameter status of the RLC entity of the terminal device is: the upper edge RX_Next_Highest of the receiving window is No.
  • the UM_Window_Size of the receiving window size is 6, and the range of the receiving window is SN No. 4-10.
  • the parameters of the receiving window remain unchanged.
  • the network device when the transmission mode is switched from PTM to PTP, the network device has a greater degree of freedom in updating the SN of the second data packet.
  • the PTP transmission mode is point-to-point transmission, and the network device only sends data to one terminal. The device sends data without considering the situation of other end devices. Therefore, the network device may set the SN of the second data packet as an initial value, as the maximum SN of the SDU segment transmitted in the last PTP transmission mode, or other values.
  • the network device and the terminal device may agree on an update method in advance, for example, agree on the first method or the second method, or agree on other methods.
  • the network device in order to ensure service continuity, after the network device switches from the PTM transmission mode to the PTP transmission mode, at least one SDU transmitted through the PTM may be segmented or The complete RLC SDU corresponding to the SDU segment is transmitted through the PTP transmission method again, so that the RLC SDU can be transmitted through the PTP again even if the transmission through the PTM is unsuccessful.
  • the network device sends SDUs or SDU segments with SN numbers 7, 8, and 9, respectively, through the PTM transmission mode. For example: after switching to the PTP transmission mode, the complete SDU with SN number 9 can be sent again in the PTP transmission mode.
  • the SN of the new data packet is not set to 9, but the data packets that have been sent are repeated.
  • Send the data packet with the original SN of 9 has been sent once in the PTM transmission mode.
  • the data packet is sent again in the PTP transmission mode, thereby ensuring the continuity of service transmission.
  • the following description will be given by taking the first transmission mode as PTP and the second transmission mode as PTM as an example.
  • the RLC entity of the network device sends the first data packet by PTP, and the RLC entity of the network device may segment the first data packet received from the PDCP layer to form 3 RLC SDU segments, and for each The RLC SDU segment adds a header, and the header contains the SN number.
  • the SN numbers of SDU segments belonging to the same complete SDU are the same, for example, the SN number of three RLC SDU segments is 9.
  • the network device sequentially sends the SDU segments to the terminal device.
  • the RLC entity of the network device may also directly transmit a PDU containing a complete SDU to the terminal device without segmenting the first data packet received from the PDCP layer.
  • the RLC entity of the terminal device receives the first data packet, and buffers the SDU segments in the receiving window. After receiving all the SDU segments belonging to the same complete SDU, the SDU segments are reassembled, and the reassembly is completed and sent to the PDCP .
  • the parameters of the receiving window can be: the upper edge of the receiving window, RX_Next_Highest, can be set to No. 10. Assuming that the UM_Window_Size of the size of the receiving window is 6, the range of the receiving window is SN No. 4-10.
  • the reorganization timer has been started , it may correspond to an SN number in the range of 5-10, or it may not be activated.
  • step 602 the network device switches the transmission mode from PTP to PTM.
  • the RLC entity of the network device will send data packets through the switched transmission mode.
  • the RLC entity of the network device sends the second data packet by PTP. Before sending the second data packet, the network device needs to determine the SN number of the second data packet, or the SN number of the second data packet. The distribution method is updated.
  • PTM is a point-to-multipoint transmission mode.
  • the network device sends the same data packet to multiple terminal devices at the same time.
  • the SN setting of the second data packet by the network device needs to be consistent with the ongoing PTM transmission. Be consistent, that is, the addition of the terminal device cannot affect other terminal devices. Therefore, the network device needs to indicate the current latest SN number, or the first SN number that the terminal device should receive, to the terminal device through the second indication information. For example, in the transmission mode of PTP, the network device sends the first data packet to the first terminal device, and the receiving window of the first terminal device buffers the RLC SDU segment with the SN number of 3, and the RLC SDU segment is waiting for reassembly.
  • the network device may send second indication information to the terminal device, where the second indication information is used to indicate the SN of the second data packet, and the terminal device updates the receiving window according to the second indication information.
  • the network device can use the second indication information to indicate that the SN of the second data packet is 4.
  • the terminal device does not need to receive the data packet according to the receiving window maintained in the PTP transmission mode before the switch, but will receive the first data packet received by the receiving window. If the lower edge of a data packet or receiving window is set to 4, the terminal equipment receiving window expects the SN corresponding to the next received data packet to be 5, and data packets with SN greater than or equal to 4 can be placed in the receiving window.
  • the terminal device sets the first data packet of the receiving window to 4.
  • the terminal device may add 1 to the receiving window according to the SN indicated by the second indication information.
  • the first data packet of is set to 5, and the specific manner in which the terminal obtains the receiving window parameters according to the second indication information is not limited.
  • the network device may not send the second indication information, but directly send the second data packet in the switched transmission mode PTM, and the terminal device determines the parameters of the receiving window according to the received data packet.
  • the SN value of the first SDU segment sent by the network device after switching the transmission mode is 4, and the terminal device updates the parameters of the receiving window according to the SN of the first SDU segment.
  • the terminal equipment does not need to receive data packets according to the receiving window maintained in the PTP transmission mode before switching, but sets the first data packet received in the receiving window or the lower edge of the receiving window to 4, then the terminal equipment receiving window expects The SN corresponding to the next received data packet is 5, and the data packets whose SN is greater than or equal to 4 can be put into the receiving window. It is assumed here that the terminal device sets the first data packet of the receiving window to 4, or the first data packet of the receiving window can be set to 5 by adding 1 to the SN value of the first SDU segment.
  • the method for switching from PTP to PTM shown in the first embodiment of this application is also applicable to switching from PTM to PTP.
  • the network device updates the SN of the second data packet to the initial value or the maximum SN of the SDU segment transmitted in the last PTP transmission mode or other values.
  • the network device can also Sending the second indication information to the terminal device indicates the SN of the second data packet updated by the network device.
  • the terminal device may discard the SDU segments received through the PTP transmission mode.
  • the network device in order to ensure service continuity, before the network device decides to switch the PTP to the PTM, it needs to ensure that the transmission progress of the PTP is faster than the transmission progress of the PTM. For example, speed up the transmission of PTP until the transmission progress catches up or exceeds the PTM, because if the transmission progress of PTP is slower than that of PTM, some packets will not be received and packets will be lost.
  • the network device determines the SN of the second data packet, and the terminal device avoids data packet loss or loss by updating the parameters of the receiving window of the RLC entity. The occurrence of data erroneous merging, thereby ensuring the reliability of data transmission.
  • Fig. 7 is a flow chart of a communication method provided by the first embodiment of the present application, and the communication method of the second embodiment includes:
  • the terminal device receives first configuration information sent by the network device, where the first configuration information is used to configure at least one first receiving window and at least one second receiving window of the RLC, and the first receiving window is used to receive The first data packet transmitted in the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet transmitted in the point-to-multipoint transmission mode.
  • the terminal device receives the first data packet and/or the second data packet sent by the network device.
  • the network device sends first configuration information to the terminal device, and the terminal device maintains two receiving windows in one RLC entity according to the first configuration information, which are the first receiving window and the second receiving window respectively.
  • the two receiving windows in an RLC entity are respectively used to receive data packets transmitted in the point-to-point transmission mode and the data packets transmitted in the point-to-multipoint transmission mode, and reassemble the segmented data packets respectively.
  • Each receive window maintains its own receive window variable, data packet receive buffer or receive window parameter.
  • the terminal device puts the data packets received through PTP into the first receiving window for processing, and puts the data packets received through PTM into the second receiving window for processing. After processing, the data packets are all submitted to the same A PDCP entity.
  • the network device independently sets the SNs of the data packets using the PTM and PTP transmission modes. In this way, no matter how PTM and PTP are switched, network equipment and terminal equipment can maintain PTM and PTP transmission relatively independently.
  • the scheduling information of the second data packet transmitted by using PTM is scrambled by G-RNTI
  • the scheduling information of the first data packet transmitted by using PTP is scrambled by C-RNTI.
  • the further physical layer can identify the RNTI type corresponding to the data packet and send the relevant indication information to the RLC layer, so that the RLC layer can know which receiving window to put the corresponding RLC data packet into for processing.
  • the terminal device sends capability information to the network device, where the capability information is used to indicate to the network device that the terminal device supports the same RLC configuration with at least two receiving windows.
  • the network device may send the first configuration information to the terminal device according to the capability information sent by the terminal device.
  • the capability information may only indicate to the network device the number of receiving windows that the terminal device supports in the same RLC configuration, but does not indicate whether one receiving window is supported for receiving data packets in the PTP transmission mode, The other receiving window is used to receive data packets in the PTM transmission mode.
  • the capability information may indicate the number of receiving windows that are specifically supported, or the capability information may indicate that at least two receiving windows are supported.
  • the capability information may indicate to the network device that the terminal device supports at least one receive window for receiving data packets transmitted in the PTP transmission mode, and at least one receiving window for receiving data packets transmitted in the PTM transmission mode.
  • the same RLC entity of the terminal device can maintain two or more receiving windows, which are respectively used to receive data packets transmitted in the PTP transmission mode and data packets transmitted in the PTM transmission mode, thereby avoiding When the transmission mode is switched, a data merging error or a data packet loss occurs, thereby increasing the reliability of data transmission.
  • the communication method in the embodiments of the present application is described above, and the communication device in each embodiment of the present application will be described below.
  • the apparatus may adopt the methods shown in the embodiments of the present application. Since the principle of solving the problem by the method and the device is similar, the implementation of the device and the method can be referred to each other, and repeated descriptions will not be repeated here.
  • An embodiment of the present application provides a communication apparatus, and the communication apparatus may be a terminal device or a circuit.
  • the communication apparatus can be used to perform the actions performed by the terminal device in the method of the first embodiment.
  • the communication device includes: a transceiver module for receiving a first data packet and a second data packet, the first data packet is transmitted in a first transmission mode, and the second data packet is transmitted in a second transmission mode.
  • a processing module configured to reassemble the first data packet and/or the second data packet by using the receiving window of the RLC entity.
  • the processing module is further configured to update the parameters of the reception window of the RLC entity when the first transmission mode is switched to the second transmission mode.
  • the receive window is used to reassemble service data unit SDU segments.
  • the parameters of the receiving window include: one or more of a reassembly timer, a receiving state variable, and a receiving window size.
  • the receiving state variable may include the earliest SN (RX_Next_Reassembly) of the SNs waiting for reassembly, the next SN of the SN that triggers the reassembly timer (RX_Timer_Trigger), and the next SN of the largest SN of all received SNs (RX_Next_Highest) one or more of.
  • the first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
  • the terminal device determines that the transmission mode of the data packet sent by the network device has been switched, the parameters of the receiving window of the radio link control entity of the terminal device are updated. By updating the parameters of the receiving window, the occurrence of Data merging errors or packet loss.
  • the communication apparatus provided in the embodiment of the present application can also be used to execute the method in any possible implementation manner of the method in the first embodiment.
  • An embodiment of the present application provides a communication apparatus, and the communication apparatus may be a terminal device or a circuit.
  • the communication apparatus can be used to perform the actions performed by the terminal device in the method of the second embodiment.
  • the communication device includes: a transceiver module for receiving the first configuration information.
  • the processing module is configured to configure at least one first receiving window and at least one second receiving window of the radio link control entity RLC according to the first configuration information.
  • the first receiving window is used for receiving the first data packet transmitted in the point-to-point transmission mode
  • the second receiving window is used for receiving the second data packet transmitted in the point-to-multipoint transmission mode.
  • the transceiver module is further configured to receive the first data packet and/or the second data packet.
  • two receiving windows in an RLC entity are respectively used to receive data packets transmitted in the point-to-point transmission mode and data packets transmitted in the point-to-multipoint transmission mode, and each receiving window maintains its own Receive window variable, packet receive buffer or receive window parameter.
  • the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
  • the communication apparatus provided in this embodiment of the present application can also be used to execute the method in any possible implementation manner of the method in the second embodiment.
  • FIG. 8 shows a schematic structural diagram of a simplified communication apparatus, which is convenient for understanding and illustration.
  • the communication apparatus takes a terminal device as an example.
  • the communication device includes a processor, a memory, a radio frequency circuit, an antenna, and an input and output device.
  • the processor is mainly used to process communication protocols and communication data, control terminal equipment, execute software programs, and process data of software programs.
  • the memory is mainly used to store software programs and data.
  • the radio frequency circuit is mainly used for the conversion of the baseband signal and the radio frequency signal and the processing of the radio frequency signal.
  • Antennas are mainly used to send and receive radio frequency signals in the form of electromagnetic waves.
  • Input and output devices such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users. It should be noted that some types of terminal equipment may not have input and output devices.
  • the processor When data needs to be sent, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit.
  • the radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal through the antenna in the form of electromagnetic waves.
  • the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data.
  • FIG. 8 only one memory and processor are shown in FIG. 8 . In an actual end device product, there may be one or more processors and one or more memories.
  • the memory may also be referred to as a storage medium or a storage device or the like.
  • the memory may be set independently of the processor, or may be integrated with the processor, which is not limited in this embodiment of the present application.
  • the antenna and the radio frequency circuit with a transceiver function can be regarded as a transceiver module of the communication device, and the processor with a processing function can be regarded as a processing module of the communication device.
  • the communication device includes a transceiver module 801 and a processing module 802 .
  • the transceiver module may be a transceiver, a transceiver, a transceiver device, and the like.
  • the processing module may also be a processor, a processing board, a processing device, and the like.
  • the device used for implementing the receiving function in the transceiver module 801 may be regarded as a receiving module, and the device used for implementing the sending function in the transceiver module 801 may be regarded as a sending module, that is, the transceiver module 801 includes a receiving module and a sending module.
  • the transceiver module may also sometimes be a transceiver, a transceiver, or a transceiver circuit or the like.
  • the receiving module may also sometimes be a receiver, a receiver, or a receiving circuit or the like.
  • the transmitting module may also be a transmitter, a transmitter or a transmitting circuit sometimes.
  • transceiver module 801 is configured to perform the sending and receiving operations on the terminal device side in the above method embodiments
  • processing module 802 is configured to perform other operations on the terminal device in the above method embodiments except for the transceiver operations.
  • the chip device may include a transceiver module and a processing module.
  • the transceiver module may be an input/output circuit and/or a communication interface;
  • the processing module is a processor, a microprocessor or an integrated circuit integrated on the chip.
  • the device includes a processor 901 , a transmit data processor 902 , and a receive data processor 903 .
  • the processing module in the above-mentioned embodiment may be the processor 901 in FIG. 9 and perform corresponding functions.
  • the transceiver module in the above embodiment may be the sending data processor 902 and/or the receiving data processor 903 in FIG. 9 .
  • a channel encoder and a channel decoder are shown in FIG. 9 , it can be understood that these modules do not constitute a limiting description of this embodiment, but are only illustrative.
  • FIG. 10 shows another form of this embodiment.
  • the processing device 100 includes modules such as a modulation subsystem, a central processing subsystem, and a peripheral subsystem.
  • the communication apparatus in this embodiment may serve as a modulation subsystem therein.
  • the modulation subsystem may include a processor 1003 and an interface 1004 .
  • the processor 1003 completes the function of the above-mentioned processing module, and the interface 1004 implements the function of the above-mentioned transceiver module.
  • the modulation subsystem includes a memory 1006, a processor 1003, and a program stored in the memory 1006 and executable on the processor. When the processor 1003 executes the program, the terminal device side in the foregoing method embodiment is implemented. Methods.
  • the memory 1006 may be non-volatile or volatile, and its location may be inside the modulation subsystem or in the processing device 100, as long as the memory 1006 can be connected to the The processor 1003 is sufficient.
  • An embodiment of the present application provides a communication apparatus, and the communication apparatus may be a network device or a circuit.
  • the communication apparatus can be used to perform the actions performed by the network device in the method of the first embodiment.
  • the communication device includes: a transceiver module for sending a first data packet in a radio link control entity in a first transmission mode.
  • the processing module is used for switching from the first transmission mode to the second transmission mode.
  • the processing module is further configured to determine the SN of the second data packet.
  • the second data packet may include a service data unit SDU segment, the second data packet includes a packet header, and the packet header includes an SN number of the SDU segment.
  • the RLC of the terminal device can reassemble the SDU segments according to the SN number in the packet header to assemble a complete SDU, and the RLC of the terminal device sends the assembled complete SDU to the PDCP.
  • the SN number of the second data packet may refer to the SN number allocated to the second data packet by the RLC of the network device. It can also be understood that the network device determines the SN of the second data packet as the network device updates the SN number of the second data packet.
  • a transceiver module configured to send the second data packet in the RLC entity in a second transmission mode.
  • the first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
  • the network device switches the transmission mode from the first transmission mode to the second transmission mode, and the network device determines the SN number of the second data packet. By updating the SN number of the second data packet, the situation of data packet transmission loss or data merging errors can be avoided.
  • the communication apparatus provided in the embodiment of the present application can also be used to execute the method in any possible implementation manner of the method in the first embodiment.
  • An embodiment of the present application provides a communication apparatus, and the communication apparatus may be a network device or a circuit.
  • the communication apparatus can be used to perform the actions performed by the network device in the method of the second embodiment.
  • the communication apparatus includes: a transceiver module for sending first configuration information, where the first configuration information is used to configure at least one first receiving window and at least one second receiving window of the radio link control entity RLC.
  • the first receiving window is used for receiving the first data packet in the point-to-point transmission mode
  • the second receiving window is used for receiving the second data packet in the point-to-multipoint transmission mode.
  • the transceiver module is further configured to send the first data packet and/or the second data packet.
  • the processing module is configured to control the transceiver module to send the first configuration information and/or to control the transceiver module to send the first data packet and/or the second data packet.
  • the network device sends configuration information to the terminal device, which is used to configure at least two receiving windows in one RLC entity of the terminal device. At least two receive windows are respectively used to receive data packets transmitted in point-to-point transmission mode and data packets transmitted in point-to-multipoint transmission mode, and each receive window maintains its own receive window variable, data packet receive buffer or Receive window parameters. In this way, no matter how the point-to-multipoint transmission mode and the point-to-point transmission mode are switched, the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
  • the communication apparatus provided in this embodiment of the present application can also be used to execute the method in any possible implementation manner of the method in the first embodiment.
  • the network device may be as shown in FIG. 11 , and the device 110 includes one or more radio frequency units, such as a remote radio unit (remote radio unit, RRU) 1110 and one or more radio frequency units.
  • a baseband unit 1120 (baseband unit, BBU) may also be referred to as a digital unit (digital unit, DU).
  • the RRU 1110 may be referred to as a transceiver module.
  • the transceiver module may also be referred to as a transceiver, a transceiver circuit, or a transceiver, etc., which may include at least one antenna 1111 and a radio frequency unit 1112 .
  • the part of the RRU 1110 is mainly used for transmitting and receiving radio frequency signals and converting radio frequency signals and baseband signals, for example, for sending indication information to terminal equipment.
  • the part of the BBU 1110 is mainly used to perform baseband processing, control the base station, and the like.
  • the RRU 1110 and the BBU 1120 may be physically set together, or may be physically separated, that is, a distributed base station.
  • the BBU 1120 is the control center of the base station, and can also be called a processing module, which can correspond to the processing module 802 in FIG. 8 , and is mainly used to complete baseband processing functions, such as channel coding, multiplexing, modulation, spread spectrum, and the like.
  • the BBU processing module
  • the BBU may be used to control the base station to perform the operation procedure of the network device in the foregoing method embodiments, for example, to generate the foregoing indication information and the like.
  • the BBU 1120 may be composed of one or more single boards, and the multiple single boards may jointly support a wireless access network of a single access standard, or may respectively support a wireless access network of different access standards (such as LTE network, 5G network or other network).
  • the BBU 1120 also includes a memory 1121 and a processor 1122.
  • the memory 1121 is used to store necessary instructions and data.
  • the processor 1322 is configured to control the base station to perform necessary actions, for example, to control the base station to perform the operation flow of the network device in the foregoing method embodiments.
  • the memory 1121 and the processor 1122 may serve one or more single boards. That is to say, the memory and processor can be provided separately on each single board. It can also be that multiple boards share the same memory and processor. In addition, necessary circuits may also be provided on each single board.

Landscapes

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

Abstract

The present application provides a communication method and a communication apparatus, which are applied to the technical field of wireless communications. The method comprises: a radio link control entity receives a first data packet, the first data packet being transmitted by means of a first transmission mode; when the first transmission model is switched to a second transmission mode, update parameters of a receiving window of the radio link control entity, the receiving window being used for reassembling a service data unit (SDU) segment, and the first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode; when a terminal device determines that the transmission mode of a data packet sent by a network device has been switched, update the parameters of the receiving window of the radio link control entity of the terminal device. Updating the parameters of the receiving window can avoid the occurrence of data merging errors or packet loss.

Description

一种通信方法及通信装置A communication method and communication device 技术领域technical field
本申请涉及通信技术领域,尤其涉及一种通信方法及通信装置。The present application relates to the field of communication technologies, and in particular, to a communication method and a communication device.
背景技术Background technique
多播广播业务(Multicast and Broadcast Service,MBS)是面向多个终端设备(User Equipment,UE)的业务,例如直播业务、公共安全业务、批量软件更新业务等。Multicast broadcast service (Multicast and Broadcast Service, MBS) is a service for multiple terminal equipment (User Equipment, UE), such as live broadcast service, public safety service, batch software update service, etc.
MBS业务来自数据服务器,首先数据服务器将MBS数据发送给核心网设备,然后核心网设备将MBS数据发送给接入网设备,最后接入网设备将MBS数据发送给接收MBS业务的至少一个终端设备。接入网设备向终端设备发送MBS业务可以有多种传输方式,如何实现不同传输模式之间的切换以及数据处理,保持业务传输的可靠性是需要解决的问题。The MBS service comes from the data server. First, the data server sends the MBS data to the core network device, then the core network device sends the MBS data to the access network device, and finally the access network device sends the MBS data to at least one terminal device that receives the MBS service. . The access network equipment can send the MBS service to the terminal equipment in various transmission modes. How to realize the switching between different transmission modes and data processing and maintain the reliability of the service transmission is a problem that needs to be solved.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种通信方法及通信装置,能够实现不同传输模式之间的切换以及数据处理,提高业务传输的可靠性。The present application provides a communication method and a communication device, which can realize switching between different transmission modes and data processing, and improve the reliability of service transmission.
第一方面,提供了一种通信方法,包括:终端设备的无线链路控制实体接收网络设备发送的第一数据包,第一数据包通过第一传输模式传输。当网络设备将第一传输模式切换到第二传输模式时,终端设备更新无线链路控制实体的接收窗的参数,接收窗用于重组服务数据单元SDU分段。接收窗的参数包括:重组定时器、接收状态变量、接收窗大小中的一个或多个。接收状态变量可以包括等待重组的SN中最早的SN(RX_Next_Reassembly)、触发重组定时器的SN的下一个SN(RX_Timer_Trigger)、所有接收到的SN号中最大的SN号的下一个SN号(RX_Next_Highest)中的一个或多个。无线链路控制实体接收第二数据包,所述第二数据包通过第二传输模式传输,第一传输模式和第二传输模式是点到多点传输模式和点到点传输模式中的一种和另一种。In a first aspect, a communication method is provided, including: a radio link control entity of a terminal device receives a first data packet sent by a network device, and the first data packet is transmitted in a first transmission mode. When the network device switches the first transmission mode to the second transmission mode, the terminal device updates the parameters of the reception window of the RLC entity, and the reception window is used to reassemble the SDU segment of the service data unit. The parameters of the receiving window include: one or more of a reassembly timer, a receiving state variable, and a receiving window size. The receiving state variable may include the earliest SN (RX_Next_Reassembly) of the SNs waiting for reassembly, the next SN of the SN that triggers the reassembly timer (RX_Timer_Trigger), and the next SN of the largest SN of all received SNs (RX_Next_Highest) one or more of. The radio link control entity receives a second data packet, the second data packet is transmitted through a second transmission mode, and the first transmission mode and the second transmission mode are one of a point-to-multipoint transmission mode and a point-to-point transmission mode and another.
本申请实施例中,终端设备为单RLC实体的协议栈架构,单RLC实体接收点到点和点到多点传输模式的数据包的接收,降低终端设备的复杂度。网络设备以第一传输模式发送第一数据包,而后将传输模式切换为第二传输模式,并在第二传输模式下发送第二数据包,当传输模式发生切换,终端设备更新RLC实体的接收窗的参数,从而保证业务传输连续性。In the embodiment of the present application, the terminal device has a protocol stack architecture of a single RLC entity, and the single RLC entity receives data packets in point-to-point and point-to-multipoint transmission modes, thereby reducing the complexity of the terminal device. The network device sends the first data packet in the first transmission mode, then switches the transmission mode to the second transmission mode, and sends the second data packet in the second transmission mode. When the transmission mode is switched, the terminal device updates the RLC entity's reception parameters of the window, so as to ensure the continuity of service transmission.
在第一方面的一种可能的实现方式中,终端设备接收网络设备发送的第一指示信息,第一指示信息用于指示第一传输模式切换到第二传输模式。终端设备根据第一指示信息判断传输模式从第一传输模式切换到第二传输模式,对无线链路控制实体的接收窗的参数进行更新。In a possible implementation manner of the first aspect, the terminal device receives first indication information sent by the network device, where the first indication information is used to instruct the first transmission mode to switch to the second transmission mode. The terminal device judges that the transmission mode is switched from the first transmission mode to the second transmission mode according to the first indication information, and updates the parameters of the receiving window of the RLC entity.
本申请实施例中,网络设备向终端设备发送第一指示信息指示传输模式发生切换,终端设备能够根据该指示信息及时进行接收窗的参数的更新。In the embodiment of the present application, the network device sends the first indication information to the terminal device to indicate that the transmission mode is switched, and the terminal device can update the parameters of the receiving window in time according to the indication information.
在第一方面的一种可能的实现方式中,第一指示信息可以具体指明第一传输模式和/或第二传输模式,或者第一指示信息指示传输模式发生了切换。In a possible implementation manner of the first aspect, the first indication information may specifically indicate the first transmission mode and/or the second transmission mode, or the first indication information indicates that the transmission mode is switched.
本申请实施例中,当第一指示信息指明第一传输模式和/或第二传输模式,终端设备根 据第一指示信息就能够获知切换后的传输模式是点到点传输模式或点到多点传输模式中的哪一种。当第一指示信息指示传输模式发生了切换,终端设备可以获知传输模式发生切换,终端设备进一步根据切换传输模式后接收的第二数据包判断切换后的传输模式是点到点传输模式还是点到多点传输模式。In this embodiment of the present application, when the first indication information indicates the first transmission mode and/or the second transmission mode, the terminal device can know, according to the first indication information, whether the switched transmission mode is the point-to-point transmission mode or the point-to-multipoint transmission mode Which of the transfer modes. When the first indication information indicates that the transmission mode is switched, the terminal device can know that the transmission mode is switched, and the terminal device further determines whether the switched transmission mode is the point-to-point transmission mode or the point-to-point transmission mode according to the second data packet received after the transmission mode is switched. Multipoint transmission mode.
在第一方面的一种可能的实现方式中终端设备根据第二数据包判断传输模式从第一传输模式切换到第二传输模式。In a possible implementation manner of the first aspect, the terminal device determines, according to the second data packet, that the transmission mode is switched from the first transmission mode to the second transmission mode.
本申请实施例中,终端设备在接收到第二数据包时,能够获知网络设备是以何种传输模式传输的。此时,终端设备可以将当前接收的第二数据包的传输模式与上一个接收的数据包的传输模式进行比较,从而判断传输模式是否发生了切换。In this embodiment of the present application, when the terminal device receives the second data packet, it can learn which transmission mode the network device transmits. At this time, the terminal device may compare the transmission mode of the currently received second data packet with the transmission mode of the last received data packet, so as to determine whether the transmission mode has been switched.
在第一方面的一种可能的实现方式中,第一传输模式为点到多点传输模式,第二传输模式为点到点传输模式。终端设备更新无线链路控制实体的接收窗的参数包括:更新接收窗的参数为初始值,初始值可以是协议规定的。In a possible implementation manner of the first aspect, the first transmission mode is a point-to-multipoint transmission mode, and the second transmission mode is a point-to-point transmission mode. The updating of the parameters of the receiving window of the radio link control entity by the terminal device includes: updating the parameters of the receiving window as an initial value, and the initial value may be specified by a protocol.
本申请实施例中,当网络设备从第一传输模式切换到第二传输模式,终端设备将无线链路控制实体的接收窗的参数更新为初始值,更新为初始值对于终端设备的实现要求比较简单,并且由于终端设备对于数据包的接收与网络设备的发送时采用的SN分配方式理解一致,可以防止在切换传输模式之后数据包丢失或数据合并错误。In the embodiment of the present application, when the network device switches from the first transmission mode to the second transmission mode, the terminal device updates the parameters of the receiving window of the RLC entity to the initial value, and the update to the initial value compares the implementation requirements of the terminal device It is simple, and since the terminal device has the same understanding of the SN allocation method adopted when the terminal device receives the data packet and the network device transmits it, it can prevent data packet loss or data merging errors after switching the transmission mode.
在第一方面的一种可能的实现方式中,第一传输模式为点到多点传输模式,第二传输模式为点到点传输模式。更新无线链路控制实体的接收窗的参数包括:更新接收窗的参数为第一参数,第一参数为上一次点到点传输模式下的接收窗的参数。第一参数可以是终端设备接收上一次点到点传输模式中传输的最后一个服务数据单元或服务数据单元分段时,终端设备的接收窗的参数。In a possible implementation manner of the first aspect, the first transmission mode is a point-to-multipoint transmission mode, and the second transmission mode is a point-to-point transmission mode. Updating the parameter of the receiving window of the RLC entity includes: updating the parameter of the receiving window as a first parameter, and the first parameter is the parameter of the receiving window in the last point-to-point transmission mode. The first parameter may be a parameter of the receiving window of the terminal device when the terminal device receives the last service data unit or service data unit segment transmitted in the last point-to-point transmission mode.
本申请实施例中,当网络设备从第一传输模式切换到第二传输模式,终端设备将无线链路控制实体的接收窗的参数更新为上一次点到点传输模式下的接收窗的参数,可以使得终端设备可以接着上一次存储的接收状态继续接收数据包,无需终端设备进行额外的动作,并且由于终端设备对于数据包的接收与网络设备的发送时采用的SN分配方式理解一致,可以防止在切换传输模式之后数据包丢失或数据合并错误。In the embodiment of the present application, when the network device switches from the first transmission mode to the second transmission mode, the terminal device updates the parameters of the receiving window of the RLC entity to the parameters of the receiving window in the last point-to-point transmission mode, This allows the terminal device to continue to receive data packets following the last stored receiving state, without the need for the terminal device to perform additional actions, and because the terminal device has the same understanding of the SN allocation method used when the terminal device receives the data packet and the network device sends it, it can prevent Packet loss or data merging error after switching transmission modes.
在第一方面的一种可能的实现方式中,第一传输模式为点到点传输模式,第二传输模式为点到多点传输模式。终端设备接收网络设备发送的第二指示信息,第二指示信息用于指示序列号SN。终端设备更新无线链路控制实体的接收窗的参数包括:根据SN更新接收窗的参数。In a possible implementation manner of the first aspect, the first transmission mode is a point-to-point transmission mode, and the second transmission mode is a point-to-multipoint transmission mode. The terminal device receives the second indication information sent by the network device, where the second indication information is used to indicate the serial number SN. The terminal equipment updating the parameters of the receiving window of the RLC entity includes: updating the parameters of the receiving window according to the SN.
本申请实施例中,当网络设备从第一传输模式切换到第二传输模式,终端设备接收网络设备发送的第二指示信息,第二指示信息指示SN的数值。终端设备可以根据第二指示信息所指示的SN的数值更新接收窗的参数。可以防止在切换传输模式之后数据包丢失或数据合并错误。In this embodiment of the present application, when the network device switches from the first transmission mode to the second transmission mode, the terminal device receives the second indication information sent by the network device, and the second indication information indicates the value of the SN. The terminal device may update the parameters of the receiving window according to the value of the SN indicated by the second indication information. Packet loss or data merging errors after switching transmission modes can be prevented.
在第一方面的一种可能的实现方式中,第二数据包包括服务数据单元SDU分段。更新无线链路控制实体的接收窗的参数包括:根据序列号SN更新接收窗的参数,序列号SN是是终端设备在第二传输模式下接收的第一个SDU分段。In a possible implementation manner of the first aspect, the second data packet includes a service data unit SDU segment. Updating the parameters of the receiving window of the RLC entity includes: updating the parameters of the receiving window according to the sequence number SN, where the sequence number SN is the first SDU segment received by the terminal device in the second transmission mode.
本申请实施例中,当网络设备从第一传输模式切换到第二传输模式,终端设备接收网 络设备发送的SDU分段,终端设备可以根据在第二传输模式下接收的第一个SDU分段更新接收窗的参数,由此可以防止在切换传输模式之后数据包丢失或数据合并错误。In this embodiment of the present application, when the network device switches from the first transmission mode to the second transmission mode, the terminal device receives the SDU segment sent by the network device, and the terminal device can receive the SDU segment according to the first SDU segment received in the second transmission mode. Update the parameters of the receive window, thereby preventing packet loss or data merging errors after switching transmission modes.
在第一方面的一种可能的实现方式中,第一数据包包括服务数据单元SDU分段,当从第一传输模式切换到第二传输模式,终端设备丢弃接收窗在第一传输模式下接收的SDU分段。In a possible implementation manner of the first aspect, the first data packet includes a SDU segment, and when switching from the first transmission mode to the second transmission mode, the terminal device discards the receiving window and receives in the first transmission mode SDU segment.
第二方面,提供了一种通信方法,包括:网络设备的无线链路控制实体以第一传输模式发送第一数据包。从第一传输模式切换到第二传输模式,网络设备确定第二数据包的SN。第二数据包可以包括服务数据单元SDU分段,第二数据包包括包头,包头内包括SDU分段的SN号。终端设备的RLC接收到第二数据包之后,根据包头内的SN号可以对SDU分段进行重组,组装成完整的SDU,终端设备的RLC将组装的完整的SDU发送给PDCP。网络设备的无线链路控制实体以第二传输模式发送所述第二数据包。第一传输模式和第二传输模式是点到多点传输模式和点到点传输模式中的一种和另一种。第二数据包的SN号可以是指网络设备的RLC为第二数据包分配的SN号。也可以将网络设备确定第二数据包的SN理解为网络设备更新第二数据包的SN号。In a second aspect, a communication method is provided, including: a radio link control entity of a network device sends a first data packet in a first transmission mode. Switching from the first transmission mode to the second transmission mode, the network device determines the SN of the second data packet. The second data packet may include a service data unit SDU segment, the second data packet includes a packet header, and the packet header includes an SN number of the SDU segment. After receiving the second data packet, the RLC of the terminal device can reassemble the SDU segments according to the SN number in the packet header to assemble a complete SDU, and the RLC of the terminal device sends the assembled complete SDU to the PDCP. The radio link control entity of the network device sends the second data packet in the second transmission mode. The first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode. The SN number of the second data packet may refer to the SN number allocated to the second data packet by the RLC of the network device. It can also be understood that the network device determines the SN of the second data packet as the network device updates the SN number of the second data packet.
本申请实施例中,网络设备将传输模式从第一传输模式切换到第二传输模式,网络设备确定第二数据包的SN号。通过对第二数据包的SN号的更新,可以避免数据包传输丢失或者数据合并错误的情况。In this embodiment of the present application, the network device switches the transmission mode from the first transmission mode to the second transmission mode, and the network device determines the SN number of the second data packet. By updating the SN number of the second data packet, the situation of data packet transmission loss or data merging errors can be avoided.
在第二方面的一种可能的实现方式中,第一传输模式为点到多点传输模式,第二传输模式为点到点传输模式,SN为初始值。初始值可以是协议规定的,例如初始值为1。In a possible implementation manner of the second aspect, the first transmission mode is a point-to-multipoint transmission mode, the second transmission mode is a point-to-point transmission mode, and SN is an initial value. The initial value can be specified by the protocol, for example, the initial value is 1.
本申请实施例中,在切换传输模式之后,第二数据包SDU分段的SN号可以更新为初始值。通过对第二数据包的SN号的更新,可以避免数据包传输丢失或者数据合并错误的情况。In this embodiment of the present application, after the transmission mode is switched, the SN number of the SDU segment of the second data packet may be updated to an initial value. By updating the SN number of the second data packet, the situation of data packet transmission loss or data merging errors can be avoided.
在第二方面的一种可能的实现方式中,第一传输模式为点到多点传输模式,第二传输模式为点到点传输模式。网络设备确定第二数据包的SN包括:网络设备根据第一SN确定SN,第一SN为在上一次点到点传输模式下传输的SDU分段对应的最大SN。最大SN是指在上一次点到点传输模式下传输的SDU分段对应的SN中数值最大的SN。网络设备可以将第二数据包的SN更新为第一SN+1,例如,当第一SN为7的时候,网络设备可以将第二数据包的SN更新为8。In a possible implementation manner of the second aspect, the first transmission mode is a point-to-multipoint transmission mode, and the second transmission mode is a point-to-point transmission mode. The network device determining the SN of the second data packet includes: the network device determining the SN according to the first SN, where the first SN is the maximum SN corresponding to the SDU segment transmitted in the last point-to-point transmission mode. The maximum SN refers to the SN with the largest value among the SNs corresponding to the SDU segment transmitted in the last point-to-point transmission mode. The network device may update the SN of the second data packet to the first SN+1. For example, when the first SN is 7, the network device may update the SN of the second data packet to 8.
本申请实施例中,在切换传输模式之后,第二数据包SDU分段的SN号可以更新为上一次点到点传输模式下传输的SDU分段对应的最大SN。通过对第二数据包的SN号的更新,可以避免数据包传输丢失或者数据合并错误的情况。In the embodiment of the present application, after the transmission mode is switched, the SN number of the SDU segment of the second data packet may be updated to the maximum SN corresponding to the SDU segment transmitted in the last point-to-point transmission mode. By updating the SN number of the second data packet, the situation of data packet transmission loss or data merging errors can be avoided.
在第二方面的一种可能的实现方式中,第一数据包包括服务数据单元SDU分段。在第二传输模式下发送第一SDU分段对应的完整的SDU,第一SDU分段是在第一传输模式下发送的SDU分段中的至少一个。在第二传输模式下发送第一SDU分段对应的完整的SDU,可以直接发送该完整的SDU,也可以以分段的方式将该完整的SDU对应的所有的第一SDU分段在第二传输模式中发送。In a possible implementation manner of the second aspect, the first data packet includes a service data unit SDU segment. A complete SDU corresponding to the first SDU segment is sent in the second transmission mode, and the first SDU segment is at least one of the SDU segments sent in the first transmission mode. The complete SDU corresponding to the first SDU segment is sent in the second transmission mode, the complete SDU may be sent directly, or all the first SDU segments corresponding to the complete SDU may be segmented in the second sent in transfer mode.
本申请实施例中,通过在第二传输模式中发送已经在第一传输模式中发送过的第一SDU分段对应的完整的SDU,可以保证业务传输的连续性。In the embodiment of the present application, by sending the complete SDU corresponding to the first SDU segment that has been sent in the first transmission mode in the second transmission mode, the continuity of service transmission can be ensured.
在第二方面的一种可能的实现方式中,第一传输模式为点到点传输模式,第二传输模式为点到多点传输模式。方法还包括:网络设备向终端设备发送第二指示信息,第二指示信息用于指示序列号SN,序列号SN用于指示终端设备根据SN更新接收窗的参数。In a possible implementation manner of the second aspect, the first transmission mode is a point-to-point transmission mode, and the second transmission mode is a point-to-multipoint transmission mode. The method further includes: the network device sends second indication information to the terminal device, where the second indication information is used to indicate the serial number SN, and the serial number SN is used to instruct the terminal device to update the parameters of the receiving window according to the SN.
本申请实施例中,当网络设备从第一传输模式切换到第二传输模式,网络设备发送第二指示信息,第二指示信息指示SN的数值。终端设备可以根据第二指示信息所指示的SN的数值更新接收窗的参数。可以防止在切换传输模式之后数据包丢失或数据合并错误。In the embodiment of the present application, when the network device switches from the first transmission mode to the second transmission mode, the network device sends second indication information, and the second indication information indicates the value of the SN. The terminal device may update the parameters of the receiving window according to the value of the SN indicated by the second indication information. Packet loss or data merging errors after switching transmission modes can be prevented.
第三方面,提供了一种通信方法,包括:终端设备接收第一配置信息,第一配置信息用于配置无线链路控制实体RLC的至少一个第一接收窗和至少一个第二接收窗。第一接收窗用于接收通过点到点传输模式传输的第一数据包,第二接收窗用于接收通过点到多点传输模式传输的第二数据包。终端设备接收第一数据包和/或所述第二数据包。In a third aspect, a communication method is provided, including: a terminal device receiving first configuration information, where the first configuration information is used to configure at least one first receiving window and at least one second receiving window of a radio link control entity RLC. The first receiving window is used for receiving the first data packet transmitted in the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet transmitted in the point-to-multipoint transmission mode. The terminal device receives the first data packet and/or the second data packet.
本申请实施例中,一个RLC实体中的两个接收窗分别用于接收在点到点传输模式中传输的数据包和点到多点传输模式中传输的数据包,每个接收窗分别维护各自的接收窗变量、数据包接收缓冲或者接收窗参数。这样无论点到多点传输模式和点到点传输模式如何切换,网络设备和终端设备都可以相对独立地维护多点传输模式和点到点传输模式。In this embodiment of the present application, two receiving windows in an RLC entity are respectively used to receive data packets transmitted in the point-to-point transmission mode and data packets transmitted in the point-to-multipoint transmission mode, and each receiving window maintains its own Receive window variable, packet receive buffer or receive window parameter. In this way, no matter how the point-to-multipoint transmission mode and the point-to-point transmission mode are switched, the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
在第三方面的一种可能的实现方式中,终端设备向网络设备发送能力信息,能力信息用于向网络设备指示终端设备支持同一个RLC配置至少两个接收窗。In a possible implementation manner of the third aspect, the terminal device sends capability information to the network device, where the capability information is used to indicate to the network device that the terminal device supports the same RLC configuration with at least two receiving windows.
本申请实施例中,网络设备可以根据终端设备发送的能力信息向终端设备发送第一配置信息。In this embodiment of the present application, the network device may send the first configuration information to the terminal device according to the capability information sent by the terminal device.
在第三方面的一种可能的实施方式中,采用PTM传输的第二数据包的调度信息利用G-RNTI进行加扰,采用PTP传输的第一数据包的调度信息利用C-RNTI进行加扰。In a possible implementation of the third aspect, the scheduling information of the second data packet transmitted by using PTM is scrambled by using G-RNTI, and the scheduling information of the first data packet transmitted by using PTP is scrambled by using C-RNTI .
在本申请实施例中,终端设备可以根据加扰的RNTI类型决定将数据包放入哪个接收窗进行处理。In this embodiment of the present application, the terminal device may decide which receiving window to put the data packet into for processing according to the scrambled RNTI type.
第四方面,提供了一种通信方法,包括:网络设备向终端设备发送第一配置信息,第一配置信息用于配置终端设备的无线链路控制实体RLC的至少一个第一接收窗和至少一个第二接收窗。第一接收窗用于接收在点到点传输模式下的第一数据包,第二接收窗用于接收在点到多点传输模式下的第二数据包。发送所述第一数据包和/或所述第二数据包。In a fourth aspect, a communication method is provided, comprising: a network device sending first configuration information to a terminal device, where the first configuration information is used to configure at least one first receiving window and at least one first receiving window of a radio link control entity RLC of the terminal device The second receiving window. The first receiving window is used for receiving the first data packet in the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet in the point-to-multipoint transmission mode. Sending the first data packet and/or the second data packet.
本申请实施例中,网络设备向终端设备发送配置信息,用于配置终端设备的一个RLC实体中的至少两个接收窗。至少两个接收窗分别用于接收在点到点传输模式中传输的数据包和点到多点传输模式中传输的数据包,每个接收窗分别维护各自的接收窗变量、数据包接收缓冲或者接收窗参数。这样无论点到多点传输模式和点到点传输模式如何切换,网络设备和终端设备都可以相对独立地维护多点传输模式和点到点传输模式。In this embodiment of the present application, the network device sends configuration information to the terminal device, which is used to configure at least two receiving windows in one RLC entity of the terminal device. At least two receive windows are respectively used to receive data packets transmitted in point-to-point transmission mode and data packets transmitted in point-to-multipoint transmission mode, and each receive window maintains its own receive window variable, data packet receive buffer or Receive window parameters. In this way, no matter how the point-to-multipoint transmission mode and the point-to-point transmission mode are switched, the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
在第四方面的一种可能的实现方式中,网络设备接收终端设备的能力信息,能力信息用于向网络设备指示终端设备支持同一个RLC配置至少两个接收窗。In a possible implementation manner of the fourth aspect, the network device receives capability information of the terminal device, where the capability information is used to indicate to the network device that the terminal device supports the same RLC configuration with at least two receiving windows.
本申请实施例中,网络设备可以根据终端设备发送的能力信息向终端设备发送第一配置信息。In this embodiment of the present application, the network device may send the first configuration information to the terminal device according to the capability information sent by the terminal device.
在第四方面的一种可能的实施方式中,采用PTM传输的第二数据包的调度信息利用G-RNTI进行加扰,采用PTP传输的第一数据包的调度信息利用C-RNTI进行加扰。In a possible implementation manner of the fourth aspect, the scheduling information of the second data packet transmitted by using PTM is scrambled by using G-RNTI, and the scheduling information of the first data packet transmitted by using PTP is scrambled by using C-RNTI .
在本申请实施例中,网络设备对采用PTM传输的第二数据包的调度信息利用G-RNTI 进行加扰,采用PTP传输的第一数据包的调度信息利用C-RNTI进行加扰。终端设备可以根据加扰的RNTI类型决定将数据包放入哪个接收窗进行处理。In the embodiment of the present application, the network device uses G-RNTI to scramble the scheduling information of the second data packet transmitted using PTM, and uses C-RNTI to scramble the scheduling information of the first data packet transmitted using PTP. The terminal device can decide which receiving window to put the data packet into for processing according to the type of scrambled RNTI.
第五方面,提供一种通信装置,通信装置可以为终端设备,包括:收发模块,用于接收第一数据包和第二数据包,所述第一数据包通过第一传输模式传输,第二数据包通过第二传输模式传输。处理模块,用于利用无线链路控制实体的接收窗对所述第一数据包和/或所述第二数据包进行重组。处理模块,还用于当所述第一传输模式切换到第二传输模式时,更新所述无线链路控制实体的接收窗的参数。接收窗用于重组服务数据单元SDU分段。接收窗的参数包括:重组定时器、接收状态变量、接收窗大小中的一个或多个。接收状态变量可以包括等待重组的SN中最早的SN(RX_Next_Reassembly)、触发重组定时器的SN的下一个SN(RX_Timer_Trigger)、所有接收到的SN号中最大的SN号的下一个SN号(RX_Next_Highest)中的一个或多个。第一传输模式和所述第二传输模式是点到多点传输模式和点到点传输模式中的一种和另一种。In a fifth aspect, a communication apparatus is provided. The communication apparatus may be a terminal device, comprising: a transceiver module for receiving a first data packet and a second data packet, the first data packet is transmitted in a first transmission mode, and a second data packet The data packets are transmitted through the second transmission mode. A processing module, configured to reassemble the first data packet and/or the second data packet by using the receiving window of the RLC entity. The processing module is further configured to update the parameters of the reception window of the RLC entity when the first transmission mode is switched to the second transmission mode. The receive window is used to reassemble service data unit SDU segments. The parameters of the receiving window include: one or more of a reassembly timer, a receiving state variable, and a receiving window size. The receiving state variable may include the earliest SN (RX_Next_Reassembly) of the SNs waiting for reassembly, the next SN of the SN that triggers the reassembly timer (RX_Timer_Trigger), and the next SN of the largest SN of all received SNs (RX_Next_Highest) one or more of. The first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
本申请实施例中,终端设备为单RLC实体的协议栈架构,单RLC实体接收点到点和点到多点传输模式的数据包的接收,降低终端设备的复杂度。网络设备以第一传输模式发送第一数据包,而后将传输模式切换为第二传输模式,并在第二传输模式下发送第二数据包,当传输模式发生切换,终端设备更新RLC实体的接收窗的参数,从而保证业务传输连续性。In the embodiment of the present application, the terminal device has a protocol stack architecture of a single RLC entity, and the single RLC entity receives data packets in point-to-point and point-to-multipoint transmission modes, thereby reducing the complexity of the terminal device. The network device sends the first data packet in the first transmission mode, then switches the transmission mode to the second transmission mode, and sends the second data packet in the second transmission mode. When the transmission mode is switched, the terminal device updates the RLC entity's reception parameters of the window, so as to ensure the continuity of service transmission.
在第五方面的一种可能的实现方式中,收发模块用于接收网络设备发送的第一指示信息,第一指示信息用于指示第一传输模式切换到第二传输模式。终端设备的处理模块用于根据第一指示信息判断传输模式从第一传输模式切换到第二传输模式,对无线链路控制实体的接收窗的参数进行更新。In a possible implementation manner of the fifth aspect, the transceiver module is configured to receive first indication information sent by the network device, where the first indication information is used to instruct the first transmission mode to switch to the second transmission mode. The processing module of the terminal device is configured to determine, according to the first indication information, that the transmission mode is switched from the first transmission mode to the second transmission mode, and update the parameters of the receiving window of the RLC entity.
本申请实施例中,网络设备向终端设备发送第一指示信息指示传输模式发生切换,终端设备能够根据该指示信息及时进行接收窗的参数的更新。In the embodiment of the present application, the network device sends the first indication information to the terminal device to indicate that the transmission mode is switched, and the terminal device can update the parameters of the receiving window in time according to the indication information.
在第五方面的一种可能的实现方式中,第一指示信息可以具体指明第一传输模式和/或第二传输模式,或者第一指示信息指示传输模式发生了切换。In a possible implementation manner of the fifth aspect, the first indication information may specifically indicate the first transmission mode and/or the second transmission mode, or the first indication information indicates that the transmission mode is switched.
本申请实施例中,当第一指示信息指明第一传输模式和/或第二传输模式,终端设备根据第一指示信息就能够获知切换后的传输模式是点到点传输模式或点到多点传输模式中的哪一种。当第一指示信息指示传输模式发生了切换,终端设备可以获知传输模式发生切换,终端设备进一步根据切换传输模式后接收的第二数据包判断切换后的传输模式是点到点传输模式还是点到多点传输模式。In this embodiment of the present application, when the first indication information indicates the first transmission mode and/or the second transmission mode, the terminal device can know, according to the first indication information, whether the switched transmission mode is the point-to-point transmission mode or the point-to-multipoint transmission mode Which of the transfer modes. When the first indication information indicates that the transmission mode is switched, the terminal device can know that the transmission mode is switched, and the terminal device further determines whether the switched transmission mode is the point-to-point transmission mode or the point-to-point transmission mode according to the second data packet received after the transmission mode is switched. Multipoint transmission mode.
在第五方面的一种可能的实现方式中,处理模块用于根据第二数据包判断传输模式从第一传输模式切换到第二传输模式。In a possible implementation manner of the fifth aspect, the processing module is configured to determine, according to the second data packet, that the transmission mode is switched from the first transmission mode to the second transmission mode.
本申请实施例中,终端设备在接收到第二数据包时,能够获知网络设备是以何种传输模式传输的。此时,终端设备可以将当前接收的第二数据包的传输模式与上一个接收的数据包的传输模式进行比较,从而判断传输模式是否发生了切换。In this embodiment of the present application, when the terminal device receives the second data packet, it can learn which transmission mode the network device transmits. At this time, the terminal device may compare the transmission mode of the currently received second data packet with the transmission mode of the last received data packet, so as to determine whether the transmission mode has been switched.
在第五方面的一种可能的实现方式中,第一传输模式为点到多点传输模式,第二传输模式为点到点传输模式。处理模块用于更新无线链路控制实体的接收窗的参数包括:处理模块用于更新接收窗的参数为初始值,初始值可以是协议规定的。In a possible implementation manner of the fifth aspect, the first transmission mode is a point-to-multipoint transmission mode, and the second transmission mode is a point-to-point transmission mode. The parameter used by the processing module to update the receiving window of the RLC entity includes: the parameter used by the processing module to update the receiving window is an initial value, and the initial value may be specified by a protocol.
本申请实施例中,当网络设备从第一传输模式切换到第二传输模式,终端设备将无线链路控制实体的接收窗的参数更新为初始值,可以防止在切换传输模式之后数据包丢失或数据合并错误。In the embodiment of the present application, when the network device switches from the first transmission mode to the second transmission mode, the terminal device updates the parameters of the receiving window of the RLC entity to the initial value, which can prevent the loss of data packets or the loss of data packets after switching the transmission mode. Data merge error.
在第五方面的一种可能的实现方式中,第一传输模式为点到多点传输模式,第二传输模式为点到点传输模式。处理模块用于更新无线链路控制实体的接收窗的参数包括:处理模块用于更新接收窗的参数为第一参数,第一参数为上一次点到点传输模式下的接收窗的参数。第一参数可以是终端设备接收上一次点到点传输模式中传输的最后一个服务数据单元或服务数据单元分段时,终端设备的接收窗的参数。In a possible implementation manner of the fifth aspect, the first transmission mode is a point-to-multipoint transmission mode, and the second transmission mode is a point-to-point transmission mode. The parameters used by the processing module to update the receiving window of the radio link control entity include: the parameters used by the processing module to update the receiving window are the first parameters, and the first parameters are the parameters of the receiving window in the last point-to-point transmission mode. The first parameter may be a parameter of the receiving window of the terminal device when the terminal device receives the last service data unit or service data unit segment transmitted in the last point-to-point transmission mode.
本申请实施例中,当网络设备从第一传输模式切换到第二传输模式,终端设备将无线链路控制实体的接收窗的参数更新为上一次点到点传输模式下的接收窗的参数,可以防止在切换传输模式之后数据包丢失或数据合并错误。In the embodiment of the present application, when the network device switches from the first transmission mode to the second transmission mode, the terminal device updates the parameters of the receiving window of the RLC entity to the parameters of the receiving window in the last point-to-point transmission mode, Packet loss or data merging errors after switching transmission modes can be prevented.
在第五方面的一种可能的实现方式中,第一传输模式为点到点传输模式,第二传输模式为点到多点传输模式。收发模块还用于接收网络设备发送的第二指示信息,第二指示信息用于指示序列号SN。处理模块用于更新无线链路控制实体的接收窗的参数包括:处理模块用于根据SN更新接收窗的参数。In a possible implementation manner of the fifth aspect, the first transmission mode is a point-to-point transmission mode, and the second transmission mode is a point-to-multipoint transmission mode. The transceiver module is further configured to receive second indication information sent by the network device, where the second indication information is used to indicate the serial number SN. The processing module used to update the parameters of the receiving window of the RLC entity includes: the processing module is used to update the parameters of the receiving window according to the SN.
本申请实施例中,当网络设备从第一传输模式切换到第二传输模式,终端设备接收网络设备发送的第二指示信息,第二指示信息指示SN的数值。终端设备可以根据第二指示信息所指示的SN的数值更新接收窗的参数。可以防止在切换传输模式之后数据包丢失或数据合并错误。In this embodiment of the present application, when the network device switches from the first transmission mode to the second transmission mode, the terminal device receives the second indication information sent by the network device, and the second indication information indicates the value of the SN. The terminal device may update the parameters of the receiving window according to the value of the SN indicated by the second indication information. Packet loss or data merging errors after switching transmission modes can be prevented.
在第五方面的一种可能的实现方式中,第二数据包包括服务数据单元SDU分段。处理模块用于更新无线链路控制实体的接收窗的参数包括:处理模块用于根据序列号SN更新接收窗的参数,序列号SN是是终端设备在第二传输模式下接收的第一个SDU分段。In a possible implementation manner of the fifth aspect, the second data packet includes a service data unit SDU segment. The parameters used by the processing module to update the receiving window of the RLC entity include: the processing module is used to update the parameters of the receiving window according to the sequence number SN, and the sequence number SN is the first SDU received by the terminal device in the second transmission mode segment.
本申请实施例中,当网络设备从第一传输模式切换到第二传输模式,终端设备接收网络设备发送的SDU分段,终端设备可以根据在第二传输模式下接收的第一个SDU分段更新接收窗的参数,由此可以防止在切换传输模式之后数据包丢失或数据合并错误。In this embodiment of the present application, when the network device switches from the first transmission mode to the second transmission mode, the terminal device receives the SDU segment sent by the network device, and the terminal device can receive the SDU segment according to the first SDU segment received in the second transmission mode. Update the parameters of the receive window, thereby preventing packet loss or data merging errors after switching transmission modes.
在第五方面的一种可能的实现方式中,第一数据包包括服务数据单元SDU分段,当从第一传输模式切换到第二传输模式,处理模块用于丢弃接收窗在第一传输模式下接收的SDU分段。In a possible implementation manner of the fifth aspect, the first data packet includes a service data unit SDU segment, and when switching from the first transmission mode to the second transmission mode, the processing module is configured to discard the receiving window in the first transmission mode the received SDU segment.
第六方面,提供了一种通信装置,通信装置可以为网络设备,包括:收发模块,用于以第一传输模式发送无线链路控制实体中的第一数据包。处理模块,用于从第一传输模式切换到第二传输模式。处理模块,还用于确定第二数据包的SN。第二数据包可以包括服务数据单元SDU分段,第二数据包包括包头,包头内包括SDU分段的SN号。终端设备的RLC接收到第二数据包之后,根据包头内的SN号可以对SDU分段进行重组,组装成完整的SDU,终端设备的RLC将组装的完整的SDU发送给PDCP。第二数据包的SN号可以是指网络设备的RLC为第二数据包分配的SN号。也可以将网络设备确定第二数据包的SN理解为网络设备更新第二数据包的SN号。收发模块,用于以第二传输模式发送所述无线链路控制实体中的所述第二数据包。第一传输模式和第二传输模式是点到多点传输模式和点到点传输模式中的一种和另一种。In a sixth aspect, a communication apparatus is provided, the communication apparatus may be a network device, and includes: a transceiver module configured to send a first data packet in a radio link control entity in a first transmission mode. The processing module is used for switching from the first transmission mode to the second transmission mode. The processing module is further configured to determine the SN of the second data packet. The second data packet may include a service data unit SDU segment, the second data packet includes a packet header, and the packet header includes an SN number of the SDU segment. After receiving the second data packet, the RLC of the terminal device can reassemble the SDU segments according to the SN number in the packet header to assemble a complete SDU, and the RLC of the terminal device sends the assembled complete SDU to the PDCP. The SN number of the second data packet may refer to the SN number allocated to the second data packet by the RLC of the network device. It can also be understood that the network device determines the SN of the second data packet as the network device updates the SN number of the second data packet. A transceiver module, configured to send the second data packet in the RLC entity in a second transmission mode. The first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
本申请实施例中,网络设备将传输模式从第一传输模式切换到第二传输模式,网络设备确定第二数据包的SN号。通过对第二数据包的SN号的更新,可以避免数据包传输丢失或者数据合并错误的情况。In this embodiment of the present application, the network device switches the transmission mode from the first transmission mode to the second transmission mode, and the network device determines the SN number of the second data packet. By updating the SN number of the second data packet, the situation of data packet transmission loss or data merging errors can be avoided.
在第六方面的一种可能的实现方式中,第一传输模式为点到多点传输模式,第二传输模式为点到点传输模式,SN为初始值。初始值可以是协议规定的,例如初始值为1。In a possible implementation manner of the sixth aspect, the first transmission mode is a point-to-multipoint transmission mode, the second transmission mode is a point-to-point transmission mode, and SN is an initial value. The initial value can be specified by the protocol, for example, the initial value is 1.
本申请实施例中,在切换传输模式之后,第二数据包SDU分段的SN号可以更新为初始值。通过对第二数据包的SN号的更新,可以避免数据包传输丢失或者数据合并错误的情况。In this embodiment of the present application, after the transmission mode is switched, the SN number of the SDU segment of the second data packet may be updated to an initial value. By updating the SN number of the second data packet, the situation of data packet transmission loss or data merging errors can be avoided.
在第六方面的一种可能的实现方式中,第一传输模式为点到多点传输模式,第二传输模式为点到点传输模式。处理模块用于确定第二数据包的SN包括:处理模块用于根据第一SN确定SN,第一SN为在上一次点到点传输模式下传输的SDU分段对应的最大SN。最大SN是指在上一次点到点传输模式下传输的SDU分段对应的SN中数值最大的SN。网络设备可以将第二数据包的SN更新为第一SN+1,例如,当第一SN为7的时候,网络设备可以将第二数据包的SN更新为8。In a possible implementation manner of the sixth aspect, the first transmission mode is a point-to-multipoint transmission mode, and the second transmission mode is a point-to-point transmission mode. The processing module configured to determine the SN of the second data packet includes: the processing module is configured to determine the SN according to the first SN, where the first SN is the maximum SN corresponding to the SDU segment transmitted in the last point-to-point transmission mode. The maximum SN refers to the SN with the largest value among the SNs corresponding to the SDU segment transmitted in the last point-to-point transmission mode. The network device may update the SN of the second data packet to the first SN+1. For example, when the first SN is 7, the network device may update the SN of the second data packet to 8.
本申请实施例中,在切换传输模式之后,第二数据包SDU分段的SN号可以更新为上一次点到点传输模式下传输的SDU分段对应的最大SN。通过对第二数据包的SN号的更新,可以避免数据包传输丢失或者数据合并错误的情况。In the embodiment of the present application, after the transmission mode is switched, the SN number of the SDU segment of the second data packet may be updated to the maximum SN corresponding to the SDU segment transmitted in the last point-to-point transmission mode. By updating the SN number of the second data packet, the situation of data packet transmission loss or data merging errors can be avoided.
在第六方面的一种可能的实现方式中,第一数据包包括服务数据单元SDU分段。收发模块用于在第二传输模式下发送第一SDU分段对应的完整的SDU,第一SDU分段是在第一传输模式下发送的SDU分段中的至少一个。在第二传输模式下发送第一SDU分段对应的完整的SDU,可以直接发送该完整的SDU,也可以以分段的方式将该完整的SDU对应的所有的第一SDU分段在第二传输模式中发送。In a possible implementation manner of the sixth aspect, the first data packet includes a service data unit SDU segment. The transceiver module is configured to send a complete SDU corresponding to the first SDU segment in the second transmission mode, where the first SDU segment is at least one of the SDU segments sent in the first transmission mode. The complete SDU corresponding to the first SDU segment is sent in the second transmission mode, the complete SDU may be sent directly, or all the first SDU segments corresponding to the complete SDU may be segmented in the second sent in transfer mode.
本申请实施例中,通过在第二传输模式中发送已经在第一传输模式中发送过的第一SDU分段对应的完整的SDU,可以保证业务传输的连续性。In the embodiment of the present application, by sending the complete SDU corresponding to the first SDU segment that has been sent in the first transmission mode in the second transmission mode, the continuity of service transmission can be ensured.
在第六方面的一种可能的实现方式中,第一传输模式为点到点传输模式,第二传输模式为点到多点传输模式。收发模块还用于向终端设备发送第二指示信息,第二指示信息用于指示序列号SN,序列号SN用于指示终端设备根据SN更新接收窗的参数。In a possible implementation manner of the sixth aspect, the first transmission mode is a point-to-point transmission mode, and the second transmission mode is a point-to-multipoint transmission mode. The transceiver module is further configured to send second indication information to the terminal equipment, where the second indication information is used to indicate the serial number SN, and the serial number SN is used to instruct the terminal equipment to update the parameters of the receiving window according to the SN.
本申请实施例中,当从第一传输模式切换到第二传输模式,收发模块还用于发送第二指示信息,第二指示信息指示SN的数值。终端设备可以根据第二指示信息所指示的SN的数值更新接收窗的参数。可以防止在切换传输模式之后数据包丢失或数据合并错误。In this embodiment of the present application, when switching from the first transmission mode to the second transmission mode, the transceiver module is further configured to send second indication information, where the second indication information indicates the value of the SN. The terminal device may update the parameters of the receiving window according to the value of the SN indicated by the second indication information. Packet loss or data merging errors after switching transmission modes can be prevented.
第七方面,提供了一种通信装置,通信装置可以为终端设备,包括:收发模块,用于接收第一配置信息。处理模块用于根据第一配置信息配置无线链路控制实体RLC的至少一个第一接收窗和至少一个第二接收窗。第一接收窗用于接收通过点到点传输模式传输的第一数据包,所述第二接收窗用于接收通过点到多点传输模式传输的第二数据包。收发模块,还用于接收第一数据包和/或所述第二数据包。In a seventh aspect, a communication apparatus is provided. The communication apparatus may be a terminal device, and includes: a transceiver module for receiving the first configuration information. The processing module is configured to configure at least one first receiving window and at least one second receiving window of the radio link control entity RLC according to the first configuration information. The first receiving window is used for receiving the first data packet transmitted in the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet transmitted in the point-to-multipoint transmission mode. The transceiver module is further configured to receive the first data packet and/or the second data packet.
本申请实施例中,一个RLC实体中的两个接收窗分别用于接收在点到点传输模式中传输的数据包和点到多点传输模式中传输的数据包,每个接收窗分别维护各自的接收窗变量、数据包接收缓冲或者接收窗参数。这样无论点到多点传输模式和点到点传输模式如何切换, 网络设备和终端设备都可以相对独立地维护多点传输模式和点到点传输模式。In this embodiment of the present application, two receiving windows in an RLC entity are respectively used to receive data packets transmitted in the point-to-point transmission mode and data packets transmitted in the point-to-multipoint transmission mode, and each receiving window maintains its own Receive window variable, packet receive buffer or receive window parameter. In this way, no matter how the point-to-multipoint transmission mode and the point-to-point transmission mode are switched, the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
在第七方面的一种可能的实现方式中,收发模块,用于发送能力信息,能力信息用于向网络设备指示终端设备支持同一个RLC配置至少两个接收窗。In a possible implementation manner of the seventh aspect, the transceiver module is configured to send capability information, where the capability information is used to indicate to the network device that the terminal device supports the same RLC configuration with at least two receiving windows.
本申请实施例中,网络设备可以根据终端设备发送的能力信息向终端设备发送第一配置信息。In this embodiment of the present application, the network device may send the first configuration information to the terminal device according to the capability information sent by the terminal device.
第八方面,提供一种通信装置,包括:收发模块,用于发送第一配置信息,第一配置信息用于配置无线链路控制实体RLC的至少一个第一接收窗和至少一个第二接收窗。第一接收窗用于接收在点到点传输模式下的第一数据包,第二接收窗用于接收在点到多点传输模式下的第二数据包。收发模块,还用于发送第一数据包和/或第二数据包。处理模块,用于控制收发模块发送第一配置信息和/或用于控制收发模块发送第一数据包和/或第二数据包。In an eighth aspect, a communication device is provided, comprising: a transceiver module for sending first configuration information, where the first configuration information is used to configure at least one first receiving window and at least one second receiving window of a radio link control entity RLC . The first receiving window is used for receiving the first data packet in the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet in the point-to-multipoint transmission mode. The transceiver module is further configured to send the first data packet and/or the second data packet. The processing module is configured to control the transceiver module to send the first configuration information and/or to control the transceiver module to send the first data packet and/or the second data packet.
本申请实施例中,网络设备向终端设备发送配置信息,用于配置终端设备的一个RLC实体中的至少两个接收窗。至少两个接收窗分别用于接收在点到点传输模式中传输的数据包和点到多点传输模式中传输的数据包,每个接收窗分别维护各自的接收窗变量、数据包接收缓冲或者接收窗参数。这样无论点到多点传输模式和点到点传输模式如何切换,网络设备和终端设备都可以相对独立地维护多点传输模式和点到点传输模式。In this embodiment of the present application, the network device sends configuration information to the terminal device, which is used to configure at least two receiving windows in one RLC entity of the terminal device. At least two receive windows are respectively used to receive data packets transmitted in point-to-point transmission mode and data packets transmitted in point-to-multipoint transmission mode, and each receive window maintains its own receive window variable, data packet receive buffer or Receive window parameters. In this way, no matter how the point-to-multipoint transmission mode and the point-to-point transmission mode are switched, the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
在第八方面的一种可能的实现方式中,收发模块还用于接收终端设备的能力信息,能力信息用于向网络设备指示终端设备支持同一个RLC配置至少两个接收窗。In a possible implementation manner of the eighth aspect, the transceiver module is further configured to receive capability information of the terminal device, where the capability information is used to indicate to the network device that the terminal device supports the same RLC configuration with at least two receiving windows.
本申请实施例中,网络设备可以根据终端设备发送的能力信息向终端设备发送第一配置信息。In this embodiment of the present application, the network device may send the first configuration information to the terminal device according to the capability information sent by the terminal device.
第九方面提供一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行实现第一方面的任一可能的实现方式中的方法。A ninth aspect provides a computer-readable storage medium comprising instructions that, when run on a computer, cause the computer to perform the method of implementing any possible implementation of the first aspect.
第十方面提供一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行实现第二方面的任一可能的实现方式中的方法。A tenth aspect provides a computer-readable storage medium comprising instructions that, when run on a computer, cause the computer to perform the method of implementing any possible implementation of the second aspect.
第十一方面提供一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行实现第三方面的任一可能的实现方式中的方法。An eleventh aspect provides a computer-readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method in any possible implementation of the third aspect.
第十二方面提供一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行实现第四方面的任一可能的实现方式中的方法。A twelfth aspect provides a computer-readable storage medium comprising instructions that, when run on a computer, cause the computer to perform the method of implementing any possible implementation of the fourth aspect.
第十三方面提供一种通信装置,所述通信装置包括存储器和处理器,所述存储器用于存储指令,所述处理器用于执行所述存储器存储的指令,并且对所述存储器中存储的指令的执行使得所述处理器执行第一方面的任一可能的实现方式中的方法。A thirteenth aspect provides a communication apparatus, the communication apparatus includes a memory and a processor, the memory is used for storing instructions, the processor is used for executing the instructions stored in the memory, and processing the instructions stored in the memory Execution causes the processor to execute the method in any possible implementation of the first aspect.
第十四方面提供一种通信装置,所述通信装置包括存储器和处理器,所述存储器用于存储指令,所述处理器用于执行所述存储器存储的指令,并且对所述存储器中存储的指令的执行使得所述处理器执行第二方面的任一可能的实现方式中的方法。A fourteenth aspect provides a communication device, the communication device includes a memory and a processor, the memory is used for storing instructions, the processor is used for executing the instructions stored in the memory, and processing the instructions stored in the memory. Execution causes the processor to perform the method in any possible implementation of the second aspect.
第十五方面提供一种通信装置,所述通信装置包括存储器和处理器,所述存储器用于存储指令,所述处理器用于执行所述存储器存储的指令,并且对所述存储器中存储的指令的执行使得所述处理器执行第三方面的任一可能的实现方式中的方法。A fifteenth aspect provides a communication apparatus, the communication apparatus includes a memory and a processor, the memory is used for storing instructions, the processor is used for executing the instructions stored in the memory, and processing the instructions stored in the memory Execution causes the processor to execute the method in any possible implementation manner of the third aspect.
第十六面提供一种通信装置,所述通信装置包括存储器和处理器,所述存储器用于存 储指令,所述处理器用于执行所述存储器存储的指令,并且对所述存储器中存储的指令的执行使得所述处理器执行第四方面的任一可能的实现方式中的方法。A sixteenth aspect provides a communication apparatus, the communication apparatus includes a memory and a processor, the memory is used for storing instructions, the processor is used for executing the instructions stored in the memory, and processing the instructions stored in the memory. Execution causes the processor to execute the method in any possible implementation manner of the fourth aspect.
第十七方面提供一种通信系统,包括第五方面所述的通信装置和第七方面所述的通信装置。A seventeenth aspect provides a communication system, including the communication device of the fifth aspect and the communication device of the seventh aspect.
第十八方面提供一种通信系统,包括第六方面所述的通信装置和第八方面所述的通信装置。An eighteenth aspect provides a communication system, including the communication device of the sixth aspect and the communication device of the eighth aspect.
第十九方面提供一种包含指令的计算机程序产品,所述计算机程序产品用于存储计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述第一方面的任一可能的实现方式中的方法。A nineteenth aspect provides a computer program product comprising instructions, the computer program product is used to store a computer program, when the computer program is run on a computer, the computer causes the computer to execute any possible method of the first aspect above method in the implementation.
第二十方面提供一种包含指令的计算机程序产品,所述计算机程序产品用于存储计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述第二方面的任一可能的实现方式中的方法。A twentieth aspect provides a computer program product comprising instructions, the computer program product is used to store a computer program, and when the computer program is run on a computer, the computer causes the computer to execute any possible method of the second aspect above. method in the implementation.
第二十一方面提供一种包含指令的计算机程序产品,所述计算机程序产品用于存储计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述第三方面的任一可能的实现方式中的方法。A twenty-first aspect provides a computer program product comprising instructions, the computer program product is used to store a computer program, when the computer program is run on a computer, the computer enables the computer to perform any possibility of the third aspect above method in the implementation.
第二十二方面提供一种包含指令的计算机程序产品,所述计算机程序产品用于存储计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述第四方面的任一可能的实现方式中的方法。A twenty-second aspect provides a computer program product containing instructions, the computer program product is used to store a computer program, and when the computer program is run on a computer, the computer enables the computer to perform any possibility of the fourth aspect above method in the implementation.
附图说明Description of drawings
图1为本申请实施例适用的一种网络架构示意图;FIG. 1 is a schematic diagram of a network architecture to which an embodiment of the present application is applicable;
图2为本申请实施例适用的又一种网络架构示意图;FIG. 2 is a schematic diagram of another network architecture to which the embodiments of the present application are applicable;
图3为本申请实施例适用的又一种网络架构示意图;FIG. 3 is a schematic diagram of another network architecture to which the embodiment of the present application is applicable;
图4是本申请实施例适用的一种多播广播业务传输架构的示意图;4 is a schematic diagram of a multicast broadcast service transmission architecture to which an embodiment of the present application is applicable;
图5是本申请实施例提供的一种传输MBS业务的协议栈结构示意图;5 is a schematic structural diagram of a protocol stack for transmitting an MBS service provided by an embodiment of the present application;
图6是本申请第一实施例提供的一种通信方法的流程图;FIG. 6 is a flowchart of a communication method provided by the first embodiment of the present application;
图7是本申请第一实施例提供的一种通信方法的流程图;7 is a flowchart of a communication method provided by the first embodiment of the present application;
图8是本申请实施例提供的通信装置的结构示意图;8 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图9是本申请实施例提供的通信装置的又一种结构示意图;FIG. 9 is another schematic structural diagram of a communication device provided by an embodiment of the present application;
图10是本申请实施例提供的通信装置的又一种结构示意图;FIG. 10 is another schematic structural diagram of a communication device provided by an embodiment of the present application;
图11是本申请实施例提供的通信装置的又一种结构示意图。FIG. 11 is another schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请中的技术方案进行描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。The technical solutions in the present application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, but not all, embodiments of the present invention.
首先,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。First, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
1、终端设备:可以是能够接收网络设备调度和指示信息的无线终端设备,无线终端设备可以是指向用户提供语音和/或数据连通性的设备,或具有无线连接功能的手持式设备、 或连接到无线调制解调器的其他处理设备。终端设备可以经无线接入网(radio access network,RAN)与一个或多个核心网或者互联网进行通信,终端设备可以是移动终端设备,如移动电话(或称为“蜂窝”电话,手机(mobile phone))、计算机和数据卡,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、平板电脑(Pad)、带无线收发功能的电脑等设备。无线终端设备也可以称为系统、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、移动台(mobile station,MS)、远程站(remote station)、接入点(access point,AP)、远程终端设备(remote terminal)、接入终端设备(access terminal)、用户终端设备(user terminal)、用户代理(user agent)、用户站(subscriber station,SS)、用户端设备(customer premises equipment,CPE)、终端(terminal)、用户设备(user equipment,UE)、移动终端(mobile terminal,MT)等。终端设备也可以是可穿戴设备以及下一代通信系统,例如,5G通信系统中的终端设备或者未来演进的公共陆地移动网络(public land mobile network,PLMN)中的终端设备等。1. Terminal device: It can be a wireless terminal device that can receive network equipment scheduling and instruction information. The wireless terminal device can be a device that provides voice and/or data connectivity to users, or a handheld device with wireless connection function, or a connection other processing equipment to the wireless modem. Terminal equipment can communicate with one or more core networks or the Internet via a radio access network (RAN), and the terminal equipment can be a mobile terminal equipment, such as a mobile phone (or "cellular" phone, mobile phone (mobile phone), computer and data cards, for example, may be portable, pocket-sized, hand-held, computer built-in or vehicle mounted mobile devices that exchange language and/or data with the radio access network. For example, personal communication service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), tablets Computer (Pad), computer with wireless transceiver function and other equipment. Wireless terminal equipment may also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile station (MS), a remote station, an access point ( access point (AP), remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent), subscriber station (SS), user terminal equipment (customer premises equipment, CPE), terminal (terminal), user equipment (user equipment, UE), mobile terminal (mobile terminal, MT), etc. The terminal device may also be a wearable device and a next-generation communication system, for example, a terminal device in a 5G communication system or a terminal device in a future evolved public land mobile network (PLMN).
本申请实施例中,用于实现终端的功能的装置可以是终端,也可以是能够支持终端实现该功能的电路,例如可以被应用于芯片系统的电路。该芯片系统可以被安装在终端中。本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。本申请实施例提供的技术方案中,以用于实现终端的功能的装置是终端为例,描述本申请实施例提供的技术方案。In this embodiment of the present application, the device for implementing the function of the terminal may be the terminal, or may be a circuit capable of supporting the terminal to implement the function, for example, a circuit that may be applied to a chip system. The chip system can be installed in a terminal. In this embodiment of the present application, the chip system may be composed of chips, or may include chips and other discrete devices. In the technical solutions provided by the embodiments of the present application, the technical solutions provided by the embodiments of the present application are described by taking the device for realizing the functions of the terminal as a terminal as an example.
2、网络设备:可以是无线网络中的设备,例如网络设备可以为将终端设备接入到无线网络的无线接入网(radio access network,RAN)节点(或设备),又可以称为基站。目前,一些RAN设备的举例为:5G通信系统中的新一代基站(generation Node B,gNodeB)、传输接收点(transmission reception point,TRP)、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(base band unit,BBU),或无线保真(wireless fidelity,Wi-Fi)接入点(access point,AP)等。另外,在一种网络结构中,网络设备可以包括集中单元(centralized unit,CU)节点、或分布单元(distributed unit,DU)节点、或包括CU节点和DU节点的RAN设备。此外,在其它可能的情况下,网络设备可以是其它为终端设备提供无线通信功能的装置。本申请的实施例对网络设备所采用的具体技术和具体设备形态不做限定。为方便描述,本申请实施例中,为终端设备提供无线通信功能的装置称为网络设备。2. Network device: It can be a device in a wireless network. For example, a network device can be a radio access network (RAN) node (or device) that connects a terminal device to a wireless network, also known as a base station. At present, some examples of RAN equipment are: generation Node B (gNodeB), transmission reception point (TRP), evolved Node B (evolved Node B, eNB), wireless network in the 5G communication system Controller (radio network controller, RNC), Node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, Or home Node B, HNB), base band unit (base band unit, BBU), or wireless fidelity (wireless fidelity, Wi-Fi) access point (access point, AP), etc. In addition, in a network structure, the network device may include a centralized unit (centralized unit, CU) node, or a distributed unit (distributed unit, DU) node, or a RAN device including a CU node and a DU node. In addition, in other possible cases, the network device may be other devices that provide wireless communication functions for the terminal device. The embodiments of the present application do not limit the specific technology and specific device form adopted by the network device. For convenience of description, in this embodiment of the present application, a device that provides a wireless communication function for a terminal device is referred to as a network device.
网络设备还可以包括核心网设备,核心网设备可以为5G核心网,核心网设备包括但不限于:AMF、用户面功能实体(User plane Function,UPF)、鉴权服务功能(Authentication Server Function,AUSF)、数据网络(Data Network,DN)、非结构性数据存储功能(Unstructured Data Storage Function,UDFS)、网络业务呈现功能实体(Network Exposure Function,NEF)、网元数据仓库功能实体(NF Repository Function,NRF)、网络切片选择 功能实体(Network SliceSelection Function,NSSF)、策略控制功能Policy Control function(PCF)、进程管理功能(Session Management Function,SMF)、统一数据管理功能(Unified Data Management,UDM)、统一数据仓库功能(Unified Data Repository,UDR)或应用层功能(Application Function,AF)。The network equipment may also include core network equipment, the core network equipment may be a 5G core network, and the core network equipment includes but is not limited to: AMF, User plane Function (UPF), Authentication Server Function (AUSF) ), Data Network (DN), Unstructured Data Storage Function (UDFS), Network Exposure Function (NEF), NF Repository Function (NF Repository Function, NRF), Network SliceSelection Function (NSSF), Policy Control Function (PCF), Session Management Function (SMF), Unified Data Management (UDM), Unified Data warehouse function (Unified Data Repository, UDR) or application layer function (Application Function, AF).
本申请实施例中的术语“系统”和“网络”可被互换使用。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A、同时存在A和B、单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如“A,B和C中的至少一个”包括A,B,C,AB,AC,BC或ABC。The terms "system" and "network" in the embodiments of the present application may be used interchangeably. "At least one" means one or more, and "plurality" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A, B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example "at least one of A, B and C" includes A, B, C, AB, AC, BC or ABC.
以及,除非有特别说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。例如,第一阈值和第二阈值,只是为了区分不同的阈值,而并不是表示这两种阈值的优先级或者重要程度等的不同。And, unless otherwise specified, ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, sequence, priority or importance of multiple objects degree. For example, the first threshold and the second threshold are only for distinguishing different thresholds, and do not indicate the difference in priority or importance of the two thresholds.
下面结合说明书附图对本申请实施例适用的可选的网络架构进行说明。An optional network architecture applicable to the embodiments of the present application will be described below with reference to the accompanying drawings.
图1为本申请实施例适用的一种网络架构示意图。如图1所示,终端设备130可接入到无线网络,以通过无线网络获取外网(例如因特网)的服务,或者通过无线网络与其它设备通信,如可以与其它终端设备通信。该无线网络包括无线接入网(radio access network,RAN)设备110和核心网(core network,CN)设备120,其中RAN设备110用于将终端设备130接入到无线网络,CN设备120用于对终端设备进行管理并提供与外网通信的网关。应理解,图1所示的通信系统中各个设备的数量仅作为示意,本申请实施例并不限于此,实际应用中在通信系统中还可以包括更多的终端设备130、更多的RAN设备110,还可以包括其它设备。FIG. 1 is a schematic diagram of a network architecture to which an embodiment of the present application is applied. As shown in FIG. 1 , the terminal device 130 can be connected to a wireless network to obtain services of an external network (eg, the Internet) through the wireless network, or communicate with other devices through the wireless network, for example, can communicate with other terminal devices. The wireless network includes a radio access network (RAN) device 110 and a core network (core network, CN) device 120, wherein the RAN device 110 is used to access the terminal device 130 to the wireless network, and the CN device 120 is used to connect the terminal device 130 to the wireless network. Manage terminal devices and provide gateways for communication with external networks. It should be understood that the number of each device in the communication system shown in FIG. 1 is only for illustration, and the embodiments of the present application are not limited to this. In practical applications, the communication system may also include more terminal devices 130 and more RAN devices. 110, other devices may also be included.
CN中可以包括多个CN设备120,当图1所示的网络架构适用于5G通信系统时,CN设备120可以为接入和移动性管理功能(access and mobility management function,AMF)实体、会话管理功能(session management function,SMF)实体或用户面功能(user plane function,UPF)实体等,当图1所示的网络架构适用于LTE通信系统时,CN设备120可以为移动性管理实体(mobility management entity,MME)和服务网关(serving gateway,S-GW)等。The CN may include a plurality of CN devices 120. When the network architecture shown in FIG. 1 is suitable for a 5G communication system, the CN devices 120 may be access and mobility management function (AMF) entities, session management Function (session management function, SMF) entity or user plane function (user plane function, UPF) entity, etc. When the network architecture shown in FIG. 1 is applicable to the LTE communication system, the CN device 120 can be a mobility management entity (mobility management entity). entity, MME) and serving gateway (serving gateway, S-GW), etc.
图2为本申请实施例适用的又一种网络架构示意图。如图2所示,该网络架构包括CN设备、RAN设备和终端设备。其中,RAN设备包括基带装置和射频装置,其中基带装置可以由一个节点实现,也可以由多个节点实现,射频装置可以从基带装置拉远独立实现,也可以集成在基带装置中,或者部分功能独立集成、部分功能集成在基带装置中。例如,在LTE通信系统中,RAN设备(eNB)包括基带装置和射频装置,其中射频装置可以相对于基带装置拉远布置,例如射频拉远单元(remote radio unit,RRU)是相对于BBU布置的远端无线单元。FIG. 2 is a schematic diagram of another network architecture to which this embodiment of the present application is applicable. As shown in Figure 2, the network architecture includes CN equipment, RAN equipment and terminal equipment. The RAN equipment includes a baseband device and a radio frequency device, where the baseband device can be implemented by one node or multiple nodes, and the radio frequency device can be implemented independently from the baseband device, or can be integrated in the baseband device, or some functions Independent integration, some functions are integrated in the baseband device. For example, in an LTE communication system, a RAN equipment (eNB) includes a baseband device and a radio frequency device, wherein the radio frequency device may be arranged remotely relative to the baseband device, for example, a remote radio unit (remote radio unit, RRU) is arranged relative to the BBU remote wireless unit.
RAN设备和终端设备之间的通信遵循一定的协议层结构,例如控制面协议层结构可以 包括无线资源控制(radio resource control,RRC)层、分组数据汇聚层协议(packet data convergence protocol,PDCP)层、无线链路控制(radio link control,RLC)层、媒体接入控制(media access control,MAC)层和物理层等协议层的功能;用户面协议层结构可以包括PDCP层、RLC层、MAC层和物理层等协议层的功能;在一种可能的实现中,PDCP层之上还可以包括业务数据适配(service data adaptation protocol,SDAP)层。The communication between the RAN device and the terminal device follows a certain protocol layer structure. For example, the control plane protocol layer structure may include a radio resource control (RRC) layer, a packet data convergence protocol (packet data convergence protocol, PDCP) layer. , radio link control (radio link control, RLC) layer, media access control (media access control, MAC) layer and physical layer and other protocol layer functions; user plane protocol layer structure can include PDCP layer, RLC layer, MAC layer The functions of protocol layers such as physical layer and physical layer; in a possible implementation, a service data adaptation protocol (SDAP) layer may also be included above the PDCP layer.
RAN设备可以由一个节点实现RRC、PDCP、RLC和MAC等协议层的功能,或者可以由多个节点实现这些协议层的功能。例如,在一种演进结构中,RAN设备可以包括CU)和DU,多个DU可以由一个CU集中控制。如图2所示,CU和DU可以根据无线网络的协议层划分,例如PDCP层及以上协议层的功能设置在CU,PDCP以下的协议层,例如RLC层和MAC层等的功能设置在DU。A RAN device may implement the functions of protocol layers such as RRC, PDCP, RLC, and MAC by one node, or may implement the functions of these protocol layers by multiple nodes. For example, in an evolved structure, a RAN device may include a CU) and a DU, and multiple DUs may be centrally controlled by one CU. As shown in Figure 2, the CU and DU can be divided according to the protocol layers of the wireless network. For example, the functions of the PDCP layer and above are set in the CU, and the functions of the protocol layers below PDCP, such as the RLC layer and the MAC layer, are set in the DU.
这种协议层的划分仅仅是一种举例,还可以在其它协议层划分,例如在RLC层划分,将RLC层及以上协议层的功能设置在CU,RLC层以下协议层的功能设置在DU;或者,在某个协议层中划分,例如将RLC层的部分功能和RLC层以上的协议层的功能设置在CU,将RLC层的剩余功能和RLC层以下的协议层的功能设置在DU。此外,也可以按其它方式划分,例如按时延划分,将处理时间需要满足时延要求的功能设置在DU,不需要满足该时延要求的功能设置在CU。The division of this protocol layer is only an example, and it can also be divided at other protocol layers, for example, at the RLC layer, the functions of the RLC layer and the above protocol layers are set in the CU, and the functions of the protocol layers below the RLC layer are set in the DU; Alternatively, in a certain protocol layer, for example, some functions of the RLC layer and functions of the protocol layers above the RLC layer are placed in the CU, and the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer are placed in the DU. In addition, it can also be divided in other ways, for example, by time delay, the functions whose processing time needs to meet the delay requirements are set in the DU, and the functions that do not need to meet the delay requirements are set in the CU.
此外,射频装置可以独立集成,不放在DU中,也可以集成在DU中,或者部分拉远部分集成在DU中,在此不作任何限制。In addition, the radio frequency device may be integrated independently, not placed in the DU, may also be integrated in the DU, or partially remote and partially integrated in the DU, which is not limited herein.
图3为本申请实施例适用的又一种网络架构示意图。相对于图2所示的网络架构,图3中还可以将CU的控制面(CP)和用户面(UP)分离,分成不同实体来实现,分别为控制面(control plane,CP)CU实体(即CU-CP实体)和用户面(user plane,UP)CU实体(即CU-UP实体)。FIG. 3 is a schematic diagram of another network architecture to which this embodiment of the present application is applied. Compared with the network architecture shown in Figure 2, in Figure 3, the control plane (CP) and user plane (UP) of the CU can also be separated and divided into different entities for implementation, namely the control plane (CP) CU entity ( That is, the CU-CP entity) and the user plane (user plane, UP) CU entity (that is, the CU-UP entity).
在以上网络架构中,CU产生的信令可以通过DU发送给终端设备,或者终端设备产生的信令可以通过DU发送给CU。DU可以不对该信令进行解析而直接通过协议层封装后透传给终端设备或CU。以下实施例中如果涉及这种信令在DU和终端设备之间的传输,此时,DU对信令的发送或接收包括这种场景。例如,RRC或PDCP层的信令最终会处理为PHY层的信令发送给终端设备,或者,由接收到的PHY层的信令转变而来。在这种架构下,该RRC或PDCP层的信令,即也可以认为是由DU发送的,或者,由DU和射频装载发送的。In the above network architecture, the signaling generated by the CU can be sent to the terminal device through the DU, or the signaling generated by the terminal device can be sent to the CU through the DU. The DU may not parse the signaling, but directly encapsulate it through the protocol layer and transparently transmit it to the terminal device or CU. In the following embodiments, if the transmission of such signaling between the DU and the terminal device is involved, at this time, the sending or receiving of the signaling by the DU includes this scenario. For example, the signaling of the RRC or PDCP layer is finally processed as the signaling of the PHY layer and sent to the terminal device, or is converted from the received signaling of the PHY layer. Under this architecture, the signaling of the RRC or PDCP layer can also be considered to be sent by the DU, or sent by the DU and radio frequency loading.
上述图1、图2或图3所示意的网络架构可以适用于各种无线接入技术(radio access technology,RAT)的通信系统中,例如可以是LTE通信系统,也可以是5G(或者称为新无线(new radio,NR))通信系统,也可以是LTE通信系统与5G通信系统之间的过渡系统,该过渡系统也可以称为4.5G通信系统,当然也可以是未来的通信系统。本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着通信网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture shown in FIG. 1 , FIG. 2 or FIG. 3 can be applied to communication systems of various radio access technologies (RATs), such as an LTE communication system, or a 5G (or referred to as 5G) communication system. The new wireless (new radio, NR) communication system can also be a transition system between the LTE communication system and the 5G communication system. The transition system can also be called a 4.5G communication system, and of course it can also be a future communication system. The network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute limitations on the technical solutions provided by the embodiments of the present application. The evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
本申请以下实施例中的装置,根据其实现的功能,可以位于终端设备或网络设备。当采用以上CU-DU的结构时,网络设备可以为CU节点、或DU节点、或包括CU节点和 DU节点的RAN设备。The apparatuses in the following embodiments of the present application may be located in terminal equipment or network equipment according to the functions implemented by them. When the above CU-DU structure is adopted, the network device may be a CU node, or a DU node, or a RAN device including a CU node and a DU node.
图4是本申请实施例适用的一种多播广播业务传输架构的示意图。多播广播业务(Multicast and Broadcast Service,MBS)是面向多个终端设备的业务,例如直播业务、公共安全业务、批量软件更新业务等。FIG. 4 is a schematic diagram of a multicast broadcast service transmission architecture to which an embodiment of the present application is applied. Multicast broadcast service (Multicast and Broadcast Service, MBS) is a service for multiple terminal devices, such as live broadcast service, public safety service, batch software update service, etc.
如图4所示,MBS业务传输过程包括:MBS业务来自数据服务器401,首先数据服务器401将MBS数据发送给核心网设备402,然后核心网设备402将MBS数据发送给RAN设备403,最后RAN设备403将MBS数据发送给接收MBS业务的至少一个终端设备。As shown in FIG. 4 , the MBS service transmission process includes: the MBS service comes from the data server 401. First, the data server 401 sends the MBS data to the core network device 402, then the core network device 402 sends the MBS data to the RAN device 403, and finally the RAN device sends the MBS data to the RAN device 403. 403 Send the MBS data to at least one terminal device that receives the MBS service.
从CN向RAN发送的时候,MBS业务通过一个公共的传输通道MBS会话进行传输,而从RAN向终端数设备发送的时候,有两种传输模式:第一种可以采用点到多点(point to multi-point,PTM)传输模式,第二种可以采用点到点(point to point,PTP)传输模式。When sending from CN to RAN, MBS services are transmitted through a common transmission channel MBS session, and when sending from RAN to terminal equipment, there are two transmission modes: the first one can use point-to-multipoint (point-to-multipoint) multi-point, PTM) transmission mode, the second can use point to point (point to point, PTP) transmission mode.
下面对本申请实施例所涉及的相关技术特征进行介绍。需要说明的是,这些解释是为了让本申请实施例更容易被理解,而不应该视为对本申请所要求的保护范围的限定。The related technical features involved in the embodiments of the present application are introduced below. It should be noted that these explanations are for the purpose of making the embodiments of the present application easier to understand, and should not be regarded as limitations on the protection scope claimed by the present application.
一、PTM传输模式和PTP传输模式1. PTM transmission mode and PTP transmission mode
PTM传输模式也可以称为组调度方式或者多播传输方式,是指某种业务通过网络设备同时向多个终端设备发送数据的传输方式。在采用PTM传输时,针对同一数据,网络设备,例如RAN设备,发送的过程中有多个终端设备同时进行接收。目前PTM主要分为两种:多媒体广播多播单频网络业务(multimedia broadcast multicast service single frequency network,MBSFN)和单小区点到多点业务(single cell point to multipoint,SC-PTM)。其中,MBSFN方式是指在MBSFN区域内多个互相同步的小区,例如多个RAN设备,同时向多个终端设备传输相同的信息。在终端设备看来接收到的是单一的叠加后的数据,这样可以提高接收信号的强度,同时消除了小区间的干扰。SC-PTM方式是指MBS业务只通过一个小区,例如一个RAN设备传输,一个网络设备同时对多个终端设备进行组调度。The PTM transmission mode may also be called a group scheduling mode or a multicast transmission mode, which refers to a transmission mode in which a certain service sends data to multiple terminal devices simultaneously through a network device. When using PTM transmission, for the same data, a network device, such as a RAN device, receives multiple terminal devices simultaneously in the process of sending. At present, PTM is mainly divided into two types: multimedia broadcast multicast service single frequency network (MBSFN) and single cell point to multipoint (SC-PTM). The MBSFN mode refers to that multiple mutually synchronized cells in the MBSFN area, such as multiple RAN devices, simultaneously transmit the same information to multiple terminal devices. From the point of view of the terminal equipment, the received data is a single superimposed data, which can improve the strength of the received signal and eliminate the interference between cells. The SC-PTM mode means that MBS services are transmitted only through one cell, such as one RAN device, and one network device simultaneously performs group scheduling on multiple terminal devices.
采用PTM传输模式发送是指:某一装置发送协议数据单元(protocol data unit,PDU)对应的传输块(transport block,TB)时,采用分组无线网络临时标识(group radio network temporary identifier,G-RNTI)对PDU进行加扰,或对PDU对应的下行控制信息(downlink control information,DCI)进行加扰,同时有一个或者多个装置根据相同的G-RNTI对同一PDU进行接收。或者采用PTM传输模式传输PDU可以指通过半静态方式告诉多个装置同一PDU的位置,多个装置可以同时对该PDU进行接收。或者采用PTM传输模式传输PDU可以指该PDU在为多播传输建立的无线承载中传输或者在专门为多播设计的信道中进行传输。Sending in the PTM transmission mode means: when a device sends a transport block (TB) corresponding to a protocol data unit (PDU), it uses a group radio network temporary identifier (G-RNTI) ) scramble the PDU, or scramble the downlink control information (DCI) corresponding to the PDU, and at the same time one or more devices receive the same PDU according to the same G-RNTI. Alternatively, using the PTM transmission mode to transmit a PDU may refer to informing multiple devices of the location of the same PDU in a semi-static manner, and multiple devices may receive the PDU at the same time. Alternatively, using the PTM transmission mode to transmit a PDU may mean that the PDU is transmitted in a radio bearer established for multicast transmission or in a channel specially designed for multicast transmission.
采用PTM传输模式接收是指:发送装置采用PTM传输模式发送的时候,多个接收装置中的一个装置根据G-RNTI对PDU进行接收。或者多个接收装置中的一个装置通过为多播传输建立的无线承载接收或者在用于多播传输的信道上进行接收PDU。Receiving in the PTM transmission mode refers to: when the transmitting device transmits in the PTM transmission mode, one device among the plurality of receiving devices receives the PDU according to the G-RNTI. Or one of the plurality of receiving devices receives the PDU through the radio bearer established for the multicast transmission or on the channel used for the multicast transmission.
在本申请实施例中,组播为多播的一种具体方式,因此,多播也可以称为组播。In this embodiment of the present application, multicast is a specific form of multicast, and therefore, multicast may also be called multicast.
采用PTP传输模式发送是指:某一装置发送PDU对应的TB时,采用小区无线网络临时标识(cell network temporary identifier,C-RNTI)对PDU进行加扰,或对PDU对应的DCI进行加扰,同时只有一个装置根据C-RNTI对同一PDU进行接收。或者采用PTP传输方式传输PDU可以指该PDU在为单播建立的无线承载中传输或者在专门为单播设计的信 道中进行传输。Sending in the PTP transmission mode means: when a device sends the TB corresponding to the PDU, it uses the cell network temporary identifier (C-RNTI) to scramble the PDU, or scramble the DCI corresponding to the PDU. At the same time only one device receives the same PDU according to the C-RNTI. Alternatively, the use of PTP transmission mode to transmit a PDU may mean that the PDU is transmitted in a radio bearer established for unicast or in a channel specially designed for unicast.
采用PTP传输模式接收是指:发送装置采用PTP传输模式发送的时候,一个接收装置根据C-RNTI对PDU进行接收。或者一个接收装置通过为单播传输建立的无线承载接收或者在用于单播传输的信道上进行接收。Receiving in the PTP transmission mode refers to: when the transmitting device transmits in the PTP transmission mode, a receiving device receives the PDU according to the C-RNTI. Either a receiving device receives via a radio bearer established for unicast transmission or receives on a channel for unicast transmission.
对于传输MBS业务的协议栈来说,PDCP位于MAC层和RLC层之上,数据传输是从网络设备到终端设备。图5是本申请实施例提供的一种传输MBS业务的协议栈结构示意图,如图5所示,带箭头的虚线代表数据传输方向,MBS业务的数据传输过程如下:For the protocol stack for transmitting MBS services, PDCP is located above the MAC layer and the RLC layer, and data transmission is from network equipment to terminal equipment. 5 is a schematic diagram of a protocol stack structure for transmitting an MBS service provided by an embodiment of the present application. As shown in FIG. 5 , the dotted line with an arrow represents the data transmission direction, and the data transmission process of the MBS service is as follows:
数据首先到达网络设备的PDCP层,经过网络设备的PDCP层的处理以后传输到RLC层和MAC层。经过处理之后,从物理层发送出去,通过空口传输给终端设备。然后终端设备的各个协议层按照与网络设备相反的处理顺序对数据包依次进行对应的处理。在网络设备侧和终端设备侧可以形象地将各层对数据包的处理结合起来称为无线承载,对于无线承载里的每个数据,都需要经过各个层的处理,每个层都有相应的功能实体来执行相应的功能,比如PDCP层的PDCP实体。The data first arrives at the PDCP layer of the network device, and is then transmitted to the RLC layer and the MAC layer after being processed by the PDCP layer of the network device. After processing, it is sent from the physical layer and transmitted to the terminal device through the air interface. Then, each protocol layer of the terminal device sequentially performs corresponding processing on the data packets according to the processing sequence opposite to that of the network device. On the network device side and the terminal device side, the processing of data packets by various layers can be visually combined, which is called wireless bearer. For each data in the wireless bearer, it needs to be processed by each layer, and each layer has corresponding Function entities to perform corresponding functions, such as PDCP entities of the PDCP layer.
每个无线承载配置里面会包含一个PDCP实体,同时无线承载配置会关联至少一个RLC实体,并且每个RLC实体对应一个逻辑信道。Each radio bearer configuration will contain a PDCP entity, and at the same time, the radio bearer configuration will be associated with at least one RLC entity, and each RLC entity corresponds to a logical channel.
在MBS业务数据传输过程中,网络设备可以灵活决定采用哪种传输方式进行传输,即可以动态进行传输模式切换。一种可能的传输架构中采用两个RLC实体分别进行PTP和PTM的传输,从PDCP层来的MBS数据包如果决定采用PTP传输方式,将放到PTP对应的RLC实体中进行处理,然后采用PTP传输方式发送给终端设备。反之,放到另一个RLC实体中处理后,采用PTM传输方式发送给终端数设备。采用此协议栈架构,两个RLC实体可以分别进行PTP和PTM相关的处理,而网络设备可以做到两种不同传输方式之间的灵活动态切换。In the process of MBS service data transmission, the network device can flexibly decide which transmission mode to use for transmission, that is, it can dynamically switch the transmission mode. In a possible transmission architecture, two RLC entities are used to transmit PTP and PTM respectively. If the MBS data packets from the PDCP layer decide to use the PTP transmission mode, they will be placed in the RLC entity corresponding to the PTP for processing, and then the PTP will be used. The transmission method is sent to the terminal device. On the contrary, after being processed in another RLC entity, it is sent to the terminal number device using the PTM transmission mode. With this protocol stack architecture, the two RLC entities can perform PTP and PTM-related processing respectively, and the network device can perform flexible and dynamic switching between the two different transmission modes.
二、RLC工作模式:2. RLC working mode:
透明模式(Transparent Mode,TM):对应TMRLC实体,简称TM实体。该模式可以认为是RLC不作任何处理,因为这种模式下RLC只提供数据的透传(pass through)功能。Transparent Mode (Transparent Mode, TM): corresponds to the TMRLC entity, referred to as the TM entity. This mode can be considered as the RLC does not do any processing, because in this mode the RLC only provides the pass through function of the data.
应答模式(Acknowledged Mode,AM):对应AM RLC实体,简称AM实体。通过出错检测和重传,AM模式提供了一种可靠的传输服务。该模式提供了所有的RLC功能,包括下面所述的自动重传请求(Automatic Repeat Request,ARQ)功能。Acknowledged Mode (AM): corresponding to the AM RLC entity, referred to as the AM entity. Through error detection and retransmission, AM mode provides a reliable transmission service. This mode provides all RLC functions, including the Automatic Repeat Request (ARQ) function described below.
无应答模式(Unacknowledged Mode,UM):对应UM RLC实体,简称UM实体。该模式提供除重传和重分段外的所有RLC功能,由于即使数据包传输出错也没有重传功能,所以提供了一种不可靠的传输服务。Unacknowledged Mode (UM): corresponds to the UM RLC entity, referred to as the UM entity. This mode provides all RLC functions except retransmission and re-segmentation, and provides an unreliable transmission service because there is no retransmission function even if the data packet is transmitted in error.
在无线通信中,终端设备进入连接态以后,当有业务需要传输的时候,网络设备会为终端设备配置无线承载用于业务传输,其中无线承载的配置中有RLC的配置信息,根据业务的服务质量(quality of service,QoS)需求,RLC可以配置为上述工作模式的任意一种。当RLC被配置为UM RLC的时候,如果一个RLC业务数据单元(Service Data Unit,SDU)在发送的时候未被分段,则无需在由完整RLC SDU组成的RLC PDU的包头中增加序列号(Serial Number,SN),如果SDU发送的时候被分段了,则需要在RLC SDU分段组成的RLC PDU的包头中增加SN。这是因为如果是完整的SDU组成的PDU,接收端的RLC层 收到以后可以直接递交给上层,无需读取SN,但是对于分段SDU组成的PDU,接收端需要根据包头中的SN判断哪些SDU分段属于同一个完整的SDU,从而将其组装到一起。In wireless communication, after the terminal device enters the connected state, when there is a service that needs to be transmitted, the network device will configure the wireless bearer for the terminal device for service transmission. The configuration of the wireless bearer includes the configuration information of RLC, according to the service of the service. Quality of service (QoS) requirements, RLC can be configured to any one of the above working modes. When RLC is configured as UM RLC, if an RLC Service Data Unit (SDU) is not fragmented when it is sent, there is no need to add a sequence number ( Serial Number, SN), if the SDU is segmented when it is sent, the SN needs to be added to the header of the RLC PDU composed of RLC SDU segments. This is because if it is a PDU composed of complete SDUs, the RLC layer of the receiver can directly submit it to the upper layer after receiving it without reading the SN, but for a PDU composed of segmented SDUs, the receiver needs to judge which SDUs are based on the SN in the packet header. The segments belong to the same complete SDU, thus assembling it together.
三、PDU和SDU3. PDU and SDU
数据要通过网络进行传输,要从高层一层一层的向下传送,如果一个主机要传送数据到别的主机,先把数据包装到一个特殊协议报头中,这个过程叫封装。协议层的协议在对等层之间交换的信息叫协议数据单元PDU。数据被封装并通过网络传输后,接收设备将删除添加的信息,并根据报头中的信息决定如何将数据沿协议栈向上传给合适的应用程序。Data must be transmitted through the network, and it must be transmitted from the upper layer down layer by layer. If a host wants to transmit data to other hosts, it must first wrap the data in a special protocol header. This process is called encapsulation. The information exchanged between the peer layers by the protocol of the protocol layer is called the protocol data unit PDU. After the data is encapsulated and transmitted over the network, the receiving device deletes the added information and decides how to upload the data up the protocol stack to the appropriate application based on the information in the header.
SDU是从更高层协议来的传送到低层协议的信息单元。第N层服务数据单元SDU,和上一层的协议数据单元(PDU)是一一对应的。进入每个子层未被处理的数据称为服务数据单元(SDU),经过子层处理后形成特定格式的数据被称为协议数据单元(PDU)。同时,本层形成的PDU即为下一层的SDU。根据协议数据单元的数据的不同,送到接收端的指定层。An SDU is a unit of information that is transmitted from a higher-layer protocol to a lower-layer protocol. There is a one-to-one correspondence between the service data unit SDU of the Nth layer and the protocol data unit (PDU) of the upper layer. The unprocessed data entering each sublayer is called a service data unit (SDU), and the data that is processed by the sublayer and formed into a specific format is called a protocol data unit (PDU). At the same time, the PDU formed by this layer is the SDU of the next layer. According to the data of the protocol data unit, it is sent to the designated layer of the receiving end.
本申请实施例中的第一数据包、第二数据包是指PDU或者SDU或者PDU分段或者SDU分段,PDU或者SDU或者或者PDU分段或者SDU分段都是数据包的不同形式。以下行为例,在网络设备侧,网络设备的RLC实体接收的来自PDCP的第一数据包/第二数据包就是PDCP PDU或者RLC SDU,网络设备的RLC实体可以根据需要对该RLC SDU进行处理,形成RLC SDU分段,RLC实体对RLC SDU或RLC SDU分段添加包头之后就可以称为RLC PDU,RLC PDU包含RLC包头,对于RLC UM模式来说,在为RLC SDU分段添加包头时,包头中才会包含SN号,用于作为接收端的终端设备对SDU分段进行重组;在为完整RLC SDU添加包头时,包头中不会包含SN号。对于终端设备侧也是同样,终端设备所接收的第一数据包/第二数据包就是PDU或者SDU或者或者PDU分段或者SDU分段。The first data packet and the second data packet in the embodiments of the present application refer to PDU or SDU or PDU segment or SDU segment, and PDU or SDU or or PDU segment or SDU segment are different forms of data packets. In the following example, on the network device side, the first data packet/second data packet from PDCP received by the RLC entity of the network device is the PDCP PDU or RLC SDU, and the RLC entity of the network device can process the RLC SDU as required, The RLC SDU segment is formed. After the RLC entity adds a header to the RLC SDU or RLC SDU segment, it can be called an RLC PDU. The RLC PDU contains the RLC header. For the RLC UM mode, when adding a header to the RLC SDU segment, the header The SN number will be included in the RLC SDU, which is used for the terminal equipment at the receiving end to reassemble the SDU segment; when adding a packet header to the complete RLC SDU, the packet header will not contain the SN number. The same is true for the terminal device side, the first data packet/second data packet received by the terminal device is the PDU or the SDU or the PDU segment or the SDU segment.
基于以上对相关特征的描述,下面对本申请实施例提供进行具体说明。Based on the above description of the relevant features, the following provides a specific description of the embodiments of the present application.
对于本申请实施例所提供的通信方法可以是基于单RLC实体协议栈架构,值得注意的是本发明中的单RLC实体协议栈架构均是针对同一个无线承载而言,即一个无线承载中只包含或者关联一个RLC实体的架构,对于终端设备或者基站来说都可以包含多个无线承载,即可以终端设备或者基站可以包含多个RLC实体。本申请实施例所提供的协议栈架构中包括一个RLC实体,该RLC实体的工作模式可以动态切换以没满足数据包的传输模式在在PTP和PTM传输模式之间进行动态切换时的处理需求。使用该协议栈进行传输模式动态切换的时候,由于只有一个RLC,可以采用时分复用的方式进行RLC处理,即当采用PTP传输方式的时候,RLC实体对数据包进行PTP传输相关的处理,当采用PTM传输方式的时候,RLC实体对数据包进行PTM传输相关的处理。本申请实施例提供的通信方法采用单RLC实体协议栈架构进行传输模式切换,从而通过不同传输模式对数据包进行处理能够显著减低对终端设备的规格要求,提升数据传输的性能。The communication method provided by the embodiment of the present application may be based on a single RLC entity protocol stack architecture. It is worth noting that the single RLC entity protocol stack architecture in the present invention is all for the same radio bearer, that is, only one radio bearer has only one An architecture including or associated with one RLC entity may include multiple radio bearers for a terminal device or a base station, that is, a terminal device or a base station may include multiple RLC entities. The protocol stack architecture provided by the embodiment of the present application includes an RLC entity, and the working mode of the RLC entity can be dynamically switched to meet the processing requirements of the data packet transmission mode when dynamically switching between the PTP and PTM transmission modes. When using this protocol stack to dynamically switch the transmission mode, since there is only one RLC, time division multiplexing can be used for RLC processing, that is, when the PTP transmission method is used, the RLC entity performs PTP transmission related processing on the data packets. When the PTM transmission mode is adopted, the RLC entity performs PTM transmission-related processing on the data packets. The communication method provided by the embodiment of the present application uses a single RLC entity protocol stack architecture to switch transmission modes, so that processing data packets through different transmission modes can significantly reduce the specification requirements for terminal equipment and improve data transmission performance.
示例性地,本申请实施例提供的通信方法可以包括两种可能的方案,为了便于描述称为方案一和方案二。方案一和方案二只是对本申请实施例提供的技术方案进行概括性介绍。需要说明的是,这只是为了更好的理解本申请实施例技术方案的核心思想,不代表对本申请实施例所做的限定。Exemplarily, the communication method provided in this embodiment of the present application may include two possible solutions, which are referred to as solution one and solution two for convenience of description. The first solution and the second solution are only a general introduction to the technical solutions provided by the embodiments of the present application. It should be noted that this is only for better understanding of the core idea of the technical solutions of the embodiments of the present application, and does not represent a limitation on the embodiments of the present application.
方案一中,终端设备和网络设备为单RLC实体的协议栈架构,网络设备以第一传输模式发送第一数据包,而后将传输模式切换为第二传输模式,并在第二传输模式下发送第二数据包,当传输模式发生切换,网络设备更新RLC SN的分配方式,终端设备更新RLC实体的接收窗的参数,从而保证业务传输可靠性。In scheme 1, the terminal device and the network device are the protocol stack architecture of a single RLC entity, the network device sends the first data packet in the first transmission mode, then switches the transmission mode to the second transmission mode, and sends in the second transmission mode. For the second data packet, when the transmission mode is switched, the network device updates the allocation method of the RLC SN, and the terminal device updates the parameters of the receiving window of the RLC entity, thereby ensuring the reliability of service transmission.
方案二中,终端设备和网络设备为单RLC实体的协议栈架构,终端设备的RLC实体配置有至少两个接收窗,分别用于接收不同传输模式下传输的数据包,从而保证业务传输可靠性。In the second solution, the terminal device and the network device are the protocol stack architecture of a single RLC entity, and the RLC entity of the terminal device is configured with at least two receiving windows, which are respectively used to receive data packets transmitted in different transmission modes, thereby ensuring the reliability of service transmission. .
下面结合第一实施例和第二实施例对本申请实施例提供的技术方案进行详细介绍。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the first embodiment and the second embodiment.
第一实施例first embodiment
第一实施例是基于上述方案一描述通信方法的一种可能的实现。图6是本申请第一实施例提供的一种通信方法的流程图,第一实施例的通信方法包括:The first embodiment describes a possible implementation of the communication method based on the first solution above. FIG. 6 is a flowchart of a communication method provided by the first embodiment of the present application. The communication method of the first embodiment includes:
601:网络设备的无线链路控制实体以第一传输模式发送第一数据包,终端设备的无线链路实体接收第一数据包。网络设备向终端数设备发送第一数据包,网络设备的无线链路控制实体可以称为发送端RLC实体,终端设备的无线链路控制实体可以称为接收端RLC实体。601: The radio link control entity of the network device sends the first data packet in the first transmission mode, and the radio link entity of the terminal device receives the first data packet. The network device sends the first data packet to the terminal device. The radio link control entity of the network device may be referred to as a transmitter RLC entity, and the radio link control entity of the terminal device may be referred to as a receiver RLC entity.
第一传输模式可以是PTP或者PTM。第一数据包可以是MBS业务的数据包,网络设备可以是接入网设备或者称为基站。当第一数据包是关于MBS业务的数据包,第一数据包来自数据服务器,并发送给核心网设备。核心网设备发送第一数据包给基站,数据首先到达基站的PDCP层,经过基站的PDCP层的处理以后传输到RLC层和MAC层,经过处理之后,从物理层发送出去,通过空口传输给终端设备。对等的,终端设备的物理层首先接收第一数据包,经过处理以后传输给MAC层、RLC层以及PDCP层等更高层进行相应处理。第一数据包经过PDCP处理后发送给RLC层,RLC层所接收的第一数据包可以称为RLC SDU,经过RLC层处理以后的第一数据包可以称为RLC PDU。这里从更高层来的第一数据包,在经过各个协议层处理的时候,都可以称之为是第一数据包,以此表示其为同一个数据包,其他数据包类似。The first transmission mode may be PTP or PTM. The first data packet may be a data packet of an MBS service, and the network device may be an access network device or a base station. When the first data packet is a data packet related to the MBS service, the first data packet comes from the data server and is sent to the core network device. The core network device sends the first data packet to the base station. The data first arrives at the PDCP layer of the base station, and is processed by the PDCP layer of the base station and then transmitted to the RLC layer and the MAC layer. After processing, it is sent from the physical layer and transmitted to the terminal through the air interface. equipment. Equivalently, the physical layer of the terminal device first receives the first data packet, and after processing, transmits it to higher layers such as the MAC layer, the RLC layer, and the PDCP layer for corresponding processing. The first data packet is sent to the RLC layer after being processed by PDCP, the first data packet received by the RLC layer may be called an RLC SDU, and the first data packet after being processed by the RLC layer may be called an RLC PDU. Here, the first data packet from a higher layer can be called the first data packet when processed by each protocol layer, which means that it is the same data packet, and other data packets are similar.
接收端的RLC实体从MAC接收数据,会做如下几件事:1、检测是否丢失了RLC SDU或者RLC SDU分段。2、将RLC SDU重组为完整RLC SDU,重组成功后递交给PDCP层,在RLC被配置为UM模式的时候,只有分段的SDU才会放到接收窗中,而完整的RLC SDU就直接递交给PDCP层。3、如果重组定时器超时或接收窗移动导致RLC SDU无法重组完成,则丢弃该SDU对应的已经收到的分段。When the RLC entity at the receiving end receives data from the MAC, it will do the following: 1. Detect whether the RLC SDU or RLC SDU segment is lost. 2. Reassemble the RLC SDU into a complete RLC SDU, and submit it to the PDCP layer after the reorganization is successful. When the RLC is configured in UM mode, only the segmented SDU will be placed in the receiving window, and the complete RLC SDU will be directly submitted. to the PDCP layer. 3. If the reassembly timer expires or the receiving window moves, so that the RLC SDU cannot be reassembled, the received segment corresponding to the SDU is discarded.
602:网络设备从第一传输模式切换到第二传输模式。602: The network device switches from the first transmission mode to the second transmission mode.
当第一传输模式为PTM,第二传输模式可以为PTP。当第一传输模式为PTP,第二传输模式可以为PTM。When the first transmission mode is PTM, the second transmission mode may be PTP. When the first transmission mode is PTP, the second transmission mode may be PTM.
网络设备的协议栈架构可以为单RLC实体,并采用时分复用的方式,在第一传输模式和第二传输模式之间进行切换。The protocol stack architecture of the network device may be a single RLC entity, and switch between the first transmission mode and the second transmission mode in a time-division multiplexing manner.
603:网络设备的无线链路控制实体确定第二数据包的SN,以第二传输模式发送第二数据包,终端设备的无线链路控制实体接收第二数据包。603: The radio link control entity of the network device determines the SN of the second data packet, sends the second data packet in the second transmission mode, and the radio link control entity of the terminal device receives the second data packet.
在该步骤中,第二数据包可以是关于MBS业务的数据包,第二数据包来自数据服务器,并发送给核心网设备。核心网设备发送第二数据包给基站,数据首先到达基站的PDCP层,经过基站的PDCP层的处理以后传输到RLC层和MAC层,经过处理之后,从物理层发送出去,通过空口传输给终端设备。对等的,终端设备的物理层首先接收第二数据包,经过处理以后传输给MAC层、RLC层以及PDCP层等更高层进行相应处理。In this step, the second data packet may be a data packet related to the MBS service, and the second data packet comes from the data server and is sent to the core network device. The core network device sends the second data packet to the base station. The data first reaches the PDCP layer of the base station, and is processed by the PDCP layer of the base station and then transmitted to the RLC layer and the MAC layer. After processing, it is sent from the physical layer and transmitted to the terminal through the air interface. equipment. Equivalently, the physical layer of the terminal device first receives the second data packet, and after processing, transmits it to higher layers such as the MAC layer, the RLC layer, and the PDCP layer for corresponding processing.
网络设备的RLC实体在发送第二数据包之前,可能需要为第二数据包分配SN号,在RLC UM模式下,第二数据包中包含RLC SDU分段。不同传输模式中,RLC实体对SDU分段的SN号可以是独立设置的。对于一个RLC实体而言,当传输模式发生切换后,如果不对第二数据包的SN号的分配设定,网络设备会无法确定如何为数据包分配SN,这样容易发生数据包传输丢失或者数据合并错误的情况。Before sending the second data packet, the RLC entity of the network device may need to assign an SN number to the second data packet. In the RLC UM mode, the second data packet contains an RLC SDU segment. In different transmission modes, the SN number of the SDU segment may be independently set by the RLC entity. For an RLC entity, after the transmission mode is switched, if the allocation of the SN number of the second data packet is not set, the network device will not be able to determine how to allocate the SN to the data packet, which is prone to data packet transmission loss or data merging. wrong situation.
本申请实施例中,当传输模式发生切换后,网络设备通过确定第二数据包的SN号可以提升数据传输的可靠性,这里确定第二数据包的SN可以理解为更新第二数据包的SN的分配方式。In this embodiment of the present application, after the transmission mode is switched, the network device can improve the reliability of data transmission by determining the SN number of the second data packet. Here, determining the SN of the second data packet can be understood as updating the SN of the second data packet distribution method.
604:当从第一传输模式切换到第二传输模式,终端设备可以相应地更新无线链路控制实体的接收窗的参数,保证数据传输可靠性。604: When switching from the first transmission mode to the second transmission mode, the terminal device may update the parameters of the receiving window of the RLC entity accordingly to ensure the reliability of data transmission.
RLC实体的接收窗的参数可以包括:重组定时器(t-Reassembly)、接收状态变量、接收窗大小中的一个或多个。The parameters of the receiving window of the RLC entity may include one or more of: a reassembly timer (t-Reassembly), a receiving state variable, and a receiving window size.
其中,重组定时器用于RLC实体确定数据包发生丢失,具体的,当RLC实体发现某一个SN号对应的SDU或者SDU分段没有接收到的时候,认为该SN号触发重组定时器启动,当重组定时器超时的时候认为该SN号对应的SDU或者SDU分段发生丢失。The reassembly timer is used by the RLC entity to determine that the data packet is lost. Specifically, when the RLC entity finds that the SDU or SDU segment corresponding to a certain SN number has not been received, it is considered that the SN number triggers the start of the reassembly timer. When the timer expires, it is considered that the SDU or SDU segment corresponding to the SN number is lost.
接收状态变量可以包括等待重组的SN中最早的SN(RX_Next_Reassembly)、触发重组定时器的SN的下一个SN(RX_Timer_Trigger)、所有接收到的SN号中最大的SN号的下一个SN号(RX_Next_Highest)中的一个或多个。RX_Next_Highest也可以认为是接收窗的上沿。The receiving state variable may include the earliest SN (RX_Next_Reassembly) of the SNs waiting for reassembly, the next SN of the SN that triggers the reassembly timer (RX_Timer_Trigger), and the next SN of the largest SN of all received SNs (RX_Next_Highest) one or more of. RX_Next_Highest can also be considered as the upper edge of the receive window.
接收窗大小(UM_Window_Size)是一个常量,用于RLC实体确定不需要向前滑动接收窗便可以接收的SN,其中接收窗可以通过接收窗下沿对应的SN号和接收窗大小确定,也可以通过接收窗上沿对应的SN号和接收窗大小确定。例如,采用接收窗的上沿对应的SN号和接收窗的大小确定接收窗的范围,接收窗的范围可以是(RX_Next_Highest–UM_Window_Size)<=SN<RX_Next_Highest。以RX_Next_Highest=10,UM_Window_Size=5为例,接收窗不需要向前滑动就能够接收的SN号的范围为5<=SN<10。此时,SN号大于或等于5且小于10的SDU分段能够直接放入接收窗中。对于SN号小于5的SDU分段,会被丢弃。对于SN号大于10的SDU分段,通过接收窗的滑动接收到接收窗中,具体而言,当收到新的SN=X,如果X>=RX_Next_Highest,则将RX_Next_Highest设置为X+1。例如,收到新的SN=11,RX_Next_Highest=10,此时11大于RX_Next_Highest,则将RX_Next_Highest设置为11+1,接收窗通过向前滑动,更新接收SN的范围为7<=SN<12。这里SN可以指该SN对应的PDU、PDU分段、SDU或者SDU分段,一个完整的SDU对应一个SN,多个属于同一个完整SDU的SDU分段对应同一个SN。The receiving window size (UM_Window_Size) is a constant used by the RLC entity to determine the SN that can be received without sliding the receiving window forward. The receiving window can be determined by the SN number and the receiving window size corresponding to the lower edge of the receiving window, or by The SN number corresponding to the upper edge of the receiving window and the size of the receiving window are determined. For example, the range of the receive window is determined by using the SN number corresponding to the upper edge of the receive window and the size of the receive window, and the range of the receive window may be (RX_Next_Highest−UM_Window_Size)<=SN<RX_Next_Highest. Taking RX_Next_Highest=10 and UM_Window_Size=5 as an example, the range of SN numbers that can be received by the receiving window without sliding forward is 5<=SN<10. At this time, the SDU segment with the SN number greater than or equal to 5 and less than 10 can be directly put into the receiving window. For SDU segments with SN numbers less than 5, they will be discarded. SDU segments with SN greater than 10 are received in the receive window by sliding the receive window. Specifically, when a new SN=X is received, if X>=RX_Next_Highest, RX_Next_Highest is set to X+1. For example, when a new SN=11 is received, RX_Next_Highest=10, and 11 is greater than RX_Next_Highest, then RX_Next_Highest is set to 11+1, and the receiving window slides forward to update the range of the received SN to 7<=SN<12. Here, the SN may refer to the PDU, PDU segment, SDU or SDU segment corresponding to the SN, one complete SDU corresponds to one SN, and multiple SDU segments belonging to the same complete SDU correspond to the same SN.
判断网络设备发送的数据包的传输模式发生了切换,此时,无线链路控制实体的接收 窗的参数要进行更新,所更新的接收窗的参数包括RX_Next_Highest、重组定时器的状态等。通过对接收窗的参数的更新可以防止发生数据合并错误或者丢包的情况。It is judged that the transmission mode of the data packet sent by the network device has been switched. At this time, the parameters of the receiving window of the RLC entity need to be updated, and the updated parameters of the receiving window include RX_Next_Highest, the state of the reassembly timer, etc. Data merging errors or packet loss can be prevented by updating the parameters of the receiving window.
在本申请第一实施例中,终端设备可以以两种方式判断传输模式发生了切换:In the first embodiment of the present application, the terminal device can determine that the transmission mode has been switched in two ways:
方式一:method one:
终端设备接收第二数据包,第二数据包是网络设备通过第二传输模式发生的数据包。终端设备在接收到第二数据包时,能够获知网络设备是以何种传输模式传输的。此时,终端设备可以将当前接收的第二数据包的传输模式与上一个接收的数据包的传输模式进行比较,从而判断传输模式是否发生了切换。The terminal device receives the second data packet, which is a data packet generated by the network device through the second transmission mode. When receiving the second data packet, the terminal device can learn which transmission mode the network device transmits. At this time, the terminal device may compare the transmission mode of the currently received second data packet with the transmission mode of the last received data packet, so as to determine whether the transmission mode has been switched.
方式二:Method two:
终端设备接收网络设备发送的第一指示信息,第一指示信息用于指示第一传输模式切换到第二传输模式。终端设备接收到第一指示信息,就能获知此时传输模式发生了切换,从而对接收窗的参数进行更新。The terminal device receives the first indication information sent by the network device, where the first indication information is used to instruct the first transmission mode to be switched to the second transmission mode. When the terminal device receives the first indication information, it can know that the transmission mode is switched at this time, so as to update the parameters of the receiving window.
第一指示信息所指示的内容可以包括两种:在一种情况下,第一指示信息可以具体指明第一传输模式和第二传输模式,例如第一指示信息可以指示此时传输模式从点到多点传输模式切换到点到点传输模式。在另一种情况下,第一指示信息可以仅仅指示传输模式发生了切换,而具体传输模式时从点到多点传输模式切换到点到点传输模式还是从点到点传输模式切换到点到多点传输模式并不具体指出。此时,终端设备可以自行判断是哪种切换,例如接收到第一指示信息之前使用点到点传输模式接收数据包,则接收到第一指示信息之后,终端设备可以获知是从点到点传输模式切换到了点到多点传输模式。另外也可以通过接收第二数据包进行判断是哪种切换,例如,第二数据包是网络设备通过第二传输模式发送的数据包。此时,终端设备通过第一指示信息获知传输模式发生切换,通过第二数据包判断切换后的传输模式是第二传输模式。终端设备进行判断时,如果切换前是第一传输模式,则是从第一传输模式切换到第二传输模式;如果切换前是第二传输模式,则终端设备认为未发生切换,出现这种情况的原因可能是终端设备漏掉了之前的切换命令,或者网络设备的发送发生了错误,终端设备可以上报指示信息,指示网络设备切换前后的传输模式一致。The content indicated by the first indication information may include two types: in one case, the first indication information may specifically indicate the first transmission mode and the second transmission mode, for example, the first indication information may indicate that the transmission mode at this time is from point to The multicast transmission mode is switched to the point-to-point transmission mode. In another case, the first indication information may only indicate that the transmission mode is switched, and the specific transmission mode is switched from the point-to-multipoint transmission mode to the point-to-point transmission mode or from the point-to-point transmission mode to the point-to-point transmission mode The multicast mode is not specified. At this time, the terminal device can judge by itself what kind of switching it is. For example, before receiving the first indication information, it uses the point-to-point transmission mode to receive data packets, and after receiving the first indication information, the terminal device can know that it is a point-to-point transmission. The mode is switched to point-to-multipoint transmission mode. In addition, it is also possible to determine which type of switching is by receiving the second data packet. For example, the second data packet is a data packet sent by the network device in the second transmission mode. At this time, the terminal device learns through the first indication information that the transmission mode is switched, and determines through the second data packet that the switched transmission mode is the second transmission mode. When the terminal device makes a judgment, if it is the first transmission mode before switching, it switches from the first transmission mode to the second transmission mode; if it is the second transmission mode before switching, the terminal device considers that the switching has not occurred, and this happens. The reason may be that the terminal device has missed the previous switching command, or the transmission of the network device has an error. The terminal device can report the indication information, indicating that the transmission mode of the network device before and after the switch is the same.
下面将结合可选实施方式对本申请第一实施例的各个步骤进行具体说明,同时对本申请实施例是如何防止数据合并错误以及丢包发生进行说明。The steps of the first embodiment of the present application will be specifically described below with reference to optional implementations, and at the same time, how to prevent data merging errors and packet loss from occurring in the embodiment of the present application will be described.
一、PTM切换到PTP1. Switch from PTM to PTP
首先以第一传输模式为PTM,第二传输模式为PTP为例进行说明。First, the first transmission mode is PTM and the second transmission mode is PTP as an example for description.
在步骤601中,网络设备的RLC实体以PTM发送第一数据包,网络设备的RLC实体对从PDCP层接收的第一数据包可以进行分段,形成3个RLC SDU分段,并为每一个RLC SDU分段添加包头,包头内包含SN号。属于同一个完整SDU的SDU分段的SN号相同,例如三个RLC SDU分段的SN号为9。网络设备依次将SDU分段发送给终端设备。或者网络设备的RLC实体也可以不对从PDCP层接收的第一数据包分段,直接传输一个包含完整SDU的PDU给终端设备。In step 601, the RLC entity of the network device sends the first data packet in PTM, and the RLC entity of the network device can segment the first data packet received from the PDCP layer to form 3 RLC SDU segments, and each The RLC SDU segment adds a header, and the header contains the SN number. The SN numbers of SDU segments belonging to the same complete SDU are the same, for example, the SN number of three RLC SDU segments is 9. The network device sequentially sends the SDU segments to the terminal device. Alternatively, the RLC entity of the network device may also directly transmit a PDU containing a complete SDU to the terminal device without segmenting the first data packet received from the PDCP layer.
终端设备的RLC实体接收第一数据包,并将SDU分段在接收窗内缓存,等待接收完属于同一个完整的SDU的全部的SDU分段之后对SDU分段进行重组,重组完成发送给 PDCP。此时接收窗的参数可以为:接收窗的上沿RX_Next_Highest可以设置为10号,假设接收窗的大小的UM_Window_Size为6,则接收窗的范围为SN号4-10,另外重组定时器如果已经启动,则可能对应于一个在5-10范围之内的SN号,也可以没有启动。The RLC entity of the terminal device receives the first data packet, and buffers the SDU segments in the receiving window. After receiving all the SDU segments belonging to the same complete SDU, the SDU segments are reassembled, and the reassembly is completed and sent to the PDCP . At this time, the parameters of the receiving window can be: the upper edge of the receiving window, RX_Next_Highest, can be set to No. 10. Assuming that the UM_Window_Size of the size of the receiving window is 6, the range of the receiving window is SN No. 4-10. In addition, if the reorganization timer has been started , it may correspond to an SN number in the range of 5-10, or it may not be activated.
在步骤602中,网络设备切换传输模式,从PTM切换到PTP。网络设备的RLC实体将通过切换后的传输模式发送数据包。In step 602, the network device switches the transmission mode from PTM to PTP. The RLC entity of the network device will send data packets through the switched transmission mode.
在步骤603和604中,网络设备的RLC实体以PTP发送第二数据包,网络设备在发送第二数据包之前,需要确定第二数据包的SN号,此时网络设备可以沿用切换前的分配方式或者对第二数据包的SN号的分配方式进行更新,终端设备相应的更新接收窗的参数。In steps 603 and 604, the RLC entity of the network device sends the second data packet by PTP. Before sending the second data packet, the network device needs to determine the SN number of the second data packet. At this time, the network device can use the allocation before the handover. The method or the allocation method of the SN number of the second data packet is updated, and the terminal device correspondingly updates the parameters of the receiving window.
网络设备对第二数据包的SN号的分配进行更新需要和终端设备对接收窗的参数的更新保持一致,具体而言,更新方式包括两种:The update of the SN number allocation of the second data packet by the network device needs to be consistent with the update of the parameters of the receiving window by the terminal device. Specifically, there are two update methods:
方式一:method one:
网络设备更新SN的分配方式为从初始值开始分配,终端设备更新接收窗的参数为初始值,其中初始值可以是协议规定好或者网络设备预先配置好。网络设备的RLC实体可以对从PDCP层接收的数据进行分段形成多个RLC SDU分段,并为SDU分段添加包头,包头内包含有SN号,该SN号为RLC SN。在切换传输模式之前,第一数据包SDU分段的SN号已经设置到9,在切换传输模式之后,第二数据包SDU分段的SN号可以更新为初始值,例如为0或者1。The distribution method of the network device updating SN is to start the distribution from the initial value, and the parameter of the terminal device updating the receiving window is the initial value, wherein the initial value can be specified by the protocol or pre-configured by the network device. The RLC entity of the network device can segment the data received from the PDCP layer to form multiple RLC SDU segments, and add a packet header to the SDU segment. The packet header contains an SN number, which is the RLC SN. Before switching the transmission mode, the SN number of the SDU segment of the first data packet has been set to 9. After the transmission mode is switched, the SN number of the SDU segment of the second data packet can be updated to an initial value, such as 0 or 1.
也就是说,在切换了传输模式之后,网络设备的RLC实体对SN号的分配方式进行了更新。当传输模式从PTM切换到PTP,终端设备会对RLC实体的接收窗的参数进行更新。通过对接收窗的参数的更新可以防止数据包传输过程中丢包的发生。下面将对此进行具体说明:That is to say, after the transmission mode is switched, the RLC entity of the network device updates the way of allocating the SN number. When the transmission mode is switched from PTM to PTP, the terminal device will update the parameters of the receiving window of the RLC entity. By updating the parameters of the receiving window, the occurrence of packet loss during data packet transmission can be prevented. This will be explained in detail below:
假设在切换传输模式之后,终端设备没有更新接收窗的参数。根据步骤601可知,此时终端设备的RLC实体的接收窗参数状态为:接收窗的上沿RX_Next_Highest为10号,接收窗的大小的UM_Window_Size为6,接收窗的范围为SN号4-10。而在切换传输模式之后,第二数据包SDU分段的SN号为1,落在了接收窗的下沿之外。SN号为1的第二数据包SDU分段将会被丢弃,不能被接收窗接收,从而造成丢包。It is assumed that after switching the transmission mode, the terminal device does not update the parameters of the receiving window. According to step 601, the receiving window parameter status of the RLC entity of the terminal device is as follows: the upper edge of the receiving window RX_Next_Highest is No. 10, the UM_Window_Size of the receiving window size is 6, and the range of the receiving window is SN No. 4-10. After switching the transmission mode, the SN number of the SDU segment of the second data packet is 1, which falls outside the lower edge of the receiving window. The SDU segment of the second data packet with the SN number of 1 will be discarded and cannot be received by the receiving window, thereby causing packet loss.
在方式一,当传输模式发生切换,终端设备会将接收窗的参数更新为初始值,假设初始值为1,此时SN号为1的第二数据包SDU分段能够放入接收窗中等待重组,避免丢包情况的发生。In mode 1, when the transmission mode is switched, the terminal device will update the parameters of the receiving window to the initial value. Assuming the initial value is 1, the SDU segment of the second data packet with the SN number of 1 can be placed in the receiving window for waiting. Reassembly to avoid packet loss.
方式二:Method two:
网络设备根据第一SN确定第二数据包的SN,第一SN为在上一次点到点传输模式下传输的SDU分段对应的最大SN。终端设备更新所述接收窗的参数为第一参数,第一参数为上一次点到点传输模式下的接收窗的参数。The network device determines the SN of the second data packet according to the first SN, where the first SN is the maximum SN corresponding to the SDU segment transmitted in the last point-to-point transmission mode. The terminal device updates the parameter of the receiving window as the first parameter, and the first parameter is the parameter of the receiving window in the last point-to-point transmission mode.
假设网络设备进行了两个切换过程,第一切换从PTP切换到PTM,第二切换从PTM切换到PTP。将第二切换作为本次切换,第一切换作为上一次切换。将上一次切换之前的PTP传输模式可以称为上一次PTP传输模式,将本次切换中的PTP传输模式称为本次PTP传输模式。网络设备的这两次切换可以表示为:上一次PTP传输模式切换为PTM传输模式,PTM传输模式切换为本次PTP传输模式。It is assumed that the network device performs two handover processes, the first handover is from PTP to PTM, and the second handover is from PTM to PTP. The second handover is regarded as the current handover, and the first handover is regarded as the last handover. The PTP transmission mode before the last handover may be referred to as the last PTP transmission mode, and the PTP transmission mode in the current handover is referred to as the current PTP transmission mode. The two switching of the network device can be expressed as: the previous PTP transmission mode is switched to the PTM transmission mode, and the PTM transmission mode is switched to the current PTP transmission mode.
在上一次PTP传输模式下,网络设备的RLC实体为每一个SDU分段依次分配SN号,例如网络设备的RLC实体在上一次PTP传输模式下,第一个SDU包括SDU分段A、SDU分段B、SDU分段C,SDU分段A、SDU分段B、SDU分段C的SN号为1,第二个SDU包括分段SDU分段D、SDU分段的SN号为2,以此类推,假设在上一次PTP传输模式下传输的最后一个SDU分段的SN号为7。网络设备将SN号7保存,作为上一次PTP传输模式下的最大SN号,可以将该最大SN号称为第一SN。In the last PTP transmission mode, the RLC entity of the network device assigns SN numbers to each SDU segment in turn. For example, in the last PTP transmission mode of the RLC entity of the network device, the first SDU includes SDU segment A, SDU segment The SN number of segment B, SDU segment C, SDU segment A, SDU segment B, and SDU segment C is 1, the second SDU includes segment SDU segment D, and the SN number of SDU segment is 2, with By analogy, it is assumed that the SN number of the last SDU segment transmitted in the last PTP transmission mode is 7. The network device saves the SN number 7 as the maximum SN number in the last PTP transmission mode, and the maximum SN number may be called the first SN.
在本次切换中,网络设备的传输模式从PTM切换到PTP,网络设备在本次PTP传输模式下传输第二数据包,在发送第二数据包之前,对第二数据包的SN号进行更新。网络设备将根据第一SN确定第二数据包的SN。可选的,网络设备可以将第二数据包的SN更新为第一SN+1。当第一SN为7的时候,网络设备可以将第二数据包的SN更新为8。In this switching, the transmission mode of the network device is switched from PTM to PTP, the network device transmits the second data packet in this PTP transmission mode, and updates the SN number of the second data packet before sending the second data packet . The network device will determine the SN of the second data packet based on the first SN. Optionally, the network device may update the SN of the second data packet to the first SN+1. When the first SN is 7, the network device may update the SN of the second data packet to 8.
终端设备更新RLC实体的接收窗的参数的过程为:The process of updating the parameters of the receiving window of the RLC entity by the terminal device is as follows:
假设在上一次PTP传输模式下传输的最后一个SDU的SN号为7,在网络设备进行第一切换之前的PTP传输模式下,终端设备的RLC实体的接收窗的参数的状态可以为:接收窗的上沿RX_Next_Highest为8,接收窗的大小的UM_Window_Size为6,则接收窗的范围为SN号2-8。终端设备可以将第一切换之前的PTP传输模式下的接收窗的参数保存,可以将该参数称为第一参数。Assuming that the SN number of the last SDU transmitted in the last PTP transmission mode is 7, in the PTP transmission mode before the network device performs the first handover, the state of the parameters of the receiving window of the RLC entity of the terminal device may be: receiving window The upper edge of RX_Next_Highest is 8, the UM_Window_Size of the size of the receiving window is 6, and the range of the receiving window is SN number 2-8. The terminal device may save the parameter of the receiving window in the PTP transmission mode before the first switch, and the parameter may be referred to as the first parameter.
根据步骤601可知,尽管在本次切换到PTP传输模式之前,在PTM传输模式下,终端设备的RLC实体的接收窗的参数的状态为:接收窗的上沿RX_Next_Highest为10,接收窗的大小的UM_Window_Size为6,接收窗的范围为SN号4-10。在本次切换到PTP传输模式之后,终端设备会将接收窗的参数更新为第一参数:接收窗的上沿RX_Next_Highest为8,接收窗的大小的UM_Window_Size为6,接收窗的范围为SN号2-8。According to step 601, although before switching to the PTP transmission mode this time, in the PTM transmission mode, the state of the parameters of the receiving window of the RLC entity of the terminal device is: the upper edge of the receiving window RX_Next_Highest is 10, the size of the receiving window is 10 UM_Window_Size is 6, and the range of the receiving window is SN number 4-10. After switching to the PTP transmission mode this time, the terminal device will update the parameters of the receiving window to the first parameter: the upper edge of the receiving window RX_Next_Highest is 8, the UM_Window_Size of the size of the receiving window is 6, and the range of the receiving window is SN number 2 -8.
在终端设备接收到网络设备发送的第二数据包时,第二数据包SDU分段的SN为8,终端设备,此时SN>=RX_Next_Highest,第二数据包SDU分段不会被丢弃,通过接收窗滑动被接收窗接收。从而防止丢包发生。When the terminal device receives the second data packet sent by the network device, the SN of the SDU segment of the second data packet is 8, the terminal device, at this time, SN>=RX_Next_Highest, the SDU segment of the second data packet will not be discarded, and the SDU segment of the second data packet will not be discarded. The receive window slide is received by the receive window. This prevents packet loss from occurring.
另外可选的,由于本次PTP传输的数据包和上一次PTP传输模式传输的数据包不同,终端设备可以将上一次PTP传输模式接收到的SDU分段丢弃。In addition, optionally, since the data packets transmitted in this PTP transmission mode are different from the data packets transmitted in the previous PTP transmission mode, the terminal device may discard the SDU segments received in the previous PTP transmission mode.
通过网络设备对第二数据包的SN号的分配方式的更新和终端设备对接收窗的参数的更新还可以防止切换传输模式前后产生数据合并错误的情况。举例而言,网络设备的RLC实体接收经由PDCP发送的数据包,PDCP在向RLC发送数据包之前会对数据包添加PDCP SN形成PDCP PDU。RLC实体接收PDCP PDU后可以选择对其分段处理形成多个RLC SDU分段,并为每一个RLC SDU分段添加包头,包头内包含RLC SN号。属于同一个完整SDU的SDU分段的SN号相同,并且属于同一个完整SDU的SDU分段对应的PDCP SN号也相同。网络设备向终端设备发送SDU分段,终端设备的RLC实体接收到RLC SDU之后将相同SN号的SDU分段进行重组。一般来说网络设备会为相同PDCP SN号的数据包设置相同的RLC SN,但是在传输模式切换过程中可能会导致同一个PDCP SN号的数据包在切换前后的RLC SN不同,换言之会导致不同PDCP SN的数据包在切换前后的RLC SN相同,由于RLC层无法看到PDCP SN号,所以可能会将RLC SN号相同但是PDCP SN不同的SDU 分段进行重组,导致错误。By updating the distribution mode of the SN number of the second data packet by the network device and updating the parameters of the receiving window by the terminal device, it is also possible to prevent the occurrence of data merging errors before and after switching the transmission mode. For example, the RLC entity of the network device receives the data packet sent via the PDCP, and the PDCP adds the PDCP SN to the data packet to form a PDCP PDU before sending the data packet to the RLC. After receiving the PDCP PDU, the RLC entity can choose to segment it to form multiple RLC SDU segments, and add a packet header to each RLC SDU segment, and the packet header contains the RLC SN number. The SN numbers of the SDU segments belonging to the same complete SDU are the same, and the PDCP SN numbers corresponding to the SDU segments belonging to the same complete SDU are also the same. The network device sends SDU segments to the terminal device, and the RLC entity of the terminal device reassembles the SDU segments with the same SN number after receiving the RLC SDU. Generally speaking, the network device will set the same RLC SN for the data packets with the same PDCP SN number, but during the transmission mode switching process, the RLC SN of the data packets with the same PDCP SN number may be different before and after the switching, in other words, it will cause different RLC SNs. The data packets of PDCP SN have the same RLC SN before and after the handover. Since the RLC layer cannot see the PDCP SN number, it may reassemble the SDU segments with the same RLC SN number but different PDCP SN, resulting in errors.
假设在传输模式切换之前,网络设备采用PTM传输方式传输一个数据包。该数据包的PDCP SN为5,并且为RLC SDU分段分配的RLCSN为2。假设SN为2的RLC SDU分段一共有两个:分段A、分段B。如果分段B在传输的时候丢失,则会在终端设备侧维护一个接收窗,里面存放SN为2的SDUA分段等待重组。此时该RLC SDU分段对应的PDCP层的数据包的SN为5。It is assumed that before the transmission mode is switched, the network device transmits a data packet by using the PTM transmission mode. The PDCP SN for this packet is 5, and the RLCSN assigned for the RLC SDU segment is 2. Suppose there are two RLC SDU segments with SN of 2: segment A and segment B. If segment B is lost during transmission, a receiving window will be maintained on the terminal device side, and the SDUA segment with SN of 2 will be stored in it for reassembly. At this time, the SN of the data packet of the PDCP layer corresponding to the RLC SDU segment is 5.
当网络设备切换了传输模式,网络设备将采用PTP传输,由于网络设备同样只维护一个RLC实体,所以并不关心之前采用PTM传输方式传输数据包的时候,分段RLC SDU数据包的SN设置到几号。当需要传输RLC SDU分段的时候,会单独对RLC SDU分段设置SN号,然后向终端设备发送。假设网络设备向终端设备以PTP发送SN号为2的SDU分段,此时以PTP发送SN号为2的SDU分段对应的PDCPSN可能为7号。而在终端设备接收的时候,会将采用PTP传输的RLC SN为2的SDU分段与采用PTM传输的RLC SN为2的SDU分段进行合并。但实质上,采用PTP传输的RLC SN为2的SDU分段对应的PDCP SN为7,采用PTM传输的RLC SN为2的SDU分段对应的PDCP SN为5,二者进行合并将导致数据包接收错误。When the network device switches the transmission mode, the network device will use PTP transmission. Since the network device also maintains only one RLC entity, it does not care that when the data packet is transmitted in the PTM transmission mode, the SN of the segmented RLC SDU data packet is set to what number. When the RLC SDU segment needs to be transmitted, the SN number will be set separately for the RLC SDU segment, and then sent to the terminal device. Assuming that the network device sends the SDU segment with the SN number of 2 to the terminal device by PTP, at this time, the PDCPSN corresponding to the SDU segment with the SN number of 2 sent by the PTP may be number 7. When the terminal device receives it, it will combine the SDU segment with RLC SN of 2 transmitted by PTP and the SDU segment of RLC SN of 2 transmitted by PTM. But in essence, the PDCP SN corresponding to the SDU segment whose RLC SN is 2 using PTP transmission is 7, and the PDCP SN corresponding to the SDU segment whose RLC SN is 2 using PTM transmission is 5. Combining the two will result in data packets Receive error.
本申请实施例中,通过网络设备对第二数据包的SN号分配方式的更新和终端设备对接收窗的参数的更新,RLC实体可以避免将SN号不同的PDCP数据包分配同一个RLC SN号,导致数据合并错误发生。In the embodiment of the present application, by updating the SN number allocation mode of the second data packet by the network device and updating the parameters of the receiving window by the terminal device, the RLC entity can avoid allocating the same RLC SN number to PDCP data packets with different SN numbers. , causing a data merge error to occur.
作为一种可选实施方式,网络设备可以沿用传输模式切换前第二数据包的SN的分配方式,终端设备在切换传输模式之后继续维护切换传输模式之前的接收窗的参数。As an optional implementation manner, the network device may continue to use the SN allocation method of the second data packet before the transmission mode switching, and the terminal device continues to maintain the parameters of the receiving window before switching the transmission mode after switching the transmission mode.
举例而言,假设在切换传输模式之前,第一数据包SDU分段的SN号已经设置到9,在切换传输模式之后,网络设备更新第二数据包的SN号为10,也就是接着切换前PTM传输方式所使用的RLC SN,对采用PTP传输方式进行传输的RLC SDU分段进行SN设置。此时,终端设备的RLC实体可以继续维护切换模式之前的接收窗的参数,不需要进行额外的更新。例如,切换传输模式之前,终端设备的RLC实体的接收窗参数状态为:接收窗的上沿RX_Next_Highest为10号,接收窗的大小的UM_Window_Size为6,接收窗的范围为SN号4-10。而在切换传输模式之后,接收窗的参数保持不变。终端设备接收到SN号为10的第二数据包,此时SN>=RX_Next_Highest,第二数据包SDU分段不会被丢弃,通过接收窗滑动被接收窗接收。从而防止丢包发生。For example, assuming that the SN number of the SDU segment of the first data packet has been set to 9 before switching the transmission mode, after the transmission mode is switched, the network device updates the SN number of the second data packet to 10, that is, before the switching For the RLC SN used in the PTM transmission mode, set the SN for the RLC SDU segment transmitted in the PTP transmission mode. At this time, the RLC entity of the terminal device can continue to maintain the parameters of the receiving window before switching the mode, and no additional update is required. For example, before switching the transmission mode, the receiving window parameter status of the RLC entity of the terminal device is: the upper edge RX_Next_Highest of the receiving window is No. 10, the UM_Window_Size of the receiving window size is 6, and the range of the receiving window is SN No. 4-10. After switching the transmission mode, the parameters of the receiving window remain unchanged. The terminal device receives the second data packet with the SN number of 10, at this time SN>=RX_Next_Highest, the SDU segment of the second data packet will not be discarded, and is received by the receiving window by sliding the receiving window. This prevents packet loss from occurring.
在本申请实施例中,传输模式从PTM切换到PTP的情况下,网络设备对第二数据包的SN更新存在较大的自由度,PTP传输模式是点到点传输,网络设备只向一个终端设备发送数据,无需考虑其他终端设备的情况。因此,网络设备可以将第二数据包的SN设置为初始值、设置为上一次PTP传输模式中传输的SDU分段的最大SN或者其他值。网络设备和终端设备可以事先约定更新的方式,例如约定方式一或者方式二,或者约定其他方式。In the embodiment of the present application, when the transmission mode is switched from PTM to PTP, the network device has a greater degree of freedom in updating the SN of the second data packet. The PTP transmission mode is point-to-point transmission, and the network device only sends data to one terminal. The device sends data without considering the situation of other end devices. Therefore, the network device may set the SN of the second data packet as an initial value, as the maximum SN of the SDU segment transmitted in the last PTP transmission mode, or other values. The network device and the terminal device may agree on an update method in advance, for example, agree on the first method or the second method, or agree on other methods.
作为一种可选实施方式,在PTM切换到PTP的过程中,为了保证业务连续性,当网络设备从PTM传输模式切换到PTP传输模式之后,可以将至少一个通过PTM传输过的SDU分段或者SDU分段所对应的完整RLC SDU再次通过PTP传输方式进行传输,这样RLC SDU即使通过PTM传输的时候没有成功,也可以再次通过PTP进行传输。例如,网络设 备通过PTM传输模式发送SN号分别为7、8和9的SDU或SDU分段。例如:在切换到PTP传输模式之后,可以将SN号为9的完整的SDU再次以PTP传输模式发送,这里并不是将新的数据包SN设置为9,而是对已经发送过的数据包重复发送,原SN为9的数据包已经在PTM传输模式发送过一次,在本申请实施例中,在PTP传输模式下对该数据包再次发送,从而保证业务传输的连续性。重新发送的是一个完整的SDU,也可以是该完整的SDU对应的所有SDU分段或者部分分段,而且并不限定重新发送时,该SDU分段对应的SN号,可以继续采用SN=9或者采用其他的SN。As an optional implementation manner, in the process of switching from PTM to PTP, in order to ensure service continuity, after the network device switches from the PTM transmission mode to the PTP transmission mode, at least one SDU transmitted through the PTM may be segmented or The complete RLC SDU corresponding to the SDU segment is transmitted through the PTP transmission method again, so that the RLC SDU can be transmitted through the PTP again even if the transmission through the PTM is unsuccessful. For example, the network device sends SDUs or SDU segments with SN numbers 7, 8, and 9, respectively, through the PTM transmission mode. For example: after switching to the PTP transmission mode, the complete SDU with SN number 9 can be sent again in the PTP transmission mode. Here, the SN of the new data packet is not set to 9, but the data packets that have been sent are repeated. Send, the data packet with the original SN of 9 has been sent once in the PTM transmission mode. In this embodiment of the present application, the data packet is sent again in the PTP transmission mode, thereby ensuring the continuity of service transmission. The retransmission is a complete SDU, or all SDU segments or partial segments corresponding to the complete SDU, and the SN number corresponding to the SDU segment is not limited when retransmitting, and SN=9 can continue to be used. Or use another SN.
二、PTP切换到PTM2. Switch from PTP to PTM
下面以第一传输模式为PTP,第二传输模式为PTM为例进行说明。The following description will be given by taking the first transmission mode as PTP and the second transmission mode as PTM as an example.
在步骤601中,网络设备的RLC实体以PTP发送第一数据包,网络设备的RLC实体对从PDCP层接收的第一数据包可以进行分段,形成3个RLC SDU分段,并为每一个RLC SDU分段添加包头,包头内包含SN号。属于同一个完整SDU的SDU分段的SN号相同,例如三个RLC SDU分段的SN号为9。网络设备依次将SDU分段发送给终端设备。或者网络设备的RLC实体也可以不对从PDCP层接收的第一数据包分段,直接传输一个包含完整SDU的PDU给终端设备。In step 601, the RLC entity of the network device sends the first data packet by PTP, and the RLC entity of the network device may segment the first data packet received from the PDCP layer to form 3 RLC SDU segments, and for each The RLC SDU segment adds a header, and the header contains the SN number. The SN numbers of SDU segments belonging to the same complete SDU are the same, for example, the SN number of three RLC SDU segments is 9. The network device sequentially sends the SDU segments to the terminal device. Alternatively, the RLC entity of the network device may also directly transmit a PDU containing a complete SDU to the terminal device without segmenting the first data packet received from the PDCP layer.
终端设备的RLC实体接收第一数据包,并将SDU分段在接收窗内缓存,等待接收完属于同一个完整的SDU的全部的SDU分段之后对SDU分段进行重组,重组完成发送给PDCP。此时接收窗的参数可以为:接收窗的上沿RX_Next_Highest可以设置为10号,假设接收窗的大小的UM_Window_Size为6,则接收窗的范围为SN号4-10,另外重组定时器如果已经启动,则可能对应于一个在5-10范围之内的SN号,也可以没有启动。The RLC entity of the terminal device receives the first data packet, and buffers the SDU segments in the receiving window. After receiving all the SDU segments belonging to the same complete SDU, the SDU segments are reassembled, and the reassembly is completed and sent to the PDCP . At this time, the parameters of the receiving window can be: the upper edge of the receiving window, RX_Next_Highest, can be set to No. 10. Assuming that the UM_Window_Size of the size of the receiving window is 6, the range of the receiving window is SN No. 4-10. In addition, if the reorganization timer has been started , it may correspond to an SN number in the range of 5-10, or it may not be activated.
在步骤602中,网络设备切换传输模式,从PTP切换到PTM。网络设备的RLC实体将通过切换后的传输模式发送数据包。In step 602, the network device switches the transmission mode from PTP to PTM. The RLC entity of the network device will send data packets through the switched transmission mode.
在步骤603和604中,网络设备的RLC实体以PTP发送第二数据包,网络设备在发送第二数据包之前,需要确定第二数据包的SN号,或者说对第二数据包的SN号的分配方式进行更新。In steps 603 and 604, the RLC entity of the network device sends the second data packet by PTP. Before sending the second data packet, the network device needs to determine the SN number of the second data packet, or the SN number of the second data packet. The distribution method is updated.
PTM是点到多点的传输模式,网络设备同时向多个终端设备发送相同的数据包,在PTP切换到PTM的情况下,网络设备对第二数据包的SN设置需要与正在进行的PTM传输保持一致,即该终端设备的加入不能影响其他终端设备,。所以网络设备需要通过第二指示信息向终端设备进行指示当前最新的SN号,或者该终端设备应该接收到的第一个SN号。例如,在PTP的传输模式下,网络设备向第一终端设备发送第一数据包,第一终端设备的接收窗缓存有SN号为3的RLC SDU分段,该RLC SDU分段在等待重组。在网络设备切换到PTM传输模式之后,网络设备以PTM传输模式同时向第一终端设备、第二终端设备和第三终端设备发送第二数据包。如果第一终端设备的传输模式切换之前,网络设备向第二终端设备和第三终端设备发送的数据包的SN号已经排到5,则需要将SN=5告诉第一终端设备,这样第一终端设备便可以相应更新接收窗参数,并完成后续的正确接收。或者网络设备不需要告诉第一终端设备SN=5,当第一终端设备通过PTM传输模式接收到SN=5的数据包以后,自行根据SN=5更新接收窗参数,例如将SN=5作为接收窗的第一个数据包,或者作为接收窗下沿。也就是说,在此时,网络设备不会简单的把第二数据包的SN更新 为初始值,而是要综合对其他终端设备的传输情况而定。PTM is a point-to-multipoint transmission mode. The network device sends the same data packet to multiple terminal devices at the same time. In the case of switching from PTP to PTM, the SN setting of the second data packet by the network device needs to be consistent with the ongoing PTM transmission. Be consistent, that is, the addition of the terminal device cannot affect other terminal devices. Therefore, the network device needs to indicate the current latest SN number, or the first SN number that the terminal device should receive, to the terminal device through the second indication information. For example, in the transmission mode of PTP, the network device sends the first data packet to the first terminal device, and the receiving window of the first terminal device buffers the RLC SDU segment with the SN number of 3, and the RLC SDU segment is waiting for reassembly. After the network device switches to the PTM transmission mode, the network device simultaneously sends the second data packet to the first terminal device, the second terminal device and the third terminal device in the PTM transmission mode. If the SN number of the data packet sent by the network device to the second terminal device and the third terminal device is already 5 before the transmission mode of the first terminal device is switched, it is necessary to tell the first terminal device that SN=5, so that the first The terminal device can update the receiving window parameters accordingly, and complete subsequent correct reception. Or the network device does not need to tell the first terminal device that SN=5. After the first terminal device receives the data packet of SN=5 through the PTM transmission mode, it updates the receiving window parameter according to SN=5, for example, SN=5 is used as the receiving window. The first data packet of the window, or as the lower edge of the receive window. That is to say, at this time, the network device will not simply update the SN of the second data packet to the initial value, but will be determined based on the transmission conditions of other terminal devices.
终端设备对接收窗的参数更新可以包括两种方式:There are two ways for the terminal device to update the parameters of the receiving window:
方式一:method one:
网络设备在对第二数据包的SN的分配方式更新之后,可以向终端设备发送第二指示信息,第二指示信息用于指示第二数据包的SN,终端设备根据第二指示信息更新接收窗的参数。例如,网络设备可以通过第二指示信息指示第二数据包的SN为4,此时,终端设备无需按照切换前PTP传输模式下维护的接收窗进行数据包接收,而是将接收窗接收的第一个数据包或者接收窗的下沿设置为4,则终端设备接收窗期待下一个接收的数据包对应的SN为5,且SN大于等于4的数据包均可以放入接收窗。这里假设的是第二指示信息的SN为4,终端设备将接收窗的第一个数据包设置为4,也可以终端设备根据第二指示信息指示的SN,采取加1的方式,将接收窗的第一个数据包设置为5,终端根据第二指示信息得到接收窗参数的具体方式不做限定。After updating the distribution method of the SN of the second data packet, the network device may send second indication information to the terminal device, where the second indication information is used to indicate the SN of the second data packet, and the terminal device updates the receiving window according to the second indication information. parameter. For example, the network device can use the second indication information to indicate that the SN of the second data packet is 4. At this time, the terminal device does not need to receive the data packet according to the receiving window maintained in the PTP transmission mode before the switch, but will receive the first data packet received by the receiving window. If the lower edge of a data packet or receiving window is set to 4, the terminal equipment receiving window expects the SN corresponding to the next received data packet to be 5, and data packets with SN greater than or equal to 4 can be placed in the receiving window. It is assumed here that the SN of the second indication information is 4, and the terminal device sets the first data packet of the receiving window to 4. Alternatively, the terminal device may add 1 to the receiving window according to the SN indicated by the second indication information. The first data packet of is set to 5, and the specific manner in which the terminal obtains the receiving window parameters according to the second indication information is not limited.
方式二:Method two:
在方式二中,网络设备也可以不发送第二指示信息,而是直接以切换后的传输模式PTM发送第二数据包,终端设备根据接收的数据包确定接收窗的参数。例如,网络设备在切换传输模式之后发送的第一个SDU分段的SN值为4,终端设备根据第一个SDU分段的SN来更新接收窗的参数。此时,终端设备无需按照切换前PTP传输模式下维护的接收窗进行数据包接收,而是将接收窗接收的第一个数据包或者接收窗的下沿设置为4,则终端设备接收窗期待下一个接收的数据包对应的SN为5,且SN大于等于4的数据包均可以放入接收窗。这里假设的是终端设备将接收窗的第一个数据包设置为4,也可以采取第一个SDU分段的SN值加1的方式,将接收窗的第一个数据包设置为5。In mode 2, the network device may not send the second indication information, but directly send the second data packet in the switched transmission mode PTM, and the terminal device determines the parameters of the receiving window according to the received data packet. For example, the SN value of the first SDU segment sent by the network device after switching the transmission mode is 4, and the terminal device updates the parameters of the receiving window according to the SN of the first SDU segment. At this time, the terminal equipment does not need to receive data packets according to the receiving window maintained in the PTP transmission mode before switching, but sets the first data packet received in the receiving window or the lower edge of the receiving window to 4, then the terminal equipment receiving window expects The SN corresponding to the next received data packet is 5, and the data packets whose SN is greater than or equal to 4 can be put into the receiving window. It is assumed here that the terminal device sets the first data packet of the receiving window to 4, or the first data packet of the receiving window can be set to 5 by adding 1 to the SN value of the first SDU segment.
本申请第一实施例中示出的PTP切换到PTM的方法,同样适用于PTM切换到PTP。例如,在PTM切换到PTP的情况下,网络设备更新第二数据包的SN为初始值或者为上一次PTP传输模式传输的SDU分段的最大的SN或者其他数值,此时网络设备同样也可以向终端设备发送第二指示信息指示网络设备所更新的第二数据包的SN。The method for switching from PTP to PTM shown in the first embodiment of this application is also applicable to switching from PTM to PTP. For example, in the case of switching from PTM to PTP, the network device updates the SN of the second data packet to the initial value or the maximum SN of the SDU segment transmitted in the last PTP transmission mode or other values. At this time, the network device can also Sending the second indication information to the terminal device indicates the SN of the second data packet updated by the network device.
在PTP切换到PTM的情况下,当终端设备判断传输模式发生切换,终端设备可以将通过PTP传输模式接收到的SDU分段丢弃。In the case of switching from PTP to PTM, when the terminal device determines that the transmission mode is switched, the terminal device may discard the SDU segments received through the PTP transmission mode.
作为一种可选的实施方式,为了保证业务连续性,网络设备在决定将PTP切换为PTM之前,需要保证PTP的传输进度比PTM的传输进度更快。例如,加快PTP的传输速度直到传输进度赶上或者超过PTM,这是因为如果PTP的传输进度慢于PTM,则会因为有些数据包无法接收到而导致数据包丢失。As an optional implementation manner, in order to ensure service continuity, before the network device decides to switch the PTP to the PTM, it needs to ensure that the transmission progress of the PTP is faster than the transmission progress of the PTM. For example, speed up the transmission of PTP until the transmission progress catches up or exceeds the PTM, because if the transmission progress of PTP is slower than that of PTM, some packets will not be received and packets will be lost.
本申请第一实施例,对于单RLC实体协议栈架构中,在传输模式发生切换时,网络设备通过确定第二数据包的SN,终端设备通过更新RLC实体的接收窗的参数避免数据包丢失或数据错误合并的发生,从而保证数据传输的可靠性。In the first embodiment of the present application, in the protocol stack architecture of a single RLC entity, when the transmission mode is switched, the network device determines the SN of the second data packet, and the terminal device avoids data packet loss or loss by updating the parameters of the receiving window of the RLC entity. The occurrence of data erroneous merging, thereby ensuring the reliability of data transmission.
第二实施例Second Embodiment
第二实施例是基于上述方案二描述通信方法的一种可能的实现。图7是本申请第一实 施例提供的一种通信方法的流程图,第二实施例的通信方法包括:The second embodiment describes a possible implementation of the communication method based on the second solution above. Fig. 7 is a flow chart of a communication method provided by the first embodiment of the present application, and the communication method of the second embodiment includes:
701:终端设备接收网络设备发送的第一配置信息,第一配置信息用于配置无线链路控制实体RLC的至少一个第一接收窗和至少一个第二接收窗,第一接收窗用于接收通过点到点传输模式传输的第一数据包,所述第二接收窗用于接收通过点到多点传输模式传输的第二数据包。701: The terminal device receives first configuration information sent by the network device, where the first configuration information is used to configure at least one first receiving window and at least one second receiving window of the RLC, and the first receiving window is used to receive The first data packet transmitted in the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet transmitted in the point-to-multipoint transmission mode.
702:终端设备接收网络设备发送的所述第一数据包和/或所述第二数据包。702: The terminal device receives the first data packet and/or the second data packet sent by the network device.
在步骤701中,网络设备向终端设备发送第一配置信息,终端设备根据第一配置信息在一个RLC实体中维护两个接收窗,分别为第一接收窗和第二接收窗。一个RLC实体中的两个接收窗分别用于接收在点到点传输模式中传输的数据包和点到多点传输模式中传输的数据包,并分别对经过分段的数据包进行重组。每个接收窗分别维护各自的接收窗变量、数据包接收缓冲或者接收窗参数。例如,终端设备将通过PTP接收到的数据包放入第一接收窗中进行处理,将通过PTM接收到的数据包放入第二接收窗中进行处理,处理完以后的数据包均递交给同一个PDCP实体。另一方面,网络设备分别对采用PTM和PTP传输方式的数据包的SN进行独立设置。这样无论PTM和PTP如何切换,网络设备和终端设备都可以相对独立地维护PTM和PTP传输。In step 701, the network device sends first configuration information to the terminal device, and the terminal device maintains two receiving windows in one RLC entity according to the first configuration information, which are the first receiving window and the second receiving window respectively. The two receiving windows in an RLC entity are respectively used to receive data packets transmitted in the point-to-point transmission mode and the data packets transmitted in the point-to-multipoint transmission mode, and reassemble the segmented data packets respectively. Each receive window maintains its own receive window variable, data packet receive buffer or receive window parameter. For example, the terminal device puts the data packets received through PTP into the first receiving window for processing, and puts the data packets received through PTM into the second receiving window for processing. After processing, the data packets are all submitted to the same A PDCP entity. On the other hand, the network device independently sets the SNs of the data packets using the PTM and PTP transmission modes. In this way, no matter how PTM and PTP are switched, network equipment and terminal equipment can maintain PTM and PTP transmission relatively independently.
在一种可能的实施方式中,采用PTM传输的第二数据包的调度信息利用G-RNTI进行加扰,采用PTP传输的第一数据包的调度信息利用C-RNTI进行加扰,终端设备可以根据加扰的RNTI类型决定将数据包放入哪个接收窗进行处理。进一步的物理层可以识别数据包对应的RNTI类型并且将相关的指示信息发送给RLC层,这样RLC层便可以知道将对应的RLC数据包放到哪个接收窗进行处理。In a possible implementation manner, the scheduling information of the second data packet transmitted by using PTM is scrambled by G-RNTI, and the scheduling information of the first data packet transmitted by using PTP is scrambled by C-RNTI. According to the type of scrambled RNTI, it decides which receiving window to put the data packet into for processing. The further physical layer can identify the RNTI type corresponding to the data packet and send the relevant indication information to the RLC layer, so that the RLC layer can know which receiving window to put the corresponding RLC data packet into for processing.
在一种可能的实施方式中,终端设备向网络设备发送能力信息,能力信息用于向网络设备指示终端设备支持同一个RLC配置至少两个接收窗。In a possible implementation manner, the terminal device sends capability information to the network device, where the capability information is used to indicate to the network device that the terminal device supports the same RLC configuration with at least two receiving windows.
网络设备可以根据终端设备发送的能力信息向终端设备发送第一配置信息。在本申请第二实施例中,能力信息可以仅仅向网络设备指示终端设备支持同一个RLC配置的接收窗的个数,而不指示出是否支持一个接收窗用于接收PTP传输模式的数据包,另一个接收窗用于接收PTM传输模式的数据包,此时,能力信息可以指示具体支持的接收窗的个数,或者能力信息可以指示支持至少两个接收窗。或者能力信息可以向网路设备指示终端设备支持至少一个接收窗用于接收PTP传输模式传输的数据包,且至少一个接收窗用于接收PTM传输模式传输的数据包。The network device may send the first configuration information to the terminal device according to the capability information sent by the terminal device. In the second embodiment of the present application, the capability information may only indicate to the network device the number of receiving windows that the terminal device supports in the same RLC configuration, but does not indicate whether one receiving window is supported for receiving data packets in the PTP transmission mode, The other receiving window is used to receive data packets in the PTM transmission mode. In this case, the capability information may indicate the number of receiving windows that are specifically supported, or the capability information may indicate that at least two receiving windows are supported. Alternatively, the capability information may indicate to the network device that the terminal device supports at least one receive window for receiving data packets transmitted in the PTP transmission mode, and at least one receiving window for receiving data packets transmitted in the PTM transmission mode.
本申请第二实施例中,终端设备的同一个RLC实体可以维护两个以及两个以上的接收窗,分别用于接收PTP传输模式传输的数据包和PTM传输模式传输的数据包,从而避免在传输模式发生切换时发生数据合并错误或者数据包丢失的情况,从而增加数据传输的可靠性。In the second embodiment of the present application, the same RLC entity of the terminal device can maintain two or more receiving windows, which are respectively used to receive data packets transmitted in the PTP transmission mode and data packets transmitted in the PTM transmission mode, thereby avoiding When the transmission mode is switched, a data merging error or a data packet loss occurs, thereby increasing the reliability of data transmission.
前文介绍了本申请实施例的通信的方法,下文中将介绍本申请中各个实施例中的通信的装置。例如该装置可以采用本申请实施例示出的方法。由于方法、装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。The communication method in the embodiments of the present application is described above, and the communication device in each embodiment of the present application will be described below. For example, the apparatus may adopt the methods shown in the embodiments of the present application. Since the principle of solving the problem by the method and the device is similar, the implementation of the device and the method can be referred to each other, and repeated descriptions will not be repeated here.
本申请实施例提供一种通信装置,该通信装置可以是终端设备也可以是电路。该通信 装置可以用于执行第一实施例的方法中由终端设备所执行的动作。通信装置包括:收发模块,用于接收第一数据包和第二数据包,所述第一数据包通过第一传输模式传输,所述第二数据包通过第二传输模式传输。处理模块,用于利用无线链路控制实体的接收窗对所述第一数据包和/或所述第二数据包进行重组。处理模块,还用于当所述第一传输模式切换到第二传输模式时,更新所述无线链路控制实体的接收窗的参数。接收窗用于重组服务数据单元SDU分段。接收窗的参数包括:重组定时器、接收状态变量、接收窗大小中的一个或多个。接收状态变量可以包括等待重组的SN中最早的SN(RX_Next_Reassembly)、触发重组定时器的SN的下一个SN(RX_Timer_Trigger)、所有接收到的SN号中最大的SN号的下一个SN号(RX_Next_Highest)中的一个或多个。第一传输模式和所述第二传输模式是点到多点传输模式和点到点传输模式中的一种和另一种。An embodiment of the present application provides a communication apparatus, and the communication apparatus may be a terminal device or a circuit. The communication apparatus can be used to perform the actions performed by the terminal device in the method of the first embodiment. The communication device includes: a transceiver module for receiving a first data packet and a second data packet, the first data packet is transmitted in a first transmission mode, and the second data packet is transmitted in a second transmission mode. A processing module, configured to reassemble the first data packet and/or the second data packet by using the receiving window of the RLC entity. The processing module is further configured to update the parameters of the reception window of the RLC entity when the first transmission mode is switched to the second transmission mode. The receive window is used to reassemble service data unit SDU segments. The parameters of the receiving window include: one or more of a reassembly timer, a receiving state variable, and a receiving window size. The receiving state variable may include the earliest SN (RX_Next_Reassembly) of the SNs waiting for reassembly, the next SN of the SN that triggers the reassembly timer (RX_Timer_Trigger), and the next SN of the largest SN of all received SNs (RX_Next_Highest) one or more of. The first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
本申请实施例中,当终端设备判断网络设备发送的数据包的传输模式发生了切换,终端设备的无线链路控制实体的接收窗的参数进行更新,通过对接收窗的参数的更新可以防止发生数据合并错误或者丢包的情况。In the embodiment of the present application, when the terminal device determines that the transmission mode of the data packet sent by the network device has been switched, the parameters of the receiving window of the radio link control entity of the terminal device are updated. By updating the parameters of the receiving window, the occurrence of Data merging errors or packet loss.
本申请实施例所提供的通信装置,还可以用于执行第一实施例的方法中任一可能的实现方式中的方法,具体内容可以参照第一实施例的方法中关于终端设备所执行动作的部分内容,此处不再赘述。The communication apparatus provided in the embodiment of the present application can also be used to execute the method in any possible implementation manner of the method in the first embodiment. For details, please refer to the section on the actions performed by the terminal device in the method in the first embodiment. Some content will not be repeated here.
本申请实施例提供一种通信装置,该通信装置可以是终端设备也可以是电路。该通信装置可以用于执行第二实施例的方法中由终端设备所执行的动作。通信装置包括:收发模块,用于接收第一配置信息。处理模块用于根据第一配置信息配置无线链路控制实体RLC的至少一个第一接收窗和至少一个第二接收窗。第一接收窗用于接收通过点到点传输模式传输的第一数据包,所述第二接收窗用于接收通过点到多点传输模式传输的第二数据包。收发模块,还用于接收第一数据包和/或所述第二数据包。An embodiment of the present application provides a communication apparatus, and the communication apparatus may be a terminal device or a circuit. The communication apparatus can be used to perform the actions performed by the terminal device in the method of the second embodiment. The communication device includes: a transceiver module for receiving the first configuration information. The processing module is configured to configure at least one first receiving window and at least one second receiving window of the radio link control entity RLC according to the first configuration information. The first receiving window is used for receiving the first data packet transmitted in the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet transmitted in the point-to-multipoint transmission mode. The transceiver module is further configured to receive the first data packet and/or the second data packet.
本申请实施例中,一个RLC实体中的两个接收窗分别用于接收在点到点传输模式中传输的数据包和点到多点传输模式中传输的数据包,每个接收窗分别维护各自的接收窗变量、数据包接收缓冲或者接收窗参数。这样无论点到多点传输模式和点到点传输模式如何切换,网络设备和终端设备都可以相对独立地维护多点传输模式和点到点传输模式。In this embodiment of the present application, two receiving windows in an RLC entity are respectively used to receive data packets transmitted in the point-to-point transmission mode and data packets transmitted in the point-to-multipoint transmission mode, and each receiving window maintains its own Receive window variable, packet receive buffer or receive window parameter. In this way, no matter how the point-to-multipoint transmission mode and the point-to-point transmission mode are switched, the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
本申请实施例所提供的通信装置,还可以用于执行第二实施例的方法中任一可能的实现方式中的方法,具体内容可以参照第一实施例的方法中关于终端设备所执行动作的部分内容,此处不再赘述。The communication apparatus provided in this embodiment of the present application can also be used to execute the method in any possible implementation manner of the method in the second embodiment. For details, please refer to the section on the actions performed by the terminal device in the method in the first embodiment. Some content will not be repeated here.
图8示出了一种简化的通信装置的结构示意图,便于理解和图示方便,图8中,通信装置以终端设备作为例子。如图8所示,该通信装置包括处理器、存储器、射频电路、天线以及输入输出装置。处理器主要用于对通信协议以及通信数据进行处理,以及对终端设备进行控制,执行软件程序,处理软件程序的数据等。存储器主要用于存储软件程序和数据。射频电路主要用于基带信号与射频信号的转换以及对射频信号的处理。天线主要用于收发电磁波形式的射频信号。输入输出装置,例如触摸屏、显示屏,键盘等主要用于接收用户输入的数据以及对用户输出数据。需要说明的是,有些种类的终端设备可以不具有输入输出装置。FIG. 8 shows a schematic structural diagram of a simplified communication apparatus, which is convenient for understanding and illustration. In FIG. 8 , the communication apparatus takes a terminal device as an example. As shown in FIG. 8 , the communication device includes a processor, a memory, a radio frequency circuit, an antenna, and an input and output device. The processor is mainly used to process communication protocols and communication data, control terminal equipment, execute software programs, and process data of software programs. The memory is mainly used to store software programs and data. The radio frequency circuit is mainly used for the conversion of the baseband signal and the radio frequency signal and the processing of the radio frequency signal. Antennas are mainly used to send and receive radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users. It should be noted that some types of terminal equipment may not have input and output devices.
当需要发送数据时,处理器对待发送的数据进行基带处理后,输出基带信号至射频电 路,射频电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到终端设备时,射频电路通过天线接收到射频信号,将射频信号转换为基带信号,并将基带信号输出至处理器,处理器将基带信号转换为数据并对该数据进行处理。为便于说明,图8中仅示出了一个存储器和处理器。在实际的终端设备产品中,可以存在一个或多个处理器和一个或多个存储器。存储器也可以称为存储介质或者存储设备等。存储器可以是独立于处理器设置,也可以是与处理器集成在一起,本申请实施例对此不做限制。When data needs to be sent, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal through the antenna in the form of electromagnetic waves. When data is sent to the terminal device, the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data. For ease of illustration, only one memory and processor are shown in FIG. 8 . In an actual end device product, there may be one or more processors and one or more memories. The memory may also be referred to as a storage medium or a storage device or the like. The memory may be set independently of the processor, or may be integrated with the processor, which is not limited in this embodiment of the present application.
在本申请实施例中,可以将具有收发功能的天线和射频电路视为通信装置的收发模块,将具有处理功能的处理器视为通信装置的处理模块。如图8所示,通信装置包括收发模块801和处理模块802。收发模块可以为收发器、收发机、收发装置等。处理模块也可以为处理器,处理单板,处理装置等。可选的,可以将收发模块801中用于实现接收功能的器件视为接收模块,将收发模块801中用于实现发送功能的器件视为发送模块,即收发模块801包括接收模块和发送模块。收发模块有时也可以为收发机、收发器、或收发电路等。接收模块有时也可以为接收机、接收器、或接收电路等。发送模块有时也可以为发射机、发射器或者发射电路等。In the embodiments of the present application, the antenna and the radio frequency circuit with a transceiver function can be regarded as a transceiver module of the communication device, and the processor with a processing function can be regarded as a processing module of the communication device. As shown in FIG. 8 , the communication device includes a transceiver module 801 and a processing module 802 . The transceiver module may be a transceiver, a transceiver, a transceiver device, and the like. The processing module may also be a processor, a processing board, a processing device, and the like. Optionally, the device used for implementing the receiving function in the transceiver module 801 may be regarded as a receiving module, and the device used for implementing the sending function in the transceiver module 801 may be regarded as a sending module, that is, the transceiver module 801 includes a receiving module and a sending module. The transceiver module may also sometimes be a transceiver, a transceiver, or a transceiver circuit or the like. The receiving module may also sometimes be a receiver, a receiver, or a receiving circuit or the like. The transmitting module may also be a transmitter, a transmitter or a transmitting circuit sometimes.
应理解,收发模块801用于执行上述方法实施例中终端设备侧的发送操作和接收操作,处理模块802用于执行上述方法实施例中终端设备上除了收发操作之外的其他操作。It should be understood that the transceiver module 801 is configured to perform the sending and receiving operations on the terminal device side in the above method embodiments, and the processing module 802 is configured to perform other operations on the terminal device in the above method embodiments except for the transceiver operations.
当该通信装置为芯片类的装置或者电路时,该芯片装置可以包括收发模块和处理模块。其中,所述收发模块可以是输入输出电路、和/或通信接口;处理模块为该芯片上集成的处理器或者微处理器或者集成电路。When the communication device is a chip-type device or circuit, the chip device may include a transceiver module and a processing module. Wherein, the transceiver module may be an input/output circuit and/or a communication interface; the processing module is a processor, a microprocessor or an integrated circuit integrated on the chip.
本申请实施例中的通信装置为终端设备时,可以参照图9所示的设备。在图9中,该设备包括处理器901,发送数据处理器902,接收数据处理器903。上述实施例中的处理模块可以是图9中的该处理器901,并完成相应的功能。上述实施例中的收发模块可以是图9中的发送数据处理器902,和/或接收数据处理器903。虽然图9中示出了信道编码器、信道解码器,但是可以理解这些模块并不对本实施例构成限制性说明,仅是示意性的。When the communication device in this embodiment of the present application is a terminal device, reference may be made to the device shown in FIG. 9 . In FIG. 9 , the device includes a processor 901 , a transmit data processor 902 , and a receive data processor 903 . The processing module in the above-mentioned embodiment may be the processor 901 in FIG. 9 and perform corresponding functions. The transceiver module in the above embodiment may be the sending data processor 902 and/or the receiving data processor 903 in FIG. 9 . Although a channel encoder and a channel decoder are shown in FIG. 9 , it can be understood that these modules do not constitute a limiting description of this embodiment, but are only illustrative.
图10示出本实施例的另一种形式。处理装置100中包括调制子系统、中央处理子系统、周边子系统等模块。本实施例中的通信装置可以作为其中的调制子系统。具体的,该调制子系统可以包括处理器1003,接口1004。其中处理器1003完成上述处理模块的功能,接口1004完成上述收发模块的功能。作为另一种变形,该调制子系统包括存储器1006、处理器1003及存储在存储器1006上并可在处理器上运行的程序,该处理器1003执行该程序时实现上述方法实施例中终端设备侧的方法。需要注意的是,所述存储器1006可以是非易失性的,也可以是易失性的,其位置可以位于调制子系统内部,也可以位于处理装置100中,只要该存储器1006可以连接到所述处理器1003即可。FIG. 10 shows another form of this embodiment. The processing device 100 includes modules such as a modulation subsystem, a central processing subsystem, and a peripheral subsystem. The communication apparatus in this embodiment may serve as a modulation subsystem therein. Specifically, the modulation subsystem may include a processor 1003 and an interface 1004 . The processor 1003 completes the function of the above-mentioned processing module, and the interface 1004 implements the function of the above-mentioned transceiver module. As another variant, the modulation subsystem includes a memory 1006, a processor 1003, and a program stored in the memory 1006 and executable on the processor. When the processor 1003 executes the program, the terminal device side in the foregoing method embodiment is implemented. Methods. It should be noted that the memory 1006 may be non-volatile or volatile, and its location may be inside the modulation subsystem or in the processing device 100, as long as the memory 1006 can be connected to the The processor 1003 is sufficient.
本申请实施例提供一种通信装置,该通信装置可以是网络设备也可以是电路。该通信装置可以用于执行第一实施例的方法中由网络设备所执行的动作。通信装置包括:收发模块,用于以第一传输模式发送无线链路控制实体中的第一数据包。处理模块,用于从第一传输模式切换到第二传输模式。处理模块,还用于确定第二数据包的SN。第二数据包可以 包括服务数据单元SDU分段,第二数据包包括包头,包头内包括SDU分段的SN号。终端设备的RLC接收到第二数据包之后,根据包头内的SN号可以对SDU分段进行重组,组装成完整的SDU,终端设备的RLC将组装的完整的SDU发送给PDCP。第二数据包的SN号可以是指网络设备的RLC为第二数据包分配的SN号。也可以将网络设备确定第二数据包的SN理解为网络设备更新第二数据包的SN号。收发模块,用于以第二传输模式发送所述无线链路控制实体中的所述第二数据包。第一传输模式和第二传输模式是点到多点传输模式和点到点传输模式中的一种和另一种。An embodiment of the present application provides a communication apparatus, and the communication apparatus may be a network device or a circuit. The communication apparatus can be used to perform the actions performed by the network device in the method of the first embodiment. The communication device includes: a transceiver module for sending a first data packet in a radio link control entity in a first transmission mode. The processing module is used for switching from the first transmission mode to the second transmission mode. The processing module is further configured to determine the SN of the second data packet. The second data packet may include a service data unit SDU segment, the second data packet includes a packet header, and the packet header includes an SN number of the SDU segment. After receiving the second data packet, the RLC of the terminal device can reassemble the SDU segments according to the SN number in the packet header to assemble a complete SDU, and the RLC of the terminal device sends the assembled complete SDU to the PDCP. The SN number of the second data packet may refer to the SN number allocated to the second data packet by the RLC of the network device. It can also be understood that the network device determines the SN of the second data packet as the network device updates the SN number of the second data packet. A transceiver module, configured to send the second data packet in the RLC entity in a second transmission mode. The first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
本申请实施例中,网络设备将传输模式从第一传输模式切换到第二传输模式,网络设备确定第二数据包的SN号。通过对第二数据包的SN号的更新,可以避免数据包传输丢失或者数据合并错误的情况。In this embodiment of the present application, the network device switches the transmission mode from the first transmission mode to the second transmission mode, and the network device determines the SN number of the second data packet. By updating the SN number of the second data packet, the situation of data packet transmission loss or data merging errors can be avoided.
本申请实施例所提供的通信装置,还可以用于执行第一实施例的方法中任一可能的实现方式中的方法,具体内容可以参照第一实施例的方法中关于网络设备所执行动作的部分内容,此处不再赘述。The communication apparatus provided in the embodiment of the present application can also be used to execute the method in any possible implementation manner of the method in the first embodiment. For details, please refer to the section on the actions performed by the network device in the method in the first embodiment. Some content will not be repeated here.
本申请实施例提供一种通信装置,该通信装置可以是网络设备也可以是电路。该通信装置可以用于执行第二实施例的方法中由网络设备所执行的动作。通信装置包括:收发模块,用于发送第一配置信息,第一配置信息用于配置无线链路控制实体RLC的至少一个第一接收窗和至少一个第二接收窗。第一接收窗用于接收在点到点传输模式下的第一数据包,第二接收窗用于接收在点到多点传输模式下的第二数据包。收发模块,还用于发送第一数据包和/或第二数据包。处理模块,用于控制收发模块发送第一配置信息和/或用于控制收发模块发送第一数据包和/或第二数据包。An embodiment of the present application provides a communication apparatus, and the communication apparatus may be a network device or a circuit. The communication apparatus can be used to perform the actions performed by the network device in the method of the second embodiment. The communication apparatus includes: a transceiver module for sending first configuration information, where the first configuration information is used to configure at least one first receiving window and at least one second receiving window of the radio link control entity RLC. The first receiving window is used for receiving the first data packet in the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet in the point-to-multipoint transmission mode. The transceiver module is further configured to send the first data packet and/or the second data packet. The processing module is configured to control the transceiver module to send the first configuration information and/or to control the transceiver module to send the first data packet and/or the second data packet.
本申请实施例中,网络设备向终端设备发送配置信息,用于配置终端设备的一个RLC实体中的至少两个接收窗。至少两个接收窗分别用于接收在点到点传输模式中传输的数据包和点到多点传输模式中传输的数据包,每个接收窗分别维护各自的接收窗变量、数据包接收缓冲或者接收窗参数。这样无论点到多点传输模式和点到点传输模式如何切换,网络设备和终端设备都可以相对独立地维护多点传输模式和点到点传输模式。In this embodiment of the present application, the network device sends configuration information to the terminal device, which is used to configure at least two receiving windows in one RLC entity of the terminal device. At least two receive windows are respectively used to receive data packets transmitted in point-to-point transmission mode and data packets transmitted in point-to-multipoint transmission mode, and each receive window maintains its own receive window variable, data packet receive buffer or Receive window parameters. In this way, no matter how the point-to-multipoint transmission mode and the point-to-point transmission mode are switched, the network device and the terminal device can maintain the multipoint transmission mode and the point-to-point transmission mode relatively independently.
本申请实施例所提供的通信装置,还可以用于执行第一实施例的方法中任一可能的实现方式中的方法,具体内容可以参照第二实施例的方法中关于网络设备所执行动作的部分内容,此处不再赘述。The communication apparatus provided in this embodiment of the present application can also be used to execute the method in any possible implementation manner of the method in the first embodiment. For details, please refer to the section on the actions performed by the network device in the method in the second embodiment. Some content will not be repeated here.
本申请实施例中的通信装置为网络设备时,该网络设备可以如图11所示,装置110包括一个或多个射频单元,如远端射频单元(remote radio unit,RRU)1110和一个或多个基带单元1120(baseband unit,BBU),也可称为数字单元(digital unit,DU)。所述RRU 1110可以称为收发模块。可选地,该收发模块还可以称为收发机、收发电路、或者收发器等等,其可以包括至少一个天线1111和射频单元1112。所述RRU 1110部分主要用于射频信号的收发以及射频信号与基带信号的转换,例如用于向终端设备发送指示信息。所述BBU 1110部分主要用于进行基带处理,对基站进行控制等。所述RRU 1110与BBU 1120可以是物理上设置在一起,也可以物理上分离设置的,即分布式基站。When the communication device in the embodiment of the present application is a network device, the network device may be as shown in FIG. 11 , and the device 110 includes one or more radio frequency units, such as a remote radio unit (remote radio unit, RRU) 1110 and one or more radio frequency units. A baseband unit 1120 (baseband unit, BBU) may also be referred to as a digital unit (digital unit, DU). The RRU 1110 may be referred to as a transceiver module. Optionally, the transceiver module may also be referred to as a transceiver, a transceiver circuit, or a transceiver, etc., which may include at least one antenna 1111 and a radio frequency unit 1112 . The part of the RRU 1110 is mainly used for transmitting and receiving radio frequency signals and converting radio frequency signals and baseband signals, for example, for sending indication information to terminal equipment. The part of the BBU 1110 is mainly used to perform baseband processing, control the base station, and the like. The RRU 1110 and the BBU 1120 may be physically set together, or may be physically separated, that is, a distributed base station.
所述BBU 1120为基站的控制中心,也可以称为处理模块,可以与图8中的处理模块802对应,主要用于完成基带处理功能,如信道编码,复用,调制,扩频等等。例如所述 BBU(处理模块)可以用于控制基站执行上述方法实施例中关于网络设备的操作流程,例如,生成上述指示信息等。The BBU 1120 is the control center of the base station, and can also be called a processing module, which can correspond to the processing module 802 in FIG. 8 , and is mainly used to complete baseband processing functions, such as channel coding, multiplexing, modulation, spread spectrum, and the like. For example, the BBU (processing module) may be used to control the base station to perform the operation procedure of the network device in the foregoing method embodiments, for example, to generate the foregoing indication information and the like.
在一个示例中,所述BBU 1120可以由一个或多个单板构成,多个单板可以共同支持单一接入制式的无线接入网,也可以分别支持不同接入制式的无线接入网(如LTE网,5G网或其他网)。所述BBU 1120还包括存储器1121和处理器1122。所述存储器1121用以存储必要的指令和数据。所述处理器1322用于控制基站进行必要的动作,例如用于控制基站执行上述方法实施例中关于网络设备的操作流程。所述存储器1121和处理器1122可以服务于一个或多个单板。也就是说,可以每个单板上单独设置存储器和处理器。也可以是多个单板共用相同的存储器和处理器。此外每个单板上还可以设置有必要的电路。In an example, the BBU 1120 may be composed of one or more single boards, and the multiple single boards may jointly support a wireless access network of a single access standard, or may respectively support a wireless access network of different access standards ( Such as LTE network, 5G network or other network). The BBU 1120 also includes a memory 1121 and a processor 1122. The memory 1121 is used to store necessary instructions and data. The processor 1322 is configured to control the base station to perform necessary actions, for example, to control the base station to perform the operation flow of the network device in the foregoing method embodiments. The memory 1121 and the processor 1122 may serve one or more single boards. That is to say, the memory and processor can be provided separately on each single board. It can also be that multiple boards share the same memory and processor. In addition, necessary circuits may also be provided on each single board.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (37)

  1. 一种通信方法,其特征在于,包括:A communication method, comprising:
    无线链路控制实体接收第一数据包,所述第一数据包通过第一传输模式传输;the radio link control entity receives the first data packet, and the first data packet is transmitted in the first transmission mode;
    当所述第一传输模式切换到第二传输模式时,更新所述无线链路控制实体的接收窗的参数;When the first transmission mode is switched to the second transmission mode, updating the parameters of the reception window of the RLC entity;
    所述无线链路控制实体接收第二数据包,所述第二数据包通过所述第二传输模式传输;receiving, by the radio link control entity, a second data packet, the second data packet being transmitted through the second transmission mode;
    所述第一传输模式和所述第二传输模式是点到多点传输模式和点到点传输模式中的一种和另一种。The first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
  2. 如权利要求1所述的方法,其特征在于,所述当所述第一传输模式切换到第二传输模式时,更新所述无线链路控制实体的接收窗的参数包括:The method according to claim 1, wherein when the first transmission mode is switched to the second transmission mode, updating the parameters of the receiving window of the RLC entity comprises:
    接收第一指示信息,所述第一指示信息用于指示所述所述第一传输模式切换到第二传输模式;或receiving first indication information, where the first indication information is used to instruct the first transmission mode to switch to the second transmission mode; or
    根据所述第二数据包判断所述第一传输模式切换到所述第二传输模式。It is determined according to the second data packet that the first transmission mode is switched to the second transmission mode.
  3. 如权利要求1或2所述的方法,其特征在于,The method according to claim 1 or 2, characterized in that,
    所述第一传输模式为所述点到多点传输模式,所述第二传输模式为所述点到点传输模式;the first transmission mode is the point-to-multipoint transmission mode, and the second transmission mode is the point-to-point transmission mode;
    所述更新所述无线链路控制实体的接收窗的参数包括:更新所述接收窗的参数为初始值。The updating the parameter of the receiving window of the RLC entity includes: updating the parameter of the receiving window to an initial value.
  4. 如权利要求3所述的方法,其特征在于,The method of claim 3, wherein
    所述第一传输模式为所述点到多点传输模式,所述第二传输模式为所述点到点传输模式;the first transmission mode is the point-to-multipoint transmission mode, and the second transmission mode is the point-to-point transmission mode;
    所述更新所述无线链路控制实体的接收窗的参数包括:更新所述接收窗的参数为第一参数,所述第一参数为上一次点到点传输模式下的所述接收窗的参数。The updating the parameter of the receiving window of the RLC entity includes: updating the parameter of the receiving window to be a first parameter, and the first parameter is the parameter of the receiving window in the last point-to-point transmission mode .
  5. 如权利要求1或2所述的方法,其特征在于,The method according to claim 1 or 2, characterized in that,
    所述第一传输模式为所述点到点传输模式,所述第二传输模式为所述点到多点传输模式;the first transmission mode is the point-to-point transmission mode, and the second transmission mode is the point-to-multipoint transmission mode;
    所述方法还包括:接收第二指示信息,所述第二指示信息用于指示序列号SN,所述更新所述无线链路控制实体的接收窗的参数包括:根据所述SN更新所述接收窗的参数。The method further includes: receiving second indication information, where the second indication information is used to indicate a sequence number SN, and the updating the parameter of the receiving window of the RLC entity includes: updating the receiving window according to the SN window parameters.
  6. 如权利要求1或2所述的方法,其特征在于,The method according to claim 1 or 2, characterized in that,
    所述第二数据包包括服务数据单元SDU分段;the second data packet includes a service data unit SDU segment;
    所述更新所述无线链路控制实体的接收窗的参数包括:根据序列号SN更新所述接收窗的参数,所述SN是在所述第二传输模式下接收的第一个所述SDU分段对应的SN。The updating the parameters of the receiving window of the RLC entity includes: updating the parameters of the receiving window according to the sequence number SN, where the SN is the first SDU packet received in the second transmission mode. The SN corresponding to the segment.
  7. 如权利要求5或6所述的方法,其特征在于,还包括:The method of claim 5 or 6, further comprising:
    所述第一数据包包括服务数据单元SDU分段,当从第一传输模式切换到第二传输模式,丢弃所述接收窗在所述第一传输模式下接收的所述SDU分段。The first data packet includes a service data unit SDU segment, and when switching from the first transmission mode to the second transmission mode, the SDU segment received by the receive window in the first transmission mode is discarded.
  8. 一种通信方法,其特征在于,包括:A communication method, comprising:
    无线链路控制实体以第一传输模式发送第一数据包;the RLC entity sends the first data packet in the first transmission mode;
    从第一传输模式切换到第二传输模式;switching from the first transmission mode to the second transmission mode;
    确定第二数据包的SN;determining the SN of the second data packet;
    所述无线链路控制实体以第二传输模式发送所述第二数据包,所述第一传输模式和所述第二传输模式是点到多点传输模式和点到点传输模式中的一种和另一种。The RLC entity sends the second data packet in a second transmission mode, and the first transmission mode and the second transmission mode are one of a point-to-multipoint transmission mode and a point-to-point transmission mode and another.
  9. 如权利要求8所述的方法,其特征在于,The method of claim 8, wherein:
    所述第一传输模式为所述点到多点传输模式,所述第二传输模式为所述点到点传输模式,所述SN为初始值。The first transmission mode is the point-to-multipoint transmission mode, the second transmission mode is the point-to-point transmission mode, and the SN is an initial value.
  10. 如权利要求8所述的方法,其特征在于,The method of claim 8, wherein:
    所述第一传输模式为所述点到多点传输模式,所述第二传输模式为所述点到点传输模式,the first transmission mode is the point-to-multipoint transmission mode, the second transmission mode is the point-to-point transmission mode,
    所述确定第二数据包的SN包括:根据所述第一SN确定所述SN,所述第一SN为在所述上一次所述点到点传输模式下传输的SDU分段对应的最大SN。The determining the SN of the second data packet includes: determining the SN according to the first SN, where the first SN is the maximum SN corresponding to the SDU segment transmitted in the last point-to-point transmission mode .
  11. 如权利要8-10任一项所述的方法,其特征在于,The method according to any one of claims 8-10, wherein,
    在所述第二传输模式下传输第一SDU分段对应的完整的SDU,所述第一SDU分段是在所述第一传输模式下传输的所述SDU分段中的至少一个。A complete SDU corresponding to a first SDU segment is transmitted in the second transmission mode, the first SDU segment being at least one of the SDU segments transmitted in the first transmission mode.
  12. 如权利要8所述的方法,其特征在于,The method of claim 8, wherein:
    所述第一传输模式为所述点到点传输模式,所述第二传输模式为所述点到多点传输模式;the first transmission mode is the point-to-point transmission mode, and the second transmission mode is the point-to-multipoint transmission mode;
    所述方法还包括:发送第二指示信息,所述第二指示信息用于指示序列号SN,所述SN用于指示根据所述SN更新接收窗的参数。The method further includes: sending second indication information, where the second indication information is used to indicate a sequence number SN, and the SN is used to indicate that a parameter of the receiving window is updated according to the SN.
  13. 一种通信方法,其特征在于,包括:A communication method, comprising:
    接收第一配置信息,所述第一配置信息用于配置无线链路控制实体RLC的至少一个第一接收窗和至少一个第二接收窗;receiving first configuration information, where the first configuration information is used to configure at least one first receiving window and at least one second receiving window of the radio link control entity RLC;
    所述第一接收窗用于接收通过点到点传输模式传输的第一数据包,所述第二接收窗用于接收通过点到多点传输模式传输的第二数据包;The first receiving window is used for receiving the first data packet transmitted by the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet transmitted by the point-to-multipoint transmission mode;
    接收所述第一数据包和/或所述第二数据包。The first data packet and/or the second data packet are received.
  14. 如权利要求13所述的方法,其特征在于,还包括:The method of claim 13, further comprising:
    发送能力信息,所述能力信息用于指示支持同一个所述RLC配置至少两个接收窗。Sending capability information, where the capability information is used to indicate that at least two receiving windows are supported for the same RLC configuration.
  15. 一种通信方法,其特征在于,A communication method, characterized in that,
    发送第一配置信息,所述第一配置信息用于配置无线链路控制实体RLC的至少一个第一接收窗和至少一个第二接收窗;sending first configuration information, where the first configuration information is used to configure at least one first receiving window and at least one second receiving window of the RLC;
    所述第一接收窗用于接收在点到点传输模式下的第一数据包,所述第二接收窗用于接收在点到多点传输模式下的第二数据包;The first receiving window is used for receiving the first data packet in the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet in the point-to-multipoint transmission mode;
    发送所述第一数据包和/或所述第二数据包。Sending the first data packet and/or the second data packet.
  16. 如权利要求15所述的方法,其特征在于,还包括:The method of claim 15, further comprising:
    接收能力信息,所述能力信息用于指示支持同一个RLC配置至少两个接收窗。Receiving capability information, where the capability information is used to indicate that at least two receiving windows are supported for the same RLC configuration.
  17. 一种通信装置,其特征在于,包括:A communication device, comprising:
    收发模块,用于接收第一数据包和第二数据包,所述第一数据包通过第一传输模式传 输,所述第二数据包通过第二传输模式传输;A transceiver module for receiving a first data packet and a second data packet, the first data packet is transmitted by the first transmission mode, and the second data packet is transmitted by the second transmission mode;
    处理模块,用于利用无线链路控制实体的接收窗对所述第一数据包和/或所述第二数据包进行重组;a processing module, configured to reassemble the first data packet and/or the second data packet by using the receiving window of the RLC entity;
    所述处理模块,还用于当所述第一传输模式切换到第二传输模式时,更新所述无线链路控制实体的接收窗的参数;The processing module is further configured to update the parameters of the receiving window of the RLC entity when the first transmission mode is switched to the second transmission mode;
    所述第一传输模式和所述第二传输模式是点到多点传输模式和点到点传输模式中的一种和另一种。The first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
  18. 如权利要求17所述的装置,其特征在于,所述当所述第一传输模式切换到第二传输模式时,更新所述无线链路控制实体的接收窗的参数包括:The apparatus of claim 17, wherein when the first transmission mode is switched to the second transmission mode, updating the parameters of the receiving window of the RLC entity comprises:
    所述收发模块,用于接收第一指示信息,所述第一指示信息用于指示所述第一传输模式切换到第二传输模式;或the transceiver module, configured to receive first indication information, where the first indication information is used to instruct the first transmission mode to switch to the second transmission mode; or
    所述收发模块,用于根据所述第二数据包判断所述第一传输模式切换到所述第二传输模式。The transceiver module is configured to determine that the first transmission mode is switched to the second transmission mode according to the second data packet.
  19. 如权利要求17或18所述的装置,其特征在于,The device of claim 17 or 18, wherein:
    所述第一传输模式为所述点到多点传输模式,所述第二传输模式为所述点到点传输模式;the first transmission mode is the point-to-multipoint transmission mode, and the second transmission mode is the point-to-point transmission mode;
    所述处理模块用于更新所述无线链路控制实体的接收窗的参数包括:所述处理模块用于更新所述接收窗的参数为初始值。The processing module used to update the parameters of the receiving window of the RLC entity includes: the processing module is used to update the parameters of the receiving window to an initial value.
  20. 如权利要求19所述的装置,其特征在于,The apparatus of claim 19, wherein
    所述第一传输模式为所述点到多点传输模式,所述第二传输模式为所述点到点传输模式;the first transmission mode is the point-to-multipoint transmission mode, and the second transmission mode is the point-to-point transmission mode;
    所述处理模块用于更新所述无线链路控制实体的接收窗的参数包括:所述处理模块用于更新所述接收窗的参数为第一参数,所述第一参数为上一次点到点传输模式下的所述接收窗的参数。The parameters used by the processing module to update the receiving window of the RLC entity include: the parameter used by the processing module to update the receiving window is a first parameter, and the first parameter is the last point-to-point Parameters of the receiving window in transmission mode.
  21. 如权利要求17或18所述的装置,其特征在于,The device of claim 17 or 18, wherein:
    所述第一传输模式为所述点到点传输模式,所述第二传输模式为所述点到多点传输模式;the first transmission mode is the point-to-point transmission mode, and the second transmission mode is the point-to-multipoint transmission mode;
    所述收发模块,还用于接收第二指示信息,所述第二指示信息用于指示序列号SN,所述处理模块用于更新所述无线链路控制实体的接收窗的参数包括:处理模块用于根据所述SN更新所述接收窗的参数。The transceiver module is further configured to receive second indication information, where the second indication information is used to indicate the serial number SN, and the processing module is used to update the parameters of the receiving window of the radio link control entity, comprising: a processing module for updating the parameters of the receiving window according to the SN.
  22. 如权利要求17或18所述的装置,其特征在于,The device of claim 17 or 18, wherein:
    所述第二数据包包括服务数据单元SDU分段;the second data packet includes a service data unit SDU segment;
    所述处理模块用于更新所述无线链路控制实体的接收窗的参数包括:所述处理模块用于根据序列号SN更新所述接收窗的参数,所述SN是在所述第二传输模式下接收的第一个所述SDU分段。The processing module is used to update the parameters of the receiving window of the RLC entity comprising: the processing module is used to update the parameters of the receiving window according to the sequence number SN, and the SN is in the second transmission mode. The first described SDU segment received next.
  23. 如权利要求21或22所述的装置,其特征在于,The device of claim 21 or 22, wherein:
    所述第一数据包包括服务数据单元SDU分段,所述处理模块,还用于丢弃所述接收窗在所述第一传输模式下接收的所述SDU分段。The first data packet includes a service data unit SDU segment, and the processing module is further configured to discard the SDU segment received by the receiving window in the first transmission mode.
  24. 一种通信装置,其特征在于,包括:A communication device, comprising:
    收发模块,用于以第一传输模式发送无线链路控制实体中的第一数据包;a transceiver module, configured to send the first data packet in the RLC entity in the first transmission mode;
    处理模块,用于从第一传输模式切换到第二传输模式;a processing module for switching from the first transmission mode to the second transmission mode;
    所述处理模块,还用于确定第二数据包的SN;The processing module is further configured to determine the SN of the second data packet;
    所述收发模块,用于以第二传输模式发送所述无线链路控制实体中的所述第二数据包;the transceiver module, configured to send the second data packet in the RLC entity in a second transmission mode;
    所述第一传输模式和所述第二传输模式是点到多点传输模式和点到点传输模式中的一种和另一种。The first transmission mode and the second transmission mode are one and the other of a point-to-multipoint transmission mode and a point-to-point transmission mode.
  25. 如权利要求24所述的装置,其特征在于,The apparatus of claim 24, wherein
    所述第一传输模式为所述点到多点传输模式,所述第二传输模式为所述点到点传输模式,所述SN为初始值。The first transmission mode is the point-to-multipoint transmission mode, the second transmission mode is the point-to-point transmission mode, and the SN is an initial value.
  26. 如权利要求24所述的装置,其特征在于,The apparatus of claim 24, wherein
    所述第一传输模式为所述点到多点传输模式,所述第二传输模式为所述点到点传输模式,the first transmission mode is the point-to-multipoint transmission mode, the second transmission mode is the point-to-point transmission mode,
    所述处理模块用于确定所述第二数据包的SN包括:所述处理模块用于根据所述第一SN确定所述SN,所述第一SN为在所述上一次所述点到点传输模式下传输的SDU分段对应的最大SN。The processing module configured to determine the SN of the second data packet includes: the processing module is configured to determine the SN according to the first SN, and the first SN is the last point-to-point The maximum SN corresponding to the SDU segment transmitted in transmission mode.
  27. 如权利要24-26任一项所述的装置,其特征在于,The device according to any one of claims 24-26, characterized in that,
    所述第一数据包包括服务数据单元SDU分段;the first data packet includes a service data unit SDU segment;
    所述收发模块,还用于在所述第二传输模式下发送第一SDU分段对应的完整的SDU,所述第一SDU分段是在所述第一传输模式下发送的所述SDU分段中的至少一个。The transceiver module is further configured to send a complete SDU corresponding to a first SDU segment in the second transmission mode, where the first SDU segment is the SDU segment sent in the first transmission mode. at least one of the segments.
  28. 如权利要24所述的装置,其特征在于,The apparatus of claim 24, wherein
    所述第一传输模式为所述点到点传输模式,所述第二传输模式为所述点到多点传输模式;the first transmission mode is the point-to-point transmission mode, and the second transmission mode is the point-to-multipoint transmission mode;
    所述收发模块,还用于发送第二指示信息,所述第二指示信息用于指示序列号SN,所述SN用于指示根据所述SN更新接收窗的参数。The transceiver module is further configured to send second indication information, where the second indication information is used to indicate the sequence number SN, and the SN is used to indicate that the parameters of the receiving window are updated according to the SN.
  29. 一种通信装置,其特征在于,包括:A communication device, comprising:
    收发模块,用于接收第一配置信息;a transceiver module for receiving the first configuration information;
    处理模块,用于根据所述第一配置信息配置无线链路控制实体RLC的至少一个第一接收窗和至少一个第二接收窗;a processing module, configured to configure at least one first receiving window and at least one second receiving window of the radio link control entity RLC according to the first configuration information;
    所述第一接收窗用于接收通过点到点传输模式传输的第一数据包,所述第二接收窗用于接收通过点到多点传输模式传输的第二数据包;The first receiving window is used for receiving the first data packet transmitted by the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet transmitted by the point-to-multipoint transmission mode;
    所述收发模块,还用于接收所述第一数据包和/或所述第二数据包。The transceiver module is further configured to receive the first data packet and/or the second data packet.
  30. 如权利要求29所述的装置,其特征在于,The apparatus of claim 29, wherein:
    所述收发模块,还用于发送能力信息,所述能力信息用于指示支持同一个RLC配置至少两个接收窗。The transceiver module is further configured to send capability information, where the capability information is used to indicate that at least two receive windows are supported for the same RLC configuration.
  31. 一种通信装置,其特征在于,A communication device, characterized in that:
    收发模块,用于发送第一配置信息,所述第一配置信息用于配置无线链路控制实体RLC的至少一个第一接收窗和至少一个第二接收窗;a transceiver module, configured to send first configuration information, where the first configuration information is used to configure at least one first receiving window and at least one second receiving window of the RLC;
    所述第一接收窗用于接收在点到点传输模式下的第一数据包,所述第二接收窗用于接收在点到多点传输模式下的第二数据包;The first receiving window is used for receiving the first data packet in the point-to-point transmission mode, and the second receiving window is used for receiving the second data packet in the point-to-multipoint transmission mode;
    收发模块,还用于发送所述第一数据包和/或所述第二数据包;a transceiver module, further configured to send the first data packet and/or the second data packet;
    处理模块,用于控制所述收发模块发送所述第一配置信息和/或用于控制所述收发模块发送所述第一数据包和/或所述第二数据包。A processing module, configured to control the transceiver module to send the first configuration information and/or to control the transceiver module to send the first data packet and/or the second data packet.
  32. 如权利要求31所述的装置,其特征在于,The apparatus of claim 31, wherein
    所述收发模块,还用于接收能力信息,所述能力信息用于指示支持同一个所述RLC配置至少两个接收窗。The transceiver module is further configured to receive capability information, where the capability information is used to indicate that the same RLC configuration at least two reception windows is supported.
  33. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-16任一项所述的方法。A computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1-16.
  34. 一种通信装置,包括存储器和处理器,所述存储器用于存储指令,所述处理器用于执行所述存储器存储的指令,并且对所述存储器中存储的指令执行如权利要求1-7中任一项所述的方法或执行如权利要求13-14中任一项所述的方法。A communication device, comprising a memory and a processor, the memory is used for storing instructions, the processor is used for executing the instructions stored in the memory, and executes the instructions stored in the memory according to any one of claims 1-7. A method as claimed in any of claims 13-14 or performing a method as claimed in any of claims 13-14.
  35. 一种通信装置,包括存储器和处理器,所述存储器用于存储指令,所述处理器用于执行所述存储器存储的指令,并且对所述存储器中存储的指令执行如权利要求8-12中任一项所述的方法或执行如权利要求15-16中任一项所述的方法。A communication device, comprising a memory and a processor, the memory is used for storing instructions, the processor is used for executing the instructions stored in the memory, and executes the instructions stored in the memory according to any one of claims 8-12. A method as claimed in any one of claims 15-16 or performing the method.
  36. 一种通信系统,其特征在于,包括如权利要求17-23中任一项所述的通信装置,和如权利要求24-28中任一项所述的通信装置;或者A communication system, characterized by comprising the communication device according to any one of claims 17-23, and the communication device according to any one of claims 24-28; or
    包括如权利要求29-30中任一项所述的通信装置,和如权利要求31-32中任一项所述的通信装置。Comprising a communication device as claimed in any of claims 29-30, and a communication device as claimed in any of claims 31-32.
  37. 一种计算机程序,其特征在于,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1-16中任一项所述的通信方法。A computer program, characterized in that, when the computer program is run on a computer, the computer is caused to execute the communication method according to any one of claims 1-16.
PCT/CN2020/115696 2020-09-16 2020-09-16 Communication method and communication apparatus WO2022056746A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/115696 WO2022056746A1 (en) 2020-09-16 2020-09-16 Communication method and communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/115696 WO2022056746A1 (en) 2020-09-16 2020-09-16 Communication method and communication apparatus

Publications (1)

Publication Number Publication Date
WO2022056746A1 true WO2022056746A1 (en) 2022-03-24

Family

ID=80775831

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/115696 WO2022056746A1 (en) 2020-09-16 2020-09-16 Communication method and communication apparatus

Country Status (1)

Country Link
WO (1) WO2022056746A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022150750A1 (en) * 2021-01-11 2022-07-14 Idac Holdings, Inc. Lossless switching between ptp and ptm transmission and reception in mbs

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729269A (en) * 2008-10-16 2010-06-09 中兴通讯股份有限公司 Method and system for implementing multimedia broadcast/multicast service, and bearer selection method
CN101867879A (en) * 2003-08-21 2010-10-20 高通股份有限公司 Outer coding methods for broadcast/multicast content and related apparatus
CN102404691A (en) * 2008-10-16 2012-04-04 中兴通讯股份有限公司 Wireless bearer selection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867879A (en) * 2003-08-21 2010-10-20 高通股份有限公司 Outer coding methods for broadcast/multicast content and related apparatus
CN101729269A (en) * 2008-10-16 2010-06-09 中兴通讯股份有限公司 Method and system for implementing multimedia broadcast/multicast service, and bearer selection method
CN102404691A (en) * 2008-10-16 2012-04-04 中兴通讯股份有限公司 Wireless bearer selection method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MEDIATEK INC.: "UE Reception Model of MBS Radio Bearer and its Dynamic PTM/PTP switch", 3GPP DRAFT; R2-2006575, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG2, no. electronic; 20200817 - 20200828, 7 August 2020 (2020-08-07), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051911518 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022150750A1 (en) * 2021-01-11 2022-07-14 Idac Holdings, Inc. Lossless switching between ptp and ptm transmission and reception in mbs

Similar Documents

Publication Publication Date Title
US8989004B2 (en) System and method for multi-point HSDPA communication utilizing a multi-link PDCP sublayer
CN108631951B (en) Retransmission processing method and equipment
JP2014161082A (en) Method for controlling reconfiguration of multiple radio access bearers in wireless device
TW201220868A (en) Method and apparatus for radio link control during network congestion in a mobile wireless device
WO2021056589A1 (en) Data transmission method and apparatus
CN108809540B (en) Data processing method and device
US20230180027A1 (en) User plane data processing method and base station
US20220140861A1 (en) Method and Apparatus for Service Continuity Across LF and mmWave
US20220377781A1 (en) Method, apparatus, computer program product and computer program
US11974162B2 (en) Communication method and device
US20230091236A1 (en) Communication control method and user equipment
US20220201786A1 (en) Methods and apparatus to reduce packet latency in multi-leg transmission
WO2022056746A1 (en) Communication method and communication apparatus
WO2020199892A1 (en) Switching method, apparatus and system in wireless communication system
EP3920592B1 (en) Switching method, apparatus and system in wireless communication system
US20230087614A1 (en) Reliable multicast transmission with uplink feedback
US20230134356A1 (en) Methods and apparatus to set initial pdcp state variables for multicast
US20210298123A1 (en) Wireless communication system, transmission and reception method, recording medium, wireless communication base station device, control circuit, and control method
US20230345323A1 (en) Data transmission method and apparatus
TWI838072B (en) Method and user equipment for relay node configuration
WO2023060402A1 (en) Method and apparatus for multicast and broadcast services
WO2021238668A1 (en) Communication method and apparatus
WO2023071699A1 (en) Data transmission method for multicast service, communication device and storage medium
WO2023011101A1 (en) Data transmission method and communication apparatus
WO2023000177A1 (en) Method, device and computer readable medium for communication

Legal Events

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

Ref document number: 20953604

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20953604

Country of ref document: EP

Kind code of ref document: A1