Context acquisition method and apparatus, communication device, and readable storage medium
By obtaining the session identifier from the co-located communication device and performing local context translation, the problem of wasted network resources during terminal network switching is solved, achieving more efficient network resource utilization and reducing the probability of errors.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- VIVO MOBILE COMM CO LTD
- Filing Date
- 2024-12-23
- Publication Date
- 2026-06-23
AI Technical Summary
When switching networks at the terminal, existing technologies require multiple transmissions of session context within the core network, resulting in a waste of network resources.
By obtaining the session identifier from the co-located communication equipment and performing context translation locally, session context transmission within the core network can be avoided.
It saves network resources, reduces the probability of network errors, and optimizes the process of terminals moving between different networks.
Smart Images

Figure CN122269375A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, specifically relating to a context acquisition method, apparatus, communication device, and readable storage medium. Background Technology
[0002] In related technologies, when a terminal switches between different networks, such as switching from a 5th generation (5G) network to a 4th generation (4G) network, it is usually necessary to transmit the context of the 4G Packet Data Network (PDN) connection corresponding to the Protocol Data Unit (PDU) session to be transferred in the 5G network multiple times within the core network to establish a 4G PDN connection and maintain service continuity or Internet Protocol (IP) continuity when the terminal switches from a 5G network to a 4G network. This results in a waste of network resources. Summary of the Invention
[0003] This application provides a context acquisition method, apparatus, communication device, and readable storage medium, which can solve the problem of wasted network resources caused by multiple transmissions of session context within the core network in related technologies.
[0004] Firstly, a context acquisition method is provided, executed by a first communication device, the method comprising:
[0005] The first communication device acquires the identifier of the first session; wherein the first communication device is a device jointly provided by the first network and the second network, and the first session is a session to be transferred in the first network;
[0006] The first communication device obtains the context of the first session based on the identifier of the first session;
[0007] The first communication device generates the context of the second session based on the context of the first session; wherein the second session is the session in the second network corresponding to the first session.
[0008] Secondly, a context acquisition method is provided, executed by a second communication device, the method comprising:
[0009] The second communication device acquires the identifier of the first session; wherein the first session is a session to be transferred in the first network, and the second communication device is a device in the second network;
[0010] The second communication device sends the identifier of the first session to the first communication device; wherein, the first communication device is a device co-located in the first network and the second network; the identifier of the first session is used to obtain the context of the first session, and generate the context of the second session based on the context of the first session; the second session is a session in the second network corresponding to the first session.
[0011] Thirdly, a context acquisition method is provided, executed by a fourth communication device, the method comprising:
[0012] The fourth communication device acquires the identifier of the third session; wherein, the fourth communication device is a device of the third network, and the third session is a session to be transferred in the third network;
[0013] The fourth communication device obtains the context of the third session based on the identifier of the third session;
[0014] The fourth communication device generates the context of the fourth session based on the context of the third session; wherein the fourth session is the session in the fourth network corresponding to the third session.
[0015] Fourthly, a context acquisition method is provided, executed by a fifth communication device, the method comprising:
[0016] The fifth communication device acquires the identifier of the third session and the relevant information of the fourth communication device corresponding to the third session; wherein, the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the third session is a session to be transferred in the third network;
[0017] The fifth communication device sends the identifier of the third session to the fourth communication device based on the relevant information of the fourth communication device; wherein, the identifier of the third session is used to request the context of the fourth session, and the fourth session is the session in the fourth network corresponding to the third session.
[0018] Fifthly, a context acquisition method is provided, executed by a seventh communication device, the method comprising:
[0019] The seventh communication device acquires the first information;
[0020] The first information includes at least one of the following:
[0021] At least one identifier for a third session;
[0022] Parameter information of the fourth session corresponding to each third session in at least one third session;
[0023] Information related to the fourth communication device corresponding to each third session in at least one third session;
[0024] Wherein, the third session is a session to be transferred in the third network, the fourth session is a session in the fourth network corresponding to the third session, and the fourth communication device is a device in the third network;
[0025] The identifier of the third session is used to obtain the context of the fourth session;
[0026] The parameter information of the fourth session is used to select the fifth communication device in the fourth network corresponding to the fourth session.
[0027] Sixthly, a context acquisition method is provided, executed by a fourth communication device, the method comprising:
[0028] The fourth communication device sends the identifier of the fifth session to the fifth communication device; wherein, the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network;
[0029] The fourth communication device receives from the fifth communication device the context of the fifth session obtained based on the identifier of the fifth session;
[0030] The fourth communication device generates the context of the sixth session based on the context of the fifth session, wherein the sixth session is the session in the third network corresponding to the fifth session.
[0031] In a seventh aspect, a context acquisition method is provided, executed by a fifth communication device, the method comprising:
[0032] The fifth communication device receives the identifier of the fifth session sent by the fourth communication device; wherein, the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network;
[0033] The fifth communication device obtains the context of the fifth session based on the identifier of the fifth session, and sends the context of the fifth session to the fourth communication device; wherein, the context of the fifth session is used to generate the context of the sixth session, and the sixth session is the session in the third network corresponding to the fifth session.
[0034] Eighthly, a context acquisition method is provided, executed by a second communication device, the method comprising:
[0035] The eighth communication device acquires third information;
[0036] The third information includes at least one of the following:
[0037] At least one identifier for the fifth session;
[0038] Parameter information for each of the five sessions in at least one fifth session;
[0039] Information related to the fifth communication device corresponding to each fifth session in at least one fifth session;
[0040] The fifth session is a session to be transferred in the fourth network, and the identifier of the fifth session is used to obtain the context of the sixth session. The sixth session is a session in the third network corresponding to the fifth session.
[0041] The fifth communication device is a device of the fourth network, and the relevant information of the fifth communication device is used to select the fifth communication device.
[0042] Ninthly, a context acquisition device is provided, comprising:
[0043] The first acquisition module is used for the first communication device to acquire the identifier of the first session; wherein the first communication device is a device jointly provided by the first network and the second network, and the first session is a session to be transferred in the first network;
[0044] The second acquisition module is used to acquire the context of the first session based on the identifier of the first session;
[0045] The first generation module is used to generate the context of the second session based on the context of the first session; wherein the second session is the session in the second network corresponding to the first session.
[0046] In a tenth aspect, a context acquisition device is provided, comprising:
[0047] The third acquisition module is used for the second communication device to acquire the identifier of the first session; wherein the first session is a session to be transferred in the first network, and the second communication device is a device in the second network;
[0048] A first sending module is configured to send an identifier of the first session to a first communication device; wherein the first communication device is a device co-located with the first network and the second network; the identifier of the first session is used to obtain the context of the first session and generate the context of the second session based on the context of the first session; the second session is a session in the second network corresponding to the first session.
[0049] Eleventhly, a context acquisition device is provided, comprising:
[0050] The fourth acquisition module is used for the fourth communication device to acquire the identifier of the third session; wherein, the fourth communication device is a device of the third network, and the third session is a session to be transferred in the third network;
[0051] The fifth acquisition module is used to acquire the context of the third session based on the identifier of the third session;
[0052] The second generation module is used to generate the context of the fourth session based on the context of the third session; wherein the fourth session is the session in the fourth network corresponding to the third session.
[0053] In a twelfth aspect, a context acquisition device is provided, comprising:
[0054] The sixth acquisition module is used by the fifth communication device to acquire the identifier of the third session and the relevant information of the fourth communication device corresponding to the third session; wherein, the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the third session is a session to be transferred in the third network;
[0055] The third sending module is used to send the identifier of the third session to the fourth communication device according to the relevant information of the fourth communication device; wherein the identifier of the third session is used to request the context of the fourth session, and the fourth session is the session in the fourth network corresponding to the third session.
[0056] In a thirteenth aspect, a context acquisition device is provided, comprising:
[0057] The seventh acquisition module is used by the seventh communication device to acquire the first information;
[0058] The first information includes at least one of the following:
[0059] At least one identifier for a third session;
[0060] Parameter information of the fourth session corresponding to each third session in at least one third session;
[0061] Information related to the fourth communication device corresponding to each third session in at least one third session;
[0062] Wherein, the third session is a session to be transferred in the third network, the fourth session is a session in the fourth network corresponding to the third session, and the fourth communication device is a device in the third network;
[0063] The identifier of the third session is used to obtain the context of the fourth session; the parameter information of the fourth session is used to select the fifth communication device in the fourth network corresponding to the fourth session.
[0064] The relevant information of the fourth communication device is used to select the fourth communication device.
[0065] In a fourteenth aspect, a context acquisition device is provided, comprising:
[0066] The fourth sending module is used to send the identifier of the fifth session from the fourth communication device to the fifth communication device; wherein the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network;
[0067] The second receiving module is configured to receive from the fifth communication device the context of the fifth session obtained according to the identifier of the fifth session;
[0068] The third generation module is used to generate the context of the sixth session based on the context of the fifth session, wherein the sixth session is the session in the third network corresponding to the fifth session.
[0069] In a fifteenth aspect, a context acquisition device is provided, comprising:
[0070] The fourth receiving module is used for the fifth communication device to receive the identifier of the fifth session sent by the fourth communication device; wherein the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network;
[0071] The fifth sending module is used to obtain the context of the fifth session based on the identifier of the fifth session, and send the context of the fifth session to the fourth communication device; wherein the context of the fifth session is used to generate the context of the sixth session, and the sixth session is the session in the third network corresponding to the fifth session.
[0072] In a sixteenth aspect, a context acquisition device is provided, comprising:
[0073] The eighth acquisition module is used by the eighth communication device to acquire third information;
[0074] The third information includes at least one of the following:
[0075] At least one identifier for the fifth session;
[0076] Parameter information for each of the five sessions in at least one fifth session;
[0077] Information related to the fifth communication device corresponding to each fifth session in at least one fifth session;
[0078] The fifth session is a session to be transferred in the fourth network, and the identifier of the fifth session is used to obtain the context of the sixth session. The sixth session is a session in the third network corresponding to the fifth session.
[0079] The eighth communication device is a device of the third network, and the relevant information of the fifth communication device is used to select the fifth communication device.
[0080] In a seventeenth aspect, a context acquisition apparatus is provided, the apparatus being configured to perform the steps of the method described in the first aspect, or implement the steps of the method described in the second aspect, or implement the steps of the method described in the third aspect, or implement the steps of the method described in the fourth aspect, or implement the steps of the method described in the fifth aspect, or implement the steps of the method described in the sixth aspect, or implement the steps of the method described in the seventh aspect, or implement the steps of the method described in the eighth aspect.
[0081] Eighteenthly, a communication device is provided, the communication device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the first aspect, or the method as described in the second aspect, or the method as described in the third aspect, or the method as described in the fourth aspect, or the method as described in the fifth aspect, or the method as described in the sixth aspect, or the method as described in the seventh aspect, or the method as described in the eighth aspect.
[0082] In a nineteenth aspect, a communication device is provided, including a processor and a communication interface. For example, when the communication device is a first communication device, the processor is used to obtain an identifier of a first session; the first communication device is a device co-located with a first network and a second network, and the first session is a session to be transferred in the first network; based on the identifier of the first session, the context of the first session is obtained; based on the context of the first session, a context of a second session is generated; wherein the second session is a session in the second network corresponding to the first session. Alternatively, when the communication device is a second communication device, the processor is used to obtain an identifier of the first session; wherein the first session is a session to be transferred in the first network, and the second communication device is a device in the second network; the communication interface is used to send the identifier of the first session to the first communication device; the first communication device is a device co-located with the first network and the second network; the identifier of the first session is used to obtain the context of the first session, and based on the context of the first session, a context of the second session is generated; the second session is a session in the second network corresponding to the first session. Alternatively, when the communication device is a fourth communication device, the processor is used to obtain the identifier of the third session; wherein the fourth communication device is a device of a third network, and the third session is a session to be transferred in the third network; based on the identifier of the third session, the processor obtains the context of the third session; based on the context of the third session, the processor generates the context of the fourth session; the fourth session is a session in the fourth network corresponding to the third session. Alternatively, when the communication device is a fifth communication device, the processor is used to obtain the identifier of the third session and relevant information of the fourth communication device corresponding to the third session; the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the third session is a session to be transferred in the third network; the communication interface is used to send the identifier of the third session to the fourth communication device based on the relevant information of the fourth communication device; the identifier of the third session is used to request the context of the fourth session, and the fourth session is a session in the fourth network corresponding to the third session. Alternatively, when the communication device is a seventh communication device, the processor is used to acquire first information; wherein the first information includes at least one of the following: an identifier of at least one third session; parameter information of a fourth session corresponding to each of the at least one third session; relevant information of a fourth communication device corresponding to each of the at least one third session; the third session is a session to be transferred in a third network, the fourth session is a session in the fourth network corresponding to the third session, and the fourth communication device is a device of the third network; the identifier of the third session is used to acquire the context of the fourth session; and the parameter information of the fourth session is used to select a fifth communication device in the fourth network corresponding to the fourth session.Alternatively, when the communication device is a fourth communication device, the communication interface is used to send the identifier of a fifth session to a fifth communication device; the fourth communication device is a device of a third network and receives the context of the fifth session obtained from the fifth communication device based on the identifier of the fifth session; the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network; the processor is used to generate the context of a sixth session based on the context of the fifth session, and the sixth session is a session in the third network corresponding to the fifth session. Alternatively, when the communication device is a fifth communication device, the communication interface is used to receive the identifier of a fifth session sent by the fourth communication device; the fourth communication device is a device of a third network, the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network; the processor is used to obtain the context of the fifth session based on the identifier of the fifth session and send the context of the fifth session to the fourth communication device; the context of the fifth session is used to generate the context of the sixth session, and the sixth session is a session in the third network corresponding to the fifth session. Alternatively, when the communication device is the eighth communication device, the processor is used to acquire third information; wherein the third information includes at least one of the following: an identifier of at least one fifth session; parameter information of each fifth session in at least one fifth session; relevant information of the fifth communication device corresponding to each fifth session in at least one fifth session; the fifth session is a session to be transferred in the fourth network, the identifier of the fifth session is used to obtain the context of the sixth session, the sixth session is a session in the third network corresponding to the fifth session; the fifth communication device is a device of the fourth network, and the relevant information of the fifth communication device is used to select the fifth communication device.
[0083] In a twentieth aspect, a readable storage medium is provided, on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect, or the steps of the method described in the second aspect, or the steps of the method described in the third aspect, or the steps of the method described in the fourth aspect, or the steps of the method described in the fifth aspect, or the steps of the method described in the sixth aspect, or the steps of the method described in the seventh aspect, or the steps of the method described in the eighth aspect.
[0084] In a twentieth aspect, a chip is provided, the chip including a processor and a communication interface coupled to the processor, the processor being configured to run a program or instructions to implement the method as described in the first aspect, or the method as described in the second aspect, or the steps of the method as described in the third aspect, or the steps of the method as described in the fourth aspect, or the steps of the method as described in the fifth aspect, or the steps of the method as described in the sixth aspect, or the steps of the method as described in the seventh aspect, or the steps of the method as described in the eighth aspect.
[0085] In a twenty-second aspect, a computer program / program product is provided, the computer program / program product being stored in a storage medium, the computer program / program product being executed by at least one processor to implement the steps of the method as described in the first aspect, or the steps of the method as described in the second aspect, or the steps of the method as described in the third aspect, or the steps of the method as described in the fourth aspect, or the steps of the method as described in the fifth aspect, or the steps of the method as described in the sixth aspect, or the steps of the method as described in the seventh aspect, or the steps of the method as described in the eighth aspect.
[0086] The solution implemented in this application allows for local context translation based on the identifier of the received session to be transferred, thereby eliminating the need for transmission of the corresponding session context within the core network and saving network resources. Attached Figure Description
[0087] Figure 1 This diagram illustrates a block diagram of a wireless communication system to which embodiments of this application may be applied;
[0088] Figure 2 This is a flowchart of a context acquisition method provided in an embodiment of this application;
[0089] Figure 3 This is a flowchart of another context acquisition method provided in an embodiment of this application;
[0090] Figure 4 This is one of the flowcharts of the context acquisition method in a specific embodiment of this application;
[0091] Figure 5 This is the second flowchart of the context acquisition method in a specific embodiment of this application;
[0092] Figure 6 This is a flowchart of another context acquisition method provided in an embodiment of this application;
[0093] Figure 7 This is a flowchart of another context acquisition method provided in an embodiment of this application;
[0094] Figure 8 This is a flowchart of another context acquisition method provided in an embodiment of this application;
[0095] Figure 9 This is a flowchart of another context acquisition method provided in an embodiment of this application;
[0096] Figure 10 This is a flowchart of another context acquisition method provided in an embodiment of this application;
[0097] Figure 11 This is a flowchart of another context acquisition method provided in an embodiment of this application;
[0098] Figure 12 This is the third flowchart of the context acquisition method in a specific embodiment of this application;
[0099] Figure 13 This is the fourth flowchart of the context acquisition method in a specific embodiment of this application;
[0100] Figure 14 This is a schematic diagram of the structure of a context acquisition device provided in an embodiment of this application;
[0101] Figure 15 This is a schematic diagram of another context acquisition device provided in an embodiment of this application;
[0102] Figure 16 This is a schematic diagram of another context acquisition device provided in an embodiment of this application;
[0103] Figure 17 This is a schematic diagram of another context acquisition device provided in an embodiment of this application;
[0104] Figure 18 This is a schematic diagram of another context acquisition device provided in an embodiment of this application;
[0105] Figure 19 This is a schematic diagram of another context acquisition device provided in an embodiment of this application;
[0106] Figure 20 This is a schematic diagram of another context acquisition device provided in an embodiment of this application;
[0107] Figure 21 This is a schematic diagram of another context acquisition device provided in an embodiment of this application;
[0108] Figure 22 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;
[0109] Figure 23This is a schematic diagram of the structure of a network-side device provided in an embodiment of this application. Detailed Implementation
[0110] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0111] The terms "first," "second," etc., used in this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, the first object can be one or more. Furthermore, "or" in this application indicates at least one of the connected objects. For example, the scope of protection for "A or B" covers at least three scenarios: Scenario 1: including A but not B; Scenario 2: including B but not A; Scenario 3: including both A and B. In addition, the terms "A and / or B," "at least one of A and B," and "at least one of A or B" also cover at least the above three scenarios. The character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0112] The term "instruction" in this application can be either a direct instruction (or explicit instruction) or an indirect instruction (or implicit instruction). A direct instruction can be understood as one in which the sender explicitly informs the receiver of specific information, the operation to be performed, or the requested result, etc., in the instruction sent. An indirect instruction can be understood as one in which the receiver determines the corresponding information based on the instruction sent by the sender, or makes a judgment and determines the operation to be performed or the requested result, etc., based on the judgment result.
[0113] It is worth noting that the technologies described in this application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), or other systems. The terms "system" and "network" in this application are often used interchangeably, and the described technologies can be used with the systems and radio technologies mentioned above, as well as with other systems and radio technologies. The following description describes New Radio (NR) systems for illustrative purposes, and the term NR is used in most of the following description; however, these technologies can also be applied to systems other than NR systems, such as 6th generation (6G) radio systems. th Generation 6G communication system.
[0114] Figure 1This diagram illustrates a block diagram of a wireless communication system applicable to embodiments of this application. The wireless communication system includes a terminal 11 and a network-side device 12. The terminal 11 can be a mobile phone, tablet computer, laptop computer, notebook computer, personal digital assistant (PDA), handheld computer, netbook, ultra-mobile personal computer (UMPC), mobile internet device (MID), augmented reality (AR) device, virtual reality (VR) device, robot, wearable device, flight vehicle, vehicle user equipment (VUE), shipboard equipment, pedestrian user equipment (PUE), smart home devices (home appliances with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), game consoles, personal computers (PCs), ATMs, or self-service machines, etc. Wearable devices include: smartwatches, smart bracelets, smart earphones, smart glasses, smart jewelry (smart bracelets, smart chains, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among these, in-vehicle devices can also be referred to as in-vehicle terminals, in-vehicle controllers, in-vehicle modules, in-vehicle components, in-vehicle chips, or in-vehicle units, etc. Furthermore, in addition to the terminals described above, terminal 11 can also be a chip within a terminal, such as a modem chip, a system-on-chip (SoC), etc. It should be noted that the specific type of terminal 11 is not limited in the embodiments of this application.
[0115] Network-side equipment 12 may include access network equipment or core network equipment. Access network equipment may also be referred to as Radio Access Network (RAN) equipment, radio access network function, or radio access network unit. Access network equipment may include base stations, Wireless Local Area Network (WLAN) access points (AS), or Wireless Fidelity (WiFi) nodes, etc. In this context, a base station may be referred to as a Node B (NB), an Evolved Node B (eNB), a Next Generation Node B (gNB), a New Radio Node B (NR Node B), an Access Point, a Relay Base Station (RBS), a Serving Base Station (SBS), a Base Transceiver Station (BTS), a Radio Base Station, a Radio Transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a Home Node B (HNB), a Home Evolved Node B, a Transmit / Receive Point (TRP), or any other suitable term in the relevant field, as long as the same technical effect is achieved. The base station is not limited to any specific technical terminology. It should be noted that in this application embodiment, only a base station in an NR system is used as an example for description, and the specific type of base station is not limited.
[0116] Core network equipment, also known as core network nodes, core network functions, or core network elements, includes, but is not limited to, at least one of the following: Mobility Management Entity (MME), Access and Mobility Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Server Discovery Function (EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (or L-NEF), and Binding Support Function. Support Functions (BSF), Application Functions (AF), Location Management Functions (LMF), Gateway Mobile Location Centres (GMLC), and Network Data Analytics Functions (NWDAF), etc. It should be noted that this application embodiment only uses core network equipment in the NR system as an example and does not limit the specific type of core network equipment. If the name of the core network equipment mentioned in this application embodiment changes in subsequent protocol versions (e.g., 6G), it will still be within the scope of protection of this application.
[0117] Optionally, the core network equipment can be implemented by one or more functional modules in a single device, or by multiple devices working together; this application does not specifically limit this. It is understood that the aforementioned functional modules can be network elements in hardware devices, software functional modules running on dedicated hardware, or virtualized functional modules instantiated on a platform (e.g., a cloud platform).
[0118] Protocol Data Unit (PDU) sessions are a 5G concept, corresponding to PDN connections in 4G. Each PDU session can contain one or more Quality of Service (QoS) flows, each supporting a specific QoS level; for example, voice traffic is a QoS flow with QoS level 1. Each PDN connection can contain one or more Evolved Packet System (EPS) bearers, each supporting a specific QoS level; for example, voice traffic is an EPS bearer with QoS level 1. 5G QoS flows correspond to 4G EPS bearers.
[0119] In 5G, to ensure the continuity of Internet Protocol (IP), network elements co-located with 4G are set up, such as SMF+PGW-C (Packet Data Network Gateway Control Plane) and UPF+PGW-U (Packet Data Network Gateway User Plane).
[0120] In 6G, to prevent terminals from being unable to switch back to 4G after transitioning from 6G to 5G, it may be necessary to include 6G SMF and 6G UPF in the co-located network elements, such as 6G SMF+5G SMF+PGW-C or 6G UPF+5G UPF+PGW-U. It should be noted that 6G SMF and 6G UPF are 6G network elements, with 6G SMF used for session management and 6G UPF used for forwarding user data. 6G SMF can also have other names, such as eSMF (enhanced SMF); 6G AMF can also have other names, such as eAMF (enhanced AMF) or MMF (mobility management function).
[0121] To optimize terminal movement between different network systems, the following issues also need to be addressed:
[0122] Question 1: If the terminal switches from 6G to 5G using a similar approach to switching from 5G to 4G, the 6G SMF+5G SMF+PGW-C needs to send the 5G PDU session context mapped from the 6G PDU session context to the 5G AMF. The 5G AMF then forwards it to the 6G AMF, and finally the 6G AMF forwards it to the 6G SMF+5G SMF+PGW-C. This process requires the 5G PDU session context to be transferred three times within the core network, wasting network resources.
[0123] To address the aforementioned issue 1, in the case of co-location of 6G SMF+5G SMF+PGW-C, only the identifier ID of the PDU session to be switched can be transmitted between 6G AMF and 5G AMF. 6G SMF+5G SMF+PGW-C can then perform context translation locally based on the received PDU session ID, thereby eliminating the need for PDU session context transmission within the core network and saving network resources.
[0124] Question 2: If 6G SMF is added to the 5G SMF+PGW-C network element that is used for both 5G and 4G, the already complex and bloated 5G SMF+PGW-C will become even more complex and bloated, thereby increasing the probability of errors in this network element and increasing the risk of errors in the operator's network.
[0125] To address issue 2 above, the 6G SMF can be deployed independently. Only the PDU session ID, PDU session parameters, and target SMF information need to be transmitted between the 6G AMF and 5G AMF. When the 6G SMF learns of the PDU session to be transferred, it directly obtains the terminal's PDU session context from the 5G SMF+PGW-C. This independent deployment of the 6G SMF reduces the probability of network errors.
[0126] It should be noted that the session in this application embodiment can be a 6G PDU session, a 5G PDU session, or a 4G PDN connection, etc. For example, if the session is a 6G PDU session, during the UE's switch from 6G to 5G, the session needs to be transferred to 5G and a 5G PDU session corresponding to the 6G PDU session needs to be generated; or, if the session is a 5G PDU session, during the UE's switch from 5G to 4G, the session needs to be transferred to 4G and a 4G PDN connection corresponding to the 5G PDU session needs to be generated; or, if the session is a 6G PDU session, during the UE's switch from 6G to 4G, the first session needs to be transferred to 4G and a 4G PDN connection corresponding to the 6G PDU session needs to be generated.
[0127] The context acquisition method, apparatus, communication device, and readable storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through some embodiments and application scenarios.
[0128] Please see Figure 2 , Figure 2 This is a flowchart of a context acquisition method provided in an embodiment of this application. The method is executed by a first communication device, such as... Figure 2 As shown, the method includes the following steps:
[0129] Step 21: The first communication device obtains the identifier of the first session, which is a session to be transferred in the first network, such as a transfer (transfer or move) from the first network to the second network;
[0130] For example, the session here can be a 6G PDU session, a 5G PDU session, or a 4G PDN connection. For instance, if the first session is a 6G PDU session, during the UE's switch from 6G to 5G, the first session needs to be transferred to 5G and a 5G PDU session corresponding to the 6G PDU session needs to be generated; or, if the first session is a 5G PDU session, during the UE's switch from 5G to 4G, the first session needs to be transferred to 4G and a 4G PDN connection corresponding to the 5G PDU session needs to be generated; or, if the first session is a 6G PDU session, during the UE's switch from 6G to 4G, the first session needs to be transferred to 4G and a 4G PDN connection corresponding to the 6G PDU session needs to be generated.
[0131] Step 22: The first communication device obtains the context of the first session based on the identifier of the first session;
[0132] Step 23: The first communication device generates the context of the second session based on the context of the first session; the second session is the session in the second network that corresponds to the first session.
[0133] In this embodiment, the first communication device is a device that combines a first network and a second network, meaning it deploys both the first and second networks and is primarily used for session management. For example, if the first network is a 5G network and the second network is a 6G network, or vice versa, the first communication device is a device that combines 5G and 6G networks, such as a network element that combines 5G SMF and 6G SMF. Alternatively, the first communication device can also be a device that combines 4G, 5G, and 6G networks, such as a network element that combines PGW-C, 5G SMF, and 6G SMF; or it can also be a device that combines 4G and 6G networks, such as a network element that combines PGW-C and 6G SMF.
[0134] The first network is the network the terminal was in before the handover, and the second network is the network the terminal switched to.
[0135] The first session can be either a PDU session or a PDN connection. For example, in 5G, the first session is a PDU session; or in 4G, the first session is a PDN connection. It is understood that a PDU session is a 5G concept, and its corresponding 4G concept is a PDN connection; that is, PDU sessions and PDN connections are corresponding. If the first network is a 6G network or other evolved network, the first session can be called a PDU session or other names.
[0136] Optionally, the first session may include one or more sessions.
[0137] Optionally, depending on the terminal handover scenario, the first network and the second network may satisfy, but are not limited to, any of the following:
[0138] The first network is a 5G network, and the second network is a 6G network;
[0139] The first network is a 6G network, and the second network is a 5G network;
[0140] The first network is a 4G network, and the second network is a 5G network;
[0141] The first network is a 5G network, and the second network is a 4G network;
[0142] The first network is a 6G network, and the second network is a 7G network;
[0143] The first network is a 7G network, and the second network is a 6G network.
[0144] The solution implemented in this application allows the first communication device to perform context translation locally based on the received session identifier, thereby eliminating the need for transmission of the corresponding session context within the core network and saving network resources.
[0145] Optionally, obtaining the identifier of the first session may include: the first communication device obtaining a first list, the first list containing the identifier of the first session. Therefore, when the first session includes multiple sessions, using a list format facilitates obtaining all sessions to be transferred.
[0146] Optionally, the first communication device may receive a first list from the second communication device, which includes the identifier of the first session. The second communication device is a device of the second network, mainly used for connection management, accessibility management, mobility management, etc. For example, if the second network is a 6G network, then the second communication device is a 6G AMF or other network element that implements similar functions; or, if the second network is a 5G network, then the second communication device is a 5G AMF or other network element that implements similar functions.
[0147] For example, if the first communication device is a network element that combines PGW-C, 5G SMF and 6G SMF, and the terminal switches from 6G to 5G, the first communication device can receive a first list from the 5G AMF, which includes the identifiers of PDU sessions to be transferred in the 6G network.
[0148] For example, if the first communication device is a network element that combines PGW-C, 5G SMF and 6G SMF, and the terminal switches from 5G to 6G, the first communication device can receive a first list from the 6G AMF, which includes the identifiers of PDU sessions to be transferred in the 5G network.
[0149] Please see Figure 3 , Figure 3 This is a flowchart of a context acquisition method provided in an embodiment of this application. The method is executed by a second communication device, such as... Figure 3 As shown, the method includes the following steps:
[0150] Step 31: The second communication device obtains the identifier of the first session, which is a session to be transferred in the first network, such as a transfer from the first network to the second network;
[0151] Step 32: The second communication device sends the identifier of the first session to the first communication device; the identifier of the first session is used to obtain the context of the first session, and generate the context of the second session based on the context of the first session; the second session is the session in the second network corresponding to the first session.
[0152] In this embodiment, the first communication device is a device that combines a first network and a second network, meaning it deploys both the first and second networks and is primarily used for session management. For example, if the first network is a 5G network and the second network is a 6G network, or vice versa, the first communication device is a device that combines 5G and 6G networks, such as a network element that combines 5G SMF and 6G SMF. Alternatively, the first communication device can also be a device that combines 4G, 5G, and 6G networks, such as a network element that combines PGW-C, 5G SMF, and 6G SMF; or it can also be a device that combines 4G and 6G networks, such as a network element that combines PGW-C and 6G SMF.
[0153] The first network is the network the terminal was in before the handover, and the second network is the network the terminal switched to.
[0154] The second communication device is part of the second network and is mainly used for connection management, access management, mobility management, etc. For example, if the second network is a 6G network, the second communication device is a 6G AMF or other network element that performs similar functions; or, if the second network is a 5G network, the second communication device is a 5G AMF or other network element that performs similar functions.
[0155] For example, the first session can be either a PDU session or a PDN connection. For instance, in 5G, the first session is a PDU session; or in 4G, the first session is a PDN connection. It is understood that a PDU session is a 5G concept, and its corresponding 4G concept is a PDN connection; that is, a PDU session and a PDN connection are corresponding. If the first network is a 6G network or other evolved network, the first session can be called a PDU session or other names.
[0156] Optionally, the first session may include one or more sessions.
[0157] Optionally, depending on the terminal handover scenario, the first network and the second network may satisfy, but are not limited to, any of the following:
[0158] The first network is a 5G network, and the second network is a 6G network;
[0159] The first network is a 6G network, and the second network is a 5G network;
[0160] The first network is a 4G network, and the second network is a 5G network;
[0161] The first network is a 5G network, and the second network is a 4G network;
[0162] The first network is a 6G network, and the second network is a 7G network;
[0163] The first network is a 7G network, and the second network is a 6G network.
[0164] The solution implemented in this application allows the first communication device to perform context translation locally based on the received session identifier, thereby eliminating the need for transmission of the corresponding session context within the core network and saving network resources.
[0165] Optionally, obtaining the identifier of the first session may include: the second communication device obtaining a first list, the first list containing the identifier of the first session. Therefore, when the first session includes multiple sessions, the first list facilitates the acquisition of all sessions to be transferred.
[0166] In this embodiment of the application, the identifier of the first session can be obtained in different ways. Obtaining the identifier of the first session may include:
[0167] The second communication device receives the identifier of the first session from the third communication device; wherein the identifier of the first session may be carried by a first list, and the third communication device is a device of the first network; the identifier of the first session satisfies at least one of the following:
[0168] Obtained from locally stored information by a third communication device;
[0169] The handover request is obtained by the third communication device from the access network device of the first network;
[0170] The data is requested by the third communication device from the Unified Data Management (UDM) network element of the first network.
[0171] The third communication device is mainly used for connection management, accessibility management, mobility management, etc. For example, if the first network is a 6G network, the third communication device is a 6G AMF or other network element that implements similar functions; or, if the first network is a 5G network, the third communication device is a 5G AMF or other network element that implements similar functions.
[0172] The following is combined Figure 4 and Figure 5 The embodiments of this application will be described.
[0173] Please see Figure 4 This mainly describes the process of a terminal switching from a 6G network to a 5G network when 6G SMF, 5G SMF, and PGW-C are co-located, including the following steps:
[0174] Step 0. The UE has established a PDU session within the 6G network.
[0175] Step 1.6 The RAN initiates the handover process based on the UE's measurement report.
[0176] Step 2.6G RAN sends a handover request to 6G AMF; upon receiving the handover request, 6G AMF does not request the context of the 5G PDU session corresponding to the 6G PDU session from 6GSMF+5G SMF+PGW-C.
[0177] Optionally, the 6G RAN sends a list of 6G PDU session IDs to be transferred to the 6G AMF, for example, in the handover request.
[0178] Step 3: The 6G AMF directly sends a UE context creation request to the 5G AMF, which carries the Subscription Permanent Identifier (SUPI) and a list of 6G PDU session IDs to be transferred (i.e., the first list).
[0179] Optionally, the list of 6G PDU session IDs to be transferred can be obtained through one of the following three methods:
[0180] Method 1: The 6G AMF obtains the information from locally stored information. It should be noted that if the 6G AMF participates in the PDU session establishment process in 6G, the 6G AMF can store the PDU session ID list locally; if the 6G AMF does not participate in the PDU session establishment process in 6G, the 6G AMF does not have a PDU session ID list locally.
[0181] Method 2: In step 2, the 6G RAN sends a list of 6G PDU session IDs to be transferred to the 6G AMF;
[0182] Method 3: The 6G AMF obtains a list of 6G PDU session IDs to be transferred from the UDM. For Method 3, after receiving Step 2, the 6G AMF needs to request a list of UE PDU sessions or a list of IDs corresponding to the PDU sessions from the UDM.
[0183] Step 4.5G AMF sends an SM context creation (e.g., Create SM Context) request to 5G SMF, which includes SUPI and a list of PDU session IDs to be transferred.
[0184] Step 5.6G SMF+5G SMF+PGW-C obtains the context of the 6G PDU session to be transferred locally based on the SUPI and the list of PDU session IDs to be transferred, and generates the corresponding 5G PDU session context. It should be noted that the PDU session context can also be called the SM (Session Management) context.
[0185] Step 6.6G SMF+5G SMF+PGW-C performs an N4 session update from 6G UPF+5G UPF+PGW-U to obtain resource information for establishing a tunnel with the RAN.
[0186] Step 7.6G SMF+5G SMF+PGW-C sends a UE context creation response to the 5G AMF, which carries the context of the 5GPDUsession and the tunnel resources allocated by 6G UPF+5G UPF+PGW-U.
[0187] Step 8: The 5G AMF sends a handover request to the 5G RAN, which carries the context of the 5G PDU session and the tunnel resources allocated by 6GUPF+5G UPF+PGW-U.
[0188] Step 9. The UE completes the subsequent handover actions.
[0189] Therefore, when a terminal switches from a 6G network to a 5G network, only the ID of the PDU session to be switched is transmitted between the 6G AMF and the 5G AMF. The context is translated locally by the 6G SMF+5G SMF+PGW-C, so that the transmission of the PDU session context is not required in the core network, thus saving network resources.
[0190] See also Figure 5 This mainly describes the process of a terminal switching from a 5G network to a 6G network when 6G SMF, 5G SMF, and PGW-C are co-located, including the following steps:
[0191] Step 0. The UE has established a PDU session within the 5G network.
[0192] Step 1.5: The RAN initiates a handover process based on the UE's measurement report.
[0193] Step 2.5G RAN sends a handover request to 5G AMF; upon receiving the handover request, 5G AMF does not request the context of the 5G PDU session from 6GSMF+5G SMF+PGW-C.
[0194] Step 3: The 5G AMF directly sends a UE context creation request to the 6G AMF, which carries the SUPI and a list of 5GPDU session IDs to be transferred (i.e., the first list).
[0195] Optionally, the list of 5G PDU session IDs to be transferred is obtained by the 5G AMF from locally stored information. In 5G, the 5G AMF participates in the 5G PDU session establishment process and can store the 5G PDU session list locally.
[0196] Step 4. The 6G AMF sends an SM context creation (e.g., Create SM Context) request to the 6G SMF, which includes the SUPI and a list of PDU session IDs to be transferred.
[0197] Step 5.6: Based on the SUPI and the list of PDU session IDs to be transferred, the 6G SMF+5G SMF+PGW-C obtains the 5G SM Context locally and generates the corresponding 6G SM Context. It should be noted that the PDU session context can also be called the SM context.
[0198] Step 6.6G SMF+5G SMF+PGW-C obtains resource information from 6G UPF+5G UPF+PGW-U for establishing a tunnel with the RAN.
[0199] Step 7.6G SMF+5G SMF+PGW-C sends the context of the 6G PDU session and the tunnel resources allocated by 6GUPF+5GUPF+PGW-U to the 6G AMF.
[0200] Step 8. The 6G AMF sends a handover request to the 6G RAN, which carries the context of the 6G PDU session and the tunnel resources allocated by 6GUPF+5G UPF+PGW-U.
[0201] Step 9. The UE completes the subsequent handover actions.
[0202] Therefore, when a terminal switches from a 5G network to a 6G network, only the ID of the PDU session to be switched is transmitted between the 6G AMF and the 5G AMF. The context is translated locally by the 6G SMF+5G SMF+PGW-C, so that the transmission of the PDU session context is not required in the core network, thus saving network resources.
[0203] Please see Figure 6 , Figure 6 This is a flowchart of a context acquisition method provided in an embodiment of this application. The method is executed by a fourth communication device, such as... Figure 6 As shown, the method includes the following steps:
[0204] Step 61: The fourth communication device obtains the identifier of the third session, which is a session to be transferred in the third network, such as a transfer from the third network to the fourth network;
[0205] Step 62: The fourth communication device obtains the context of the third session based on the identifier of the third session;
[0206] Step 63: The fourth communication device generates the context of the fourth session based on the context of the third session; the fourth session is the session in the fourth network corresponding to the third session.
[0207] In this embodiment, the fourth communication device is a device of the third network, mainly used for session management. Taking a 6G network as an example, the fourth communication device is a 6G SMF or other network element that implements similar functions. The third network is the network the terminal was in before the handover, and the fourth network is the network the terminal switched to.
[0208] For example, the third session can be either a PDU session or a PDN connection. For instance, in 5G, the third session is a PDU session; or in 4G, the third session is a PDN connection. It is understood that a PDU session is a 5G concept, and its corresponding 4G concept is a PDN connection; that is, a PDU session and a PDN connection are corresponding. If the third network is a 6G network or other evolved network, the third session can be called a PDU session or other names.
[0209] The third session may include one or more sessions.
[0210] Optionally, the third network is a 6G network and the fourth network is a 5G network; or, the third network is a 6G network and the fourth network is a 7G network; or, the third network is a 7G network and the fourth network is a 6G network; and so on.
[0211] The solution proposed in this application allows for the independent deployment of devices in a third network corresponding to the session to be transferred to obtain the corresponding context, thereby reducing the probability of network errors. Furthermore, the corresponding context can be obtained based on the identifier of the session to be transferred, thereby saving network resources.
[0212] Optionally, after generating the context of the fourth session as described above, the method in this embodiment may further include:
[0213] The fourth communication device sends at least one of the following to the fifth communication device: (1) the context of the fourth session; (2) an identifier of the first N4 session, wherein the first N4 session is an N4 session in the third network, and the identifier of the first N4 session is used to indicate the N4 session to be replaced, that is, to replace the N4 session in the third network with an N4 session established in the fourth network. At this time, the fifth communication device may initiate an N4 establishment request; or, the identifier of the first N4 session is used to manage the first N4 session. At this time, the fifth communication device may initiate an N4 update request and subsequently manage the first N4 session. In this way, an N4 session can be established in the fourth network or an N4 session in the third network can be managed, thereby ensuring effective management of the session.
[0214] It should be noted that in 5G, the session between the SMF and UPF is called an N4 session, used by the SMF to manage the user plane connection of the PDU session, such as establishing or modifying the user plane connection between the UPF and the base station for the PDU session. In 6G, the session between the 6GSMF and the 6G UPF can be called an N4 session or other names.
[0215] The fifth communication device is a device of the fourth network and is mainly used for session management. Taking the fourth network as a 5G network as an example, the fifth communication device is a 5G SMF or other network element that implements similar functions. In addition, the fifth communication device can also be a device co-located between the fourth network and other networks, such as a network element co-located between a 5G SMF in a 5G network and a PGW-C in a 4G network.
[0216] Optionally, the fourth communication device is selected by the fifth communication device based on relevant information of the fourth communication device corresponding to the third session. That is, the relevant information of the fourth communication device is used by the fifth communication device to send messages / information to the corresponding fourth communication device. In other words, for each session to be transferred (such as a PDU session), it is necessary to select a corresponding fourth communication device to send a session ID to it in order to request the session context in the network (i.e., the fourth network) to which the session ID is to be switched.
[0217] The aforementioned acquisition of the identifier of the third session may include: the fourth communication device receiving the identifier of the third session sent by the fifth communication device, wherein the identifier of the third session is used to request the context of the fourth session, that is, to request the context of the session corresponding to the third session in the fourth network. This allows the fourth communication device, upon receiving the identifier of the third session, to obtain the context of the third session based on the identifier, and then generate the context of the fourth session.
[0218] Optionally, the relevant information of the fourth communication device may include at least one of the following:
[0219] The identifier ID of the fourth communication device;
[0220] The fully qualified domain name (FQDN) of the fourth communication device;
[0221] The IP address of the fourth communication device;
[0222] The IP address and port number of the fourth communication device.
[0223] Please see Figure 7 , Figure 7 This is a flowchart of a context acquisition method provided in an embodiment of this application. The method is executed by a fifth communication device, such as... Figure 7 As shown, the method includes the following steps:
[0224] Step 71: The fifth communication device obtains the identifier of the third session and the relevant information of the fourth communication device corresponding to the third session; the third session is the session to be transferred in the third network;
[0225] Step 72: The fifth communication device sends the identifier of the third session to the fourth communication device according to the relevant information of the fourth communication device; the identifier of the third session is used to request the context of the fourth session, and the fourth session is the session in the fourth network corresponding to the third session.
[0226] In this embodiment, the fourth communication device is a device of the third network, mainly used for session management. Taking the third network as a 6G network as an example, the fourth communication device is a 6G SMF or other network element that implements similar functions.
[0227] The fifth communication device is a device of the fourth network and is mainly used for session management. Taking the fourth network as a 5G network as an example, the fifth communication device is a 5G SMF or other network element that implements similar functions. In addition, the fifth communication device can also be a device co-located between the fourth network and other networks, such as a network element co-located between a 5G SMF in a 5G network and a PGW-C in a 4G network.
[0228] The third network is the network the terminal was in before the handover, and the fourth network is the network the terminal switched to.
[0229] For example, the third session can be either a PDU session or a PDN connection. For instance, in 5G, the third session is a PDU session; or in 4G, the third session is a PDN connection. It is understood that a PDU session is a 5G concept, and its corresponding 4G concept is a PDN connection; that is, a PDU session and a PDN connection are corresponding. If the third network is a 6G network or other evolved network, the third session can be called a PDU session or other names.
[0230] The third session may include one or more sessions.
[0231] Optionally, the third network is a 6G network and the fourth network is a 5G network; or, the third network is a 6G network and the fourth network is a 7G network; or, the third network is a 7G network and the fourth network is a 6G network; and so on.
[0232] Optionally, the relevant information of the fourth communication device is used by the fifth communication device to select the fourth communication device and send messages / information to it. The relevant information of the fourth communication device may include at least one of the following:
[0233] The identifier ID of the fourth communication device;
[0234] The full domain name of the fourth communication device is FQDN;
[0235] The IP address of the fourth communication device;
[0236] The IP address and port number of the fourth communication device.
[0237] The solution proposed in this application allows for the independent deployment of devices in a third network corresponding to the session to be transferred to obtain the corresponding context, thereby reducing the probability of network errors. Furthermore, the corresponding context can be obtained based on the identifier of the session to be transferred, thereby saving network resources.
[0238] Optionally, the fifth communication device is selected by the seventh communication device based on the parameter information of the fourth session. That is, for each session to be transferred (such as a PDU session), a corresponding fifth communication device needs to be selected to send its session ID, in order to assist in obtaining the session context in the network (i.e., the fourth network) to which the session ID is to be switched. The seventh communication device is a device of the fourth network, mainly used for connection management, accessibility management, mobility management, etc. Taking a 5G network as an example, the seventh communication device is a 5G AMF or other network element that implements similar functions. The parameter information of the fourth session includes, for example, the Data Network Name (DNN) and the Access Point Name (APN).
[0239] Optionally, the method in the embodiments of this application may further include:
[0240] The fifth communication device receives the identifier of the first N4 session sent by the fourth communication device; wherein the first N4 session is the N4 session in the third network, and the identifier of the first N4 session is used to replace the N4 session in the third network with the N4 session established in the fourth network, or the identifier of the first N4 session is used to manage the first N4 session.
[0241] The fifth communication device performs a first operation, the first operation including at least one of the following:
[0242] A first N4 establishment request is sent to the sixth communication device. The first N4 establishment request contains the identifier of the first N4 session and first indication information. The first indication information is used to indicate that the first N4 session is replaced with a newly established N4 session in the fourth network. This allows the N4 session to be established in the switched network, thereby ensuring effective management of the session.
[0243] A first N4 update request is sent to the sixth communication device. This first N4 update request contains the identifier of the first N4 session, and is used to request management of the first N4 session. This allows for the management of N4 sessions in the network prior to the handover.
[0244] It should be noted that the sixth communication device is a device of the fourth network, mainly used for forwarding user data. Taking the fourth network as a 5G network as an example, the sixth communication device is a 5G UPF or other network element that implements similar functions. In addition, the sixth communication device can also be a device jointly deployed by the fourth network and other networks, such as a network element jointly deployed by 6G UPF in a 6G network, 5G UPF in a 5G network, and PGW-U in a 4G network, or a network element jointly deployed by 6G UPF in a 6G network and PGW-U in a 4G network.
[0245] Please see Figure 8 , Figure 8 This is a flowchart of a context acquisition method provided in an embodiment of this application. The method is executed by a seventh communication device, such as... Figure 8 As shown, the method includes the following steps:
[0246] Step 81: The seventh communication device acquires the first information.
[0247] In this embodiment of the application, the first information may include at least one of the following:
[0248] At least one identifier for a third session;
[0249] Parameter information of the fourth session corresponding to each third session in at least one third session;
[0250] Information related to the fourth communication device corresponding to each third session in at least one third session.
[0251] The third session is a session to be transferred in a third network. The third session can be a PDU session or a PDN connection. If the third network is a 6G network or other evolved network, the third session can be called a PDU session or other names. The third session may include one or more sessions.
[0252] The fourth session is the session in the fourth network corresponding to the third session. The third network is the network the terminal was in before the handover, and the fourth network is the network the terminal switched to. Optionally, the third network is a 6G network and the fourth network is a 5G network; or, the third network is a 6G network and the fourth network is a 7G network; or, the third network is a 7G network and the fourth network is a 6G network; and so on.
[0253] The identifier of the third session is used to obtain the context of the fourth session.
[0254] The parameter information of the fourth session is used to select the fifth communication device in the fourth network corresponding to the fourth session. That is, for each session to be transferred (such as a PDU session), it is necessary to select the corresponding fifth communication device to send the session ID to it, so as to help obtain the session context in the network (i.e., the fourth network) to which the session ID is to be switched.
[0255] The relevant information of the fourth communication device is used to select the fourth communication device. For each session to be transferred (such as a PDU session), the corresponding fourth communication device needs to be selected to send the session ID to it in order to request the session context in the network (i.e., the fourth network) corresponding to the session ID.
[0256] The fourth communication device is a device of the third network. It is mainly used for session management. Taking the third network as a 6G network as an example, the fourth communication device is a 6G SMF or other network element that implements similar functions.
[0257] The fifth communication device is a device of the fourth network and is mainly used for session management. Taking the fourth network as a 5G network as an example, the fifth communication device is a 5G SMF or other network element that implements similar functions. In addition, the fifth communication device can also be a device co-located between the fourth network and other networks, such as a network element co-located between a 5G SMF in a 5G network and a PGW-C in a 4G network.
[0258] The seventh communication device is a device of the fourth network, mainly used for connection management, accessibility management, mobility management, etc. Taking the fourth network as a 5G network as an example, the seventh communication device is a 5G AMF or other network element that implements similar functions.
[0259] The solution provided in this application embodiment enables the seventh communication device to obtain the identifier of the session to be transferred, thereby assisting in obtaining the corresponding context based on the identifier of the session to be transferred, thus saving network resources.
[0260] In this embodiment of the application, the first information may be obtained in different ways. Obtaining the first information may include:
[0261] The seventh communication device receives the first information sent by the eighth communication device; wherein the eighth communication device is a device of the third network; the first information is obtained based on the second information obtained by the eighth communication device; the second information satisfies at least one of the following:
[0262] The information is obtained from locally stored information by the eighth communication device;
[0263] The information is obtained by the eighth communication device from the handover request sent by the access network device of the third network;
[0264] The eighth communication device requests this information from the UDM network element of the third network.
[0265] The third communication device is mainly used for connection management, accessibility management, and mobility management. Taking a 6G network as an example, the third communication device is a 6G AMF or other network element that performs similar functions.
[0266] Optionally, the first information can be carried out using different methods. Obtaining the first information as described above includes any of the following:
[0267] (1) The seventh communication device acquires a third list, a fourth list, and a fifth list; wherein, the third list contains the identifier of the at least one third session, the fourth list contains parameter information of the fourth session corresponding to each of the at least one third session, and the fifth list contains relevant information of the fourth communication device corresponding to each of the at least one third session; the same items in the third list, the fourth list, and the fifth list represent the same session;
[0268] (2) The seventh communication device obtains the sixth list, wherein each item in the sixth list includes an identifier of a third session and parameter information of the corresponding fourth session and relevant information of the fourth communication device.
[0269] Therefore, when there are multiple sessions to be transferred, using a list format makes it easier to obtain relevant information for all sessions to be transferred.
[0270] Please see Figure 9 , Figure 9 This is a flowchart of a context acquisition method provided in an embodiment of this application. The method is executed by a fourth communication device, such as... Figure 9 As shown, the method includes the following steps:
[0271] Step 91: The fourth communication device sends the identifier of the fifth session to the fifth communication device; the fifth session is a session to be transferred in the fourth network;
[0272] Step 92: The fourth communication device receives from the fifth communication device the context of the fifth session obtained based on the identifier of the fifth session;
[0273] Step 93: The fourth communication device generates the context of the sixth session based on the context of the fifth session, wherein the sixth session is the session in the third network corresponding to the fifth session.
[0274] In this embodiment, the fourth communication device is a device of the third network, mainly used for session management. Taking the third network as a 6G network as an example, the fourth communication device is a 6G SMF or other network element that implements similar functions.
[0275] The fifth communication device is a device of the fourth network and is mainly used for session management. Taking the fourth network as a 5G network as an example, the fifth communication device is a 5G SMF or other network element that implements similar functions. In addition, the fifth communication device can also be a device co-located between the fourth network and other networks, such as a network element co-located between a 5G SMF in a 5G network and a PGW-C in a 4G network.
[0276] The fourth network is the network the terminal was in before the handover, and the third network is the network the terminal switched to.
[0277] The fifth session can be either a PDU session or a PDN connection. For example, in 5G, the fifth session is a PDU session; or in 4G, the fifth session is a PDN connection. It is understood that a PDU session is a 5G concept, and its corresponding 4G concept is a PDN connection; that is, PDU sessions and PDN connections are corresponding. If the fourth network is a 6G network or other evolved network, the fifth session can be called a PDU session or other names.
[0278] The fifth session may include one or more sessions.
[0279] Optionally, the third network is a 6G network and the fourth network is a 5G network; or, the third network is a 6G network and the fourth network is a 7G network; or, the third network is a 7G network and the fourth network is a 6G network; and so on.
[0280] The solution proposed in this application allows for the independent deployment of devices in a third network corresponding to the session to be transferred to obtain the corresponding context, thereby reducing the probability of network errors. Furthermore, the corresponding context can be obtained based on the identifier of the session to be transferred, thereby saving network resources.
[0281] Optionally, prior to step 91 above, the method in this embodiment may further include:
[0282] The fourth communication device receives at least one of the following from the eighth communication device:
[0283] The identifier of the fifth session;
[0284] The relevant information of the fifth communication device is used to select the fifth communication device. That is, for each session to be transferred, a corresponding fifth communication device needs to be selected to send a session ID to it in order to obtain the session context in the network (i.e., the third network) to which the session ID is to be switched.
[0285] Optionally, the relevant information of the fifth communication device may include at least one of the following:
[0286] The identifier of the fifth communication device;
[0287] The full domain name of the fifth communication device is FQDN;
[0288] The IP address of the fifth communication device;
[0289] The IP address and port number of the fifth communication device.
[0290] Optionally, the fourth communication device is selected by the eighth communication device based on the parameter information of the sixth session. The parameter information of the sixth session is mapped from the parameter information of the fifth session obtained by the eighth communication device. That is, for each session to be transferred, a corresponding fourth communication device needs to be selected to generate the corresponding session context in the network to which it is to be switched (i.e., the third network). The eighth communication device is a device of the third network, mainly used for connection management, accessibility management, mobility management, etc. Taking the third network as a 6G network as an example, the eighth communication device is a 6GAMF or other network element that implements similar functions. The parameter information of the sixth / fifth session is, for example, the data network name (DNN).
[0291] Optionally, the method in the embodiments of this application may further include:
[0292] The fourth communication device receives the identifier of the second N4 session from the fifth communication device, wherein the second N4 session is an N4 session in the fourth network;
[0293] The fourth communication device performs a second operation, the second operation including at least one of the following:
[0294] A second N4 establishment request is sent to the sixth communication device. The second N4 establishment request contains the identifier of the second N4 session and second indication information. The second indication information is used to indicate that the second N4 session should be replaced with a newly established N4 session in the third network. This allows the N4 session to be established in the switched network, thereby ensuring effective management of the session.
[0295] A second N4 update request is sent to the sixth communication device. This second N4 update request contains the identifier of the second N4 session and is used to request management of the second N4 session. This allows for the management of N4 sessions in the network prior to the handover.
[0296] It should be noted that the sixth communication device is a device of the third network, mainly used for forwarding user data. Taking the third network as a 6G network as an example, the sixth communication device is a 6G UPF or other network element that implements similar functions. In addition, the sixth communication device can also be a device jointly deployed by the third network and other networks, such as a network element jointly deployed by 6G UPF in a 6G network, 5G UPF in a 5G network and PGW-U in a 4G network, or a network element jointly deployed by 6G UPF in a 6G network and PGW-U in a 4G network.
[0297] Please see Figure 10 , Figure 10 This is a flowchart of a context acquisition method provided in an embodiment of this application. The method is executed by a fifth communication device, such as... Figure 10 As shown, the method includes the following steps:
[0298] Step 101: The fifth communication device receives the identifier of the fifth session sent by the fourth communication device; the fifth session is a session to be transferred in the fourth network;
[0299] Step 102: The fifth communication device obtains the context of the fifth session based on the identifier of the fifth session, and sends the context of the fifth session to the fourth communication device; the context of the fifth session is used to generate the context of the sixth session, and the sixth session is the session in the third network corresponding to the fifth session.
[0300] In this embodiment, the fourth communication device is a device of the third network, mainly used for session management. Taking the third network as a 6G network as an example, the fourth communication device is a 6G SMF or other network element that implements similar functions.
[0301] The fifth communication device is a device of the fourth network and is mainly used for session management. Taking the fourth network as a 5G network as an example, the fifth communication device is a 5G SMF or other network element that implements similar functions. In addition, the fifth communication device can also be a device co-located between the fourth network and other networks, such as a network element co-located between a 5G SMF in a 5G network and a PGW-C in a 4G network.
[0302] The fifth session can be either a PDU session or a PDN connection. For example, in 5G, the fifth session is a PDU session; or in 4G, the fifth session is a PDN connection. It is understood that a PDU session is a 5G concept, and its corresponding 4G concept is a PDN connection; that is, PDU sessions and PDN connections are corresponding. If the fourth network is a 6G network or other evolved network, the fifth session can be called a PDU session or other names.
[0303] The fifth session may include one or more sessions.
[0304] Optionally, the third network is a 6G network and the fourth network is a 5G network; or, the third network is a 6G network and the fourth network is a 7G network; or, the third network is a 7G network and the fourth network is a 6G network; and so on.
[0305] The solution proposed in this application allows for the independent deployment of devices in a third network corresponding to the session to be transferred to obtain the corresponding context, thereby reducing the probability of network errors. Furthermore, the corresponding context can be obtained based on the identifier of the session to be transferred, thereby saving network resources.
[0306] Optionally, the fifth communication device is selected based on relevant information of the fifth communication device corresponding to the fifth session. That is, for each session to be transferred, a corresponding fifth communication device needs to be selected to send a session ID to it in order to obtain the session context in the network (i.e., the third network) to which the session ID is to be switched.
[0307] Optionally, the relevant information of the fifth communication device may include at least one of the following:
[0308] The identifier of the fifth communication device;
[0309] The full domain name of the fifth communication device is FQDN;
[0310] The IP address of the fifth communication device;
[0311] The IP address and port number of the fifth communication device.
[0312] Optionally, the fifth communication device may also send an identifier of the second N4 session to the fourth communication device. The second N4 session is an N4 session in the fourth network. The identifier of the second N4 session is used to replace the N4 session in the fourth network with an N4 session established in the third network, or the identifier of the second N4 session is used to manage the second N4 session.
[0313] Please see Figure 11 , Figure 11 This is a flowchart of a context acquisition method provided in an embodiment of this application. The method is executed by an eighth communication device, such as... Figure 11 As shown, the method includes the following steps:
[0314] Step 111: The eighth communication device obtains the third information.
[0315] In this embodiment of the application, the third information may include at least one of the following:
[0316] At least one identifier for the fifth session;
[0317] Parameter information for each of the five sessions in at least one fifth session;
[0318] Information related to the fifth communication device corresponding to each fifth session in at least one fifth session.
[0319] The fifth session is a session to be transferred in the fourth network. The identifier of the fifth session is used to obtain the context of the sixth session, which is a session in the third network corresponding to the fifth session.
[0320] The fifth communication device is a device of the fourth network and is mainly used for session management. Taking the fourth network as a 5G network as an example, the fifth communication device is a 5G SMF or other network element that implements similar functions. In addition, the fifth communication device can also be a device co-located between the fourth network and other networks, such as a network element co-located between a 5G SMF in a 5G network and a PGW-C in a 4G network.
[0321] The relevant information of the fifth communication device is used to select the fifth communication device. That is, for each session to be transferred, the corresponding fifth communication device needs to be selected to send the session ID to it in order to obtain the session context in the network (i.e., the third network) to which the session ID is to be switched.
[0322] The eighth communication device is a device of the third network, mainly used for connection management, accessibility management, mobility management, etc. Taking the third network as a 6G network as an example, the eighth communication device is a 6G AMF or other network element that implements similar functions. The parameter information of the sixth / fifth session includes, for example, the data network name (DNN) and APN.
[0323] The solution provided in this application embodiment enables the eighth communication device to obtain the identifier of the session to be transferred, thereby assisting in obtaining the corresponding context based on the identifier of the session to be transferred, thus saving network resources.
[0324] Optionally, the eighth communication device can receive the third information sent by the seventh communication device; wherein, the seventh communication device is a device in the fourth network, mainly used for connection management, accessibility management, mobility management, etc. The third information is obtained by the seventh communication device locally. Taking the fourth network as a 5G network as an example, the seventh communication device is a 5G AMF or other network element that implements similar functions.
[0325] Optionally, the third information can be carried out in different ways. Obtaining the third information may include any of the following:
[0326] (1) The eighth communication device acquires the seventh list, the eighth list and the ninth list; wherein, the seventh list contains the identifier of the at least one fifth session, the eighth list contains the parameter information of each fifth session in the at least one fifth session, and the ninth list contains the relevant information of the fifth communication device corresponding to each fifth session in the at least one fifth session; the information contained in the same items of the seventh list, the eighth list and the ninth list corresponds to the same session;
[0327] (2) The eighth communication device obtains the tenth list, wherein each item in the tenth list includes an identifier of a fifth session and corresponding parameter information and relevant information of the fifth communication device.
[0328] Therefore, when there are multiple sessions to be transferred, using a list format makes it easier to obtain relevant information for all sessions to be transferred.
[0329] The following is combined Figure 12 and Figure 13 The embodiments of this application will be described.
[0330] Please see Figure 12 This mainly describes the process of a terminal switching from a 6G network to a 5G network in the case of a standalone 6G SMF deployment, including the following steps:
[0331] Step 0. The UE has established a PDU session within the 6G network.
[0332] Step 1.6 The RAN initiates the handover process based on the UE's measurement report.
[0333] Step 2.6G RAN sends a handover request to 6G AMF; upon receiving the handover request, 6G AMF does not request the context of the 5G PDU session corresponding to the 6G PDU session from 6GSMF.
[0334] Optionally, the 6G RAN sends to the 6G AMF a list of 6G PDU sessions to be transferred, the 6G parameters of each 6G PDU session, and the 6G SMF information of each 6G PDU session.
[0335] The 6G SMF information is used by 5G SMF+PGW-C to send messages to the corresponding 6G SMF, and the 6G SMF information may include at least one of the following:
[0336] (a) Identification of 6G SMF;
[0337] (b) The full domain name of 6G SMF is FQDN;
[0338] (c) The IP address of the 6G SMF, or the IP address and port number of the 6G SMF.
[0339] The 6G parameters of the PDU session are used for 6G AMF to select the SMF; such parameters are, for example, the data network name (DNN).
[0340] Step 3. The 6G AMF sends a context creation request to the 5G AMF, which carries the SUPI, as well as a list of 6G PDU session IDs to be transferred, the 5G parameters of each 6G PDU session, and the information of the 6G SMF corresponding to each 6G PDU session ID.
[0341] Optionally, the above parameters can be obtained in one of the following three ways:
[0342] Method 1: The 6G AMF obtains the information from locally stored information. It should be noted that if the 6G AMF participates in the PDU session establishment process in 6G, the 6G AMF can locally store the PDU session list and the SMF information corresponding to each PDU session ID; if the 6G AMF does not participate in the PDU session establishment process in 6G, the 6G AMF does not have the PDU session ID list information locally.
[0343] Method 2: In step 2, the 6G RAN sends the relevant parameters to the 6G AMF. In this method 2, the 6G AMF converts the 6G parameters of each 6GPDU session into 5G parameters and then sends them to the 5G AMF. That is, the 5G AMF receives the 5G PDU session parameters.
[0344] Method 3: 6G AMF obtains from UDM; For Method 3, after receiving Step 2, 6G AMF needs to request the UE's PDU session list or PDU session ID list from UDM.
[0345] Optionally, the above-mentioned list of PDU session IDs to be transferred, the parameters of each PDU session, and the SMF information corresponding to each PDU session ID are carried in the following ways:
[0346] Method 1: The PDU is carried by three separate lists, and the same items in the three lists represent the same PDU session.
[0347] For example, the first item in the first list represents the PDU session ID of PDU session-1, the first item in the second list represents the PDU session parameters of PDU session-1, and the first item in the third list represents the SMF information of PDU session-1; the second item in the first list represents the PDU session ID of PDU session-2, the second item in the second list represents the PDU session parameters of PDU session-2, and the second item in the third list represents the SMF information of PDU session-2; and so on.
[0348] Method 2: The PDU is carried by a list, and each item in the list contains three pieces of information for the same PDU session: PDU session ID, PDU session parameters, and SMF information.
[0349] For each PDU session to be transferred, perform the following steps 4-10.
[0350] Step 4.5G AMF selects 5G SMF+PGW-C; where 5G AMF is selected as 5G SMF+PGW-C based on the 5G PDU session parameters.
[0351] Step 5.5G AMF sends an SM context creation (e.g., Create SM Context) request to 5G SMF+PGW-C, which includes SUPI, PDU session ID and 6G SMF information.
[0352] Step 6: The 5G SMF+PGW-C sends a context creation request to the corresponding 6G SMF based on the 6G SMF information. This request carries the PDU session ID and requests the context of the 5G PDU session corresponding to that PDU session ID. This direct communication between the 5G SMF+PGW-C and the 6G SMF avoids the transfer of PDU session context between AMFs and prevents the waste of network resources.
[0353] Step 7.6G SMF obtains the context of the 6G PDU session locally based on the SUPI and PDU session ID, and generates the context of the corresponding 5G PDU session.
[0354] Step 8.6G SMF returns a context creation response to 5G SMF+PGW-C, which carries the context of the 5G PDU session and the N4 session ID between 6G SMF and 6G UPF+5G UPF+PGW-U. This N4 session ID can be simply referred to as the 6G N4 session ID.
[0355] Step 9.5G SMF+PGW-C sends any of the following to 6G UPF+5G UPF+PGW-U:
[0356] (1) N4 establishment request, which carries 6G N4 session ID and first indication information, the first indication information being used to indicate that the 6G N4 session is replaced by the N4 session newly established in 5G;
[0357] (2) N4 update request, which carries the 6G N4 session ID. This update request enables the 5G SMF+PGW-C to manage the N4 session corresponding to the 6G N4 session ID.
[0358] Step 10: 5G SMF+PGW-C sends a response message to 5G AMF.
[0359] Step 11. The UE completes the subsequent handover actions.
[0360] Please see Figure 13This mainly describes the process of a terminal switching from a 5G network to a 6G network in the case of a standalone 6G SMF deployment, including the following steps:
[0361] Step 0. The UE has established a PDU Session within the 5G network.
[0362] Step 1.5: The RAN initiates a handover process based on the UE's measurement report.
[0363] Step 2.5G RAN sends a handover request to 5G AMF; upon receiving the handover request, 5G AMF does not request the context corresponding to the 5G PDU session from 5GSMF.
[0364] Step 3. The 5G AMF sends a context creation request to the 6G AMF, which includes the SUPI, a list of 5G PDU session IDs to be transferred, the 5G parameters of each 5G PDU session, and the 5GSMF+PGW-C information corresponding to each 5G PDU session ID.
[0365] Optionally, 5G AMF can obtain the above information from locally stored information.
[0366] Optionally, the above-mentioned list of PDU session IDs to be transferred, the parameters of each PDU session, and the SMF information corresponding to each PDU session ID are carried in the following ways:
[0367] Method 1: The PDU is carried by three separate lists, and the same items in the three lists represent the same PDU session.
[0368] For example, the first item in the first list represents the PDU session ID of PDU session-1, the first item in the second list represents the PDU session parameters of PDU session-1, and the first item in the third list represents the SMF information of PDU session-1; the second item in the first list represents the PDU session ID of PDU session-2, the second item in the second list represents the PDU session parameters of PDU session-2, and the second item in the third list represents the SMF information of PDU session-2; and so on.
[0369] Method 2: The PDU is carried by a list, and each item in the list contains three pieces of information for the same PDU session: PDU session ID, PDU session parameters, and SMF information.
[0370] For each PDU session to be transferred, perform the following steps 4-10.
[0371] Step 4.6G AMF selects 6G SMF; wherein, 6G AMF maps 5G PDU session parameters to 6G PDU session parameters, and selects the 6G SMF according to the 6G PDU session parameters.
[0372] Step 5.6G AMF sends an SM context creation (e.g., Create SM Context) request to 6G SMF, which includes SUPI, PDU session ID, and 5G SMF+PGW-C information.
[0373] Step 6.6: Based on the 5G SMF+PGW-C information, the 6G SMF sends a context creation request to the corresponding 5G SMF+PGW-C, which carries the PDU session ID and requests the context of the 5G PDU session corresponding to the PDU session ID.
[0374] Step 7.5G SMF+PGW-C obtains the context of the 5G PDU session locally based on the SUPI and PDU session ID, and sends it to the 6G SMF.
[0375] Optionally, 5G SMF+PGW-C can also send the N4 session ID between 5G SMF+PGW-C and 6G UPF+5GUPF+PGW-U to 6G SMF, referred to as 5G N4 session ID.
[0376] Step 8.6: The 6G SMF generates the corresponding 6G PDU session context based on the 5G PDU session context. Therefore, by communicating directly between the 5G SMF+PGW-C and the 6G SMF, the PDU session context can be avoided by passing it between AMFs, thus preventing the waste of network resources.
[0377] Step 9.6G SMF sends any of the following to 6G UPF+5G UPF+PGW-U:
[0378] (1) N4 establishment request, which carries a 5G N4 session ID and a second indication information, the second indication information being used to indicate that the 5G N4 session is replaced by the N4 session newly established in 6G;
[0379] (2) Send an N4 update request, which carries the 5G N4 session ID. This update request enables the 6G SMF to manage the N4 session corresponding to the 5G N4 session ID.
[0380] Step 10. The 6G SMF sends a response message to the 6G AMF.
[0381] Step 11. The UE completes the subsequent handover actions.
[0382] The context acquisition method provided in this application can be executed by a context acquisition device. This application uses an example of a context acquisition device executing the context acquisition method to illustrate the context acquisition device provided in this application.
[0383] See Figure 14 When the context acquisition device is applied to the first communication device, the context acquisition device 140 includes:
[0384] The first acquisition module 141 is used for the first communication device to acquire the identifier of the first session; wherein, the first communication device is a device jointly provided by the first network and the second network, and the first session is a session to be transferred in the first network;
[0385] The second acquisition module 142 is used to acquire the context of the first session based on the identifier of the first session;
[0386] The first generation module 143 is used to generate the context of the second session based on the context of the first session; wherein the second session is the session in the second network corresponding to the first session.
[0387] Optionally, the first network and the second network satisfy any one of the following:
[0388] The first network is a 5G network, and the second network is a 6G network;
[0389] The first network is a 6G network, and the second network is a 5G network;
[0390] The first network is a 4G network, and the second network is a 5G network;
[0391] The first network is a 5G network, and the second network is a 4G network;
[0392] The first network is a 6G network, and the second network is a 7G network;
[0393] The first network is a 7G network, and the second network is a 6G network.
[0394] Optionally, the first acquisition module 141 is specifically used to: acquire a first list, the first list containing the identifier of the first session.
[0395] The context acquisition device provided in this application embodiment can implement the various processes implemented in the method embodiment of 2 and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0396] See Figure 15 When the context acquisition device is applied to the second communication device, the context acquisition device 150 includes:
[0397] The third acquisition module 151 is used for the second communication device to acquire the identifier of the first session; wherein, the first session is a session to be transferred in the first network, and the second communication device is a device in the second network;
[0398] The first sending module 152 is used to send the identifier of the first session to the first communication device; wherein, the first communication device is a device co-located with the first network and the second network; the identifier of the first session is used to obtain the context of the first session and generate the context of the second session based on the context of the first session; the second session is a session in the second network corresponding to the first session.
[0399] Optionally, the third acquisition module 151 is specifically configured to: receive the identifier of the first session from a third communication device; wherein the third communication device is a device of the first network; and the identifier of the first session satisfies at least one of the following:
[0400] The information is obtained from locally stored information by the third communication device;
[0401] The third communication device obtains the information from the handover request sent by the access network device of the first network.
[0402] The third communication device requests the data from the Unified Data Management (UDM) network element of the first network.
[0403] Optionally, the third acquisition module 151 is specifically used to: acquire a first list, the first list containing the identifier of the first session.
[0404] Optionally, the first network and the second network satisfy any one of the following:
[0405] The first network is a 5G network, and the second network is a 6G network;
[0406] The first network is a 6G network, and the second network is a 5G network;
[0407] The first network is a 4G network, and the second network is a 5G network;
[0408] The first network is a 5G network, and the second network is a 4G network;
[0409] The first network is a 6G network, and the second network is a 7G network;
[0410] The first network is a 7G network, and the second network is a 6G network.
[0411] The context acquisition device provided in this application embodiment can implement the various processes implemented in the method embodiment of 3 and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0412] See Figure 16 When the context acquisition device is applied to the second communication device, the context acquisition device 160 includes:
[0413] The fourth acquisition module 161 is used for the fourth communication device to acquire the identifier of the third session; wherein, the fourth communication device is a device of the third network, and the third session is a session to be transferred in the third network;
[0414] The fifth acquisition module 162 is used to acquire the context of the third session based on the identifier of the third session;
[0415] The second generation module 163 is used to generate the context of the fourth session based on the context of the third session; wherein the fourth session is the session in the fourth network corresponding to the third session.
[0416] Optionally, the context acquisition device 160 further includes:
[0417] The second transmitting module is configured to transmit at least one of the following to the fifth communication device:
[0418] The context of the fourth session;
[0419] The identifier of the first N4 session, wherein the first N4 session is an N4 session in the third network, the identifier of the first N4 session is used to replace the N4 session in the third network with an N4 session established in the fourth network, or the identifier of the first N4 session is used to manage the first N4 session.
[0420] Optionally, the fourth communication device is selected by the fifth communication device based on the relevant information of the fourth communication device corresponding to the third session. The fourth acquisition module 161 is specifically used to: receive the identifier of the third session sent by the fifth communication device, and the identifier of the third session is used to request the context of the fourth session.
[0421] Optionally, the relevant information of the fourth communication device includes at least one of the following:
[0422] The identifier of the fourth communication device;
[0423] The full domain name of the fourth communication device;
[0424] The Internet Protocol (IP) address of the fourth communication device;
[0425] The IP address and port number of the fourth communication device.
[0426] The context acquisition device provided in this application embodiment can implement the various processes implemented in the method embodiment of 6 and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0427] See Figure 17 When the context acquisition device is applied to the second communication device, the context acquisition device 170 includes:
[0428] The sixth acquisition module 171 is used by the fifth communication device to acquire the identifier of the third session and the relevant information of the fourth communication device corresponding to the third session; wherein, the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the third session is a session to be transferred in the third network;
[0429] The third sending module 172 is used to send the identifier of the third session to the fourth communication device according to the relevant information of the fourth communication device; wherein the identifier of the third session is used to request the context of the fourth session, and the fourth session is the session in the fourth network corresponding to the third session.
[0430] Optionally, the context acquisition device 170 further includes:
[0431] The first receiving module is configured to receive the identifier of the first N4 session sent by the fourth communication device; wherein the first N4 session is an N4 session in the third network;
[0432] A first execution module is configured to perform a first operation, the first operation including at least one of the following:
[0433] Send a first N4 establishment request to the sixth communication device. The first N4 establishment request contains the identifier of the first N4 session and first indication information. The first indication information is used to indicate that the first N4 session is replaced with a newly established N4 session in the fourth network.
[0434] A first N4 update request is sent to the sixth communication device. The first N4 update request contains the identifier of the first N4 session and is used to request management of the first N4 session.
[0435] Optionally, the fifth communication device is selected by the seventh communication device based on the parameter information of the fourth session, and the seventh communication device is a device of the fourth network.
[0436] The context acquisition device provided in this application embodiment can implement the various processes implemented in the method embodiment of 7 and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0437] See Figure 18 When the context acquisition device is applied to the second communication device, the context acquisition device 180 includes:
[0438] The seventh acquisition module 181 is used for the seventh communication device to acquire the first information;
[0439] The first information includes at least one of the following:
[0440] At least one identifier for a third session;
[0441] Parameter information of the fourth session corresponding to each third session in at least one third session;
[0442] Information related to the fourth communication device corresponding to each third session in at least one third session;
[0443] Wherein, the third session is a session to be transferred in the third network, the fourth session is a session in the fourth network corresponding to the third session, and the fourth communication device is a device in the third network;
[0444] The identifier of the third session is used to obtain the context of the fourth session; the parameter information of the fourth session is used to select the fifth communication device in the fourth network corresponding to the fourth session.
[0445] The relevant information of the fourth communication device is used to select the fourth communication device.
[0446] Optionally, the seventh acquisition module 181 is specifically used to: receive the first information sent by the eighth communication device;
[0447] Wherein, the eighth communication device is a device of the third network; the first information is obtained based on the second information obtained by the eighth communication device; the second information satisfies at least one of the following:
[0448] The information is obtained from locally stored information by the eighth communication device;
[0449] The eighth communication device obtains the information from a handover request sent by the access network device of the third network.
[0450] The eighth communication device requests the information from the UDM network element of the third network.
[0451] Optionally, the seventh acquisition module 181 is specifically used for any of the following:
[0452] Obtain a third list, a fourth list, and a fifth list; wherein, the third list contains the identifier of the at least one third session, the fourth list contains parameter information of the fourth session corresponding to each of the at least one third session, and the fifth list contains relevant information of the fourth communication device corresponding to each of the at least one third session; identical items in the third list, the fourth list, and the fifth list represent the same session;
[0453] Obtain the sixth list, wherein each item in the sixth list includes an identifier of a third session, parameter information of the corresponding fourth session, and relevant information of the fourth communication device.
[0454] The context acquisition device provided in this application embodiment can implement the various processes implemented in the method embodiment of 8 and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0455] See Figure 19 When the context acquisition device is applied to the second communication device, the context acquisition device 190 includes:
[0456] The fourth sending module 191 is used to send an identifier of the fifth session from the fourth communication device to the fifth communication device; wherein the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network;
[0457] The second receiving module 192 is configured to receive from the fifth communication device the context of the fifth session obtained according to the identifier of the fifth session;
[0458] The third generation module 193 is used to generate the context of the sixth session based on the context of the fifth session, wherein the sixth session is the session in the third network corresponding to the fifth session.
[0459] Optionally, the second receiving module 192 is further configured to: receive at least one of the following from the eighth communication device:
[0460] The identifier of the fifth session;
[0461] The relevant information of the fifth communication device is used to select the fifth communication device.
[0462] Optionally, the relevant information of the fifth communication device includes at least one of the following:
[0463] The identifier of the fifth communication device;
[0464] The full domain name of the fifth communication device;
[0465] The Internet Protocol (IP) address of the fifth communication device;
[0466] The IP address and port number of the fifth communication device.
[0467] Optionally, the fourth communication device is selected by the eighth communication device based on the parameter information of the sixth session, and the parameter information of the sixth session is mapped based on the parameter information of the fifth session obtained by the eighth communication device.
[0468] Optionally, the context acquisition device 190 further includes:
[0469] The third receiving module is used to receive the identifier of the second N4 session from the fifth communication device, wherein the second N4 session is an N4 session in the fourth network;
[0470] A second execution module is configured to perform a second operation, the second operation including at least one of the following:
[0471] Send a second N4 establishment request to the sixth communication device. The second N4 establishment request contains the identifier of the second N4 session and second indication information. The second indication information is used to indicate that the second N4 session should be replaced with a newly established N4 session in the third network.
[0472] A second N4 update request is sent to the sixth communication device. The second N4 update request contains the identifier of the second N4 session and is used to request management of the second N4 session.
[0473] The context acquisition device provided in this application embodiment can implement the various processes implemented in the method embodiment of 9 and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0474] See Figure 20 When the context acquisition device is applied to the second communication device, the context acquisition device 200 includes:
[0475] The fourth receiving module 201 is used for the fifth communication device to receive the identifier of the fifth session sent by the fourth communication device; wherein, the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network;
[0476] The fifth sending module 202 is used to obtain the context of the fifth session according to the identifier of the fifth session, and send the context of the fifth session to the fourth communication device; wherein the context of the fifth session is used to generate the context of the sixth session, and the sixth session is the session in the third network corresponding to the fifth session.
[0477] Optionally, the fifth communication device is selected based on relevant information of the fifth communication device corresponding to the fifth session.
[0478] Optionally, the fifth sending module 202 is further configured to: send an identifier of a second N4 session to the fourth communication device, wherein the second N4 session is an N4 session in the fourth network, and the identifier of the second N4 session is used to replace the N4 session in the fourth network with an N4 session established in the third network, or the identifier of the second N4 session is used to manage the second N4 session.
[0479] The context acquisition device provided in this application embodiment can implement the various processes implemented in the method embodiment of 10 and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0480] See Figure 21 When the context acquisition device is applied to the second communication device, the context acquisition device 210 includes:
[0481] The eighth acquisition module 211 is used for the eighth communication device to acquire third information;
[0482] The third information includes at least one of the following:
[0483] At least one identifier for the fifth session;
[0484] Parameter information for each of the five sessions in at least one fifth session;
[0485] Information related to the fifth communication device corresponding to each fifth session in at least one fifth session;
[0486] The fifth session is a session to be transferred in the fourth network, and the identifier of the fifth session is used to obtain the context of the sixth session. The sixth session is a session in the third network corresponding to the fifth session.
[0487] The eighth communication device is a device of the third network, and the relevant information of the fifth communication device is used to select the fifth communication device.
[0488] Optionally, the eighth acquisition module 211 is specifically used to: receive the third information sent by the seventh communication device; wherein the seventh communication device is a device in the fourth network, and the third information is obtained by the seventh communication device from its local storage.
[0489] Optionally, the eighth acquisition module 211 is specifically used for any of the following:
[0490] Obtain a seventh list, an eighth list, and a ninth list; wherein, the seventh list contains the identifier of the at least one fifth session, the eighth list contains parameter information of each fifth session in the at least one fifth session, and the ninth list contains relevant information of the fifth communication device corresponding to each fifth session in the at least one fifth session; the information contained in the same items of the seventh list, the eighth list, and the ninth list corresponds to the same session;
[0491] Obtain the tenth list, wherein each item in the tenth list includes an identifier of a fifth session, as well as corresponding parameter information and relevant information of a fifth communication device.
[0492] The context acquisition device provided in this application embodiment can achieve... Figure 11 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0493] like Figure 22 As shown, this application embodiment also provides a communication device 220, including a processor 221 and a memory 222. The memory 222 stores a program or instructions that can run on the processor 221. When the program or instructions are executed by the processor 221, they implement the various steps of the above-described context acquisition method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0494] Specifically, embodiments of this application also provide a network-side device. For example... Figure 23 As shown, the network-side device 230 includes a processor 231, a network interface 232, and a memory 233. The network interface 232 is, for example, a common public radio interface (CPRI).
[0495] Specifically, the network-side device 230 in this application embodiment further includes: instructions or programs stored in memory 233 and executable on processor 231. Processor 231 calls the instructions or programs in memory 233 to execute the various steps of the above-described context acquisition method embodiment and achieve the same technical effect. To avoid repetition, it will not be described in detail here.
[0496] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described context acquisition method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0497] The processor mentioned above is the processor in the terminal described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.
[0498] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described context acquisition method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0499] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0500] This application also provides a computer program / program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described context acquisition method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0501] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0502] From the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of computer software products plus necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk, etc.) and includes several instructions to cause the terminal or network-side device to execute the methods described in the various embodiments of this application.
[0503] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other implementations under the guidance of this application without departing from the spirit and scope of the claims. All of these implementations are within the protection scope of this application.
Claims
1. A context acquisition method, characterized in that, include: The first communication device acquires the identifier of the first session; wherein the first communication device is a device jointly provided by the first network and the second network, and the first session is a session to be transferred in the first network; The first communication device obtains the context of the first session based on the identifier of the first session; The first communication device generates the context of the second session based on the context of the first session; wherein the second session is the session in the second network corresponding to the first session.
2. The method according to claim 1, characterized in that, The first network and the second network satisfy any one of the following: The first network is a 5G network, and the second network is a 6G network; The first network is a 6G network, and the second network is a 5G network; The first network is a 4G network, and the second network is a 5G network; The first network is a 5G network, and the second network is a 4G network; The first network is a 6G network, and the second network is a 7G network; The first network is a 7G network, and the second network is a 6G network.
3. The method according to claim 1 or 2, characterized in that, The first communication device obtains the identifier of the first session, including: The first communication device acquires a first list, which contains the identifier of the first session.
4. A context acquisition method, characterized in that, include: The second communication device acquires the identifier of the first session; wherein the first session is a session to be transferred in the first network, and the second communication device is a device in the second network; The second communication device sends the identifier of the first session to the first communication device; wherein, the first communication device is a device co-located in the first network and the second network; the identifier of the first session is used to obtain the context of the first session, and generate the context of the second session based on the context of the first session; the second session is a session in the second network corresponding to the first session.
5. The method according to claim 4, characterized in that, The second communication device obtains the identifier of the first session, including: The second communication device receives the identifier of the first session from the third communication device; Wherein, the third communication device is a device of the first network; the identifier of the first session satisfies at least one of the following: The information is obtained from locally stored information by the third communication device; The third communication device obtains the information from the handover request sent by the access network device of the first network. The third communication device requests the data from the Unified Data Management (UDM) network element of the first network.
6. The method according to claim 4 or 5, characterized in that, The second communication device obtains the identifier of the first session, including: The second communication device acquires a first list, which contains the identifier of the first session.
7. The method according to any one of claims 4 to 6, characterized in that, The first network and the second network satisfy any one of the following: The first network is a 5G network, and the second network is a 6G network; The first network is a 6G network, and the second network is a 5G network; The first network is a 4G network, and the second network is a 5G network; The first network is a 5G network, and the second network is a 4G network; The first network is a 6G network, and the second network is a 7G network; The first network is a 7G network, and the second network is a 6G network.
8. A context acquisition method, characterized in that, include: The fourth communication device acquires the identifier of the third session; wherein, the fourth communication device is a device of the third network, and the third session is a session to be transferred in the third network; The fourth communication device obtains the context of the third session based on the identifier of the third session; The fourth communication device generates the context of the fourth session based on the context of the third session; wherein the fourth session is the session in the fourth network corresponding to the third session.
9. The method according to claim 8, characterized in that, The method further includes: The fourth communication device sends at least one of the following to the fifth communication device: The context of the fourth session; The identifier of the first N4 session, wherein the first N4 session is the N4 session in the third network, the identifier of the first N4 session is used to replace the N4 session in the third network with the N4 session established in the fourth network, or the identifier of the first N4 session is used to manage the first N4 session. The fifth communication device is a device of the fourth network.
10. The method according to claim 8 or 9, characterized in that, The fourth communication device is selected by the fifth communication device based on relevant information of the fourth communication device corresponding to the third session. The fourth communication device obtains the identifier of the third session, including: The fourth communication device receives the identifier of the third session sent by the fifth communication device, and the identifier of the third session is used to request the context of the fourth session.
11. The method according to claim 10, characterized in that, The relevant information of the fourth communication device includes at least one of the following: The identifier of the fourth communication device; The full domain name of the fourth communication device; The Internet Protocol (IP) address of the fourth communication device; The IP address and port number of the fourth communication device.
12. A context acquisition method, characterized in that, include: The fifth communication device acquires the identifier of the third session and the relevant information of the fourth communication device corresponding to the third session; wherein, the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the third session is a session to be transferred in the third network; The fifth communication device sends the identifier of the third session to the fourth communication device based on the relevant information of the fourth communication device; wherein, the identifier of the third session is used to request the context of the fourth session, and the fourth session is the session in the fourth network corresponding to the third session.
13. The method according to claim 12, characterized in that, The method further includes: The fifth communication device receives the identifier of the first N4 session sent by the fourth communication device; wherein the first N4 session is an N4 session in the third network; The fifth communication device performs a first operation, the first operation including at least one of the following: Send a first N4 establishment request to the sixth communication device. The first N4 establishment request contains the identifier of the first N4 session and first indication information. The first indication information is used to indicate that the first N4 session is replaced with a newly established N4 session in the fourth network. A first N4 update request is sent to the sixth communication device. The first N4 update request contains the identifier of the first N4 session and is used to request management of the first N4 session.
14. The method according to claim 12 or 13, characterized in that, The fifth communication device is selected by the seventh communication device based on the parameter information of the fourth session, and the seventh communication device is a device of the fourth network.
15. A context acquisition method, characterized in that, include: The seventh communication device acquires the first information; The first information includes at least one of the following: At least one identifier for a third session; Parameter information of the fourth session corresponding to each third session in at least one third session; Information related to the fourth communication device corresponding to each third session in at least one third session; Wherein, the third session is a session to be transferred in the third network, the fourth session is a session in the fourth network corresponding to the third session, and the fourth communication device is a device in the third network; The identifier of the third session is used to obtain the context of the fourth session; The parameter information of the fourth session is used to select the fifth communication device in the fourth network corresponding to the fourth session; The relevant information of the fourth communication device is used to select the fourth communication device.
16. The method according to claim 15, characterized in that, The seventh communication device acquires the first information, including: The seventh communication device receives the first information sent by the eighth communication device; Wherein, the eighth communication device is a device of the third network; the first information is obtained based on the second information obtained by the eighth communication device; the second information satisfies at least one of the following: The information is obtained from locally stored information by the eighth communication device; The eighth communication device obtains the information from a handover request sent by the access network device of the third network. The eighth communication device requests the information from the UDM network element of the third network.
17. The method according to claim 15 or 16, characterized in that, The seventh communication device acquires the first information, including any one of the following: The seventh communication device acquires a third list, a fourth list, and a fifth list; wherein, the third list contains the identifier of the at least one third session, the fourth list contains parameter information of the fourth session corresponding to each of the at least one third session, and the fifth list contains relevant information of the fourth communication device corresponding to each of the at least one third session; identical items in the third list, the fourth list, and the fifth list represent the same session; The seventh communication device acquires a sixth list, wherein each item in the sixth list includes an identifier of a third session, parameter information of the corresponding fourth session, and relevant information of the fourth communication device.
18. A context acquisition method, characterized in that, include: The fourth communication device sends the identifier of the fifth session to the fifth communication device; wherein, the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network; The fourth communication device receives from the fifth communication device the context of the fifth session obtained based on the identifier of the fifth session; The fourth communication device generates the context of the sixth session based on the context of the fifth session, wherein the sixth session is the session in the third network corresponding to the fifth session.
19. The method according to claim 18, characterized in that, The method further includes: The fourth communication device receives at least one of the following from the eighth communication device: The identifier of the fifth session; The relevant information of the fifth communication device is used to select the fifth communication device.
20. The method according to claim 19, characterized in that, The relevant information of the fifth communication device includes at least one of the following: The identifier of the fifth communication device; The full domain name of the fifth communication device; The Internet Protocol (IP) address of the fifth communication device; The IP address and port number of the fifth communication device.
21. The method according to claim 18 or 19, characterized in that, The fourth communication device is selected by the eighth communication device based on the parameter information of the sixth session, and the parameter information of the sixth session is mapped based on the parameter information of the fifth session obtained by the eighth communication device.
22. The method according to any one of claims 18 to 21, characterized in that, The method further includes: The fourth communication device receives the identifier of the second N4 session from the fifth communication device, and the second N4 session is the N4 session in the fourth network; The fourth communication device performs a second operation, which includes at least one of the following: Send a second N4 establishment request to the sixth communication device. The second N4 establishment request contains the identifier of the second N4 session and second indication information. The second indication information is used to indicate that the second N4 session should be replaced with a newly established N4 session in the third network. A second N4 update request is sent to the sixth communication device. The second N4 update request contains the identifier of the second N4 session and is used to request management of the second N4 session.
23. A context acquisition method, characterized in that, include: The fifth communication device receives the identifier of the fifth session sent by the fourth communication device; wherein, the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network; The fifth communication device obtains the context of the fifth session based on the identifier of the fifth session, and sends the context of the fifth session to the fourth communication device; wherein, the context of the fifth session is used to generate the context of the sixth session, and the sixth session is the session in the third network corresponding to the fifth session.
24. The method according to claim 23, characterized in that, The fifth communication device is selected based on the relevant information of the fifth communication device corresponding to the fifth session.
25. The method according to claim 23 or 24, characterized in that, The method further includes: The fifth communication device sends an identifier of the second N4 session to the fourth communication device. The second N4 session is an N4 session in the fourth network. The identifier of the second N4 session is used to replace the N4 session in the fourth network with an N4 session established in the third network, or the identifier of the second N4 session is used to manage the second N4 session.
26. A context acquisition method, characterized in that, include: The eighth communication device acquires third information; The third information includes at least one of the following: At least one identifier for the fifth session; Parameter information for each of the five sessions in at least one fifth session; Information related to the fifth communication device corresponding to each fifth session in at least one fifth session; The fifth session is a session to be transferred in the fourth network, and the identifier of the fifth session is used to obtain the context of the sixth session. The sixth session is a session in the third network corresponding to the fifth session. The fifth communication device is a device of the fourth network, and the relevant information of the fifth communication device is used to select the fifth communication device.
27. The method according to claim 26, characterized in that, The eighth communication device acquires third information, including: The eighth communication device receives the third information sent by the seventh communication device; wherein the seventh communication device is a device in the fourth network, and the third information is obtained by the seventh communication device from its local storage.
28. The method according to claim 26 or 27, characterized in that, The eighth communication device acquires third information, including any one of the following: The eighth communication device acquires a seventh list, an eighth list, and a ninth list; wherein, the seventh list contains the identifier of the at least one fifth session, the eighth list contains parameter information of each fifth session in the at least one fifth session, and the ninth list contains relevant information of the fifth communication device corresponding to each fifth session in the at least one fifth session; the same items in the seventh list, the eighth list, and the ninth list contain information corresponding to the same session; The eighth communication device acquires the tenth list, wherein each item in the tenth list includes an identifier of a fifth session, corresponding parameter information, and relevant information of the fifth communication device.
29. A context-obtaining device, characterized in that, include: The first acquisition module is used for the first communication device to acquire the identifier of the first session; wherein the first communication device is a device jointly provided by the first network and the second network, and the first session is a session to be transferred in the first network; The second acquisition module is used to acquire the context of the first session based on the identifier of the first session; The first generation module is used to generate the context of the second session based on the context of the first session; wherein the second session is the session in the second network corresponding to the first session.
30. The apparatus according to claim 29, characterized in that, The first network and the second network satisfy any one of the following: The first network is a 5G network, and the second network is a 6G network; The first network is a 6G network, and the second network is a 5G network; The first network is a 4G network, and the second network is a 5G network; The first network is a 5G network, and the second network is a 4G network; The first network is a 6G network, and the second network is a 7G network; The first network is a 7G network, and the second network is a 6G network.
31. A context acquisition device, characterized in that, include: The third acquisition module is used for the second communication device to acquire the identifier of the first session; wherein the first session is a session to be transferred in the first network, and the second communication device is a device in the second network; A first sending module is configured to send an identifier of the first session to a first communication device; wherein the first communication device is a device co-located with the first network and the second network; the identifier of the first session is used to obtain the context of the first session and generate the context of the second session based on the context of the first session; the second session is a session in the second network corresponding to the first session.
32. A context-obtaining device, characterized in that, include: The fourth acquisition module is used for the fourth communication device to acquire the identifier of the third session; wherein, the fourth communication device is a device of the third network, and the third session is a session to be transferred in the third network; The fifth acquisition module is used to acquire the context of the third session based on the identifier of the third session; The second generation module is used to generate the context of the fourth session based on the context of the third session; wherein the fourth session is the session in the fourth network corresponding to the third session.
33. A context acquisition device, characterized in that, include: The sixth acquisition module is used by the fifth communication device to acquire the identifier of the third session and the relevant information of the fourth communication device corresponding to the third session; wherein, the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the third session is a session to be transferred in the third network; The third sending module is used to send the identifier of the third session to the fourth communication device according to the relevant information of the fourth communication device; wherein the identifier of the third session is used to request the context of the fourth session, and the fourth session is the session in the fourth network corresponding to the third session.
34. A context-obtaining device, characterized in that, include: The seventh acquisition module is used by the seventh communication device to acquire the first information; The first information includes at least one of the following: At least one identifier for a third session; Parameter information of the fourth session corresponding to each third session in at least one third session; Information related to the fourth communication device corresponding to each third session in at least one third session; Wherein, the third session is a session to be transferred in the third network, the fourth session is a session in the fourth network corresponding to the third session, and the fourth communication device is a device in the third network; The identifier of the third session is used to obtain the context of the fourth session; the parameter information of the fourth session is used to select the fifth communication device in the fourth network corresponding to the fourth session. The relevant information of the fourth communication device is used to select the fourth communication device.
35. A context-obtaining device, characterized in that, include: The fourth sending module is used to send the identifier of the fifth session from the fourth communication device to the fifth communication device; wherein the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network; The second receiving module is configured to receive from the fifth communication device the context of the fifth session obtained according to the identifier of the fifth session; The third generation module is used to generate the context of the sixth session based on the context of the fifth session, wherein the sixth session is the session in the third network corresponding to the fifth session.
36. A context-obtaining device, characterized in that, include: The fourth receiving module is used for the fifth communication device to receive the identifier of the fifth session sent by the fourth communication device; wherein the fourth communication device is a device of the third network, the fifth communication device is a device of the fourth network, and the fifth session is a session to be transferred in the fourth network; The fifth sending module is used to obtain the context of the fifth session based on the identifier of the fifth session, and send the context of the fifth session to the fourth communication device; wherein the context of the fifth session is used to generate the context of the sixth session, and the sixth session is the session in the third network corresponding to the fifth session.
37. A context-obtaining device, characterized in that, include: The eighth acquisition module is used by the eighth communication device to acquire third information; The third information includes at least one of the following: At least one identifier for the fifth session; Parameter information for each of the five sessions in at least one fifth session; Information related to the fifth communication device corresponding to each fifth session in at least one fifth session; The fifth session is a session to be transferred in the fourth network, and the identifier of the fifth session is used to obtain the context of the sixth session. The sixth session is a session in the third network corresponding to the fifth session. The eighth communication device is a device of the third network, and the relevant information of the fifth communication device is used to select the fifth communication device.
38. A communication device, characterized in that, The method includes a processor and a memory, the memory storing a program or instructions executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method as claimed in any one of claims 1 to 3, or the steps of the method as claimed in any one of claims 4 to 7, or the steps of the method as claimed in any one of claims 8 to 11, or the steps of the method as claimed in any one of claims 12 to 14, or the steps of the method as claimed in any one of claims 15 to 17, or the steps of the method as claimed in any one of claims 18 to 22, or the steps of the method as claimed in any one of claims 23 to 25, or the steps of the method as claimed in any one of claims 26 to 28.
39. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the method as claimed in any one of claims 1 to 3, or the steps of the method as claimed in any one of claims 4 to 7, or the steps of the method as claimed in any one of claims 8 to 11, or the steps of the method as claimed in any one of claims 12 to 14, or the steps of the method as claimed in any one of claims 15 to 17, or the steps of the method as claimed in any one of claims 18 to 22, or the steps of the method as claimed in any one of claims 23 to 25, or the steps of the method as claimed in any one of claims 26 to 28.