Communication method and apparatus

The first auxiliary context transmission network element transmits the identification of the terminal device between the target network device and the source network device, which solves the problem of being unable to obtain the context when the terminal device is in an inactive state, and realizes the context without a direct communication interface. Acquire, support connection restoration and mobility management of end devices.

WO2024222346A1PCT designated stage expired Publication Date: 2024-10-31HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/083626
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-28
Filing Date
2024-03-25
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

When the terminal device moves from the cell of one network device to the cell of another network device, the terminal device is in an inactive state, and the target network device cannot directly communicate with the source network device, resulting in the inability to obtain the context of the terminal device.

Method used

The first auxiliary context transmission network element receives the context transmission request message from the target network device, obtains the identity of the terminal device, and sends a request to the source network device to obtain its context, or triggers the source network device to perform a handover process to obtain the identity of the terminal device. context.

Benefits of technology

When there is no direct communication interface between the target network device and the source network device, accurately obtain the context of the terminal device and support connection recovery and mobility management of the terminal device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024083626_31102024_PF_FP_ABST
    Figure CN2024083626_31102024_PF_FP_ABST
Patent Text Reader

Abstract

A communication method and apparatus, for use in implementing accurate acquisition of context of a terminal device by a target network device when the terminal device is in an inactive state and there is no communication interface between the target network device and a source network device for direct communication. After the terminal device sends a connection recovery request message to the target network device, the target network device sends a first context transmission request message to a first auxiliary context transmission network element, the connection recovery request message comprising an identifier of the terminal device, and the first context transmission request message comprising the identifier of the terminal device. The first auxiliary context transmission network element acquires context of the terminal device according to the identifier of the terminal device, and sends a first response message to the target network device, the first response message comprising the context of the terminal device. In this way, when the target network device cannot directly communicate with the source network device, the target network device can acquire the context of the terminal device by means of the first auxiliary context transmission network element.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on April 28, 2023, with application number 202310483096.0 and application name “A Communication Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of communication technology, and in particular to a communication method and device. Background Art

[0004] In a mobile terminal scenario, the terminal device may move from one network device's cell to another. In this case, the network device corresponding to the terminal device before the movement can be called the source network device, and the network device corresponding to the terminal device after the movement can be called the target network device. When the terminal device is in an inactive state, when the terminal device needs to restore the connection to the target network device's cell, the target network device needs to obtain the terminal device's context.

[0005] In some cases, the target network device and the source network device have a direct communication interface, such as an Xn interface. In this case, the target network device can directly obtain the context of the terminal device from the source network device through this communication interface. However, in other cases, the target network device and the source network device do not have a direct communication interface. In this case, how the target network device obtains the context of the terminal device is an urgent problem to be solved.

[0006] Summary of the Invention

[0007] The present application provides a communication method and apparatus for enabling a target network device to accurately obtain the context of a terminal device when the terminal device is in an inactive state and the target network device has no communication interface for direct communication with the source network device.

[0008] In a first aspect, the present application provides a communication method, which can be applied to a first auxiliary context transfer network element, a processor, a chip, a chip system, or a functional module in the first auxiliary context transfer network element. The method may include: the first auxiliary context transfer network element receiving a first context transfer request message from a target network device, the first context transfer request message including an identifier of a terminal device, the first context transfer request message being used to request a context of the terminal device; the first auxiliary context transfer network element obtaining a context of the terminal device based on the identifier of the terminal device, and sending a first response message to the target network device, the first response message including the context of the terminal device.

[0009] Through the above method, when the target network device cannot communicate directly with the source network device, the target network device can obtain the context of the terminal device through the first auxiliary context transmission network element.

[0010] In one possible design, the first context transfer request message may further include an identifier of the source network device, so that the first auxiliary context transfer network element requests the context of the terminal device from the source network device based on the identifier of the source network device.

[0011] In one possible design, the first auxiliary context transfer network element obtains the context of the terminal device based on the identifier of the terminal device. The method may be: the first auxiliary context transfer network element sends a second context transfer request message to the source network device based on the identifier of the source network device, the second context transfer request message including the identifier of the terminal device; the first auxiliary context transfer network element receives a second response message from the source network device, the second response message including the context of the terminal device. In this way, the first auxiliary context transfer network element can obtain the context of the terminal device corresponding to the identifier of the terminal device from the source network device based on the identifier of the source network device.

[0012] In one possible design, the second context transfer request message may further include an identifier of the target network device and / or an identifier of the source network device. When the second context transfer request message includes the identifier of the source network device, the source network device may determine that the message is sent to itself; when the second context transfer request message includes the identifier of the target network device, the source network device may determine that the context of the terminal device is requested by the target network device.

[0013] In one possible design, the identifier of the terminal device may be a context identifier of the terminal device, so that the context of the terminal device can be accurately determined based on the context identifier of the terminal device.

[0014] In one possible design, the first auxiliary context transfer network element obtains the context of the terminal device based on the identifier of the terminal device. The method may be: the first auxiliary context transfer network element determines the source network device of the terminal device based on the identifier of the terminal device, sends a third context transfer request message to the source network device, and the third context transfer request message includes the identifier of the terminal device; the first auxiliary context transfer network element receives a third response message from the source network device, and the third response message includes the context of the terminal device. In this way, the first auxiliary context transfer network element can obtain the context of the terminal device corresponding to the identifier of the terminal device from the source network device.

[0015] In one possible design, the first auxiliary context transfer network element determines the source network device of the terminal device based on the identifier of the terminal device. The method may be: the first auxiliary context transfer network element sends a first query message to a database network element, the first query message including the identifier of the terminal device; the first auxiliary context transfer network element receives a first query response message from the database network element, the first query response message including the identifier of the source network device; and the first auxiliary context transfer network element determines the source network device based on the identifier of the source network device. In this way, the first auxiliary context transfer network element can accurately determine the source network device and obtain the context of the terminal device from the source network device.

[0016] In one possible design, the third context transfer request message also includes an identifier of the target network device and / or an identifier of the source network device. When the third context transfer request message includes the identifier of the source network device, the source network device can determine that the message is sent to itself; when the third context transfer request message includes the identifier of the target network device, the source network device can determine that the context of the terminal device is requested by the target network device.

[0017] In one possible design, the first auxiliary context transmission network element obtains the context of the terminal device based on the identifier of the terminal device. The method may be: the first auxiliary context transmission network element determines the locally stored context of the terminal device based on the identifier of the terminal device; or the first auxiliary context transmission network element sends a second query message to a database network element, where the second query message includes the identifier of the terminal device; and the first auxiliary context transmission network element receives the context of the terminal device from the database network element. In this way, the first auxiliary context transmission network element can accurately obtain the context of the terminal device.

[0018] In one possible design, the first auxiliary context transfer network element receives a context creation request message from a source network device, the context creation request including an identifier of the terminal device and a context of the terminal device; further, the first auxiliary context transfer network element stores the context of the terminal device; or the first auxiliary context transfer network element sends the context of the terminal device to a database network element. In this way, the first auxiliary context transfer network element or the database network element can store the context of the terminal device so that the context of the terminal device can be subsequently sent to a target network device.

[0019] In one possible design, the first context transfer request message may also include an identifier of the target network device, so that other devices know that it is the target network device that requests the context of the terminal device.

[0020] In one possible design, the first response message may also include an identifier of the target network device, so that the context of the terminal device can be accurately sent to the target network device.

[0021] In a second aspect, the present application provides a communication method that can be applied to a target network device, a processor, chip, chip system, or functional module in the target network device. The method may include: after receiving a connection recovery request message from a terminal device, the target network device sends a first context transfer request message to a first auxiliary context transfer network element, and receives a first response message from the first auxiliary context transfer network element. The connection recovery request message includes an identifier of the terminal device; the first context transfer request message includes an identifier of the terminal device, the first context transfer request message is used to request a context for the terminal device; and the first response message includes the context of the terminal device.

[0022] Through the above method, the terminal device provides the identifier of the terminal device in the connection recovery request message, so that the target network device can locate the context of the corresponding network device and the terminal device through the first auxiliary context transmission network element, so that when the target network device cannot communicate directly with the source network device, the target network device can obtain the context of the terminal device through the first auxiliary context transmission network element.

[0023] In one possible design, the connection restoration request message may also include an identifier of the source network device, so that the source network device from which the context of the terminal device is obtained can be accurately determined.

[0024] In one possible design, the first context transfer request message may further include an identifier of the source network device, so that the first auxiliary context transfer network element requests the context of the terminal device from the source network device based on the identifier of the source network device.

[0025] In one possible design, the identifier of the terminal device may be a context identifier of the terminal device, so that the context of the terminal device can be accurately determined based on the context identifier of the terminal device.

[0026] In one possible design, the connection restoration request message may further include an identifier of the target network device, so as to determine the network device to which the terminal device currently wants to access.

[0027] In one possible design, the first context transfer request message may also include an identifier of the target network device, so that other devices know that it is the target network device that requests the context of the terminal device.

[0028] In one possible design, the first response message may also include an identifier of the target network device, so that the context of the terminal device can be accurately sent to the target network device.

[0029] In a third aspect, the present application provides a communication method, which can be applied to a source network device, a processor, a chip, a chip system, or a functional module in the source network device. The method may include: the source network device receiving a context transfer request message from a first auxiliary context transfer network element, the context transfer request message including an identifier of a terminal device; the source network device obtaining a context of the terminal device based on the identifier of the terminal device; and the source network device sending a response message to the first auxiliary context transfer network element, the response message including the context of the terminal device.

[0030] Through the above method, it can be achieved that when the target network device cannot directly communicate with the source network device, the target network device can obtain the context of the terminal device through the first auxiliary context transmission network element.

[0031] In one possible design, the identifier of the terminal device may be a context identifier of the terminal device, so that the context of the terminal device can be accurately determined based on the context identifier of the terminal device.

[0032] In one possible design, the context transfer request message may further include an identifier of the target network device and / or an identifier of the source network device. When the context transfer request message includes the identifier of the source network device, the source network device can determine that the message is sent to itself; when the context transfer request message includes the identifier of the target network device, the source network device can determine that the context of the terminal device is requested by the target network device.

[0033] In one possible design, the response message may include an identifier of the target network device, so that the context of the terminal device can be accurately sent to the target network device.

[0034] In a fourth aspect, the present application provides a communication method, which can be applied to a source network device, a processor, a chip, a chip system, or a functional module in the source network device. The method may include: after the source network device determines that the terminal device has entered an inactive state, sending a context creation request message to a first auxiliary context transfer network element, wherein the context creation request message includes an identifier of the terminal device and the context of the terminal device. This allows the first auxiliary context transfer network element or other network elements to save the context of the terminal device, so that the target network device obtains the context of the terminal device from the first auxiliary context transfer network element, thereby enabling the target network device to obtain the context of the terminal device through the first auxiliary context transfer network element when the target network device cannot communicate directly with the source network device.

