A data transmission method and device, and communication equipment
When the terminal device initiates RRC connection recovery, the target base station sends a terminal context request message to the anchor base station, which solves the problem of inactive terminal device data transmission to the core network, achieving correct data delivery and improving transmission efficiency.
Patent Information
- Application Number
- CN202211496620.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-24
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-03-24
AI Technical Summary
When the terminal device initiates RRC connection recovery and the target base station is not the anchor base station, how to submit the data to the core network is an unsolved problem, especially when the terminal device is in an inactive state, how to transmit data through the user plane Ensure that data can be correctly transmitted to the core network.
The target base station sends a terminal context request message to the anchor base station, carrying data or indication information. The anchor base station decides whether to transmit the data to the core network. If the anchor base station can, it will be transmitted by the anchor base station. Otherwise, it will be transmitted by the target base station.
This ensures that inactive terminal equipment can correctly submit data to the core network when transmitting data on the user plane, improving data transmission efficiency and reliability.
Smart Images

Figure CN115884293B
Abstract
Description
[0001] This application is a divisional application of the invention patent application with application number 2020800981970, application date March 24, 2020, and invention name “A data transmission method and device, communication equipment”. Technical Field
[0002] The embodiments of the present application relate to the field of mobile communication technology, and specifically to a data transmission method and apparatus, and a communication device. Background Art
[0003] If an inactive terminal device wants to transmit data, it needs to restore the Radio Resource Control (RRC) connection and enter the connected state before transmitting data. In order to enable inactive terminal devices to transmit data, data can be transmitted through the user plane before the terminal device enters the connected state. However, when transmitting data through the user plane, if the target base station for the terminal device to initiate the RRC connection recovery process is not the anchor base station, then it is necessary to clarify how the data transmitted by the terminal device is submitted to the core network. Summary of the invention
[0004] The embodiments of the present application provide a data transmission method and apparatus, and a communication device.
[0005] The data transmission method provided in the embodiment of the present application includes:
[0006] The target base station receives the RRC recovery request message and the first data sent by the terminal device;
[0007] The target base station sends a terminal context request message to the anchor base station, where the terminal context request message carries the first data or first indication information, where the first indication information is used to indicate transmission of the first data;
[0008] The target base station receives a reply message sent by the anchor base station, where the reply message carries second indication information, where the second indication information is used to indicate whether the anchor base station can transmit the first data to the core network;
[0009] Wherein, when the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network; or, when the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the first data is sent by the target base station to the core network.
[0010] The data transmission method provided in the embodiment of the present application includes:
[0011] The anchor base station receives a terminal context request message sent by the target base station, where the terminal context request message carries first data or first indication information, where the first indication information is used to indicate transmission of the first data;
[0012] The anchor base station sends a reply message to the target base station, where the reply message carries second indication information, where the second indication information is used to indicate whether the anchor base station can transmit the first data to the core network;
[0013] Wherein, when the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network; or, when the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the first data is sent by the target base station to the core network.
[0014] The data transmission device provided in the embodiment of the present application is applied to a target base station, and the device includes:
[0015] A receiving unit, configured to receive an RRC recovery request message and first data sent by a terminal device;
[0016] a sending unit, configured to send a terminal context request message to an anchor base station, wherein the terminal context request message carries the first data or first indication information, and the first indication information is used to indicate transmission of the first data;
[0017] The receiving unit is further configured to receive a reply message sent by the anchor base station, the reply message carrying second indication information, and the second indication information is used to indicate whether the anchor base station can transmit the first data to the core network;
[0018] Wherein, when the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network; or, when the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the first data is sent by the target base station to the core network.
[0019] The data transmission device provided in the embodiment of the present application is applied to an anchor base station, and the device includes:
[0020] A receiving unit, configured to receive a terminal context request message sent by a target base station, wherein the terminal context request message carries first data or first indication information, and the first indication information is used to indicate transmission of the first data;
[0021] a sending unit, configured to send a reply message to the target base station, wherein the reply message carries second indication information, and the second indication information is used to indicate whether the anchor base station can transmit the first data to the core network;
[0022] Wherein, when the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network; or, when the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the first data is sent by the target base station to the core network.
[0023] The communication device provided in the embodiment of the present application includes a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the above-mentioned data transmission method.
[0024] The chip provided in the embodiment of the present application is used to implement the above-mentioned data transmission method.
[0025] Specifically, the chip includes: a processor, which is used to call and run a computer program from a memory, so that a device equipped with the chip executes the above-mentioned data transmission method.
[0026] The computer-readable storage medium provided in the embodiment of the present application is used to store a computer program, which enables a computer to execute the above-mentioned data transmission method.
[0027] The computer program product provided in the embodiment of the present application includes computer program instructions, which enable a computer to execute the above-mentioned data transmission method.
[0028] The computer program provided in the embodiment of the present application, when executed on a computer, enables the computer to execute the above-mentioned data transmission method.
[0029] Through the above technical solution, the terminal device sends the first data to the target base station when initiating RRC connection recovery. The target base station sends the first data or indication information of the first data (i.e., the first indication information) to the anchor base station when sending a request message for the terminal context to the anchor base station. The anchor base station decides whether the first data can be transmitted to the core network. Wherein, when the anchor base station can transmit the first data to the core network, the first data is sent to the core network by the anchor base station. When the anchor base station cannot transmit the first data to the core network, the first data is sent to the core network by the target base station. In this way, the way of delivering the first data to the core network is clarified, so that the terminal device in an inactive state can deliver the first data to the core network through the target base station or the anchor base station when transmitting data through the user plane. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0031] Figure 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application;
[0032] Figure 2 Schematic diagram of the data transmission method provided in the embodiment of the present application Figure 1 ;
[0033] Figure 3 Schematic diagram of the data transmission method provided in the embodiment of the present application Figure 2 ;
[0034] Figure 4 Schematic diagram of the data transmission method provided in the embodiment of the present application Figure 3 ;
[0035] Figure 5 Schematic diagram of the data transmission method provided in the embodiment of the present application Figure 4 ;
[0036] Figure 6 Schematic diagram of the data transmission method provided in the embodiment of the present application Figure 5 ;
[0037] Figure 7 Schematic diagram of the structure of the data transmission device provided in the embodiment of the present application Figure 1 ;
[0038] Figure 8 Schematic diagram of the structure of the data transmission device provided in the embodiment of the present application Figure 2 ;
[0039] Fig. 9 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
[0040] Fig.10 is a schematic structural diagram of a chip according to an embodiment of the present application;
[0041] Fig.11 It is a schematic block diagram of a communication system provided in an embodiment of the present application. Specific embodiments
[0042] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0043] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD) system, 5G communication system or future communication system, etc.
[0044] For example, the communication system 100 used in the embodiment of the present application is as follows: Figure 1 As shown. The communication system 100 may include a network device 110, which may be a device that communicates with a terminal 120. The network device 110 may provide communication coverage for a specific geographical area, and may communicate with terminals located within the coverage area. Optionally, the network device 110 may be an evolved base station (eNB or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (CRAN), or the network device may be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a network-side device in a 5G network, or a network device in a future communication system, etc.
[0045] The communication system 100 also includes at least one terminal 120 located within the coverage of the network device 110. The terminal 120 is connected to the network device 110 via a wired line or a wireless interface. The terminal 120 connected to the network device 110 via a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". A terminal may refer to an access terminal, a user equipment (UE), a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user device, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal in a 5G network or a terminal in a future evolved PLMN, etc.
[0046] Optionally, the terminals 120 may perform device-to-device (D2D) communication.
[0047] Optionally, the 5G communication system or 5G network may also be referred to as a New Radio (NR) system or NR network.
[0048] Figure 1 One network device and two terminals are shown exemplarily. Optionally, the communication system 100 may include multiple network devices and each network device may include another number of terminals within its coverage area, which is not limited in the embodiments of the present application.
[0049] Optionally, the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiments of the present application.
[0050] It should be understood that the device with communication function in the network / system in the embodiment of the present application can be referred to as a communication device. Figure 1 Taking the communication system 100 shown as an example, the communication system 100 may include a network device 110 and a terminal 120 with communication functions. The network device 110 and the terminal 120 may be the specific devices described above and will not be repeated here. The communication system 100 may also include other devices, such as a network controller, a mobile management entity and other network entities, which is not limited in the embodiments of the present application.
[0051] It should be understood that the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0052] To facilitate understanding of the technical solutions of the embodiments of the present application, the technical solutions related to the embodiments of the present application are described below.
[0053] With the pursuit of speed, latency, high-speed mobility, energy efficiency and the diversity and complexity of services in future life, the Third Generation Partnership Project (3GPP) rd The 3rd Generation Partnership Project (3GPP) international standard organization has begun to develop 5G. The main application scenarios of 5G are: enhanced mobile broadband (eMBB), ultra-reliable low-latency communications (URLLC), and massive machine-type communications (mMTC).
[0054] On the one hand, eMBB still aims at users to obtain multimedia content, services and data, and its demand is growing rapidly. On the other hand, since eMBB may be deployed in different scenarios, such as indoors, in urban areas, and in rural areas, its capabilities and requirements vary greatly, so it cannot be generalized and must be analyzed in detail in combination with specific deployment scenarios. Typical applications of URLLC include: industrial automation, power automation, remote medical operations (surgery), traffic safety, etc. Typical features of mMTC include: high connection density, small data volume, latency-insensitive services, low cost and long service life of modules, etc.
[0055] RRC Status
[0056] In order to reduce air interface signaling and quickly restore wireless connections and data services, 5G defines a new RRC state, namely the RRC inactive (RRC_INACTIVE) state. This state is different from the RRC idle (RRC_IDLE) state and the RRC active (RRC_ACTIVE) state.
[0057] 1) RRC_IDLE state (abbreviated as idle state): Mobility is based on UE cell selection and reselection, paging is initiated by the core network (CN), and the paging area is configured by the CN. There is no UE context on the base station side and no RRC connection.
[0058] 2) RRC_CONNECTED state (referred to as connected state): There is an RRC connection, and UE context exists on the base station side and the UE side. The network side knows the location of the UE at the specific cell level. Mobility is mobility controlled by the network side. Unicast data can be transmitted between the UE and the base station.
[0059] 3) RRC_INACTIVE state (abbreviated as inactive state): Mobility is based on UE cell selection and reselection, there is a connection between CN and NR, the UE context exists on a certain base station, paging is triggered by RAN, and the RAN-based paging area is managed by RAN. The network side knows the UE location based on the RAN paging area level.
[0060] The above three RRC states can be converted to each other. Among them, some RRC parameters on the terminal device side in the inactive state are configured through the RRC release message. The main RRC parameters are as follows:
[0061] The inactive RNTI (I-RNTI) is used to identify the inactive context of the terminal device on the base station side and is unique within the base station.
[0062] RAN Notification Area (RNA) is an area used to control the cell selection and reselection of terminal equipment in an inactive state, and is also the paging range area of RAN initial paging.
[0063] RAN Paging cycle: used to calculate the paging opportunity of RAN initial paging.
[0064] RNA update period (RNAU periodicity) is used to control the period at which the terminal device performs periodic RAN location updates.
[0065] Next hop chaining counter (NCC) is used to determine the key used during RRC connection recovery.
[0066] When the terminal device moves within the RNA area, it does not need to notify the network side and follows the mobility behavior in the idle state, that is, the cell selection and reselection principle. When the terminal device moves out of the paging area configured by the RAN, the terminal device triggers the RRC connection recovery process (i.e., RRC resume procedure) and reacquires the paging area configured by the RAN. When the network side needs to transmit data to the terminal device, that is, when downlink data arrives, the base station that saves the terminal device context (that is, the base station that maintains the connection between the access network and the core network for the terminal device) triggers all cells in the RAN paging area to send a paging message to the terminal device, so that the terminal device in the inactive state can restore the RRC connection and receive data. In addition, the terminal device in the inactive state is configured with a RAN paging area. In order to ensure the reachability of the terminal device in this area, the terminal device needs to perform periodic location updates according to the period configured by the network. The scenarios that trigger the terminal device to perform RNA updates include the expiration of the RNAU timer or the movement of the terminal device to an area outside the RNA. At present, the inactive state defined by NR does not support the transmission of user plane data by the terminal device.
[0067] When the target base station for the terminal device to initiate the RRC connection recovery process is not the anchor base station, the anchor base station determines whether the context of the terminal device needs to be transferred to the target base station. Generally, the target base station will send the cause value carried in the RRC recovery request message initiated by the terminal device to the anchor base station during the terminal context request process, and the anchor base station determines whether the context of the terminal device needs to be transferred to the target base station. For example, the RRC connection recovery process triggered by periodic RAN location update generally does not require context transfer.
[0068] Through the RRC connection recovery process, the terminal device can transmit small data through the user plane, that is, to achieve early data transmission (EDT) or small data transmission. During the RRC connection recovery process, the terminal device may always remain in an idle state, a suspended state, or an inactive state, and complete the transmission of uplink data and / or downlink data through the user plane. It should be noted that for this type of data transmission, the terminal device does not actually enter the connected state to complete the data transmission. However, when performing data transmission through the user plane, if the target base station for the terminal device to initiate the RRC connection recovery process is not an anchor base station, then it is necessary to clarify how the data transmitted by the terminal device is submitted to the core network. To this end, the following technical solutions of the embodiments of the present application are proposed.
[0069] Figure 2 Schematic diagram of the data transmission method provided in the embodiment of the present application Figure 1 ,like Figure 2 As shown, the data transmission method includes the following steps:
[0070] Step 201: The target base station receives an RRC recovery request message and first data sent by a terminal device.
[0071] In the embodiment of the present application, the target base station refers to the base station where the terminal device currently resides. The anchor base station refers to the base station that stores the context of the terminal device. Optionally, the anchor base station may be a source base station, which refers to the base station that served the terminal device last time.
[0072] In an optional manner, the types of the target base station and the anchor base station may be the same or different. For example, the types of the target base station and the anchor base station are both NR base stations (i.e., gNB). For another example, the target base station is an NR base station (i.e., gNB), and the anchor base station is an LTE base station (i.e., eNB). For another example, the target base station is an LTE base station (i.e., eNB), and the anchor base station is an NR base station (i.e., gNB). The embodiments of the present application do not limit the types of the target base station and the anchor base station.
[0073] It should be noted that, in the embodiment of the present application, the terminal device may also be referred to as a UE. The context of the terminal device (referred to as a terminal context) may also be referred to as a UE context.
[0074] In the embodiments of the present application, the terminal device refers to a terminal device in an inactive state. Not limited to this, the terminal device may also refer to a terminal device in an idle state or a suspended state. It should be noted that the following embodiments of the present application are all described by taking the inactive state as an example, and the idle state or the suspended state is also applicable to the technical solution of the embodiments of the present application.
[0075] In an optional manner, under certain predefined conditions, the inactive terminal device sends an RRC recovery request (RRCResumeRequest) message and the first data to the target base station. For example, when the data size (datasize) of the first data is greater than or equal to a specified threshold value, the inactive terminal device sends an RRC recovery request message and the first data to the target base station.
[0076] In an optional manner, the RRC recovery request message and the first data are multiplexed and transmitted on a transport block (Transport Block, TB). That is, the terminal device multiplexes the RRC recovery request message and the first data on a TB and sends them to the target base station.
[0077] In the embodiment of the present application, the first data is small data. Not limited thereto, the first data may also be other types of data. It should be noted that the first data is transmitted via the user plane.
[0078] Step 202: the target base station sends a terminal context request message to the anchor base station, where the terminal context request message carries the first data or first indication information, and the first indication information is used to indicate transmission of the first data.
[0079] In the embodiment of the present application, after receiving the RRC recovery request message and the first data sent by the terminal device, the target base station sends a retrieve UE context request message to the anchor base station. Accordingly, the anchor base station receives the retrieve UE context request message sent by the target base station.
[0080] In an optional manner, the terminal context request message carries the first data (for example, carries small data).
[0081] In another optional manner, the terminal context request message carries first indication information, and the first indication information is used to indicate the transmission of the first data. Taking the first data as small data as an example, the first indication information can also be called small data indication information.
[0082] In yet another optional manner, the terminal context request message carries the first data and first indication information, and the first indication information is used to indicate transmission of the first data.
[0083] Step 203: The target base station receives a reply message sent by the anchor base station, and the reply message carries second indication information, and the second indication information is used to indicate whether the anchor base station can transmit the first data to the core network; wherein, when the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network; or, when the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the first data is sent by the target base station to the core network.
[0084] In an embodiment of the present application, after the anchor base station receives the terminal context request message sent by the target base station, it decides whether to transfer the terminal context (i.e., UE context). Here, optionally, the terminal context request message carries a cause value, which is used to indicate the cause of triggering the RRC connection recovery, and the anchor base station decides whether to transfer the terminal context based on the cause value. Further, the target base station can obtain the cause value in the received RRC recovery request message.
[0085] In the embodiment of the present application, based on the situation in which the anchor base station decides whether to transfer the terminal context, the reply message sent by the anchor base station to the target base station is different, as described below in different situations. It should be noted that the reply message carries second indication information, and the second indication information is used to indicate whether the anchor base station can transmit the first data to the core network.
[0086] Case 1: When the anchor base station decides not to transfer the UE context, the reply message is a retrieve UE context failure message.
[0087] Here, the terminal context request failure message sent by the anchor base station to the target base station carries second indication information, and the second indication information is used to indicate whether the anchor base station can transmit the first data to the core network.
[0088] ●The case where the terminal context request message carries the first data (corresponding to the technical solution of the subsequent example 1 of this application).
[0089] I): When the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network. That is, after receiving the terminal context request message, the anchor base station sends the first data in the terminal context request message to the core network.
[0090] Furthermore, the terminal context request failure message carries an RRC release (RRCRelease) message; the target base station forwards the RRC release message to the terminal device.
[0091] II): When the second indication information indicates that the anchor base station cannot transmit the first data to the core network, an RRC connection is established between the target base station and the terminal device, and a connection is established between the target base station and the core network; the target base station receives the first data sent by the terminal device through the RRC connection, and sends the first data to the core network through the connection between the target base station and the core network.
[0092] Here, establishing an RRC connection between the target base station and the terminal device includes the following process: the target base station sends an RRC setup (RRCSetup) message to the terminal device; the target base station receives an RRC setup complete (RRCSetupComplete) message sent by the terminal device.
[0093] ●The situation where the terminal context request message carries the first indication information (corresponding to the technical solution of subsequent Example 2 of this application).
[0094] I): When the second indication information indicates that the anchor base station can transmit the first data to the core network, the target base station forwards the first data to the anchor base station, and accordingly, the anchor base station receives the first data sent by the target base station and sends the first data to the core network. In this case, the first data is sent by the anchor base station to the core network.
[0095] Furthermore, the terminal context request failure message carries an RRC release message; and the target base station forwards the RRC release message to the terminal device.
[0096] II): When the second indication information indicates that the anchor base station cannot transmit the first data to the core network, an RRC connection is established between the target base station and the terminal device, and a connection is established between the target base station and the core network; the target base station receives the first data sent by the terminal device through the RRC connection, and sends the first data to the core network through the connection between the target base station and the core network.
[0097] Here, establishing an RRC connection between the target base station and the terminal device includes the following process: the target base station sends an RRC establishment message to the terminal device; the target base station receives an RRC establishment completion message sent by the terminal device.
[0098] Case 2: When the anchor base station decides to transfer the UE context, the reply message is a retrieve UE context response message.
[0099] Here, the terminal context request response message sent by the anchor base station to the target base station carries second indication information, and the second indication information is used to indicate whether the anchor base station can transmit the first data to the core network.
[0100] ●The situation where the terminal context request message carries the first data (corresponding to the technical solution of subsequent Example 3 of this application).
[0101] I): When the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network. That is, after receiving the terminal context request message, the anchor base station sends the first data in the terminal context request message to the core network.
[0102] Further, the target base station sends a path switch request (Path switch request) message to the core network, and receives a path switch response (Path switch response) message sent by the core network; the target base station sends a release terminal context (Release UE context) message to the anchor base station, and sends an RRC release message to the terminal device.
[0103] II) When the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the target base station sends a path switching request message to the core network and receives a path switching response message sent by the core network; the target base station sends the first data to the core network.
[0104] Further, the target base station sends a terminal context release message to the anchor base station, and sends an RRC release message to the terminal device.
[0105] ●The situation where the terminal context request message carries the first indication information (corresponding to the technical solution of subsequent Example 4 of this application).
[0106] I): When the second indication information indicates that the anchor base station can transmit the first data to the core network, the target base station forwards the first data to the anchor base station, and accordingly, the anchor base station receives the first data sent by the target base station and sends the first data to the core network. In this case, the first data is sent by the anchor base station to the core network.
[0107] Further, the target base station sends a path switching request message to the core network, and receives a path switching response message sent by the core network; the target base station sends a terminal context release message to the anchor base station, and sends an RRC release message to the terminal device.
[0108] II) When the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the target base station sends a path switching request message to the core network and receives a path switching response message sent by the core network; the target base station sends the first data to the core network.
[0109] Further, the target base station sends a terminal context release message to the anchor base station, and sends an RRC release message to the terminal device.
[0110] In the above scheme of the present application, the core network includes a core network control plane network element and / or a core network user plane network element, wherein the core network control plane network element is, for example, an access mobility management function network element (Access and MobilityManagement Function, AMF), and the core network user plane network element is, for example, a user plane function network element (User PlaneFunction, UPF).
[0111] The technical solution of the embodiments of the present application is illustrated below with reference to specific examples. It should be noted that the following embodiments are illustrated by taking the first data as small data and the terminal device as UE as an example.
[0112] Example 1
[0113] Reference Figure 3 , Figure 3 Schematic diagram of the data transmission method provided in the embodiment of the present application Figure 2 , including the following steps:
[0114] Step 301: The UE sends an RRC recovery request message and small data to a target base station.
[0115] Here, when certain predefined conditions are met (for example, the data size of the small data is greater than or equal to a threshold value), the inactive UE sends an RRC recovery request message and small data to the target base station, and the RRC recovery request message and small data are multiplexed on one TB and sent to the target base station.
[0116] Step 302: The target base station sends a UE context request message to the anchor base station. The UE context request message carries small data.
[0117] Here, the target base station sends a UE context request message to the anchor base station based on the UE identity carried in the RRC recovery request message.
[0118] Step 303: The anchor base station decides not to transfer the UE context, and executes the following steps 304 to 306, or executes the following steps 307 to 312.
[0119] Here, after receiving the UE context request message, the anchor base station decides not to transfer the UE context.
[0120] Step 304: the anchor base station sends a UE context request failure message to the target base station. The UE context request failure message carries an indication information, and the indication information indicates that the anchor base station can deliver the small data to the core network.
[0121] Here, the UE context request failure message sent by the anchor base station to the target base station includes an RRC release message.
[0122] Step 305: The anchor base station delivers the small data to the core network.
[0123] Step 306: The target base station sends an RRC release message to the UE, and the process ends.
[0124] Step 307: the anchor base station sends a UE context request failure message to the target base station. The UE context request failure message carries an indication information, and the indication information indicates that the anchor base station cannot deliver the small data to the core network.
[0125] Step 308: The target base station sends an RRC establishment message to the UE.
[0126] Step 309: The UE sends an RRC establishment completion message to the target base station.
[0127] Step 310: The target base station establishes a connection with the core network.
[0128] Step 311: The UE sends small data to the target base station.
[0129] Step 312: The target base station submits the small data to the core network, and the process ends.
[0130] The technical solution of this example clarifies how small data is transmitted between base stations when the UE context is not transferred. The target base station sends the small data directly to the anchor base station by requesting a UE context request message, so that the anchor base station can immediately submit the small data to the core network after verifying the UE context, thereby improving the efficiency of small data transmission.
[0131] Example 2
[0132] Reference Figure 4 , Figure 4 Schematic diagram of the data transmission method provided in the embodiment of the present application Figure 3 , including the following steps:
[0133] Step 401: The UE sends an RRC recovery request message and small data to a target base station.
[0134] Here, when certain predefined conditions are met (for example, the data size of the small data is greater than or equal to a threshold value), the inactive UE sends an RRC recovery request message and small data to the target base station, and the RRC recovery request message and small data are multiplexed on one TB and sent to the target base station.
[0135] Step 402: The target base station sends a UE context request message to the anchor base station. The UE context request message carries small data indication information.
[0136] Here, the target base station sends a UE context request message to the anchor base station based on the UE identity carried in the RRC recovery request message.
[0137] Step 403: the anchor base station decides not to transfer the UE context, and executes the following steps 404 to 407, or executes the following steps 408 to 413.
[0138] Here, after receiving the UE context request message, the anchor base station decides not to transfer the UE context.
[0139] Step 404: the anchor base station sends a UE context request failure message to the target base station. The UE context request failure message carries an indication information, and the indication information indicates that the anchor base station can deliver the small data to the core network.
[0140] Here, the UE context request failure message sent by the anchor base station to the target base station includes an RRC release message.
[0141] Step 405: The target base station sends small data to the anchor base station.
[0142] Step 406: The anchor base station delivers the small data to the core network.
[0143] Step 407: The target base station sends an RRC release message to the UE, and the process ends.
[0144] Step 408: the anchor base station sends a UE context request failure message to the target base station. The UE context request failure message carries an indication information, and the indication information indicates that the anchor base station cannot deliver the small data to the core network.
[0145] Step 409: The target base station sends an RRC establishment message to the UE.
[0146] Step 410: The UE sends an RRC establishment completion message to the target base station.
[0147] Step 411: The target base station establishes a connection with the core network.
[0148] Step 412: The UE sends small data to the target base station.
[0149] Step 413: The target base station submits the small data to the core network, and the process ends.
[0150] The technical solution of this example clarifies how small data is transmitted between base stations when the UE context is not transferred. The target base station sends the small data indication information to the anchor base station by requesting a UE context request message, so that the anchor base station can avoid unnecessary X2 interface transmission when the UE context cannot be verified. The target base station sends the small data to the anchor base station only when it determines that the anchor base station can deliver the small data, saving the load overhead of the X2 interface.
[0151] Example 3
[0152] Reference Figure 5 , Figure 5 Schematic diagram of the data transmission method provided in the embodiment of the present application Figure 4 , including the following steps:
[0153] Step 501: The UE sends an RRC recovery request message and small data to a target base station.
[0154] Here, when certain predefined conditions are met (for example, the data size of the small data is greater than or equal to a threshold value), the inactive UE sends an RRC recovery request message and small data to the target base station, and the RRC recovery request message and small data are multiplexed on one TB and sent to the target base station.
[0155] Step 502: The target base station sends a UE context request message to the anchor base station. The UE context request message carries small data.
[0156] Here, the target base station sends a UE context request message to the anchor base station based on the UE identity carried in the RRC recovery request message.
[0157] Step 503: The anchor base station decides to transfer the UE context and executes the following steps 504 to 509, or executes the following steps 510 to 515.
[0158] Here, the anchor base station decides to transfer the UE context after receiving the UE context request message.
[0159] Step 504: the anchor base station sends a request UE context response message to the target base station. The request UE context response message carries indication information, and the indication information indicates that the anchor base station can deliver the small data to the core network.
[0160] Step 505: The anchor base station delivers the small data to the core network.
[0161] Step 506: The target base station sends a path switching request message to the core network.
[0162] Step 507: The core network sends a path switching response message to the target base station.
[0163] Step 508: The target base station sends a terminal context release message to the anchor base station.
[0164] Step 509: The target base station sends an RRC release message to the UE, and the process ends.
[0165] Step 510: the anchor base station sends a request UE context response message to the target base station. The request UE context response message carries an indication information, and the indication information indicates that the anchor base station cannot deliver small data to the core network.
[0166] Step 511: The target base station sends a path switching request message to the core network.
[0167] Step 512: The core network sends a path switching response message to the target base station.
[0168] Step 513: The target base station delivers the small data to the core network.
[0169] Step 514: The target base station sends a terminal context release message to the anchor base station.
[0170] Step 515: The target base station sends an RRC release message to the UE, and the process ends.
[0171] The technical solution of this example clarifies how small data is transmitted between base stations when the UE context is transferred. The target base station sends the small data directly to the anchor base station by requesting a UE context request message, so that the anchor base station can immediately submit the small data to the core network after verifying the UE context, thereby improving the efficiency of small data transmission.
[0172] Example 4
[0173] Reference Figure 6 , Figure 6 Schematic diagram of the data transmission method provided in the embodiment of the present application Figure 5 , including the following steps:
[0174] Step 601: The UE sends an RRC recovery request message and small data to a target base station.
[0175] Here, when certain predefined conditions are met (for example, the data size of the small data is greater than or equal to a threshold value), the inactive UE sends an RRC recovery request message and small data to the target base station, and the RRC recovery request message and small data are multiplexed on one TB and sent to the target base station.
[0176] Step 602: The target base station sends a UE context request message to the anchor base station. The UE context request message carries small data indication information.
[0177] Here, the target base station sends a UE context request message to the anchor base station based on the UE identity carried in the RRC recovery request message.
[0178] Step 603: The anchor base station decides to transfer the UE context and executes the following steps 604 to 610, or executes the following steps 611 to 616.
[0179] Here, the anchor base station decides to transfer the UE context after receiving the UE context request message.
[0180] Step 604: the anchor base station sends a request UE context response message to the target base station. The request UE context response message carries indication information, and the indication information indicates that the anchor base station can deliver the small data to the core network.
[0181] Step 605: The target base station sends small data to the anchor base station.
[0182] Step 606: The anchor base station delivers the small data to the core network.
[0183] Step 607: The target base station sends a path switching request message to the core network.
[0184] Step 608: The core network sends a path switching response message to the target base station.
[0185] Step 609: The target base station sends a terminal context release message to the anchor base station.
[0186] Step 610: The target base station sends an RRC release message to the UE, and the process ends.
[0187] Step 611: the anchor base station sends a request UE context response message to the target base station. The request UE context response message carries an indication information, and the indication information indicates that the anchor base station cannot deliver small data to the core network.
[0188] Step 612: The target base station sends a path switching request message to the core network.
[0189] Step 613: The core network sends a path switching response message to the target base station.
[0190] Step 614: The target base station delivers the small data to the core network.
[0191] Step 615: The target base station sends a terminal context release message to the anchor base station.
[0192] Step 616: The target base station sends an RRC release message to the UE, and the process ends.
[0193] The technical solution of this example clarifies how small data is transmitted between base stations when the UE context is transferred. The target base station sends the small data indication information to the anchor base station by requesting a UE context request message, so that the anchor base station can avoid unnecessary X2 interface transmission when the UE context cannot be verified. The target base station sends the small data to the anchor base station only when it determines that the anchor base station can deliver the small data, saving the load overhead of the X2 interface.
[0194] Figure 7 Schematic diagram of the structure of the data transmission device provided in the embodiment of the present application Figure 1 , applied to the target base station, such as Figure 7 As shown, the data transmission device includes:
[0195] The receiving unit 701 is configured to receive an RRC recovery request message and first data sent by a terminal device;
[0196] A sending unit 702 is configured to send a terminal context request message to an anchor base station, where the terminal context request message carries the first data or first indication information, where the first indication information is used to indicate transmission of the first data;
[0197] The receiving unit 701 is further configured to receive a reply message sent by the anchor base station, where the reply message carries second indication information, where the second indication information is used to indicate whether the anchor base station can transmit the first data to the core network;
[0198] Wherein, when the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network; or, when the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the first data is sent by the target base station to the core network.
[0199] In an optional manner, when the anchor base station decides not to transfer the terminal context, the reply message is a message of failure to request the terminal context.
[0200] In an optional manner, when the terminal context request message carries the first data and the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network.
[0201] In an optional manner, the terminal context request message carries the first indication information, and the second indication information indicates that the anchor base station can transmit the first data to the core network.
[0202] The sending unit 702 is further configured to forward the first data to the anchor base station, wherein the first data is sent by the anchor base station to the core network.
[0203] In an optional manner, the request for terminal context failure message carries an RRC release message;
[0204] The sending unit 702 is further used to forward the RRC release message to the terminal device.
[0205] In an optional manner, when the second indication information indicates that the anchor base station cannot transmit the first data to the core network,
[0206] The apparatus further includes: an establishing unit (not shown in the figure), configured to establish an RRC connection with the terminal device and a connection with a core network;
[0207] The receiving unit 701 is further configured to receive the first data sent by the terminal device through the RRC connection;
[0208] The sending unit 702 is further configured to send the first data to the core network through the connection between the target base station and the core network.
[0209] In an optional manner, the establishment unit is used to send an RRC establishment message to the terminal device; and receive an RRC establishment completion message sent by the terminal device.
[0210] In an optional manner, when the anchor base station decides to transfer the terminal context, the reply message is a terminal context request response message.
[0211] In an optional manner, the terminal context request message carries the first data, and when the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network;
[0212] The sending unit 702 is further configured to send a path switching request message to the core network;
[0213] The receiving unit 701 is further configured to receive a path switching response message sent by the core network;
[0214] The sending unit 702 is further configured to send a terminal context release message to the anchor base station, and send an RRC release message to the terminal device.
[0215] In an optional manner, the terminal context request message carries the first indication information, and the second indication information indicates that the anchor base station can transmit the first data to the core network.
[0216] The sending unit 702 is further configured to forward the first data to the anchor base station, wherein the first data is sent by the anchor base station to the core network;
[0217] The sending unit 702 is further configured to send a path switching request message to the core network;
[0218] The receiving unit 701 is further configured to receive a path switching response message sent by the core network;
[0219] The sending unit 702 is further configured to send a terminal context release message to the anchor base station, and send an RRC release message to the terminal device.
[0220] In an optional manner, when the second indication information indicates that the anchor base station cannot transmit the first data to the core network,
[0221] The sending unit 702 is further configured to send a path switching request message to the core network;
[0222] The receiving unit 701 is further configured to receive a path switching response message sent by the core network;
[0223] The sending unit 702 is further configured to send the first data to the core network;
[0224] The sending unit 702 is further configured to send a terminal context release message to the anchor base station, and send an RRC release message to the terminal device.
[0225] In an optional manner, the RRC recovery request message and the first data are multiplexed and transmitted on one TB.
[0226] In an optional manner, the first data is small data.
[0227] Those skilled in the art should understand that the relevant description of the above-mentioned data transmission device in the embodiment of the present application can be understood by referring to the relevant description of the data transmission method in the embodiment of the present application.
[0228] Figure 8 Schematic diagram of the structure of the data transmission device provided in the embodiment of the present application Figure 2 , applied to anchor base stations, such as Figure 8 As shown, the data transmission device includes:
[0229] The receiving unit 801 is configured to receive a terminal context request message sent by a target base station, where the terminal context request message carries first data or first indication information, where the first indication information is used to indicate transmission of first data;
[0230] A sending unit 802 is configured to send a reply message to the target base station, where the reply message carries second indication information, where the second indication information is used to indicate whether the anchor base station can transmit the first data to the core network;
[0231] Wherein, when the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network; or, when the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the first data is sent by the target base station to the core network.
[0232] In an optional manner, when the anchor base station decides not to transfer the terminal context, the reply message is a message of failure to request the terminal context.
[0233] In an optional manner, when the anchor base station decides to transfer the terminal context, the reply message is a terminal context request response message.
[0234] In an optional manner, the terminal context request message carries the first data, and the second indication information indicates that the anchor base station can transmit the first data to the core network.
[0235] The sending unit 802 is further configured to send the first data to a core network.
[0236] In an optional manner, the terminal context request message carries the first indication information, and the second indication information indicates that the anchor base station can transmit the first data to the core network.
[0237] The receiving unit 801 is further configured to receive the first data sent by the target base station;
[0238] The sending unit 802 is further configured to send the first data to a core network.
[0239] In an optional manner, the first data is small data.
[0240] Those skilled in the art should understand that the relevant description of the above-mentioned data transmission device in the embodiment of the present application can be understood by referring to the relevant description of the data transmission method in the embodiment of the present application.
[0241] Fig. 9 900 is a schematic structural diagram of a communication device provided in an embodiment of the present application. The communication device may be a terminal device or a network device (such as a target base station or an anchor base station). Fig. 9 The communication device 900 shown includes a processor 910, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0242] Alternatively, if Fig. 9 As shown, the communication device 900 may further include a memory 920. The processor 910 may call and run a computer program from the memory 920 to implement the method in the embodiment of the present application.
[0243] The memory 920 may be a separate device independent of the processor 910 , or may be integrated into the processor 910 .
[0244] Alternatively, if Fig. 9As shown, the communication device 900 may further include a transceiver 930, and the processor 910 may control the transceiver 930 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.
[0245] The transceiver 930 may include a transmitter and a receiver. The transceiver 930 may further include an antenna, and the number of antennas may be one or more.
[0246] Optionally, the communication device 900 may specifically be a network device of an embodiment of the present application, and the communication device 900 may implement corresponding processes implemented by the network device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.
[0247] Optionally, the communication device 900 may specifically be a mobile terminal / terminal device of an embodiment of the present application, and the communication device 900 may implement the corresponding processes implemented by the mobile terminal / terminal device in each method of the embodiment of the present application, which will not be described again for the sake of brevity.
[0248] Fig.10 It is a schematic structural diagram of the chip of an embodiment of the present application. Fig.10 The chip 1000 shown includes a processor 1010, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0249] Alternatively, if Fig.10 As shown, the chip 1000 may further include a memory 1020. The processor 1010 may call and run a computer program from the memory 1020 to implement the method in the embodiment of the present application.
[0250] The memory 1020 may be a separate device independent of the processor 1010 , or may be integrated into the processor 1010 .
[0251] Optionally, the chip 1000 may further include an input interface 1030. The processor 1010 may control the input interface 1030 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.
[0252] Optionally, the chip 1000 may further include an output interface 1040. The processor 1010 may control the output interface 1040 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
[0253] Optionally, the chip can be applied to the network device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the network device in each method of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
[0254] Optionally, the chip can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
[0255] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0256] Fig.11 1 is a schematic block diagram of a communication system 1100 provided in an embodiment of the present application. Fig.11 As shown, the communication system 1100 includes a terminal device 1110 and a network device 1120 .
[0257] Among them, the terminal device 1110 can be used to implement the corresponding functions implemented by the terminal device in the above method, and the network device 1120 can be used to implement the corresponding functions implemented by the network device in the above method. For the sake of brevity, they are not repeated here.
[0258] It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and performed. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0259] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0260] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
[0261] An embodiment of the present application also provides a computer-readable storage medium for storing a computer program.
[0262] Optionally, the computer-readable storage medium can be applied to the network device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0263] Optionally, the computer-readable storage medium can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0264] An embodiment of the present application also provides a computer program product, including computer program instructions.
[0265] Optionally, the computer program product can be applied to the network device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0266] Optionally, the computer program product can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0267] The embodiment of the present application also provides a computer program.
[0268] Optionally, the computer program can be applied to the network device in the embodiments of the present application. When the computer program runs on a computer, the computer executes the corresponding processes implemented by the network device in the various methods in the embodiments of the present application. For the sake of brevity, they are not described here.
[0269] Optionally, the computer program can be applied to the mobile terminal / terminal device in the embodiments of the present application. When the computer program is run on a computer, the computer executes the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0270] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0271] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0272] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0273] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0274] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0275] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0276] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A data transmission method, the method comprising: The target base station receives a radio resource control RRC recovery request message and first data sent by the terminal device; The target base station sends a terminal context request message to the anchor base station, where the terminal context request message carries the first data or first indication information, where the first indication information is used to indicate transmission of the first data; The target base station receives a reply message sent by the anchor base station, where the reply message carries second indication information, where the second indication information is used to indicate that the anchor base station can transmit the first data to the core network, or the second indication information is used to indicate that the anchor base station cannot transmit the first data to the core network; Wherein, when the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network; or, when the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the first data is sent by the target base station to the core network.
2. The method according to claim 1, wherein: When the second indication information indicates that the anchor base station can transmit the first data to the core network, the method further includes: The target base station forwards the first data to the anchor base station, wherein the first data is sent by the anchor base station to the core network.
3. The method according to claim 1, wherein: When the anchor base station decides to transfer the terminal context, the reply message is a terminal context request response message.
4. The method according to claim 3, wherein: When the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the method further includes: The target base station sends a path switching request message to the core network, and receives a path switching response message sent by the core network; The target base station sends the first data to the core network; The target base station sends a terminal context release message to the anchor base station, and sends an RRC release message to the terminal device.
5. The method according to any one of claims 1 to 4, wherein: The first data is small data.
6. A data transmission method, the method comprising: The anchor base station receives a terminal context request message sent by the target base station, where the terminal context request message carries first data or first indication information, where the first indication information is used to indicate transmission of the first data; The anchor base station sends a reply message to the target base station, where the reply message carries second indication information, where the second indication information is used to indicate that the anchor base station can transmit the first data to the core network, or the second indication information is used to indicate that the anchor base station cannot transmit the first data to the core network; Wherein, when the second indication information indicates that the anchor base station can transmit the first data to the core network, the first data is sent by the anchor base station to the core network; or, when the second indication information indicates that the anchor base station cannot transmit the first data to the core network, the first data is sent by the target base station to the core network.
7. The method according to claim 6, wherein: When the anchor base station decides to transfer the terminal context, the reply message is a terminal context request response message.
8. The method according to claim 6, wherein: When the second indication information indicates that the anchor base station can transmit the first data to the core network, the method further includes: The anchor base station receives the first data sent by the target base station, and sends the first data to a core network.
9. The method according to any one of claims 6 to 8, wherein: The first data is small data.
10. A communication device comprising: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method as claimed in any one of claims 1 to 5, or the method as claimed in any one of claims 6 to 9.
11. A chip, comprising: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 5, or a method as claimed in any one of claims 6 to 9.
12. A computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 5, or the method according to any one of claims 6 to 9.
13. A computer program product, comprising computer program instructions, the computer program instructions causing a computer to execute the method according to any one of claims 1 to 5, or the method according to any one of claims 6 to 9.
