Communication method, device and system and storage medium

By using the first network element to receive and send IP address range in the edge computing scenario, the service flow between the terminal and the source EAS is migrated to the authorized target EAS, which solves the problem of low edge migration efficiency and improves the migration success rate and efficiency.

CN118945886APending Publication Date: 2024-11-12HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310539711.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-12
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In edge computing deployment scenarios, edge migration efficiency is low, and the existing technology is difficult to effectively solve the problem of edge migration failure.

Method used

Receive the second IP address range through the first network element, send the first IP address range to the third network element, and migrate the service flow between the terminal and the source EAS to the target EAS according to the indication information, so that the target EAS is authorized, This improves the efficiency of edge migration.

Benefits of technology

The success rate of edge migration is improved, ensuring business continuity and efficiency during the migration process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945886A_ABST
    Figure CN118945886A_ABST
Patent Text Reader

Abstract

The invention discloses a communication method, device and system and a storage medium. In the communication method, a first network element receives a second internet protocol IP address range which is from a second network element and allows a terminal to be routed to a local data network of a VPLMN, and sends a first IP address range to a third network element according to the second IP address range. And the first network element receives first indication information from the third network element, the first indication information being used for indicating the first network element to migrate a service flow between the terminal and a source EAS to a target EAS, and an IP address of the target EAS belonging to the first IP address range. According to the method, the edge migration efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In edge computing (EC) deployment scenarios, due to terminal mobility, edge application server (EAS) load balancing, etc., service flows need to be migrated to ensure service continuity. In home routed with session breakout (HR-SBO) roaming scenarios, in order to maintain the control of the home PLMN (HPLMN) over the local offloaded services, the home-session management function (H-SMF) will indicate the IP address range authorized to be accessed in the visited public land mobile network (VPLMN) when, during, or after the session is established.

[0003] In the prior art, edge migration is prone to failure, that is, the efficiency of edge migration is low. Summary of the invention

[0004] The present application provides a communication method, device, system and storage medium to improve the efficiency of edge migration.

[0005] In a first aspect, a communication method is provided. The method may be performed by a first network element, or by a module (such as a processor, a chip, or a chip system, etc.) applied to the first network element, or by a logical node, a logical module, or software that can implement all or part of the functions of the first network element. Exemplarily, the first network element may be a V-SMF.

[0006] The method includes: a first network element receives a second Internet Protocol (IP) address range from a second network element that allows a terminal to be routed to a local data network of a VPLMN; the first network element sends a first IP address range to a third network element based on the second IP address range; and the first network element receives first indication information from the third network element, wherein the first indication information is used to instruct the first network element to migrate a service flow between the terminal and a source EAS to a target EAS, and the IP address of the target EAS belongs to the first IP address range.

[0007] In this aspect, the first network element sends a first IP address range that allows the terminal to be routed to the local data network of the VPLMN to a third network element, so that when the third network element is triggered to perform edge migration, the target EAS is determined according to the first IP address range, and the service flow between the terminal and the source EAS is migrated to the target EAS according to the instruction of the third network element, so that the target EAS is authorized, thereby enabling successful migration and improving the efficiency of edge migration.

[0008] Exemplarily, the first IP address range is determined based on the second IP address range. The first IP address range may be smaller than or equal to the second IP address range.

[0009] In a possible implementation, the source EAS includes the EAS that serves the terminal before the migration, and the target EAS includes the EAS that serves the terminal after the migration.

[0010] In another possible implementation, the first network element sends the first IP address range to the third network element based on the second IP address range, including: the first network element receives a subscription request from the third network element, and the subscription request is used to request subscription to the first IP address range corresponding to at least one terminal; and the first network element sends a notification message to the third network element, and the notification message includes the first IP address range corresponding to the at least one terminal.

[0011] In this implementation, the first network element may send the first IP address range that allows the terminal to be routed to the local data network of the VPLMN to the third network element through a subscription process.

[0012] In another possible implementation, before the first network element sends the first IP address range to the third network element based on the second IP address range, the method also includes: the first network element receives second indication information from the third network element, the second indication information is used to instruct the first network element to replace the IP address of the user message; and the first network element sends rejection information to the third network element, the rejection information is used to instruct the first network element to refuse to replace the IP address of the user message.

[0013] In this implementation, after receiving an instruction from the third network element instructing the first network element to migrate the service flow between the terminal and the source EAS to the first target EAS, if the first network element finds that the first target EAS is not within the first IP address range of the local data network that allows the terminal to be routed to the VPLMN, the first network element sends a rejection message to the third network element, and the third network element sends the first IP address range, so that the third network element can select the second target EAS within the first IP address range, so that the third network element can instruct the first network element and L-PSA to successfully complete the edge migration, thereby improving the efficiency of edge migration.

[0014] In yet another possible implementation, the rejection information includes the first IP address range.

[0015] In this implementation, the first IP address range may be included in the rejection information. In addition, the first IP address range and the rejection information may also be in a different message.

[0016] In another possible implementation, after the first network element receives the first indication information from the third network element, the method further includes: the first network element instructs the fourth network element to replace the IP address of the user message.

[0017] In yet another possible implementation, the first indication information includes the IP address of the target EAS.

[0018] In yet another possible implementation, the first indication information further includes at least one of the following information: a port number of the target EAS, an IP address of the source EAS, and a port number of the source EAS.

[0019] In another possible implementation, the first network element is a session management network element of the VPLMN, and the first network element is used to obtain the second IP address range from the session management network element of the HPLMN.

[0020] In a second aspect, a communication method is provided. The method may be performed by a third network element, or by a module (such as a processor, a chip, or a chip system, etc.) applied to the third network element, or by a logical node, a logical module, or software that can implement all or part of the functions of the third network element. Exemplarily, the third network element may be an application function (AF).

[0021] The method includes: a third network element obtains a first IP address range of a local data network that allows the terminal to be routed to the VPLMN; and the third network element sends a first indication message to the first network element, wherein the first indication message is used to instruct the first network element to migrate the service flow between the terminal and the source EAS to the target EAS, and the IP address of the target EAS belongs to the first IP address range.

[0022] In a possible implementation, the source EAS includes the EAS that serves the terminal before the migration, and the target EAS includes the EAS that serves the terminal after the migration.

[0023] In another possible implementation, the third network element obtains a first IP address range of a local data network that allows the terminal to be routed to the VPLMN, including: the third network element sends a subscription request to the first network element, the subscription request is used to request subscription to a first IP address range corresponding to at least one terminal; and the third network element receives a notification message from the first network element, the notification message including the first IP address range corresponding to the at least one terminal.

[0024] In another possible implementation, the third network element obtains a first IP address range of a local data network that allows the terminal to be routed to the VPLMN, including: the third network element instructs the first network element to replace the IP address of the user message; the third network element receives rejection information from the first network element, and the rejection information is used to instruct the first network element to refuse to replace the IP address of the user message; and the third network element receives the first IP address range from the first network element.

[0025] In another possible implementation, the first IP address range is storage information of the third network element.

[0026] In another possible implementation, before the third network element sends the first indication information to the first network element, the method further includes: the third network element determining that the service flow is a first type of service flow.

[0027] In another possible implementation, the method further includes: the third network element selecting a target EAS corresponding to the target IP address in the first IP address range according to the location of the terminal and / or a load condition of at least one EAS corresponding to the first IP address range.

[0028] In yet another possible implementation, the first indication information includes the IP address of the target EAS.

[0029] In yet another possible implementation, the first indication information further includes at least one of the following information: a port number of the target EAS, an IP address of the source EAS, and a port number of the source EAS.

[0030] In a third aspect, a communication method is provided. The method may be performed by a first network element, or by a module (such as a processor, a chip, or a chip system, etc.) applied to the first network element, or by a logical node, a logical module, or software that can implement all or part of the functions of the first network element. Exemplarily, the first network element may be a V-SMF.

[0031] The method includes: a first network element receives a second IP address range from a second network element that allows a terminal to be routed to a local data network of a VPLMN; the first network element receives first information from a third network element, the first information including a correspondence between at least one EAS and at least one weight factor; the first network element determines a target EAS belonging to a first IP address range based on the first information, the first IP address range being related to the second IP address range; the first network element sends first indication information to the third network element, the first indication information being used to indicate the target EAS; and the first network element receives second indication information from the third network element, the second indication information being used to indicate the first network element to migrate a service flow between the terminal and a source EAS to the target EAS.

[0032] In this aspect, V-SMF can accurately determine the target EAS based on the correspondence between at least one EAS and at least one weight factor provided by AF, according to the first IP address range and the correspondence, thereby improving the success rate of migrating the service flow to the target EAS and improving the efficiency of edge migration.

[0033] In a possible implementation, the source EAS includes the EAS that serves the terminal before the migration, and the target EAS includes the EAS that serves the terminal after the migration.

[0034] In another possible implementation, the first network element determines the target EAS belonging to the first IP address range based on the first information, including: the first network element determines all EASs in the first information that belong to the first IP address range, and selects the EAS with the largest weight factor as the target EAS among the determined EASs based on the correspondence between the at least one EAS and the at least one weight factor.

[0035] In yet another possible implementation, the second indication information includes the IP address of the target EAS.

[0036] In yet another possible implementation, the second indication information further includes at least one of the following information: the port number of the target EAS, the IP address of the source EAS, and the port number of the source EAS.

[0037] In another possible implementation, after the first network element receives the second indication information from the third network element, the method further includes: the first network element instructs the fourth network element to replace the IP address of the user message.

[0038] In another possible implementation, the first network element is a session management network element of the VPLMN, and the first network element is used to obtain the second IP address range from the session management network element of the HPLMN.

[0039] In a fourth aspect, a communication method is provided. The method may be performed by a third network element, or by a module (such as a processor, a chip, or a chip system, etc.) applied to the third network element, or by a logical node, a logical module, or software that can implement all or part of the functions of the third network element. Exemplarily, the third network element may be an AF.

[0040] The method includes: a third network element sends first information to a first network element, the first information includes a correspondence between at least one EAS and at least one weight factor; the third network element receives first indication information from the first network element, the first indication information is used to indicate a target EAS; and the third network element sends second indication information to the first network element, the second indication information is used to instruct the first network element to migrate the service flow between the terminal and the source EAS to the target EAS, the IP address of the target EAS belongs to a first IP address range, and the first IP address range is the IP address range corresponding to the EAS accessed by the terminal authorized by the home public land mobile network HPLMN to roam to the visited public land mobile network VPLMN.

[0041] In a possible implementation, the method further includes: the third network element determining that the service flow is a first type of service flow.

[0042] In another possible implementation, the source EAS includes the EAS that serves the terminal before the migration, and the target EAS includes the EAS that serves the terminal after the migration.

[0043] In yet another possible implementation, the second indication information includes the IP address of the target EAS.

[0044] In yet another possible implementation, the second indication information further includes at least one of the following information: the port number of the target EAS, the IP address of the source EAS, and the port number of the source EAS.