[0035] In a fifth aspect, the present application provides a communication method, which can be applied to a first auxiliary context transfer network element, a processor, a chip, a chip system, or a functional module in the first auxiliary context transfer network element. The method may include: the first auxiliary context transfer network element receiving a fourth context transfer request message from a target network device, the fourth context transfer request message including information for triggering a source network device to perform a handover; the first auxiliary context transfer network element determining a source network device of a terminal device, and sending a fifth context transfer request message to the source network device, the fifth context transfer request message including information for triggering a handover of the source network device.

[0036] Based on the above communication method, the target network device can trigger the source network device to perform a handover process to obtain the context of the terminal device.

[0037] In one possible design, the information used to trigger the source network device to perform a handover may include one or more of the following: target cell information, an identifier of the target network device, information instructing the source network device to perform a handover procedure, an identifier of the source network device, an identifier of the terminal device, or a cause value. This allows the source network device to accurately determine whether a handover procedure needs to be performed.

[0038] In one possible design, when the fourth context transfer request message includes the identifier of the source network device or the identifier of the terminal device, the first auxiliary context transfer network element may determine the source network device based on the identifier of the source network device or the identifier of the terminal device. In this way, the first auxiliary context transfer network element can accurately determine the source network device.

[0039] In a sixth aspect, the present application provides a communication method that can be applied to a target network device, a processor, chip, chip system, or functional module in the target network device. The method may include: after the target network device receives a connection recovery request message from a terminal device, sending a fourth context transfer request message to a first auxiliary context transfer network element, wherein the fourth context transfer request message includes information for triggering a handover on the source network device. The target network device receives the context of the terminal device from the source network device. Based on the above communication method, the target network device can obtain the context of the terminal device by triggering the source network device to perform a handover process.

[0040] In one possible design, the information used to trigger the source network device to perform a handover may include one or more of the following: target cell information, an identifier of the target network device, information instructing the source network device to perform a handover procedure, an identifier of the source network device, an identifier of the terminal device, or a cause value. This allows the source network device to accurately determine whether a handover procedure needs to be performed.

[0041] In one possible design, the connection restoration request message may include the identifier of the terminal device and / or the identifier of the source network device.

[0042] In a seventh aspect, the present application provides a communication method, which can be applied to a source network device, a processor, chip, chip system, or functional module in the source network device. The method may include: the source network device receiving a fifth context transfer request message from a first auxiliary context transfer network element, the fifth context transfer request message including information for triggering a handover on the source network device; the source network device determining, based on the fifth context transfer request message, to execute a handover procedure and sending the context of the terminal device to a target network device. Based on the above communication method, the target network device can obtain the context of the terminal device by triggering the source network device to perform a handover procedure.

[0043] In one possible design, the information used to trigger the source network device to perform a handover may include one or more of the following: target cell information, an identifier of the target network device, information instructing the source network device to perform a handover procedure, an identifier of the source network device, an identifier of the terminal device, or a cause value. This allows the source network device to accurately determine whether a handover procedure needs to be performed.

[0044] In an eighth aspect, the present application further provides a communication device, which may be a first auxiliary context transfer network element, and the communication device has the function of implementing the method in the above-mentioned first aspect or each possible design example of the first aspect, or the fifth aspect or each possible design example of the fifth aspect. The function can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.

[0045] In one possible design, the structure of the communication device may include a transceiver unit and a processing unit, which can execute the detailed description of the above-mentioned first aspect or each possible design example of the first aspect, or the fifth aspect or each possible design example of the fifth aspect, which will not be repeated here.

[0046] In one possible design, the communication device includes a transceiver and a processor, and optionally a memory. The transceiver is used to transmit and receive data, messages, or information, and to communicate and interact with other devices in the communication system. The processor is configured to support the communication device in performing the corresponding functions of the first aspect or each possible design example of the first aspect, or the fifth aspect or each possible design example of the fifth aspect. The memory is coupled to the processor and stores program instructions and data necessary for the communication device.

[0047] In a ninth aspect, the present application further provides a communication device, which may be a target network device, and which has the function of implementing the method of the second aspect or each possible design example of the second aspect, or the sixth aspect or each possible design example of the sixth aspect. The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

[0048] In one possible design, the structure of the communication device may include a transceiver unit and a processing unit, which can execute the detailed description of the above-mentioned second aspect or various possible design examples of the second aspect, or the sixth aspect or various possible design examples of the sixth aspect, which are not repeated here.

[0049] In one possible design, the communication device includes a transceiver and a processor, and optionally a memory. The transceiver is used to transmit and receive data, messages, or information, and to communicate and interact with other devices in the communication system. The processor is configured to support the communication device in performing the corresponding functions of the second aspect or each possible design example of the second aspect, or the sixth aspect or each possible design example of the sixth aspect. The memory is coupled to the processor and stores program instructions and data necessary for the communication device.

[0050] In a tenth aspect, the present application further provides a communication device, which may be a source network device, and which has the function of implementing the method of the third aspect or each possible design example of the third aspect, or the fourth aspect or each possible design example of the fourth aspect, or the seventh aspect or each possible design example of the seventh aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

[0051] In one possible design, the structure of the communication device may include a transceiver unit and a processing unit, which can perform the corresponding functions of the above-mentioned third aspect or each possible design example of the third aspect, or the fourth aspect or each possible design example of the fourth aspect, or the seventh aspect or each possible design example of the seventh aspect. Please refer to the detailed description in the method example for details, which will not be repeated here.

[0052] In one possible design, the structure of the communication device includes a transceiver and a processor, and optionally also includes a memory. The transceiver is used to transmit and receive data, messages, or information, and to communicate and interact with other devices in the communication system. The processor is configured to support the communication device in performing the corresponding functions of the third aspect or each possible design example of the third aspect, or the fourth aspect or each possible design example of the fourth aspect, or the seventh aspect or each possible design example of the seventh aspect. The memory is coupled to the processor and stores the necessary program instructions and data for the communication device.

[0053] In the eleventh aspect, an embodiment of the present application provides a communication system, which may include the terminal device, target network device, source network device and first auxiliary context transmission network element mentioned above.

[0054] In a twelfth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores program instructions. When the program instructions are executed on a computer, the computer performs the method described in the first aspect of the embodiment of the present application and any possible design thereof, or the second aspect and any possible design thereof, or the third aspect and any possible design thereof, or the fourth aspect and any possible design thereof, or the fifth aspect and any possible design thereof, or the sixth aspect and any possible design thereof, or the seventh aspect and any possible design thereof. Exemplarily, the computer-readable storage medium can be any available medium that can be accessed by a computer. By way of example but not limitation, the computer-readable medium can include non-transitory computer-readable media, random-access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), CD-ROM or other optical disk storage, magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.

[0055] In aspect 13, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, causes the method described in the first aspect or any possible design of the first aspect, or the second aspect or any possible design of the second aspect, or the third aspect or any possible design of the third aspect, or the fourth aspect or any possible design of the fourth aspect, or the fifth aspect or any possible design of the fifth aspect, or the sixth aspect or any possible design of the sixth aspect, or the seventh aspect or any possible design of the seventh aspect to be executed.

[0056] In the fourteenth aspect, the present application also provides a chip, including a processor, which is coupled to a memory and is used to read and execute program instructions stored in the memory, so that the chip implements the method described in the above-mentioned first aspect or any possible design of the first aspect, or the above-mentioned second aspect or any possible design of the second aspect, or the above-mentioned third aspect or any possible design of the third aspect, or the above-mentioned fourth aspect or any possible design of the fourth aspect, or the above-mentioned fifth aspect or any possible design of the fifth aspect, or the above-mentioned sixth aspect or any possible design of the sixth aspect, or the above-mentioned seventh aspect or any possible design of the seventh aspect.

[0057] For each of the above-mentioned aspects 8 to 14 and the technical effects that may be achieved by each of the aspects, please refer to the above-mentioned description of the technical effects that can be achieved with respect to the first aspect or the various possible solutions in the first aspect, or the above-mentioned second aspect or the various possible solutions in the second aspect, or the third aspect and the various possible solutions in the third aspect, or the fourth aspect and the various possible solutions in the fourth aspect, or the above-mentioned fifth aspect or the various possible solutions in the fifth aspect, or the sixth aspect and the various possible solutions in the sixth aspect, or the seventh aspect and the various possible solutions in the seventh aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] FIG1 is a schematic diagram of the architecture of a communication system provided by the present application;

[0059] FIG2 is a schematic diagram of a mobile scenario of a terminal device provided by the present application;

[0060] FIG3 is a schematic diagram of a method provided by the present application for implementing a target network device to obtain the context of a terminal device;

[0061] FIG4 is a flow chart of a communication method provided by the present application;

[0062] FIG5 is a flow chart of an example of a communication method provided by the present application;

[0063] FIG6 is a flowchart of an example of another communication method provided by the present application;

[0064] FIG7 is a flowchart of an example of another communication method provided by the present application;

[0065] FIG8 is a flow chart of another communication method provided by the present application;

[0066] FIG9 is a flowchart of an example of another communication method provided by the present application;

[0067] FIG10 is a schematic structural diagram of a communication device provided by the present application;

[0068] FIG11 is a structural diagram of a communication device provided in this application. DETAILED DESCRIPTION

[0069] The present application will be described in further detail below with reference to the accompanying drawings.

[0070] The present application provides a communication method and apparatus for enabling a target network device to accurately obtain the context of a terminal device when the terminal device is in an inactive state and there is no direct communication interface between the target network device and the source network device. The method and apparatus described in this application are based on the same technical concept. Since the method and apparatus solve similar problems, the implementation of the apparatus and method can refer to each other, and any repetitions will not be repeated.

[0071] In the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description and cannot be understood as indicating or implying relative importance or order.

[0072] In the description of this application, "at least one" means one or more, and "more" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or plural.

[0073] In the description of this application, "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, and B exists alone. A and B can be singular or plural. " / " means "or", for example, a / b means a or b.

[0074] In order to more clearly describe the technical solutions of the embodiments of the present application, the communication method and device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0075] Figure 1 shows the architecture of a possible communication system to which the communication method provided in the present application is applicable. The architecture of the communication system may include a radio access network, a terminal device, and a core network. Exemplarily, in the architecture of the communication system, the radio access network may include an access network device ((radio) access network, (R)AN). The core network may include: a user plane function (UPF) network element, a session management function network element (SMF) network element, an access and mobility management function (AMF) network element, a policy control function (PCF) network element, a unified data management function (UDM) network element / user data repository (UDR), a network element selection function network element, an identification storage function network element, and other network functions (other network, other NF) network elements, etc. Among them:

