[go: up one dir, main page]

CN110519814A - Data transmission method and device, storage medium, base station - Google Patents

Data transmission method and device, storage medium, base station Download PDF

Info

Publication number
CN110519814A
CN110519814A CN201910797936.4A CN201910797936A CN110519814A CN 110519814 A CN110519814 A CN 110519814A CN 201910797936 A CN201910797936 A CN 201910797936A CN 110519814 A CN110519814 A CN 110519814A
Authority
CN
China
Prior art keywords
data
base station
data packet
target base
user equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910797936.4A
Other languages
Chinese (zh)
Inventor
邓云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201910797936.4A priority Critical patent/CN110519814A/en
Publication of CN110519814A publication Critical patent/CN110519814A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/02Buffering or recovering information during reselection ; Modification of the traffic flow during hand-off
    • H04W36/023Buffering or recovering information during reselection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point

Landscapes

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

Abstract

A kind of data transmission method and device, storage medium, base station, the data transmission method include: the second mapping relations of the data flow and Data Radio Bearer when receiving switching request, before obtaining switching;After signaling is completed in the switching for receiving user equipment transmission, the state report for the data packet transmitted not successfully that user equipment is sent is received;The reception state of the data packet transmitted not successfully is determined according to the first mapping relations of data flow and Data Radio Bearer after switching, second mapping relations and the state report.The Lossless transport of switching evidence may be implemented in technical solution of the present invention.

Description

数据传输方法及装置、存储介质、基站Data transmission method and device, storage medium, base station

技术领域technical field

本申请是申请日为2017年3月23日,申请号为201710178216.0,发明名称为数据传输方法、装置及用户设备的专利申请的分案申请。This application is a divisional application of a patent application with an application date of March 23, 2017, an application number of 201710178216.0, and an invention title of data transmission method, device and user equipment.

本发明涉及通信技术领域,尤其涉及一种数据传输方法及装置、存储介质、基站。The present invention relates to the technical field of communications, in particular to a data transmission method and device, a storage medium, and a base station.

背景技术Background technique

在第五代移动通信技术(5th-Generation,5G)中,为了实现控制面和用户面分离,业务数据包会包含该业务的服务质量(Quality of Service,QoS)信息。对于下行,基站收到核心网发送的数据包之后,根据其中包含的QoS信息采用合适的调度策略调度传输资源,以便在满足QoS要求的条件下,将数据包发送给用户设备(User Equipment,UE)。一个UE可能发起多个业务,每个业务具有特定的QoS,不同业务的QoS可以相同、相近,或者完全不同。每个业务可以称之为一个QoS数据流(Flow),基站可以依据自己的调度算法将具有相同、或相近QoS的不同Flow映射到同一个数据无线承载(Data Radio Bearer,DRB)上,将QoS差别很大的Flow映射到不同的DRB上。在层2(Layer 2),有一个新引入的层专门用于实现Flow到DRB的映射,该层位于分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层之上,层2一共四层,分别为新引入的层、PDCP层、无线链路控制协议(Radio Link Control,RLC)层和介质访问控制(Medium Access Control,MAC)层。In the fifth-generation mobile communication technology (5th-Generation, 5G), in order to realize the separation of the control plane and the user plane, the service data packet will contain the service quality (Quality of Service, QoS) information of the service. For the downlink, after receiving the data packet sent by the core network, the base station adopts an appropriate scheduling policy to schedule transmission resources according to the QoS information contained therein, so as to send the data packet to the user equipment (UE) under the condition of meeting the QoS requirements. ). A UE may initiate multiple services, and each service has a specific QoS, and the QoS of different services may be the same, similar, or completely different. Each service can be called a QoS data flow (Flow). The base station can map different Flows with the same or similar QoS to the same data radio bearer (Data Radio Bearer, DRB) according to its own scheduling algorithm, and QoS Flows with large differences are mapped to different DRBs. In Layer 2 (Layer 2), there is a newly introduced layer dedicated to implementing the mapping from Flow to DRB. This layer is located above the Packet Data Convergence Protocol (PDCP) layer. Layer 2 has four layers in total, respectively It is a newly introduced layer, PDCP layer, radio link control protocol (Radio Link Control, RLC) layer and medium access control (Medium Access Control, MAC) layer.

在切换时,目标基站可能与源基站具有不同的调度策略,对于UE所建立的多个Flow,目标基站可以将Flow映射到不同的DRB上,如切换之前,源基站将Flow1和Flow2映射到DRB1上,切换之后,目标基站将Flow1映射到DRB1,而将Flow2映射到DRB2上。通常在切换的过程中需要保证数据的完整、不丢失,比如对于下行数据的传输,源基站在切换过程中会将未传输的数据包转发给目标基站(从第一个未被确认传输成功的数据包开始转发,以DRB为颗粒度进行转发),UE在切换之后可以向目标基站发送PDCP状态报告(PDCP StatusReport),这样目标基站可以判断出哪些数据包已经被UE正确接收,哪些数据包还没有被UE正确接收,目标基站向UE传输未确认的数据包,UE收到之后与已经收到的数据包排序,然后按序向UE的高层发送数据包,如此能够实现数据无损的切换。During handover, the target base station may have different scheduling policies from the source base station. For multiple flows established by the UE, the target base station may map Flow to different DRBs. For example, before the handover, the source base station maps Flow1 and Flow2 to DRB1 , after the handover, the target base station maps Flow1 to DRB1, and maps Flow2 to DRB2. Usually, it is necessary to ensure that the data is complete and not lost during the handover process. For example, for the transmission of downlink data, the source base station will forward the untransmitted data packets to the target base station during the handover process (from the first unconfirmed transmission success The data packet starts to be forwarded, and the DRB is used as the granularity to forward), and the UE can send a PDCP status report (PDCP StatusReport) to the target base station after the handover, so that the target base station can determine which data packets have been correctly received by the UE and which data packets have not yet been received. If it is not received correctly by the UE, the target base station transmits the unconfirmed data packet to the UE. After receiving it, the UE sorts the received data packet, and then sends the data packet to the UE's upper layer in order, so that data lossless switching can be realized.

但是,上述方式只能针对切换时数据流映射不变的场景。切换时如果数据流映射发生变化,对于映射到新的承载上的数据流,目标基站不能准确获知切换前源基站是否有未向UE传输的数据包,可能造成数据丢失的现象,影响用户的体验。However, the above method can only be used for scenarios where the data flow mapping does not change during switching. If the data flow mapping changes during handover, for the data flow mapped to the new bearer, the target base station cannot accurately know whether the source base station has any data packets that have not been transmitted to the UE before the handover, which may cause data loss and affect user experience .

发明内容Contents of the invention

本发明解决的技术问题是如何实现切换时数据的无损传输。The technical problem solved by the invention is how to realize lossless transmission of data during switching.

为解决上述技术问题,本发明实施例提供一种数据传输方法,数据传输方法包括:In order to solve the above technical problems, an embodiment of the present invention provides a data transmission method, the data transmission method includes:

在小区切换时或切换完成后,接收未成功传输的数据包所属的数据流信息;根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告,并发送至目标基站。When the cell is handed over or after the handover is completed, receive the data stream information to which the unsuccessfully transmitted data packet belongs; according to the data stream information to which the unsuccessfully transmitted data packet belongs and the receiving status of the unsuccessfully transmitted data packet, generate a target for The status report of the data flow is sent to the target base station.

可选的,所述接收未成功传输的数据包所属的数据流信息包括:在接收源基站发送的切换命令时,一并接收所述源基站发送的所述未成功传输的数据包所属的数据流信息,其中,所述源基站为切换前基站,目标基站为切换后基站。Optionally, the receiving the data stream information to which the unsuccessfully transmitted data packet belongs includes: when receiving the handover command sent by the source base station, receiving the data to which the unsuccessfully transmitted data packet belongs to from the source base station. Flow information, wherein the source base station is a base station before handover, and the target base station is a base station after handover.

可选的,所述数据传输方法还包括:在接收所述源基站发送的所述切换命令时,一并接收切换后的数据流与数据无线承载的第一映射关系。Optionally, the data transmission method further includes: when receiving the switching command sent by the source base station, receiving the first mapping relationship between the switched data stream and the data radio bearer together.

可选的,所述接收未成功传输的数据包所属的数据流信息包括:在发送切换完成信令后,接收目标基站发送的所述未成功传输的数据包所属的数据流信息,其中,源基站为切换前基站,所述目标基站为切换后基站。Optionally, the receiving the data flow information of the unsuccessfully transmitted data packet includes: after sending the handover completion signaling, receiving the data flow information of the unsuccessfully transmitted data packet sent by the target base station, wherein the source The base station is a base station before handover, and the target base station is a base station after handover.

可选的,所述目标基站在所述切换请求响应中显式指示所述第一映射关系。Optionally, the target base station explicitly indicates the first mapping relationship in the handover request response.

可选的,所述根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告,并发送至目标基站包括:根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告;根据所述未成功传输的数据包所属的数据流信息和所述第一映射关系,确定切换后所述未成功传输的数据包的数据流所映射的数据无线承载;将映射在同一数据无线承载的数据流的状态报告一并发送至所述目标基站。Optionally, the generating a status report for the data flow according to the data flow information to which the unsuccessfully transmitted data packet belongs and the receiving status of the unsuccessfully transmitted data packet, and sending the status report to the target base station includes: according to the Generate a status report for the data flow according to the data flow information to which the unsuccessfully transmitted data packet belongs and the receiving status of the unsuccessfully transmitted data packet; according to the data flow information to which the unsuccessfully transmitted data packet belongs and the first The mapping relationship is to determine the data radio bearer to which the data flow of the unsuccessfully transmitted data packet is mapped after the handover; and send the status report of the data flow mapped to the same data radio bearer to the target base station.

可选的,所述源基站收到所述目标基站发送的切换请求响应之后时,将所述未成功传输的数据包转发至所述目标基站。Optionally, after receiving the handover request response sent by the target base station, the source base station forwards the unsuccessfully transmitted data packet to the target base station.