[0045] In a fifth aspect, a communication device is provided, for implementing the communication method in the first aspect or any one of the implementations of the first aspect; or for implementing the communication method in the third aspect or any one of the implementations of the third aspect. The device may be a first network element, or a module (such as a processor, a chip, or a chip system) applied to the first network element, or a logical node, a logical module, or software that can implement all or part of the functions of the first network element.

[0046] In a sixth aspect, a communication device is provided, for implementing the communication method in the second aspect or any one of the implementations of the second aspect; or, for implementing the communication method in the fourth aspect or any one of the implementations of the fourth aspect. The device may be a third network element, or a module (such as a processor, a chip, or a chip system) applied to a third network element, or a logical node, a logical module, or software that can implement all or part of the functions of a third network element.

[0047] In a possible implementation, the communication device in the fifth to sixth aspects includes a module for respectively executing the method in any aspect or any implementation of the first to fourth aspects.

[0048] In another possible implementation, the communication device in the fifth to sixth aspects above includes a processor coupled to a memory; the processor is configured to enable the device to perform the corresponding functions in the above communication method. The memory is used to couple with the processor, which stores the necessary programs (instructions) and / or data for the device. Optionally, the communication device may also include a communication interface for implementing communication between the device and other network elements. Optionally, the memory may be located inside the communication device or outside the communication device.

[0049] In another possible implementation, the communication device in the fifth to sixth aspects includes a processor and a transceiver, the processor is coupled to the transceiver, and the processor is used to execute a computer program or instruction to control the transceiver to receive and send information; when the processor executes the computer program or instruction, the processor is also used to implement the above method through a logic circuit or execute code instructions. The transceiver may be a transceiver, a transceiver circuit or an input-output interface, which is used to receive signals from other communication devices outside the communication device and transmit them to the processor or send signals from the processor to other communication devices outside the communication device. When the communication device is a chip, the transceiver is a transceiver circuit or an input-output interface.

[0050] When the communication device in the fifth to sixth aspects is a chip, the sending unit may be an output unit, such as an output circuit or a communication interface; the receiving unit may be an input unit, such as an input circuit or a communication interface. When the communication device is a terminal, the sending unit may be a transmitter or a transmitter; the receiving unit may be a receiver or a receiver.

[0051] In a seventh aspect, a computer-readable storage medium is provided, wherein a computer program or instruction is stored in the computer-readable storage medium, and when the computer program or instruction is executed, the methods described in the above aspects are implemented.

[0052] According to an eighth aspect, a computer program product comprising instructions is provided. When the instructions are executed on a communication device, the communication device executes the methods described in the above aspects.

[0053] In a ninth aspect, a communication system is provided, which includes a second network element, the communication device described in the fifth aspect, and the communication device described in the sixth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A simplified schematic diagram of a wireless communication system provided by an embodiment of the present application;

[0055] Figure 2 A schematic diagram of a non-roaming 5G edge computing offload architecture provided in an embodiment of the present application;

[0056] Figure 3 A schematic diagram of an edge migration process provided in an embodiment of the present application;

[0057] Figure 4 A schematic diagram of the architecture of session-separated home routing roaming provided in an embodiment of the present application;

[0058] Figure 5 A flow chart of a communication method provided in an embodiment of the present application;

[0059] Figure 6 A flowchart of another communication method provided in an embodiment of the present application;

[0060] Figure 7 A flowchart of another communication method provided in an embodiment of the present application;

[0061] Figure 8 A flowchart of another communication method provided in an embodiment of the present application;

[0062] Fig. 9 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0063] Fig.10 A schematic diagram of the structure of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application.

[0065] The at least one (item) involved in the present application as follows indicates one (item) or more (items). More than one (item) refers to two (items) or more than two (items). "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, it should be understood that although the terms first, second, etc. may be used to describe each object in the present application, these objects should not be limited to these terms. These terms are only used to distinguish each object from each other.

[0066] The terms "including" and "having" and any variations thereof mentioned in the following description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes other steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. It should be noted that in the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any method or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other methods or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner.