[0076] A terminal device, also known as user equipment (UE), mobile station (MS), or mobile terminal (MT), is a device that provides voice and / or data connectivity to users. For example, a terminal device may include a handheld device or vehicle-mounted device with wireless connectivity. Currently, terminal devices may include: mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, mixed reality (MR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes. In FIG1 , the terminal device is shown as a UE, which is only an example and does not limit the terminal device.

[0077] (R)AN equipment: equipment that provides access for terminal equipment, including radio access network (AN) equipment and access network (AN) equipment. RAN equipment is mainly 3GPP network wireless network equipment, and AN can be non-3GPP defined access network equipment. RAN equipment: mainly responsible for wireless resource management, quality of service (QoS) management, data compression and encryption and other functions on the air interface side. The access network equipment may include various forms of base stations, such as macro base stations, micro base stations (also called small stations), relay stations, access points, etc. In systems using different wireless access technologies, the names of devices with base station functions may be different. For example, in 5G systems, they are called RAN or gNB (5G NodeB).

[0078] NE selection function NE: used to select a target NE. The NE selection function NE selects a target NE based on information obtained, such as parameters provided by consumers and contract information obtained from the contract data management NE.

[0079] Identity storage function network element: used to store the correspondence between UE temporary identity and UE permanent identity. It can be understood that this function is a logical function and can be implemented by other network elements, such as the subscription data management network element.

[0080] The access and mobility management function network element can be used to manage the access control and mobility of terminal devices. Specifically, it can be responsible for terminal device registration, mobility management, tracking area update process, reachability detection, selection of session management function network elements, and mobile state transition management. The access and mobility management function network element is shown in Figure 1 using the AMF as an example. In this application, AMF can be understood as "registration management function".

[0081] The session management function network element can be used to manage terminal device sessions (including session establishment, modification, and release), select and reselect user plane function network elements, allocate Internet Protocol (IP) addresses to terminal devices, control quality of service (QoS), collect billing data, and perform roaming. The session management function network element can be an SMF network element, such as the one shown in Figure 1.

[0082] The user plane function network element is responsible for forwarding and receiving user data from terminal devices. It can receive user data from the data network and transmit it to the terminal device via access network equipment. The user plane function network element can also receive user data from the terminal device via the access network equipment and forward it to the data network. The transmission resources and scheduling functions provided by the user plane function network element to the terminal device are managed and controlled by the SMF network element. The user plane function network element can be a UPF network element, as shown in Figure 1.

[0083] The policy control function network element primarily supports providing a unified policy framework to control network behavior, provides policy rules to the control layer network function, and is responsible for obtaining user subscription information related to policy decisions. For example, it can provide rules based on service data flow and application detection, gating, QoS, and flow-based charging control. For example, the policy control function network element can be a PCF network element, as shown in Figure 1. Optionally, in this application, PCF can be understood as UE-PCF, which is the user's policy control function and provides user-based measurement rules.

[0084] Unified data management function network element: used for generating authentication credentials, user identity processing (such as storing and managing user permanent identities, etc.), access authorization control and contract data management, etc. For example, the unified data management function network element can be a UDM network element, such as shown in Figure 1.

[0085] Other functional network elements can be used to forward messages between base stations, such as transparent containers for the core network. Optionally, they can have an addressing function, routing the message to the corresponding destination RAN based on the destination RAN identifier contained in the message. For example, other functional network elements can include assistant context transfer (ACT) network elements.

[0086] The ACT network element can be used to store or route the context of terminal devices. In actual deployment, the ACT network element can be integrated with the mobility management network element, the connectivity management network element, or the air interface management network element, or as part of their functionality. In some implementations, the ACT network element can also be part of the RAN, which is not limited in this application.

[0087] The communication system architecture shown in Figure 1 can be understood as a RAN-based service-oriented architecture. RAN service-oriented architecture refers to the use of service-oriented interfaces between the RAN and core network elements (called N2 interfaces in 5G) and / or between the UE and core network elements (called NAS interfaces in 5G). This RAN-based service-oriented architecture offers the following advantages: It enables unified end-to-end orchestration, such as unified service discovery and service invocation; it reduces functional coupling between network elements; and from a performance perspective, it reduces signaling hops and enables faster connection establishment.

[0088] It should be understood that the architecture of the communication system illustrated in FIG1 is not limited to including only the network elements or devices shown in FIG1 , and may also include other network elements or devices not shown in the figure, and the embodiments of the present application will not be listed one by one here. The embodiments of the present application do not limit the distribution form of each network element. The distribution form shown in FIG1 is only exemplary and is not limited in this application.

[0089] Due to the mobility of the terminal device, the terminal device may move to an area outside the current serving cell. When the terminal device moves to an area outside the current serving cell, there may be three scenarios as described in Figure 2: Scenario 1, the target cell to which the terminal device moves belongs to the same base station; Scenario 2, the base station corresponding to the target cell to which the terminal device moves has an Xn interface with the source base station; Scenario 3, the base station corresponding to the target cell to which the terminal device moves can only be connected to the source base station through the N2 interface (or, the base station corresponding to the target cell to which the terminal device moves can only interact with the source base station through the core network, or, the base station corresponding to the target cell to which the terminal device moves has no direct interface (the interface that the gNBs can be interconnected through) with the source base station). For scenarios 1 and 2, regardless of the state of the terminal device (such as RRC inactive state or RRC connected state), the target base station can directly obtain the context of the terminal device. Then, for scenario 3, when the terminal device is in an inactive state (also called a radio resource control (RRC) inactive state), when the source base station and the target base station cannot communicate directly, for example, when the source base station and the target base station do not have an Xn interface, the target base station cannot directly obtain the context of the terminal device. Based on this, an embodiment of the present application provides a communication method to enable the target network device to accurately obtain the context of the terminal device when the terminal device is in an inactive state and there is no communication interface for direct communication between the source base station and the target base station, thereby avoiding special processing for this scenario in the service-oriented architecture (introducing additional functions for the core network network elements), thereby better supporting the service-oriented architecture.

[0090] It should be noted that the Xn interface and N2 interface described in this application are interface names in the 5G network. They are only for illustrative purposes and do not limit the names of the interfaces in actual application scenarios.

[0091] In the communication method provided by the present application, the network device saves the context of the terminal device and does not release it until the terminal device deregisters. That is to say, in a scenario where the terminal device moves, the source network device of the terminal device can save the context of the terminal device before the terminal device deregisters. Based on this, in the communication method provided by the present application, the target network device can obtain the context of the terminal device in two ways. For example, as shown in Figure 3, in the first way, the target network device obtains the context of the terminal device in the source network device through the ACT network element; in the second way, the target network device triggers the source base station to perform N2 switching through ACT to obtain the context of the terminal device.

[0092] In the following embodiments, when "XX network element or device" is the execution subject, it can be understood that it is executed by the XX network element or device, and it can also be understood that it is executed by the processor, chip, chip system, or a functional module in the XX network element or device. For example, an operation performed by a target network device can be understood as being executed by the target network device, and it can also be understood as being executed by the processor, chip, chip system, or a functional module in the target network device.

[0093] Based on the above description, an embodiment of the present application provides a communication method. Referring to FIG4 , the specific process of the method may include:

[0094] Step 401: The terminal device sends a connection restoration request message to the target network device, where the connection restoration request message includes an identifier of the terminal device.

[0095] The connection resumption request message may be an RRC resumption request message (RRC resume request).

[0096] The target network device is also the target access network device, or is called a target base station, etc. The source network device described below is also the source access network device, or is called a source base station, etc.

[0097] Step 402: The target network device sends a first context transfer request message to a first auxiliary context transfer network element. The first context transfer request message includes an identifier of the terminal device and is used to request a context for the terminal device. Accordingly, the first auxiliary context transfer network element receives the first context transfer request message from the target network device.

[0098] The first auxiliary context transmission network element may be an ACT network element or other network elements, which is not limited here.

[0099] The first context transfer request message may be a UE context transfer request (Nact_UEContextTransport request) message of an ACT network element or a context transfer request (Nact_Contexttransfer request) message of an ACT network element, or may be other messages, which are not limited here.

[0100] Step 403: The first auxiliary context transmission network element obtains the context of the terminal device according to the identifier of the terminal device.

[0101] Step 404: The first auxiliary context transfer network element sends a first response message to the target network device, where the first response message includes the context of the terminal device. Correspondingly, the target network device receives the first response message from the first auxiliary context transfer network element.

[0102] Through the above method, the target network device can obtain the context of the terminal device through the first auxiliary context transmission network element.

[0103] In an optional implementation a1, the identifier of the terminal device may be a context identifier (UE context ID) of the terminal device, or an inactive radio network temporary ID (I-RNTI), or a temporary identifier (globally unique temporary identifier, GUTI) assigned to the terminal device by the core network, or a device identifier (permanent equipment ID, PEI) of the terminal device, or a permanent identifier (subscription permanent identifier, SUPI) of the terminal device in the operator network, or a generic public subscription identifier (GPSI).

[0104] The connection restoration request message may further include an identifier of a source network device (source RAN identification, S-RAN ID). Further, the first context transfer request message may further include an identifier of the source network device.

[0105] The first context transfer request message may further include an identifier of the target network device (target RAN identification, T-RAN ID). For example, in the present application, the identifier of the target network device may be added by the target network device to the first transfer request message.

[0106] Exemplarily, the S-RAN ID or T-RAN ID may be in one of the following formats:

[0107] 1) Global RAN ID: identifies a specific network device (base station) in the entire network, which may further include public land mobile network (PLMN) information;

[0108] 2) PLMN-specific RAN ID: used to identify a base station within a specific PLMN. Compared to the global RAN ID, it does not contain PLMN information;

[0109] 3) Local RAN ID: Compared to the previous two, this ID contains less information and is used only to identify base stations within a specific area. For example, if the PLMN-specific RAN ID corresponds to an 8-digit number, the local RAN ID may only correspond to a 5-digit number. During deployment, a map-like coloring method can be used to avoid conflicts in local RAN IDs in adjacent areas.

[0110] 4) IP address of the network device;

[0111] 5) Partial identification of the host identification of a network device.

[0112] Of course, in addition to the above forms, the S-RAN ID or T-RAN ID may also be other forms of identification, which is not limited in this application.

[0113] Optionally, the identifier of the source network device can be an independent information element (IE) or part of the identifier of the terminal device, for example, the high X bits or the low X bits of the identifier of the terminal device (where X is any positive integer less than the identifier length of the terminal device), which is not limited in this application.