可选的,所述源基站将所述未成功传输的数据包一并转发至所述目标基站;或者,所述源基站将处于同一数据流的所述未成功传输的数据包一并转发至所述目标基站。Optionally, the source base station forwards the unsuccessfully transmitted data packets to the target base station; or, the source base station forwards the unsuccessfully transmitted data packets in the same data flow to the target base station. The target base station.

可选的,所述目标基站在接收到所述状态报告后,根据所述状态报告确定未成功接收的数据包,并将所述未成功接收的数据包进行发送,所述未成功接收的数据包为所述未成功传输的数据包的至少一部分。Optionally, after receiving the status report, the target base station determines the unsuccessfully received data packets according to the status report, and sends the unsuccessfully received data packets, and the unsuccessfully received data packets A packet is at least a portion of the unsuccessfully transmitted data packets.

可选的,所述数据传输方法还包括:在每一数据流中数据包序列号不连续时,在接收所述未成功接收的数据包时,根据所述未成功接收的数据包所属的数据流信息和数据包序列号调整接收窗口。Optionally, the data transmission method further includes: when the sequence numbers of data packets in each data stream are discontinuous, when receiving the unsuccessfully received data packets, according to the data to which the unsuccessfully received data packets belong Flow information and packet sequence numbers adjust the receive window.

可选的,所述目标基站将所述未成功接收的数据包或者新数据包进行发送时,在每一数据流中,在成功接收的最大序列号的数据包之后,按序传输所述最大序列号的数据包之后的数据包;或者,所述目标基站将所述未成功接收的数据包或者新数据包进行发送时,在所述未成功传输的数据包中,在成功接收的最大序列号的数据包之后,按序传输所述最大序列号的数据包之后的数据包。Optionally, when the target base station sends the unsuccessfully received data packet or the new data packet, in each data stream, after the successfully received data packet with the largest sequence number, the The data packet after the data packet with the sequence number; or, when the target base station sends the unsuccessfully received data packet or a new data packet, among the unsuccessfully transmitted data packets, the maximum sequence of successfully received After the data packet with the highest sequence number, transmit the data packet after the data packet with the largest sequence number in sequence.

可选的,所述源基站向所述目标基站发送切换请求时,显式指示切换前的数据流与数据无线承载的第二映射关系。Optionally, when the source base station sends the handover request to the target base station, it explicitly indicates the second mapping relationship between the data flow before the handover and the data radio bearer.

可选的,所述未成功传输的数据包包括所述源基站未发送的数据包和所述源基站发送且未收到确认反馈的数据包。Optionally, the unsuccessfully transmitted data packets include data packets not sent by the source base station and data packets sent by the source base station for which acknowledgment feedback has not been received.

为解决上述技术问题,本发明实施例还公开了一种数据传输装置,数据传输装置包括:In order to solve the above technical problems, the embodiment of the present invention also discloses a data transmission device, which includes:

数据流信息接收模块,适于在小区切换时或切换完成后,接收未成功传输的数据包所属的数据流信息;状态报告发送模块,适于根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告,并发送至目标基站。The data stream information receiving module is adapted to receive the data stream information to which the unsuccessfully transmitted data packet belongs when the cell is handed over or after the handover is completed; The information and the reception status of the unsuccessfully transmitted data packets generate a status report for the data flow and send it to the target base station.

可选的,所述数据流信息接收模块包括:第一数据流信息接收单元,适于在接收源基站发送的切换命令时,一并接收所述源基站发送的所述未成功传输的数据包所属的数据流信息,其中,所述源基站为切换前基站,目标基站为切换后基站。Optionally, the data flow information receiving module includes: a first data flow information receiving unit, adapted to receive the unsuccessfully transmitted data packet sent by the source base station when receiving the handover command sent by the source base station The data flow information to which it belongs, wherein, the source base station is the base station before the handover, and the target base station is the base station after the handover.

可选的,所述数据流信息接收模块还包括:第一接收单元,适于在接收所述源基站发送的所述切换命令时,一并接收切换后的数据流与数据无线承载的第一映射关系。Optionally, the data flow information receiving module further includes: a first receiving unit, adapted to receive the switched data flow and the first Mapping relations.

可选的,所述数据流信息接收模块包括:第二数据流信息接收单元,适于在发送切换完成信令后,接收目标基站发送的所述未成功传输的数据包所属的数据流信息,其中,源基站为切换前基站,所述目标基站为切换后基站。Optionally, the data flow information receiving module includes: a second data flow information receiving unit, adapted to receive the data flow information sent by the target base station to which the unsuccessfully transmitted data packet belongs after sending the handover completion signaling, Wherein, the source base station is a base station before handover, and the target base station is a base station after handover.

可选的,所述源基站在接收到所述目标基站发送的切换请求响应时,一并接收所述目标基站发送的所述第一映射关系。Optionally, when the source base station receives the handover request response sent by the target base station, it also receives the first mapping relationship sent by the target base station.

可选的,所述目标基站在所述切换请求响应中显式指示所述第一映射关系。Optionally, the target base station explicitly indicates the first mapping relationship in the handover request response.

可选的,所述状态报告发送模块包括:状态报告生成单元,适于根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告;数据无线承载确定单元,适于根据所述未成功传输的数据包所属的数据流信息和所述第一映射关系,确定切换后所述未成功传输的数据包的数据流所映射的数据无线承载;状态报告发送单元,适于将映射在同一数据无线承载的数据流的状态报告一并发送至所述目标基站。Optionally, the status report sending module includes: a status report generating unit, adapted to generate a report for the data flow according to the data flow information to which the unsuccessfully transmitted data packet belongs and the receiving status of the unsuccessfully transmitted data packet. Status report: the data radio bearer determining unit is adapted to determine the data flow to which the data flow of the unsuccessfully transmitted data packet is mapped after switching according to the data flow information to which the unsuccessfully transmitted data packet belongs and the first mapping relationship The data radio bearer; the status report sending unit is adapted to send the status reports of the data streams mapped to the same data radio bearer to the target base station together.

可选的,所述源基站收到所述目标基站发送的切换请求响应之后时,将所述未成功传输的数据包转发至所述目标基站。Optionally, after receiving the handover request response sent by the target base station, the source base station forwards the unsuccessfully transmitted data packet to the target base station.

可选的,所述源基站将所述未成功传输的数据包一并转发至所述目标基站;或者,所述源基站将处于同一数据流的所述未成功传输的数据包一并转发至所述目标基站。Optionally, the source base station forwards the unsuccessfully transmitted data packets to the target base station; or, the source base station forwards the unsuccessfully transmitted data packets in the same data flow to the target base station. The target base station.

可选的,所述目标基站在接收到所述状态报告后,根据所述状态报告确定未成功接收的数据包,并将所述未成功接收的数据包进行发送,所述未成功接收的数据包为所述未成功传输的数据包的至少一部分。Optionally, after receiving the status report, the target base station determines the unsuccessfully received data packets according to the status report, and sends the unsuccessfully received data packets, and the unsuccessfully received data packets A packet is at least a portion of the unsuccessfully transmitted data packets.

可选的,所述数据传输装置还包括:接收窗口调整模块,适于在每一数据流中数据包序列号不连续时,在接收所述未成功接收的数据包时,根据所述未成功接收的数据包所属的数据流信息和数据包序列号调整接收窗口。Optionally, the data transmission device further includes: a receiving window adjustment module, adapted to receive the unsuccessfully received data packets according to the unsuccessful The received data packet belongs to the data flow information and the sequence number of the data packet to adjust the receiving window.

可选的,所述目标基站将所述未成功接收的数据包或者新数据包进行发送时,在每一数据流中,在成功接收的最大序列号的数据包之后,按序传输所述最大序列号的数据包之后的数据包;或者,所述目标基站将所述未成功接收的数据包或者新数据包进行发送时,在所述未成功传输的数据包中,在成功接收的最大序列号的数据包之后,按序传输所述最大序列号的数据包之后的数据包。Optionally, when the target base station sends the unsuccessfully received data packet or the new data packet, in each data stream, after the successfully received data packet with the largest sequence number, the The data packet after the data packet with the sequence number; or, when the target base station sends the unsuccessfully received data packet or a new data packet, among the unsuccessfully transmitted data packets, the maximum sequence of successfully received After the data packet with the highest sequence number, transmit the data packet after the data packet with the largest sequence number in sequence.

可选的,所述源基站向所述目标基站发送切换请求时,显式指示切换前的数据流与数据无线承载的第二映射关系。Optionally, when the source base station sends the handover request to the target base station, it explicitly indicates the second mapping relationship between the data flow before the handover and the data radio bearer.

可选的,所述未成功传输的数据包包括所述源基站未发送的数据包和所述源基站发送且未收到确认反馈的数据包Optionally, the unsuccessfully transmitted data packets include data packets not sent by the source base station and data packets sent by the source base station for which confirmation feedback has not been received

为解决上述技术问题,本发明实施例还公开了一种用户设备,所述用户设备包括所述数据传输装置。In order to solve the above technical problem, an embodiment of the present invention further discloses user equipment, where the user equipment includes the data transmission apparatus.

本发明实施例还公开了一种数据传输方法,数据传输方法包括:The embodiment of the present invention also discloses a data transmission method, and the data transmission method includes:

在接收到切换请求时,获取切换前的数据流与数据无线承载的第二映射关系;在接收到用户设备发送的切换完成信令后,接收用户设备发送的未成功传输的数据包的状态报告;根据切换后的数据流与数据无线承载的第一映射关系、所述第二映射关系和所述状态报告确定所述未成功传输的数据包的接收状态。When receiving the handover request, obtain the second mapping relationship between the data stream before the handover and the data radio bearer; after receiving the handover completion signaling sent by the user equipment, receive the status report of the unsuccessfully transmitted data packet sent by the user equipment ; Determine the receiving status of the unsuccessfully transmitted data packet according to the first mapping relationship between the switched data flow and the data radio bearer, the second mapping relationship and the status report.

可选的,所述数据传输方法还包括:根据所述接收状态确定未成功接收的数据包,所述未成功接收的数据包为所述未成功传输的数据包的至少一部分;将所述未成功接收的数据包发送至所述用户设备。Optionally, the data transmission method further includes: determining an unsuccessfully received data packet according to the receiving status, where the unsuccessfully received data packet is at least a part of the unsuccessfully transmitted data packet; Successfully received data packets are sent to the user equipment.

