Communication method and device and readable storage medium
By updating the device group information in the unified data storage network element, the access problem when the device group is connected to the public edge application server is solved, ensuring that user devices in the device group can continue to access target services under load balancing or edge migration, and improving the system flexibility and reliability.
Patent Information
- Application Number
- CN202310365631.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-15
AI Technical Summary
The existing solution for device groups to access public edge application servers is not perfect. Especially in the case of public edge application server load balancing or edge migration, it is difficult to ensure that user devices in the device group can continue to access target services.
Through the policy control function and session management function network element, the edge migration instruction information sent by the application function is received, and the device group information in the unified data storage network element is updated to ensure that user devices in the device group can continue to access the target service. The specific method includes receiving the edge migration instruction information sent by the application function, updating the device group information in the unified data storage network element, and reconfiguring traffic routing through user plane path changes to ensure that user devices in the device group can access the target service.
In the case of public edge application server load balancing or edge migration, it can ensure that user devices in the device group continue to access target services, improving the flexibility and reliability of the system.
Smart Images

Figure CN118785306A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication method, device and readable storage medium. Background Art
[0002] In the 4th generation mobile communication technology (4G) and previous traditional mobile network architecture and deployment, user plane equipment basically follows the tree topology deployment. Uplink user messages pass through the base station and backhaul network, and finally access the data network through the centrally deployed anchor gateway. These anchor gateways are generally deployed at a higher position in the network, such as the regional center room. This topology is relatively simple, which facilitates operators to perform centralized service control and message processing at the anchor point.
[0003] However, with the explosive growth of mobile service traffic, this deployment mode is increasingly unable to support the rapidly growing mobile service traffic model. On the one hand, in a network with centralized deployment of anchor gateways, the growing traffic is ultimately concentrated in the gateway and core equipment room, which places increasingly high demands on the backhaul network bandwidth, equipment room throughput, and gateway specifications; on the other hand, the long-distance backhaul network from the access point to the anchor gateway and the complex transmission environment also lead to large delays and jitters in user message transmission. Based on the above background, the industry has proposed the concept of edge computing (EC). EC realizes local processing of distributed service traffic by moving the user plane function (UPF) network elements and service processing capabilities down to the edge of the network, avoiding excessive concentration of traffic, thereby greatly reducing the specification requirements for the core equipment room and centralized gateway. At the same time, it shortens the distance of the backhaul network, reduces the end-to-end (E2E) delay and jitter of user messages, and makes the deployment of ultra-low latency services possible.
[0004] 3GPP (3rd Generation Partnership Project) proposed an edge computing scenario: for user equipment (UE) that supports edge computing, multiple UEs accessing the same service are organized into a device group, and the UEs in the group are enabled to access the same edge application server (EAS) or data network access identifier (DNAI). However, the existing solution for device groups to access common EAS is not perfect. Summary of the invention
[0005] The embodiments of the present application provide a communication method, an apparatus, and a readable storage medium, which can ensure that UEs in a device group can continue to access target services in the case of common EAS load balancing or edge migration.
[0006] The present application is introduced below from different aspects. It should be understood that the implementation methods and beneficial effects of the following different aspects can be referenced to each other.
[0007] In a first aspect, the present application provides a communication method, the method comprising: a first network element receives first information sent by an application function (AF), the first information being used to indicate that a session of a first terminal device is to be edge migrated; the first network element sends second information to a second network element, the second information being used to indicate that the second network element updates information of a first device group, the first terminal device belonging to the first device group. Optionally, the first network element may receive the first information sent by the AF network element through a network exposure function (NEF) network element. Exemplarily, the first information may be an edge relocation indication.
[0008] The first network element may be a policy control function (PCF) network element or a session management function (SMF) network element. The second network element may be a unified data repository (UDR) network element.
[0009] After receiving the first information from the AF network element indicating that the session of the first terminal device is to be edge migrated, the PCF / SMF network element of the present application sends the second information to the UDR network element to instruct the UDR network element to update the information of the first device group to which the first terminal device belongs. The present application provides a solution for updating the information of the device group in the UDR network element, which can make the solution for the device group to access the common EAS more perfect. In addition, in the case of common EAS load balancing or edge migration, it can be ensured that the UE in the device group can continue to access the first service.
[0010] In combination with the first aspect, in a possible implementation, the session of the first terminal device accesses the first service of the first device group. That is, after the first network element receives the first information, when the first terminal device belongs to the first device group served by the first network element and the session of the first terminal device accesses the first service corresponding to the first device group, the first network element sends the second information to the second network element.
[0011] After receiving the first information, the first network element of the present application determines whether any UE in the device group served by the first network element is affected. If any UE in the device group served by the first network element is affected, the first network element sends second information to the UDR network element, instructing the UDR network element to update the information of the device group to which the affected UE belongs (i.e., the first device group). This can improve the accuracy of the update.
[0012] In conjunction with the first aspect, in a possible implementation, the information of the first device group includes a second address, which is a source server address for the session of the first terminal device to access the first service. Exemplarily, the second address is a source common EAS IP address or an old EAS IP address.
[0013] In conjunction with the first aspect, in a possible implementation, the first information includes a first address, which is a target server address for a session of the first terminal device to access the first service. Exemplarily, the first address is a target EAS IP address or a new EAS IP address.
[0014] Optionally, after the first network element receives the first information, the method further includes: the first network element configures the session of the first terminal device to access the first service through the above-mentioned first address. Exemplarily, if the first network element is a PCF network element, the PCF network element sends the first information to the SMF network element to instruct the SMF network element to change the user plane path. After receiving the first information, the SMF network element instructs the user plane function (UPF) network element to reconfigure the local traffic routing. Exemplarily, if the first network element is an SMF network element, the SMF network element instructs the UPF network element to reconfigure the local traffic routing.
[0015] The way in which the SMF network element instructs the UPF network element to reconfigure the local traffic routing can be: the SMF network element instructs the anchor UPF network element of the session serving the first terminal device through the N4 session to replace the IP address of the user plane message of this session. For example: for the destination address of the uplink message, the UPF network element replaces the source server address (i.e., the second address) with the destination server address (i.e., the first address); for the source address of the downlink message, the UPF network element replaces the destination server address (i.e., the first address) with the source server address (i.e., the second address). Thereby, the purpose of the session of the first terminal device accessing the first service through the above-mentioned first address can be achieved.
[0016] In conjunction with the first aspect, in a possible implementation, the second information includes a first address and a device group identifier. The first address is a target server address for a session of the first terminal device to access the first service. The device group identifier is used to identify the first device group.
[0017] After receiving the above first information, the first network element of the present application determines whether there is any UE in the device group served by it that is affected. If there is any UE in the device group served by the first network element that is affected, the first network element sends a second information to the UDR network element, instructing the UDR network element to update the information of the device group to which the affected UE belongs (i.e., the above first device group), and carries the target EAS IP address (first address) in the second information, so that the UDR network element updates the common EAS IP address corresponding to the first device group. In this way, in the case of edge migration, it can be ensured that the UE in the device group can continue to access the above first service.
[0018] In combination with the first aspect, in a possible implementation, after the first network element sends the second information to the second network element, the method also includes: the first network element receives third information, the third information includes updated information of the first device group, and the updated information of the first device group includes the first address.
[0019] In a second aspect, the present application provides a communication method, which includes: a second network element stores information of a first device group, the information of the first device group is used to indicate that each terminal device in the first device group accesses a first service through a second address; the second network element receives second information from the first network element, the second information is used to instruct the second network element to update the information of the first device group; the second network element updates the information of the first device group stored in itself.
[0020] The first network element may be a PCF network element or an SMF network element, and the second network element may be a UDR network element.
[0021] In conjunction with the second aspect, in a possible implementation, the second information includes a first address and a device group identifier. The first address is a target server address for a session of the first terminal device to access the first service. The device group identifier is used to identify the first device group. The first terminal device belongs to the first device group. Exemplarily, the first address is a target EAS IP address or a new EAS IP address. The second address is a source common EAS IP address or an old EAS IP address.
[0022] In conjunction with the second aspect, in a possible implementation, the information of the first device group includes the corresponding stored first device group and the second address. The second network element updates the information of the first device group, including: the second network element replaces the stored second address with the first address.
[0023] The UDR network element of the present application replaces the second address stored in itself with the first address, so that the UE in the first device group that is not connected to the source common EAS can access the target EAS through the first address, thereby accessing the first service, thereby ensuring that the UE in the device group can continue to access the first service.
[0024] In combination with the second aspect, in a possible implementation, the information of the first device group includes the corresponding stored first device group and the second address. The second network element updates the information of the first device group, including: the second network element updates the information of the first device group to: the corresponding stored first list and the second address, and the corresponding stored second list and the first address. Among them, the first list includes the identifier of the terminal device in the first device group that has queried the second address. Alternatively, the first list includes the identifier of the terminal device in the set of identifiers of the terminal device in the first device group that has queried the second address, except the identifier of the first terminal device. Alternatively, the first list includes the identifier of the first terminal device.
[0025] The second list includes identifiers of other terminal devices in the first device group except those in the first list.
[0026] Optionally, before the second network element updates the information of the first device group, the method further includes: the second network element receives a first query request from the SMF network element, the first query request includes a device group identifier and an identifier of the second terminal device, and the first query request is used to synchronize the address of the second terminal device accessing the first service; the second network element stores the identifier of the second terminal device, and the identifier of the second terminal device belongs to the first device group. It can be understood that as time goes by, the second network element may successively receive multiple first query requests, store the identifiers of multiple terminal devices carried in these multiple first query requests, and the identifiers of these multiple terminal devices are all identifiers of terminal devices in the first device group that have queried the second address. In other words, the second network element stores a set of identifiers of terminal devices in the first device group that have queried the second address.
[0027] Optionally, the first list and the second list share a device group identifier. Exemplarily, the updated information of the first device group includes: device group identifier—first list—second address; device group identifier—second list—first address.
[0028] Optionally, the first list and the second list use different device group identifiers. Exemplarily, the updated device group information (or new device group information) includes: device group identifier A (or collection1 ID)—second address, and device group identifier B (or collection2 ID)—first address; or first list—second address, and second list—first address; or device group identifier A (or collection1 ID)—first list—second address, and device group identifier B (or collection2 ID)—second list—first address.
[0029] The second network element of the present application divides the UEs in the first device group into multiple UE lists (i.e., the above-mentioned first list and the above-mentioned second list) according to the second information sent by the first network element, and corresponds to different EAS addresses. These multiple UE lists can share a device group identifier (i.e., reuse the device group identifier of the first device group), or use different device group identifiers respectively (i.e., these multiple UE lists belong to different device groups). In other words, the present application regroups the original device group members (divided into two sub-groups or two device groups) by modifying the device group information, and can ensure that all the original device group members can access the above-mentioned first service in the case of edge migration.
[0030] In combination with the second aspect, in a possible implementation, when the first list and the second list share a device group identifier, after the second network element updates the information of the first device group, the method also includes: the second network element receives a second query request sent by the SMF network element, the second query request is used to synchronize the address of the first terminal device to access the first service, the second query request includes the identifier of the first terminal device and the identifier of the first service, and the identifier of the first terminal device belongs to the second list; the second network element sends a second query result to the SMF network element, and the second query result includes the above-mentioned first address.
[0031] In conjunction with the second aspect, in a possible implementation, when the first list and the second list use different device group identifiers respectively, after the second network element updates the information of the first device group, the method further includes: the second network element sends notification information to the AF network element, the notification information including the device group identifier of the first device group, the first list and the device group identifier corresponding to the first list, and the second list and the device group identifier corresponding to the second list. Optionally, the notification information also includes the second address corresponding to the first list and the first address corresponding to the second list.
[0032] Optionally, before the second network element receives the second information from the first network element, the method further includes: the AF network element (through the NEF network element) sends subscription information to the second network element for subscribing to information change events of the first device group.
[0033] The AF network element of the present application subscribes to the information change event of the first device group from the second network element, so that the changes in the information of the device group stored in the second network element can be learned more timely, which is conducive to the AF network element to adjust its own strategy in time.
[0034] In combination with the second aspect, in a possible implementation, after the second network element updates the information of the first device group, the method also includes: the second network element sends third information to the first network element, the third information includes the updated information of the first device group, and the updated information of the first device group includes the first address.
[0035] In conjunction with the second aspect, in a possible implementation, after the second network element updates the information of the first device group, the method further includes: the second network element notifies other network elements of the updated device group information. The other network elements here include SMF network elements or PCF network elements serving the first device group.
[0036] In a third aspect, the present application provides a communication method, the method comprising: a second network element stores information of a first device group, the information of the first device group being used to indicate that each terminal device in the first device group accesses a first service through a second address; the second network element receives fourth information sent by a third network element, the fourth information being used to indicate public EAS load balancing, the address of the public EAS being the second address, the fourth information comprising a device group identifier, the device group identifier being used to identify the first device group; the second network element updates the information of the first device group stored in itself.
[0037] Among them, the second network element may be a UDR network element, and the third network element may be an AF network element.
[0038] After receiving the fourth information indicating the common EAS load balancing, the second network element of the present application updates the information of the first device group stored in itself, thereby improving the solution for the device group to access the common EAS. In addition, in the case of common EAS load balancing, it can be ensured that the UE in the device group can continue to access the first service.
[0039] In combination with the third aspect, in a possible implementation, the fourth information also includes one or more of the following: a second address, an identifier of the first service, a list of terminal devices accessing the first service through the second address, or information indicating public EAS load balancing.
[0040] In conjunction with the third aspect, in a possible implementation, the information of the first device group includes the corresponding stored first device group and the second address. The second network element updates the information of the first device group, including: the second network element clears the second address corresponding to the first device group.
[0041] After receiving the fourth information sent by the AF network element, the second network element of the present application clears the stored common EAS address; and the UE in the first device group that has not accessed the first service through the second address will rediscover the new common EAS and access the first service through the new common EAS address. In this way, under the condition of load balancing of the old common EAS, it can be ensured that the UE in the device group that has not accessed the old common EAS can continue to access the above-mentioned first service, that is, all members of the original device group can access the first service.
[0042] In combination with the third aspect, in a possible implementation, the fourth information further includes a third address. The information of the first device group includes the corresponding stored first device group and the second address. The second network element updates the information of the first device group, including: the second network element updates the information of the first device group to: the corresponding stored first list and the second address, and the corresponding stored second list and the third address. The first list includes the identifier of the terminal device in the first device group that has queried the second address. The second list includes the identifier of other terminal devices in the first device group except the first list.
[0043] Optionally, the fourth information includes a list of terminal devices that access the first service through the second address. Before the second network element updates the information of the first device group, the method further includes: the second network element determines the terminal devices in the first device group that have queried the second address based on the list of terminal devices that access the first service through the second address in the fourth information. Exemplarily, the second network element uses the list of terminal devices that access the first service through the second address in the fourth information as the first list.
[0044] Optionally, before the second network element updates the information of the first device group, the method also includes: the second network element receives a first query request from the SMF network element, the first query request includes a device group identifier and an identifier of the second terminal device, and the first query request is used to synchronize the address of the second terminal device for accessing the first service; the second network element stores the identifier of the second terminal device, and the identifier of the second terminal device belongs to the first device group.
[0045] Optionally, the first list and the second list share a device group identifier. Exemplarily, the updated information of the first device group includes: device group identifier—first list—second address; device group identifier—second list—first address.
[0046] Optionally, the first list and the second list use different device group identifiers. Exemplarily, the updated device group information (or new device group information) includes: device group identifier A (or collection1 ID)—second address, and device group identifier B (or collection2 ID)—first address; or first list—second address, and second list—first address; or device group identifier A (or collection1 ID)—first list—second address, and device group identifier B (or collection2 ID)—second list—first address.
[0047] The present application regroups the original device group members (into two sub-groups or two device groups) by modifying the device group information. Under the condition of load balancing of the old commonEAS, it can ensure that UEs in the device group that are not connected to the old commonEAS can continue to access the above-mentioned first service, that is, all members of the original device group can access the first service.
[0048] In combination with the third aspect, in a possible implementation, when the first list and the second list share a device group identifier, the method also includes: the second network element receives a second query request sent by the SMF network element, the second query request is used to synchronize the address of the first terminal device accessing the first service, the second query request includes the identifier of the first terminal device and the identifier of the first service, and the identifier of the first terminal device belongs to the second list; the second network element sends a second query result to the SMF network element, and the second query result includes the third address.
[0049] In conjunction with the third aspect, in a possible implementation, when the first list and the second list use different device group identifiers respectively, after the second network element updates the information of the first device group, the method further includes: the second network element sends notification information to the third network element, the notification information including the device group identifier of the first device group, the first list and the device group identifier corresponding to the first list, and the device group identifier corresponding to the second list and the second list. Optionally, the notification information also includes the second address corresponding to the first list and the first address corresponding to the second list.
[0050] Optionally, before the second network element receives the second information from the first network element, the method further includes: the third network element sends subscription information to the second network element (through the NEF network element) for subscribing to the information change event of the first device group.
[0051] The AF network element of the present application subscribes to the information change event of the first device group from the second network element, so that the changes in the information of the device group stored in the second network element can be learned more timely, which is conducive to the AF network element to adjust its own strategy in time.
[0052] In conjunction with the third aspect, in a possible implementation, after the second network element updates the information of the first device group, the method further includes: the second network element notifies other network elements of the updated device group information. The other network elements here include SMF network elements or PCF network elements serving the first device group.
[0053] In a fourth aspect, the present application provides a communication method, the method comprising: a third network element sends fourth information to a second network element, the fourth information is used to represent public EAS load balancing, the address of the public EAS is the second address, the fourth information includes a device group identifier, and the device group identifier is used to identify the first device group.
[0054] In combination with the fourth aspect, in a possible implementation, the fourth information also includes one or more of the following: a second address, an identifier of the first service, a list of terminal devices that access the first service through the second address, or information indicating public EAS load balancing.
[0055] In combination with the fourth aspect, in a possible implementation manner, before the third network element sends the fourth information to the second network element, the method further includes: the third network element sends subscription information to the second network element, where the subscription information is used to subscribe to information change events of the first device group.
[0056] In conjunction with the fourth aspect, in a possible implementation, after the third network element sends the fourth information to the second network element, the method further includes: the third network element receives notification information sent by the second network element, the notification information including the device group identifier of the first device group, the first list and the device group identifier corresponding to the first list, and the second list and the device group identifier corresponding to the second list. The first list includes the identifiers of the terminal devices in the first device group that have queried the second address. The second list includes the identifiers of other terminal devices in the first device group except for the first list.
[0057] In a fifth aspect, the present application provides a communication device, which may be a first network element, or a chip therein. The communication device includes a unit and / or module for executing the method provided by the first aspect or any possible implementation of the first aspect, such as a transceiver unit and / or a processing unit, and the transceiver unit is used to send and receive various information or signaling, so that the beneficial effects (or advantages) of the method provided by the first aspect can also be achieved.
[0058] In a sixth aspect, the present application provides a communication device, which may be a second network element, or a chip therein. The communication device includes a unit and / or module for executing the method provided by any possible implementation of the second aspect, the third aspect, or any of the aspects, such as a storage unit, a transceiver unit, and an update unit, wherein the transceiver unit is used to send and receive various information or signaling, and thus can also achieve the beneficial effects (or advantages) of the method provided by the second aspect or the third aspect.
[0059] In a seventh aspect, the present application provides a communication device, which may be a third network element, or a chip therein. The communication device includes a unit and / or module for executing the method provided by the fourth aspect or any possible implementation of the fourth aspect, such as a transceiver unit and / or a processing unit, and the transceiver unit is used to send and receive various information or signaling, so that the beneficial effects (or advantages) of the method provided by the fourth aspect can also be achieved.
[0060] In an eighth aspect, the present application provides a communication device, which may include a processor and a transceiver. The transceiver is used to send and receive various information or signaling, and the computer program includes program instructions. When the processor runs the program instructions, the communication device executes the method described in any one of the first to fourth aspects above, or any possible implementation of any one of the aspects. The transceiver may be a radio frequency module in the communication device, or a combination of a radio frequency module and an antenna, or an input and output interface of a chip or circuit. Optionally, the communication device also includes a memory, which is used to store the computer program.
[0061] In a ninth aspect, the present application provides a readable storage medium having program instructions stored thereon, which, when executed on a computer, enables the computer to execute the method described in any one of the first to fourth aspects above, or any possible implementation of any one of the aspects.
[0062] In a tenth aspect, the present application provides a program product comprising instructions, which, when executed, enables the method described in any possible implementation of any one of the first to fourth aspects to be executed.
[0063] In the eleventh aspect, the present application provides a device, which can be implemented in the form of a chip or in the form of a device, and the device includes a processor. The processor is used to read and execute a program stored in a memory to execute one or more of any one of the first to fourth aspects above, or one or more of any possible implementations of any one of the aspects. Optionally, the device also includes a memory, which is connected to the processor via a circuit. Further optionally, the device also includes a communication interface, and the processor is connected to the communication interface. The communication interface is used to receive information and / or signaling to be processed, the processor obtains the information and / or signaling from the communication interface, processes the information and / or signaling, and outputs the processing results through the communication interface. The communication interface can be an input and output interface.
[0064] Optionally, the processor and memory mentioned above may be physically independent units, or the memory may be integrated with the processor.
[0065] In a twelfth aspect, the present application provides a communication system, the communication system comprising: the first network element described in the first aspect, and the second network element described in the second aspect. Alternatively, the communication system comprises: the second network element described in the third aspect, and the third network element described in the fourth aspect.
[0066] The technical effects achieved in the above-mentioned aspects can be referred to each other or to the beneficial effects in the method embodiments shown below, and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for describing the embodiments are briefly introduced below.
[0068] Figure 1 It is a schematic diagram of the architecture of an edge computing network in a non-roaming scenario provided by an embodiment of the present application;
[0069] Figure 2 It is a flow chart of a user plane traffic routing request of an AF network element not targeting a UE address in a non-roaming scenario provided by an embodiment of the present application;
[0070] Figure 3 It is a schematic diagram of a process flow of a user plane traffic routing request of an AF network element for a UE address in a non-roaming scenario provided by an embodiment of the present application;
[0071] Figure 4 It is a schematic diagram of an EAS discovery process using EASDF in a non-roaming scenario provided by an embodiment of the present application;
[0072] Figure 5 It is a flow chart of the AF network element supporting EAS IP address replacement provided by an embodiment of the present application;
[0073] Figure 6 It is a schematic diagram of an edge computing scenario provided by an embodiment of the present application;
[0074] Figure 7 It is a schematic diagram of the process of device group accessing edge computing provided by an embodiment of the present application;
[0075] Figure 8 This is a first schematic flow chart of the communication method provided in the embodiment of the present application;
[0076] Fig. 9 is a second schematic flow chart of the communication method provided in an embodiment of the present application;
[0077] Fig.10 is a third schematic flow chart of the communication method provided in the embodiment of the present application;
[0078] Fig.11 is a fourth schematic flow chart of the communication method provided in an embodiment of the present application;
[0079] Fig.12 is a fifth schematic flow chart of the communication method provided in an embodiment of the present application;
[0080] Fig.13 is a sixth schematic flow chart of the communication method provided in an embodiment of the present application;
[0081] Fig.14 is a schematic diagram of a structure of a communication device provided in an embodiment of the present application;
[0082] Fig.15 is another structural schematic diagram of a communication device provided in an embodiment of the present application;
[0083] Fig.16 is another structural diagram of a communication device provided in an embodiment of the present application;
[0084] Fig.17 This is yet another structural diagram of the communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0085] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0086] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c; a and b; a and c; b and c; or a, b, and c. Among them, a, b, and c can be single or multiple.
[0087] In the description of the present application, the words "first", "second", etc. are only used to distinguish different objects, and do not limit the quantity and execution order, and the words "first", "second", etc. do not necessarily limit them to be different. In addition, the terms "including" and "having" and any variations thereof 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 may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0088] In this application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described in this application as "exemplary", "for example" or "for example" should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the words "exemplary", "for example" or "for example" is intended to present the related concepts in a concrete way.
[0089] It should be understood that in the present application, "when", "if" and "if" all mean that the device will take corresponding actions under certain objective circumstances, and do not limit the time, nor do they require that the device must have a judgment action when it is implemented, nor do they mean that there are other limitations.
[0090] The term “simultaneously” in the present application may be understood as at the same time point, within a period of time, or within the same cycle, and may be understood in conjunction with the context.
[0091] Elements used in the singular herein are intended to mean "one or more" rather than "one and only one" unless specifically stated otherwise.
[0092] In addition, the terms "system" and "network" are often used interchangeably in this article. The terms "network element" and "entity" are also used interchangeably in this article. For example, "policy control function network element" and "policy control function entity" can represent the same device, and "unified data storage network element" and "unified data storage entity" can represent the same device. They are not listed here one by one.
[0093] It can be understood that in each embodiment of the present application, "A corresponds to B" means that there is a corresponding relationship between A and B, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0094] The network architecture of the present application is briefly described below. It should be understood that the network architecture described in the present application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided by the embodiment of the present application.
[0095] The terminal device in this application may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. It may be an entity on the user side for receiving or transmitting signals, such as a mobile phone; it may be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it may also be deployed on the water surface (such as a ship, etc.); it may also be deployed in the air (for example, on an airplane, a balloon, and a satellite, etc.). UE includes a handheld device, a vehicle-mounted device, a wearable device, or a computing device with wireless communication function. Exemplarily, UE may be a mobile phone, a tablet computer, or a computer with wireless transceiver function. The terminal device may also be a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, a wireless terminal in a smart grid, a wireless terminal in a smart city, a wireless terminal in a smart home, and the like. In the embodiment of the present application, the device for realizing the function of the terminal may be a terminal; or it may be a device capable of supporting the terminal to realize the function, such as a chip system, or a communication module, or a modem, etc., which may be installed in the terminal. In the embodiment of the present application, the chip system may be composed of chips, or may include chips and other discrete devices. In the technical solution provided in the present application, the device for realizing the function of the terminal is a terminal, and the terminal is a UE as an example to describe the technical solution provided in the present application. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device.
[0096] Optionally, the UE may also 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 vehicle-to-everything (V2X), device-to-device (D2D), or peer-to-peer (P2P).
[0097] Optionally, the UE may also be used to act as a relay node. For example, the UE may act as a relay device or an integrated access and backhaul (IAB) node to provide wireless backhaul services for terminal devices.
[0098] For ease of description, the terminal device shown below will take UE as an example to illustrate the technical solution provided by this application.
[0099] The technical solution provided in the present application can be applied to various communication systems, such as: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), Internet of Things (IoT) system, narrowband Internet of Things (NB-IoT) system, wireless fidelity (Wi-Fi), fifth generation (5G) communication system or new radio (NR) and other future communication systems, such as the sixth generation mobile communication system.
[0100] For example, the technical solution provided in this application can be applied to the edge computing network architecture defined in the 3rd Generation Partnership Project Technical Specifications (3GPP TS) 23.548. Figure 1 , Figure 1 This is a schematic diagram of the architecture of the edge computing network in a non-roaming scenario provided by an embodiment of the present application. Figure 1 Specifically, the fifth generation mobile communication technology (5G) core network (5G core, 5GC) in a non-roaming scenario provides a network architecture for UE to EAS connection through an uplink classifier (ULCL) or an IPv6 (Internet Protocol version 6) multi-homing (BP) split point. Figure 1As shown, the network architecture may include, for example, but is not limited to, the following: network repository function (NRF), policy control function (PCF), application function (AF), unified data management (UDM), access and mobility management function (AMF), session management function (SMF), network exposure function (NEF), edge application server discovery function (EASDF), user plane function (UPF), edge application server (EAS), user equipment (UE), (radio) access network (RAN), and centralized (central) data network (DN), etc.
[0101] Among them, RAN is mainly responsible for users to access the 3GPP network through wireless communication. AMF is mainly responsible for user access and mobility management in the mobile network, such as user location update, user registration network, user switching, etc. SMF is mainly responsible for session management in the mobile network, such as session establishment, modification, and release. Specific functions include allocating Internet Protocol (IP) addresses to users and selecting UPFs that provide message forwarding functions. UPF is mainly responsible for processing user messages, such as forwarding, billing statistics, etc. The UPF directly connected to the data network (DN) through the N6 interface in the protocol data unit (PDU) session is called the PDU session anchor (PSA). PCF is used to support unified policy management of network behavior, provide policy rules to the control plane function, and obtain contract-related information from the unified data repository (UDR) network element to make policy decisions. UDR is mainly responsible for providing storage capabilities for post-contract data, policy data, and capability exposure-related data. UDM is mainly responsible for user contract management, access authorization, and authentication information generation. The purpose of AF's interaction with the core network is to provide services, such as supporting the following functions: impact on service routing, exposure of access network capabilities, interaction with policy decision-making network elements for policy management, etc. The application server (AS) network element can be deployed together with the AF network element, interact with the UPF network element, and is responsible for the reception and sending and processing of uplink and downlink messages on the user plane. NEF is mainly responsible for providing the capability exposure of the 5G core network, allowing external network elements to interact with the 5G core network through this network element. EASDF is mainly responsible for providing the discovery of edge application servers in edge computing scenarios, processing domain name system (DNS) messages according to the instructions of SMF, and discovering edge application servers (EAS) that are close to the UE topology.
[0102] Understandably, Figure 1 The functions or roles of each network element shown can refer to relevant protocols or standards, etc., and this application does not elaborate on them. It can also be understood that Figure 1 The N1, N2, N3, N4, N6, N9, etc. shown are all interface serial numbers. For example, the meaning of the above interface serial numbers can refer to the meaning defined in the 3GPP standard protocol, and this application does not limit the meaning of the above interface serial numbers. Figure 1 The "Nnrf", "Npcf", "Nudm", "Naf", "Namf", "Nsmf", "Nnef" and "Neasdf" shown in the figure represent the names of the service-oriented interfaces. For details, please refer to the relevant description in the 3GPP standard protocol and will not be elaborated here.
[0103] The above content briefly describes the network architecture of the embodiment of the present application. In order to better understand the technical solution of the embodiment of the present application, some contents related to the present application are briefly introduced below.
[0104] 1. How AF network elements affect user plane traffic routing
[0105] In the edge computing (EC) scenario, the selection of the local user plane path is affected by the EAS deployment in the network. In order to ensure the service quality of the business, the edge application needs to perceive and influence the user plane path.
[0106] 3GPP TS 23.502 defines the process of AF network element affecting user plane traffic routing, and its main process is: AF network element interacts with SMF network element through NEF network element / PCF network element, and SMF network element establishes or re-establishes user plane path according to the request of AF network element. This process includes two categories: one is the user plane traffic routing request of AF network element for UE address, and the other is the user plane traffic routing request of AF network element not for UE address. Among them, UE address can be UE IPv4 address / IPv6 prefix, UE medium access control (MAC) address. IPv4 refers to Internet protocol version 4. It can be understood that "UE IP address" or "UE IP" shown below in this application can refer to UE IPv4 address or UE IPv6 prefix, and this application does not limit it. Of course, "UE IP address" shown below in this application can also be replaced with "UE MAC address".
[0107] 1) The process of routing user plane traffic requests by AF network element not targeting UE address
[0108] See also Figure 2 , Figure 2 This is a flow chart of the AF network element not routing user plane traffic requests for UE addresses in a non-roaming scenario provided by an embodiment of the present application. This process is applicable to non-roaming scenarios or local breakout (LBO) roaming scenarios; it is not applicable to home routed (HR) roaming scenarios. Figure 2 As shown, the process includes the following steps:
[0109] 1. The AF network element creates an AF request message. The AF request message includes a target UE identifier. The target UE identifier can be represented by a generic public subscription identifier (GPSI) or a group ID, etc., that is, the target UE identifier is not represented by a UE address.
[0110] 2. The AF network element calls the Nnef_TrafficInfluence_Create service to send the AF request message to the NEF network element.
[0111] 3. The NEF network element stores the AF request message to the UDR network element. Exemplarily, step 3 includes step 3a and step 3b. Step 3a stores / updates / removes information, which is storing the AF request message; in step 3b, the NEF network element calls Nnef_TrafficInfluence_Create (Nnef creates traffic influence routing) and returns the response to the AF network element.
[0112] 4. The UDR network element notifies the subscribed PCF network element of the AF request message.
[0113] 5. The PCF network element determines the PDU sessions that may be affected by the AF request message and updates the policies corresponding to these PDU sessions. For example, the PCF network element sends a session policy update notification message to the SMF network elements corresponding to these PDU sessions, carrying the updated policies.
[0114] 6. The SMF network element reconfigures the user plane of the current PDU session according to the updated policy received.
[0115] 7. When the current SMF network element needs to be replaced, the SMF network element requests the AMF network element to reselect a new SMF network element through the Nsmf_PDUSession_SMContextStatusNotify (Nsmf_PDU session SM context status notification) service.
[0116] Optional, above Figure 2 The specific implementation of the process shown can refer to the description of the existing standard and will not be described in detail here.
[0117] 2) The process of AF network element routing request for user plane traffic for UE address
[0118] See also Figure 3 , Figure 3 FIG. 1 is a flow chart of a user plane traffic routing request of an AF network element for a UE address in a non-roaming scenario provided by an embodiment of the present application. Figure 3 As shown, the process includes the following steps:
[0119] 1. The AF network element sends an AF request message to the NEF network element by calling the Nnef_TrafficInfluence_Create service. This step is optional. If the AF network element is trusted, the AF network element can directly send the AF request message to the PCF network element without performing steps 1 to 4. The AF request message includes the UE address, such as the UE IP address.
[0120] 2. The NEF network element (if step 1 is not performed, it is the AF network element) calls the Nbsf_Management_Discoveryrequest service to query the binding support function (BSF) network element (usually co-located with the SMF network element) for the PCF address of the session service corresponding to the UE address. This step is optional. If the NEF network element is locally configured with the PCF address, step 2 is not performed.
[0121] 3. The BSF network element provides the PCF address to the NEF network element or the AF network element.
[0122] 4. The NEF network element or AF network element calls the Npcf_PolicyAuthorization_create / update / deleterequst (Npcf policy authorization create / update / delete request) service to send the AF request message to the PCF.
[0123] 5. The PCF network element authenticates the AF request message. If the authentication fails, the PCF network element rejects the AF request message. If the authentication passes, the PCF network element updates the relevant policy and charging control (PCC) rules and sends the PCC rules to the relevant SMF network elements.
[0124] Optional, above Figure 3 The specific implementation of the process shown can refer to the description of the existing standard and will not be described in detail here.
[0125] 2. EAS Discovery Using EASDF
[0126] In the edge computing (EC) scenario, some services may be provided by multiple EAS deployed at the edge of the network. These EAS can provide the same services and content, but have different IP addresses (except for anycast addresses). When the UE needs to access the service, the EC scenario requires the UE to access the available EAS among these EAS that is closest to the UE. Therefore, the UE needs to obtain the IP address of the available EAS that is closest to itself (it can be an IPv4 address or an IPv6 prefix, which is not limited in this application). In this application, "EAS IP address" can be referred to as "EAS IP address" or "EAS IP", and the three can be used interchangeably.
[0127] 3GPP TS 23.548 defines the EASDF network element that assists in EAS discovery. Its main function is to process domain name system (DNS) messages according to the instructions of the SMF network element. For example, reporting DNS messages to the SMF network element, adding edge configuration server (ECS option) options (ECS option) in the DNS query (DNS query) message, such as the DNS extended mechanisms (EDNS) client subnet option (edns-client-subnet option); forwarding the DNS query message to the DNS server, forwarding the DNS response (DNSresponse) to the UE, etc.
[0128] See also Figure 4 , Figure 4 FIG. 1 is a schematic diagram of an EAS discovery process using EASDF in a non-roaming scenario provided by an embodiment of the present application. Figure 4 As shown, the process includes the following steps:
[0129] 1.PDU session establishment process: Specifically, the UE sends a session establishment request message to the SMF network element through the AMF network element.
[0130] 2. The SMF network element selects the EASDF network element. This step can be triggered by the SMF network element receiving the Nsmf_PDUSession_CreateSMContext Request (Nsmf_PDU session create SM context request) message (i.e., session establishment request message) sent by the AMF network element during the PDU session establishment process. The SMF network element can select the EASDF network element by referring to one or more of the following information: the data network name (DNN) of the session, single network slice selection assistance information (S-NSSAI), the address of the EASDF, the location of the EASDF (geographical location or topological location), the PDU session anchor (PSA), the address of the UPF, and the data network access identifier (DNAI).
[0131] 3-4. After the SMF network element selects the EASDF network element, it sends the DNS processing rules to the EASDF network element. The DNS processing rules are carried in the Neasdf_DNS context_create request. For example, the DNS processing rules are: which domain names correspond to services that need to be processed, and the DNS messages of other domain names are sent directly to the DNS server without processing. The DNS processing rules can be used by the EASDF network element to process DNS messages.
[0132] It can be understood that in the PDU session establishment process, the SMF network element can use the address of the EASDF network element as the address of the DNS server and send it to the UE through the AMF network element. Exemplarily, the SMF network element sends the address of the EASDF network element to the AMF network element through the Namf_Communication_N1N2MessageTransfer message (Namf communication N1N2 message transmission), and then the AMF network element forwards the address of the EASDF network element to the UE through the non-access stratum (NAS) message. The AMF network element does not process it, that is, transparent forwarding. The UE receives the address of the EASDF network element forwarded by the AMF network element, and uses the EASDF network element as a DNS server, that is, sending a DNS query (DNS query) message to the EASDF network element. Among them, the UE does not perceive the EASDF network element, but regards the address of the EASDF network element as the address of a DNS server.
[0133] 5-6. It can occur in the PDU session modification process. The SMF network element can update the DNS processing rules according to the changes in the deployment of edge services (or other reasons).
[0134] 7. The UE sends a DNS Query message to the EASDF network element. The DNS Query message includes a fully qualified domain name (FQDN).
[0135] 8-9. The EASDF network element matches the FQDN in the DNS Query message with the DNS processing rule, and if the match is successful, reports the FQDN to the SMF network element. For example, if the FQDN in the DNS Query message is the domain name corresponding to the service to be processed in the DNS processing rule, it means that the FQDN matches the DNS processing rule successfully. Specifically, the EASDF network element can report the FQDN to the SMF network element through Neasdf_DNS context_updaterequest (Neasdf_DNS context update request).
[0136] 10-11. The SMF network element determines and returns (option A) "the information required to determine the ECSoption" or (option B) "the local DNS (L-DNS) server address" to the EASDF network element based on the FQDN and the UE location. Specifically, the SMF network element can return option A or option B to the EASDF network element via Neasdf_DNS context_updaterequest.
[0137] It can be understood that the ECS option is a DNS message extension item defined by the Internet Engineering Task Force (IETF) and is used to represent the location of the UE to assist the DNS server in resolving the IP address of the local EAS of the UE.
[0138] The L-DNS server is a DNS server deployed locally on the UE. Even if the DNS Query message does not contain information representing the location of the UE, it will resolve the IP address of the EAS local to the UE based on its own location.
[0139] It can also be understood that the DNS Query message of the UE will be sent to the EASDF network element first. The EASDF network element and the SMF network element will select a nearby DNS server (such as an L-DNS server) based on the UE's geographic location / topological location, or add content identifying the UE's geographic location / topological location (such as ECS option) to the DNS Query message and send it to the DNS server, thereby ensuring that the EAS closest to the UE's geographic location / topological location is queried.
[0140] 12. The EASDF network element sends a DNSQuery message to the DNS server (which may be a C-DNS server or a L-DNS server).
[0141] For option A, the EASDF network element determines the ECS option (such as the EDNS client subnet option) based on the "information required to determine the ECS option", adds the ECS option to the DNS Query message, and then forwards the DNS Query message to the centralized DNS (central DNS, C-DNS) server. The DNS Query message here contains the FQDN and the ECS option.
[0142] For option B, the EASDF network element forwards the DNS Query message to the L-DNS server. The DNS Query message here contains the FQDN.
[0143] 13. The DNS server (such as C-DNS server or L-DNS server) returns a DNS response message to the EASDF network element. The DNS response message includes the EAS IP address.
[0144] 14-15. The EASDF network element matches the EAS IP address in the DNS Response with the DNS processing rule. If the match is successful, the DNS Response is cached and the EAS IP address is reported to the SMF network element. If there is no match, no diversion is performed and the process jumps to step 19. Specifically, the EASDF network element can report the EAS IP address to the SMF network element through Neasdf_DNS context_notify request.
[0145] 16. The SMF network element inserts the diversion point and configures the diversion rules based on this EAS IP address.
[0146] 17-18. The SMF network element instructs the EASDF network element to forward the DNS Response to the UE, which can be specifically indicated by Neasdf_DNScontext_updaterequest. This is because the DNS response is a user plane message, so the SMF network element cannot send it directly to the UE, but needs to be forwarded to the UE through the EASDF network element.
[0147] 19. The EASDF network element forwards the DNS Response to the UE, which contains the EAS IP address.
[0148] Optional, above Figure 4 The specific implementation of the process shown can refer to the description of the existing standard and will not be described in detail here.
[0149] 3. Edge Migration
[0150] In the edge computing (EC) scenario, due to UE mobility or EAS load balancing, it may be necessary to perform EAS migration on the session to ensure business continuity. 3GPP TS 23.548 defines multiple scenarios and processes for edge migration. This application briefly introduces the process of AF network element supporting EASIP address replacement.
[0151] See also Figure 5 , Figure 5 FIG. 1 is a flow chart of the AF network element supporting EAS IP address replacement provided by the embodiment of the present application. Figure 5 As shown, the process includes the following steps:
[0152] 1. PDU session establishment process: UE requests to establish a PDU session.
[0153] 2. Discover an EAS IP address. After the session is established, the UE discovers the EAS IP address through local configuration or EAS discovery process (as described above). Figure 4 The source EAS IP address is resolved by the UE.
[0154] 3. UE communicates with source EAS. For uplink traffic, the source IP address is the UE IP address and the destination IP address is the source EAS IP address; for downlink traffic, the source IP address is the source EAS IP address and the destination IP address is the UE IP address.
[0155] 4. AF network element or 5GC (such as AMF network element) triggers the EAS IP address replacement process. EAS migration can be triggered by AF network element or 5GC. For example, due to EAS load balancing, the AF network element triggers EAS migration. For another example, due to UE mobility, 5GC (such as AMF network element) finds that the UE is far away from the source EAS and no longer meets the condition that "the EC scenario requires the UE to access the available EAS closest to the UE". At this time, 5GC (such as AMF network element) can trigger EAS migration. When the AF network element is triggered, the AF network element can first select the target EAS (target EAS) and perform context migration on the source / target EAS. After that, the AF network element notifies the 5GC (NEF network element and PCF network element) to replace the IP address. After the SMF network element receives the instruction from the AF network element through the PCF network element, the SMF network element instructs the local anchor point UPF through which the session passes to replace the uplink destination address and downlink source address of the service flow. For the uplink destination address, replace the source EAS IP address with the target EAS IP address, i.e. source EAS IP address → target EAS IP address; for the downlink source address, replace the target EAS IP address with the source EAS IP address, i.e. target EAS IP address → source EAS IP address; this completes the EAS IP address replacement. When 5GC is triggered, 5GC notifies the AF network element, and the subsequent steps are the same as the AF network element trigger, which will not be repeated here.
[0156] 5. Local anchor UPF (such as Figure 5 The local PSA in the SMF replaces the IP address of the relevant traffic according to the instructions of the SMF network element.
[0157] Optional, above Figure 5 The specific implementation of the process shown can refer to the description of the existing standard and will not be described in detail here.
[0158] 4. Edge computing scenarios based on device groups
[0159] 3GPP proposes a new edge computing scenario: for UEs that support edge computing, multiple UEs that access the same service are grouped into a device group, and the UEs in the group are enabled to access the same EAS or DNAI. Figure 6 , Figure 6 Schematic diagram of edge computing scenario provided by the embodiment of the present application. Figure 6As shown, UE1, UE2 and UE3 accessing the same service are formed into a device group, and UE1, UE2 and UE3 can access the same EAS, namely common EAS. Exemplarily, UE1 and UE2 can access common EAS through UPF1 (local PSA, i.e. L-PSA), and UE3 can access common EAS through UPF2 (local PSA). In order to support this access method, it is necessary to enhance the 5G system (5G System, which is a general term for all 5G network elements, including base stations (NG-RAN) and core networks (5GC)) to support the establishment of device groups and enable UEs in the group to access the same EAS / DNAI.
[0160] The standard proposes that a device group can be established based on an AF request. In the scenario where there is an EASDF network element, the process for UEs in the group to select the same EAS is as follows: Figure 7 As shown, Figure 7 Schematic diagram of the process of device group accessing edge computing provided by the embodiment of the present application. Figure 7 As shown, the process includes the following steps:
[0161] Step 1: The AF network element notifies the UEs included in the 5GC device group and the target services accessed by the UEs in the device group through an AF request message. Figure 2 In steps 1 to 5 shown, the AF network element can send the AF request message to the UDR network element through the NEF network element, and the UDR network element then notifies the subscribed PCF network element, and the PCF network element notifies the SMF network element through the PCC rule. Among them, PCCrule contains the target service accessed by the UE in the device group. Exemplarily, the AF request message includes one or more of the following: a list of device group member identifiers (UE list), a device group identifier (traffic correlation ID), an identifier of the target service (such as FQDN), and a common EAS (EAS correlation indication) indicating the access of the device group.
[0162] Step 2-3: UE initiates EAS discovery process (previously Figure 4 In step 1-9), the EASDF network element reports the FQDN to the SMF network element, and the FQDN is included in the DNS query message. If the FQDN is the identifier of the target service accessed by the UE in the device group, the SMF network element selects the common EAS for the UE in the device group.
[0163] Step 4-5: The SMF network element synchronizes the common EAS information to the UDR network element. Specifically, if the UDR network element does not store the common EAS IP address, step 5 is: execute the EAS discovery process (as described above) Figure 4 ) in steps 10 to 19. The SMF network element then stores the discovered EAS IP address as the common EAS IP address in the UDR network element (e.g. Figure 7 If the UDR network element already has a common EAS IP address saved, then step 5 is: skip the EAS discovery process (as described above). Figure 4 ) in steps 10 to 15 (i.e., the EASDF network element does not need to query the DNS server for the EAS IP address), and in the EAS discovery process (as described above Figure 4 ) in step 19, the EASDF network element sends a DNS response to the UE, and the DNS Response carries the common EAS IP address stored in the UDR network element. That is, in the EAS discovery process (as described above), Figure 4 ), the SMF network element queries the UDR network element for the stored common EAS IP address, and then executes the EAS discovery process (as described above). Figure 4 ) steps 16 to 19.
[0164] Optional, above Figure 7 The specific implementation of the process shown can refer to the description of the existing standard and will not be described in detail here.
[0165] It is understandable that in the above Figure 6 In the edge computing scenario shown, the EAS IP address contained in the DNS Response received by the UE in the device group has the following specific characteristics:
[0166] 1) This EAS IP address is the common EAS IP address stored in the UDR network element (the UDR network element already has a common EAS IP address saved).
[0167] 2) This EAS IP address is not generated by the DNS server.
[0168] In common edge computing scenarios, the EAS IP address returned by the DNS server to the EASDF network element takes into account various factors such as EAS load and IP address affinity. Figure 6In the scenario shown, the EAS IP address returned by the EASDF network element to the UE is stored in the UDR network element, and there is no need for the DNS server to process (or filter) based on the above factors (i.e., EAS load, IP address affinity, etc.). Therefore, when the common EAS is load balanced, that is, the common EAS load is too high (i.e., there are too many UEs accessing the common EAS), and no more UEs can be connected. Since the EASDF network element does not perceive the load of the common EAS, the DNS Response sent by the EASDF network element to the UE will still provide the IP address of the common EAS. In this way, when a UE in the device group that is not connected to the common EAS accesses the common EAS IP address, it may be denied access by the common EAS.
[0169] In short, the existing solution for a device group to access the common EAS (not considering the case where the UE in the device group accesses the common EAS for the first time) is to reply to the UE in the device group (except the first UE in the device group to access the common EAS) with the common EAS IP address stored in the UDR network element according to the common EAS IP address stored in the UDR network element. However, when the common EAS is load balanced, all UEs in the device group cannot access the common EAS, and thus cannot access all target services. Currently, there is no solution to ensure that all UEs in the device group can access the target service in the case of common EAS load balancing.
[0170] In addition, when edge relocation is required for UEs in a device group, the device group information (such as common EAS IP address) stored in the UDR network element may need to be modified due to the change of the EAS accessed by the UEs in the device group, and there is no relevant solution in the prior art. It can be understood that the edge relocation of UEs in a device group in this application may be caused by the movement of the UE or by EAS load balancing, and this application does not limit it.
[0171] The embodiments of the present application provide a communication method, an apparatus, and a readable storage medium, which can ensure that UEs in a device group can continue to access target services by modifying the device group information stored in a 5GC (such as a UDR network element) in the case of common EAS load balancing or edge migration.
[0172] The technical solution provided by this application will be described in detail below with reference to more drawings.
[0173] The technical solution provided in the present application is described through multiple embodiments, with specific reference to the description of each embodiment below. Among them, the same or similar parts between each embodiment or implementation can refer to each other. In each embodiment in the present application, and each implementation method / implementation method / implementation method in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and each implementation method / implementation method / implementation method in each embodiment are consistent and can be referenced to each other, and the technical features in different embodiments and each implementation method / implementation method / implementation method in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The implementation methods of the present application described below do not constitute a limitation on the scope of protection of the present application.
[0174] Each embodiment is described in detail below.
[0175] Optionally, the first network element in the present application may be a PCF network element or an SMF network element, the second network element may be a UDR network element, and the third network element may be an AF network element. In the present application, "SMF entity", "SMF network element" and "SMF" may be used interchangeably, and the three may represent the same device. Similarly, "PCF entity", "PCF network element" and "PCF" may be used interchangeably to represent the same device. "AF entity", "AF network element" and "AF" may be used interchangeably to represent the same device. "UDR entity", "UDR network element" and "UDR" may be used interchangeably to represent the same device. The network elements or entities involved in the present application are not listed here one by one. The terminal device in the present application may be a UE. It should be understood that with the development of communication technology, the name of the network element may also change, and the present application does not limit this.
[0176] Embodiment 1
[0177] See also Figure 8 , Figure 8 This is a schematic flow chart of the first communication method provided in the embodiment of the present application. Figure 8 As shown, the communication method includes but is not limited to the following steps:
[0178] S101, a second network element (UDR) stores information of a first device group, where the information of the first device group is used to indicate that each terminal device in the first device group accesses a first service through a second address.
[0179] Optionally, for UEs that support edge computing, multiple UEs that access the same service are formed into a device group, and the UEs in the group are enabled to access the same EAS or DNAI. After the device group is established, the second network element (UDR) can store the information of this device group. The specific device group establishment process can refer to the prior art, and the embodiments of the present application are not described in detail. For ease of description below, this device group is referred to as the first device group. The information of the first device group can be used to indicate that each terminal device (such as UE) in the first device group accesses the first service (or target service) through the second address. The information of the first device group includes the corresponding stored first device group and the second address, and optionally also includes an identifier of the first service, such as FQDN, application identifier (APP ID), or the IP address segment of the first service (that is, the IP addresses of multiple EASs that provide the first service), etc. The second address can be a common EAS IP address. Exemplarily, the second network element (UDR) stores information of the first device group in a variety of forms, such as: device group identifier + (source) common EAS IP address (second address); another example: UE list + (source) common EAS IP address (second address); another example: device group identifier + UE list + (source) common EAS IP address (second address). Among them, the UE list (UE list) here can be used to represent the first device group, including the identifier of each terminal device in the first device group. The device group identifier here can be used to identify the first device group. It can be understood that one device group corresponds to one device group identifier, which is used to uniquely identify this device group. In the embodiment of the present application, the symbol "+" means the meaning of "and", which will not be repeated below.
[0180] In some scenarios, some or all of the UEs in the first device group have accessed the common EAS or the first service.
[0181] S102, the AF network element sends first information to the first network element (PCF / SMF), where the first information is used to instruct the session of the first terminal device to perform edge migration.
[0182] Correspondingly, the first network element (PCF / SMF) receives the first information. The first information is used to instruct the session of the first terminal device to perform edge migration.
[0183] S103, the first network element (PCF / SMF) sends second information to the second network element (UDR), where the second information is used to instruct the second network element to update information of the first device group to which the first terminal device belongs.
[0184] Correspondingly, the second network element (UDR) receives the second information.
[0185] Optionally, the AF network element may send a first message to the first network element (PCF or SMF). The first message may be used to indicate that the session of the first terminal device (such as UE1) is to be edge migrated. Exemplarily, the first message may be an edge relocation indication. The first message may include the address of the first terminal device (such as UE1 IP address) and the first address. It can be understood that the UE1 IP address can be used to represent the session of UE1. The first address may be the target server address for the session of the first terminal device to access the above-mentioned first service, that is, the target EAS IP address or the new EAS IP address. The above-mentioned second address is the source server address for the session of the first terminal device to access the first service, that is, the source common EAS IP address or the old EAS IP address.
[0186] In one possible implementation, the first network element is a PCF. The AF network element may send the first information to the PCF network element through the NEF network element. Of course, the AF network element may also send the first information directly to the PCF network element without forwarding by the NEF network element. This embodiment of the present application is not limited. After receiving the first information, the PCF network element may determine whether the first terminal device (UE1) belongs to the device group served by the PCF network element, and may determine whether the session (UE1 IP address) of the first terminal device accesses the above-mentioned first service. Among them, the way in which the PCF network element determines that the first terminal device (UE1) belongs to the device group served by the PCF network element may be: the session served by the PCF network element or the session served by the SMF network element associated with the PCF network element contains the session (UE1 IP address) of the first terminal device, and the information of the device group stored by the PCF network element includes the identifier of the first terminal device (UElist contains the UE1 ID). The device group information stored by the PCF network element may include: device group identifier + UE list (UElist) + identifier of the first service (FQDN / IP range). The way in which the PCF network element determines that the session (UE1 IP address) of the first terminal device accesses the above-mentioned first service may be: the PCF network element stores the address segment of the first service, and the destination (IP) address accessed by the session of the first terminal device belongs to the address segment of the first service. The way in which the PCF network element determines that the session (UE1 IP address) of the first terminal device accesses the above-mentioned first service may also be: the PCF network element records the FQDN accessed by the session (such as stored when sending a DNS query), or the PCF network element stores the mapping relationship between the address segment and the FQDN of the first service, and the PCF determines that the FQDN accessed by the session of the first terminal device is the FQDN of the first service.
[0187] If the first terminal device (UE1) belongs to the first device group served by the PCF network element, and the session of the first terminal device accesses the above-mentioned first service, the PCF network element may send a second message to the second network element (UDR), and the second message may be used to instruct the second network element (UDR) to update the information of the first device group. Optionally, after receiving the first message, the PCF network element may also configure the session of the first terminal device (UE1) to access the above-mentioned first service through the above-mentioned first address. Exemplarily, the PCF network element sends the first message to the SMF network element to instruct the SMF network element to change the user plane path. After receiving the first message, the SMF network element instructs the UPF network element to reconfigure the local traffic routing. The manner in which the UPF network element reconfigures the local traffic routing is described below and will not be described in detail here. The manner in which the PCF network element sends the first message to the SMF network element may reuse the existing standard, which is not limited in the embodiments of the present application. Optionally, the PCF network element may send the entire content of the first message to the SMF network element, or may send part of the first message to the SMF network element, which is not limited in the embodiments of the present application.
[0188] In another possible implementation, the first network element is SMF. The AF network element may first send the first information to the NEF network element, and the NEF network element then forwards the first information to the PCF network element, and the PCF network element forwards the first information to the SMF network element. After receiving the first information, the SMF network element may determine whether the first terminal device (UE1) belongs to the device group served by the SMF network element, and may determine whether the session (UE1 IP address) of the first terminal device accesses the above-mentioned first service. Among them, the way in which the SMF network element determines whether the first terminal device (UE1) belongs to the device group served by the SMF network element is similar to that of the PCF network element, except that the first information received by the SMF network element is forwarded via the PCF network element (the PCF network element determines the PCC rule based on the first information and sends it to the SMF network element). The information form of the device group stored by the SMF network element may include: device group identifier + terminal device address (UE IP address / service data flow (SDF) template (SFD template)) + identifier of the first service. Therefore, if the address of the first terminal device belongs to the terminal device address in the device group information stored by the SMF network element, it is determined that the first terminal device (UE1) belongs to the device group served by the SMF network element. The SMF network element determines whether the session of the first terminal device (UE1 IP address) accesses the above-mentioned first service in the same way as the PCF network element, and the SMF network element stores the FQDN or the address segment of the first service.
[0189] If the first terminal device (UE1) belongs to the first device group served by the SMF network element, and the session of the first terminal device accesses the above-mentioned first service, the SMF network element can send the second information to the second network element (UDR) through the PCF network element, and the second information can be used to instruct the second network element (UDR) to update the information of the first device group. Optionally, the above-mentioned first information can also be used to instruct the SMF network element to change the user plane path, so after receiving the first information, the SMF network element can also instruct the UPF network element to reconfigure the local traffic routing.
[0190] Exemplarily, the way in which the SMF network element instructs the UPF network element to reconfigure the local traffic routing may be: the SMF network element instructs the anchor UPF network element of the session (UE1 IP address) serving the first terminal device through the N4 session to replace the IP address of the user plane message of this session. For example: for the destination address of the uplink message, the UPF network element replaces the source server address (i.e., the second address) with the destination server address (i.e., the first address); for the source address of the downlink message, the UPF network element replaces the destination server address (i.e., the first address) with the source server address (i.e., the second address).
[0191] Among them, the above-mentioned second information may include the above-mentioned first address and the device group identifier, and the device group identifier is used to identify the above-mentioned first device group. Alternatively, the above-mentioned second information may include the above-mentioned first address and the address (such as UE1 IP address) / identifier (UE1 ID) of the above-mentioned first terminal device. It can be understood that when the second information does not include the device group identifier but includes the UE1 IP address / UE1 ID, the second information is used to instruct the second network element (UDR) to update the information of the device group (i.e., the first device group) corresponding to the UE1 IP address / UE1 ID. Then the second network element (UDR) can determine which UE list (UE address / identifier list) it stores that the UE1 IP address / UE1 ID contained in the second information belongs to, and the second network element (UDR) then updates the device group corresponding to this UE list.
[0192] Optionally, the second information may further include a device group update indication (e.g., 1 bit) to indicate whether the second network element (UDR) updates the device group information. For example, when the device group information update indication (1 bit) is a first value, it is used to indicate that the second network element (UDR) updates the device group information. When the device group information update indication (1 bit) is a second value, it is used to indicate that the second network element (UDR) does not update the device group information. In the embodiment of the present application, the device group information update indication (1 bit) is set to a first value. The first value may be 1 or 0; correspondingly, the second value may be 0 or 1; this is not limited in the embodiment of the present application.
[0193] S104: The second network element (UDR) updates the information of the first device group.
[0194] Optionally, after receiving the second information, the second network element (UDR) may update the information of the first device group stored in the aforementioned step S101. There are multiple ways for the second network element (UDR) to update the information of the first device group. The embodiment of the present application only introduces one of them. For other updating methods, please refer to the description of the embodiment below, which will not be described in detail here. Exemplarily, the information of the first device group includes the corresponding stored first device group and the second address, and the second network element updates the information of the first device group, including: the second network element (UDR) may replace the second address stored by the first address. That is, the source common EAS IP address is replaced by the target common EAS IP address. Then the updated information of the first device group (or the information of the new device group) may include the corresponding stored first device group and the first address, and the content stored in the second network element (UDR) may be any of the following: device group identifier + target common EAS IP address (first address), UE list + target common EAS IP address (first address), device group identifier + UE list + target common EAS IP address (first address). The embodiment of the present application does not limit the form in which the updated information of the first device group (or the information of the new device group) is stored in the second network element (UDR).
[0195] Optionally, after the above step S104, the above communication method further includes: executing an edge relocation process. The specific process of edge relocation can refer to the prior art or the aforementioned Figure 5 The process shown is not described in detail in the embodiments of this application.
[0196] Optionally, after the second network element (UDR) updates the information of the first device group, that is, after step S104, the communication method further includes: the second network element (UDR) sends third information to the first network element (PCF / SMF), and the third information includes the updated information of the first device group. Exemplarily, the third information may include any one of the following: device group identifier + target common EAS IP address (first address), UE list + target common EAS IP address (first address), device group identifier + UE list + target common EAS IP address (first address).
[0197] Optionally, after the above step S104, the communication method further includes: the second network element (UDR) may notify other network elements of the updated information of the first device group. Here, the other network elements may include other SMF network elements or PCF network elements serving the first device group. The information content of the updated first device group is described in the previous text and will not be repeated here.
[0198] Exemplarily, when the other network elements are PCF network elements, the second network element (UDR) notifies the PCF network element that has subscribed to the first device group of the updated information of the first device group. Wherein "subscribing to the first device group" can be the identifier of the first device group subscribed by the PCF network element to the second network element (UDR), or it can be the content related to the DNN / S-NSSAI subscribed by the PCF network element to the second network element (UDR), and the first device group belongs to this DNN / S-NSSAI, and so on. When the other network elements are SMF network elements, the updated information of the first device group can be forwarded to the SMF network element through the PCF network element, and the PCF network element receives the updated information of the first device group in the same manner as above. The way in which the PCF network element forwards to the SMF network element can be that the PCF network element generates a PCC rule based on the updated information of the first device group and sends it to the SMF network element. The information contained in the PCC rule may be different from the information of the updated first device group sent by the second network element (UDR) to the PCF network element, but at least includes part of the content. The embodiment of the present application does not limit the specific sending method.
[0199] Optionally, while the second network element (UDR) notifies other network elements of the updated information of the first device group, the second network element (UDR) may also notify these network elements to perform edge migration on the terminal devices in the device group it serves. The target EAS address of the edge migration is determined based on the updated information of the first device group. If the updated information of the first device group includes the first address, the target EAS address is the first address.
[0200] Optionally, the second network element (UDR) may also notify the AF network element of the updated information of the first device group, including the device group identifier and the first address. Alternatively, after the SMF network element / PCF network element receives the updated information of the first device group notified by the second network element (UDR), the SMF / PCF network element may also notify the AF network element of the updated information of the first device group, including the device group identifier and the first address.
[0201] Optionally, after the second network element (UDR) updates the information of the first device group, since the second network element (UDR) already has a saved common EAS IP address, the process of UE in the first device group that has not accessed the first service through the second address accessing the first service includes: the SMF network element queries the second network element (UDR) for the stored common EAS IP address. Exemplarily, the SMF network element sends a query request to the second network element (UDR), and the query request may include a device group identifier (used to identify the first device group), and optionally also includes an identifier of the first service (such as FQDN, APP ID, or IP address segment of the first service). The query request is used to synchronize the addresses of each terminal device in the first device group to access the first service. The second network element (UDR) returns the query result to the SMF network element, and the query result includes the target common EAS IP address (i.e., the first address). In short, after the second network element (UDR) updates the information of the first device group, the UE in the first device group will access the new common EAS when accessing the first service.
[0202] After receiving the edge migration indication (i.e., the first information mentioned above), the first network element of the embodiment of the present application determines whether there is any UE in the device group served by it that is affected. If there is any UE in the device group served by the first network element that is affected, the first network element sends a second message to the UDR network element, instructing the UDR network element to update the information of the device group to which the affected UE belongs (i.e., the first device group mentioned above), and carries the target EAS IP address (the first address) in the second message, so that the UDR network element updates the common EAS IP address corresponding to the first device group. In this way, in the case of edge migration, it can be ensured that the UE in the device group can continue to access the target service (i.e., the first service mentioned above).
[0203] In an optional embodiment, the embodiment of the present application is also applicable to a scenario in which a device group accesses the same DNAI. Specifically, the second network element (UDR) can store information about the first device group, and the information about the first device group can be used to indicate that each UE in the first device group accesses the first service (or target service) through the DNAI. It can be understood that one DNAI corresponds to multiple EASs, and these EASs can provide the first service. Each UE in the first device group can access the first service through any EAS corresponding to the DNAI. Among them, the information of the first device group includes the corresponding stored first device group and DNAI. For example: device group identifier + DNAI; another example: UE list + DNAI; another example: device group identifier + UE list + DNAI. The AF network element sends a first message to the first network element (PCF / SMF), and the first message is used to indicate that the session of UE1 is to be migrated to the edge. Accordingly, the first network element (PCF / SMF) receives the first message. The first message includes the address of UE1 (such as UE1 IP address) and the targetEASIP address. The first network element (PCF / SMF) determines whether UE1 belongs to the first device group, and can determine whether the targetEAS IP address belongs to the DNAI. If UE1 belongs to the first device group and the targetEAS IP address does not belong to the DNAI, the first network element (PCF / SMF) sends the second information to the second network element (UDR). The second information includes a device group identifier (used to identify the first device group) and the DNAI to which the targetEAS IP address belongs. The second information can be used to instruct the second network element (UDR) to update the information of the first device group. After receiving the second information, the second network element (UDR) updates the information of the first device group. The specific update method can refer to the implementation method of the aforementioned step S104, the difference being that in step S104, the first address stored in the second network element (UDR) is replaced with the DNAI to which the targetEAS IP address belongs, which is not repeated here.
[0204] Embodiment 2
[0205] See also Fig. 9 , Fig. 9 1 is a second schematic flow chart of the communication method provided in the embodiment of the present application. Fig. 9 As shown, the communication method includes but is not limited to the following steps:
[0206] S201, a second network element (UDR) stores information of a first device group, where the information of the first device group is used to indicate that each terminal device in the first device group accesses a first service through a second address.
[0207] The implementation method of step S201 in the embodiment of the present application can refer to the implementation method of step S101 in the aforementioned embodiment 1, and will not be repeated here.
[0208] Optionally, after step S201, the communication method further includes step S202.
[0209] S202: The second network element (UDR) stores the identifier of the terminal device in the first device group that has queried the second address.
[0210] Optionally, after the second network element (UDR) stores the information of the first device group, when the UE in the first device group wants to access the first service (or target service), the SMF network element may send a first query request to the second network element (UDR). The first query request may include a device group identifier and an identifier (UE2 ID) of a second terminal device (such as UE2). The first query request may be used to synchronize the address of the second terminal device (such as UE2) for accessing the above-mentioned first service. After receiving the first query request, the second network element (UDR) may store the identifier (UE2 ID) of the second terminal device and may return the first query result to the SMF network element. The identifier (UE2 ID) of the second terminal device belongs to the first device group. The first query result may include a second address, i.e., a (source) common EAS IP address. It can be understood that the identifier (UE2 ID) of the second terminal device is the identifier of a terminal device in the first device group that has queried the second address.
[0211] It can also be understood that when a UE in the first device group wants to access the first service, the SMF network element will send a first query request to the second network element (UDR), and this first query request contains the identifier of this UE, and the second network element (UDR) will also store the identifier of this UE carried in this first query request. Then, as time goes by, the second network element (UDR) may successively receive multiple first query requests, store the identifiers of multiple terminal devices carried in these multiple first query requests, and the identifiers of these multiple terminal devices are all the identifiers of the terminal devices in the first device group that have queried the second address. In other words, the second network element (UDR) stores a set of identifiers of the terminal devices in the first device group that have queried the second address.
[0212] S203, the AF network element sends first information to the first network element (PCF / SMF), where the first information is used to instruct the session of the first terminal device to perform edge migration.
[0213] Correspondingly, the first network element (PCF / SMF) receives the first information. The first information is used to instruct the session of the first terminal device to perform edge migration.
[0214] S204, the first network element (PCF / SMF) sends second information to the second network element (UDR), where the second information is used to instruct the second network element (UDR) to update information of the first device group to which the first terminal device belongs.
[0215] Correspondingly, the second network element (UDR) receives the second information.
[0216] The implementation of step S203-step S204 in the embodiment of the present application can refer to the implementation of step S102-step S103 in the aforementioned embodiment 1, and will not be repeated here.
[0217] S205: The second network element updates the information of the first device group.
[0218] Optionally, the second information includes the first address and the device group identifier. Alternatively, the second information includes the first address and the address (such as UE1 IP address) / identifier (such as user permanent identifier (SUPI), GPSI) of the first terminal device (such as UE1). The first address can be the target server address of the session of the first terminal device (such as UE1) accessing the first service, that is, the target EAS IP address or the new EAS IP address. The second address is the source server address of the session of the first terminal device accessing the first service, that is, the source common EASIP address or the old EAS IP address. The device group identifier can be used to identify the first device group. The first terminal device belongs to the first device group.
[0219] Optionally, after receiving the second information, the second network element (UDR) may update the information of the first device group stored in the aforementioned step S201. The information of the first device group includes the corresponding stored first device group and the second address. The second network element updates the information of the first device group, including: the second network element (UDR) updates the information of the first device group to: the corresponding stored first list and the second address, and the corresponding stored second list and the above-mentioned first address. In one possible implementation, the first list (UE list1) may include the identifier of the terminal device in the first device group that has queried the second address, and the second list (UE list2) includes the identifiers of other terminal devices in the first device group except the first list. In another possible implementation, the first information may include the address of the first terminal device (such as the UE1 IP address), and the first list (UElist1) may include the identifiers of the terminal devices in the first device group that have queried the second address except the identifier of the first terminal device (UE1). And the second list (UE list2) includes the identifiers of other terminal devices in the first device group except the first list. In short, the first list (UE list1) includes UEs in the first device group that have accessed the first service through the second address, that is, UEs that have accessed the old common EAS; the second list (UE list2) includes UEs in the first device group that have not accessed the first service, that is, UEs that have not accessed the old common EAS. Alternatively, the first list (UElist1) includes UEs in the first device group that have accessed the first service through the second address and have not been required to migrate; the second list (UE list2) includes UEs in the first device group that have not accessed the first service (that is, UEs that have not accessed the old common EAS) and UEs that have accessed the first service through the second address and are required to migrate.
[0220] In another possible implementation, the first list (UE list1) includes the identifier of the first terminal device, and the second list includes the identifiers of other terminal devices in the first device group except those in the first list. In other words, when the second information includes the identifier of the first terminal device, the second network element (UDR) may add the identifier of the first terminal device to the first list after receiving the second information. This implementation may be performed multiple times, each time the first terminal device is a different terminal device in the device group, and these terminal devices constitute the first list.
[0221] Optionally, if the first list and the second list share a device group identifier, it means that the first list and the second list still belong to one device group. Then the content of the updated information of the first device group stored in the second network element (UDR) can be: device group identifier—first list (UE list1)—second address; device group identifier—second list (UElist2)—first address. In other words, in the second network element (UDR), there is a corresponding relationship between the device group identifier, UE list1, and the second address, and there is also a corresponding relationship between the device group identifier, UE list2, and the first address. In other words, after the second network element (UDR) receives the above-mentioned second information, it can divide the first device group into two subgroups (or two UE lists) according to the content stored in the aforementioned steps S201 and S202 or the above-mentioned second information, and store the EAS IP addresses accessed by the UE in each subgroup for these two subgroups respectively.
[0222] Optionally, if the first list and the second list use different device group identifiers respectively, it means that the first list and the second list belong to different device groups. Then the updated device group information (or new device group information) may include: the corresponding stored device group identifier A and the second address, and the corresponding stored device group identifier B and the first address, and the content stored in the second network element (UDR) may be: device group identifier A (or collection1 ID)-second address, and device group identifier B (or collection2 ID)-first address; or first list (UE list1)-second address, and second list (UE list2)-first address; or device group identifier A (or collection1 ID)-first list (UElist1)-second address, and device group identifier B (or collection2 ID)-second list (UE list2)-first address. The embodiment of the present application does not limit the form in which the updated device group information (or new device group information) is stored in the second network element (UDR). Among them, the device group identifier A (or collection1 ID) is used to identify the device group to which the first list belongs. The device group identifier B (or collection2 ID) is used to identify the device group to which the second list belongs. In other words, after receiving the second information, the second network element (UDR) can divide the UEs in the first device group into two device groups according to the content stored in the aforementioned steps S201 and S202 or the second information, and store the EAS IP addresses accessed by the UEs in each device group for the two device groups.
[0223] Optionally, after the above step S205, the above communication method further includes: executing an edge relocation process. The specific process of edge relocation can refer to the prior art or the aforementioned Figure 5 The process shown is not described in detail in the embodiments of this application.
[0224] Optionally, after the second network element (UDR) updates the information of the first device group, that is, after step S205, the communication method further includes: the second network element (UDR) sends a third message to the first network element (PCF / SMF), and the third message includes the updated device group information. Exemplarily, if the first list and the second list share a device group identifier, the third information may include: device group identifier—first list (UE list1)—second address; device group identifier—second list (UE list2)—first address. Exemplarily, if the first list and the second list use different device group identifiers, the third information may include: device group identifier A (or collection1 ID)—second address, and device group identifier B (or collection2 ID)—first address; or the first list (UE list1)—second address, and the second list (UElist2)—first address; or device group identifier A (or collection1 ID)—first list (UE list1)—second address, and device group identifier B (or collection2 ID)—second list (UE list2)—first address.
[0225] Optionally, after the above step S205, the communication method further includes: the second network element (UDR) may notify other network elements of the updated device group information. The specific notification method can refer to the relevant description in the above embodiment 1, which will not be repeated here. Here, other network elements may include other SMF network elements or PCF network elements serving the first device group. The updated device group information (or new device group information) content can refer to the above description, which will not be repeated here.
[0226] Optionally, when the first list and the second list use different device group identifiers, after the SMF network element / PCF network element receives the updated device group information, it notifies the AF network element: device group identifier B (or collection2 ID) and the first address; it can also notify the updated device group information.
[0227] In the case where the first list and the second list share a device group identifier, if the first terminal device (such as UE1) in the first device group wants to access the first service, after the second network element updates the information of the first device group (i.e., step S205), the communication method further includes the following steps:
[0228] S206, the SMF network element sends a second query request to the second network element (UDR), the second query request is used to synchronize the address of the first terminal device accessing the first service, the second query request includes the identifier of the first terminal device and the identifier of the first service, and the identifier of the first terminal device belongs to the second list. Correspondingly, the second network element (UDR) receives the second query request.
[0229] S207, the second network element (UDR) sends a second query result to the SMF network element, where the second query result includes the first address. Correspondingly, the SMF network element receives the second query request.
[0230] It can be understood that, since the first terminal device (UE1) belongs to the second list, and the second list in the second network element (UDR) corresponds to the first address, the second query result carries the first address. Exemplarily, the second query request may also include a device group identifier for identifying the first device group. The identifier of the first service may be an FQDN, an APP ID, or an IP address segment of the first service.
[0231] In the case where the first list and the second list are identified by different device groups, after the second network element updates the information of the first device group (i.e., step S205), the communication method further includes the following steps:
[0232] S208, the second network element (UDR) sends notification information to the application function AF network element, the notification information includes the device group identifier of the first device group, the first list and the device group identifier corresponding to the first list, and the second list and the device group identifier corresponding to the second list.
[0233] Exemplarily, the notification information may further include the second address corresponding to the first list, and the first address corresponding to the second list.
[0234] It can be understood that in order to learn about the changes in the information of the device group stored in the second network element (UDR) in a more timely manner, the AF network element can (through the NEF network element) send subscription information to the second network element (UDR) after the first device group is established and before the aforementioned step S204. The subscription information can be used to subscribe to the information change event of the first device group. Exemplarily, the subscription information can include a device group identifier (such as a correlation ID) for identifying the first device group. Further optionally, the notification information in the aforementioned step S208 can be notification information for the subscription information.
[0235] Optionally, in the case where the first list and the second list use different device group identifiers respectively, if the first terminal device (such as UE1) in the second list wants to access the above-mentioned first service, the SMF network element can query the stored common EAS IP address from the second network element (UDR). Exemplarily, the SMF network element sends a query request to the second network element (UDR), and the query request may include the device group identifier B (such as collection2 ID), and optionally also includes the identifier of the first service (such as FQDN, APPID, or the IP address segment of the first service). The query request is used to synchronize the address of each terminal device in the second list to access the above-mentioned first service. The second network element (UDR) returns the query result to the SMF network element, and the query result includes the target (or new) common EAS IP address (first address). In short, after the second network element (UDR) updates the information of the above-mentioned first device group, the UE in the second list will access the new common EAS when accessing the above-mentioned first service.
[0236] The UDR network element of the embodiment of the present application divides the UEs in the first device group into multiple UE lists (i.e., the above-mentioned first list and the above-mentioned second list) according to the second information sent by the first network element, and corresponds to different EAS addresses. These multiple UE lists can share a device group identifier (i.e., reuse the device group identifier of the first device group), or use different device group identifiers respectively (i.e., these multiple UE lists belong to different device groups). In other words, the embodiment of the present application regroups the original device group members (divided into two sub-groups or two device groups) by modifying the device group information, and can ensure that all the original device group members can access the target service (i.e., the above-mentioned first service) in the case of edge migration.
[0237] It can be understood that the embodiment of the present application takes the first list and the second list as an example to illustrate the scenario where there are two addresses after the device group is updated. Of course, there may be more than two addresses or two lists after the device group is updated, and optionally more than two device group identifiers, and the embodiment of the present application is still applicable to these scenarios.
[0238] Embodiment 3
[0239] See also Fig.10 , Fig.10 This is a third schematic flow chart of the communication method provided in the embodiment of the present application. Fig.10 As shown, the communication method includes but is not limited to the following steps:
[0240] S301, a second network element (UDR) stores information of a first device group, where the information of the first device group is used to indicate that each terminal device in the first device group accesses a first service through a second address.
[0241] The implementation method of step S301 in the embodiment of the present application can refer to the implementation method of step S101 in the aforementioned embodiment 1, and will not be repeated here.
[0242] S302, the third network element (AF) sends fourth information to the second network element (UDR), where the fourth information is used to indicate commonEAS load balancing, the address of the commonEAS is the second address, and the fourth information includes a device group identifier, where the device group identifier is used to identify the first device group.
[0243] Correspondingly, the second network element (UDR) receives the fourth information.
[0244] Optionally, the third network element (AF) may send the fourth information to the second network element (UDR) via the NEF network element. Of course, the third network element (AF) may also send the fourth information directly to the second network element (UDR) without forwarding by the NEF network element. This is not limited to the embodiments of the present application. The fourth information may be used to indicate commonEAS (or upcoming) load balancing, and the address of the commonEAS is the second address. In other words, the commonEAS load balancing that provides the first service to the UE in the above-mentioned first device group cannot connect to more UEs, but the UEs that have connected to the commonEAS do not need to migrate. Exemplarily, the fourth information includes a device group identifier and a second address, and the device group identifier is used to identify the first device group.
[0245] In the embodiment of the present application, "commonEAS load balancing" can be understood as the common EAS not allowing more users to access.
[0246] Optionally, the fourth information also includes one or more of the following: an identifier of the above-mentioned first service, or information used to indicate the commonEAS load balancing. Among them, the identifier of the first service can be FQDN, APP ID, SDF template, or the IP address segment of the first service, etc. For example, when the information used to indicate the commonEAS load balancing is in the first state, it means that the commonEAS load balancing cannot access more UEs; when the information used to indicate the commonEAS load balancing is in the second state, it means that the commonEAS has no load balancing and can still access more UEs. Of course, the embodiments of the present application do not limit the specific forms of the first state and the second state.
[0247] S303: The second network element (UDR) updates the information of the first device group.
[0248] Optionally, after the second network element (UDR) receives the fourth information, since the fourth information includes the device group identifier, the second network element (UDR) can determine which device group information to update. The second network element (UDR) updates the information of the first device group stored in the aforementioned step S301. The information of the first device group includes the corresponding stored first device group and the second address. Exemplarily, the second network element updates the information of the first device group, including: the second network element (UDR) clears the second address corresponding to the first device group. Here, "clear" can be to delete the second address stored by the second network element (UDR), that is, after clearing the second address corresponding to the first device group, the information of the first device group does not contain the EAS address information, but there is a space reserved for the EAS address, waiting for the SMF network element / PCF network element / third network element (AF) to store the new EAS address information. Then the updated information of the first device group (or the information of the new device group) includes the first device group, such as the device group identifier and / or the first device group member list (i.e., UE list).
[0249] Optionally, after the above step S303, the communication method further includes: the second network element (UDR) notifies other network elements of the updated information of the first device group. The specific notification method can refer to the relevant description in the above embodiment 1, which will not be repeated here. Here, the other network elements include SMF network elements or PCF network elements serving the first device group. The information content of the updated first device group refers to the above description, which will not be repeated here.
[0250] Optionally, after the second network element (UDR) updates the information of the first device group, since the common EAS IP address is not stored in the second network element (UDR), the process for a UE in the first device group that has not accessed the first service through the second address to access the first service includes: executing the EAS discovery process (as described above); Figure 4 ) in steps 10 to 19 to obtain the EASDF network element returning a new EAS IP address (this new EAS IP address is different from the second address). That is to say, after the above step S303, the UE in the first device group that has not accessed the first service through the second address needs to rediscover the new common EAS. Furthermore, the SMF network element can also store the new EAS IP address as a common EAS IP address in the second network element (UDR), that is, execute the synchronization process of the EAS IP address. For specific implementation, please refer to the existing standards, which will not be described in detail here.
[0251] After the UDR network element of the embodiment of the present application receives the commonEAS load balancing indication (i.e., the fourth information) sent by the AF network element, it clears the stored common EAS address; and the UE in the first device group that has not accessed the first service through the second address will rediscover the new common EAS and access the first service through the new common EAS address. In this way, under the condition of the old commonEAS load balancing, it can be ensured that the UE in the device group that has not accessed the old commonEAS can continue to access the target service (i.e., the first service mentioned above), that is, all members of the original device group can access the target service (i.e., the first service mentioned above).
[0252] Embodiment 4
[0253] See also Fig.11 , Fig.11 This is a fourth schematic flow chart of the communication method provided in the embodiment of the present application. Fig.11 As shown, the communication method includes but is not limited to the following steps:
[0254] S401, a second network element (UDR) stores information of a first device group, where the information of the first device group is used to indicate that each terminal device in the first device group accesses a first service through a second address.
[0255] The implementation method of step S401 in the embodiment of the present application can refer to the implementation method of step S101 in the aforementioned embodiment 1, and will not be repeated here.
[0256] S402: The second network element (UDR) stores the identifier of the terminal device in the first device group that has queried the second address.
[0257] The implementation method of step S402 in the embodiment of the present application can refer to the implementation method of step S202 in the aforementioned embodiment 2, and will not be repeated here.
[0258] S403, the third network element (AF) sends fourth information to the second network element (UDR), where the fourth information is used to indicate commonEAS load balancing, the address of the commonEAS is the second address, and the fourth information includes a device group identifier, where the device group identifier is used to identify the first device group.
[0259] Correspondingly, the second network element (UDR) receives the fourth information.
[0260] Optionally, the third network element (AF) may send the fourth information to the second network element (UDR) via the NEF network element. Of course, the third network element (AF) may also send the fourth information directly to the second network element (UDR) without forwarding by the NEF network element. This is not limited to the embodiments of the present application. The fourth information may be used to indicate commonEAS (or upcoming) load balancing, and the address of the commonEAS is the second address. In other words, the commonEAS load balancing that provides the first service to the UE in the above-mentioned first device group cannot connect to more UEs, but the UEs that have connected to the commonEAS do not need to migrate. Exemplarily, the fourth information includes a device group identifier and a second address, and the device group identifier is used to identify the first device group.
[0261] In the embodiment of the present application, "commonEAS load balancing" can be understood as the common EAS not allowing more users to access.
[0262] Optionally, the fourth information also includes one or more of the following: an identifier of the first service, a list of terminal devices that access the first service through the second address, or information used to indicate the commonEAS load balancing. Among them, the identifier of the first service can be an FQDN, an APP ID, or an IP address segment of the first service. The information used to indicate the commonEAS load balancing can be 1 bit. When the bit is 1, it indicates that the commonEAS load balancing cannot access more UEs; when the bit is 0, it indicates that the commonEAS has no load balancing and can access more UEs. Of course, whether this bit is 1 or 0, indicating the commonEAS load balancing, is not limited in the embodiments of the present application. For ease of description, the list of terminal devices that access the first service through the second address can be expressed as an accessed UE list. The accessed UE list includes the identifier of the UE that accesses the first service through the second address.
[0263] S404: The second network element (UDR) updates the information of the first device group.
[0264] Optionally, after the second network element (UDR) receives the fourth information, since the fourth information includes the device group identifier, the second network element (UDR) can determine which device group information to update. The second network element (UDR) updates the information of the first device group stored in the aforementioned step S401. The fourth information may also include a third address. The information of the first device group includes the corresponding stored first device group and the second address. The second network element updates the information of the first device group, including: the second network element (UDR) updates the information of the first device group to: the corresponding stored first list and the second address, and the corresponding stored second list and the third address. Exemplarily, the first list (UE list1) may include the identifier of the terminal device in the first device group that has queried the second address, and the second list (UE list2) may include the identifier of other terminal devices in the first device group except the first list. In short, the first list (UE list1) includes UEs in the first device group that have accessed the first service through the second address, that is, UEs that have accessed the old common EAS; the second list (UE list2) includes UEs in the first device group that have not accessed the first service, that is, UEs that have not accessed the old common EAS.
[0265] In a possible implementation, if the fourth information includes an accessed UE list, the first list can be determined according to the accessed UE list in the fourth information. Exemplarily, if the fourth information includes an accessed UE list, before step S404, the second network element (UDR) can determine the terminal device in the first device group that has queried the second address according to the accessedUE list in the fourth information, that is, determine the first list. For example, the second network element (UDR) uses the accessed UE list as the first list.
[0266] In another possible implementation manner, if the fourth information does not include an accessed UE list, the first list is the identifier set stored in the aforementioned step S402.
[0267] Optionally, if the first list and the second list share a device group identifier, it means that the first list and the second list still belong to one device group. Then the content of the updated information of the first device group stored in the second network element (UDR) can be: device group identifier—first list (UE list1)—second address; device group identifier—second list (UElist2)—third address. In other words, in the second network element (UDR), the device group identifier, UE list1, and the second address have a corresponding relationship, and the device group identifier, UE list2, and the third address also have a corresponding relationship. In other words, after the second network element (UDR) receives the above fourth information, it can divide the first device group into two subgroups (or two UE lists), and store the EAS IP addresses accessed by the UE in each subgroup for these two subgroups. It can be understood that the third address here can be empty, or it can be the target server address for each UE in the second list to access the above first service, that is, the target EAS IP address or the new EAS IP address. It can also be understood that when the third address is empty, it means that there is a vacant space reserved for the EAS address in the updated information of the first device group, and this vacant space corresponds to the second list, waiting for the SMF network element / PCF network element / third network element (AF) to store new EAS address information for the second list.
[0268] Optionally, if the first list and the second list use different device group identifiers respectively, it means that the first list and the second list belong to different device groups. Then the updated device group information (or new device group information) may include: the corresponding stored device group identifier A and the second address, and the corresponding stored device group identifier B and the third address, and the content stored in the second network element (UDR) may be: device group identifier A (or collection1 ID)-second address, and device group identifier B (or collection2 ID)-third address; or first list (UE list1)-second address, and second list (UE list2)-third address; or device group identifier A (or collection1 ID)-first list (UElist1)-second address, and device group identifier B (or collection2 ID)-second list (UE list2)-third address. The embodiment of the present application does not limit the form in which the updated device group information (or new device group information) is stored in the second network element (UDR). Among them, the device group identifier A (or collection1 ID) is used to identify the device group to which the first list belongs. The device group identifier B (or collection2 ID) is used to identify the device group to which the second list belongs. In other words, after the second network element (UDR) receives the fourth information, it can divide the UEs in the first device group into two device groups, and store the EAS IP addresses accessed by the UEs in each device group for the two device groups respectively. It can be understood that the third address here can be empty, or it can be the target server address for each UE in the second list to access the first service, that is, the target EAS IP address or the new EAS IP address. It can also be understood that when the third address is empty, it means that there is a space reserved for the EAS address in the information of the updated device group (that is, the new device group information), and this space corresponds to the second list or the device group to which it belongs, waiting for the SMF network element / PCF network element / third network element (AF) to store new EAS address information for the second list or the device group to which it belongs.
[0269] Optionally, after the above step S404, the communication method further includes: the second network element (UDR) notifies other network elements of the updated device group information. The specific notification method can refer to the relevant description in the above embodiment 1, which will not be repeated here. Here, the other network elements include SMF network elements or PCF network elements serving the first device group. The updated device group information (or new device group information) content can refer to the above description, which will not be repeated here.
[0270] In some possible implementations, the third address is empty. That is, the second network element (UDR) does not store the common EAS IP address corresponding to the second list (UE list2). Then the process for UEs in the second list to access the first service includes: executing the EAS discovery process (as described above) Figure 4 ) in order to obtain the EASDF network element to return a new EAS IP address (this new EAS IP address is different from the second address). That is to say, after the above step S404, the UE in the second list (UE list2) needs to rediscover the new common EAS. Furthermore, the SMF network element can also store the new EAS IP address as the common EAS IP address corresponding to the second list in the second network element (UDR), that is, execute the synchronization process of the EAS IP address. For the specific implementation, please refer to the existing standards and will not be described in detail here. In other words, after the second network element (UDR) receives the new EAS IP address sent by the SMF network element, it can fill the new EAS IP address into the space reserved by the second network element (UDR) for the EAS address, or the second network element (UDR) assigns the new EAS IP address to the third address.
[0271] It can be understood that when the third address is empty, the EAS discovery process (as described above) needs to be executed for the first UE in the second list that accesses the first service. Figure 4 ) steps 10 to 19. For the UEs in the subsequent second list, the EASDF network element does not need to query the DNS server for the EAS IP address, but directly returns the common EAS IP address stored in the UDR network element. This is because after discovering the new common EAS, the SMF network element has synchronized the new EAS IP address to the second network element (UDR).
[0272] In some other possible implementations, the third address is a target EAS IP address or a new EAS IP address. When the first list and the second list share a device group identifier, if a first terminal device (such as UE1) in the first device group wants to access the first service, after the second network element updates the information of the first device group (i.e., step S404), the communication method further includes the following steps:
[0273] S405, the SMF network element sends a second query request to the second network element (UDR), the second query request is used to synchronize the address of the first terminal device accessing the first service, the second query request includes the identifier of the first terminal device and the identifier of the first service, and the identifier of the first terminal device belongs to the second list. Correspondingly, the second network element (UDR) receives the second query request.
[0274] S406, the second network element (UDR) sends a second query result to the SMF network element, where the second query result includes the third address. Correspondingly, the SMF network element receives the second query request.
[0275] It can be understood that, since the first terminal device (UE1) belongs to the second list, and the second list in the second network element (UDR) corresponds to the third address, the second query result carries the third address. Exemplarily, the second query request may also include a device group identifier for identifying the first device group. The identifier of the first service may be an FQDN, an APP ID, or an IP address segment of the first service.
[0276] When the first list and the second list use different device group identifiers respectively, after the second network element updates the information of the first device group (i.e., step S404), the communication method further includes the following steps:
[0277] S407, the second network element (UDR) sends notification information to the third network element (AF), the notification information including the device group identifier of the first device group, the first list and the device group identifier corresponding to the first list, and the second list and the device group identifier corresponding to the second list.
[0278] Exemplarily, the notification information may further include a second address corresponding to the first list, and a third address corresponding to the second list.
[0279] It can be understood that in order to learn about the changes in the information of the device group stored in the second network element (UDR) in a more timely manner, the third network element (AF) can send subscription information to the second network element (UDR) (through the NEF network element) after the first device group is established and before the aforementioned step S404. The subscription information can be used to subscribe to the information change event of the first device group. Exemplarily, the subscription information may include a device group identifier (such as a correlation ID) for identifying the first device group. Further optionally, the notification information in the aforementioned step S406 may be notification information for the subscription information.
[0280] Optionally, when the first list and the second list use different device group identifiers respectively, if the first terminal device (such as UE1) in the second list wants to access the above-mentioned first service, the SMF network element can query the stored common EAS IP address from the second network element (UDR). Exemplarily, the SMF network element sends a query request to the second network element (UDR), and the query request may include the device group identifier B (such as collection2 ID), and optionally also includes the identifier of the first service (such as FQDN, APPID, or the IP address segment of the first service). The query request is used to synchronize the address of each terminal device in the second list to access the above-mentioned first service. The second network element (UDR) returns the query result to the SMF network element, and the query result includes the target (or new) commonEAS IP address (third address). In short, after the second network element (UDR) updates the information of the above-mentioned first device group, the UE in the second list will access the new common EAS when accessing the above-mentioned first service.
[0281] The embodiment of the present application regroups the original device group members (into two sub-groups or two device groups) by modifying the device group information. Under the condition of load balancing of the old commonEAS, it can ensure that UEs in the device group that are not connected to the old commonEAS can continue to access the target service (i.e., the above-mentioned first service), that is, all members of the original device group can access the target service (i.e., the above-mentioned first service).
[0282] It can be understood that the embodiment of the present application takes the first list and the second list as an example to illustrate the scenario where there are two addresses after the device group is updated. Of course, there may be more than two addresses or two lists after the device group is updated, and optionally more than two device group identifiers, and the embodiment of the present application is still applicable.
[0283] Embodiment 5
[0284] See also Fig.12 , Fig.12 is a fifth schematic flow chart of the communication method provided in the embodiment of the present application. Fig.12 As shown, the communication method includes but is not limited to the following steps:
[0285] S501, a UDR network element stores information of a first device group, where the information of the first device group is used to indicate that each terminal device in the first device group accesses a first service through a second address.
[0286] The implementation method of step S501 in the embodiment of the present application can refer to the implementation method of step S101 in the aforementioned embodiment 1, and will not be repeated here.
[0287] S502: The AF network element sends a device group update indication to the UDR network element. The device group update indication is used to instruct the UDR network element to update information of the first device group.
[0288] Correspondingly, the UDR network element receives the device group update indication.
[0289] Optionally, the above-mentioned device group update indication includes a device group identifier, which is used to identify the above-mentioned first device group. The device group update indication may also include one or more of the following: an identifier of the above-mentioned first service, a first address, or an update indication bit. Among them, the first address may be the target server address for the UE in the first device group to access the above-mentioned first service, that is, the target EAS IP address or the new EAS IP address. The identifier of the first service may be an FQDN, an APP ID, or an IP address segment of the first service. When the update indication bit is a first value, it is used to indicate that the UDR network element updates the information of the device group. When the update indication bit is a second value, it is used to indicate that the UDR network element does not update the information of the device group. In the embodiment of the present application, the update indication bit is set to the first value. The first value may be 1 or 0; accordingly, the second value may be 0 or 1; the embodiment of the present application is not limited.
[0290] Optionally, the AF network element may send the device group update indication to the UDR network element through the NEF network element. Of course, the AF network element may also directly send the device group update indication to the UDR network element without forwarding by the NEF network element. This embodiment of the present application is not limited.
[0291] S503, the AF network element sends first information to the first network element (PCF / SMF), where the first information is used to instruct the session of the first terminal device to perform edge migration.
[0292] Correspondingly, the first network element (PCF / SMF) receives the first information. The first information is used to instruct the session of the first terminal device to perform edge migration.
[0293] The implementation method of step S503 in the embodiment of the present application can refer to the implementation method of step S102 in the aforementioned embodiment 1, and will not be repeated here.
[0294] Optionally, the execution order of step S503 and step S502 in the embodiment of the present application is not limited. For example, step S502 is executed before step S503, or step S502 is executed after step S503, or step S502 and step S503 are executed simultaneously.
[0295] S504: The UDR network element updates the information of the first device group.
[0296] Optionally, after receiving the device group update indication, the UDR network element may update the information of the first device group stored in the aforementioned step S501. The information of the first device group includes the corresponding stored first device group and the second address. There are multiple ways for the UDR network element to update the information of the first device group.
[0297] In a possible implementation, if the above-mentioned device group update indication does not include the above-mentioned first address, the UDR network element updates the information of the first device group, including: the UDR network element clears the second address corresponding to the first device group. For specific implementation, please refer to the implementation of step S303 in the aforementioned embodiment 3, which will not be repeated here. Optionally, after the UDR network element clears the second address corresponding to the first device group, it can wait for the SMF network element / PCF network element / AF network element to store new EAS address information. For specific implementation, please refer to the relevant description of step S303 in the aforementioned embodiment 3, which will not be repeated here.
[0298] In another possible implementation, if the above-mentioned device group update indication includes the above-mentioned first address, the second network element updates the information of the first device group, including: the second network element (UDR) can replace the second address stored by it with the above-mentioned first address. The specific implementation can refer to the implementation method of step S104 in the aforementioned embodiment 1, which is not repeated here. Optionally, when a UE in the first device group that has not accessed the first service through the second address accesses the first service, the SMF network element queries the UDR network element for the stored common EAS IP address. At this time, the UDR network element returns the first address to the SMF network element.
[0299] Optionally, after the above step S504, the communication method further includes: the second network element (UDR) may notify other network elements of the updated information of the first device group. Here, the other network elements may include SMF network elements or PCF network elements serving the first device group. The information content of the updated first device group is described in the previous text and will not be repeated here.
[0300] The embodiment of the present application allows the UDR network element to update the information of the device group stored in itself through the device group update indication. When the AF network element perceives common EAS load balancing or edge migration, the UDR network element can be triggered to update the information of the device group stored in itself, thereby ensuring that the UE in the device group can continue to access the target service.
[0301] Embodiment 6
[0302] See also Fig.13 , Fig.13 6 is a schematic flow chart of the communication method provided in the embodiment of the present application. Fig.13 As shown, the communication method includes but is not limited to the following steps:
[0303] S601, a UDR network element stores information of a first device group, where the information of the first device group is used to indicate that each terminal device in the first device group accesses a first service through a second address.
[0304] The implementation method of step S601 in the embodiment of the present application can refer to the implementation method of step S101 in the aforementioned embodiment 1, and will not be repeated here.
[0305] S602: The UDR network element stores the identifier of the terminal device in the first device group that has queried the second address.
[0306] The implementation method of step S602 in the embodiment of the present application can refer to the implementation method of step S202 in the aforementioned embodiment 2, and will not be repeated here.
[0307] S603: The AF network element sends a device group update indication to the UDR network element, where the device group update indication is used to instruct the UDR network element to update information of the first device group.
[0308] Correspondingly, the UDR network element receives the device group update indication.
[0309] Optionally, the device group update indication includes a device group identifier, which is used to identify the first device group. The device group update indication may also include one or more of the following: an identifier of the first service, a third address, a first list (UE list1), a second list (UE list2), or an update indication bit. Among them, the third address may be empty, or it may be the target server address of the UE in the second list for accessing the first service, that is, the target EAS IP address or the new EAS IP address. The first list and the second list may respectively include the identifiers of one or more terminal devices, and the union of the first list and the second list is the first device group, and the first list and the second list have no intersection. Here, the first list and the second list may be divided by the AF network element according to actual conditions. For example, the first list includes UEs in the first device group that have accessed the first service through the second address, and the second list includes UEs in the first device group that have not accessed the first service. Alternatively, the first list includes UEs in the first device group that have accessed the first service through the second address and have not been required to migrate, and the second list includes UEs in the first device group that have not accessed the first service and UEs that have accessed the first service through the second address and have been required to migrate. The embodiment of the present application does not limit the way in which the AF network element divides the first list and the second list.
[0310] It can be understood that the update indication bit and the identifier of the first service can be found in the above description, which will not be described in detail here.
[0311] Optionally, the AF network element may send the device group update indication to the UDR network element through the NEF network element. Of course, the AF network element may also directly send the device group update indication to the UDR network element without forwarding by the NEF network element. This embodiment of the present application is not limited.
[0312] S604, the AF network element sends first information to the first network element (PCF / SMF), where the first information is used to instruct the session of the first terminal device to perform edge migration. Correspondingly, the first network element (PCF / SMF) receives the first information.
[0313] Among them, the first terminal device belongs to the aforementioned second list. Since the AF network element can sense which UEs in the first device group have queried the second address, the AF network element can instruct the UEs in the first device group that have not accessed the first service through the second address to perform edge migration through the first information. In other words, the AF network element indicates that the UE performing edge migration belongs to the second list.
[0314] The implementation method of step S604 in the embodiment of the present application can refer to the implementation method of step S102 in the aforementioned embodiment 1, and will not be repeated here.
[0315] Optionally, the execution order of step S604 and step S603 in the embodiment of the present application is not limited. For example, step S604 is executed before step S603, or step S604 is executed after step S603, or step S604 and step S603 are executed simultaneously.
[0316] S605: The UDR network element updates the information of the first device group.
[0317] Optionally, after receiving the above-mentioned device group update indication, the UDR network element may update the information of the first device group stored in the above-mentioned step S601. Exemplarily, the information of the first device group includes the corresponding stored first device group and the second address; the UDR network element updates the information of the first device group, including: the UDR network element updates the information of the first device group to: the corresponding stored first list and the second address, and the corresponding stored second list and the third address. It can be understood that if the above-mentioned device group update indication includes the first list, the first list stored in the UDR network element is carried by the above-mentioned device group update indication, and the second list may include the identifiers of the terminal devices in the first device group except the first list. If the above-mentioned device group update indication includes the second list, the second list stored in the UDR network element is carried by the above-mentioned device group update indication, and the first list may include the identifiers of the terminal devices in the first device group except the second list.
[0318] If the above-mentioned device group update indication does not include any item in the first list and the second list, the first list (UE list1) in the UDR network element may include the identifiers of the terminal devices in the first device group that have queried the second address, that is, the identifier set stored in the aforementioned step S602; the second list (UE list2) may include the identifiers of other terminal devices in the first device group except the first list. In short, the first list (UE list1) in the UDR network element includes the UEs in the first device group that have accessed the first service through the second address, that is, the UEs that have accessed the old common EAS; the second list (UE list2) includes the UEs in the first device group that have not accessed the first service, that is, the UEs that have not accessed the old common EAS.
[0319] Optionally, the first list and the second list may share a device group identifier, that is, the first list and the second list still belong to the same device group. The first list and the second list may also use different device group identifiers, that is, the first list and the second list belong to different device groups. This embodiment of the application is not limited.
[0320] Optionally, after the above step S605, the specific process and implementation of the communication method can refer to the relevant description in the above embodiment 4, which will not be repeated here.
[0321] It can be understood that when the third address is empty, after the UDR network element updates the information of the first device group, it can wait for the SMF network element / PCF network element / AF network element to store new EAS address information for the second list. For specific implementation, refer to the relevant description of step S404 in the fourth embodiment above, which will not be repeated here.
[0322] In the embodiment of the present application, the UDR network element updates the information of the device group stored in itself through the device group update indication. When the AF network element perceives the common EAS load balancing or edge migration, the UDR network element is triggered to regroup the original device group members (into two sub-groups or two device groups). This ensures that the UE in the device group that is not connected to the old commonEAS can continue to access the target service (i.e., the above-mentioned first service), that is, all the original device group members can access the target service (i.e., the above-mentioned first service).
[0323] It can be understood that the embodiment of the present application takes the first list and the second list as an example to illustrate the scenario where there are two addresses after the device group is updated. Of course, there may be more than two addresses or two lists after the device group is updated, and optionally more than two device group identifiers, and the embodiment of the present application is still applicable to these scenarios.
[0324] It should be understood that the contents of the above embodiments of the present application can be referenced to each other, such as explanations of terms, specific information, etc. In addition, the methods and steps in the above embodiments can be combined with each other.
[0325] The above content elaborates on the method of the present application in detail. In order to facilitate better implementation of the above scheme of the embodiment of the present application, the embodiment of the present application also provides corresponding devices or equipment.
[0326] The embodiment of the present application can divide the functional modules of each network element of the present application according to the above method example, and also divide the functional modules of the above network elements according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic, which is only a logical functional division. There may be other division methods in actual implementation. The following will be combined with Figures 14 to 16 The communication device according to the embodiment of the present application is described in detail.
[0327] See also Fig.14 , Fig.14 is a schematic diagram of a structure of a communication device provided in an embodiment of the present application. Fig.14 As shown, the communication device includes: a transceiver unit 10 and a processing unit 20. The communication device can be the first network element shown above or a chip or circuit that can be set in the first network element. That is, the communication device can be used to execute the steps or functions performed by the first network element in the above method embodiment.
[0328] The transceiver unit 10 is used to receive first information, where the first information is used to indicate that a session of a first terminal device is to be migrated to the edge; the transceiver unit 10 is also used to send second information to a second network element, where the second information is used to indicate that the second network element updates information of a first device group to which the first terminal device belongs.
[0329] Exemplarily, the processing unit 20 is configured to generate second information.
[0330] Exemplarily, the processing unit 20 is further configured to configure a session of the first terminal device to access the first service through the first address.
[0331] Exemplarily, the transceiver unit 10 is further configured to receive third information, where the third information includes updated information of the first device group, where the updated information of the first device group includes the first address.
[0332] Exemplarily, the transceiver unit 10 is also used to send the first information to the SMF network element.
[0333] In the embodiments of the present application, the description of the first information, the second information, the first terminal device, the third information, etc. can refer to the above method embodiments 1 and 2 (including Figure 8 and Fig. 9 ) are introduced in detail here.
[0334] It can be understood that the specific description of the transceiver unit and the processing unit shown in the embodiment of the present application is only an example. For the specific functions or execution steps of the transceiver unit and the processing unit, please refer to the above-mentioned method embodiments one and two, which will not be described in detail here.
[0335] See also Fig.15 , Fig.15 is another structural diagram of the communication device provided in the embodiment of the present application. Fig.15 As shown, the communication device includes: a transceiver unit 10, an update unit 20, and a storage unit 30. The communication device can be the second network element shown above or a chip or circuit that can be set in the second network element. That is, the communication device can be used to execute the steps or functions performed by the second network element in the above method embodiment.
[0336] In one design, the storage unit 30 is used to store information of the first device group, where the information of the first device group is used to indicate that each terminal device in the first device group accesses the first service through a second address; the transceiver unit 10 is used to receive second information from the first network element, where the second information is used to instruct the second network element to update the information of the first device group; and the update unit 20 is used to update the information of the first device group.
[0337] Exemplarily, the transceiver unit 10 is further configured to send third information to the first network element, where the third information includes updated information of the first device group, and the updated information of the first device group includes the first address.
[0338] Exemplarily, the information of the first device group includes the corresponding stored first device group and the second address. The storage unit 30 is specifically configured to replace the second address stored therein with the first address.
[0339] Exemplarily, the information of the first device group includes the corresponding stored first device group and the second address. The storage unit 30 is specifically used to update the information of the first device group to: the corresponding stored first list and the second address, and the corresponding stored second list and the first address; the first list includes the identifier of the terminal device in the first device group that has queried the second address, and the second list includes the identifier of other terminal devices in the first device group except the first list.
[0340] Exemplarily, the transceiver unit 10 is also used to receive a first query request for the SMF network element, the first query request including a device group identifier and an identifier of a second terminal device, the first query request being used to synchronize the address of the second terminal device for accessing the first service; the storage unit 30 is also used to store the identifier of the second terminal device, the identifier of the second terminal device belonging to the first device group.
[0341] Exemplarily, the transceiver unit 10 is also used to receive a second query request sent by the SMF network element, the second query request is used to synchronize the address of the first terminal device accessing the first service, the second query request includes the identifier of the first terminal device and the identifier of the first service, and the identifier of the first terminal device belongs to the second list; the transceiver unit 10 is also used to send a second query result to the SMF network element, the second query result includes the first address.
[0342] Exemplarily, the transceiver unit 10 is further used to send notification information to the AF network element, the notification information including the device group identifier of the first device group, the first list and the device group identifier corresponding to the first list, and the second list and the device group identifier corresponding to the second list.
[0343] In the embodiment of the present application, the description of the second information, the first terminal device, the information of the first device group, the third information, the first query request, the second query request, the second query result, the notification information, etc. can refer to the above method embodiments 1 and 2 (including Figure 8 and Fig. 9 ) are introduced in detail here.
[0344] It can be understood that the specific description of the transceiver unit and the processing unit shown in the embodiment of the present application is only an example. For the specific functions or execution steps of the transceiver unit and the processing unit, please refer to the above-mentioned method embodiments one and two, which will not be described in detail here.
[0345] In another design, the storage unit 30 is used to store information of the first device group, and the information of the first device group is used to indicate that each terminal device in the first device group accesses the first service through the second address; the transceiver unit 10 is used to receive fourth information sent by the third network element, and the fourth information is used to indicate public EAS load balancing, and the address of the public EAS is the second address. The fourth information includes a device group identifier, and the device group identifier is used to identify the first device group; the update unit 20 is used to update the information of the first device group.
[0346] Exemplarily, the information of the first device group includes the corresponding stored first device group and the second address. The storage unit 30 is specifically used to: clear the second address corresponding to the first device group.
[0347] Exemplarily, the information of the first device group includes the corresponding stored first device group and the second address. The storage unit 30 is specifically used to update the information of the first device group to: the corresponding stored first list and the second address, and the corresponding stored second list and the third address, the first list includes the identifier of the terminal device in the first device group that has queried the second address, and the second list includes the identifier of other terminal devices in the first device group except the first list.
[0348] Exemplarily, the transceiver unit 10 is also used to receive a first query request of the SMF network element, the first query request includes a device group identifier and an identifier of the second terminal device, and the first query request is used to synchronize the address of the second terminal device to access the first service; the storage unit 30 is also used to store the identifier of the second terminal device, and the identifier of the second terminal device belongs to the first device group.
[0349] Exemplarily, the fourth information also includes a list of terminal devices accessing the first service through the second address. The updating unit 20 is further configured to determine the terminal devices in the first device group that have queried the second address based on the list of terminal devices accessing the first service through the second address in the fourth information.
[0350] Exemplarily, the transceiver unit 10 is also used to receive a second query request sent by the SMF network element, the second query request is used to synchronize the address of the first terminal device accessing the first service, the second query request includes the identifier of the first terminal device and the identifier of the first service, and the identifier of the first terminal device belongs to the second list; the transceiver unit 10 is also used to send a second query result to the SMF network element, the second query result includes the first address.
[0351] Exemplarily, the transceiver unit 10 is further used to send notification information to the AF network element, the notification information including the device group identifier of the first device group, the first list and the device group identifier corresponding to the first list, and the second list and the device group identifier corresponding to the second list.
[0352] In the embodiment of the present application, the description of the fourth information, the first terminal device, the information of the first device group, the first query request, the second query request, the second query result, the notification information, etc. can refer to the above method embodiments three and four (including Fig.10 and Fig.11 ) are introduced in detail here.
[0353] It can be understood that the specific description of the transceiver unit and the processing unit shown in the embodiments of the present application is only an example. For the specific functions or execution steps of the transceiver unit and the processing unit, please refer to the above-mentioned method embodiments three and four, which will not be described in detail here.
[0354] The above describes the communication device of the embodiment of the present application, and the following describes possible product forms of the communication device. It should be understood that any device having the above Fig.14 or Fig.15 Any form of product with the functions of the communication device described above falls within the protection scope of the embodiments of the present application. It should also be understood that the following description is only an example and does not limit the product form of the communication device of the embodiments of the present application to this.
[0355] See also Fig.16 , Fig.16 is another structural diagram of a communication device provided in an embodiment of the present application. Fig.16 As shown, the communication device provided in the embodiment of the present application can be used to implement the method described in the above method embodiment, and reference can be made to the description in the above method embodiment. The communication device can be any of the aforementioned first network element, second network element, and third network element. Exemplarily, the communication device includes one or more processors 1001 and a transceiver 1002. The communication device may further include a memory 1003. In one implementation, the communication device also includes an input and output device (not shown in the figure).
[0356] Processor 1001 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process communication protocols and communication data, and the central processing unit may be used to control devices (such as the first network element, the second network element, the third network element, etc.), execute software programs, and process data of software programs. The device may include a transceiver to implement input (reception) and output (transmission) of signals. For example, the device may be a chip, and the transceiver may be an input and / or output circuit of the chip, or a communication interface. The chip may be used for the first network element, the second network element, and the third network element. For another example, the device may be the first network element, the second network element, and the third network element, and the transceiver may be a radio frequency chip, etc.
[0357] The processor 1001 is mainly used to process the communication protocol and communication data, and to control the entire communication device, execute the software program, and process the data of the software program. The memory 1003 is mainly used to store the software program and data. The transceiver 1002 may include a control circuit and an antenna. The control circuit is mainly used to convert the baseband signal and the radio frequency signal and process the radio frequency signal. The antenna is mainly used to send and receive radio frequency signals in the form of electromagnetic waves. The input and output devices, such as a touch screen, a display screen, a keyboard, etc., are mainly used to receive data input by the user and output data to the user.
[0358] When the communication device is turned on, the processor 1001 can read the software program in the memory 1003, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor 1001 performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal and then sends the radio frequency signal outward in the form of electromagnetic waves through the antenna. When data is sent to the communication device, the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor 1001. The processor 1001 converts the baseband signal into data and processes the data.
[0359] In another implementation, the RF circuit and antenna may be arranged independently of the processor performing baseband processing. For example, in a distributed scenario, the RF circuit and antenna may be arranged remotely from the communication device.
[0360] The transceiver 1002 may include a receiver and a transmitter, wherein the receiver is used to perform a receiving function (or operation) and the transmitter is used to perform a transmitting function (or operation), and the transceiver is used to communicate with other devices / apparatuses through a transmission medium.
[0361] The processor 1001 , the transceiver 1002 , and the memory 1003 may be connected via a communication bus.
[0362] In one implementation, the processor 1001 may store instructions, which may be computer programs. The computer programs run on the processor 1001, and may enable the communication device to perform the method described in the above method embodiment. The computer program may be fixed in the processor 1001, in which case the processor 1001 may be implemented by hardware.
[0363] In one implementation, the communication device may include a circuit that can implement the functions of sending or receiving or communicating in the aforementioned method embodiment. The processor and transceiver described in the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit (RFIC), a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal-oxide-semiconductor, NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (bipolar junction transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
[0364] It is understandable that the communication device shown in the embodiment of the present application may also have Fig.16 The embodiments of the present application do not limit the number of components and the like. The methods executed by the processor and transceiver shown above are only examples, and the specific steps executed by the processor and transceiver can refer to the introduction of the above method embodiments.
[0365] See also Fig.17 , Fig.17 is yet another structural diagram of a communication device provided in an embodiment of the present application. Fig.17 As shown, Fig.17 The communication device shown includes a logic circuit 901 and an interface 902. That is, the above-mentioned processing unit 20 (or update unit 20 and storage unit 30) can be implemented by the logic circuit 901, and the transceiver unit 10 can be implemented by the interface 902. Among them, the logic circuit 901 can be a chip, a processing circuit, an integrated circuit or a system on chip (SoC) chip, etc., and the interface 902 can be a communication interface, an input and output interface, a pin, etc. Exemplarily, Fig.17 The above communication device is taken as an example of a chip, and the chip includes a logic circuit 901 and an interface 902 .
[0366] In the embodiment of the present application, the logic circuit and the interface may also be coupled to each other. The embodiment of the present application does not limit the specific connection method between the logic circuit and the interface.
[0367] Optional, Fig.17 The communication device shown can be used to implement the method described in the above method embodiment, and reference can be made to the description in the above method embodiment. The communication device can be any one of the above-mentioned first network element, second network element, and third network element.
[0368] It can be understood that the communication device shown in the embodiment of the present application can implement the method provided in the embodiment of the present application in the form of hardware, or can implement the method provided in the embodiment of the present application in the form of software, etc., and the embodiment of the present application is not limited to this.
[0369] for Fig.17 The specific implementation methods of the various embodiments shown can also refer to the above embodiments, which will not be described in detail here.
[0370] An embodiment of the present application also provides a communication system, which includes a first network element and a second network element; or the communication system includes a second network element and a third network element; the first network element, the second network element and the third network element can be used to execute the method of any of the aforementioned method embodiments.
[0371] In addition, the present application also provides a computer program, which is used to implement the operations and / or processing performed by the first network element in the method provided by the present application.
[0372] The present application also provides a computer program, which is used to implement the operations and / or processing performed by the second network element in the method provided by the present application.
[0373] The present application also provides a computer program, which is used to implement the operations and / or processing performed by the third network element in the method provided by the present application.
[0374] The present application also provides a computer-readable storage medium, in which computer codes are stored. When the computer codes are executed on a computer, the computer executes the method steps of any network element described in the foregoing embodiments.
[0375] The present application also provides a computer program product, which includes a computer code or a computer program. When the computer code or the computer program runs on a computer, the operations and / or processes performed by any network element described in the foregoing embodiments are executed.
[0376] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.
[0377] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the technical effects of the solutions provided in the embodiments of the present application.
[0378] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0379] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or partly contributed to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
Claims
1. A communication method, It is characterized in that include: The first network element receives first information, where the first information is used to instruct the session of the first terminal device to perform edge migration; The first network element sends second information to the second network element, where the second information is used to instruct the second network element to update information of a first device group, to which the first terminal device belongs.
2. The method according to claim 1, It is characterized in that The session of the first terminal device accesses the first service of the first device group.
3. The method according to claim 1 or 2, It is characterized in that The first information includes a first address, where the first address is a target server address for a session of the first terminal device to access a first service.
4. The method according to claim 3, It is characterized in that After the first network element receives the first information, the method further includes: The first network element configures a session of the first terminal device to access the first service through the first address.
5. The method according to any one of claims 1 to 4, It is characterized in that The second information includes a first address and a device group identifier, the first address is a target server address for a session of the first terminal device to access a first service, and the device group identifier is used to identify the first device group.
6. The method according to claim 1 or 2, It is characterized in that The information of the first device group includes a second address, where the second address is a source server address for a session of the first terminal device to access a first service.
7. The method according to claim 5, It is characterized in that After the first network element sends the second information to the second network element, the method further includes: The first network element receives third information, where the third information includes updated information of the first device group, and the updated information of the first device group includes the first address.
8. The method according to any one of claims 1 to 7, It is characterized in that The first network element is a policy control function PCF network element; after the first network element receives the first information, the method further includes: The first network element sends the first information to a session management function SMF network element.
9. A communication method, It is characterized in that include: The second network element stores information of the first device group, where the information of the first device group is used to indicate that each terminal device in the first device group accesses the first service through the second address; The second network element receives second information from the first network element, where the second information is used to instruct the second network element to update information of the first device group; The second network element updates the information of the first device group.
10. The method according to claim 9, It is characterized in that The second information includes a first address and a device group identifier, the first address is a target server address for a session of a first terminal device to access the first service, the device group identifier is used to identify the first device group, and the first terminal device belongs to the first device group.
11. The method according to claim 10, It is characterized in that After the second network element updates the information of the first device group, the method further includes: The second network element sends third information to the first network element, where the third information includes updated information of the first device group, and the updated information of the first device group includes the first address.
12. The method according to claim 10 or 11, It is characterized in that The information of the first device group includes the first device group and the second address stored correspondingly; The second network element updates the information of the first device group, including: The second network element replaces the second address stored therein with the first address.
13. The method according to claim 10 or 11, It is characterized in that The information of the first device group includes the first device group and the second address stored correspondingly; The second network element updates the information of the first device group, including: The second network element updates the information of the first device group to: the corresponding stored first list and the second address, and the corresponding stored second list and the first address; the first list includes the identifiers of terminal devices in the first device group that have queried the second address, and the second list includes the identifiers of other terminal devices in the first device group except the first list.
14. The method according to claim 13, It is characterized in that Before the second network element updates the information of the first device group, the method further includes: The second network element receives a first query request from a session management function SMF network element, where the first query request includes a device group identifier and an identifier of a second terminal device, and the first query request is used to synchronize an address of the second terminal device accessing the first service; The second network element stores an identifier of the second terminal device, and the identifier of the second terminal device belongs to the first device group.
15. The method according to claim 13 or 14, It is characterized in that The first list and the second list share a device group identifier.
16. The method according to claim 15, It is characterized in that After the second network element updates the information of the first device group, the method further includes: The second network element receives a second query request sent by a session management function SMF network element, where the second query request is used to synchronize the address of the first terminal device accessing the first service, where the second query request includes an identifier of the first terminal device and an identifier of the first service, and the identifier of the first terminal device belongs to the second list; The second network element sends a second query result to the SMF network element, where the second query result includes the first address.
17. The method according to claim 13 or 14, It is characterized in that The first list and the second list are respectively identified by different device groups.
18. The method according to claim 17, It is characterized in that After the second network element updates the information of the first device group, the method further includes: The second network element sends notification information to the application function AF network element, the notification information including the device group identifier of the first device group, the first list and the device group identifier corresponding to the first list, and the second list and the device group identifier corresponding to the second list.
19. A communication method, It is characterized in that include: The second network element stores information of the first device group, where the information of the first device group is used to indicate that each terminal device in the first device group accesses the first service through the second address; The second network element receives fourth information sent by the third network element, where the fourth information is used to indicate public edge application server EAS load balancing, the address of the public EAS is the second address, and the fourth information includes a device group identifier, where the device group identifier is used to identify the first device group; The second network element updates the information of the first device group.
20. The method according to claim 19, It is characterized in that The fourth information also includes one or more of the following: the second address, the identifier of the first service, a list of terminal devices accessing the first service through the second address, or information indicating the public EAS load balancing.
21. The method according to claim 19 or 20, It is characterized in that The information of the first device group includes the first device group and the second address stored correspondingly; The second network element updates the information of the first device group, including: The second network element clears the second address corresponding to the first device group.
22. The method according to claim 19 or 20, It is characterized in that The fourth information further includes a third address, and the information of the first device group includes the first device group and the second address stored correspondingly; The second network element updates the information of the first device group, including: The second network element updates the information of the first device group to: the corresponding stored first list and the second address, and the corresponding stored second list and the third address, the first list includes the identifiers of terminal devices in the first device group that have queried the second address, and the second list includes the identifiers of other terminal devices in the first device group except the first list.
23. The method according to claim 22, It is characterized in that Before the second network element updates the information of the first device group, the method further includes: The second network element receives a first query request from the SMF network element, where the first query request includes a device group identifier and an identifier of a second terminal device, and the first query request is used to synchronize an address of the second terminal device accessing the first service; The second network element stores an identifier of the second terminal device, and the identifier of the second terminal device belongs to the first device group.
24. The method according to claim 22, It is characterized in that The fourth information includes a list of terminal devices that access the first service through the second address; Before the second network element updates the information of the first device group, the method further includes: The second network element determines the terminal device in the first device group that has queried the second address according to the list of terminal devices that access the first service through the second address in the fourth information.
25. The method according to any one of claims 22 to 24, It is characterized in that The first list and the second list share a device group identifier.
26. The method according to claim 25, It is characterized in that After the second network element updates the information of the first device group, the method further includes: The second network element receives a second query request sent by a session management function SMF network element, where the second query request is used to synchronize an address for a first terminal device to access the first service, where the second query request includes an identifier of the first terminal device and an identifier of the first service, and where the identifier of the first terminal device belongs to the second list; The second network element sends a second query result to the SMF network element, and the second query result includes the third address.
27. The method according to any one of claims 22 to 24, It is characterized in that The first list and the second list are respectively identified by different device groups.
28. The method according to claim 27, It is characterized in that After the second network element updates the information of the first device group, the method further includes: The second network element sends notification information to a third network element, the notification information including a device group identifier of the first device group, the first list and a device group identifier corresponding to the first list, and the second list and a device group identifier corresponding to the second list.
29. A communication device, It is characterized in that The method comprises a unit or a module for executing the method according to any one of claims 1 to 28.
30. A readable storage medium, It is characterized in that The readable storage medium stores program instructions, and when the program instructions are executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 28.