[0114] It should be noted that, if the identifier of the source network device is a part of the identifier of the terminal device, then the identifier of the source network device does not need to be included separately in the first context transfer request message.

[0115] Furthermore, in this implementation a1, the first auxiliary context transfer network element can obtain the context of the terminal device based on the identifier of the terminal device by the following method: the first auxiliary context transfer network element sends a second context transfer request message to the source network device based on the identifier of the source network device, and the second context transfer request message includes the identifier of the terminal device; the first auxiliary context transfer network element receives a second response message from the source network device, and the second response message includes the context of the terminal device.

[0116] The first auxiliary context transfer network element may determine the network device corresponding to the identifier of the source network device according to the identifier of the source network device, that is, determine the source network device, and then, the first auxiliary context transfer network element sends a second context transfer request message to the source network device.

[0117] The second context transfer request message may be a UE context transfer request (Nran_UEContextRetrieval request) message of the RAN or a context transfer request (Nran_Contexttransfer request) message of the RAN, or other messages, which is not limited in this application.

[0118] Optionally, after receiving the first context transfer request message, the first auxiliary context transfer network element may forward the first context transfer request message to a second auxiliary context transfer network element for processing based on factors such as local configuration. For example, the second auxiliary context transfer network element sends the second context transfer request message to the source network device based on the identifier of the source network device. The description of this application only uses the first auxiliary context transfer network element implementing the corresponding operation as an example, but does not limit this application.

[0119] After receiving the second context transfer request message, the source network device obtains the context of the terminal device according to the identifier of the terminal device. In this embodiment a1, the source network device can obtain the locally stored context of the terminal device according to the context identifier, or I-RNTI, or GUTI, or PEI, or SUPI of the terminal device.

[0120] Exemplarily, the context of the terminal device may include one or more of the following information: security information (security context) of the terminal device, protocol data unit (PDU) session information of the terminal device, subscription information of the terminal device (such as the maximum bit rate (UE aggregate maximum bit rate, UE AMBR)) of the terminal device or mobility restriction information, etc.

[0121] The second context transfer request message may also include the identifier of the target network device and / or the identifier of the source network device. The second response message may also include the identifier of the target network device. Furthermore, the first response message may also include the identifier of the target network device. This allows the context of the terminal device to be accurately sent to the target network device.

[0122] Based on implementation a1, the terminal device provides the identifier of the source network device and the context identifier of the terminal device in the connection recovery request message in order to locate the context of the corresponding network device and the terminal device, and then through the discovery function provided by the core network network element, the target network device can request the context of the terminal device from the source network device when it is unable to interact directly with the source network device, for example, when there is no Xn interface.

[0123] In an optional implementation a2, the first auxiliary context transfer network element can obtain the context of the terminal device based on the identifier of the terminal device by the following method: the first auxiliary context transfer network element determines the source network device of the terminal device based on the identifier of the terminal device, and sends a third context transfer request message to the source network device, wherein the third context transfer request message includes the identifier of the terminal device; the first auxiliary context transfer network element receives a third response message from the source network device, wherein the third response message includes the context of the terminal device.

[0124] The third context transfer request message may be an Nran_UEContextRetrieval request message or other messages, which is not limited in this application.

[0125] After receiving the third context transfer request message, the source network device obtains the context of the terminal device according to the identifier of the terminal device. The source network device may obtain the locally stored context of the terminal device according to the identifier of the terminal device.

[0126] In this embodiment a2, the first context transfer request message may further include the identifier of the target network device. Accordingly, the third context transfer request message may further include the identifier of the target network device. The third response message may further include the identifier of the target network device.

[0127] When the third context transfer request message does not include the identifier of the target network device, the third response message accordingly does not include the identifier of the target network device. At this time, after receiving the third response message, the first auxiliary context transfer network element can query the locally stored transaction identifier (transaction ID) to determine whether the context of the terminal device needs to be sent to the target network device.

[0128] The specific form of the identifier of the target network device can be found in the relevant description in implementation mode a1, and will not be described in detail here.

[0129] In one possible example, the first auxiliary context transfer network element determines the source network device of the terminal device based on the identifier of the terminal device. The method may be: the first auxiliary context transfer network element sends a first query message to a database network element, the first query message including the identifier of the terminal device; the first auxiliary context transfer network element receives a first query response message from the database network element, the first query response message including the identifier of the source network device; the first auxiliary context transfer network element determines the source network device based on the identifier of the source network device. Optionally, the first query response message also includes the identifier of the terminal device.

[0130] Based on this, the third context transfer request message may further include the identifier of the source network device.

[0131] Among them, in addition to database network elements, such as UDM, other network elements such as AMF, SMF and other network elements may also store the identification of the corresponding source network device of the terminal device. Therefore, the first auxiliary context transmission network element can also obtain the identification of the source network device from AMF, SMF and other network elements. It will not be introduced in detail here and no restrictions will be imposed.

[0132] In another possible example, the first auxiliary context transfer network element may store an identifier of a source network device corresponding to the terminal device. Based on this, the first auxiliary context transfer network element determines the source network device of the terminal device based on the identifier of the terminal device. The method may also include: the first auxiliary context transfer network element locally determines the identifier of the source network device corresponding to the terminal device based on the identifier of the terminal device, and then determines the source network device based on the identifier of the source network device.

[0133] In another possible example, the terminal device identifier includes identification information of the source network device, for example, an S-RAN ID, or a portion of the S-RAN ID. When the terminal device identifier includes a portion of the S-RAN ID, it may include the high-order Y bits or the low-order Y bits of the S-RAN ID, where Y is any integer less than or equal to the terminal device identifier length. When the terminal device identifier includes the S-RAN ID, reference may be made to the aforementioned description of the source network device identifier as part of the terminal device identifier, which is not repeated here.

[0134] Based on this, the first auxiliary context transmission network element determines the source network device of the terminal device according to the identification of the terminal device. The method can also be: the first auxiliary context transmission network element determines the identification of the source network device according to the identification information of the source network device included in the identification of the terminal device, and then determines the source network device according to the identification of the source network device.

[0135] The specific form of the identifier of the source network device can be found in the relevant description in implementation mode a1, and will not be described in detail here.

[0136] In a possible manner, the first query message may further include the identifier of the target network device. Correspondingly, the first query response message may further include the identifier of the target network device.

[0137] In this implementation a2, the database network element can store the correspondence between the source network device of the terminal device and the identifier of the terminal device. When the terminal device switches to a new network device, the new network device triggers the database network element to update the correspondence between the identifier of the terminal device and the identifier of the source network device (for example, the new network device sends its identifier to the database to request a database update). For example, one storage method of the database network element can be as shown in Table 1 below:

[0138] Table 1

[0139] The identifier of the terminal device (such as UE ID) in this application can be one of the following forms:

[0140] 1. A string consisting of numbers in decimal, hexadecimal, or other bases, such as "92416739" or "7E3CA90340";

[0141] 2. It is composed of decimal or hexadecimal numbers, such as "92416739", "7E3CA90340", etc.

[0142] 3. The information consists of three fields: "PLMN ID", "RAN ID", and "UE context ID", which represents a context under a base station belonging to a certain PLMN, and the information corresponding to a specific UE;

[0143] 4. The information consists of two fields: "PLMN ID" and "UE information", which indicates the information of a UE belonging to a certain PLMN;

[0144] 5. UE context ID: It indicates the context identifier of the UE under a certain base station;

[0145] 6. Inactive Radio Network Temporary ID (I-RNTI); the I-RNTI may represent an identifier assigned by the source network device and representing the context of the terminal device. The I-RNTI may include an identifier of the network device and an identifier of the context of the terminal device stored by the network device.

[0146] 7. Temporary identifier assigned by the core network to the terminal device;

[0147] 8. Equipment identification of the terminal device;

[0148] 9. Permanent identification of terminal equipment in the operator's network;

[0149] 10. Universal public user identification of terminal equipment, etc.

[0150] It should be understood that the above examples of terminal device identification are applicable to the identification of terminal devices described in various embodiments of this application, and other related areas are not explained one by one.

[0151] The specific form of the RAN ID can be found in the relevant description in implementation mode a1, and will not be described in detail here.

[0152] When the first query response message further includes the identifier of the target network device, the database network element may update the corresponding relationship stored therein, for example, replacing the identifier of the source network device with the identifier of the target network device.

[0153] For example, the database network element may be an identification storage function network element, UDM, AMF, PCF, SMF or UDR, etc.

[0154] Similarly, in implementation a2, when the first auxiliary context transfer network element requires assistance from other auxiliary context transfer network elements due to factors such as local configuration, the operation of the first auxiliary context transfer network element can also be completed by the second auxiliary context transfer network element, which will not be described in detail here.

[0155] Based on implementation a2, the terminal device provides the terminal device identifier in the connection recovery request message so that the target network device can locate the corresponding network device and the context of the terminal device, and then through the discovery function provided by the core network network element, the target network device can request the context of the terminal device from the source network device when it is unable to interact directly with the source network device, for example, when there is no Xn interface.

[0156] In an optional implementation a3, the first auxiliary context transmission network element may obtain the context of the terminal device according to the identifier of the terminal device through the following two methods:

[0157] Method b1: The first auxiliary context transmission network element determines the locally stored context of the terminal device according to the identifier of the terminal device.

[0158] Method b2: The first auxiliary context transmission network element sends a second query message to the database network element, where the second query message includes the identifier of the terminal device; and the first auxiliary context transmission network element receives the context of the terminal device from the database network element.

[0159] In one possible manner, when the source network device determines that the terminal device enters an inactive state (which can also be understood as when the terminal device switches from an RRC connected state to an RRC inactive state on the source network device), or when the terminal device resides on the source network device (for example, when the terminal device switches to an RRC connected state on the source network device or when the terminal device switches to the source network device), the source network device sends a context creation request message to the first auxiliary context transfer network element, and the context creation request includes the identifier of the terminal device and the context of the terminal device; thereafter, the first auxiliary context transfer network element saves the context of the terminal device; or, the first auxiliary context transfer network element sends the context of the terminal device to the database network element, so that the database network element saves the context of the terminal device.

[0160] In another possible embodiment, when the source network device determines that the terminal device enters an inactive state (which can also be understood as when the terminal device switches from an RRC connected state to an RRC inactive state on the source network device), or when the terminal device resides on the source network device (for example, when the terminal device switches to an RRC connected state on the source network device or when the terminal device switches to the source network device), the source network device sends a context creation request message to the database network element, and the context creation request includes the identifier of the terminal device and the context of the terminal device; thereafter, the database network element saves the context of the terminal device.