与现有技术相比,本发明实施例的技术方案具有以下有益效果:Compared with the prior art, the technical solutions of the embodiments of the present invention have the following beneficial effects:

本发明技术方案在小区切换时或切换完成后,接收未成功传输的数据包所属的数据流信息;根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告,并发送至目标基站。本发明技术方案通过告知用户设备未成功传输的数据包所属的数据流信息,则用户设备可以据此生成针对数据流的状态报告,并发送至目标基站;从而可以使得切换后的目标基站能够获知用户设备实际接收数据包的状态,进而能够在后续步骤中准确地将用户设备未接收到的数据包发送给用户设备,实现切换时数据的无损传输,避免了数据包丢失,提高用户体验。The technical solution of the present invention receives the data flow information to which the unsuccessfully transmitted data packet belongs when the cell is handed over or after the handover is completed; according to the data flow information to which the unsuccessfully transmitted data packet belongs and the data flow information of the unsuccessfully transmitted data packet The receive status generates a status report for the data flow and sends it to the target base station. The technical solution of the present invention notifies the user equipment of the data flow information of the data packet that has not been successfully transmitted, so that the user equipment can generate a status report for the data flow and send it to the target base station; thus, the target base station after handover can know The state of the user equipment actually receiving the data packets can accurately send the data packets not received by the user equipment to the user equipment in the subsequent steps, so as to realize the lossless transmission of data during switching, avoid the loss of data packets, and improve the user experience.

进一步地,在接收源基站发送的切换命令时,一并接收所述源基站发送的所述未成功传输的数据包所属的数据流信息,其中,所述源基站为切换前基站,目标基站为切换后基站。本发明技术方案中用户设备在切换过程中,在接收源基站发送的切换命令时,一并接收所述未成功传输的数据包所属的数据流信息,从而节省信令开销。Further, when receiving the handover command sent by the source base station, the data flow information to which the unsuccessfully transmitted data packet sent by the source base station is received together, wherein the source base station is the base station before handover, and the target base station is Base station after switching. In the technical solution of the present invention, during the handover process, when receiving the handover command sent by the source base station, the user equipment also receives the data stream information to which the unsuccessfully transmitted data packet belongs, thereby saving signaling overhead.

进一步地,在发送切换完成信令后,接收目标基站发送的所述未成功传输的数据包所属的数据流信息,其中,源基站为切换前基站,所述目标基站为切换后基站。本发明技术方案中用户设备在切换完成后,接收目标基站发送的所述未成功传输的数据包所属的数据流信息;通过目标基站和用户设备之间的交互,可以避免占用源基站的资源,提高基站的通信效率。Further, after the handover completion signaling is sent, the data flow information of the unsuccessfully transmitted data packet sent by the target base station is received, wherein the source base station is the base station before the handover, and the target base station is the base station after the handover. In the technical solution of the present invention, after the handover is completed, the user equipment receives the data flow information of the unsuccessfully transmitted data packet sent by the target base station; through the interaction between the target base station and the user equipment, it is possible to avoid occupying resources of the source base station, Improve the communication efficiency of the base station.

附图说明Description of drawings

图1是本发明实施例一种数据传输方法的流程图;Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention;

图2是本发明实施例另一种数据传输方法的流程图;FIG. 2 is a flow chart of another data transmission method according to an embodiment of the present invention;

图3是本发明实施例又一种数据传输方法的流程图;FIG. 3 is a flowchart of another data transmission method according to an embodiment of the present invention;

图4是本发明实施例一种数据传输装置的结构示意图;4 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;

图5是本发明实施例另一种数据传输装置的结构示意图。FIG. 5 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention.

具体实施方式Detailed ways

如背景技术中所述,现有技术中上述方式只能针对切换时数据流映射不变的场景。切换时如果数据流映射发生变化,对于映射到新的承载上的数据流,目标基站不能准确获知切换前源基站是否有未向UE传输的数据包,可能造成数据丢失的现象,影响用户的体验。As described in the background, the above methods in the prior art can only be used for the scenario where the data flow mapping does not change during switching. If the data flow mapping changes during handover, for the data flow mapped to the new bearer, the target base station cannot accurately know whether the source base station has any data packets that have not been transmitted to the UE before the handover, which may cause data loss and affect user experience .

本发明技术方案通过告知用户设备未成功传输的数据包所属的数据流信息,则用户设备可以据此生成针对数据流的状态报告,并发送至目标基站;从而可以使得切换后的目标基站能够获知用户设备实际接收数据包的状态,进而能够在后续步骤中准确地将用户设备未接收到的数据包发送给用户设备,实现切换时数据的无损传输,避免了数据包丢失,提高用户体验。The technical solution of the present invention notifies the user equipment of the data flow information of the data packet that has not been successfully transmitted, so that the user equipment can generate a status report for the data flow and send it to the target base station; thus, the target base station after handover can know The state of the user equipment actually receiving the data packets can accurately send the data packets not received by the user equipment to the user equipment in the subsequent steps, so as to realize the lossless transmission of data during switching, avoid the loss of data packets, and improve the user experience.

为使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

图1是本发明实施例一种数据传输方法的流程图。FIG. 1 is a flowchart of a data transmission method according to an embodiment of the present invention.

本实施例中的数据传输方法可以应用在用户设备侧。The data transmission method in this embodiment can be applied on the user equipment side.

图1所示的数据传输方法可以包括以下步骤:The data transmission method shown in Figure 1 may include the following steps:

步骤S101:在小区切换时或切换完成后,接收未成功传输的数据包所属的数据流信息;Step S101: when the cell is handed over or after the handover is completed, receive the data flow information to which the unsuccessfully transmitted data packet belongs;

步骤S102:根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告,并发送至目标基站。Step S102: Generate a status report for the data flow according to the data flow information to which the unsuccessfully transmitted data packet belongs and the receiving status of the unsuccessfully transmitted data packet, and send it to the target base station.

具体实施中,在发生小区切换时,用户设备接入的基站从源基站切换为目标基站。在步骤S101中,在小区切换时或切换完成后,接收未成功传输的数据包所属的数据流信息。例如,未成功传输的数据包对应的PDCP序列号(sequence number,SN)分别为21,22,23至40,其中,单数序列号的数据包所属的数据流信息为Flow1,双数序列号的数据包所属的数据流信息为Flow2。则用户设备需要接收的未成功传输的数据包所属的数据流信息可以是,Flow1未成功传输的数据包序列号为21,23,25,27,29,31,33,35,37,39;Flow2未成功传输的数据包序列号为22,24,26,28,30,32,34,36,38,40。In a specific implementation, when cell switching occurs, the base station accessed by the user equipment is switched from the source base station to the target base station. In step S101, when the cell is handed over or after the handover is completed, the data stream information to which the unsuccessfully transmitted data packet belongs is received. For example, the PDCP sequence numbers (sequence number, SN) corresponding to the unsuccessfully transmitted data packets are 21, 22, 23 to 40 respectively, wherein, the data flow information to which the data packets with odd sequence numbers belong is Flow1, and the data packets with even sequence numbers The data flow information to which the data packet belongs is Flow2. Then the data flow information of the unsuccessfully transmitted data packets that the user equipment needs to receive may be that the sequence numbers of the unsuccessfully transmitted data packets of Flow1 are 21, 23, 25, 27, 29, 31, 33, 35, 37, 39; The sequence numbers of packets not successfully transmitted by Flow2 are 22, 24, 26, 28, 30, 32, 34, 36, 38, 40.

本领域技术人员应当理解的是,实际应用场景中中不同Flow中数据包的序列号可以连续、也可以不连续。Those skilled in the art should understand that in actual application scenarios, sequence numbers of data packets in different Flows may be continuous or discontinuous.

进一步地,未成功传输的数据包所属的数据流信息可以是源基站发送的,也可以是目标基站发送的。即源基站或目标基站需要将Flow1中数据包的序列号、以及Flow2中数据包的序列号发送给UE。Further, the data flow information to which the unsuccessfully transmitted data packet belongs may be sent by the source base station, or may be sent by the target base station. That is, the source base station or the target base station needs to send the sequence number of the data packet in Flow1 and the sequence number of the data packet in Flow2 to the UE.

进一步地,所述未成功传输的数据包可以包括所述源基站未发送的数据包和所述源基站发送且未收到确认反馈的数据包。具体而言,未成功传输是针对源基站而言,其中未成功传输的数据包中可以包括UE已经收到、但源基站还不能确认成功传输的数据包。Further, the unsuccessfully transmitted data packets may include data packets not sent by the source base station and data packets sent by the source base station for which no acknowledgment feedback has been received. Specifically, the unsuccessful transmission refers to the source base station, where the unsuccessfully transmitted data packets may include the data packets that the UE has received but the source base station cannot confirm the successful transmission.

具体实施中,在步骤S102中,用户设备可以根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告。具体而言,所述未成功传输的数据包的接收状态可以表示UE是否接收到该数据包。所述状态报告可以是PDCP状态报告。In a specific implementation, in step S102, the user equipment may generate a status report for the data flow according to the data flow information to which the unsuccessfully transmitted data packet belongs and the receiving status of the unsuccessfully transmitted data packet. Specifically, the reception status of the unsuccessfully transmitted data packet may indicate whether the UE has received the data packet. The status report may be a PDCP status report.