[0067] The technology provided by the present application can be applied to various communication systems. For example, the communication system can be a fourth generation (4 th generation, 4G) communication systems (such as long term evolution (LTE) systems), fifth generation (5 th The 5G communication system may also be referred to as a new radio (NR) system.

[0068] A network element in a communication system can send a signal to another network element or receive a signal from another network element. The signal may include information, signaling, or data, etc. The network element may also be replaced by an entity, a network entity, a device, a communication device, a communication module, a node, a communication node, etc. The network element is used as an example for description in this application. For example, a communication system may include at least one terminal and at least one access network device. The access network device may send a downlink signal to the terminal, and / or the terminal may send an uplink signal to the access network device. In addition, it can be understood that if a plurality of terminals are included in the communication system, the plurality of terminals may also send signals to each other, that is, the signal sending network element and the signal receiving network element may both be terminals.

[0069] See also Figure 1 , Figure 1 A simplified schematic diagram of a wireless communication system provided in an embodiment of the present application. Figure 1 As shown, the wireless communication system includes a wireless access network 100. The wireless access network 100 may be a next generation (e.g., 6G or higher) wireless access network, or a traditional (e.g., 5G or 4G) wireless access network. One or more communication devices (120a-120j, collectively referred to as 120) may be connected to each other or to one or more network devices (110a, 110b, collectively referred to as 110) in the wireless access network 100. Figure 1 This is just a schematic diagram. The wireless communication system may also include other devices, such as core network devices, wireless relay devices and / or wireless backhaul devices. Figure 1 Not drawn in.

[0070] For example, in practical applications, the wireless communication system may include multiple network devices (also referred to as access network devices) at the same time, or may include multiple communication devices at the same time. A network device may serve one or more communication devices at the same time. A communication device may also access one or more network devices at the same time. The embodiment of the present application does not limit the number of communication devices and network devices included in the wireless communication system.

[0071] The network device may be an entity on the network side for transmitting or receiving signals. The network device may be an access device for a communication device to access the wireless communication system in a wireless manner, such as a base station. The base station can broadly cover various names as follows, or be replaced with the following names, such as: NodeB, evolved NodeB (eNB), next generation NodeB (gNB), access network equipment in open radio access network (O-RAN), relay station, access point, transmission point (transmitting and receiving point, TRP), transmission point (transmitting point, TP), master station MeNB, secondary station SeNB, multi-standard wireless node, home base station, network controller, access node, wireless node, access point (AP), transmission node, transceiver node, baseband unit (BBU), remote radio unit (RRU), active antenna unit (AAU), remote radio head (RRH), central unit (CU), distributed unit (DU), radio unit (RU), centralized unit control plane (CU control plane, CU-CP) node, centralized unit user plane (CU The base station may be a macro base station, a micro base station, a relay node, a donor node or the like, or a combination thereof. The network device may also refer to a communication module, a modem or a chip that is arranged in the aforementioned device or apparatus. The network device may also be a mobile switching center and a device that performs the base station function in device-to-device (D2D), vehicle-to-everything (V2X), and machine-to-machine (M2M) communications, a network side device in a 6G network, and a device that performs the base station function in future communication systems. The network device may support networks with the same or different access technologies. The embodiments of the present application do not limit the specific technology and specific device form adopted by the network device.

[0072] All or part of the functions of the network device in this application can also be implemented by software functions running on hardware, or by virtualization functions instantiated on a platform (such as a cloud platform). The network device in this application can also be a logical node, logical module or software that can implement all or part of the network device functions.

[0073] The network equipment may be fixed or mobile. For example, the base stations 110 a and 110 b are stationary and are responsible for wireless transmission and reception in one or more cells from the communication device 120 . Figure 1 The helicopter or drone 120i shown in the figure can be configured to act as a mobile base station, and one or more cells can move according to the location of the mobile base station 120i. In other examples, the helicopter or drone (120i) can be configured to be used as a communication device for communicating with the base station 110b.

[0074] In the present application, the communication device used to implement the above access network function can be an access network device, or a network device with some functions of accessing the network, or a device capable of supporting the implementation of the access network function, such as a chip system, a hardware circuit, a software module, or a hardware circuit plus a software module, which can be installed in the access network device or used in combination with the access network device. In the method of the present application, the communication device used to implement the access network device function is an access network device for example.

[0075] The communication device can be an entity on the user side for receiving or transmitting signals, such as a mobile phone. The communication device can be used to connect people, objects and machines. The communication device can communicate with one or more core networks through a network device. The communication device includes a handheld device with a wireless connection function, other processing devices connected to a wireless modem, or a vehicle-mounted device. The communication device can be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device. The communication device 120 can be widely used in various scenarios, such as cellular communication, device-to-device, vehicle-to-everything (V2X), end-to-end (point-to-point, P2P), machine-to-machine (machine-to-machine, M2M), machine type communication (MTC), Internet of Things (IoT), virtual reality (virtual reality, VR), augmented reality (augmented reality, AR), industrial control, autonomous driving, telemedicine, smart grid, smart furniture, smart office, smart wear, smart transportation, smart city, drone, robot, remote sensing, passive sensing, positioning, navigation and tracking, autonomous delivery and mobility, etc. Some examples of communication devices 120 are: the 3 Generation Partnership Project rdThe products include user equipment (UE) of the 3GPP standard, fixed equipment, mobile devices, handheld devices, wearable devices, cellular phones, smart phones, session initiation protocol (SIP) phones, laptops, personal computers, smart books, vehicles, satellites, global positioning system (GPS) devices, target tracking devices, drones, helicopters, aircraft, ships, remote control devices, smart home devices, industrial equipment, personal communication service (PCS) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), wireless network cameras, tablet computers, PDAs, mobile internet devices (MIDs), wearable devices such as smart watches, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, terminals in vehicle networking systems, wireless terminals in self driving, wireless terminals in smart grids, wireless terminals in transportation safety, and smart cities. The communication device 120 may be a wireless device in the above various scenarios or a device used to be set in a wireless device, for example, a communication module, a modem or a chip in the above device. The communication device may also be referred to as a terminal, a terminal device, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. The communication device may also be a communication device in a future wireless communication system. The communication device may be used in a dedicated network device or a general device. The embodiments of the present application do not limit the specific technology and specific device form adopted by the communication device.

[0076] Exemplarily, the communication device may be used to act as a base station. For example, the UE may act as a scheduling entity that provides sidelink signals between UEs in V2X, D2D, or P2P, etc. Figure 1As shown, the cell phone 120a and the car 120b communicate with each other using a sidelink signal. The cell phone 120a and the smart home device 120e communicate with each other without relaying the communication signal through the base station 110b.

[0077] In the present application, the communication device used to implement the functions of the communication device may be a terminal, or a terminal having some of the functions of the above communication device, or a device capable of supporting the implementation of the functions of the above communication device, such as a chip system, which may be installed in the terminal or used in combination with the terminal. In the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices. In the technical solution provided in the present application, the communication device is described as a terminal or UE as an example.

[0078] Exemplarily, a wireless communication system is usually composed of cells, and a base station provides management of the cells. The base station provides communication services to multiple mobile stations (MS) in the cells. The base station includes a baseband unit (BBU) and a remote radio unit (RRU). The BBU and RRU can be placed in different places, for example: the RRU is remote and placed in an area with high traffic volume, and the BBU is placed in a central computer room. The BBU and RRU can also be placed in the same computer room. The BBU and RRU can also be different components under one rack. Exemplarily, a cell can correspond to a carrier or a component carrier.

[0079] It can be understood that the present application can be applied between a network device and a communication device, between a network device and a network device, or between a communication device and a communication device, that is, between a primary device and a secondary device. The primary device can be a network device or a communication device. When the primary device is a network device, the secondary device can be another network device or a communication device. When the primary device is a communication device, the secondary device can be another communication device.

[0080] The communication between the access network device and the terminal follows a certain protocol layer structure. The protocol layer structure may include a control plane protocol layer structure and a user plane protocol layer structure. For example, the control plane protocol layer structure may include the functions of the protocol layers such as the radio resource control (RRC) layer, the packet data convergence protocol (PDCP) layer, the radio link control (RLC) layer, the medium access control (MAC) layer and the physical layer. For example, the user plane protocol layer structure may include the functions of the protocol layers such as the PDCP layer, the RLC layer, the MAC layer and the physical layer. In a possible implementation, the service data adaptation protocol (SDAP) layer may also be included above the PDCP layer.

[0081] Exemplarily, the protocol layer structure between the access network device and the terminal may also include an artificial intelligence (AI) layer for transmitting data related to AI functions.

[0082] Taking data transmission between access network equipment and terminals as an example, data transmission needs to pass through the user plane protocol layer, such as the SDAP layer, PDCP layer, RLC layer, MAC layer, and physical layer. Among them, the SDAP layer, PDCP layer, RLC layer, MAC layer, and physical layer can also be collectively referred to as the access layer. According to the transmission direction of the data, it is divided into sending or receiving, and each of the above layers is divided into a sending part and a receiving part. Taking downlink data transmission as an example, after the PDCP layer obtains data from the upper layer, it transmits the data to the RLC layer and the MAC layer, and then the MAC layer generates a transmission block, and then transmits it wirelessly through the physical layer. The data is encapsulated accordingly in each layer. For example, the data received by a layer from the upper layer of the layer is regarded as the service data unit (SDU) of the layer, which becomes a protocol data unit (PDU) after being encapsulated by the layer, and then passed to the next layer.

[0083] Exemplarily, the terminal may also have an application layer and a non-access layer. The application layer may be used to provide services to applications installed in the terminal. For example, downlink data received by the terminal may be sequentially transmitted from the physical layer to the application layer, and then provided to the application by the application layer; for another example, the application layer may obtain data generated by the application, and sequentially transmit the data to the physical layer and send it to other communication devices. The non-access layer may be used to forward user data, such as forwarding uplink data received from the application layer to the SDAP layer or forwarding downlink data received from the SDAP layer to the application layer.

[0084] The access network equipment may include a centralized unit (CU) and a distributed unit (DU). Multiple DUs may be centrally controlled by one CU. As an example, the interface between the CU and the DU may be referred to as an F1 interface. Among them, the control plane (CP) interface may be F1-C, and the user plane (UP) interface may be F1-U. The CU and DU may be divided according to the protocol layers of the wireless network: for example, the functions of the PDCP layer and above are set in the CU, and the functions of the protocol layers below the PDCP layer (such as the RLC layer and the MAC layer, etc.) are set in the DU; for another example, the functions of the protocol layers above the PDCP layer are set in the CU, and the functions of the protocol layers below the PDCP layer are set in the DU.

[0085] It is understandable that the above-mentioned division of the processing functions of CU and DU according to the protocol layer is only an example, and it can also be divided in other ways, for example, CU or DU can be divided into functions with more protocol layers, and for example, CU or DU can also be divided into partial processing functions with protocol layers. In one design, some functions of the RLC layer and the functions of the protocol layers above the RLC layer are set in the CU, and the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer are set in the DU. In another design, the functions of the CU or DU can also be divided according to the service type or other system requirements, for example, divided by latency, and the functions whose processing time needs to meet the latency requirements are set in the DU, and the functions that do not need to meet the latency requirements are set in the CU. In another design, the CU can also have one or more functions of the core network. Exemplarily, the CU can be set on the network side to facilitate centralized management. In another design, the RU of the DU is set remotely. Among them, the RU has a radio frequency function.

[0086] Exemplarily, DU and RU can be divided at the physical layer (PHY). For example, DU can implement high-level functions in the PHY layer, and RU can implement low-level functions in the PHY layer. Wherein, when used for sending, the functions of the PHY layer may include adding cyclic redundancy check (CRC) code, channel coding, rate matching, scrambling, modulation, layer mapping, precoding, resource mapping, physical antenna mapping, and / or RF transmission functions. When used for receiving, the functions of the PHY layer may include CRC, channel decoding, rate matching, descrambling, demodulation, layer mapping, channel detection, resource demapping, physical antenna demapping, and / or RF receiving functions. Wherein, the high-level functions in the PHY layer may include a part of the functions of the PHY layer, such as the part of the functions that is closer to the MAC layer, and the low-level functions in the PHY layer may include another part of the functions of the PHY layer, such as the part of the functions that is closer to the RF function. For example, the high-level functions in the PHY layer may include adding CRC code, channel coding, rate matching, scrambling, modulation, and layer mapping, and the low-level functions in the PHY layer may include precoding, resource mapping, physical antenna mapping, and RF transmission functions; or, the high-level functions in the PHY layer may include adding CRC code, channel coding, rate matching, scrambling, modulation, layer mapping and precoding, and the low-level functions in the PHY layer may include resource mapping, physical antenna mapping, and RF transmission functions.

[0087] Exemplarily, the functions of CU can be implemented by one entity, or can be implemented by different entities. For example, the functions of CU can be further divided, that is, the control plane and the user plane are separated and implemented by different entities, namely the control plane CU entity (i.e., CU-CP entity) and the user plane CU entity (i.e., CU-UP entity). The CU-CP entity and the CU-UP entity can be coupled with the DU to jointly complete the functions of the access network device.

[0088] In the above architecture, the signaling generated by the CU can be sent to the terminal through the DU, or the signaling generated by the terminal can be sent to the CU through the DU. For example, the signaling of the RRC or PDCP layer will eventually be processed into the signaling of the physical layer and sent to the terminal, or converted from the received signaling of the physical layer. In this architecture, the signaling of the RRC or PDCP layer can be considered to be sent through the DU, or sent through the DU and the RU.

[0089] Exemplarily, any of the above-mentioned DU, CU, CU-CP, CU-UP and RU can be a software module, a hardware structure, or a software module + hardware structure, without limitation. Among them, the existence forms of different entities can be different, without limitation. For example, DU, CU, CU-CP, CU-UP are software modules, and RU is a hardware structure. These modules and their execution methods are also within the scope of protection of this application.

[0090] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the O-RAN system, CU may also be called O-CU (Open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU.

[0091] It should be understood that Figure 1 The number and type of each device in the communication system shown are for illustration only, and the present application is not limited thereto. In actual applications, the communication system may also include more terminals, more access network devices, and other network elements, such as core network devices, and / or network elements for implementing artificial intelligence functions.

[0092] It is understandable that all or part of the functions implemented by one or more of the terminals, access network devices, core network devices, or network elements used to implement artificial intelligence functions can be virtualized, that is, implemented by one or more of the proprietary processors or general-purpose processors and the corresponding software modules. Among them, since the terminal and the access network device involve the interface of air interface transmission, the transceiver function of the interface can be implemented by hardware. Core network equipment, such as operation administration and maintenance (OAM) network elements, can be virtualized. Exemplarily, one or more functions of the virtualized terminal, access network equipment, core network equipment, or network elements used to implement artificial intelligence functions can be implemented by cloud devices, such as cloud devices in over the top (OTT) systems.

[0093] The method provided in the present application can be used for communication between access network equipment and terminals, and can also be used for communication between other communication devices, such as communication between macro base stations and micro base stations in a wireless backhaul link, and communication between two terminals in a side link (SL), etc., without limitation.

[0094] In this application, "sending information to... (for example, a terminal)" or the related illustrations in the accompanying drawings can be understood as the destination end of the information is the terminal. It can include sending information to the terminal directly or indirectly. "Receiving information from... (for example, a terminal)" or "receiving information from... (for example, a terminal)", or the related illustrations in the accompanying drawings can be understood as the source end of the information is the terminal, which can include receiving information from the terminal directly or indirectly. The information may be processed as necessary between the source end and the destination end of the information transmission, such as format changes, etc., but the destination end can understand the valid information from the source end. Similar expressions in this application can be understood similarly and will not be repeated here.

[0095] In the traditional mobile network architecture and deployment before 4G, user plane devices are basically deployed in a tree topology. Uplink user messages pass through base stations and backhaul networks, and finally access the data network through centrally deployed anchor gateways. These anchor gateways are generally deployed at higher positions in the network, such as regional center rooms. This topology is relatively simple, which facilitates operators to centrally control services and process messages at anchor points.

[0096] With the explosive growth of mobile business traffic, this deployment mode is increasingly unable to support this rapidly growing mobile business traffic model. On the one hand, in a network with centralized deployment of anchor gateways, the growing traffic is ultimately concentrated in the gateways and core equipment rooms, which places increasingly high demands on backhaul network bandwidth, equipment room throughput, and gateway specifications; on the other hand, the long-distance backhaul network and complex transmission environment from the access point to the anchor gateway also lead to large delays and jitters in user message transmission.

[0097] Based on the above background, the industry has proposed the concept of edge computing. Figure 2 As shown, it is a schematic diagram of the non-roaming 5G edge computing offload architecture provided by the embodiment of the present application. By moving the user plane function (UPF) and service processing capabilities down to the edge of the network, local processing of distributed service traffic is achieved, avoiding excessive concentration of traffic, thereby greatly reducing the specification requirements for core computer rooms and centralized gateways. At the same time, the distance of the backhaul network is shortened, the end-to-end (E2E) delay and jitter of user messages are reduced, making the deployment of ultra-low latency services possible.

[0098] The functions of each network element are as follows:

[0099] (1) Access node (AN): Its main function is to provide wireless connection and it is located between UE and core network node.

[0100] (2) User plane function (UPF): Mainly responsible for processing user messages, such as forwarding, billing statistics, etc. The UPF directly connected to the data network (DN) through N6 in the session is called the PDU session anchor (PSA); the anchor point UPF for local diversion is called the local PDU session anchor (localPSA, L-PSA); the UPF as a diversion point is called a branching point (BP) or an uplink classifier (ULCL).

[0101] Among them, ULCL performs diversion according to the destination IP of the uplink message, such as IP range1 is sent to C-PSA, and IPrange2 is sent to L-PSA. BP performs diversion according to the source IP of the uplink message, such as IP1 is sent to C-PSA, and IP2 is sent to L-PSA. When BP diverts, the UE needs to perceive the diversion and cooperate, that is, the UE knows the service that needs to be diverted. When accessing the diverted service, the UE will use IP2 as the source address, and when accessing the remote service, the UE will use IP1 as the source address. The UE is not aware of ULCL diversion.

[0102] (3) DN: such as operator services, Internet access or third-party services.

[0103] (4) Edge application server (EAS): It is a server that provides application services to UE.

[0104] (5) Access and mobility function (AMF): The main functions include managing user registration, reachability detection, session management function (SMF) selection, and mobility state transition management.

[0105] (6)SMF: Mainly responsible for session management in mobile networks, such as session establishment, modification, and release. Specific functions include: allocating IP addresses to users, selecting UPF that provides message forwarding functions, etc.

[0106] In roaming scenarios, SMF can be divided into the following categories:

[0107] Visited-session management function (V-SMF): The visited domain SMF that serves users when they roam.

[0108] Home-session management function (H-SMF): The home domain SMF that serves users when they roam. In the existing architecture, only the home routed (HR) roaming architecture has H-SMF, and there is no H-SMF for local breakout (LBO) roaming users.

[0109] (7) Policy control function (PCF): The main function is to serve as a policy decision point, providing rules based on service data flow and application detection, gating, quality of service (QoS), and flow-based charging control.

[0110] It supports unified policy management of network behavior; provides policy rules to the control plane function for execution; and obtains contract-related information from the unified data repository (UDR) to make policy decisions.

[0111] In roaming scenarios, PCF can be divided into the following categories:

[0112] Visited-policy control function (V-PCF): The visited-domain PCF that serves users when they roam. In the existing architecture, only the LBO roaming architecture has V-PCF, and there is no V-PCF for HR roaming users.

[0113] Home-policy control function (H-PCF): The home domain PCF that serves the user when the user is roaming.

[0114] (8) AF: The main function is to cooperate with the Third Generation Partnership Project (3 rd The 3rd Generation Partnership Project (3GPP) core network interacts to provide services, affecting service flow routing, access network capability exposure, policy control, etc.

[0115] (9) Network exposure function (NEF): securely exposes services and capabilities provided by 3GPP network functions, such as third parties, edge computing, AF, etc.

[0116] After the UPF and service processing capabilities are moved down to the edge of the network, the UE can access the EAS through the application layer after obtaining the IP address of the EAS. The role of the core network is to help the UE find a suitable EAS (near geographical location / network topology), and then the UE and the EAS establish a connection through the application layer IP and access the application.

[0117] AF and EAS can be considered as control plane and user plane network element instances of the same server. That is, the application service provider has established some edge hosting environments (EHE), which can be understood as some computer rooms. Each EHE can contain an AF and multiple EASs. The AF perceives the status of all EASs in this EHE, such as the EAS load status, the IP addresses of all UEs accessing the EAS, etc. (The scope of AF control is not necessarily limited to one EHE / computer room, it may be a relatively large range).

[0118] The basis for AF to select the target EAS varies in different scenarios. For example, if EAS load balancing triggers edge migration, AF selects the target EAS based on the EAS load (i.e., selects the one with lower load); if UE mobility triggers edge migration, AF needs to select the target EAS based on the target data network access identifier (DNAI) provided by SMF (i.e., the selected target EAS needs to be within the target DNAI).

[0119] In EC deployment scenarios, due to UE mobility and EAS load balancing, it is necessary to perform EAS migration on sessions to ensure business continuity. The following is a detailed description of the edge migration process:

[0120] The standard defines multiple scenarios and processes for edge migration. The most typical IP replacement process supported by AF is as follows:

[0121] like Figure 3 FIG. 1 is a schematic diagram of an edge migration process provided by an embodiment of the present application. The edge migration process includes the following steps:

[0122] S101. PDU session establishment process: For example, a UE may request to establish a PDU session.

[0123] S102. After the session is established, the UE can obtain an EAS IP address through local configuration or EAS discovery process. In the subsequent migration process, this EAS can be considered as the source EAS.

[0124] S103. The UE communicates with the source EAS.

[0125] For uplink communication, the UE sends an uplink service data packet to the source EAS through L-PSA. The uplink service data packet includes: source IP address (UE's IP address), destination IP address (source EAS IP address), source port number (UE's port number) and destination port number (source EAS port number).

[0126] For downlink communication, the source EAS sends a downlink service data packet to the UE through L-PSA. The downlink service data packet includes: source IP address (IP address of the source EAS), destination IP address (IP address of the UE), source port number (port number of the source EAS) and destination port number (port number of the UE).

[0127] S104.AF or fifth generation communication system core network (5 th generation core, 5GC) (SMF, UPF) triggers the EASIP replacement process (also known as EAS migration).

[0128] One situation is that the EAS IP replacement process is triggered by AF. When the load of multiple EAS controlled by AF is unbalanced, AF will first select the target EAS and perform real-time context mirroring on the source / target EAS. After that, AF will notify SMF to perform IP replacement. The notification includes: target EAS IP address, target EAS port number, source EAS IP address, and source EAS port number. After receiving the AF indication, SMF instructs the local anchor point UPF (L-PSA) through which the session passes, and UPF replaces the uplink destination address and downlink source address of the service flow. The indication includes: target EAS IP address, target EAS port number, source EAS IP address, and source EAS port number. The replacement process includes: uplink destination address: source EASIP→destination EAS IP, downlink source address: destination EAS IP→source EAS IP. After completing the above process, the EAS IP replacement is completed.

[0129] Another case is that the EAS IP replacement process is triggered by 5GC. When the UE moves, AMF notifies SMF of the UE movement event, and SMF triggers the EAS IP replacement process. SMF notifies AF of the target DNAI. The DNAI can be used to identify the access point of the DN network. The subsequent steps are the same as the above EAS IP replacement process triggered by AF, except that AF will select the target EAS within the DNAI range.

[0130] Furthermore, the local anchor point UPF (L-PSA) replaces the IP address of the relevant service flow according to the instruction of the SMF to enable the UE to communicate with the target EAS:

[0131] S105a. For uplink communication, when L-PSA receives an uplink message from UE (whose source IP address is the IP address of UE and the destination IP address is the IP address of source EAS), L-PSA replaces the destination IP address from the IP address of source EAS to the IP address of target EAS and sends the uplink message to the target EAS.

[0132] S105b. For downlink communication, when L-PSA receives a downlink message from the source EAS (whose source IP address is the IP address of the source EAS and the destination IP address is the IP address of the UE), L-PSA replaces the source IP address from the IP address of the source EAS to the IP address of the target EAS and sends the downlink message to the UE.

[0133] The existing HR roaming architecture does not support edge computing, and roaming edge computing has not yet been proposed. Figure 4 As shown in the figure, a new edge computing scenario is proposed (relative to Figure 2 For the non-roaming 5G edge computing offload architecture shown): home routed with session breakout (HR-SBO) roaming. For HR roaming UEs, the UE can access the edge environment through the VPLMN. However, unlike the non-roaming edge computing scenario, in order to maintain the HPLMN's control over local offload services, the local-session management function (home-session management function, H-SMF) can indicate to the V-SMF when the session is established that the HPLMN authorizes the UE to roam to the IP address range corresponding to the EAS accessed by the VPLMN (included in the VPLMN Specific Offloading Policy / Information). Exemplarily, the IP address range can be represented by a full qualified domain name (FQDN) or an IP segment.

[0134] However, in this edge computing scenario, the following problems arise:

[0135] 1) In the HR-SBO architecture, the service flow can be diverted to the VPLMN only according to the authorization of the VPLMN-specific offloading policy / information provided by the HPLMN. However, when the AF selects the target EAS for edge migration, it does not consider the authorization information of the HPLMN and may select an EAS that is not authorized by the HPLMN.

[0136] 2) After AF selects a target EAS that is not authorized by the HPLMN and notifies V-SMF. If V-SMF instructs UPF to perform IP replacement as required by AF, the UE will access the EAS that is not authorized by the HPLMN. If V-SMF rejects AF's request, AF needs to reselect the target EAS, and the real-time context image that AF has completed will be deleted, resulting in a waste of resources. Moreover, the target EAS selected by AF again may not be within the scope of HPLMN authorization, which may lead to multiple rejections and waste of signaling.

[0137] It can be seen that there is currently no mechanism or solution for edge migration based on HPLMN authorization in roaming scenarios. This results in the AF not considering the HPLMN authorization information when selecting the target EAS according to the existing rules. When the service flow roaming to the VPLMN needs to be edge migrated under the HR-SBO architecture, the AF may select a target EAS that is not within the HPLMN authorization scope.

[0138] To this end, the present application provides a communication solution, whereby the AF obtains a first IP address range that allows the terminal to be routed to the local data network of the VPLMN through subscription. When the AF is triggered to perform edge migration, the target EAS is determined based on the first IP address range, and the V-SMF is instructed to migrate the service flow between the terminal and the source EAS to the target EAS, so that the target EAS is authorized, thereby enabling successful migration and improving the efficiency of edge migration.

[0139] The following describes in detail various method embodiments of the present application:

[0140] It should be noted that the IP addresses mentioned in the various embodiments of the present application may be IPv4 addresses, IPv6 prefixes, or media access control (MAC) addresses, etc.

[0141] It can be understood that the present application uses the first network element (e.g., V-SMF), the second network element (e.g., H-SMF), the third network element (e.g., AF), and the fourth network element (e.g., UPF) as examples of the execution subjects of the interaction diagram, but the present application does not limit the execution subjects of the interaction diagram. For example, the first / second / third / fourth network element in the method provided by the present application may also be a chip, a chip system, or a processor applied to the first / second / third / fourth network element, or a logical node, a logical module, or software that can implement all or part of the first / second / third / fourth network element.

[0142] like Figure 5 FIG. 1 is a flow chart of a communication method provided in an embodiment of the present application. Exemplarily, the method may include the following steps:

[0143] S200. AF sends a subscription request to V-SMF. Correspondingly, V-SMF receives the subscription request.

[0144] Among them, the subscription request can be used to request subscription to the first IP address range corresponding to at least one UE. The subscription request may include the data network name (DNN) / single network slice selection assistance information (S-NSSAI) / group ID / generic public subscription identifier (GPSI) of the session. That is, the AF requests to subscribe to the first IP address range corresponding to at least one UE in DNN / S-NSSAI / group ID / GPSI.

[0145] Alternatively, the UE may include multiple sessions. The subscription request may be used to request subscription to a first IP address range corresponding to at least one session. The subscription request may include the UE IP of the session.

[0146] The first IP address range is the IP address range that the AF is authorized to perform edge migration (ie, the IP address range of the target EAS).

[0147] Exemplarily, this step can be a separate subscription process, or it can be merged with the existing subscription process, that is, while subscribing to other information (for example, taking the first IP address range as a type of user plane path management events (UP path management events)), the V-SMF can also be instructed to provide the above-mentioned first IP address range. Of course, the present application is not limited to the subscription process, and the V-SMF can also be notified of the address of this AF and that this AF wants to obtain the first IP address range in other ways. The present application does not limit the method for obtaining the first IP address range.

[0148] For example, AF sends an Nnef_TrafficInfluence_Create message to V-SMF through NEF / UDR / PCF, where the message is used to request subscription to the first IP address range corresponding to the UE IP, or the message is used to request subscription to the first IP address range corresponding to at least one UE of DNN / S-NSSAI / group ID / GPSI.

[0149] Exemplarily, the AF may send the subscription request before the session is established (such as step S200), during the establishment, or after the establishment (after step S203). It is understandable that when the subscription request includes the UE IP of the session, the subscription request may be sent during the session establishment or after the establishment (after step S203).

[0150] S201. The H-SMF sends a second IP address range to the V-SMF, which allows the terminal to be routed to the local data network of the VPLMN. Accordingly, the V-SMF receives the second IP address range.

[0151] Exemplarily, during the session establishment process, the H-SMF sends a PDU session update request (Nsmf_PDUSession_Update Request) to the V-SMF, and the PDU session update request includes VPLMN-specific unloading information. The VPLMN-specific unloading information includes the above-mentioned second IP address range. The second IP address range is the IP address range that the HPLMN allows the terminal to route to the local data network of the VPLMN. "The second IP address range that allows the terminal to route to the local data network of the VPLMN" can also be understood as "the second IP address range that the terminal is allowed to route to the local data network of the VPLMN".

[0152] The HPLMN is the home public land mobile network (PLMN) to which the terminal subscribes.

[0153] S202. V-SMF determines the first IP address range based on the second IP address range.

[0154] Exemplarily, the first IP address range may be based on the second IP address range. In other words, the first IP address range is determined based on the second IP address range. The first IP address range is related to the second IP address range. The first IP address range may be less than or equal to the second IP address range.

[0155] Exemplarily, after receiving the second IP address range, the V-SMF may process the second IP address range according to the V-SMF local logic (eg, reduce the range or modify the information format) to obtain the first IP address range, which is smaller than the second IP address range.

[0156] Since the first IP address range may be the second IP address range, this step is optional and is indicated by a dotted line in the figure.

[0157] S203. The V-SMF sends the first IP address range to the AF according to the second IP address range. Correspondingly, the AF receives the first IP address range.

[0158] Exemplarily, after receiving the subscription request, V-SMF sends a notification message (Nsmf_EventExposure_Notify) to AF, and the notification message includes the first IP address range corresponding to at least one terminal or at least one session. It can be understood that, corresponding to step S200, if AF sends a subscription request before the session is established, V-SMF notifies AF at step S203; if AF sends a subscription request during or after the session is established, V-SMF notifies AF upon receiving the subscription request.

[0159] Exemplarily, if the first IP address range is equal to the second IP address range, this step can be understood as V-SMF transparently forwarding the second IP address range sent by H-SMF to AF; or V-SMF can parse the second IP address range and then forward the second IP address range to AF.

[0160] S204. After the session is established, the UE can obtain an EAS IP address through local configuration or EAS discovery process. In the subsequent migration process, this EAS can be considered as the source EAS.

[0161] S205. The UE communicates with the source EAS according to the IP address of the source EAS.

[0162] For uplink communication, the UE sends an uplink service data packet to the source EAS through L-PSA. The uplink service data packet includes: source IP address (UE's IP address), destination IP address (source EAS IP address), source port number (UE's port number) and destination port number (source EAS port number).

[0163] For downlink communication, the source EAS sends a downlink service data packet to the UE through L-PSA. The downlink service data packet includes: source IP address (IP address of the source EAS), destination IP address (IP address of the UE), source port number (port number of the source EAS) and destination port number (port number of the UE).

[0164] The source EAS generates a context about the UE during the communication process.

[0165] When the source EAS is overloaded or the UE moves, edge migration may be triggered. Select one of the following steps:

[0166] Scenario 1:

[0167] S206a. Since the source EAS load is too high, the AF triggers edge migration.

[0168] In this solution, when the AF finds that the source EAS is overloaded, edge migration is required, which triggers the subsequent steps.

[0169] In addition, AF can also trigger edge migration according to its own policies. For example, AF maintains multiple servers (EAS), one of which has a relatively high load, while the other EASs have relatively low loads, which may also trigger edge migration.

[0170] Scenario 2:

[0171] S206b-1. Since the UE moves, the V-SMF or L-PSA triggers edge migration.

[0172] S206b-2. V-SMF notifies AF of target DNAI.

[0173] In this solution, the V-SMF finds that the L-PSA needs to be changed due to UE mobility, for example. After the L-PSA is changed, the V-SMF notifies the AF of the target DNAI, that is, the DNAI to which the new L-PSA belongs.

[0174] S207. The AF selects a target EAS corresponding to the target IP address in the first IP address range according to the location of the terminal and / or the load condition of at least one EAS.

[0175] For example, corresponding to solution 1, if the edge migration is triggered by excessive load of the source EAS, the AF can select a target EAS corresponding to the target IP address in the first IP address range according to the load of at least one EAS, and the target EAS has a lower load.

[0176] For example, corresponding to solution 2, if the edge migration is triggered by UE movement, the AF can select a target EAS corresponding to the target IP address in the first IP address range according to the location of the terminal, and the target EAS is located within the target DNAI.

[0177] In other embodiments, the AF may also select a target EAS corresponding to the target IP address in the first IP address range according to the location of the terminal and the load of at least one EAS corresponding to the first IP address range.

[0178] Since the target EAS is selected from the first IP address range, the target EAS is authorized.

[0179] S208. AF instructs the source EAS and the target EAS to perform real-time context mirroring.

[0180] After selecting the target EAS, the AF can instruct the source EAS to perform real-time context mirroring with the target EAS.

[0181] Exemplarily, the AF establishes a data channel between the source EAS and the target EAS. The source EAS can send the context of this UE to the target EAS through a data channel or a network route. And because the source EAS is still communicating with the UE, whenever the context of this UE changes, the source EAS sends the updated content of the context of this UE to the target EAS through the data channel in real time, ensuring that the context of this UE on the source and target EAS is synchronized in real time (remains the same at all times). Therefore, after step S208 is completed, both the source EAS and the target EAS save the real-time context image of the UE.

[0182] S209. The AF sends first indication information to the V-SMF. The first indication information is used to instruct the V-SMF to migrate the service flow between the terminal and the source EAS to the target EAS. Correspondingly, the V-SMF receives the first indication information.

[0183] After the AF instructs the source EAS and the target EAS to complete the real-time context mirroring, the AF instructs the V-SMF to migrate the service flow between the terminal and the source EAS to the target EAS. The first indication information includes the IP address of the target EAS. Exemplarily, the AF sends AF influence information to the V-SMF, and the AF influence information includes EAS IP replacement information. The EAS IP replacement information can be the IP address of the target EAS.

[0184] Furthermore, the first indication information may also include the port number of the target EAS, the IP address of the source EAS, and the port number of the source EAS.

[0185] The source EAS includes the EAS that serves the terminal before the above migration, and the target EAS includes the EAS that serves the terminal after the above migration. The target EAS belongs to the above first IP address range. The source EAS address is the IP address discovered by the UE for the edge computing service. The source EAS IP address and port number are the destination IP address and port number of the edge computing service uplink traffic generated by the UE.

[0186] S210. The V-SMF instructs the local anchor UPF (L-PSA) to replace the IP address of the user message. Correspondingly, the local anchor UPF (L-PSA) receives the instruction. Exemplarily, the V-SMF may instruct the UPF through the N4 session.

[0187] S211. The local anchor point UPF (L-PSA) replaces the IP address of the relevant service flow according to the instruction of V-SMF to realize communication between UE and target EAS:

[0188] For uplink communication, when L-PSA receives an uplink message from UE (whose source IP address is the IP address of UE and the destination IP address is the IP address of source EAS), L-PSA replaces the destination IP address from the IP address of source EAS to the IP address of target EAS and sends the uplink message to the target EAS.

[0189] For downlink communication, when L-PSA receives a downlink message from the source EAS (whose source IP address is the IP address of the source EAS and the destination IP address is the IP address of the UE), L-PSA replaces the source IP address from the IP address of the source EAS to the IP address of the target EAS and sends the downlink message to the UE.

[0190] Furthermore, after the UE communicates with the target EAS, the context about the UE on the source EAS may be deleted.

[0191] According to a communication method provided by an embodiment of the present application, the AF obtains a first IP address range that allows the terminal to be routed to the local data network of the VPLMN through subscription. When the AF is triggered to perform edge migration, the target EAS is determined based on the first IP address range, and the V-SMF is instructed to migrate the service flow between the terminal and the source EAS to the target EAS, so that the target EAS is authorized, thereby enabling successful migration and improving the efficiency of edge migration.

[0192] The above embodiment describes that the AF can obtain the first IP address range through the subscription process. In another embodiment, the AF can also provide the first IP address range to the AF after an attempt to migrate the edge fails, thereby reducing the number of attempts and improving the efficiency of edge migration:

[0193] like Figure 6 FIG. 1 is a flow chart of another communication method provided in an embodiment of the present application. Exemplarily, the method may include the following steps:

[0194] S300. The H-SMF sends the second IP address range that allows the terminal to be routed to the local data network of the VPLMN to the V-SMF. Accordingly, the V-SMF receives the second IP address range.

[0195] The specific implementation of this step can be found in Figure 5 Step S201 of the illustrated embodiment will not be described in detail here.

[0196] S301. V-SMF determines the first IP address range based on the second IP address range.

[0197] The specific implementation of this step can be found in Figure 5 Step S202 of the illustrated embodiment will not be described in detail here.

[0198] S302. After the session is established, the UE can obtain an EAS IP address through local configuration or EAS discovery process. In the subsequent migration process, this EAS can be considered as the source EAS.

[0199] The specific implementation of this step can be found in Figure 5 Step S204 of the illustrated embodiment will not be described in detail here.

[0200] S303. The UE communicates with the source EAS according to the IP address of the source EAS.

[0201] The specific implementation of this step can be found in Figure 5 Step S205 of the illustrated embodiment will not be described in detail here.

[0202] When EAS load is too high or UE moves, edge migration may be triggered. Perform one of the following steps:

[0203] Scenario 1:

[0204] S304a. Since the source EAS load is too high, the AF triggers edge migration.

[0205] In this solution, when the AF finds that the source EAS load is too high, edge migration is required, which triggers the subsequent steps.

[0206] In addition, AF can also trigger edge migration according to its own policies. For example, AF maintains multiple servers (EAS), one of which has a relatively high load, while the other EASs have relatively low loads, which may also trigger edge migration.

[0207] Scenario 2:

[0208] S304b-1. Since the UE moves, the V-SMF or L-PSA triggers edge migration.

[0209] S304b-2. V-SMF notifies AF of target DNAI.

[0210] In this solution, the V-SMF finds that the L-PSA needs to be changed due to UE mobility, for example. After the L-PSA is changed, the V-SMF notifies the AF of the target DNAI, that is, the DNAI to which the new L-PSA belongs.

[0211] S305. The AF sends second indication information to the V-SMF, where the second indication information is used to instruct the V-SMF to migrate the service flow between the terminal and the source EAS to the first target EAS. Correspondingly, the V-SMF receives the second indication information.

[0212] The second indication information includes the IP address of the first target EAS.

[0213] Since the AF does not know the first IP address range, the IP address of the first target EAS selected by the AF may not be within the first IP address range.

[0214] S306. After receiving the second indication information, V-SMF determines that the IP address of the first target EAS is not within the above-mentioned first IP address range. Therefore, V-SMF sends a rejection information to AF, and the rejection information is used to instruct V-SMF to refuse to replace the IP address of the user message.

[0215] S307. V-SMF sends the first IP address range to AF.

[0216] In step S301, the V-SMF has determined the first IP address range that allows the terminal to be routed to the local data network of the VPLMN. Therefore, after receiving the instruction sent by the AF to instruct the V-SMF to migrate the service flow between the terminal and the source EAS to the first target EAS, the V-SMF can send the first IP address range to the AF. In this way, the frequent migration failures of the AF described in the background technology can be avoided.

[0217] Exemplarily, the first IP address range may be included in the above-mentioned rejection information, or the V-SMF may also send the first IP address range separately.

[0218] S308. The AF selects a second target EAS corresponding to the target IP address in the first IP address range according to the location of the terminal and / or the load condition of at least one EAS.

[0219] The specific implementation of this step can be found in Figure 5 Step S207 of the illustrated embodiment will not be described in detail here. The difference is that in this embodiment, the AF finally selects the second target EAS.

[0220] S309. AF instructs the source EAS to perform real-time context mirroring with the second target EAS.

[0221] The specific implementation of this step can be found in Figure 5 Step S208 of the illustrated embodiment will not be described in detail here.

[0222] S310. The AF sends first indication information to the V-SMF, where the first indication information is used to instruct the V-SMF to migrate the service flow between the terminal and the source EAS to the second target EAS. Correspondingly, the V-SMF receives the first indication information.

[0223] After the AF instructs the source EAS to complete the real-time context mirroring with the second target EAS, the AF instructs the V-SMF to migrate the service flow between the terminal and the source EAS to the second target EAS. The first indication information includes the IP address of the second target EAS. Exemplarily, the AF sends the AF impact information to the V-SMF, and the AF impact information includes the EAS IP replacement information. The EAS IP replacement information can be the IP address of the second target EAS.

[0224] The source EAS includes the EAS that serves the terminal before the above migration, and the second target EAS includes the EAS that serves the terminal after the above migration. The second target EAS belongs to the above first IP address range. The source EAS address is the IP address discovered by the UE for the edge computing service. The source EAS IP address and port number are the destination IP address and port number of the edge computing service uplink traffic generated by the UE.

[0225] The first indication information includes the IP address of the second target EAS.

[0226] Furthermore, the first indication information may also include the port number of the second target EAS, the IP address of the source EAS, and the port number of the source EAS.

[0227] S311. V-SMF instructs the local anchor point UPF (L-PSA) to replace the IP address of the user message. Correspondingly, UPF receives the instruction.

[0228] S312. The local anchor point UPF (L-PSA) replaces the IP address of the relevant service flow according to the instruction of the V-SMF to enable communication between the UE and the second target EAS.

[0229] The specific implementation of this step can be found in Figure 5 Step S211 of the illustrated embodiment will not be described in detail here.

[0230] According to a communication method provided by an embodiment of the present application, after V-SMF receives an instruction from AF instructing V-SMF to migrate the service flow between the terminal and the source EAS to the first target EAS, if it is found that the first target EAS is not within the first IP address range of the local data network that allows the terminal to be routed to the VPLMN, the V-SMF sends a rejection message to the AF, and the AF sends the first IP address range, so that the AF can select the second target EAS within the first IP address range, so that the AF can instruct the V-SMF and L-PSA to successfully complete the edge migration, thereby improving the efficiency of the edge migration.

[0231] The above embodiment describes that the first IP address range is provided to the AF through the V-SMF, so that the AF obtains the first IP address range. In fact, the AF can also store the first IP address range itself to avoid transmitting the first IP address range in the network, thereby improving network security:

[0232] like Figure 7 FIG. 1 is a flow chart of another communication method provided in an embodiment of the present application. Exemplarily, the method may include the following steps:

[0233] S400. AF obtains the stored first IP address range.

[0234] Exemplarily, the AF can determine the first IP address range through a negotiation agreement (e.g., a service level agreement (SLA)) between a service provider and an operator, and store the first IP address range. The first IP address range is the IP address range that the AF is authorized to perform edge migration (i.e., the IP address range of the target EAS).

[0235] For example, PLMN1 is a HPLMN, and the IP address range corresponding to the EAS configured for users of PLMN1 to access when roaming to different PLMNs is shown in Table 1 below:

[0236] Table 1

[0237]

[0238] According to Table 1 above, the first IP address range corresponding to the EAS that PLMN1 authorizes the terminal to roam to PLMN2 is IP range1; the first IP address range corresponding to the EAS that PLMN1 authorizes the terminal to roam to PLMN3 is IP range2; and so on.

[0239] For another example, PLMN2 is HPLMN, and the IP address range corresponding to the EAS configured for users of PLMN2 to access when roaming to different PLMNs is shown in Table 2 below:

[0240] Table 2

[0241]

[0242] According to Table 2 above, the first IP address range corresponding to the EAS that PLMN2 authorizes the terminal to roam to PLMN1 is IP range3; the first IP address range corresponding to the EAS that PLMN2 authorizes the terminal to roam to PLMN3 is IP range4; and so on.

[0243] The AF can obtain the first IP address range through the information stored in itself without obtaining it from the network, thereby improving the security of the IP information and being able to obtain the first IP address range in a timely manner.

[0244] S401. Session establishment.

[0245] S402. After the session is established, the UE can obtain an EAS IP address through local configuration or EAS discovery process. In the subsequent migration process, this EAS can be considered as the source EAS.

[0246] S403. The UE communicates with the source EAS according to the IP address of the source EAS.

[0247] The specific implementation of this step can be found in Figure 5 Step S205 of the illustrated embodiment will not be described in detail here.

[0248] Due to EAS load imbalance or UE movement, edge migration may be triggered. Perform one of the following steps:

[0249] Scenario 1:

[0250] S404a. Since the source EAS load is too high, the AF triggers edge migration.

[0251] In this solution, when the AF finds that the source EAS load is too high, edge migration is required, which triggers the subsequent steps.

[0252] Scenario 2:

[0253] S404b-1. Since the UE moves, V-SMF and L-PSA trigger edge migration.

[0254] S404b-2.V-SMF notifies AF of the target DNAI.

[0255] In this scheme, V-SMF finds that the L-PSA needs to be changed due to UE mobility. After the L-PSA is changed, V-SMF notifies the AF of the target DNAI, that is, the DNAI to which the new L-PSA belongs.

[0256] S405. AF determines that the service flow is a first type of service flow.

[0257] The first type of service flow may refer to a service flow that accesses services through an HR-SBO session. The AF may also not know that the first type of service flow accesses services through an HR-SBO session, that is, the AF determines that the service flow is of the first type if it meets the following exemplary judgment, and the AF is not aware of what type of session the service flow is accessed through.

[0258] Exemplarily, the AF determines that the current service flow is a HR-SBO session based on the UE IP and the L-PSA of the access source EAS, if the UE IP and the L-PSA are from different PLMNs.

[0259] Or the AF determines the UE's roaming status based on the UE account identifier, such as the phone number, and the information provided to the AF when registering the account. That is, when registering the account, the HPLMN of the UE is known based on the phone number, and the roaming type (such as HR-SBO) of the UE when accessing the service is known through the agreement between the AF and the HPLMN. At this time, the AF can determine that the UE is in a roaming status based on the account.

[0260] S406. The AF selects a target EAS corresponding to the target IP address in the first IP address range according to the location of the terminal and / or the load condition of at least one EAS.

[0261] When the AF is triggered to perform edge migration and the AF determines that the service flow is a first type of service flow, for example, when the UE is in the HR-SBO session state, the AF can obtain the first IP address range stored in itself and select the target EAS corresponding to the target IP address in the first IP address range according to the location of the terminal and / or the load of at least one EAS.

[0262] The specific implementation of this step can be found in Figure 5 Step S207 of the illustrated embodiment will not be described in detail here.

[0263] S407. AF instructs the source EAS and the target EAS to perform real-time context mirroring.

[0264] The specific implementation of this step can be found in Figure 5 Step S208 of the illustrated embodiment will not be described in detail here.

[0265] S408. The AF sends first indication information to the V-SMF, where the first indication information is used to instruct the V-SMF to migrate the service flow between the terminal and the source EAS to the target EAS. Correspondingly, the V-SMF receives the first indication information.

[0266] The specific implementation of this step can be found in Figure 5 Step S209 of the illustrated embodiment will not be described in detail here.

[0267] S409. The V-SMF instructs the local anchor point UPF (L-PSA) to replace the IP address of the user message. Correspondingly, the UPF receives the instruction.

[0268] S410. The local anchor point UPF (L-PSA) replaces the IP address of the relevant service flow according to the instruction of the V-SMF to realize the communication between the UE and the target EAS.

[0269] The specific implementation of this step can be found in Figure 5 Step S211 of the illustrated embodiment will not be described in detail here.

[0270] According to a communication method provided in an embodiment of the present application, AF can determine, through a negotiation agreement between a service provider and an operator, a first IP address range of a local data network that allows a terminal to be routed to a VPLMN, and store the first IP address range. When AF is triggered to perform edge migration and determines that the service flow is a first type of service flow, it can obtain the first IP address range stored in itself, determine the target EAS based on the first IP address range, and instruct V-SMF to migrate the service flow between the terminal and the source EAS to the target EAS, thereby achieving successful migration and improving the efficiency of edge migration.

[0271] The above embodiment describes that the AF indicates the target EAS to the V-SMF. The following embodiment will describe that the V-SMF can also determine the target EAS by itself:

[0272] like Figure 8 FIG. 1 is a flow chart of another communication method provided in an embodiment of the present application. Exemplarily, the method may include the following steps:

[0273] S500. The H-SMF sends the second IP address range that allows the terminal to be routed to the local data network of the VPLMN to the V-SMF. Accordingly, the V-SMF receives the second IP address range.

[0274] The specific implementation of this step can be found in Figure 5 Step S201 of the illustrated embodiment will not be described in detail here.

[0275] S501. V-SMF determines the first IP address range based on the second IP address range.

[0276] This step is optional and is indicated by a dotted line in the figure.

[0277] The specific implementation of this step can be found in Figure 5 Step S202 of the illustrated embodiment will not be described in detail here.

[0278] S502. After the session is established, the UE can obtain an EAS IP address through local configuration or EAS discovery process. In the subsequent migration process, this EAS can be considered as the source EAS.

[0279] The specific implementation of this step can be found in Figure 5 Step S204 of the illustrated embodiment will not be described in detail here.

[0280] S503. The UE communicates with the source EAS according to the IP address of the source EAS.

[0281] The specific implementation of this step can be found in Figure 5 Step S205 of the illustrated embodiment will not be described in detail here.

[0282] Due to EAS load imbalance or UE movement, edge migration may be triggered. Perform one of the following steps:

[0283] Scenario 1:

[0284] S504a. Since the source EAS load is too high, the AF triggers edge migration.

[0285] In this solution, when the AF finds that the source EAS load is too high, edge migration is required, which triggers the subsequent steps.

[0286] Scenario 2:

[0287] S504b-1. Since the UE moves, V-SMF and L-PSA trigger edge migration.

[0288] S504b-2. V-SMF notifies AF of target DNAI.

[0289] In this scheme, V-SMF finds that the L-PSA needs to be changed due to UE mobility. After the L-PSA is changed, V-SMF notifies the AF of the target DNAI, that is, the DNAI to which the new L-PSA belongs.

[0290] S505. AF sends the first information to V-SMF. Correspondingly, V-SMF receives the first information.

[0291] The first information includes a corresponding relationship between at least one EAS and at least one weight factor.

[0292] In an example, the above correspondence is shown in Table 3:

[0293] Table 3

[0294] Optional Target EAS Weight Factor EAS1 5 EAS2 4 EAS3 3 …… ……

[0295] Exemplarily, the weight factor is used to indicate the preference of AF for at least one EAS. For example, the larger the value of the weight factor, the higher the preference of AF for the EAS. The weight factor can be determined according to the load condition, location, etc. of the EAS. For example, due to the unbalanced load of the EAS, the AF is triggered to determine all possible alternative EASs, and the weight factor corresponding to each EAS is given according to the load condition of these EASs, and these EASs and their corresponding weight factors constitute the above Table 3.

[0296] The weight factor is a weight value representing AF preference. For example, when edge migration is triggered due to excessive EAS load, the lower the load of these alternative EAS, the higher the weight of the weight factor; when edge migration is triggered due to UE movement, the weight factor is determined according to the location, and the closer the location of the alternative EAS is to the UE, the higher the weight of the weight factor.

[0297] AF can provide the above correspondence to V-SMF at any time, not limited to when AF is triggered to perform edge migration. AF can also provide the above correspondence to V-SMF when determining that the service flow is a service flow of the first type. Further, before step S505, the following steps can also be included: AF determines that the service flow is a service flow of the first type. The specific implementation of this step can refer to Figure 7 Step S405 of the illustrated embodiment will not be described in detail here.

[0298] S506. V-SMF determines the target EAS according to the first information and the first IP address range.

[0299] The target EAS belongs to the first IP address range.

[0300] Exemplarily, the first IP address range may be based on the second IP address range. In other words, the first IP address range is determined based on the second IP address range. The first IP address range may be less than or equal to the second IP address range.

[0301] Exemplarily, the V-SMF may determine all EASs in the first information that belong to the first IP address range, and select the EAS with the largest weight factor as the target EAS among the determined EASs based on the correspondence between at least one EAS and at least one weight factor.

[0302] AF's preference for EAS may be due to its load balancing strategy. AF hopes that all EASs it controls will not be loaded, or the load conditions will be as close as possible. Therefore, when an EAS has a high load and needs to migrate users accessing it to the edge, AF will try to select the EAS with the lowest load to receive these migrated users, so that the loads of each EAS controlled by AF are as close as possible. This will also prevent the EAS that receives users after edge migration from being overloaded due to receiving users.

[0303] Exemplarily, the V-SMF first determines which EASs in the above correspondence are within the first IP address range, and those within the range are optional EASs. After determining the optional EASs, the EAS with the highest AF preference weight is selected as the target EAS based on the weight factors of these EASs. When selecting the target EAS, some local logic of the V-SMF may also affect the selection result.

[0304] S507. The V-SMF sends first indication information to the AF. Correspondingly, the AF receives the first indication information.

[0305] The first indication information is used to indicate a target EAS, and the IP address of the target EAS is authorized.

[0306] S508. AF instructs the source EAS and the target EAS to perform real-time context mirroring.

[0307] The specific implementation of this step can be found in Figure 5 Step S208 of the illustrated embodiment will not be described in detail here.

[0308] S509. The AF sends the second indication information to the V-SMF. Correspondingly, the V-SMF receives the second indication information.

[0309] The second indication information is used to instruct the V-SMF to migrate the service flow between the terminal and the source EAS to the target EAS.

[0310] S510. The V-SMF instructs the local anchor point UPF (L-PSA) to replace the IP address of the user message. Correspondingly, the local anchor point UPF (L-PSA) receives the instruction.

[0311] The specific implementation of this step can be found in Figure 5 Step S210 of the illustrated embodiment will not be described in detail here.

[0312] S511. The local anchor point UPF (L-PSA) replaces the IP address of the relevant service flow according to the instruction of the V-SMF to realize the communication between the UE and the target EAS.

[0313] The specific implementation of this step can be found in Figure 5 Step S211 of the illustrated embodiment will not be described in detail here.

[0314] According to a communication method provided in an embodiment of the present application, V-SMF can accurately determine the target EAS based on the correspondence between at least one EAS and at least one weight factor provided by AF, according to the first IP address range and the correspondence, thereby improving the success rate of migrating the service flow to the target EAS and improving the efficiency of edge migration.

[0315] It should be noted that the EAS in the above embodiment can be replaced by DNAI, which is defined by 3GPP to identify the DN network access point. DNN represents the name of the DN, and DNAI represents the specific network access point of the DN, with certain physical properties. For example, a DN is planned in the network, and its DNN is abc. The DN has two access points in City A and City B. The DNAI corresponding to City A and City B can be named abc.A and abc.B. In the UL CL diversion scenario, DNAI is used to identify the PDU session anchor point on the edge side, that is, the auxiliary anchor point UPF. A simple way to understand DNAI is to think that a DNAI contains multiple PSAs and multiple EASs. AF selects the target EAS based on the target DNAI provided by V-SMF, that is, AF needs to select an EAS within the target DNAI. The same method can also be used for edge migration at the DNAI granularity. AF can instruct V-SMF to migrate the service flow between the terminal and the source DNAI to any EAS in the target DNAI; or V-SMF can also determine by itself to migrate the service flow between the terminal and the source DNAI to any EAS in the target DNAI.

[0316] Based on the same idea, see Fig. 9The embodiment of the present application further provides a communication device 900, which includes a processing unit 901 and an interface unit 902. The communication device 900 may be a first network element, or a communication device applied to the first network element, or used in combination with the first network element, and capable of implementing a communication method executed by the first network element side; or, the communication device 900 may be a third network element, or a communication device applied to the third network element, or used in combination with the third network element, and capable of implementing a communication method executed by the third network element side.

[0317] The interface unit may also be referred to as a communication interface, an interface module, a transceiver module, a transceiver, a transceiver, or a transceiver device, etc. The processing unit may also be referred to as a processor, a processing board, a processing unit, or a processing device, etc. Optionally, the interface unit is used to perform the sending operation and the receiving operation on the first network element side or the third network element side in the above method, and the device used to implement the receiving function in the interface unit may be regarded as a receiving unit, and the device used to implement the sending function in the interface unit may be regarded as a sending unit, that is, the interface unit includes a receiving unit and a sending unit.

[0318] When the communication device 900 is applied to the first network element, the processing unit 901 can be used to implement Figures 5 to 8 In the example, the interface unit 902 can be used to implement the processing function of the first network element (eg, V-SMF). Figures 5 to 8 Alternatively, the communication device may also be understood by referring to the first aspect, the third aspect and the possible designs in the first aspect and the third aspect in the content of the invention.

[0319] When the communication device 900 is applied to a third network element, the processing unit 901 may be used to implement Figures 5 to 8 In the example, the interface unit 902 can be used to implement the processing function of the third network element (such as AF). Figures 5 to 8 Alternatively, the communication device may also be understood by referring to the second aspect, the fourth aspect and the possible designs in the second aspect and the fourth aspect in the content of the invention.

[0320] In addition, it should be noted that the aforementioned interface unit and / or processing unit can be implemented through a virtual module, for example, the processing unit can be implemented through a software function unit or a virtual device, and the interface unit can be implemented through a software function or a virtual device. Alternatively, the processing unit or the interface unit can also be implemented through a physical device, for example, if the device is implemented using a chip / chip circuit, the interface unit can be an input-output circuit and / or a communication interface to perform input operations (corresponding to the aforementioned receiving operations) and output operations (corresponding to the aforementioned sending operations); the processing unit is an integrated processor or microprocessor or integrated circuit.

[0321] The division of modules in this application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each example of this application may be integrated into one processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.

[0322] Based on the same technical concept, the embodiment of the present application also provides a communication device 1000. For example, the communication device 1000 can be a chip or a chip system. Optionally, in the present application, the chip system can be composed of a chip, or can include a chip and other discrete devices.

[0323] The communication device 1000 can be used to implement the functions of any network element in the communication system described in the above examples. The communication device 1000 may include at least one processor 1010. Optionally, the processor 1010 is coupled to a memory, and the memory may be located within the device, or the memory may be integrated with the processor, or the memory may be located outside the device. For example, the communication device 1000 may also include at least one memory 1020. The memory 1020 stores the necessary computer programs, computer programs or instructions and / or data for implementing any of the above examples; the processor 1010 may execute the computer program stored in the memory 1020 to complete the method in any of the above examples.

[0324] The communication device 1000 may also include a communication interface 1030, and the communication device 1000 may exchange information with other devices through the communication interface 1030. Exemplarily, the communication interface 1030 may be a transceiver, a circuit, a bus, a module, a pin, or other types of communication interfaces. When the communication device 1000 is a chip-type device or circuit, the communication interface 1030 in the device 1000 may also be an input-output circuit, which may input information (or receive information) and output information (or send information), and the processor may be an integrated processor or a microprocessor or an integrated circuit or a logic circuit, and the processor may determine the output information based on the input information.

[0325] The coupling in this application is an indirect coupling or communication connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 1010 may cooperate with the memory 1020 and the communication interface 1030. The specific connection medium between the above-mentioned processor 1010, memory 1020 and communication interface 1030 is not limited in this application.

[0326] Alternatively, see Fig.10, the processor 1010, the memory 1020 and the communication interface 1030 are connected to each other via a bus 1040. The bus 1040 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0327] In this application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in this application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in this application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0328] In the present application, the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as a random-access memory (RAM). The memory is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in the present application may also be a circuit or any other device that can implement a storage function, for storing program instructions and / or data.