[0161] In some embodiments, the first auxiliary context transfer network element may send a context creation response message to the source network device, wherein the context creation response message includes an index number, wherein the index number represents identification information of the context of the terminal device in the core network, such as identification information of the context of the terminal device in the first auxiliary context transfer network element or the database network element.

[0162] When the source network device releases the terminal device that has entered the inactive state, the release message may include the identifier of the terminal device or the index number.

[0163] In some embodiments, the index number may also be used as part of the identification of the terminal device.

[0164] In this implementation a3, the identifier of the terminal device contained in the connection recovery request message can also be replaced by the index number, and it can also be understood that the index number represents the identifier of the terminal device; or, the identifier of the terminal device contains the index number.

[0165] The identifier of the terminal device in the second query message may also be replaced by the index number, and it may also be understood that the index number represents the identifier of the terminal device; or, the identifier of the terminal device includes the index number.

[0166] In this embodiment a3, the first context transfer request message may also include the identifier of the target network device and / or the index number. Accordingly, the second query message may also include the identifier of the target network device. Furthermore, the first response message may also include the identifier of the target network device, so that the target network device successfully receives the context of the terminal device.

[0167] Based on implementation a3, the context storage function provided by the core network element enables the target network device station to request the context of the terminal device from the core network when it cannot communicate directly with the source network device, for example, when there is no Xn interface.

[0168] In some embodiments, after the target network device receives the first response message, the target network device may send a connection recovery message, such as an RRC resume message, to the terminal device.

[0169] Subsequently, the target network device performs corresponding processing for the switching of the network device of the terminal device, such as location update, which is used for subsequent location registration, policy management, etc., and session state management, such as base station-based admission control, to notify the SMF of the received / rejected QoS flow.

[0170] It should be noted that the message names involved in this application are only exemplary descriptions, and each message name may also have other descriptions, which are not limited in this application.

[0171] Based on the embodiment shown in FIG4 , the communication method provided in the present application is described in detail below through specific examples, such as the examples shown in FIG5 to FIG7 . In the following examples, the target network device is a T-RAN, the source network device is an S-RAN, the first auxiliary context transfer network element is a first ACT, and the terminal device is a UE.

[0172] Figure 5 shows an example of a communication method, in which a core network element routes a UE context based on a RAN ID. For example, the example process of the communication method may include:

[0173] Step 501: The UE sends an RRC resume request message (RRC resume request) (ie, the aforementioned connection resume request message) to the T-RAN. The RRC resume request message may include the S-RAN ID and the UE context identifier.

[0174] Step 502: The T-RAN locally checks whether it can send a message directly to the RAN corresponding to the S-RAN ID. If the T-RAN can send a message directly to the RAN corresponding to the S-RAN ID, the T-RAN and S-RAN can communicate directly to obtain the context of the terminal device. The specific process is not described in this application. If the T-RAN cannot send a message directly to the RAN corresponding to the S-RAN ID, then step 503 and subsequent steps are executed.

[0175] As an example, the T-RAN may locally check whether there is an Xn interface between the T-RAN and the S-RAN to determine whether it can send messages directly to the S-RAN. For example, if there is an Xn interface between the T-RAN and the S-RAN, the T-RAN can send messages directly to the S-RAN. If there is no Xn interface between the T-RAN and the S-RAN, the T-RAN cannot send messages directly to the S-RAN.

[0176] It should be noted that the Xn interface here is the interface name of the 5G network. In practical applications, it can generally refer to the direct connection interface between base stations (the interface that the gNBs can be interconnected through), and this application does not limit it.

[0177] In the embodiment of the present application, the result of step 502 is that the T-RAN determines that it cannot directly send a message to the RAN corresponding to the S-RAN ID.

[0178] Step 503: The T-RAN sends a first context transfer request message to the first ACT. The first context transfer request message includes the UE ID. Additionally, the first context transfer message may also include the T-RAN ID and / or S-RAN ID. The specific form and meaning of each identifier can be found in the description of the embodiment shown in FIG. 4 and are not further detailed here.

[0179] Exemplarily, the T-RAN may invoke a service of the first ACT, such as a context transfer request service (Nact_Contexttransfer request) or Nact_UEContextTransport request, to implement sending of the first context transfer request message.

[0180] Step 504: After receiving the first context transfer request message, the first ACT may invoke the same service (i.e., context transfer request service) provided by another ACT (the second ACT in this example) based on factors such as local configuration. For example, the first ACT forwards the first context transfer request message to the second ACT.

[0181] It should be understood that if the first ACT can implement subsequent operations, step 504 does not exist, so step 504 is optional.

[0182] Step 505: The second ACT discovers the RAN corresponding to the S-RAN (i.e., the S-RAN) based on the S-RAN ID. It should be noted that the S-RAN ID here can be the information directly included in the first context transfer request message in step 503, or it can be obtained by the second ACT based on the UE ID. For details, please refer to the relevant description of the source network device as part of the terminal device identification in the embodiment shown in Figure 4, which will not be described in detail here.

[0183] Step 506: The second ACT sends a second context transfer request message to the S-RAN. The second context transfer request message includes the UE ID.

[0184] The second context transfer request message may also include an S-RAN ID and / or a T-RAN ID, which is not limited in this application.

[0185] Exemplarily, the second ACT may invoke a service provided by the S-RAN, such as a context transfer request service (Nran_Contexttransfer request) or Nran_UEContextRetrieval request, to implement sending of the second context transfer request message.

[0186] It should be understood that if step 504 does not exist, steps 505 and 506 are performed by the first ACT.

[0187] Step 507: The S-RAN determines the corresponding UE context according to the UE ID.

[0188] The content of the UE context can be found in the relevant description of the embodiment shown in FIG3 , and will not be repeated here.

[0189] Step 508: The S-RAN sends a second response message (Nran_Context transfer response) to the first ACT. The second response message includes the T-RAN ID and the UE context.

[0190] In some embodiments, the S-RAN may also send a second response message to the second ACT, which then forwards the second response message to the first ACT. In this case, the second response message may include an identifier of the first ACT. The figure illustrates the S-RAN sending the second response message to the first ACT as an example and does not limit the present application.

[0191] Step 509: The first ACT sends a first response message (Nran_Context transfer response) to the T-RAN. The first message includes the T-RAN ID and the UE context.

[0192] Step 510: T-RAN sends an RRC resume message to the UE.

[0193] Steps 511-512: The T-RAN performs corresponding processing for the UE's RAN handover. For example, in step 511, the T-RAN performs a location update (update location), which is used for subsequent location registration, policy management, and so on. For example, a location update message is sent to the AMF, SMF, or other functional network element, and the location update message includes the new cell ID. For another example, in step 512, the T-RAN performs session state management, that is, the T-RAN sends a session status update message to the SMF. This notifies the SMF of the accepted / rejected QoS flows based on the RAN's admission control.

[0194] Based on this example, the UE provides the S-RAN ID and UE ID in the RRC message to locate the corresponding base station + context. Through the discovery function provided by the core network element, the target base station can request the UE context from the source base station when there is no Xn interface.

[0195] FIG6 shows an example of another communication method, in which a core network element routes a UE context based on a UE ID. For example, the example process of the communication method may include:

[0196] Step 600: The database network element in the core network stores the correspondence between the S-RAN ID and the UE ID.

[0197] In one possible approach, when the UE switches to a new RAN, the new RAN (i.e., the RAN where the UE currently resides) triggers the database network element to update the correspondence between the UE ID and the S-RAN ID (e.g., the new RAN sends its ID to the database network element to request the database network element to update).

[0198] For example, an example of the correspondence between the S-RAN ID and the UE ID stored in the database network element can be found in Table 1 in the embodiment shown in FIG3 , which will not be described in detail here.

[0199] The UE ID format can also refer to the relevant description in the embodiment shown in FIG3 .

[0200] Step 601: The UE sends an RRC resume request message (RRC resume request) (ie, the aforementioned connection resume request message) to the T-RAN. The RRC resume request message may include the UE ID.

[0201] Step 602 is similar to step 502 in the example shown in FIG. 5 , and they can refer to each other and are not described in detail here.

[0202] Step 603: The T-RAN sends a first context transfer request message to the first ACT. The first context transfer request message may include: UE ID and T-RAN ID. The specific form or meaning of each identifier can be found in the relevant description of the embodiment shown in Figure 3 and will not be repeated here.

[0203] Exemplarily, the T-RAN may invoke a service of the first ACT, such as a context transfer request service (Nact_Contexttransfer request), to implement sending of the first context transfer request message.

[0204] Step 604 is similar to step 504 in the example shown in FIG. 5 , and they can refer to each other and are not described in detail here.

[0205] Step 605: The second ACT sends a first query message to the database network element, where the first query message includes the UE ID and is used to request to query the S-RAN ID corresponding to the UE ID.

[0206] The first query message may also include a T-RAN ID.

[0207] Step 606: The database network element sends a first query response message to the second ACT. The first query response message may include the S-RAN ID.

[0208] The first query response message may further include a UE ID.

[0209] If the first query message in step 605 includes the T-RAN ID, the database network element may update its stored information and replace the S-RAN ID with the T-RAN ID.

[0210] Step 607: The second ACT sends a third context transfer request message to the S-RAN. The third context transfer request message includes the UE ID.

[0211] The third context transfer request message may also include an S-RAN ID and / or a T-RAN ID.

[0212] Exemplarily, the second ACT may invoke a service provided by the S-RAN, such as a context transfer request service (Nran_Contexttransfer request), to implement sending of the third context transfer request message.

[0213] It should be understood that if step 604 does not exist, the operations of the second ACT in steps 605 to 607 are performed by the first ACT.

[0214] Step 608: The S-RAN determines the corresponding UE context according to the UE ID.

[0215] Step 609: The S-RAN sends a third response message (Nran_Context transfer response) to the first ACT. The third response message includes the UE context and may also include the T-RAN ID.

[0216] It should be noted that if the third context transfer request message in step 607 does not include the T-RAN ID, then the third response message in step 609 needs to be sent to the first ACT as a response message. At this time, the first ACT network element can further search the locally stored transaction identifier (transaction ID) to determine the context of the UE in step 609 to be sent to the corresponding T-RAN.

[0217] In some examples, the S-RAN may also send a third response message to the second ACT, which then forwards the third response message to the first ACT. In this case, the third response message may include an identifier of the first ACT. The figure illustrates only the example of the S-RAN sending the third response message to the first ACT, and does not limit the present application.

[0218] Step 610: The first ACT sends a first response message (Nran_Context transfer response) to the T-RAN. The first response message includes the T-RAN ID and the UE context.

[0219] Steps 611 to 613 are similar to the aforementioned steps 510 to 512 and can refer to each other, and will not be described in detail here.