例如,对于PDCP序列号分别为21,22,23至40的未成功传输的数据包,UE已经成功的接收了序列号为24,25,28,29的数据包,则UE可以依据不同数据包所属的数据流信息和已经接收到的数据包信息(序列号为24,25,28,29),针对Flow1和Flow2分别生成状态报告;对于Flow1中序列号为21、23、25、27、29、31、33、35、37、39的数据包,分别指示0、0、1、0、1、0、0、0、0、0(0表示没有收到,1表示已收到),来按序指示是否收到数据包;类似地,对于Flow2中序列号为22、24、26、28、30、32、34、36、38、40的数据包,分别指示0、1、0、1、0、0、0、0、0、0,来按序指示是否收到数据包。For example, for unsuccessfully transmitted data packets with PDCP sequence numbers 21, 22, 23 to 40 respectively, the UE has successfully received data packets with sequence numbers 24, 25, 28, and 29, then the UE can The data flow information and the received data packet information (sequence numbers are 24, 25, 28, 29), respectively generate status reports for Flow1 and Flow2; for Flow1, the sequence numbers are 21, 23, 25, 27, 29 , 31, 33, 35, 37, 39 data packets respectively indicate 0, 0, 1, 0, 1, 0, 0, 0, 0, 0 (0 means not received, 1 means received), come Indicates whether a data packet is received in sequence; similarly, for data packets with sequence numbers 22, 24, 26, 28, 30, 32, 34, 36, 38, 40 in Flow2, indicate 0, 1, 0, 1 respectively , 0, 0, 0, 0, 0, 0, to indicate whether the data packet is received in sequence.

在步骤S102中,用户设备将针对数据流的状态报告发送至目标基站。使得目标基站能够根据针对数据流的状态报告判断出用户设备真正接收到和未接收到的数据包,进而将未接收到的数据包再发送至所述用户设备,避免数据包的丢失,同时避免将已收到的数据包再次发送给用户设备以节省无线传输资源。In step S102, the user equipment sends a status report for the data flow to the target base station. The target base station can determine the data packets actually received and not received by the user equipment according to the status report for the data flow, and then resend the unreceived data packets to the user equipment, avoiding the loss of data packets and avoiding The received data packets are sent to the user equipment again to save wireless transmission resources.

需要说明的是,本实施例的数据传输方法可以用于以下场景:相比于源基站侧映射的数据无线承载,目标基站将多个数据流映射到更多的数据无线承载,例如,切换前2个数据流映射到一个数据无线承载,切换后2个数据流映射到两个数据无线承载。It should be noted that the data transmission method in this embodiment can be used in the following scenarios: compared with the data radio bearers mapped by the source base station side, the target base station maps multiple data streams to more data radio bearers, for example, before handover Two data streams are mapped to one data radio bearer, and after switching, the two data streams are mapped to two data radio bearers.

本发明实施例通过告知用户设备未成功传输的数据包所属的数据流信息,则用户设备可以据此生成针对数据流的状态报告,并发送至目标基站;从而可以使得切换后的目标基站能够获知用户设备实际接收数据包的状态,进而能够在后续步骤中准确地将用户设备未接收到的数据包发送给用户设备,实现切换时数据的无损传输,避免了数据包丢失,提高用户体验。In the embodiment of the present invention, by notifying the user equipment of the data flow information to which the data packet that was not successfully transmitted belongs, the user equipment can generate a status report for the data flow and send it to the target base station; thus, the target base station after handover can know The state of the user equipment actually receiving the data packets can accurately send the data packets not received by the user equipment to the user equipment in the subsequent steps, so as to realize the lossless transmission of data during switching, avoid the loss of data packets, and improve the user experience.

图2是本发明实施例另一种数据传输方法的流程图。本实施例中的数据传输方法可以应用在用户设备侧。Fig. 2 is a flowchart of another data transmission method according to an embodiment of the present invention. The data transmission method in this embodiment can be applied on the user equipment side.

本领域技术人员应当理解的是,小区切换的流程可以包括如下步骤:UE向源基站发送测量报告,例如,目标小区的信号质量高于预定的门限的测量报告。源基站收到测量报告之后,做出切换决策,向目标基站发送切换请求。如果目标基站允许UE的接入,则在分配必要的无线参数之后,向源基站返回切换请求响应。源基站收到切换请求响应之后,向UE发送切换命令,切换命令包括目标基站为UE分配的无线参数。UE依据切换命令中的无线参数,接入目标基站,向目标基站发送切换完成信令。Those skilled in the art should understand that the process of cell handover may include the following steps: UE sends a measurement report to the source base station, for example, a measurement report indicating that the signal quality of the target cell is higher than a predetermined threshold. After receiving the measurement report, the source base station makes a handover decision and sends a handover request to the target base station. If the target base station allows the UE's access, it returns a handover request response to the source base station after allocating necessary radio parameters. After receiving the handover request response, the source base station sends a handover command to the UE, and the handover command includes radio parameters allocated by the target base station for the UE. The UE accesses the target base station according to the radio parameters in the handover command, and sends a handover completion signaling to the target base station.

图2所示的数据传输方法可以包括以下步骤:The data transmission method shown in Figure 2 may include the following steps:

步骤S201:在接收源基站发送的切换命令时,一并接收所述源基站发送的所述未成功传输的数据包所属的数据流信息;Step S201: when receiving the handover command sent by the source base station, also receive the data stream information sent by the source base station to which the unsuccessfully transmitted data packet belongs;

步骤S202:在接收所述源基站发送的所述切换命令时,一并接收切换后的数据流与数据无线承载的第一映射关系;Step S202: When receiving the switching command sent by the source base station, receive the first mapping relationship between the switched data stream and the data radio bearer;

步骤S203:根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告;Step S203: Generate a status report for the data flow according to the data flow information to which the unsuccessfully transmitted data packet belongs and the receiving status of the unsuccessfully transmitted data packet;

步骤S204:根据所述未成功传输的数据包所属的数据流信息和所述第一映射关系,确定切换后所述未成功传输的数据包的数据流所映射的数据无线承载;Step S204: According to the data flow information to which the unsuccessfully transmitted data packet belongs and the first mapping relationship, determine the data radio bearer to which the data flow of the unsuccessfully transmitted data packet is mapped after switching;

步骤S205:将映射在同一数据无线承载的数据流的状态报告一并发送至所述目标基站。Step S205: Send the status reports of the data flows mapped to the same data radio bearer to the target base station.

具体实施中,在步骤S201中,用户设备可以在接收源基站发送的切换命令时,接收所述源基站发送的所述未成功传输的数据包所属的数据流信息,节约信令开销。In specific implementation, in step S201, when receiving the handover command sent by the source base station, the user equipment may receive the data flow information sent by the source base station to which the unsuccessfully transmitted data packet belongs, so as to save signaling overhead.

具体实施中,在步骤S202中,用户设备可以在接收源基站发送的切换命令时,还可以接收切换后的数据流与数据无线承载的第一映射关系。具体而言,第一映射关系可以表示在目标基站侧数据流与数据无线承载的映射关系。也就是说,在步骤S202之前,目标基站已经将第一映射关系发送至源基站,从而可以使得源基站可以将第一映射关系通过切换命令发送给用户设备。In specific implementation, in step S202, when receiving the handover command sent by the source base station, the user equipment may also receive the first mapping relationship between the handover data flow and the data radio bearer. Specifically, the first mapping relationship may represent a mapping relationship between a data flow and a data radio bearer at the target base station side. That is to say, before step S202, the target base station has sent the first mapping relationship to the source base station, so that the source base station can send the first mapping relationship to the user equipment through a handover command.

优选地,所述源基站在接收到所述目标基站发送的切换请求响应时,一并接收所述目标基站发送的所述第一映射关系。换言之,在源基站发送切换命令至用户设备之前,目标基站通过切换请求响应将第一映射关系发送至源基站。Preferably, when the source base station receives the handover request response sent by the target base station, it also receives the first mapping relationship sent by the target base station. In other words, before the source base station sends the handover command to the user equipment, the target base station sends the first mapping relationship to the source base station through a handover request response.

进一步地,所述目标基站在所述切换请求响应中显式指示所述第一映射关系。也就是说,源基站可以直接从切换请求响应获取第一映射关系,而无需其他的解析操作,从而保证了源基站可以准确、快速地接收到第一映射关系。Further, the target base station explicitly indicates the first mapping relationship in the handover request response. That is to say, the source base station can directly obtain the first mapping relationship from the handover request response without other parsing operations, thereby ensuring that the source base station can receive the first mapping relationship accurately and quickly.

具体而言,基站侧为UE配置的无线参数均位于一个接入层的容器(container)中,作为基站之间的Xn接口不需要理解无线参数。如果目标基站将第一映射关系放入容器,则在切换过程中,源基站需要通过无线资源控制(Radio Resource Control,RRC)协议解析位于容器中的无线参数,然后获知是否发生了Flow到DRB的映射变化,导致源基站收到目标基站的切换请求响应时将不能很快的识别是否发生了Flow到DRB映射变化。进一步地,当源基站和目标基站之间属于不同的协议版本时,例如目标基站为高版本的基站,而源基站为低版本的基站,此时如果目标基站为UE配置了只有高版本基站才能适用的无线参数,则源基站在收到目标基站发送的切换请求响应时,将不能够识别是否发生了Flow到DRB映射变化。因此,目标基站可以在切换请求响应中显式指示切换后的Flow到DRB的映射关系(也即第一映射关系)。Specifically, the radio parameters configured for the UE on the base station side are located in a container of the access layer, and the Xn interface between base stations does not need to understand the radio parameters. If the target base station puts the first mapping relationship into the container, then during the handover process, the source base station needs to analyze the wireless parameters located in the container through the Radio Resource Control (RRC) protocol, and then know whether a Flow to DRB has occurred The mapping changes, so that when the source base station receives the handover request response from the target base station, it will not be able to quickly identify whether there is a Flow-to-DRB mapping change. Further, when the source base station and the target base station belong to different protocol versions, for example, the target base station is a base station of a higher version, and the source base station is a base station of a lower version, at this time, if the target base station configures for the UE that only a base station of a higher version can If the radio parameters are not applicable, the source base station will not be able to identify whether a Flow-to-DRB mapping change has occurred when receiving the handover request response sent by the target base station. Therefore, the target base station may explicitly indicate the switched Flow-to-DRB mapping relationship (that is, the first mapping relationship) in the handover request response.

具体实施中,在步骤S203中,用户设备可以根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告。具体而言,用户设备可以将针对数据流的状态报告直接发送至目标基站。In a specific implementation, in step S203, the user equipment may generate a status report for the data flow according to the data flow information to which the unsuccessfully transmitted data packet belongs and the receiving status of the unsuccessfully transmitted data packet. Specifically, the user equipment can directly send the status report for the data flow to the target base station.