[0329] In a possible implementation, the communication device 1000 can be applied to a first network element. Specifically, the communication device 1000 can be the first network element, or it can be a device that can support the first network element and implement the functions of the first network element in any of the above-mentioned examples. The memory 1020 stores a computer program (or instruction) and / or data that implements the functions of the first network element in any of the above-mentioned examples. The processor 1010 can execute the computer program stored in the memory 1020 to complete the method executed by the first network element in any of the above-mentioned examples. Applied to the first network element, the communication interface in the communication device 1000 can be used to interact with a third network element, send information to the third network element, or receive information from the third network element.

[0330] In another possible implementation, the communication device 1000 can be applied to a third network element. Specifically, the communication device 1000 can be a third network element, or a device that can support a third network element and implement the functions of the third network element in any of the above-mentioned examples. The memory 1020 stores a computer program (or instruction) and / or data that implements the functions of the third network element in any of the above-mentioned examples. The processor 1010 can execute the computer program stored in the memory 1020 to complete the method executed by the third network element in any of the above-mentioned examples. Applied to the third network element, the communication interface in the communication device 1000 can be used to interact with the first network element, send information to the first network element, or receive information from the first network element.

[0331] Since the communication device 1000 provided in this example can be applied to the first network element to complete the method executed by the first network element, or applied to the third network element to complete the method executed by the third network element, the technical effects that can be obtained can refer to the above method examples and will not be repeated here.