[0220] In addition, if the first query message in step 605 does not include the T-RAN ID, the T-RAN may also trigger a process of updating the T-RAN ID to the database network element, which is not shown in the figure.

[0221] It is understandable that the operation of storing the correspondence between the S-RAN ID and the UE ID in the database network element in step 600 is not limited to being performed before step 601, and may be performed after the T-RAN sends the RRC recovery message to the UE in step 611.

[0222] Based on this example, the UE provides the UE ID in the RRC message so that the T-RAN can locate the corresponding base station + context. Then, through the discovery function provided by the core network element, the T-RAN can request the UE context from the source base station when there is no Xn interface.

[0223] Figure 7 shows an example of another communication method, in which the core network stores the UE context. When the S-RAN releases the UE's RRC connection, it needs to send the context to the core network; the target base station obtains the UE context from the core network using the UE's identifier or context index information. For example, the example process of this communication method may include:

[0224] Step 701: The S-RAN determines to release the RRC connection of the UE, which can also be understood as the S-RAN determining that the UE enters an inactive state.

[0225] In some embodiments, before the S-RAN releases the UE's RRC connection, or when the S-RAN releases the UE's RRC connection, or after the S-RAN releases the UE's RRC connection, the following steps 702-703 may be performed. In this example, the steps are performed only before the S-RAN sends a release message to the UE, that is, before the S-RAN releases the UE's RRC connection, and this is not intended to limit the present application.

[0226] Step 702: The S-RAN sends a context creation request message to the first ACT. The context creation request message includes the UE ID and the UE context.

[0227] The form or meaning of the UE ID and the UE context can be found in the relevant description in the embodiment shown in FIG3 , and will not be repeated here.

[0228] Exemplarily, the S-RAN may invoke a context create request service of the first ACT.

[0229] Step 702a: The first ACT saves the UE ID and the UE context to the database network element.

[0230] Step 703: The first ACT sends a context creation response message to the S-RAN.

[0231] The context creation response message may include an index number, ie, identification information of the UE context in the core network. The index number may come from the database network element.

[0232] Step 704: The S-RAN sends a release message to the UE to put the UE into an RRC inactive state. The release message may include one or more of the following information: UE ID or index number.

[0233] Step 705: The UE sends an RRC recovery request message (ie, the aforementioned connection recovery request message) to the T-RAN. The RRC recovery request message includes the UE ID or index number.

[0234] Step 706 is similar to the aforementioned step 502 and can refer to each other, so it will not be described in detail here.

[0235] Step 707: The T-RAN sends a first context transfer request message to the first ACT. The first context transfer request message may include one or more of the following information: UE ID, T-RAN ID, or index number. The specific form or meaning of each identifier can be found in the description of the embodiment shown in FIG3 and is not further described here.

[0236] Exemplarily, the T-RAN may invoke a service of the first ACT, such as a context transfer request service (Nact_Contexttransfer request), to implement sending of the first context transfer request message.

[0237] Step 708 is similar to step 504 in the example shown in FIG. 5 , and they can refer to each other and are not described in detail here.

[0238] Step 709: The second ACT sends a second query message to the database network element. The second query message includes the UE ID or index number. The second query message is used to request to query the S-RAN ID corresponding to the UE ID.

[0239] The second query message may also include a T-RAN ID.

[0240] Step 710: The database network element sends the UE context to the second ACT.

[0241] Step 711: The second ACT sends a first response message (Nran_Context transfer response) to the T-RAN. The first message includes the T-RAN ID and the UE context.

[0242] It should be understood that if step 708 does not exist, the operations of the second ACT in steps 709 to 711 are performed by the first ACT.

[0243] Steps 712 to 714 are similar to the aforementioned steps 510 to 512 and can refer to each other, so they will not be described in detail here.

[0244] Based on this example, through the context storage function provided by the core network network element, the target network device station can request the context of the terminal device from the core network when there is no Xn interface.

[0245] In addition, the embodiment of the present application further provides another communication method, as shown in FIG8 , the specific process of the method may include:

[0246] Step 801: The terminal device sends a connection restoration request message to the target network device. Correspondingly, the target network device receives the connection restoration request message from the terminal device.

[0247] In an optional embodiment, before step 801, the terminal device receives a release message (such as RRC release or RRC connection release) from the source network device to release the RRC connection. The release message may include an identifier of the source network device and a context identifier of the terminal device. Exemplarily, the context identifier of the terminal device may also be an identifier of the terminal device.

[0248] The connection restoration request message may include the identifier of the terminal device and / or the identifier of the source network device.

[0249] Step 802: The target network device sends a fourth context transfer request message to the first auxiliary context transfer network element. The fourth context transfer request message may include information for triggering a handover of the source network device. Correspondingly, the first auxiliary context transfer network element receives the fourth context transfer request message from the target network device.

[0250] For example, the information used to trigger the source network device to switch includes one or more of the following: target cell information, the identifier of the target network device, information instructing the source network device to execute the switching process, the identifier of the source network device, the identifier of the terminal device or the reason value.

[0251] The target cell information identifies the cell where the terminal device currently resides when requesting access to the target network device (ie, sending a connection recovery request message to the target network device).

[0252] The forms of the identifier of the target network device, the identifier of the source network device or the identifier of the terminal device can be found in the relevant description in the embodiment shown in FIG4 , and will not be described in detail here.

[0253] The information instructing the source network device to execute the handover process may be a trigger request, which is used to request the source network device to be triggered to execute the N2 handover process.

[0254] The cause value is used to indicate the reason for the handover. For example, the cause value may indicate that "the terminal device is currently requesting to restore the RRC connection on the target network device, but the target network device does not have a communication interface with the source network device, such as an Xn interface."

[0255] In some implementations, the cause value may also be a form of information instructing the source network device to execute a switching process, which is not limited in this application.

[0256] Step 803: The first auxiliary context transmission network element determines the source network device of the terminal device.

[0257] In one possible manner, when the fourth context transfer request message includes the identifier of the source network device or the identifier of the terminal device, the first auxiliary context transfer network element may determine the source network device according to the identifier of the source network device or the identifier of the terminal device.

[0258] At this time, the identifier of the terminal device may include the identifier of the source network device. Accordingly, the first auxiliary context transfer network element may determine the identifier of the source network device according to the identifier of the terminal device.

[0259] For example, the first auxiliary context transfer network element may execute a source network device discovery process.

[0260] In one possible example, the first auxiliary context transfer network element locally stores a correspondence between the source network device identifier and the actual source network device address. In another possible example, the first auxiliary context transfer network element searches for information about the source network device using a network element with a search function in the network. Other scenarios are possible, and this application does not limit these scenarios.

[0261] Step 804: The first auxiliary context transfer network element sends a fifth context transfer request message to the source network device, wherein the fifth context transfer request message includes information for triggering the source network device to perform a handover. Accordingly, the source network device receives the fifth context transfer request message from the first auxiliary context transfer network element.

[0262] It is understandable that when the first auxiliary context transfer network element requires assistance from other auxiliary context transfer network elements due to factors such as local configuration, the operation of the first auxiliary context transfer network element can also be completed by the second auxiliary context transfer network element, which will not be described in detail here.

[0263] Step 805: The source network device determines to execute a handover process according to the fifth context transfer request message.

[0264] When the fifth context transfer request message includes the identifier of the terminal device, the source network device may obtain the context of the terminal device according to the identifier of the terminal device.

[0265] For example, the source network device may execute an N2 switching process to send the context of the terminal device to the target network device through the N2 switching process.

[0266] It should be noted that the N2 switching process here is used to represent the switching process performed when the source network device and the target network device have no interface, and is not limited to being based on the N2 interface.

[0267] Step 806: The source network device sends the context of the terminal device to the target network device. Correspondingly, the target network device receives the context of the terminal device from the source network device.

[0268] The source network device may send the context of the terminal device to the target network device through the core network.

[0269] Based on this communication method, the target network device can trigger the source network device to perform an N2 handover process to obtain the context of the terminal device.

[0270] Based on the embodiment shown in FIG8 , the communication method provided by the present application is described in detail below through a specific example, such as the example shown in FIG9 . In the following example, the target network device is a T-RAN, the source network device is an S-RAN, the first auxiliary context transfer network element is a first ACT, and the terminal device is a UE.

[0271] Step 900: The S-RAN sends an RRC connection release message to the UE. The RRC connection release message includes the S-RAN ID and the UE context ID.

[0272] For specific possible examples of the S-RAN ID and the UE context ID, please refer to the description of the embodiment shown in FIG. 4 .

[0273] Step 901: The UE sends an RRC connection restoration request message (i.e., the connection restoration request message in the embodiment shown in FIG8 ) to the T-RAN. The RRC connection restoration request message includes the S-RAN ID and the UE context ID information.

[0274] The UE context ID may be a UE ID.

[0275] Step 902: The T-RAN locally checks whether it can send a message directly to the RAN corresponding to the S-RAN ID. If the T-RAN can send a message directly to the RAN corresponding to the S-RAN ID, the T-RAN and S-RAN can communicate directly to obtain the context of the terminal device. The specific process is not described in this application. If the T-RAN cannot send a message directly to the RAN corresponding to the S-RAN ID, then step 903 and subsequent steps are executed.

[0276] For example, the T-RAN can locally check whether there is an Xn interface between the T-RAN and the S-RAN to determine whether it can send messages directly to the S-RAN. For example, if there is an Xn interface between the T-RAN and the S-RAN, the T-RAN can send messages directly to the S-RAN. If there is no Xn interface between the T-RAN and the S-RAN, the T-RAN cannot send messages directly to the S-RAN.

[0277] It should be noted that the Xn interface here is the interface name of the 5G network. In actual applications, it can generally refer to the direct connection interface between base stations (the interface that the gNBs can be interconnected through), and this application is not limited.

[0278] In the embodiment of the present application, the result of step 902 is that the T-RAN determines that it cannot directly send a message to the RAN corresponding to the S-RAN ID.

[0279] Step 903: The T-RAN sends a fourth context transfer request message to the first ACT. The fourth context transfer request message may include information for triggering the S-RAN to perform handover, such as one or more of the following information: T-RAN cell information, T-RAN ID, trigger request, S-RAN ID, or UE context ID (which may also be UE ID).

[0280] Exemplarily, the T-RAN may invoke a service of the first ACT, such as a context transfer request service (Nact_Contexttransfer request), to implement sending of the fourth context transfer request message.

[0281] Step 904: After receiving the fourth context transfer request message, the first ACT may, based on factors such as local configuration, invoke the same service (i.e., context transfer request service) provided by another ACT (the second ACT in this example). For example, the first ACT forwards the fourth context transfer request message to the second ACT.