进一步地,在步骤S204中,用户设备还可以根据第一映射关系,确定切换后所述未成功传输的数据包的数据流所映射的数据无线承载;然后在步骤S204中,将映射在同一数据无线承载的数据流的状态报告一并发送至所述目标基站。Further, in step S204, the user equipment may also determine, according to the first mapping relationship, the data radio bearer to which the data flow of the unsuccessfully transmitted data packet is mapped after the handover; and then in step S204, map the same data The status report of the data flow of the radio bearer is also sent to the target base station.

下面结合具体的例子进行详细的说明。切换前源基站将Flow1和Flow2映射到DRB1;切换后目标基站将Flow1和Flow2分别映射到DRB1和DRB2(也即第一映射关系)。对于PDCP序列号分别为21,22,23至40的未成功传输的数据包,其中,单数序列号的数据包所属的数据流信息为Flow1,双数序列号的数据包所属的数据流信息为Flow2;UE已经成功的接收了序列号为24,25,28,29的数据包,则UE可以针对Flow1和Flow2分别生成的状态报告为0、0、1、0、1、0、0、0、0、0和0、1、0、1、0、0、0、0、0、0,来按序指示是否收到数据包。UE可以将针对Flow1和Flow2分别生成的状态报告发送至目标基站。A detailed description will be given below in combination with specific examples. Before the handover, the source base station maps Flow1 and Flow2 to DRB1; after the handover, the target base station maps Flow1 and Flow2 to DRB1 and DRB2 respectively (that is, the first mapping relationship). For the unsuccessfully transmitted data packets whose PDCP sequence numbers are 21, 22, 23 to 40 respectively, the data flow information to which the data packets with odd serial numbers belong is Flow1, and the data flow information to which data packets with even serial numbers belong is Flow2; UE has successfully received data packets with sequence numbers 24, 25, 28, and 29, then the UE can generate status reports for Flow1 and Flow2 as 0, 0, 1, 0, 1, 0, 0, 0 , 0, 0 and 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, to indicate whether the data packet is received in sequence. The UE may send the status reports respectively generated for Flow1 and Flow2 to the target base station.

在另一非限定性的实施例中,切换前源基站将Flow1、Flow2和Flow3映射到DRB1;切换后目标基站将Flow1和Flow2映射到DRB1,将Flow3映射到DRB2(也即第一映射关系)。UE在生成针对Flow1、Flow2和Flow3的状态报告后,根据第一映射关系确定Flow1和Flow2均映射到DRB1,则可以将针对Flow1和Flow2状态报告合并后发送至目标基站。In another non-limiting embodiment, before the handover, the source base station maps Flow1, Flow2, and Flow3 to DRB1; after the handover, the target base station maps Flow1 and Flow2 to DRB1, and maps Flow3 to DRB2 (that is, the first mapping relationship) . After the UE generates the status reports for Flow1, Flow2 and Flow3, and determines that both Flow1 and Flow2 are mapped to DRB1 according to the first mapping relationship, the UE may combine the status reports for Flow1 and Flow2 and send it to the target base station.

优选地,源基站收到所述目标基站发送的切换请求响应之后,将所述未成功传输的数据包转发至所述目标基站。进一步地,源基站将所述未成功传输的数据包一并转发至所述目标基站;或者,所述源基站将处于同一数据流的所述未成功传输的数据包一并转发至所述目标基站。具体而言,源基站还可以向目标基站指示各数据包对应的序列号。Preferably, after receiving the handover request response sent by the target base station, the source base station forwards the unsuccessfully transmitted data packet to the target base station. Further, the source base station forwards the unsuccessfully transmitted data packets to the target base station together; or, the source base station forwards the unsuccessfully transmitted data packets in the same data flow to the target base station together base station. Specifically, the source base station may also indicate the sequence number corresponding to each data packet to the target base station.

进一步地,所述目标基站在接收到所述状态报告后,根据所述状态报告确定未成功接收的数据包,并将所述未成功接收的数据包进行发送,所述未成功接收的数据包为所述未成功传输的数据包的至少一部分。例如,目标基站在接收到针对数据流的状态报告后,可以确定PDCP序列号分别为21,22,23至40的未成功传输的数据包中,UE已经成功的接收了序列号为24,25,28,29的数据包,其他序列号的数据包UE未成功接收,也即序列号为21、22、23、26、27、30至40的数据包UE未成功接收,则目标基站可以将其他序列号的数据包重新发送至UE。具体地,目标基站可以从UE未收到的第一个数据包开始依次传输UE没有收到的数据包,也即从序列号为21的数据包开始,依次传输序列号为21、22、23、26、27、30至40的数据包。Further, after receiving the status report, the target base station determines the unsuccessfully received data packets according to the status report, and sends the unsuccessfully received data packets, and the unsuccessfully received data packets is at least a part of the unsuccessfully transmitted data packet. For example, after receiving the status report for the data flow, the target base station can determine that among the unsuccessfully transmitted data packets with PDCP sequence numbers 21, 22, 23 to 40, the UE has successfully received the packets with sequence numbers 24, 25 , 28, 29 data packets, other data packets with sequence numbers are not successfully received by UE, that is, data packets with sequence numbers 21, 22, 23, 26, 27, 30 to 40 are not successfully received by UE, then the target base station can send Data packets with other sequence numbers are resent to the UE. Specifically, the target base station may sequentially transmit the data packets not received by the UE starting from the first data packet not received by the UE, that is, start from the data packet with the sequence number 21, and sequentially transmit the data packets with the sequence numbers 21, 22, and 23. , 26, 27, 30 to 40 packets.

优选地,图2所示的数据传输方法可以包括步骤S206:在每一数据流中数据包序列号不连续时,在接收所述未成功接收的数据包时,根据所述未成功接收的数据包所属的数据流信息和数据包序列号调整接收窗口。Preferably, the data transmission method shown in FIG. 2 may include step S206: when the sequence numbers of data packets in each data stream are discontinuous, when receiving the unsuccessfully received data packets, according to the unsuccessfully received data The data flow information to which the packet belongs and the sequence number of the data packet adjust the receiving window.

具体而言,在目标基站发送未成功接收的数据包时,对于每个数据流,UE收到的数据包的序列号可以是不连续的,此时UE可以主动调整接收窗口,避免等待不属于本Flow的某些序列号的数据包,提高通信效率。例如,对于Flow1,收到序列号27的数据包之后,UE根据未成功接收的数据包所属的数据流信息,可以获知序列号28的数据包属于Flow2,序列号29的数据包已经收到,且下一个收到的数据包为序列号31的数据包,则可以调整接收窗口来接收序列号31的数据包,避免等待序列号28的数据包和序列号29的数据包。Specifically, when the target base station sends the unsuccessfully received data packets, for each data flow, the sequence numbers of the data packets received by the UE may be discontinuous, and at this time, the UE can actively adjust the receiving window to avoid waiting Data packets with certain sequence numbers in this Flow improve communication efficiency. For example, for Flow1, after receiving the data packet with sequence number 27, the UE can know that the data packet with sequence number 28 belongs to Flow2 and the data packet with sequence number 29 has been received according to the data flow information to which the unsuccessfully received data packet belongs. And the next received data packet is the data packet with the sequence number 31, then the receiving window can be adjusted to receive the data packet with the sequence number 31, so as to avoid waiting for the data packet with the sequence number 28 and the data packet with the sequence number 29.

优选地,所述目标基站将所述未成功接收的数据包或者新数据包进行发送时,在每一数据流中,在成功接收的最大序列号的数据包之后,按序传输所述最大序列号的数据包之后的数据包;或者,所述目标基站将所述未成功接收的数据包或者新数据包进行发送时,在所述未成功传输的数据包中,在成功接收的最大序列号的数据包之后,按序传输所述最大序列号的数据包之后的数据包。Preferably, when the target base station sends the unsuccessfully received data packet or the new data packet, in each data flow, after the successfully received data packet with the largest sequence number, the maximum sequence number is sequentially transmitted or, when the target base station sends the unsuccessfully received data packet or a new data packet, among the unsuccessfully transmitted data packets, the maximum sequence number successfully received After the data packets, transmit the data packets following the data packet with the largest sequence number in sequence.

具体而言,目标基站在发送未成功接收的数据包时,可以在UE已经收到的本Flow(或者DRB)的最大序列号的数据包之后,按序传输最大序列号的数据包之后的数据包。例如,目标基站将Flow1和Flow2分别映射到DRB1和DRB2;对于Flow1,UE成功接收的最大序列号的数据包为序列号29的数据包,则目标基站将原序列号为31的数据包编为30,原序列号为33的数据包编为31进行传输,后续的数据包以此类推,也就是恢复按序传输。Specifically, when the target base station sends an unsuccessfully received data packet, after the UE has received the data packet with the largest sequence number in this Flow (or DRB), it can sequentially transmit the data after the data packet with the largest sequence number Bag. For example, the target base station maps Flow1 and Flow2 to DRB1 and DRB2 respectively; for Flow1, the data packet with the largest sequence number successfully received by the UE is a data packet with sequence number 29, and the target base station encodes the data packet with the original sequence number 31 as 30. The data packet with the original sequence number of 33 is coded as 31 for transmission, and the subsequent data packets are deduced by analogy, that is, the sequential transmission is resumed.

或者,目标基站在发送未成功接收的数据包时,可以在UE已经收到的最大序列号的数据包之后(即UE收到的DRB中最大序列号的数据包),按序传输最大序列号的数据包之后的数据包。例如,UE切换前成功接收的DRB1中Flow1和Flow2(均映射到目标基站的DRB1)的最大序列号的数据包为序列号39的数据包,则目标基站在发送Flow1(映射到DRB1)和Flow2(映射到DRB2)的数据包时,均在序列号39的数据包之后进行按序传输,即该Flow之后的数据包都将编号为40进行传输,后续的数据包以此类推,以恢复按序传输。Alternatively, when the target base station sends the unsuccessfully received data packet, it can transmit the data packet with the largest sequence number in order after the data packet with the largest sequence number that the UE has received (that is, the data packet with the largest sequence number in the DRB received by the UE). The data packet after the data packet. For example, if the data packet with the largest sequence number of Flow1 and Flow2 (both mapped to DRB1 of the target base station) in DRB1 successfully received by the UE before handover is a data packet with sequence number 39, then the target base station is sending Flow1 (mapped to DRB1) and Flow2 (Mapped to DRB2) data packets are transmitted sequentially after the data packet with sequence number 39, that is, the data packets after the Flow will be transmitted with the number 40, and the subsequent data packets can be deduced by analogy to recover by sequential transmission.