[0332] Based on the above examples, the present application provides a communication system, including a first network element and a third network element, wherein the first network element can implement Figure 5-Figure 8 In the example shown, the third network element can implement the function of V-SMF in the communication method provided. Figure 5-Figure 8 The example shown shows the functionality of the AF in the communication method provided.

[0333] The technical solution provided in this application can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a terminal, an access network device or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media integrated. The available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, digital video discs (DVD)), or semiconductor media, etc.

[0334] In the present application, under the premise of no logical contradiction, the examples may reference each other, for example, the methods and / or terms between method embodiments may reference each other, for example, the functions and / or terms between device embodiments may reference each other, for example, the functions and / or terms between device examples and method examples may reference each other.

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

Claims

1. A communication method, characterized in that: The method comprises: The first network element receives from the second network element a second Internet Protocol IP address range that allows the terminal to be routed to a local data network of a visited public land mobile network VPLMN; The first network element sends the first IP address range to the third network element according to the second IP address range; The first network element receives first indication information from the third network element, where the first indication information is used to instruct the first network element to migrate the service flow between the terminal and the source edge application server EAS to a target EAS, where the IP address of the target EAS belongs to the first IP address range.

2. The method according to claim 1, characterized in that The source EAS includes the EAS serving the terminal before the migration, and the target EAS includes the EAS serving the terminal after the migration.