[0282] It should be understood that if the first ACT can implement subsequent operations, step 904 does not exist, so step 904 is optional.

[0283] Step 905: The second ACT performs the S-RAN discovery process according to the S-RAN ID.

[0284] One possible example is that the second ACT locally stores the correspondence between the S-RAN ID and the actual S-RAN address; another possible example is that the second ACT searches for S-RAN information through a network element with a search function in the network.

[0285] Step 906: The second ACT sends a fifth context transfer request message to the S-RAN. The fifth context transfer request message includes information for triggering the source network device to perform handover, for example, specifically including one or more pieces of information shown in step 903.

[0286] Exemplarily, the second ACT may invoke a service provided by the S-RAN, such as a context transfer request service (Nran_Contexttransfer request), to implement sending of the fifth context transfer request message.

[0287] Step 907: The S-RAN obtains the UE context according to the UE context ID (or UE ID) in the fifth context transfer request message.

[0288] Step 908: The S-RAN determines whether a handover process needs to be triggered based on the fifth context transfer request message. In this application, if the S-RAN determines that a handover process needs to be triggered, step 909 is executed.

[0289] Step 909: S-RAN triggers the N2 handover process.

[0290] In the N2 handover process, the T-RAN can directly obtain the UE context from the S-RAN. That is, in the N2 handover process, the S-RAN sends the UE context to the T-RAN, which is not shown in the figure.

[0291] Based on this example, the T-RAN can trigger the S-RAN to perform an N2 handover process to obtain the context of the terminal device.

[0292] Based on the above embodiments, the embodiments of the present application further provide a communication device. Referring to FIG10 , the communication device 1000 may include a transceiver unit 1001 and a processing unit 1002. The transceiver unit 1001 is used for the communication device 1000 to receive messages (information or data) or send messages (information or data), and the processing unit 1002 is used to control and manage the actions of the communication device 1000. The processing unit 1002 may also control the steps performed by the transceiver unit 1001.

[0293] Exemplarily, the communication device 1000 can specifically be the first auxiliary context transfer network element (such as ACT) in the above-mentioned embodiment, the processor in the first auxiliary context transfer network element, or a chip, or a chip system, or a functional module, etc.; or, the communication device 1000 can specifically be the target network device (such as T-RAN) in the above-mentioned embodiment, the processor of the target network device, or a chip, or a chip system, or a functional module, etc.; or, the communication device 1000 can specifically be the source network device (such as S-RAN) in the above-mentioned embodiment, the processor of the source network device, or a chip, or a chip system, or a functional module, etc.

[0294] In one embodiment, when the communication device 1000 is used to implement the function of the first auxiliary context transfer network element (such as ACT) in the embodiments shown in Figures 4 to 7 above: the transceiver unit 1001 can be used to receive a first context transfer request message from the target network device, the first context transfer request message includes the identifier of the terminal device, and the first context transfer request message is used to request the context of the terminal device; the processing unit 1002 can be used to obtain the context of the terminal device based on the identifier of the terminal device; the transceiver unit 1001 can also be used to send a first response message to the target network device, and the first response message includes the context of the terminal device.

[0295] The first context transfer request message may further include an identifier of a source network device.

[0296] In an optional embodiment, when the processing unit 1002 obtains the context of the terminal device based on the identifier of the terminal device, it can be used to: control the transceiver unit 1001 to send a second context transfer request message to the source network device based on the identifier of the source network device, the second context transfer request message includes the identifier of the terminal device; and receive a second response message from the source network device, the second response message includes the context of the terminal device.

[0297] The second context transfer request message may further include an identifier of the target network device and / or an identifier of the source network device.

[0298] For example, the identifier of the terminal device may be a context identifier of the terminal device.

[0299] In another optional embodiment, when the processing unit 1002 obtains the context of the terminal device based on the identifier of the terminal device, it can be used to: determine the source network device of the terminal device based on the identifier of the terminal device; control the transceiver unit 1001 to send a third context transfer request message to the source network device, the third context transfer request message including the identifier of the terminal device; and control the transceiver unit 1001 to receive a third response message from the source network device, the third response message including the context of the terminal device.

[0300] In one possible manner, when determining the source network device of the terminal device based on the identifier of the terminal device, the processing unit 1002 can be used to: control the transceiver unit 1001 to send a first query message to the database network element, wherein the first query message includes the identifier of the terminal device; control the transceiver unit 1001 to receive a first query response message from the database network element, wherein the first query response message includes the identifier of the source network device; and determine the source network device based on the identifier of the source network device.

[0301] The third context transfer request message may further include an identifier of the target network device and / or an identifier of the source network device.

[0302] In another optional embodiment, when the processing unit 1002 obtains the context of the terminal device based on the identifier of the terminal device, it can be used to: determine the locally stored context of the terminal device based on the identifier of the terminal device; or, control the transceiver unit 1001 to send a second query message to the database network element, wherein the second query message includes the identifier of the terminal device; and control the transceiver unit 1001 to receive the context of the terminal device from the database network element.

[0303] In some embodiments, the transceiver unit 1001 can also be used to receive a context creation request message from a source network device, wherein the context creation request includes an identifier of the terminal device and the context of the terminal device; the processing unit 1002 can also be used to save the context of the terminal device; or, the transceiver unit 1001 can also be used to send the context of the terminal device to a database network element.

[0304] Exemplarily, the first context transfer request message may further include the identifier of the target network device. Correspondingly, the first response message may further include the identifier of the target network device.

[0305] In another embodiment, when the communication device 1000 is used to implement the functions of the target network device (such as T-RAN) in the embodiments shown in Figures 4 to 7 above: the transceiver unit 1001 is used to receive a connection recovery request message from a terminal device, the connection recovery request message including the identifier of the terminal device; send a first context transfer request message to a first auxiliary context transfer network element, the first context transfer request message including the identifier of the terminal device, the first context transfer request message being used to request the context of the terminal device; and receive a first response message from the first auxiliary context transfer network element, the first response message including the context of the terminal device. The processing unit 1002 is used to control the transceiver unit 1001 to perform the above-mentioned transceiver operations.

[0306] Exemplarily, the connection restoration request message may further include an identifier of the source network device.

[0307] Correspondingly, the first context transfer request message may further include an identifier of the source network device.

[0308] In one possible manner, the identifier of the terminal device may be a context identifier of the terminal device.

[0309] Optionally, the connection restoration request message may further include an identifier of the target network device.

[0310] Correspondingly, the first context transfer request message may further include the identifier of the target network device.

[0311] The first response message may further include an identifier of the target network device.

[0312] In another embodiment, when the communication device 1000 is used to implement the functions of the source network device (such as S-RAN) in the embodiments shown in Figures 4 to 6 above: the transceiver unit 1001 can be used to receive a context transfer request message from a first auxiliary context transfer network element, and the context transfer request message includes an identifier of the terminal device; the processing unit 1002 can be used to obtain the context of the terminal device based on the identifier of the terminal device; the transceiver unit 1001 can also be used to send a response message to the first auxiliary context transfer network element, and the response message includes the context of the terminal device.

[0313] Exemplarily, the identifier of the terminal device may be a context identifier of the terminal device.

[0314] Optionally, the context transfer request message may further include an identifier of the target network device and / or an identifier of the source network device.

[0315] The response message may further include an identifier of the target network device.

[0316] In another embodiment, when the communication device 1000 is used to implement the function of the source network device (such as S-RAN) in the embodiment shown in Figure 4 or Figure 7 above: the processing unit 1002 can be used to determine that the terminal device enters an inactive state; the transceiver unit 1001 can be used to send a context creation request message to the first auxiliary context transfer network element, and the context creation request message includes the identifier of the terminal device and the context of the terminal device.

[0317] In another embodiment, when the communication device 1000 is used to implement the function of the first auxiliary context transfer network element (such as ACT) in the embodiments shown in Figures 8-9 above: the transceiver unit 1001 can be used to receive the first four context transfer request messages from the target network device, and the fourth context transfer request message includes information for triggering the source network device to switch; the processing unit 1002 can be used to determine the source network device of the terminal device; the transceiver unit 1001 can also be used to send a fifth context transfer request message to the source network device, and the fifth context transfer request message includes information for triggering the source network device to switch.

[0318] Exemplarily, the information used to trigger the source network device to switch may include one or more of the following: target cell information, an identifier of the target network device, information instructing the source network device to execute a switching process, an identifier of the source network device, an identifier of the terminal device, or a reason value.

[0319] In an optional implementation, when the fourth context transfer request message includes the identifier of the source network device or the identifier of the terminal device, the processing unit 1002 can be specifically configured to determine the source network device based on the identifier of the source network device or the identifier of the terminal device.

[0320] In another embodiment, when the communication device 1000 is used to implement the functions of the target network device (e.g., T-RAN) in the embodiments shown in Figures 8 and 9 above: the transceiver unit 1001 can be used to receive a connection recovery request message from the terminal device; send a fourth context transfer request message to the first auxiliary context transfer network element, the fourth context transfer request message including information for triggering a handover of the source network device; and receive the context of the terminal device from the source network device. The processing unit 1002 can be used to control the transceiver unit 1001 to perform the above-mentioned transceiver operations.

[0321] Exemplarily, the information used to trigger the source network device to switch may include one or more of the following: target cell information, an identifier of the target network device, information instructing the source network device to execute a switching process, an identifier of the source network device, an identifier of the terminal device, or a reason value.

[0322] The connection restoration request message may include the identifier of the terminal device and / or the identifier of the source network device.

[0323] In another embodiment, when the communication device 1000 is used to implement the functions of the source network device (such as S-RAN) in the embodiments shown in Figures 8 and 9 above: the transceiver unit 1001 can be used to receive a fifth context transfer request message from the first auxiliary context transfer network element, where the fifth context transfer request message includes information for triggering the source network device to perform a handover; the processing unit 1002 can be used to determine to execute a handover process based on the fifth context transfer request message. The transceiver unit 1001 can also be used to send the context of the terminal device to the target network device.

[0324] Exemplarily, the information used to trigger the source network device to switch may include one or more of the following: target cell information, an identifier of the target network device, information instructing the source network device to execute a switching process, an identifier of the source network device, an identifier of the terminal device, or a reason value.

[0325] It should be noted that the division of units in the embodiments of the present application is schematic and is merely a logical functional division. In actual implementation, other division methods may be used. The functional units in the embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0326] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method 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.

[0327] Based on the above embodiments, embodiments of the present application further provide a communication device. Referring to FIG. 11 , the communication device 1100 may include a transceiver 1101 and a processor 1102. Optionally, the communication device 1100 may further include a memory 1103. The memory 1103 may be located within or outside the communication device 1100. The processor 1102 may control the transceiver 1101 to receive and send messages, information, or data. The transceiver may be, for example, a transceiver.