图3是本发明实施例又一种数据传输方法的流程图。Fig. 3 is a flowchart of another data transmission method according to an embodiment of the present invention.

图3所示的数据传输方法可以包括以下步骤:The data transmission method shown in Figure 3 may include the following steps:

步骤S301:在发送切换完成信令后,接收目标基站发送的所述未成功传输的数据包所属的数据流信息,其中,源基站为切换前基站,所述目标基站为切换后基站;Step S301: After sending the handover completion signaling, receiving the data flow information of the unsuccessfully transmitted data packet sent by the target base station, wherein the source base station is the base station before the handover, and the target base station is the base station after the handover;

具体实施中,切换后数据流与数据无线承载的第一映射关系通过源基站发送给UE。具体而言,用户设备可以在接收源基站发送的切换命令时,一并接收所述第一映射关系。In a specific implementation, the first mapping relationship between the data flow and the data radio bearer after the handover is sent to the UE through the source base station. Specifically, the user equipment may also receive the first mapping relationship when receiving the handover command sent by the source base station.

步骤S302:根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告;Step S302: Generate a status report for the data flow according to the data flow information to which the unsuccessfully transmitted data packet belongs and the receiving status of the unsuccessfully transmitted data packet;

步骤S303:根据所述未成功传输的数据包所属的数据流信息和所述第一映射关系,确定切换后所述未成功传输的数据包的数据流所映射的数据无线承载;Step S303: According to the data flow information to which the unsuccessfully transmitted data packet belongs and the first mapping relationship, determine the data radio bearer to which the data flow of the unsuccessfully transmitted data packet is mapped after the handover;

步骤S304:将映射在同一数据无线承载的数据流的状态报告一并发送至所述目标基站;Step S304: sending the status reports of the data streams mapped to the same data radio bearer to the target base station;

步骤S305:在每一数据流中数据包序列号不连续时,在接收所述未成功接收的数据包时,根据所述未成功接收的数据包所属的数据流信息和数据包序列号调整接收窗口。Step S305: When the serial numbers of the data packets in each data stream are discontinuous, when receiving the unsuccessfully received data packets, adjust the reception according to the data stream information and the data packet serial numbers to which the unsuccessfully received data packets belong window.

具体实施中,在步骤S301中,用户设备可以在接入目标基站,也即在发送切换完成信令后,接收目标基站发送的所述未成功传输的数据包所属的数据流信息。也即把每个数据流对应的数据包的序列号发送至用户设备。In specific implementation, in step S301, after accessing the target base station, that is, after sending the handover completion signaling, the user equipment may receive the data flow information sent by the target base station to which the unsuccessfully transmitted data packet belongs. That is, the sequence number of the data packet corresponding to each data flow is sent to the user equipment.

具体而言,UE收到未成功传输的数据包所属的数据流信息之后,依据在源基站侧接收到数据包的接收状态,设置针对数据流的状态报告。然后向目标基站发送针对每个数据流的状态报告。Specifically, after receiving the data flow information to which the unsuccessfully transmitted data packet belongs, the UE sets a status report for the data flow according to the receiving status of the data packet received at the source base station side. A status report for each data flow is then sent to the target base station.

本领域技术人员应当理解的是,状态报告可以以PDCP序列号设置,故可以称为PDCP状态报告,也可以是其他任意可实施的名称,本发明实施例对此不做限制。例如,新引入的层2可以和PDCP合并,该状态报告名称也可以相应改变。Those skilled in the art should understand that the status report can be set with the PDCP sequence number, so it can be called the PDCP status report, or any other practicable name, which is not limited in the embodiment of the present invention. For example, the newly introduced layer 2 can be merged with PDCP, and the name of the status report can be changed accordingly.

步骤S302至步骤S305的具体实施方式的更多内容,可以参照图2所示的步骤S203至步骤S206中的相关描述,这里不再赘述。For more details of the specific implementation manners of steps S302 to S305, reference may be made to the relevant descriptions in steps S203 to S206 shown in FIG. 2 , and details will not be repeated here.

优选地,所述源基站向所述目标基站发送切换请求时,显式指示切换前的数据流与数据无线承载的第二映射关系。换言之,目标基站在接收状态报告之前,已经获知切换前的数据流与数据无线承载的第二映射关系。源基站可以通过切换请求将第二映射关系发送至目标基站。则目标基站可以直接从切换请求中获取第二映射关系,而无需其他的解析操作,从而保证了目标基站可以准确地接收到第二映射关系。Preferably, when the source base station sends the handover request to the target base station, it explicitly indicates the second mapping relationship between the data flow before the handover and the data radio bearer. In other words, before receiving the status report, the target base station has already known the second mapping relationship between the data flow before the handover and the data radio bearer. The source base station may send the second mapping relationship to the target base station through a handover request. Then the target base station can directly obtain the second mapping relationship from the handover request without other parsing operations, thus ensuring that the target base station can accurately receive the second mapping relationship.

具体而言,基站侧为UE配置的无线参数均位于一个接入层的容器中,作为基站之间的Xn接口不需要理解无线参数。如果源基站将第二映射关系放入容器,则在切换过程中,目标基站需要通过RRC协议解析位于容器中的无线参数,然后获知源基站侧的Flow到DRB的映射关系,导致目标基站收到切换请求响应将不能很快的识别源基站侧Flow到DRB的映射关系。进一步地,当源基站和目标基站之间属于不同的协议版本时,则目标基站在收到源基站发送的切换请求时,将可能不能够识别源基站侧的Flow到DRB映射关系。因此,源基站可以在切换请求中显式指示Flow到DRB的映射关系(也即第二映射关系)。也即第二映射关系不放在接入层的容器中。Specifically, the radio parameters configured for the UE on the base station side are located in a container of the access layer, and the Xn interface between base stations does not need to understand the radio parameters. If the source base station puts the second mapping relationship into the container, during the handover process, the target base station needs to analyze the wireless parameters in the container through the RRC protocol, and then learn the mapping relationship between Flow and DRB on the source base station side, resulting in the target base station receiving The handover request response cannot quickly identify the mapping relationship between Flow and DRB at the source base station side. Furthermore, when the source base station and the target base station belong to different protocol versions, the target base station may not be able to identify the Flow-to-DRB mapping relationship on the source base station side when receiving the handover request sent by the source base station. Therefore, the source base station may explicitly indicate the mapping relationship between Flow and DRB (that is, the second mapping relationship) in the handover request. That is, the second mapping relationship is not placed in the container of the access layer.

本发明实施例的更多工作原理、工作方式的更多内容,可以参照图1至图2中的相关描述,这里不再赘述。For more working principles and working methods of the embodiments of the present invention, please refer to the related descriptions in FIG. 1 to FIG. 2 , which will not be repeated here.

图4是本发明实施例一种数据传输装置的结构示意图。Fig. 4 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention.

本实施例中的数据传输装置40可以用于用户设备侧。The data transmission apparatus 40 in this embodiment may be used on the user equipment side.

图4所示的数据传输装置40可以包括数据流信息接收模块401和状态报告发送模块402。The data transmission device 40 shown in FIG. 4 may include a data flow information receiving module 401 and a status report sending module 402 .

其中,数据流信息接收模块401适于在小区切换时或切换完成后,接收未成功传输的数据包所属的数据流信息。Wherein, the data flow information receiving module 401 is adapted to receive the data flow information to which the unsuccessfully transmitted data packets belong when the cell is handed over or after the handover is completed.

状态报告发送模块402适于根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告,并发送至目标基站。The status report sending module 402 is adapted to generate a status report for the data flow according to the data flow information to which the unsuccessfully transmitted data packet belongs and the receiving status of the unsuccessfully transmitted data packet, and send it to the target base station.

具体实施中,数据流信息接收模块401在小区切换时或切换完成后,接收未成功传输的数据包所属的数据流信息。例如,未成功传输的数据包对应的PDCP序列号(sequencenumber)分别为21,22,23至40,其中,单数序列号的数据包所属的数据流信息为Flow1,双数序列号的数据包所属的数据流信息为Flow2。In a specific implementation, the data flow information receiving module 401 receives the data flow information to which the unsuccessfully transmitted data packets belong when the cell is handed over or after the handover is completed. For example, the PDCP sequence numbers (sequence numbers) corresponding to the unsuccessfully transmitted data packets are 21, 22, 23 to 40 respectively. Among them, the data flow information to which the data packets with odd sequence numbers belong is Flow1, and the data packets with even number sequence numbers belong to The data flow information is Flow2.

进一步地,未成功传输的数据包所属的数据流信息可以是源基站发送的,也可以是目标基站发送的。Further, the data flow information to which the unsuccessfully transmitted data packet belongs may be sent by the source base station, or may be sent by the target base station.

进一步地,所述未成功传输的数据包可以包括所述源基站未发送的数据包和所述源基站发送且未收到确认反馈的数据包。Further, the unsuccessfully transmitted data packets may include data packets not sent by the source base station and data packets sent by the source base station for which no acknowledgment feedback has been received.

具体实施中,状态报告发送模块402将针对数据流的状态报告发送至目标基站。使得目标基站能够根据针对数据流的状态报告判断出用户设备真正接收到和未接收到的数据包,进而将未接收到的数据包再发送至所述用户设备,避免数据包的丢失。In specific implementation, the status report sending module 402 sends the status report for the data flow to the target base station. The target base station can determine the data packets actually received and not received by the user equipment according to the status report for the data flow, and then resend the unreceived data packets to the user equipment, so as to avoid the loss of data packets.