3. The method according to claim 1 or 2, characterized in that: The first network element sends the first IP address range to the third network element according to the second IP address range, including: The first network element receives a subscription request from the third network element, where the subscription request is used to request subscription to a first IP address range corresponding to at least one terminal; The first network element sends a notification message to the third network element, where the notification message includes a first IP address range corresponding to the at least one terminal.

4. The method according to any one of claims 1 to 3, characterized in that Before the first network element sends the first IP address range to the third network element according to the second IP address range, the method further includes: The first network element receives second indication information from the third network element, where the second indication information is used to instruct the first network element to replace the IP address of the user message; The first network element sends rejection information to the third network element, where the rejection information is used to instruct the first network element to refuse to replace the IP address of the user message.

5. The method according to claim 4, characterized in that The rejection information includes the first IP address range.

6. The method according to any one of claims 1 to 5, characterized in that After the first network element receives the first indication information from the third network element, the method further includes: the first network element instructs the fourth network element to replace the IP address of the user message.

7. The method according to any one of claims 1 to 6, characterized in that The first indication information includes the IP address of the target EAS.

8. The method according to claim 7, characterized in that The first indication information further includes at least one of the following information: the port number of the target EAS, the IP address of the source EAS, and the port number of the source EAS.

9. The method according to any one of claims 1 to 8, characterized in that The first network element is a session management network element of the VPLMN, and the first network element is used to obtain the second IP address range from the session management network element of the HPLMN.