[0328] Specifically, the processor 1102 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP. The processor 1102 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0329] The transceiver 1101, the processor 1102, and the memory 1103 are interconnected. Optionally, the transceiver 1101, the processor 1102, and the memory 1103 are interconnected via a bus 1104; the bus 1104 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be classified as an address bus, a data bus, a control bus, and the like. For ease of illustration, FIG11 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.

[0330] In an optional embodiment, the memory 1103 is used to store programs, etc. Specifically, the programs may include program code, which includes computer operating instructions. The memory 1103 may include RAM, or may also include non-volatile memory (non-volatile memory), such as one or more disk storage devices. The processor 1102 executes the application program stored in the memory 1103 to implement the above functions, thereby realizing the functions of the communication device 1100.

[0331] Exemplarily, the communication device 1100 can specifically be the first auxiliary context transfer network element (such as ACT) in the above-mentioned embodiment; or, the communication device 1100 can specifically be the target network device (such as T-RAN) in the above-mentioned embodiment, or the processor of the target network device; or, the communication device 1100 can specifically be the source network device (such as S-RAN) in the above-mentioned embodiment.

[0332] In one embodiment, when the communication device 1100 implements the functions of the first auxiliary context transfer network element (e.g., ACT) in the embodiments shown in Figures 4 to 9, the transceiver 1101 may implement the transceiver operations performed by the first auxiliary context transfer network element (e.g., ACT) in the embodiments shown in Figures 4 to 9; and the processor 1102 may implement other operations other than the transceiver operations performed by the first auxiliary context transfer network element (e.g., ACT) in the embodiments shown in Figures 4 to 9. For specific related descriptions, please refer to the relevant descriptions of the embodiments shown in Figures 4 to 9 above, and will not be described in detail here.

[0333] In another embodiment, when the communication device 1100 implements the functions of the target network device (e.g., T-RAN) in the embodiments shown in Figures 4 to 9, the transceiver 1101 can implement the transceiver operations performed by the target network device (e.g., T-RAN) in the embodiments shown in Figures 4 to 9; the processor 1102 can implement other operations other than the transceiver operations performed by the target network device (e.g., T-RAN) in the embodiments shown in Figures 4 to 9. Specific related descriptions can be found in the related descriptions of the embodiments shown in Figures 4 to 9 above, and will not be described in detail here.

[0334] In another embodiment, when the communication device 1100 implements the functions of the source network device (e.g., S-RAN) in the embodiments shown in Figures 4 to 9, the transceiver 1101 can implement the transceiver operations performed by the source network device (e.g., S-RAN) in the embodiments shown in Figures 4 to 9; the processor 1102 can implement other operations other than the transceiver operations performed by the source network device (e.g., S-RAN) in the embodiments shown in Figures 4 to 9. Specific related descriptions can be found in the related descriptions of the embodiments shown in Figures 4 to 9 above, and will not be described in detail here.

[0335] Based on the above embodiments, an embodiment of the present application provides a communication system, which may include the terminal device involved in the above embodiments, the first auxiliary context transmission network element, the target network device and the source network device, etc.

[0336] An embodiment of the present application further provides a computer-readable storage medium, which is used to store a computer program. When the computer program is executed by a computer, the computer can implement any one of the communication methods in Figures 4 to 9 provided in the above method embodiments.

[0337] An embodiment of the present application further provides a computer program product, which is used to store a computer program. When the computer program is executed by a computer, the computer can implement any one of the communication methods in Figures 4 to 9 provided in the above method embodiments.

[0338] An embodiment of the present application also provides a chip, including a processor, which is coupled to a memory and is used to call a program in the memory so that the chip implements any one of the communication methods in Figures 4 to 9 provided in the above method embodiments.

[0339] An embodiment of the present application further provides a chip, which is coupled to a memory and is used to implement any one of the communication methods in Figures 4 to 9 provided in the above method embodiments.

[0340] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0341] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flow charts and / or one or more boxes in the block diagram.

[0342] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0343] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0344] Obviously, those skilled in the art may make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include these modifications and variations.

Claims

1. A communication method, characterized in that: include: The first auxiliary context transfer network element receives a first context transfer request message from a target network device, where the first context transfer request message includes an identifier of a terminal device, and the first context transfer request message is used to request a context of the terminal device; The first auxiliary context transmission network element obtains the context of the terminal device according to the identifier of the terminal device; The first auxiliary context transmission network element sends a first response message to the target network device, where the first response message includes the context of the terminal device.

2. The method according to claim 1, characterized in that The first context transfer request message also includes an identifier of a source network device.

3. The method according to claim 2, characterized in that The first auxiliary context transmission network element obtains the context of the terminal device according to the identifier of the terminal device, including: The first auxiliary context transfer network element sends a second context transfer request message to the source network device according to the identifier of the source network device, where the second context transfer request message includes the identifier of the terminal device; The first auxiliary context transmission network element receives a second response message from the source network device, where the second response message includes the context of the terminal device.

4. The method according to claim 3, characterized in that The second context transfer request message further includes an identifier of the target network device and / or an identifier of the source network device.

5. The method according to any one of claims 1 to 4, characterized in that: The identifier of the terminal device is a context identifier of the terminal device.

6. The method according to claim 1, characterized in that The first auxiliary context transmission network element obtains the context of the terminal device according to the identifier of the terminal device, including: The first auxiliary context transmission network element determines the source network device of the terminal device according to the identifier of the terminal device; The first auxiliary context transfer network element sends a third context transfer request message to the source network device, where the third context transfer request message includes an identifier of the terminal device; The first auxiliary context transmission network element receives a third response message from the source network device, where the third response message includes the context of the terminal device.

7. The method according to claim 6, characterized in that The first auxiliary context transmission network element determines the source network device of the terminal device according to the identifier of the terminal device, including: The first auxiliary context transmission network element sends a first query message to a database network element, where the first query message includes an identifier of the terminal device; The first auxiliary context transmission network element receives a first query response message from the database network element, where the first query response message includes an identifier of the source network device; The first auxiliary context transmission network element determines the source network device according to the identifier of the source network device.

8. The method according to claim 6 or 7, characterized in that The third context transfer request message further includes an identifier of the target network device and / or an identifier of the source network device.

9. The method according to claim 1, characterized in that The first auxiliary context transmission network element obtains the context of the terminal device according to the identifier of the terminal device, including: The first auxiliary context transmission network element determines the locally stored context of the terminal device according to the identifier of the terminal device; or The first auxiliary context transmission network element sends a second query message to a database network element, where the second query message includes an identifier of the terminal device; and the first auxiliary context transmission network element receives the context of the terminal device from the database network element.

10. The method according to claim 1 or 9, characterized in that: The method further comprises: The first auxiliary context transmission network element receives a context creation request message from a source network device, where the context creation request includes an identifier of the terminal device and a context of the terminal device; The first auxiliary context transmission network element stores the context of the terminal device; or, the first auxiliary context transmission network element sends the context of the terminal device to a database network element.

11. The method according to any one of claims 1 to 10, characterized in that: The first context transfer request message also includes an identifier of the target network device.

12. A communication method, characterized in that: include: The target network device receives a connection restoration request message from the terminal device, wherein the connection restoration request message includes an identifier of the terminal device; The target network device sends a first context transfer request message to the first auxiliary context transfer network element, where the first context transfer request message includes an identifier of the terminal device, and the first context transfer request message is used to request a context of the terminal device; The target network device receives a first response message from the first auxiliary context transmission network element, where the first response message includes the context of the terminal device.

13. The method according to claim 12, characterized in that The connection restoration request message also includes an identifier of the source network device.

14. The method according to claim 13, characterized in that The first context transfer request message also includes an identifier of a source network device.

15. The method according to any one of claims 12 to 14, characterized in that: The identifier of the terminal device is a context identifier of the terminal device.

16. The method according to any one of claims 12 to 15, characterized in that: The first context transfer request message also includes an identifier of the target network device.

17. A communication method, characterized in that: include: The source network device receives a context transfer request message from the first auxiliary context transfer network element, where the context transfer request message includes an identifier of the terminal device; The source network device acquires the context of the terminal device according to the identifier of the terminal device; The source network device sends a response message to the first auxiliary context transmission network element, where the response message includes the context of the terminal device.

18. The method according to claim 17, characterized in that The identifier of the terminal device is a context identifier of the terminal device.

19. The method according to claim 17 or 18, characterized in that The context transfer request message further includes an identifier of the target network device and / or an identifier of the source network device.

20. The method according to any one of claims 17 to 19, characterized in that: The response message includes the identification of the target network device.

21. A communication method, characterized in that: include: The source network device determines that the terminal device enters an inactive state; The source network device sends a context creation request message to the first auxiliary context transmission network element, where the context creation request message includes an identifier of the terminal device and a context of the terminal device.

22. A communication device, characterized in that: Includes memory, processor and transceiver, where: The memory is used to store computer instructions; The transceiver is used to receive and send signals; The processor is coupled to the memory and is configured to call computer instructions in the memory to execute the method according to any one of claims 1 to 11 through the transceiver.

23. A communication device, characterized in that: Includes memory, processor and transceiver, where: The memory is used to store computer instructions; The transceiver is used to receive and send signals; The processor is coupled to the memory and is configured to call computer instructions in the memory to execute the method according to any one of claims 12 to 16 through the transceiver.

24. A communication device, characterized in that: Includes memory, processor and transceiver, where: The memory is used to store computer instructions; The transceiver is used to receive and send signals; The processor is coupled to the memory, and is configured to call computer instructions in the memory to execute the method according to any one of claims 17 to 20, or to execute the method according to claim 21, through the transceiver.

25. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when called by the computer, execute the method as described in any one of claims 1-11, or the method as described in any one of claims 12-16, or the method as described in any one of claims 17-20, or the method as described in claim 21.

26. A computer program product, characterized in that Contains instructions, which, when executed on a computer, cause the method according to any one of claims 1 to 11, or the method according to any one of claims 12 to 16, or the method according to any one of claims 17 to 20, or the method according to claim 21 to be performed.

27. A chip, characterized in that: The chip is coupled to the memory and is used to read and execute program instructions stored in the memory to implement the method as described in any one of claims 1-11, or the method as described in any one of claims 12-16, or the method as described in any one of claims 17-20, or the method as described in claim 21.

Citation Information

Patent Citations

  • Context storage method and device

    CN111491338A

  • Context recovery method and device

    CN113950121A

  • Wireless communication method, terminal device and network device

    CN114303421A

  • UE Context Retrieve for V2X Services

    US20180160436A1