本发明实施例通过告知用户设备未成功传输的数据包所属的数据流信息,则用户设备可以据此生成针对数据流的状态报告,并发送至目标基站;从而可以使得切换后的目标基站能够获知用户设备实际接收数据包的状态,进而能够在后续步骤中准确地将用户设备未接收到的数据包发送给用户设备,实现切换时数据的无损传输,避免了数据包丢失,提高用户体验。In the embodiment of the present invention, by notifying the user equipment of the data flow information to which the data packet that was not successfully transmitted belongs, the user equipment can generate a status report for the data flow and send it to the target base station; thus, the target base station after handover can know The state of the user equipment actually receiving the data packets can accurately send the data packets not received by the user equipment to the user equipment in the subsequent steps, so as to realize the lossless transmission of data during switching, avoid the loss of data packets, and improve the user experience.

关于所述数据传输装置40的工作原理、工作方式的更多内容,可以参照图1至图3中的相关描述,这里不再赘述。For more details about the working principle and working mode of the data transmission device 40 , reference may be made to the relevant descriptions in FIG. 1 to FIG. 3 , which will not be repeated here.

为了保证数据的无损传输,本发明实施例还公开了一种数据传输方法。所述数据传输方法可以用于目标基站侧。In order to ensure the lossless transmission of data, the embodiment of the invention also discloses a data transmission method. The data transmission method can be used on the target base station side.

所述数据传输方法可以包括以下步骤:The data transmission method may include the following steps:

在接收到切换请求时,获取切换前的数据流与数据无线承载的第二映射关系;在接收到用户设备发送的切换完成信令后,接收用户设备发送的未成功传输的数据包的状态报告;根据切换后的数据流与数据无线承载的第一映射关系、所述第二映射关系和所述状态报告确定所述未成功传输的数据包的接收状态。When receiving the handover request, obtain the second mapping relationship between the data stream before the handover and the data radio bearer; after receiving the handover completion signaling sent by the user equipment, receive the status report of the unsuccessfully transmitted data packet sent by the user equipment ; Determine the receiving status of the unsuccessfully transmitted data packet according to the first mapping relationship between the switched data flow and the data radio bearer, the second mapping relationship and the status report.

本实施例中,目标基站可以根据第一映射关系、所述第二映射关系和所述状态报告确定用户终端对未成功传输的数据包的实际接收状态,从而可以在后续步骤中准确地将用户设备未接收到的数据包发送至用户设备,避免了数据包丢失,保证了数据的无损传输。In this embodiment, the target base station can determine the actual receiving status of the user terminal for the unsuccessfully transmitted data packet according to the first mapping relationship, the second mapping relationship and the status report, so that the user terminal can be accurately sent to the user terminal in the subsequent steps. The data packets not received by the device are sent to the user equipment, which avoids the loss of data packets and ensures the lossless transmission of data.

优选地,所述数据传输方法还包括:根据所述接收状态确定未成功接收的数据包,所述未成功接收的数据包为所述未成功传输的数据包的至少一部分;将所述未成功接收的数据包发送至所述用户设备。Preferably, the data transmission method further includes: determining the unsuccessfully received data packet according to the receiving status, the unsuccessfully received data packet being at least a part of the unsuccessfully transmitted data packet; The received data packets are sent to the user equipment.

本实施例中,UE可以根据切换前的数据流与数据无线承载的第二映射关系,以及未成功传输的数据包的接收状态设置状态报告,并向目标基站发送该状态报告。目标基站收到状态报告之后,根据数据流中数据包序列信息确定所述未成功传输的数据包的接收状态,例如,对于Flow1,目标基站获知其包括序列号为单数的数据包,即序列号21、23、25、27、29、31的数据包属于Flow1,同时获知序列号25和29的数据包已经成功接收,序列号21、23、27、31的数据包未成功接收。In this embodiment, the UE may set a status report according to the second mapping relationship between the data flow and the data radio bearer before the handover and the receiving status of the unsuccessfully transmitted data packets, and send the status report to the target base station. After the target base station receives the status report, it determines the receiving status of the unsuccessfully transmitted data packet according to the sequence information of the data packet in the data flow. The data packets of 21, 23, 25, 27, 29, and 31 belong to Flow1. At the same time, it is learned that the data packets of sequence numbers 25 and 29 have been successfully received, and the data packets of sequence numbers 21, 23, 27, and 31 have not been successfully received.

具体实施中,源基站在收到切换请求响应之后,可以将未传输的数据包转发给目标基站。源基站可以统一转发给目标基站,也可以按照数据流分别转发各自的未成功传输数据包给目标基站,同时向目标基站指示各数据包对应的序列号。In a specific implementation, after receiving the handover request response, the source base station may forward the untransmitted data packets to the target base station. The source base station can forward it to the target base station in a unified manner, or can forward respective unsuccessfully transmitted data packets to the target base station according to the data flow, and at the same time indicate the sequence number corresponding to each data packet to the target base station.

进一步地,目标基站可以将每一数据流中的数据包序列号通知用户设备。也即将序列号21、23、25、27、29、31的数据包属于Flow1通知UE。目标基站还可以同时通知UE序列号25和29的数据包已经接收成功;或者,目标基站还可以同时通知UE序列号21、23、27、31的数据包未成功接收,以便UE在后续接收时,可以准确地确定该Flow下一个接收的数据包的序列号,避免不必要的等待,提高通信效率,提高用户体验。Further, the target base station may notify the user equipment of the sequence number of the data packet in each data stream. That is, the UE is notified that the data packets with sequence numbers 21, 23, 25, 27, 29, and 31 belong to Flow1. The target base station can also notify the UE that the data packets with sequence numbers 25 and 29 have been received successfully; or, the target base station can also notify the UE that the data packets with sequence numbers 21, 23, 27, and 31 have not been successfully received at the same time, so that the UE , can accurately determine the sequence number of the next data packet received by the Flow, avoid unnecessary waiting, improve communication efficiency, and improve user experience.

可选地,目标基站也可以将用户设备接收到的最大序列号的数据包之前的数据包所属的数据流信息通知用户设备,在成功接收的最大序列号的数据包之后,按序传输所述最大序列号的数据包之后的数据包。例如,UE接收到的最大序列号的数据包为序列号29的数据包,则目标基站通知UE序列号21、23、25、27、29的数据包属于Flow1,之后无论数据包在源基站侧的序列号号是多少,目标基站将按照序列号30、31、32按序为Flow1的数据包编号。Optionally, the target base station may also notify the user equipment of the data flow information to which the data packet before the data packet with the largest sequence number received by the user equipment belongs, and after the successfully received data packet with the largest sequence number, transmit the Packets after the packet with the highest sequence number. For example, if the data packet with the largest sequence number received by the UE is the data packet with the sequence number 29, the target base station notifies the UE that the data packets with the sequence numbers 21, 23, 25, 27, and 29 belong to Flow1, and then no matter whether the data packet is on the source base station side What is the sequence number of , and the target base station will number the data packets of Flow1 in sequence according to the sequence numbers 30, 31, and 32.

进一步地,UE在接收切换命令时,可以一并接收第一映射关系,并根据第一映射关系确定切换后的数据流与数据无线承载的映射发生变化,此时,UE仍可以按照切换前的数据流与数据无线承载的第二映射关系生成状态报告。Furthermore, when the UE receives the handover command, it may also receive the first mapping relationship, and determine according to the first mapping relationship that the mapping between the data flow and the data radio bearer after the handover has changed. A status report is generated for the second mapping relationship between the data flow and the data radio bearer.

可以理解的是,所述状态报告可以是PDCP状态报告。It can be understood that the status report may be a PDCP status report.

图5是本发明实施例另一种数据传输装置的结构示意图Fig. 5 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention

图5所示的数据传输装置50可以包括数据流信息接收模块501、状态报告发送模块502和接收窗口调整模块503。The data transmission device 50 shown in FIG. 5 may include a data flow information receiving module 501 , a status report sending module 502 and a receiving window adjusting module 503 .

具体而言,数据流信息接收模块501可以包括第一数据流信息接收单元5011和第一接收单元5012。其中,第一数据流信息接收单元5011适于在接收源基站发送的切换命令时,一并接收所述源基站发送的所述未成功传输的数据包所属的数据流信息,其中,所述源基站为切换前基站,目标基站为切换后基站。第一接收单元5012适于在接收所述源基站发送的所述切换命令时,一并接收切换后的数据流与数据无线承载的第一映射关系。Specifically, the data flow information receiving module 501 may include a first data flow information receiving unit 5011 and a first receiving unit 5012 . Wherein, the first data flow information receiving unit 5011 is adapted to receive the data flow information sent by the source base station to which the unsuccessfully transmitted data packet belongs when receiving the switching command sent by the source base station, wherein the source The base station is a base station before handover, and the target base station is a base station after handover. The first receiving unit 5012 is adapted to receive the first mapping relationship between the switched data stream and the data radio bearer when receiving the switching command sent by the source base station.

数据流信息接收模块501还可以包括第二数据流信息接收单元5013。其中,第二数据流信息接收单元5013适于在发送切换完成信令后,接收目标基站发送的所述未成功传输的数据包所属的数据流信息,其中,源基站为切换前基站,所述目标基站为切换后基站。The data flow information receiving module 501 may also include a second data flow information receiving unit 5013 . Wherein, the second data flow information receiving unit 5013 is adapted to receive the data flow information of the unsuccessfully transmitted data packet sent by the target base station after sending the handover completion signaling, wherein the source base station is the base station before the handover, and the The target base station is the base station after handover.

具体而言,状态报告发送模块502可以包括状态报告生成单元5021、数据无线承载确定单元5022和状态报告发送单元5023。Specifically, the status report sending module 502 may include a status report generating unit 5021 , a data radio bearer determining unit 5022 and a status report sending unit 5023 .

其中,状态报告生成单元5021适于根据所述未成功传输的数据包所属的数据流信息和所述未成功传输的数据包的接收状态生成针对数据流的状态报告;数据无线承载确定单元5022适于根据所述未成功传输的数据包所属的数据流信息和所述第一映射关系,确定切换后所述未成功传输的数据包的数据流所映射的数据无线承载;状态报告发送单元5023适于将映射在同一数据无线承载的数据流的状态报告一并发送至所述目标基站。Wherein, the status report generating unit 5021 is adapted to generate a status report for the data flow according to the data flow information to which the unsuccessfully transmitted data packet belongs and the receiving status of the unsuccessfully transmitted data packet; the data radio bearer determining unit 5022 is adapted to Based on the data flow information to which the unsuccessfully transmitted data packet belongs and the first mapping relationship, determine the data radio bearer to which the data flow of the unsuccessfully transmitted data packet is mapped after switching; the status report sending unit 5023 is adapted to and sending the status report of the data flow mapped to the same data radio bearer to the target base station.