10. A communication method, characterized in that: The method comprises: The third network element obtains a first Internet Protocol IP address range that allows the terminal to be routed to a local data network of a visited public land mobile network VPLMN; The third network element sends first indication information to the first network element, where the first indication information is used to instruct the first network element to migrate the service flow between the terminal and the source edge application server EAS to the target EAS, and the IP address of the target EAS belongs to the first IP address range.

11. The method according to claim 10, characterized in that The source EAS includes the EAS serving the terminal before the migration, and the target EAS includes the EAS serving the terminal after the migration.

12. The method according to claim 10 or 11, characterized in that: The third network element obtains a first IP address range that allows the terminal to be routed to the local data network of the VPLMN, including: The third network element sends a subscription request to the first network element, where the subscription request is used to request subscription to a first IP address range corresponding to at least one terminal; The third network element receives a notification message from the first network element, where the notification message includes a first IP address range corresponding to the at least one terminal.

13. The method according to claim 10 or 11, characterized in that: The third network element obtains a first IP address range that allows the terminal to be routed to the local data network of the VPLMN, including: The third network element instructs the first network element to replace the IP address of the user message; The third network element receives rejection information from the first network element, where the rejection information is used to instruct the first network element to reject the replacement of the IP address of the user message; The third network element receives the first IP address range from the first network element.