具体实施中,接收窗口调整模块503适于在每一数据流中数据包序列号不连续时,在接收所述未成功接收的数据包时,根据所述未成功接收的数据包所属的数据流信息和数据包序列号调整接收窗口。In a specific implementation, the receiving window adjustment module 503 is adapted to when receiving the unsuccessfully received data packet when the sequence numbers of the data packets in each data stream are discontinuous, according to the data stream to which the unsuccessfully received data packet belongs Message and packet sequence numbers adjust the receive window.

本发明实施例通过告知用户设备未成功传输的数据包所属的数据流信息,则用户设备可以据此生成针对数据流的状态报告,并发送至目标基站;从而可以使得切换后的目标基站能够获知用户设备实际接收数据包的状态,进而能够在后续步骤中准确地将用户设备未接收到的数据包发送给用户设备,实现切换时数据的无损传输,避免了数据包丢失,提高用户体验。In the embodiment of the present invention, by notifying the user equipment of the data flow information to which the data packet that was not successfully transmitted belongs, the user equipment can generate a status report for the data flow and send it to the target base station; thus, the target base station after handover can know The state of the user equipment actually receiving the data packets can accurately send the data packets not received by the user equipment to the user equipment in the subsequent steps, so as to realize the lossless transmission of data during switching, avoid the loss of data packets, and improve the user experience.

关于所述数据传输装置50的工作原理、工作方式的更多内容,可以参照图1至图4中的相关描述,这里不再赘述。For more details about the working principle and working mode of the data transmission device 50 , reference may be made to the related descriptions in FIG. 1 to FIG. 4 , which will not be repeated here.

本发明实施例还公开了一种用户设备,所述用户设备包括图4所示的数据传输装置40或图5所示的数据传输装置50。数据传输装置40或数据传输装置50可以内部集成于或外部耦接于所述用户设备,所述用户设备可以执行小区切换前后的数据传输。所述用户包括但不限于手机、平板电脑、计算机。The embodiment of the present invention also discloses a user equipment, where the user equipment includes the data transmission device 40 shown in FIG. 4 or the data transmission device 50 shown in FIG. 5 . The data transmission device 40 or the data transmission device 50 may be internally integrated or externally coupled to the user equipment, and the user equipment may perform data transmission before and after cell handover. The users include but are not limited to mobile phones, tablet computers, and computers.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于以计算机可读存储介质中,存储介质可以包括:ROM、RAM、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: ROM, RAM, disk or CD, etc.

虽然本发明披露如上,但本发明并非限定于此。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。Although the present invention is disclosed above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, so the protection scope of the present invention should be based on the scope defined in the claims.

Claims (6)

1. a kind of data transmission method characterized by comprising
When receiving switching request, the second mapping relations of data flow and Data Radio Bearer before obtaining switching;
After signaling is completed in the switching for receiving user equipment transmission, the data packet transmitted not successfully that user equipment is sent is received State report;
According to the first mapping relations of data flow and Data Radio Bearer after switching, second mapping relations and the state Report determines the reception state of the data packet transmitted not successfully.
2. data transmission method according to claim 1, which is characterized in that further include:
Determine that the data packet being not successfully received, the data packet being not successfully received are described failed according to the reception state At least part of the data packet of transmission;
The data packet being not successfully received is sent to the user equipment.
3. a kind of data transmission device characterized by comprising
Second mapping relations obtain module, to when receiving switching request, the data flow and data before obtaining switching are wireless Second mapping relations of carrying;
Status report reception module receives user equipment hair after completing signaling in the switching for receiving user equipment transmission The state report for the data packet transmitted not successfully sent;
Reception state determining module, to according to the first mapping relations of data flow and Data Radio Bearer after switching, described Second mapping relations and the state report determine the reception state of the data packet transmitted not successfully.
4. data transmission device according to claim 3, which is characterized in that further include:
Determine that the data packet being not successfully received, the data packet being not successfully received are described failed according to the reception state At least part of the data packet of transmission;
The data packet being not successfully received is sent to the user equipment.
5. a kind of storage medium, is stored thereon with computer instruction, which is characterized in that the right of execution when computer instruction is run Benefit requires the step of 1 or 2 data transmission method.
6. a kind of base station, including memory and processor, the meter that can be run on the processor is stored on the memory Calculation machine instruction, which is characterized in that perform claim requires 1 or 2 data to pass when the processor runs the computer instruction The step of transmission method.
CN201910797936.4A 2017-03-23 2017-03-23 Data transmission method and device, storage medium, base station Pending CN110519814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910797936.4A CN110519814A (en) 2017-03-23 2017-03-23 Data transmission method and device, storage medium, base station

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910797936.4A CN110519814A (en) 2017-03-23 2017-03-23 Data transmission method and device, storage medium, base station
CN201710178216.0A CN108632933B (en) 2017-03-23 2017-03-23 Data transmission method and device and user equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201710178216.0A Division CN108632933B (en) 2017-03-23 2017-03-23 Data transmission method and device and user equipment

Publications (1)

Publication Number Publication Date
CN110519814A true CN110519814A (en) 2019-11-29

Family

ID=63707348

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910797936.4A Pending CN110519814A (en) 2017-03-23 2017-03-23 Data transmission method and device, storage medium, base station
CN201710178216.0A Active CN108632933B (en) 2017-03-23 2017-03-23 Data transmission method and device and user equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201710178216.0A Active CN108632933B (en) 2017-03-23 2017-03-23 Data transmission method and device and user equipment

Country Status (1)

Country Link
CN (2) CN110519814A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021155673A1 (en) * 2020-02-07 2021-08-12 Oppo广东移动通信有限公司 Communication mode switching method, and apparatus and device
WO2023040126A1 (en) * 2021-09-18 2023-03-23 展讯通信(上海)有限公司 Data transmission method, communication apparatus, and chip and module device thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055425B (en) * 2019-12-27 2022-04-05 大唐移动通信设备有限公司 Data transmission method and device
CN118679778A (en) * 2023-01-16 2024-09-20 北京小米移动软件有限公司 Information feedback method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625377A (en) * 2011-01-31 2012-08-01 电信科学技术研究院 Method for establishing radio bearer, access point equipment, user equipment and system
WO2017034510A1 (en) * 2015-08-21 2017-03-02 Intel IP Corporation Pdcp status reports using sequence numbers or sequence number offsets

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765169B (en) * 2008-12-25 2012-02-01 鼎桥通信技术有限公司 Switching method in base station
KR101613342B1 (en) * 2009-06-17 2016-04-18 인터디지탈 패튼 홀딩스, 인크 Method and apparatus for performing handover with a relay node
CN102905308A (en) * 2011-07-25 2013-01-30 中兴通讯股份有限公司 Data transmission method and device and eNB (E-UTRAN node B)
CN102833802B (en) * 2012-08-15 2015-09-23 电信科学技术研究院 A kind of data forwarding method and equipment
JP6130126B2 (en) * 2012-11-28 2017-05-17 株式会社Nttドコモ Mobile communication method and mobile station
CN106332048B (en) * 2015-06-30 2022-08-19 华为技术有限公司 Data transmission method, wireless network node and communication system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625377A (en) * 2011-01-31 2012-08-01 电信科学技术研究院 Method for establishing radio bearer, access point equipment, user equipment and system
WO2017034510A1 (en) * 2015-08-21 2017-03-02 Intel IP Corporation Pdcp status reports using sequence numbers or sequence number offsets

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI: "Flow based QoS during Handover", <3GPP TSG-RAN WG3 NR AD-HOC R3-170253> *
ZTE: "Further discussion on QoS impact on mobility", <3GPP TSG-RAN WG3 #95 R3-170562> *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021155673A1 (en) * 2020-02-07 2021-08-12 Oppo广东移动通信有限公司 Communication mode switching method, and apparatus and device
EP4087285B1 (en) * 2020-02-07 2025-04-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Communication mode switching method, and apparatus and device
WO2023040126A1 (en) * 2021-09-18 2023-03-23 展讯通信(上海)有限公司 Data transmission method, communication apparatus, and chip and module device thereof

Also Published As

Publication number Publication date
CN108632933A (en) 2018-10-09
CN108632933B (en) 2020-10-02

Similar Documents

Publication Publication Date Title
US11463928B2 (en) Handover method and apparatus
US10602400B2 (en) Enhancement of PDCP status report
JP4318707B2 (en) Method and apparatus for processing a timer upon re-establishment of a transmitting side in a wireless communication system
JP4987895B2 (en) Method and communication apparatus for improving RRC connection process
CN108306708A (en) A kind of data package processing method and device
CN102958108A (en) Method, separation point device, user terminal and system for data transmission
CN108156633A (en) Data flow remaps method and device and user equipment, RAN equipment
CN108632869B (en) A transmission control method and device
WO2019062621A1 (en) Duplication transmission method and device
CN107347199B (en) It is a kind of switching and its control method, device
CN108632933B (en) Data transmission method and device and user equipment
TWI721333B (en) Method and apparatus for establishing bearers in a wireless communication system
CN108882221A (en) Device and method for executing modified program
CN103905143B (en) Uplink-data processing method and system
CN116601989B (en) Data transmission processing method and related device
US20250071615A1 (en) Data transmission method and apparatus and communication device
CN105323852A (en) Uplink bearing modification method and apparatus
CN108366397B (en) Data mapping method and device and wireless device
CN105163397A (en) Message sending method and device
CN104936269A (en) Method and device for transmitting heartbeat message
CN104219719A (en) Method and system for base station handover
CN105323786A (en) PDCP state report forming method and device
WO2026031096A1 (en) Dynamic traffic characteristic changes in user plane
CN121547142A (en) Dynamic business characteristics changes in the user plane
CN114501556A (en) A switching method, terminal and network side device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191129

RJ01 Rejection of invention patent application after publication