14. The method according to claim 10 or 11, characterized in that: The first IP address range is storage information of the third network element.

15. The method according to claim 14, characterized in that Before the third network element sends the first indication information to the first network element, the method further includes: The third network element determines that the service flow is a first type of service flow.

16. The method according to any one of claims 10 to 15, characterized in that The method further comprises: The third network element selects a target EAS corresponding to a target IP address in the first IP address range according to the location of the terminal and / or a load condition of at least one EAS corresponding to the first IP address range.

17. The method according to any one of claims 11 to 16, characterized in that The first indication information includes the IP address of the target EAS.

18. The method according to claim 17, characterized in that The first indication information further includes at least one of the following information: the port number of the target EAS, the IP address of the source EAS, and the port number of the source EAS.

19. A communication method, characterized in that: The method comprises: The first network element receives from the second network element a second Internet Protocol IP address range that allows the terminal to be routed to a local data network of a visited public land mobile network VPLMN; The first network element receives first information from a third network element, where the first information includes a correspondence between at least one edge application server EAS and at least one weight factor; The first network element determines, based on the first information, a target EAS belonging to a first IP address range, the first IP address range being related to the second IP address range; The first network element sends first indication information to the third network element, where the first indication information is used to indicate the target EAS; The first network element receives second indication information from the third network element, where the second indication information is used to instruct the first network element to migrate the service flow between the terminal and the source EAS to the target EAS.

20. The method according to claim 19, characterized in that The source EAS includes the EAS serving the terminal before the migration, and the target EAS includes the EAS serving the terminal after the migration.

21. The method according to claim 19 or 20, characterized in that The first network element determines, according to the first information, a target EAS belonging to the first IP address range, including: The first network element determines all EASs in the first information that belong to the first IP address range, and selects an EAS with a maximum weight factor as a target EAS among the determined EASs according to a correspondence between the at least one EAS and the at least one weight factor.

22. The method according to any one of claims 19 to 21, characterized in that The second indication information includes the IP address of the target EAS.

23. The method according to claim 22, characterized in that The second indication information further includes at least one of the following information: the port number of the target EAS, the IP address of the source EAS, and the port number of the source EAS.

24. The method according to any one of claims 19 to 23, characterized in that After the first network element receives the second indication information from the third network element, the method further includes: The first network element instructs the fourth network element to replace the IP address of the user message.

25. The method according to any one of claims 19 to 24, characterized in that The first network element is a session management network element of the VPLMN, and the first network element is used to obtain the second IP address range from the session management network element of the HPLMN.

26. A communication method, characterized in that: The method comprises: The third network element sends first information to the first network element, where the first information includes a correspondence between at least one edge application server EAS and at least one weight factor; The third network element receives first indication information from the first network element, where the first indication information is used to indicate a target EAS; The third network element sends second indication information to the first network element, and the second indication information is used to instruct the first network element to migrate the service flow between the terminal and the source EAS to the target EAS, and the IP address of the target EAS belongs to the first IP address range, and the first IP address range is an IP address range that allows the terminal to be routed to the local data network of the visited public land mobile network VPLMN.

27. The method according to claim 26, characterized in that The method further comprises: The third network element determines that the service flow is a first type of service flow.

28. The method according to claim 26 or 27, characterized in that The source EAS includes the EAS serving the terminal before the migration, and the target EAS includes the EAS serving the terminal after the migration.

29. The method according to any one of claims 26 to 28, characterized in that The second indication information includes the IP address of the target EAS.

30. The method according to any one of claims 27 to 29, characterized in that The second indication information further includes at least one of the following information: the port number of the target EAS, the IP address of the source EAS, and the port number of the source EAS.

31. A communication method, characterized in that: The method comprises: The second network element sends to the first network element a second Internet Protocol IP address range that allows the terminal to be routed to a local data network of a visited public land mobile network VPLMN; The first network element sends the first IP address range to the third network element according to the second IP address range; The third network element sends first indication information to the first network element, where the first indication information is used to instruct the first network element to migrate the service flow between the terminal and the source EAS to a target EAS, and the IP address of the target EAS belongs to the first IP address range.

32. A communication method, characterized in that: The method comprises: The second network element sends to the first network element a second Internet Protocol IP address range that allows the terminal to be routed to a local data network of a visited public land mobile network VPLMN; The third network element sends first information to the first network element, where the first information includes a correspondence between at least one edge application server EAS and at least one weight factor; The first network element determines, based on the first information, a target EAS belonging to a first IP address range, the first IP address range being related to the second IP address range; The first network element sends first indication information to the third network element, where the first indication information is used to indicate the target EAS; The third network element sends second indication information to the first network element, where the second indication information is used to instruct the first network element to migrate the service flow between the terminal and the source EAS to the target EAS.

33. A communication device, characterized in that: The communication device is used to execute the method according to any one of claims 1-30.

34. A communication system, characterized in that: It comprises a visited location-session management network element V-SMF and an application function network element AF, wherein the V-SMF is used to execute the method according to any one of claims 1-9, and the AF is used to execute the method according to any one of claims 10-18.

35. A communication system, characterized in that: It comprises a visited location-session management network element V-SMF and an application function network element AF, the V-SMF is used to execute the method as described in any one of claims 19-25, and the AF is used to execute the method as described in any one of claims 26-30.

36. A communication device, characterized in that: The device comprises a processor, wherein the processor is coupled to a memory, wherein the memory is used to store instructions. When the program or instructions are executed by the processor, the device executes the method according to any one of claims 1 to 30.

37. A computer-readable storage medium, characterized in that: The storage medium stores a computer program or instruction, and when the computer program or instruction is executed by the communication device, the method according to any one of claims 1 to 30 is implemented.