Method and communication device for synchronizing application context

By using an Edge Enabled Server (EES) to locate and transmit application context information in the edge data network, the signaling overhead caused by information exchange between different edge application servers is resolved, and synchronization efficiency is improved.

CN118869712APending Publication Date: 2024-10-29HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310490206.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In edge data networks, when servers for the same application are deployed across multiple edge data networks, the interaction of information between different edge application servers for application context synchronization can lead to unnecessary signaling overhead and inefficiency.

Method used

By using an Edge Enabler Server (EES) to find and transmit application context information, the network-wide broadcast between Edge Application Servers (EAS) is reduced, and communication is only required with the associated EES, thereby reducing signaling overhead and improving synchronization efficiency.

Benefits of technology

It effectively reduces the signaling overhead of edge application servers and improves the efficiency of application context synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869712A_ABST
    Figure CN118869712A_ABST
Patent Text Reader

Abstract

The invention provides a method for synchronizing application context and a communication device. When the application contexts corresponding to a group of terminals are in the same EES, the EES can determine the application contexts needing to be synchronized according to the context storage address corresponding to a certain application / certain group, so that the signaling overhead of the EAS can be reduced; when the application contexts corresponding to a group of terminals are in different EESs, the EES searches for the application context storage address corresponding to a certain application / certain group from other EESs in the same EDN, at the moment, a centralized entity does not need to be introduced to maintain all the application contexts, and the method is suitable for the situation that the EESs in a certain EDN are few. When the application contexts corresponding to a certain group are in different EESs, the ECS can determine the application contexts needing to be synchronized, at the moment, the ECS or the centralized entity maintains the application contexts, and the signaling overhead of mutual searching between the EESs can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and more specifically, to a method and a communication device for synchronizing application contexts. Background Art

[0002] With the large-scale deployment of various cloud computing resources in the network, servers of the same application are often deployed in multiple edge data networks at the same time. Servers of the same application (edge ​​application server, EAS) deployed in different edge data networks can provide the same services to terminal devices. The edge data network includes multiple EASs. After the terminal device accesses the edge data network, it can select one of the multiple EASs to execute the service. In some scenarios, multiple terminals use the same application, and the application data of each terminal needs to be transmitted to other terminals to synchronize the data between multiple terminals. This data synchronization process can be called application context synchronization.

[0003] Multiple terminals may access different edge application servers (EASs), and different EASs exchange information to synchronize application contexts. Since a large number of EASs are deployed in the edge data network, the exchange of information between different EASs will consume unnecessary signaling overhead. Summary of the invention

[0004] The present application provides a method and a communication device for synchronizing application contexts, which can reduce the signaling overhead of EAS.

[0005] In a first aspect, a method for synchronizing application context is provided, which can be executed by a first edge enabler server (edge ​​enabler server(s) EES), or by a component of the first EES (such as a processor, chip, or chip system, etc.), or by a logic module or software that can implement all or part of the first EES function.

[0006] The method includes: receiving a first request from a first edge application server EAS, the first request being used to request an application context of a first application and / or related information of the application context of the first application from a first EES, the first EAS being one of at least one EAS associated with the first EES; sending a first response to the first EAS according to the first request, the first response including the application context of the first application and / or related information of the application context of the first application.

[0007] Based on the above technical solution, when EAS has a need to synchronize application context, the EES associated with EAS is responsible for searching the application context and sending the application context and / or related information of the application context to EAS. EAS communicates with its associated EES without broadcasting the entire network, which can reduce the implementation logic of EAS and the signaling overhead of EAS. Moreover, since the number of EES in the communication network is less than that of EAS, having EES responsible for searching the application context can also improve the efficiency of searching and the efficiency of synchronizing the application context.

[0008] In combination with the first aspect, in certain implementations of the first aspect, the first request includes at least one of an application identifier and a terminal identifier. After receiving the first request from the first EAS, the method further includes: the first EES determines the relevant information of the application context of the first application based on at least one of the application identifier and the terminal identifier, and a first correspondence between at least one of the application identifier and the terminal identifier and the relevant information of the application context.

[0009] The first EES is associated with multiple EASs, and each EAS may send application context and / or application context related information, as well as application identifier and terminal identifier related to the application context to the first EES. After receiving this information, the first EES can determine the first corresponding relationship. For EASs with application context synchronization requirements, their identifiers can be the same or related. After receiving the first request, the first EES can determine the relevant information of the application context of the first application based on the first corresponding relationship between at least one of the application identifier and terminal identifier included in the first request and the identifier maintained by the first EES and the relevant information of the application context.

[0010] In combination with the first aspect, in some implementations of the first aspect, the application identifier includes at least one of the following: an identifier of the first application, an identifier of a client of the first application, and an identifier of the first EAS.

[0011] In combination with the first aspect, in some implementations of the first aspect, the terminal identification includes at least one of the following information: an identification of a first terminal, an identification of a first group, and an identification of at least one terminal corresponding to the first group, wherein the group to which the first terminal belongs is the first group. Multiple terminals in the first group use the first application, and when the multiple terminals access different EASs, the multiple EASs have a requirement for synchronizing application contexts.

[0012] Multiple terminals in the group where the first terminal is located can access different EASs, that is, the first EAS provides services of the first application to the first terminal, and other EASs provide services of the first application to other terminals in the group where the first terminal is located. The application context (first context) determined by the first EAS can be stored on the first EAS or the associated first EES, and this application context is the application context of the first application corresponding to the first EAS or the first terminal. The application context (second context) determined by other EASs, for example, the second EAS, can be stored on the second EAS or the associated second EES, and this application context is the application context of the first application corresponding to the second EAS or the second terminal. The first context and the second context are both application contexts of the first application, but the contents of the two are different. The first context corresponding to the first EAS needs to be synchronized to other EASs, and the first EAS also needs to obtain the second context corresponding to other EASs. In the aforementioned implementation, the first EAS requests the application context of the first application corresponding to the second terminal, that is, the second context.

[0013] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: receiving a sixth request from a second EAS, the sixth request including an application context of at least one application and / or related information of the application context of at least one application; determining, based on the sixth request, a first correspondence between an application identifier, at least one item of a terminal identifier, and related information of the application context, the first correspondence including a correspondence between an application identifier, at least one item of a terminal identifier, and related information of the application context of the first application.

[0014] In this implementation, the second EAS is associated with the first EES, and the second EAS provides services for the second terminal. The second EAS can send a sixth request to the first EES, and the sixth request includes at least one of the following identifiers: an identifier of at least one application, an identifier of a client of at least one application, an identifier of the second EAS, an identifier of the second terminal, an identifier of the second group, and an identifier of at least one terminal corresponding to the second group. The group to which the second terminal belongs is the second group. The sixth request also includes the application context of at least one application and / or related information of the application context of at least one application. The second EAS can be one or a collection of multiple EASs. The first EES can determine a first correspondence between the application identifier, at least one of the terminal identifiers, and related information of the application context based on one or more sixth requests.

[0015] If at least one application includes a first application, the second EAS provides the service of the first application for the second terminal, and the first terminal and the second terminal are in the same group, and the first group and the second group are the same group, then the sixth request includes the identifier of the client of the first application and the identifier of the first application. The sixth request includes the second context and / or related information of the second context. The first correspondence includes the correspondence between at least one of the application identifier and the terminal identifier and the related information of the second context.

[0016] The second EAS serves the same group of terminals and the same application as the first EAS, and the relevant information of the second context included in the sixth request may be at least one of the following: address information of the second EAS, storage address of the second context, wherein the storage address refers to the storage address of the second context in the second EAS.

[0017] When the sixth request includes the second context, the first EES can store the second context, determine the correspondence between the storage address of the second context in the first EES and at least one of the application identifier and the terminal identifier, and add the correspondence to the first correspondence. In summary, since the identifier of the second EAS accessed by the same group is the same as the identifier of the first EAS, the identifier of the group to which the first terminal belongs is the same as the identifier of the group to which the second terminal belongs, and so on, the first EES can determine the required relevant information of the second context based on the first request and the first correspondence.

[0018] In combination with the first aspect, in certain implementations of the first aspect, the first response includes the second context and / or related information of the second context, and the specific related information of the second context includes at least one of the following: the storage address of the second context in the first EES, the identifier of the second EAS, the address information of the second EAS, and the storage address of the second context in the second EAS.

[0019] In combination with the first aspect, in some implementations of the first aspect, the first request may further include the first context and / or related information of the first context. After receiving the first request, the first EES may determine a correspondence between at least one of the application identifier and the terminal identifier and related information of the first context according to the first request, and add the correspondence to the first correspondence.

[0020] In combination with the first aspect, in certain implementations of the first aspect, the sixth request requests the first context and / or related information of the first context to the first EES, and after receiving the sixth request from the second EAS, the above method also includes: the first EES sends a sixth response to the second EAS, and the sixth response includes the first context and / or related information of the first context. Based on the same method as obtaining the second context and / or related information of the second context, the first EES can obtain the first context and / or related information of the first context according to the sixth request and the first correspondence, and send it to the second EAS, thereby realizing mutual synchronization of application contexts between EASs.

[0021] In combination with the first aspect, in certain implementations of the first aspect, the above method also includes: sending a second request to a second EES, the second request being used to request a second context and / or related information of the second context from the second EES; receiving a second response from the second EES, the second response including the second context and / or related information of the second context.

[0022] The second EAS can be the EAS associated with the first EES, or it can be the EAS associated with other EES. If the second EAS is the EAS associated with other EES, the first EES can send a second request to the second EES. After receiving the second request, the second EES determines the second context and / or related information of the second context, sends a second response to the first EES, and the first EES receives the second response from the second EES, thereby obtaining the second context and / or related information of the second context corresponding to the EAS associated with the second EES.

[0023] In another implementation, the first EES sends a second request to the second EES, the second request being used to request the second context and / or related information of the second context from the second EES; receives a second response from the second EES, the second response including the application context of at least one application and / or related information of the application context of at least one application, and at least one of the corresponding application identifier and terminal identifier; the first EES determines the application context of the first application and / or related information of the application context of the first application from the application context of at least one application and / or related information of the application context of at least one application based on at least one of the application identifier and the terminal identifier in the first request.

[0024] The second EES sends all application contexts and related information of the application contexts it maintains, as well as application identifiers and terminal identifiers corresponding to the application contexts, to the first EES, and the first EES searches for the application context of the first application and / or related information of the application context of the first application.

[0025] This method uses signaling interaction between EESs to search for application contexts. Since the number of EESs in the communication network is less than that of EASs, the signaling broadcast by EESs to other EESs is less than the signaling broadcast by EASs to other EASs, which can reduce signaling overhead. Having EESs responsible for searching for application contexts can also improve search efficiency and the efficiency of synchronizing application contexts.

[0026] In combination with the first aspect, in some implementations of the first aspect, sending the second request to the second EES includes: the first EES sending the second request to the second EES when the first EES fails to determine relevant information of the second context.

[0027] In combination with the first aspect, in certain implementations of the first aspect, the above method also includes: sending a third request to the first edge configuration server ECS, the third request being used to request the second context and / or related information of the second context from the first ECS; receiving a third response from the first ECS, the third response including the second context and / or related information of the second context.

[0028] The first EES and the second EES associated with the second EAS may be located in the same EDN or in different EDNs. If the first EES and the second EES are located in different EDNs, application context synchronization can be performed through ECS, and the first EES sends a third request to the first ECS to obtain the second context and / or related information of the second context corresponding to the EAS associated with other EES. This method can reduce the signaling interaction between EESs, that is, the EES does not need to subscribe to the required application context storage information from the EES of the entire network, which can improve the efficiency of detection and search.

[0029] In another implementation, the first EES sends a third request to the first edge configuration server ECS, where the third request is used to request the second context and / or related information of the second context from the first ECS; receives a third response from the first ECS, where the third response includes the application context of at least one application and / or related information of the application context of at least one application, and at least one of the corresponding application identifier and terminal identifier; the first EES determines the application context of the first application and / or related information of the application context of the first application from the application context of at least one application and / or related information of the application context of at least one application based on at least one of the application identifier and the terminal identifier in the first request.

[0030] The first ECS maintains application contexts corresponding to multiple EASs on multiple EESs, and all application contexts maintained by the first ECS include the second context. The first ECS sends all application contexts and related information of the application contexts it maintains, as well as application identifiers and terminal identifiers corresponding to the application contexts, to the first EES, and the first EES searches for the second context and / or related information of the second context.

[0031] In combination with the first aspect, in some implementations of the first aspect, sending the third request to the first ECS includes: when the first EES or the second EES has not determined relevant information of the second context, the first EES sends the third request to the first ECS.

[0032] In a specific implementation, after receiving the first request, the first EES may search locally in the first EES, send a second request to the second EES, and send a third request to the first ECS.

[0033] In a specific implementation, after receiving the first request, the first EES first searches locally. When the first EES determines that there is no associated required second EAS on the first EES, the first EES sends a second request to the second EES of the same EDN, and sends a third request to the first ECS.

[0034] In a specific implementation, after receiving the first request, the first EES first searches locally on the first EES. When the first EES determines that there is no associated second EAS on the first EES, the first EES sends a second request to a second EES on the same EDN. When there is no associated second EAS on the second EES, the first EES sends a third request to the first ECS.

[0035] In a specific implementation, after receiving the first request, the first EES determines whether the first EES serves all terminals in the group where the first terminal is located, that is, whether the EASs accessed by a group of UEs are all associated with the same EES. If the first EES does not serve all UEs in the group, the first EES sends a second request to a second EES of the same EDN.

[0036] In a specific implementation, after receiving the first request, the first EES may send a second request to all EESs in the entire network in addition to searching locally.

[0037] In combination with the first aspect, in certain implementations of the first aspect, the relevant information of the second context in the first response includes at least one of the following: an identifier of the second EES, address information of the second EES, a storage address of the second context in the second EES, an identifier of the second EAS, address information of the second EAS, and a storage address of the second context in the second EAS.

[0038] On the second aspect, a method for synchronizing application context is provided. The method can be executed by an edge application server EAS, or by a component of EAS (such as a processor, chip, or chip system, etc.), or by a logic module or software that can implement all or part of the EAS functions.

[0039] The method includes: sending a first request to a first edge enabling server EES, the first request is used to request an application context of a first application and / or related information of the application context of the first application from the first EES, the first EAS is one of at least one EAS associated with the first EES; receiving a first response from the first EES, the first response includes the application context of the first application and / or related information of the application context of the first application. Here, the application context of the first application refers to the second context.

[0040] Based on the above technical solution, the first EAS can receive the first response from the first EES by sending a first request to the first EES, thereby obtaining the second context and / or related information of the second context. When the EAS has a need to synchronize application context, the EES associated with the EAS is responsible for searching the application context. The EAS only needs to communicate with the EES associated with it, and does not need to broadcast the entire network, which can reduce the implementation logic of the EAS and the signaling overhead of the EAS. In addition, since the number of EESs in the communication network is less than that of the EAS, the efficiency of searching and synchronizing the application context can be improved by having the EES responsible for searching the application context.

[0041] In conjunction with the second aspect, in some implementations of the second aspect, the first request includes at least one of an application identifier and a terminal identifier. The application identifier includes at least one of the following: an identifier of the first application, an identifier of a client of the first application, and an identifier of the first EAS.

[0042] In combination with the second aspect, in certain implementations of the second aspect, the terminal identification includes at least one of the following information: an identification of a first terminal, an identification of a first group, an identification of at least one terminal corresponding to the first group, the group to which the first terminal belongs is the first group, wherein the first EAS provides services for the first terminal, and multiple terminals in the group to which the first terminal belongs use the first application to perform a certain service.

[0043] In combination with the second aspect, in certain implementations of the second aspect, the relevant information of the second context in the first response includes at least one of the following: the storage address of the second context in the first EES, the identifier of the second EAS, the address information of the second EAS, the storage address of the second context in the second EAS, the identifier of the second EES, the address information of the second EES, and the storage address of the second context in the second EES, wherein the second EAS provides services of the first application to other terminals in the group where the first terminal is located.

[0044] In conjunction with the second aspect, in some implementations of the second aspect, the first request includes the first context and / or related information of the first context, for example, address information of the first EAS, and a storage address of the first context in the second EAS. The first EES may determine, based on the first request, a correspondence between at least one of the application identifier and the terminal identifier and the related information of the first context.

[0045] In a third aspect, a method for synchronizing application context is provided, which can be executed by a first edge configuration server (ECS), or by a component of the first ECS (such as a processor, a chip, or a chip system, etc.), or by a logic module or software that can implement all or part of the functions of the first ECS.

[0046] The method includes: receiving a third request from the first EES, the third request being used to request a second context and / or related information of the second context from the first ECS; sending a third response to the first EES, the third response including an application context of at least one application and / or related information of the application context of at least one application.

[0047] Based on the above technical solution, the first ECS can communicate with multiple EES as a centralized entity. In some scenarios, the first EES can send a first request to the first ECS, and the first ECS is responsible for finding the second context and / or related information of the second context related to the second EAS or the second EES, and sending a third response to the first EES. This can reduce subscription interactions between EESs, reduce the signaling overhead of the first EES, and improve the efficiency of finding application contexts.

[0048] In combination with the third aspect, in certain implementations of the third aspect, at least one application includes a first application, and the third request includes at least one of an application identifier and a terminal identifier. After receiving the third request from the first EES, the method further includes: determining relevant information of the second context based on a second correspondence between at least one of the application identifier and the terminal identifier and relevant information of the application context.

[0049] In combination with the third aspect, in certain implementations of the third aspect, the first ECS receives a third request from the first EES, where the third request is used to request the second context and / or related information of the second context from the first ECS; and sends a third response to the first EES, where the third response includes the second context and / or related information of the second context.

[0050] In combination with the third aspect, in certain implementations of the third aspect, the above method also includes: the first ECS receives a fourth request from the second EES; based on the fourth request and / or the third request, determines a second correspondence between the application identifier, at least one item of the terminal identifier and related information of the application context, the second correspondence including a correspondence between the application identifier, at least one item of the terminal identifier and related information of the second context.

[0051] The first ECS is associated with multiple EESs, and each EES may send application context and / or application context related information, as well as application context related identifiers to the first ECS. After receiving this information, the first ECS may determine the second corresponding relationship.

[0052] In combination with the third aspect, in certain implementations of the third aspect, the second EES is associated with multiple EASs, and the fourth request includes at least one of the following identifiers: an identifier of the second terminal, an identifier of the group to which the second terminal belongs, an identifier of at least one terminal corresponding to the group to which the second terminal belongs, an identifier of at least one application, an identifier of a client of at least one application, and an identifier of at least one EAS, wherein at least one EAS is an EAS associated with the second EES and provides services for the second terminal.

[0053] In combination with the third aspect, in certain implementations of the third aspect, the fourth request also includes at least one of the following: application context of at least one application, address information of at least one EAS, storage address of application context of at least one application in the second EAS, identifier of the second EES, address information of the second EES, and storage address of application context of at least one application in the second EES.

[0054] When at least one application includes the first application, the fourth request includes at least one of the following: the identifier of the second terminal, the identifier of the group to which the second terminal belongs, the identifier of at least one terminal corresponding to the group to which the second terminal belongs, the identifier of the client of the first application, the identifier of the first application, the identifier of the second EAS; and at least one of the following: the second context, the address information of the second EAS, the storage address of the second context in the second EAS, the identifier of the second EES, the address information of the second EES, and the storage address of the second context in the second EES. The second EAS provides the service of the first application for the second terminal, and the second EAS is an EAS in at least one EAS associated with the second EES.

[0055] In conjunction with the third aspect, in certain implementations of the third aspect, the relevant information of the second context in the third response includes at least one of the following: an identifier of the second EAS, address information of the second EAS, a storage address of the second context in the second EAS, an identifier of the second EES, address information of the second EES, and a storage address of the second context in the second EES. The second context may be stored in the second EAS or in the second EES, and the specific content of the relevant information of the second context is determined based on the location where the second context is stored.

[0056] In conjunction with the third aspect, in some implementations of the third aspect, the third request includes the first context and / or related information of the first context. The first ECS may update the second correspondence based on the third request, where the second correspondence includes a correspondence between at least one of the application identifier and the terminal identifier and related information of the first context.

[0057] In combination with the third aspect, in certain implementations of the third aspect, the fourth request requests the first context and / or related information of the first context to the first ECS. After receiving the fourth request from the second EES, the above method also includes: sending a fourth response to the second EES, the fourth response including the first context and / or related information of the first context.

[0058] In a fourth aspect, a method for synchronizing application context is provided. The method can be executed by a second edge enabling server EES, or by a component of the second EES (such as a processor, chip, or chip system, etc.), or by a logic module or software that can implement all or part of the second EES function.

[0059] The method includes: receiving a fifth request from a second EAS, the fifth request being used to request a first context and / or related information of the first context from the second EES, the second EAS being one of at least one EAS associated with the second EES; and sending a fifth response to the second EAS based on the fifth request, the fifth response including the first context and / or related information of the first context.

[0060] Based on the above technical solution, when the second EAS has a need for application context synchronization, the second EES associated with the second EAS is responsible for searching the application context and sending the application context and / or related information of the application context to the EAS. The second EAS communicates with the second EES associated with it without broadcasting the entire network, which can reduce the implementation logic of the second EAS and the signaling overhead of the second EAS. In addition, since the number of EES in the communication network is less than that of EAS, having the EES responsible for searching the application context can also improve the efficiency of searching and the efficiency of synchronizing the application context.

[0061] The fifth request may include at least one of the following identifiers: an identifier of the second terminal, an identifier of the group to which the second terminal belongs, identifiers of multiple terminals in the group to which the second terminal belongs, an identifier of the first application, an identifier of a client of the first application, and an identifier of the second EAS. The relationship between the second EAS and the second EES is similar to the relationship between the first EAS and the first EES.

[0062] In combination with the fourth aspect, in certain implementations of the fourth aspect, the above method also includes: sending a fourth request to the first ECS, the fourth request requesting the first ECS for the first context and / or related information of the first context; receiving a fourth response from the first ECS, the fourth response including the first context and / or related information of the first context.

[0063] In another implementation, the second EES sends a fourth request to the first ECS, the fourth request requests the first ECS for the first context and / or related information of the first context; receives a fourth response from the first ECS, the fourth response includes the application context of at least one application and / or related information of the application context of at least one application; determines the first context and / or related information of the first context from the application context of at least one application and / or related information of the application context of the at least one application.

[0064] In combination with the fourth aspect, in certain implementations of the fourth aspect, the above method also includes: receiving a second request from the first EES, the second request being used to request a second context and / or related information of the second context from the second EES; sending a second response to the first EES based on the second request, the second response including the second context and / or related information of the second context.

[0065] In another implementation, the second EES receives a second request from the first EES, where the second request is used to request a second context and / or related information of the second context from the second EES; a second response is sent to the first EES based on the second request, where the second response includes an application context of at least one application and / or related information of the application context of at least one application, as well as at least one of a corresponding application identifier and a terminal identifier.

[0066] In conjunction with the fourth aspect, in some implementations of the fourth aspect, the method further includes: sending a seventh request to the first EES, the seventh request requesting the first context and / or related information of the first context from the first EES; receiving a seventh response from the first EES, the seventh response including the first context and / or related information of the first context. At this time, the second EES sending the seventh request to the first EES is similar to the first EES sending the second request to the second EES.

[0067] In the fifth aspect, a method for synchronizing application context is provided. The method can be executed by a second edge application server EAS, or by a component of the second EAS (such as a processor, chip, or chip system, etc.), or by a logic module or software that can implement all or part of the second EAS function.

[0068] The method includes: sending a fifth request to a second EES, the fifth request being used to request the first context and / or related information of the first context from the second EES, the second EAS being one of at least one EAS associated with the second EES; receiving a fifth response from the second EES, the fifth response including the first context and / or related information of the first context.

[0069] Based on the above technical solution, the second EAS can receive the first response from the second EES by sending the fifth request to the second EES, thereby obtaining the first context and / or related information of the first context. When the EAS has a need to synchronize application contexts, the EES associated with the EAS is responsible for searching for the application contexts. The EAS only needs to communicate with the EES associated with it, and does not need to broadcast the entire network, which can reduce the implementation logic of the EAS and the signaling overhead of the EAS. In addition, since the number of EESs in the communication network is less than that of the EAS, the efficiency of searching and synchronizing the application contexts can be improved by having the EES responsible for searching for the application contexts.

[0070] In a sixth aspect, a communication device is provided, comprising: a communication unit, used to receive a first request from a first edge application server EAS, the first request being used to request an application context of a first application and / or related information of the application context of the first application from the communication device, the first EAS being one EAS of at least one EAS associated with the communication device; the communication unit is also used to send a first response to the first EAS, the first response including the application context of the first application and / or related information of the application context of the first application.

[0071] In conjunction with the sixth aspect, in certain implementations of the sixth aspect, the first request includes at least one of an application identifier and a terminal identifier, and the communication device further includes: a processing unit, configured to determine relevant information about an application context of the first application based on at least one of the application identifier and the terminal identifier, and a first correspondence between at least one of the application identifier and the terminal identifier and relevant information about the application context. Here, the application context of the first application refers to the second context.

[0072] In conjunction with the sixth aspect, in some implementations of the sixth aspect, the application identifier may include an identifier of the first application. The identifier of the first application includes at least one of the following: an identifier of the first application, an identifier of a client of the first application, and an identifier of the first EAS.

[0073] The terminal identification may also include at least one of the following information: an identification of the first terminal, an identification of the group to which the first terminal belongs, and identifications of multiple terminals in the group to which the first terminal belongs, wherein the first EAS provides services for the first terminal, and multiple terminals in the group to which the first terminal belongs use the first application to perform a certain service.

[0074] In combination with the sixth aspect, in certain implementations of the sixth aspect, the relevant information of the application context of the first application in the first response includes at least one of the following: the storage address of the second context in the communication device, the identifier of the second EAS, the address information of the second EAS, and the storage address of the second context in the second EAS, wherein the second EAS provides services of the first application to other terminals in the group where the first terminal is located.

[0075] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is also used to: make a second request to the second EES, the second request being used to request the second context and / or related information of the second context from the second EES; and receive a second response from the second EES, the second response including the second context and / or related information of the second context.

[0076] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is further used to: send a second request to the second EES when the communication device has not determined relevant information of the second context.

[0077] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is also used to: make a second request to the second EES, the second request being used to request the second context and / or related information of the second context from the second EES; receive a second response from the second EES, the second response including the application context of at least one application and / or related information of the application context of at least one application, and at least one of the corresponding application identifier and terminal identifier; the processing unit is also used to determine the application context of the first application and / or related information of the application context of the first application from the application context of at least one application and / or related information of the application context of at least one application based on at least one of the application identifier and the terminal identifier in the first request.

[0078] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is further used to: send a third request to the first ECS, the third request requesting the first ECS for the second context and / or related information of the second context; and receive a third response from the first ECS, the third response including the second context and / or related information of the second context.

[0079] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is further used to: send a third request to the first ECS when the communication device or the second EES has not determined relevant information of the second context.

[0080] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is also used to: send a third request to the first ECS, the third request requesting the second context and / or related information of the second context from the first ECS; receive a third response from the first ECS, the third response including the application context of at least one application and / or related information of the application context of at least one application, and at least one of the corresponding application identifier and terminal identifier; the processing unit is also used to: determine the application context of the first application and / or related information of the application context of the first application from the application context of at least one application and / or related information of the application context of at least one application based on at least one of the application identifier and the terminal identifier in the first request.

[0081] In combination with the sixth aspect, in certain implementations of the sixth aspect, the relevant information of the second context includes at least one of the following: an identifier of the second EES, address information of the second EES, a storage address of the second context in the second EES, an identifier of the second EAS, address information of the second EAS, and a storage address of the second context in the second EAS.

[0082] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is also used to: receive a sixth request from a second EAS, the sixth request including a second context and / or related information of the second context; the processing unit is also used to determine, based on the sixth request, a first correspondence between at least one of the application identifier, the terminal identifier, and related information of the application context, the first correspondence including a correspondence between at least one of the application identifier, the terminal identifier, and related information of the second context.

[0083] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is further used to: send a sixth response to the second EAS, where the sixth response includes the first context and / or related information of the first context.

[0084] In conjunction with the sixth aspect, in some implementations of the sixth aspect, the first request includes the first context and / or related information of the first context. The processing unit is further configured to determine, based on the first request, a correspondence between at least one of the application identifier and the terminal identifier and the related information of the first context.

[0085] In the seventh aspect, a communication device is provided, including: a communication unit, used to send a first request to a first edge enabling server EES, the first request requesting a second context and / or related information of the second context from the first EES, the communication device is one EAS among at least one EAS associated with the first EES; the communication unit is also used to receive a first response from the first EES, the first response including the second context and / or related information of the second context.

[0086] In combination with the seventh aspect, in some implementations of the seventh aspect, the first request includes at least one of an application identifier and a terminal identifier.

[0087] In combination with the seventh aspect, in certain implementations of the seventh aspect, the application identifier includes at least one of the following: an identifier of a client of the first application, an identifier of a communication device.

[0088] In combination with the seventh aspect, in certain implementations of the seventh aspect, the terminal identification includes at least one of the following information: an identification of the first terminal, an identification of the group to which the first terminal belongs, and identifications of multiple terminals in the group to which the first terminal belongs, wherein the communication device provides services for the first terminal, and multiple terminals in the group to which the first terminal belongs use the first application to perform a certain service.

[0089] In combination with the seventh aspect, in certain implementations of the seventh aspect, the relevant information of the second context includes at least one of the following: the storage address of the second context in the first EES, the identifier of the second EAS, the address information of the second EAS, the storage address of the second context in the second EAS, the identifier of the second EES, the address information of the second EES, and the storage address of the second context in the second EES, wherein the second EAS provides services of the first application to other terminals in the group where the first terminal is located.

[0090] In an eighth aspect, a communication device is provided, comprising: a communication unit, used to receive a third request from a first EES, the third request being used to request a second context and / or related information of the second context from the communication device; the communication unit is also used to send a third response to the first EES, the third response including an application context of at least one application and / or related information of the application context of at least one application.

[0091] In another implementation, the at least one application includes a first application, and the third response includes a second context and / or related information of the second context.

[0092] In combination with the eighth aspect, in certain implementations of the eighth aspect, the third request includes at least one of an application identifier and a terminal identifier, and the communication device also includes: a processing unit for determining relevant information of the second context based on at least one of the application identifier and the terminal identifier, and a second correspondence between the identifier and relevant information of the application context.

[0093] In combination with the eighth aspect, in certain implementations of the eighth aspect, the communication unit is also used to receive a fourth request from a second EES; the processing unit is further used to determine a second correspondence between the application identifier, at least one item of the terminal identifier and related information of the application context based on the fourth request and / or the third request, and the second correspondence includes a correspondence between the application identifier, at least one item of the terminal identifier and related information of the second context.

[0094] In combination with the eighth aspect, in certain implementations of the eighth aspect, the fourth request includes at least one of the following identifiers: an identifier of the second terminal, an identifier of the second group, an identifier of at least one terminal corresponding to the second group, an identifier of at least one application, an identifier of a client of at least one application, an identifier of at least one EAS, and at least one EAS is an EAS associated with the second EES and provides services for the second terminal.

[0095] The fourth request further includes at least one of the following: application context of at least one application, address information of at least one EAS, storage address of application context of at least one application, identifier of the second EES, and address information of the second EES. If the at least one application includes the first application, the fourth request includes the application context of the first application, storage address of application context of the first application, identifier of the first application, and identifier of the client of the first application.

[0096] In combination with the eighth aspect, in certain implementations of the eighth aspect, the communication unit is further used to send a fourth response to the second EES, where the fourth response includes the first context and / or related information of the first context.

[0097] In a ninth aspect, a communication device is provided, comprising: a communication unit, configured to receive a fifth request from a second EAS, the fifth request being used to request a first context and / or related information of the first context from the communication device, the second EAS being one of at least one EAS associated with the communication device; the communication unit is also configured to send a fifth response to the second EAS based on the fifth request, the fifth response including the first context and / or related information of the first context.

[0098] In combination with the ninth aspect, in certain implementations of the ninth aspect, the communication unit is further used to: send a fourth request to the first ECS, the fourth request requesting the first ECS for the first context and / or related information of the first context; and receive a fourth response from the first ECS, the fourth response including the first context and / or related information of the first context.

[0099] In combination with the ninth aspect, in certain implementations of the ninth aspect, the communication unit is further used to: send a fourth request to the first ECS, the fourth request requesting the first ECS for the first context and / or related information of the first context; receive a fourth response from the first ECS, the fourth response including the application context of at least one application and / or related information of the application context of at least one application.

[0100] In combination with the ninth aspect, in certain implementations of the ninth aspect, the communication unit is also used to: receive a second request from the first EES, the second request being used to request a second context and / or related information of the second context from the communication device; and send a second response to the first EES based on the second request, the second response including the second context and / or related information of the second context.

[0101] In combination with the ninth aspect, in certain implementations of the ninth aspect, the communication unit is also used to: receive a second request from the first EES, the second request being used to request a second context and / or related information of the second context from the communication device; and send a second response to the first EES based on the second request, the second response including an application context of at least one application and / or related information of the application context of at least one application.

[0102] In combination with the ninth aspect, in certain implementations of the ninth aspect, the communication unit is also used to: send a seventh request to the first EES, the seventh request requesting the first EES for the first context and / or related information of the first context; and receive a seventh response from the first EES, the seventh response including the first context and / or related information of the first context.

[0103] In the tenth aspect, a communication device is provided, including: a communication unit, used to send a fifth request to a second EES, the fifth request being used to request a first context and / or related information of the first context from the second EES, the communication device being one of at least one communication device associated with the second EES; the communication unit is also used to receive a fifth response from the second EES, the fifth response including the first context and / or related information of the first context.

[0104] In the eleventh aspect, a communication device is provided, including a processor, the processor is coupled to a memory, the memory is used to store computer programs or instructions, and the processor is used to execute the computer programs or instructions stored in the memory to implement the method in any possible implementation of any of the above aspects.

[0105] In a possible implementation manner, the device further includes a memory coupled to the processor.

[0106] In a possible implementation, there are one or more processors and / or one or more memories.

[0107] In a possible implementation, the memory may be integrated with the processor, or the memory may be separately provided with the processor.

[0108] In a possible implementation, the device further includes a communication interface, and the processor is coupled to the communication interface. Exemplarily, the communication interface may be a transceiver, or an input / output interface.

[0109] In a twelfth aspect, a computer-readable medium is provided for storing a computer program. When the computer program is run on a computer, the computer executes a method in any possible implementation of any of the above aspects.

[0110] In the thirteenth aspect, a communication system is provided, which includes EES, EAS and ECS, EES is used to execute the method executed by EES in any possible implementation of any of the above aspects, EAS is used to execute the method executed by EAS in any possible implementation of any of the above aspects, and ECS is a method executed by ECS in any possible implementation of any of the above aspects.

[0111] In a fourteenth aspect, a chip is provided, on which a processing circuit (or processor) is provided, and the processing circuit (or processor) is used to execute the method in any possible implementation manner of any of the above aspects.

[0112] In the fifteenth aspect, a computer program product comprising instructions is provided, wherein the computer program product comprises: a computer program (also referred to as code, or instructions), which, when executed, enables a computer to execute a method in any possible implementation of any of the above aspects.

[0113] In the sixteenth aspect, a communication device is provided, which includes an interface and a processor, wherein the interface is used to send and / or receive signals, so that the processor executes the method in any one of the above aspects or any possible implementation of any one of the aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0114] Figure 1 is a schematic diagram of a network architecture applicable to an embodiment of the present application;

[0115] Figure 2 is a schematic flow chart of a method for synchronizing application contexts provided in an embodiment of the present application;

[0116] Figure 3 is a schematic flow chart of a method for synchronizing application contexts provided by another embodiment of the present application;

[0117] Figure 4 is a schematic flow chart of a method for synchronizing application contexts provided in yet another embodiment of the present application;

[0118] Figure 5 is a schematic flow chart of a method for synchronizing application contexts provided in yet another embodiment of the present application;

[0119] Figure 6 is a schematic flow chart of a method for synchronizing application contexts provided in yet another embodiment of the present application;

[0120] Figure 7 is a schematic flow chart of a method for synchronizing application contexts provided in yet another embodiment of the present application;

[0121] Figure 8is a schematic flow chart of a method for synchronizing application contexts provided in yet another embodiment of the present application;

[0122] Fig. 9 is a schematic diagram of the structure of a communication device 900 provided in the present application;

[0123] Fig.10 It is a structural diagram of a communication device 1000 applicable to an embodiment of the present application. DETAILED DESCRIPTION

[0124] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings. The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions in the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. It is known to those skilled in the art that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0125] Ordinal numbers such as "1", "2", "3", "first", "second", "third" and "fourth" in this application are used to distinguish multiple objects, and are not used to limit the order of multiple objects. "Multiple" in this application refers to two or more. The term "and / or" in this application is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone.

[0126] In addition, the character " / " in this article generally indicates that the previously and subsequently associated objects are in an "or" relationship; the term "at least one" in this application can mean "one" and "two or more", for example, at least one of A, B and C can mean: A exists alone, B exists alone, C exists alone, A and B exist at the same time, A and C exist at the same time, C and B exist at the same time, and A, B and C exist at the same time.

[0127] The technical solution provided in this application can be applied to various communication systems, such as: fifth generation (5th generation, 5G) or new radio (new radio, NR) system, long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD) system, etc. The technical solution provided in this application can also be applied to future communication systems, such as the sixth generation mobile communication system. The technical solution provided in this application can also be applied to device to device (D2D) communication, vehicle to everything (V2X) communication, machine to machine (M2M) communication, machine type communication (MTC), and Internet of things (IoT) communication system or other communication systems.

[0128] First, we briefly introduce the network architecture applicable to the communication network of this application as an example. Figure 1 A schematic diagram of a network architecture is shown.

[0129] In the multi-access edge computing (MEC) research of SA6 of the 3rd generation partnership project (3GPP), the following are defined: Figure 1 The architecture model shown in the figure may include, but is not limited to: terminal equipment, 3rd generation partnership project (3GPP) core network, edge data network (EDN), and edge configuration server (ECS). The terminal equipment may include application client (application client(s)) and edge enabler client (edge ​​enabler client, EEC); the edge data network may include edge application server (edge ​​application server(s)), and edge enabler server (edge ​​enabler server(s)).

[0130] The following is Figure 1Each part involved in the network architecture shown is explained separately.

[0131] 1. EDN

[0132] A general understanding is that EDN corresponds to only one data network, which is a special local data network (DN), including edge enabling functions, which can be identified by a data network access identifier (DN access identifier, DNAI) and a data network name (DNN), and is a network logic concept. Another understanding of EDN is that EDN is a peer-to-peer concept of the central cloud, which can be understood as a local data center (geographic location concept), which can be identified by DNAI, and can contain multiple local data networks (local DN). For example, in order to facilitate the use of users in Beijing and Shanghai, Beijing and Shanghai can deploy a data center respectively, and multiple EAS can be deployed on each data center. Subsequently, users in Beijing can obtain application services through the EAS on the data center deployed in Beijing. Users in Shanghai can obtain application services through the EAS on the data center deployed in Shanghai. Each EDN network provides application services to each user nearby, which can provide users with a higher quality network experience.

[0133] 2. Application Examples / Edge Applications

[0134] An application deployed in an edge data network is called an application instance. Specifically, it refers to an instance of a server application (for example, social media software, augmented reality (AR), virtual reality (VR)) deployed and running in an EDN. An application can deploy one or more edge application servers (EAS) in one or more EDNs, that is, one or more EAS can be deployed in each EDN. EAS deployed and running in different EDNs can be considered as different EAS of an application. They can share a domain name (ID), use an Internet Protocol (IP) address, or use different IP addresses. EAS can also be called edge application (server), application instance, edge application instance, MEC application (server), EAS function, etc.

[0135] 3. EES

[0136] EES can provide some enabling capabilities for application instances deployed in the EDN edge data network, and can better support the deployment of applications in MEC. EES can support the registration of edge applications, authentication and authorization of UEs, and provide UEs with IP address information of application instances. EES can also further support obtaining the identification and IP address information of application instances, and further send the identification and IP address information of application instances to the edge data network configuration server. EES is deployed in EDN, and one or more different EESs can be deployed in one EDN. Generally, EAS is registered to an EES, or the information of an EAS is configured on an EES through the management system. The EES is called the EES associated with the EAS, and the EES controls / manages the EAS registered / configured on the EES. Multiple EASs can be deployed in one EES.

[0137] 4. ECS

[0138] ECS is responsible for the storage and maintenance of EDN information, such as providing EES information to UE. ECS can also directly provide application instance information to UE, and interact with the application's domain name server (domain name system, DNS) to obtain application instance information. ECS further obtains and saves application instance and IP address information from other functional entities.

[0139] 5. Terminal equipment

[0140] The terminal device can be called user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device.

[0141] The terminal device may be a device that provides voice / data to users, for example, a handheld device or a vehicle-mounted device with a wireless connection function. At present, some examples of terminals are: mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks (public land mobile The embodiments of the present application do not limit this.

[0142] As an example but not limitation, in the embodiments of the present application, the terminal device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.

[0143] In addition, in the embodiments of the present application, the terminal device can also be a terminal device in an IoT system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.

[0144] It should be noted that the terminal device and the access network device can communicate with each other using a certain air interface technology (such as NR or LTE technology, etc.). The terminal devices can also communicate with each other using a certain air interface technology (such as NR or LTE technology, etc.).

[0145] It should be noted that UE includes AC and EEC, AC is the peer entity of edge application on the UE side, EEC is the enabling layer entity on the UE side, and the embodiments of the present application are written with UE as the main body, but UE can also be replaced by AC or EEC. For example, "EAS provides services for UE", "EAS provides services for AC on UE", or "EAS provides services for AC" can be understood as the same meaning, for example, "one user corresponds to one terminal" and "one user corresponds to one AC" can be understood as the same meaning.

[0146] 6. AC

[0147] AC is the peer entity of edge application on UE side. Application client is used by application user to obtain application services from application server. Application client is the client program applied on the terminal side. Application client can connect to application server on cloud to obtain application services, or it can connect to EAS deployed and running in one or more EDN to obtain application services.

[0148] 7. EEC

[0149] EEC is the enabling layer entity on the UE side. EEC is used to register EEC information and application client information with EES, perform security authentication and authorization, obtain the IP address of EAS from EES, and provide edge computing enabling capabilities to application clients, for example, provide EAS discovery services, and return the IP address of EAS to the application client.

[0150] EEC provides necessary support for application clients on UE. The functions of EEC include: retrieving EDN information through EDGE-4, registering UE to EES, retrieving available EAS, notifying EEC of EAS availability changes and EAS migration.

[0151] Among them, the application user signs a service agreement with the application provider to provide services for the application user, and the application user communicates with the EAS through the application client on the login terminal through the connection between the application client and the EAS. The enabling client is a middleware layer, generally located in the operating system, or between the application client and the operating system. The application client can obtain edge enabling services from the enabling client in the form of an application program interface (API).

[0152] right Figure 1 The various interfaces in the network architecture shown are described.

[0153] EDGE-1: Interface between EES and EEC, supports registration / deregistration of EEC in EES; edge application server discovery in edge data network.

[0154] EDGE-2: The interface between EES and 3GPP core network, used by EES to obtain 3GPP network capabilities.

[0155] EDGE-3: The interface between EES and EAS, supports EES registration / deregistration of EAS, including EAS availability information, service range information, address information, etc.; EES provides EAS with 3GPP network capability information (such as location information).

[0156] EDGE-4: The interface between EEC and ECS, which supports ECS to provide / push configuration information to EEC.

[0157] EDGE-5: Interface between AC and EEC, supports AC to obtain access EAS information from EEC.

[0158] EDGE-6: Interface between ECS and EES, supports configuration of EES information on ECS.

[0159] EDGE-7: Interface between EAS and 5GC, supporting EAS to obtain 5G network capabilities.

[0160] EDGE-8: Interface between ECS and 5GC, supporting ECS ​​to obtain 5G network capabilities.

[0161] EDGE-9: Interface between different EESs across MEC nodes / in the same MEC node, supporting application migration.

[0162] It should be noted that Figure 1 The names of the various parts involved and the communication interfaces therebetween are briefly described using the provisions in the current protocol as an example, but do not limit the embodiments of the present application to being applicable only to currently known communication systems.

[0163] The following will describe the implementation of the embodiments of the present application in detail with reference to the accompanying drawings. It should be noted that in the following embodiments, the request or response information transmitted between the various network elements (AC, EAS, EES, ECS) can be carried in subscription notification messages related to EDGE-3, EDGE-5, EDGE-6, etc., and can also be carried in other messages. The embodiments of the present application do not specifically limit which message or signaling is carried in. For example, the interaction information between AC and EAS can be carried in the notification of connection-related events, and in subscription messages and request messages related to EDGE-5. For example, the information from EAS to EES can be carried in EDGE-3 related subscription corresponding request messages and subscription request messages such as UE location (update) request, UE location subscription (update) request, ACR management event (update) subscription request, AC information subscription (update) request, UE identifier API (update) request, and Session with QoS create (update) request. For example, the information from EES to ECS can be carried in EDGE-6 related messages such as EES registration request and EES discovery subscription request.

[0164] It should be noted that in the various embodiments of the present application, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments can be consistent and can be referenced to each other. The technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships. The present application does not limit this.

[0165] In the embodiment of the present application, the application context may refer to the running status information related to one or a group of users, such as game progress, historical data of ML, etc. Optionally, the application context may also include the context of the subscription of the one or more users in the EAS and the core network, such as the transaction identifier of the subscription, etc. Optionally, the application context may also include the context of the one or more users on the EES, such as the transaction identifier of the subscription of the one or more users by the EAS.

[0166] In the embodiment of the present application, each EDN includes an EES and an EAS, and may also include an ECS. Each EAS can provide application services to users nearby, and one application may include different services. For one application, multiple EASs deployed in different EDNs can provide the same service, and the terminal device can select the EAS in the nearest EDN. Therefore, for the same service of the same application, two terminal devices may access the same EAS or different EASs.

[0167] In some scenarios, multiple terminals use the same application, and the application data corresponding to AC on each terminal needs to be transmitted to the corresponding EAS. Each EAS generates relevant data through local calculations, and synchronizes relevant information of multiple terminals between EASs, such as status information, so that the information between multiple EASs is synchronized, so that the terminal can use AC normally locally. For example, in game applications, players usually form teams to play games, and each player in the team corresponds to a terminal. Players can control the dynamics of characters in the game through operations on the corresponding terminals, such as character positions, character actions, etc. Changes in character positions and character actions will cause changes in the scene in the game. After the terminal detects the player's operation, it transmits the changed character position, character action and other application data to the corresponding EAS. EAS generates relevant data through local calculations and synchronizes it to other EASs, which are then transmitted to other terminals, so that other players can understand the dynamics of the player's character. In addition, the terminal also obtains relevant data generated by other EASs from the corresponding EAS, so that the player can understand the dynamics of other players' characters, so that multiple players can cooperate with each other.

[0168] Among them, the related data generated by the application data on the EAS can be called application context, and the process of data synchronization between two EASs can be called application context synchronization. The multiple terminals corresponding to the players of the team game can be considered as a group of terminals, that is, a group of terminals refers to multiple terminals that are grouped together to perform a certain business. If a group of terminals is connected to different EASs, that is, there are multiple EASs providing services for a group of terminals, then there is an application context synchronization requirement between the multiple EASs corresponding to a group of terminals, and communication is required to synchronize the application context.

[0169] Specifically, the EAS connected to a terminal in a group of terminals broadcasts the entire network in the communication network, and sends broadcast messages to other EAS in the communication network except itself, so as to find the EAS corresponding to other terminals in the group of terminals, that is, the EAS storing the application context that needs to be synchronized by other terminals. Since a large number of EAS are deployed in the communication network, including EAS serving other applications or providing other business services, the network-wide broadcast method needs to send broadcasts to EAS that does not serve the group of terminals, which consumes unnecessary signaling overhead, is inefficient, and has a large signaling overhead.

[0170] In view of this, the embodiment of the present application provides a method for synchronizing application contexts. It should be understood that synchronizing application contexts occurs in a scenario where a group of terminals use the same service of the same application, and synchronizing application contexts is to synchronize application contexts between two EASs. If a group of terminals corresponds to three or more EASs, then application contexts need to be synchronized between each EAS. This method is applicable to Figure 1 The communication network shown, wherein the multiple EESs include a first EES, and the multiple EASs can be registered or associated in different EESs, wherein the first EAS among the multiple EASs is an EAS associated with the first EES, that is, the first EAS is registered in the first EES. The first EAS provides a service for the first terminal, specifically, the first EAS provides a first business service for the first application (client, AC) on the first terminal. The first EAS generates an application context for the first application corresponding to the first terminal, and the application context generated by the first EAS can be stored in the first EAS or the associated first EES. The application context generated by the first EAS is the application context corresponding to the first terminal, hereinafter referred to as the first context.

[0171] The multiple EASs may also include a second EAS. The second EAS may be registered in the first EES or in another EES other than the first EES. The other EES and the first EES may be in the same EDN or in a different EDN. The second EAS provides services for the second terminal. Specifically, the second EAS provides a first business service for the first application on the second terminal. The second EAS generates an application context for the first application corresponding to the second terminal. The application context generated by the second EAS can be stored in the second EAS or the associated second EES. The application context generated by the second EAS is the application context corresponding to the second terminal, hereinafter referred to as the second context.

[0172] The first context and the second context are both application contexts corresponding to the first application, but the context contents of the two are different. When the first EAS and the second EAS provide the same service for the same group of terminals, that is, the group where the first terminal is located and the group where the second terminal is located are the same group, the first terminal and the second terminal belong to a group of terminals, the first EAS and the second EAS have the need to synchronize application contexts, the first context corresponding to the first EAS is synchronized to the second EAS, and the first EAS obtains the second context.

[0173] In an embodiment of the present application, when a group of terminals access different EASs, the first EAS sends a first request to the first EES, requesting the first EES to search for a second context. After receiving the first request, the first EES can search for the second context and / or related information of the second context locally according to the first request. If the first EES finds the second context and / or related information of the second context locally, the found second context and / or related information of the second context can be sent to the first EAS.

[0174] Furthermore, after receiving the first request, the first EES may send a second request to the second EES. After receiving the second request, the second EES may search for the second context and / or related information of the second context locally. If the second EES finds the second context and / or related information of the second context locally, the found second context and / or related information of the second context may be sent to the first EES, which then sends it to the first EES.

[0175] In addition, after receiving the first request, the first EES may send a third request to the first ECS, requesting the first ECS to search for the second context and / or related information of the second context. If the first ECS finds the second context and / or related information of the second context, it may send it to the first EES, which then sends it to the first EAS.

[0176] The method provided in the embodiment of the present application can be used by EES to synchronize application contexts, and EAS only needs to communicate with the associated EES, which can reduce the implementation logic of EAS and the signaling overhead of EAS. The method provided in the embodiment of the present application can also use ECS as a centralized control entity to be responsible for searching for the required application contexts, thereby reducing the signaling interaction between EESs and improving the efficiency of detection and search.

[0177] It should be noted that the second terminal may refer to one terminal or multiple terminals, and the multiple terminals may be connected to different EASs. The corresponding second EAS may also refer to one or more EASs.

[0178] Each scenario is described in detail below in conjunction with the locations of multiple EASs accessed by a group of terminals in a communication network.

[0179] Figure 2 A schematic flow chart of synchronizing application context is shown. In an embodiment of the present application, multiple EASs accessed by a group of terminals can all be registered on the first EES, and the first EES is responsible for synchronizing the application context.

[0180] S201: A first EAS sends a first request to a first EES.

[0181] The first request requests the first EES for the second context and / or related information of the second context, or in other words, the first request is used to request the first EES to find the second context that needs to be synchronized to the first EAS, or to request the application context corresponding to the first application.

[0182] For example, the first request may be an EAS discovery (subscription) request, or the first request may be a context synchronization (subscription) request.

[0183] The first request carries at least one of an application identifier and a terminal identifier. The identifier is described below.

[0184] In an embodiment of the present application, the second context is the application context corresponding to the first application, the first request may carry the identifier of the first application, and the identifier of the first application may be represented by the identifier of the client of the first application, for example, the identifier of the client of the application may be an AC ID. Alternatively, the identifier of the first application may also be represented by the identifier of the first EAS, for example, the identifier of the first EAS may be an EAS ID. Alternatively, the identifier of the first application may also be represented by the identifier of the client of the first application and the identifier of the first EAS. The identifier of the first application may also be an application identifier, such as an APP (application) ID. Considering that the ACID of the same application on different operating systems may be different, an APP ID may be used to identify a certain application in an embodiment of the present application.

[0185] In order to indicate the group served by the first EAS, the first request may carry a terminal identifier, which is used to identify information of a terminal and / or a group of terminals, and may specifically include one of the following: an identifier of the first terminal, an identifier of the first group, and an identifier of at least one terminal corresponding to the first group. The first group is the group to which the first terminal belongs, and the first group includes multiple terminals.

[0186] Among them, the identifier of the group (group) where the first terminal is located can be a group ID. The group ID is dynamically generated according to the identifiers of each terminal in a group of terminals. For some groups with fixed terminals (for example, some terminals installed on a production line, the applications installed are also dedicated to production applications, and generally do not change after successful installation), the group ID can also be pre-assigned. The identifier of the group where the first terminal is located can also be an AC-EAS session number (session). The AC-EASsession is determined according to the session path used when AC and EAS communicate. A group of terminals are on a session path, and a group of terminals can be uniquely identified according to the session number between EAS and AC. The identifier of the terminal can be a UE ID. The identifiers of multiple terminals in the group where the first terminal is located are multiple UE IDs, and multiple UE IDs can be called a terminal list UE list. The aforementioned group ID, AC-EAS session, and UE list can be collectively referred to as group information, that is, the group information mentioned later can be any one of them, or it can be information that is uniquely determined by UE list information and UEID.

[0187] In one implementation, the identifier carried by the first request includes only group information. In this implementation, the group information can uniquely identify a group of terminals in the entire communication network, and the first EES can determine the applications corresponding to the terminals in the group and the services corresponding to the applications based on the group information.

[0188] In another implementation, the identifier carried by the first request includes EAS ID, AC ID, and group information. The IDs of EASs providing the same service are the same, and application clients on different terminals use the same ID. In this implementation, the group information cannot uniquely identify a group of terminals in the entire network. An EAS can provide the same service for multiple applications, and different applications can have a group of terminals that are the same as the terminals in this group, and have the same group information. In addition, a group of terminals may use two types of services of an application at the same time. In other words, there may be another group of terminals, which includes multiple terminals that are the same as the terminals in this group, but the applications used by the two groups of terminals may be different, and the services used may also be different. The first EES may find an EAS that provides other business services or an EAS that provides services for other applications based on the group information. In this implementation, when the group information is the same, the first EES can further determine other EASs that provide the same business services as the first EAS based on the EAS ID, and can further determine the EAS corresponding to the first application in other EASs that provide the same business services as the first EAS based on the AC ID, or determine the group corresponding to the first application in multiple groups of terminals accessed by other EASs that provide the same business services as the first EAS.

[0189] Considering that the ACID of different operating systems may be different, ACID can be replaced by APP ID. The identifier carried in the first request includes EAS ID, APP ID, and group information.

[0190] In another implementation, the identifier carried by the first request includes EAS ID and group information, or the identifier carried by the first request includes AC ID and group information. In this implementation, the group information cannot uniquely identify a group of terminals in the entire network, but one EAS provides services for one application.

[0191] In addition, when the group information includes a UE list, the identifier carried in the first request may also include a UEID.

[0192] The first request also carries the first context application context, or indication information that the application context synchronization is required, or information requesting to store the first context.

[0193] The above information can also be carried in the subscription request message of Edge-3, such as terminal location subscription request (UElocation subscription request), ACR management event subscription request (ACR management eventssubscription request), AC information subscription request (AC information subscription request), QoS session creation / update / revoke request (Session with QoS create / update / revoke request) and other messages. The specific carrying message is not limited.

[0194] The indication information requiring application context synchronization may be used as a subscription event in a subscription request, or may be carried in a subscription request message as indication information.

[0195] S202: The first EES sends a response to the first EAS.

[0196] According to the difference between the first EES execution process and the storage address of the first context, the content carried in the response message is also different.

[0197] In one implementation, the first EES first sends a response to the first EAS, where the response message is used to prompt the first EAS whether the subscription is successful or failed.

[0198] In another implementation, the first EES processes the information carried in the first request before sending a response to the first EAS. If the first EAS stores the first context, the response message is used to prompt the first EAS whether the subscription is successful or failed. If the first EES stores the first context, the response information may also include the storage address of the first context in the first EES.

[0199] In another implementation, if the first EES stores application context information of the first application, i.e., includes the second context and related information, the first EES can determine the second context, i.e., execute step S203, or includes the first context and related information, the first EES can determine the first context, i.e., execute step S206, which will be explained later.

[0200] Corresponding to the first request, the response message may be an EAS discovery (subscription) response, or an application context synchronization (subscription) response Context sync (subscription) response.

[0201] S203, the first EES stores a first correspondence between at least one of the application identifier and the terminal identifier and related information of the application context, and searches locally for a second context and / or related information of the second context that needs to be synchronized according to at least one of the application identifier and the terminal identifier and the first correspondence.

[0202] The first EES is associated with multiple EASs, and each EAS may send an application context and / or related information of the application context, as well as an application identifier and a terminal identifier corresponding to the EAS to the first EES. After receiving this information, the first EES can determine a first correspondence between the application identifier, the terminal identifier and the related information of the application context.

[0203] The storage of the first context and the first corresponding relationship are described below.

[0204] In addition to carrying the identifier, in one implementation, the first request also carries the first context, indicating that the first EAS requests the first EES to store the first context. After receiving the first context, the first EES can allocate a storage resource for the first context, store the first context, and determine the storage address of the first context in the first EES.

[0205] In another implementation, the first request does not carry the first context, but carries information requesting to store the first context. The first EES can determine whether to store the first context based on its own situation. If the first EES determines to store the first context, the first EES can read the first context from the first EAS, or the first EES can obtain the first context from the first EAS. In this implementation, the EAS and the EES are preconfigured to use the EES to store the application context.

[0206] In the above two implementations, the first EES is responsible for storing the application context, and the first correspondence may include the correspondence between the storage address of the first context in the first EES (application context storage address) and the application identifier; or the first correspondence may include the correspondence between the storage address of the first context in the first EES (application context storage address) and the terminal identifier; or the first correspondence may include the correspondence between the storage address of the first context in the first EES (application context storage address) and the application identifier and the terminal identifier. The storage address of the first context in the first EES is the relevant information of the first context.

[0207] Specifically, if the identifier carried by the first request includes group information, the first EES stores the corresponding relationship between the storage address of the first context in the first EES and the group information. If the identifier carried by the first request includes EAS ID, group information, or ACID, group information, the first EES stores the storage address of the first context in the first EES and the group information, as well as the corresponding relationship between the EAS ID, or the storage address of the first context in the first EES and the group information and the AC ID. If the identifier carried by the first request includes APP ID and group information, the first EES stores the storage address of the first context in the first EES and the group information, as well as the corresponding relationship between the APP ID. If the identifier carried by the first request includes EAS ID, APP ID, and group information, the first EES stores the storage address of the first context in the first EES and the group information, the EAS ID, and the corresponding relationship between the APP ID. If the identifier carried by the first request includes EAS ID, AC ID, and group information, the first EES stores the storage address of the first context in the first EES and the group information, the EAS ID, and the corresponding relationship between the APP ID. If the identifier carried by the first request includes EAS ID, AC ID, and group information, the first EES stores the storage address of the first context in the first EES and the group information, the EAS ID, and the corresponding relationship between the AC ID. The first EES is responsible for storing application contexts, which can reduce the overhead of EAS storing application contexts.

[0208] The first request also includes relevant information of the first context, for example, address information of the first EAS, for example, the address information may be an IP address. The EAS information in the above first correspondence may include the address information of the first EAS in addition to the EAS ID, or the EAS information in the above first correspondence may replace the EAS ID with the address information of the first EAS. The address information mentioned here and subsequently refers to the address information of the first EAS in the network to which it belongs, and the address information of other functional entities such as the first EES, the second EES, the second EAS, etc. also refers to the address information in the network to which they belong.

[0209] In another implementation, the first request does not carry the first context, but carries indication information that application context synchronization is required, and the application context of the first EAS is still stored locally in the first EAS. The first correspondence may include the correspondence between EAS information and identification. Specifically, the information of the first EAS may be the first EAS ID and the address information of the first EAS. Taking the identification carried by the first request as group information as an example, the first correspondence may include the correspondence between the first EAS ID and the group information, and the correspondence between the address information of the first EAS and the group information. The first request also includes relevant information of the first context, for example, it may include the storage address of the first context in the first EAS, and the first correspondence may also include the correspondence between the storage address of the first context in the first EAS and the group information.

[0210] In summary, in the first request sent by the first EAS to the first EES, the relevant information of the first context may include at least one of the following: the first EAS ID, the address information of the first EAS, and the storage address of the first context in the first EAS. The first EES determines the first corresponding relationship based on the received first request, or the first EES has already stored the first corresponding relationship, and the first EES updates the first corresponding relationship based on the received first request. The relevant information of the first context stored by the first EES may include at least one of the following: the storage address of the first context in the first EES, the first EASID, the address information of the first EAS, and the storage address of the first context in the first EAS.

[0211] If a group of terminals access multiple EASs and a second EAS is registered on the first EES in addition to the first EAS, then similar to the storage process of the first context, it can be seen that the first correspondence includes the correspondence between the relevant information of the second context and at least one of the application identifier and the terminal identifier. After receiving the first request, the first EES can determine the relevant information of the second context based on the first correspondence and at least one of the application identifier and the terminal identifier.

[0212] In one implementation, after receiving the first request, the first EES locally searches for relevant information of the application context corresponding to the group information according to the application identifier, the group information and the first corresponding relationship, and determines the found relevant information of the application context as relevant information of the second context.

[0213] In another implementation, the first EES obtains the group information of the group to which the first terminal belongs (which may be groupID and / or UE list), and the first EES obtains which UEs are connected to the first EES. After receiving the first request, the first EES can determine whether the first EES serves all UEs in the group based on the group information and the UE identifiers connected to the first EES. If the first EES serves all UEs in the group, that is, a group of UEs access different EASs on the same EES, or if the first EES serves some UEs in the group except the first terminal, the first EES then searches for relevant information of the second context locally based on the application identifier, group information and the first corresponding relationship.

[0214] If the first EES does not find the first context or the second EAS identification information locally, because the second EAS is not registered on the first EES, or the first EES does not find all the first context or the second EAS identification information locally, that is, the first EES does not serve all UEs in the group, and multiple EASs accessed by a group of terminals are not all registered on the first EES, that is, a group of UEs access different EASs on different EESs, then the first EES can send a second request to the second EES, and can also send a third request to the first ECS, which will be described in detail later.

[0215] The following specifically describes how to search for the second context according to the identifier carried in the first request.

[0216] Since the first EES is associated with multiple EASs, one EAS can provide the same service for multiple applications. In addition, there may be another group of terminals, which includes multiple terminals that are the same as the terminals in this group, but the two groups of terminals may use different applications and may use different services. The first EES can search for an EAS with the same EAS ID as the second EAS on the first EES based on the first EAS ID. If the second EAS only serves one application, further judgment is made based on the group information. If the second EAS serves multiple applications, the first EES can further use the AC ID or APP ID of the first application to identify other EASs with the same AC ID or APP ID as the first EAS ID as the second EAS, and then further judge based on the group information.

[0217] Exemplarily, if the group information is a group ID, the first EES can determine whether relevant information of the application context corresponding to the same group ID is stored on the first EES based on the group ID. The EAS corresponding to the same group ID is the second EAS, and the relevant information of the application context corresponding to the same group ID is the relevant information of the second context.

[0218] If the group information is a UE list, the first EES may determine, based on the UE list, whether relevant information of the application context corresponding to the same UE list is stored on the first EES.

[0219] If the group information is information determined by UE ID and UE list, the first EES can determine whether the UE ID sent by the first EAS is in the stored UE list based on the UE list stored on the first EES. If the UE ID is in the stored UE list, the first EES has relevant information of the second context required by the first EAS.

[0220] If the group information is an AC-EAS session, the first EES may determine, according to the AC-EAS session ID, whether the first EES stores relevant information of the application context corresponding to the same AC-EAS session ID.

[0221] In summary, the first correspondence contains the same group information as the group information in the first request, indicating that the first EES has found the relevant information of the second context, and the first EES can synchronize the application context for the first EAS and the second EAS.

[0222] That is, the first EES determines whether the relevant information of the application context of the group to which the first terminal belongs has been stored before, based on the relevant information of the application context of each group stored, the application identifier, and the group information (group ID, UE list, UE ID, etc.), that is, whether the first EES has stored relevant information of the application context from multiple different EASs for the same group of terminals. If the first EES has stored the information of the group to which the first terminal belongs before receiving the first request, the first EES can determine the application context that needs to be synchronized between the first EAS and the second EAS, and synchronize the application context for the first EAS and the second EAS.

[0223] In the above process of determining the second context, the first EES may also first perform a local search based on the group information. When the group information is the same, the first EES may further determine other EASs with the same EASID as the first EASID based on the EAS ID, and may further determine the EAS with the same AC ID or APP ID as the second EAS among other EASs with the same AC ID or APP ID as the first EASID based on the AC ID or APP ID of the first application.

[0224] In addition, if the group information can uniquely identify the EAS, in the above process of determining the second context, the first EES can also search for the second context only based on the group information and the first corresponding relationship. Alternatively, if the EAS only serves one application and only one group, the first EES can also search for the second context only based on the application identifier and the first corresponding relationship.

[0225] S204: The second EAS sends a sixth request to the first EES.

[0226] The sixth request requests the first context and / or related information of the first context from the first EES. Specifically, the sixth request may be an EAS discovery (subscription) request, or an application context synchronization (subscription) request.

[0227] In the embodiment of the present application, the second EAS is registered in the first EES. Similar to the first request, the sixth request includes at least one of the following identifiers: the identifier of the first application, the identifier of the client of the first application, the identifier of the second EAS, the identifier of the second terminal, the identifier of the group to which the second terminal belongs, and the identifiers of multiple terminals in the group to which the second terminal belongs.

[0228] The sixth request also includes the second context and / or related information of the second context. The related information of the second context may include at least one of the following: an identifier of the second EAS, address information of the second EAS, and a storage address of the second context in the second EAS.

[0229] The relevant information of the second context stored in the first EES may include at least one of the following: a storage address of the second context in the first EES, a second EAS ID, address information of the second EAS, and a storage address of the second context in the second EAS.

[0230] According to the sixth request, the first EES can determine or update the first corresponding relationship. Step S204 may be executed before step S203, and the first corresponding relationship can be maintained on the first EES. The first EES can execute the above judgment process in step S203. In the embodiment of the present application, the first EAS and the second EAS serve the same group of terminals and provide the same application service. The first terminal and the second terminal are the same group of terminals. The AC ID, EAS ID, groupID, UElist, etc. carried in the first request and the sixth request are the same. Therefore, when the first EES executes the above judgment process in step S203, the relevant information of the second context can be determined according to the first corresponding relationship and the application identifier and group information. If step S204 is executed after step S203, and the first EES does not find the relevant information of the second context, the first EES can re-execute the judgment process in step S203 after a certain period of time according to the preset time interval.

[0231] S205: The first EES sends a response message to the second EAS.

[0232] The response information is used to indicate whether the subscription of the second EAS is successful or failed. Optionally, if the first EES stores the second context, the response information may also include a storage address of the second context in the first EES.

[0233] S206: The first EES determines relevant information of the first context according to at least one of the application identifier and the terminal identifier and the first corresponding relationship.

[0234] The details of steps S204-S206 can refer to steps S201-S203. It should be noted that step S203 can be executed between steps S201-S202, or after steps S201-S202, and the embodiment of the present application does not limit this. If step S203 is executed between steps S201-S202, and the first EES discovers a second EAS that needs to synchronize application context for the first EAS, the first EES can directly send the first response to the first EAS in step S202. Similarly, step S206 can be executed between steps S204-S205, or after steps S204-S205. There is no strict order between steps S201-S203 and steps S204-S206.

[0235] S207: The first EES sends a first response to the first EAS.

[0236] In the following, taking the identifier carried by the first request as group information as an example, if the first EES finds the relevant information of the second context, that is, there are multiple EASs in the same group that need to synchronize application contexts locally, the first EES can send the relevant information of the second context and the corresponding group information to the first EAS. That is, the first EES sends a first response to the first EAS, and the first response includes the second context and / or relevant information of the second context.

[0237] Specifically, in one implementation, the first EES is responsible for storing the application context, and the first EES may send the second context and / or group information to the first EAS, that is, the first response may include the second context and group information, where the group information is the same as the group information in the first request, and is used to indicate the terminal that needs the second context, that is, the function is to let the first EAS know which group of UEs the second context is synchronized to. If the first EAS only provides the first application service for the first group, the first response may only include the second context.

[0238] Alternatively, the first EES may send the storage address and / or group information of the second context in the first EES to the first EAS.

[0239] In another implementation, the EAS is responsible for storing the application context, that is, the first EAS is responsible for storing the first context, and the second EAS is responsible for storing the second context. The first EAS may send the second EAS identifier, the second EAS address information, at least one of the storage address of the second context in the second EAS, and / or group information to the first EAS.

[0240] Alternatively, the first EES may send a request to the second EAS to obtain the second context stored on the second EAS. After receiving the request, the second EAS may send the second context and / or the storage address of the second context in the second EAS to the first EES. Then, the first EES sends the received information as a first response to the first EAS.

[0241] The address information of EAS or the application context storage address can be carried in EAS discovery notification, application context synchronization notification, or other messages corresponding to step 1, such as Edge-3 subscription response message, which can be terminal location notification (UE location notification), ACR management event notification (ACR management events notification), AC information notification (AC information notification), QoS session create / update / revoke notification (Session with QoS create / update / revoke notification) and other messages, which are not limited in the embodiments of the present application.

[0242] S208: The first EES sends a sixth response to the second EAS.

[0243] The sixth response corresponds to the sixth request of step S204. Similar to the first response, the first EES sends the first context, the storage address of the first context in the first EES, the identifier of the first EAS, the address information of the first EAS, at least one of the storage address of the first context in the first EAS, and / or the group information to the second EAS. Such information may be carried in an EAS discovery notification or an application context synchronization notification, and for details, please refer to step S207.

[0244] S209: The first EAS and the second EAS read the application contexts that need to be synchronized according to the corresponding application context related information.

[0245] Specifically, when the first response includes address information, the first EAS can read the second context according to the address information of the second EAS, or the first EAS can read the second context from the storage address of the second context in the second EAS. Alternatively, the first EAS can read the second context from the storage address of the second context in the first EES.

[0246] Similarly, the second EAS can read the first context according to the address information of the first EAS, or the second EAS can read the first context from the storage address of the first context in the first EAS. Alternatively, the second EAS can read the first context from the storage address of the first context in the first EES.

[0247] In the embodiment of the present application, the first EES can store group information, EAS information, the storage address of the application context in the first EES, the storage address of the application context in the EAS, etc. When the first EES determines that more than one EAS among the EASs registered in itself serves the same group of users, the first EES can send notifications of synchronized application contexts to the corresponding first EAS and second EAS respectively. In this implementation scenario, the EES is responsible for application context synchronization, and the first EAS sends a request to the first EES. The first EES can determine the relevant information of the corresponding second context based on the application identifier, group information and the first corresponding relationship. The first EAS does not need to broadcast to the entire network, and the EAS that does not serve the group will not receive unnecessary synchronization request messages, which can reduce the implementation logic of the EAS and reduce signaling overhead. Since the number of EESs in the communication network is less than that of the EAS, the method provided in the embodiment of the present application can also improve the efficiency of searching and the efficiency of synchronizing application contexts.

[0248] Figure 3 A schematic flow chart of synchronizing application context is shown. In the embodiment of the present application, the second EAS accessed by the second terminal can be registered on other EESs in the EDN where the first EES is located. After receiving the first request, the first EES can send a second request to the second EES.

[0249] S301, the first EES or the second EES configures address information of other EESs.

[0250] For EESs in the same EDN, each EES can configure the address information of other EESs in the EDN. The first EES can pre-configure the address information of the second EES. The second EES can also pre-configure the address information of the first EES.

[0251] Alternatively, the first EES may obtain the address information of other EES in the same EDN from the ECS. Specifically, the first EES may send a request to the ECS to request the discovery of the EES in the same EDN, and the request carries the identification information of the first EES and the EDN information to which the first EES belongs, wherein the identification information of the first EES may be at least one of the EES ID, the EES address information, etc., and the above request may be carried in the first EES registration message. After receiving the request, the ECS determines that there are other EES that meet the requirements, that is, other EES in the same EDN, then the ECS sends the address information or ID of the other EES to the first EES, so that the first EES is configured with the address information of other EES in the same EDN.

[0252] S302: The first EAS sends a first request to the first EES.

[0253] For example, the first EAS may send an EAS discovery (subscription) request, or an application context synchronization (subscription) request, to the first EES.

[0254] S303: The first EES sends a response to the first EAS.

[0255] The response may be an EAS discovery (subscription) response, or an application context synchronization (subscription) response. Context sync (subscription) response.

[0256] S304, the first EES stores a first correspondence between at least one of the application identifier and the terminal identifier and related information of the application context, and searches locally for a second context and / or related information of the second context that needs to be synchronized based on at least one of the application identifier and the terminal identifier and the first correspondence.

[0257] The specific content of step S302 in the embodiment of the present application is Figure 2 The specific content of step S201 in the embodiment shown is the same as that of step S303. Figure 2 The specific content of step S202 in the embodiment shown is the same as that of step S304. Figure 2 The specific content of step S203 in the illustrated embodiments is the same and will not be repeated here for the sake of brevity.

[0258] S305: The second EAS sends a fifth request to the second EES.

[0259] The fifth request requests the second EES for the first context and / or related information of the first context. The fifth request may be an EAS discovery (subscription) request, or an application context synchronization (subscription) request.

[0260] The fifth request may include application context of at least one application and / or related information of application context of at least one application, as well as an identifier of the at least one application and a corresponding terminal identifier.

[0261] When at least one application includes the first application, the fifth request includes at least one of the following identifiers: the identifier of the first application, the identifier of the client of the first application, the identifier of the second EAS, the identifier of the second terminal, the identifier of the group to which the second terminal belongs, and the identifiers of multiple terminals in the group to which the second terminal belongs. The fifth request also includes the second context and / or related information of the second context. The related information of the second context may include at least one of the following: the identifier of the second EAS, the address information of the second EAS, and the storage address of the second context in the second EAS. If the fifth request includes the second context, the second EES can determine the storage address of the second context in the second EES.

[0262] The second EES is associated with multiple EASs, and the EASs associated with the second EES are different from the EASs associated with the first EES. The multiple EASs associated with the second EES may send application contexts and / or application context related information, as well as related application identifiers and terminal identifiers to the second EES. After receiving this information, the second EES can determine a third correspondence between at least one of the application identifiers and terminal identifiers and the application context related information. The functions of the second EES and the first EES are similar, and the implementation logic of the aforementioned first EES can be specifically referred to.

[0263] Specifically, the third correspondence may include the corresponding relationship between the relevant information of the second context and at least one of the application identifier and the terminal identifier. In the case where the second context is stored in the second EES, if the identifier carried by the fifth request includes EAS ID, group information, or AC ID, group information, the third correspondence includes the storage address and group information of the second context in the second EES, and the corresponding relationship of EAS ID, or the storage address and group information of the second context in the second EES and the corresponding relationship of AC ID. If the identifier carried by the fifth request includes APP ID and group information, the third correspondence includes the storage address and group information of the second context in the second EES, and the corresponding relationship of APP ID. If the identifier carried by the fifth request includes EAS ID, APP ID, and group information, the third correspondence includes the storage address and group information of the second context in the second EES, EAS ID, and APP ID. If the identifier carried by the fifth request includes EAS ID, AC ID, and group information, the third correspondence includes the storage address and group information of the second context in the second EES, EAS ID, and AC ID. Here, EAS ID is the second EAS ID, and the second EAS ID is replaced by the address information of the second EAS.

[0264] When the second EAS stores the second context, the third correspondence may include a correspondence between the EAS ID and the group information, a correspondence between the address information of the EAS and the group information, and a correspondence between the storage address of the second context in the second EAS and the group information.

[0265] S306: The second EES sends a response to the second EAS.

[0266] The response message is used to prompt the second EAS subscription success or failure. Optionally, if the second EES stores the second context, the response message may also be the storage address of the second context in the second EES.

[0267] S307, the second EES stores a third correspondence between at least one of the application identifier and the terminal identifier and the relevant information of the application context, and searches locally for relevant information of the first application context and / or the first context that needs to be synchronized based on at least one of the application identifier and the terminal identifier and the third correspondence.

[0268] Step S307 is used to respond to the fifth request. The implementation details of steps S305-S307 in the embodiment of the present application can refer to the implementation details of steps S302-S304, and there is no strict order between steps S302-S304 and steps S305-S307.

[0269] S308: The first EES sends a second request to the second EES.

[0270] The second request requests the second EES for the second context and / or related information of the second context. The second request may be an EAS discovery request message or an application context synchronization request message.

[0271] In an embodiment of the present application, in one implementation, after the first EES receives the first request, it can execute both step S304 and step S308. It should be noted that there is no strict order between steps S305-S307 and step S308.

[0272] In one implementation, after the first EES receives the first request, it first executes step S304. If the first EES does not find the second context and / or related information of the second context locally, or the first EES does not find all the second contexts and / or related information of the second context in the group locally, the first EES sends a second request to the second EES.

[0273] In a specific implementation, the first EES may search the entire network, and the first EES sends the second request to all other EESs in the entire network.

[0274] In a specific implementation, the first EES may first perform a search in the same EDN, and the first EES sends a second request to a second EES in the same EDN.

[0275] In a specific implementation, the first EES can select some EESs from multiple EESs in the EDN as the second EES according to the EAS ID, so as to narrow the search range and improve the efficiency of the detection search. Specifically, the first EES can select an EES with the same EAS ID as the second EES according to the EAS ID, that is, some of the EAS IDs of the multiple EASs associated with the first EES and the multiple EASs associated with the second EES are the same, and the first EES sends a second request to the second EES selected in the same EDN.

[0276] The second request has the same content as the first request. Figure 2 The embodiment shown.

[0277] S309: The second EES searches locally for relevant information of the second application context and / or the second context that needs to be synchronized according to at least one of the application identifier and the terminal identifier and the third corresponding relationship.

[0278] Step S307 is used to respond to the second request. From steps S302-S307, it can be seen that the second EES stores many groups of application context related information and the corresponding relationship between the application identifier and the terminal identifier. After receiving the second request, the second EES determines whether there is relevant information about the second application context and / or the second context on the second EES based on the application identifier, group information, and the stored third corresponding relationship.

[0279] The following specifically describes how the second EES searches for the second context.

[0280] The second EES can search for an EAS with the same EAS ID as the target second EAS based on the first EAS ID. If the target second EAS only serves one application, it can further make a judgment based on the group information. If the target second EAS serves multiple applications, the second EES can further search for an EAS with the same AC ID or APP ID as the first EAS ID based on the AC ID or APP ID of the first application, and then make a judgment based on the group information.

[0281] Specifically, if the group information is a group ID, the second EES can determine whether the relevant information of the application context corresponding to the same group ID is stored on the second EES according to the group ID. The relevant information of the application context corresponding to the same group ID is the relevant information of the second context.

[0282] If the group information is a UE list, the second EES may determine, based on the UE list, whether relevant information of the application context corresponding to the same UE list is stored on the second EES.

[0283] If the group information is information determined by UE ID and UE list, the second EES can determine whether the UE ID sent by the first EES is in the stored UE list based on the UE list stored on the second EES. If the UE ID is in the stored UE list, the second EES has relevant information about the second context required by the first EAS.

[0284] If the group information is AC-EAS session information, the second EES may determine, according to the AC-EAS session ID, whether the second EES stores relevant information of the application context corresponding to the same AC-EAS session ID.

[0285] In the above process of determining the second context, the second EES may also first perform a local search based on the group information. When the group information is the same, the second EES may further determine other EASs with the same EASID as the first EASID based on the EAS ID, and may further determine the EAS with the same AC ID or APP ID as the target second EAS among other EASs with the same AC ID or APP ID as the first EASID based on the AC ID or APP ID of the first application.

[0286] In addition, if the group information can uniquely identify the EAS, in the above process of determining the second context, the second EES can also search for the second context only based on the group information and the third correspondence. Alternatively, if the EAS only serves one application and only one group, the second EES can also search for the second context only based on the application identifier and the third correspondence.

[0287] The third corresponding relationship contains the same application identifier and group information as those in the second request, indicating that the second EES has found the relevant information of the second context. Further, the second EES can send the second context and / or the relevant information of the second context to the first EES. If the second EES does not find the relevant information of the second context, it can send a response to the first EES indicating that the relevant information of the second context has not been found. After receiving the response, the first EES can send the second request to the second EES again after a certain period of time according to a preset time interval.

[0288] S310: The second EES sends a second response to the first EES.

[0289] Reference Figure 2 In step S207 of the illustrated embodiment, if the second EES finds relevant information of the second context, the second response may include group information, and / or at least one of the following: the second context, the identifier of the second EAS, the address information of the second EAS, the storage address of the second context in the second EAS, the identifier of the second EES, the address information of the second EES, and the storage address of the second context in the second EES.

[0290] S311, the first EES sends a first response to the first EAS.

[0291] In one implementation, after receiving the second response, the first EES may directly forward the second response as the first response to the first EAS. In another implementation, the second response includes the storage address of the second context in the second EES, or the address information of the second EAS, or the storage address of the second context in the second EAS, etc. After receiving the second response, the first EES may obtain the second context according to the aforementioned address, and then generate the first response, and the first response carries the second context.

[0292] S312: The second EES sends a fifth response to the second EAS.

[0293] Similarly, after receiving the fifth request from the second EAS, the second EES also sends a fifth response to the second EAS. The fifth response includes group information and at least one of the following: the first context, the storage address of the first context in the second EES, the identifier of the third EAS, the address information of the third EAS, and the storage address of the first context in the third EAS. Among them, the third EAS and the second EAS serve the same group of terminals, and the application context stored in the third EAS is also called the first context. If the third EAS is the EAS associated with the second EES, the third EAS is different from the first EAS. If the third EAS is the EAS associated with the first EES, the third EAS is the first EAS.

[0294] If the third EAS is the EAS associated with the first EES, the second EES can send the seventh request to the first EES. The first EES searches for relevant information of the first context locally according to the application identifier, the group information and the first corresponding relationship. Then, the first EES can send a seventh response to the second EES, and the seventh response may include the identifier of the first EES, the address information of the first EES, the storage address of the first context in the first EES, the identifier of the first EAS, the address information of the first EAS, the storage address of the first context in the first EAS, etc. After the second EES receives the seventh response, it can send a fifth response to the second EAS. Reference can be made to the contents shown in steps S308-S311 here.

[0295] S313: The first EAS and the second EAS read the application context that needs to be synchronized according to the relevant information of the corresponding application context.

[0296] In other implementations, after step S309 , a step may be executed: the second EES sends a second response to the first EAS.

[0297] Figure 4 A schematic flow chart of synchronizing application context is shown. In an embodiment of the present application, the second EAS accessed by the second terminal can be registered on other EESs in the EDN where the first EES is located. In an embodiment of the present application, the execution logic (S409) of the second EES is the same as Figure 3 The embodiments shown are different.

[0298] S401, the first EES or the second EES configures address information of other EESs.

[0299] The content of S401 in the embodiment of this application can be specifically referred to Figure 3 S301 in the illustrated embodiment.

[0300] S402: The first EAS sends a first request to the first EES.

[0301] The content of S402 in the embodiment of this application can be specifically referred to Figure 3 S302 in the illustrated embodiment.

[0302] S403: The first EES sends a response to the first EAS.

[0303] The content of S403 in the embodiment of this application can be specifically referred to Figure 3 S303 in the illustrated embodiment.

[0304] S404, the first EES stores a first correspondence between at least one of the application identifier and the terminal identifier and related information of the application context, and searches locally for the second context and / or related information of the second context that needs to be synchronized based on the application identifier and at least one of the terminal identifier and the first correspondence in the first request.

[0305] The content of S404 in the embodiment of this application can be specifically referred to Figure 3 S304 in the illustrated embodiment.

[0306] S405: The second EAS sends a fifth request to the second EES.

[0307] The content of S405 in the embodiment of this application can be specifically referred to Figure 3 S305 in the illustrated embodiment.

[0308] S406: The second EES sends a response to the second EAS.

[0309] The content of S406 in the embodiment of this application can be specifically referred to Figure 3 S306 in the illustrated embodiment.

[0310] S407, the second EES stores a third correspondence between the identifier and the relevant information of the application context, and searches locally for the relevant information of the first application context and / or the first context that needs to be synchronized according to at least one of the application identifier and the terminal identifier in the fifth request and the third correspondence.

[0311] The content of S407 in the embodiment of this application can be specifically referred to Figure 3 S307 in the illustrated embodiment.

[0312] S408: The first EES sends a second request to the second EES.

[0313] The content of S408 above can be referred to Figure 3 S308 in the illustrated embodiment.

[0314] S409: The second EES sends a second response to the first EES.

[0315] The second response includes all information related to the application context on the second EES. For example, the IDs of all EASs registered on the second EES and / or the address information of the EAS, the storage address of the application context in the second EES, and the group information of each group of terminals on the second EES. This information includes the information of the second EAS and the related information of the second context, as well as the application identifier and group information corresponding to the second request.

[0316] S410: The first EES determines relevant information of the second context according to the second response and the group information obtained by itself.

[0317] The first EES can determine the relevant information of the second context from all the information related to the application context corresponding to the second EES based on the information received in the above step S409, as well as the application identification and group information obtained from the first request in steps S402-S404. The first EES can send the relevant information of the second context to the first EAS. The first EES can also obtain the second context based on the relevant information of the second context and send the second context to the first EAS, or store the second context after obtaining it and send the storage address of the second context in the first EES to the first EAS. Similarly, the seventh response sent by the first EES to the second EES can also be similar to S409-S410.

[0318] S411, the first EES sends a first response to the first EAS.

[0319] The content of S411 in the embodiment of this application can be specifically referred to Figure 3 S311 in the illustrated embodiment.

[0320] S412: The second EES sends a fifth response to the second EAS.

[0321] The content of S412 in the embodiment of this application can be specifically referred to Figure 3 S312 in the illustrated embodiment.

[0322] S413: The first EAS and the second EAS read the application context that needs to be synchronized according to the relevant information of the corresponding application context.

[0323] In the embodiment of the present application, when the first EES determines that there is no other EAS connected to the group of UEs on the first EES, the first EES can query other EESs in the EDN whether there is a second EAS that needs to synchronize application contexts or a second context that needs to be synchronized. In this implementation scenario, the EES is responsible for application context synchronization, which can reduce the implementation logic of the EAS and reduce signaling overhead.

[0324] Figure 5 A schematic flow chart of synchronizing application context is shown. In an embodiment of the present application, the second EAS accessed by the second terminal can be registered on other EESs in the EDN where the first EES is located. In an embodiment of the present application, the execution logic (S505-S506) of the second EES is the same as Figure 3 The embodiments shown are different.

[0325] S501: The first EES or the second EES configures address information of other EESs.

[0326] The content of S501 in the embodiment of this application can be specifically referred to Figure 3 S301 in the illustrated embodiment.

[0327] S502: The first EAS sends a first request to the first EES.

[0328] The content of S502 in the embodiment of this application can be specifically referred to Figure 3 S302 in the illustrated embodiment.

[0329] S503: The first EES sends a response to the first EAS.

[0330] The content of S503 in the embodiment of this application can be specifically referred to Figure 3 S303 in the illustrated embodiment.

[0331] S504: The first EES stores a first correspondence between an identifier and relevant information of the application context, and searches locally for a second context and / or relevant information of the second context that needs to be synchronized according to at least one of the application identifier and the terminal identifier and the first correspondence.

[0332] The content of S504 in the embodiment of this application can be specifically referred to Figure 3 S304 in the illustrated embodiment.

[0333] S505: The first EES sends a second request to the second EES.

[0334] At this time, the second request is an application context subscription request (context sync subscription request). For other details, please refer to S308.

[0335] S506: The second EES sends an application context subscription response (Context sync subscriptionresponse) to the first EES.

[0336] The response prompts the first EES whether the subscription is successful or failed. That is to say, in an embodiment of the present application, the first EES and the second EES subscribe to application context synchronization information with each other. After receiving the second request, if the second EES determines that there is no second context that needs to be synchronized, it can first return an application context subscription response, which does not carry relevant information of the second context, but indicates that the second EES has received the second request. After receiving the response, the first EES continues to wait for receiving the second response without sending the second request again. When the second EES receives the second context and / or relevant information of the second context, it can send the second context and / or relevant information of the second context to the first EES or the first EAS.

[0337] The second EAS also sends a context synchronization request to the second EES, referring to steps S501 - S506 , which are not shown in the figure.

[0338] S507, the second EES stores a third correspondence between at least one of the application identifier and the terminal identifier and the relevant information of the application context, and searches locally for relevant information of the second application context and / or the second context that needs to be synchronized based on at least one of the application identifier and the terminal identifier and the third correspondence.

[0339] The second EES determines the third corresponding relationship based on the information received from the EAS associated with it, see Figure 3 S305 in the illustrated embodiment. Step S507 searches for the content of the second context. Figure 3 S309 in the illustrated embodiment.

[0340] S508: The second EES sends a second response to the first EES.

[0341] Step S508 may refer to S310 or S409.

[0342] S509: The first EES sends an application context synchronization notification, ie, a first response, to the first EAS.

[0343] The content of step S509 may refer to step S311, or S410-S411.

[0344] S510: The first EAS reads the application context that needs to be synchronized according to the relevant information of the corresponding application context.

[0345] In the embodiment of the present application, EES can subscribe to each other's application context synchronization information. When EES determines that more than one EAS serves the same group of users, EES can send the application context storage address or EAS information to the corresponding EAS. In this implementation scenario, EES is responsible for application context synchronization, which can reduce the implementation logic of EAS and signaling overhead, that is, EAS that does not serve this group of terminals will not receive unnecessary synchronization request messages.

[0346] Figure 6 A schematic flow chart of synchronizing application context is shown. In an embodiment of the present application, a second EAS accessed by a second terminal may be registered on an EES in an EDN different from the EDN where the first EES is located.

[0347] S601: A first EAS sends a first request to a first EES.

[0348] The content of S601 in the embodiment of this application can be specifically referred to Figure 2 S201 in the illustrated embodiment.

[0349] S602: The first EES sends a response to the first EAS.

[0350] The content of S602 in the embodiment of this application can be specifically referred to Figure 2 S202 in the illustrated embodiment.

[0351] S603: The first EES stores a first correspondence between an identifier and relevant information of the application context, and searches locally for a second context and / or relevant information of the second context that needs to be synchronized according to at least one of the application identifier and the terminal identifier and the first correspondence.

[0352] The content of S603 in the embodiment of this application can be specifically referred to Figure 2 S203 in the illustrated embodiment.

[0353] S604: The first EES sends a third request to the first ECS.

[0354] The third request requests the first ECS for the second context and / or related information of the second context. The third request may be an EAS discovery (subscription) request, or an application context synchronization subscription request.

[0355] In one implementation, after receiving the first request, the first EES may perform both step S603 and step S604. In addition, the second request may be sent to the second EES.

[0356] In one implementation, after the first EES receives the first request, the first EES first determines whether there is relevant information about all the second contexts in the group in the EDN where it is located, or whether it is necessary to query the second context across EDNs. In the case that there is no relevant information about all the second contexts in the group in the EDN where the first EES is located, or it is necessary to query the second context across EDNs, the first EES sends a third request to the first ECS. Otherwise, in the case that there is relevant information about all the second contexts in the group in the EDN where the first EES is located, or it is not necessary to query the second context across EDNs, the first EES executes step S603.

[0357] In a specific implementation, before S604, after the first EES receives the first request, it executes step S603 and sends a second request to the second EES in the same EDN (refer to step S308). After the second EES receives the second request, it searches locally for the second context and / or related information of the second context that needs to be synchronized, and can refer to S308-S309. If the second EES does not find the relevant information of the second context that needs to be synchronized, the second EES can send a response to the first EES, and the response indicates that there is no second EAS in the EAS associated with the second EES, and the second EES does not have the required relevant information of the second context. Furthermore, after receiving the response, the first EES sends a third request to the first ECS.

[0358] S605: The first ECS returns an application context synchronization response, carrying indication information of a subscription success or failure.

[0359] S606: The first ECS stores a second correspondence between the identifier and the relevant information of the application context, and determines the relevant information of the second context according to at least one of the application identifier and the terminal identifier and the second correspondence.

[0360] The first ECS may control multiple EESs, and each EES may send an application context and / or application context related information, as well as a corresponding application identifier and terminal identifier to the first ECS. After receiving this information, the first ECS may determine a second corresponding relationship between at least one of the application identifier and the terminal identifier and the application context related information.

[0361] For example, the third request may carry the same information as the first request, or may carry information other than the first context. After receiving the third request, the first ECS determines the correspondence between the relevant information of the first context and the following information: group information; or, EAS ID, group information; or, AC ID, group information; or, APP ID, group information; or, EAS ID, APP ID, group information; or, group information, EAS ID, AC ID. The relevant information of the first context stored in the first ECS includes at least one of the following information: first EAS ID, first EAS address information, storage address of the first context in the first EAS, first EESID, first EES address information, storage address of the first context in the first EES.

[0362] For example, the first ECS may receive a fourth request from the second EES, the fourth request including at least one of the following identifiers: an identifier of the second terminal, an identifier of the group to which the second terminal belongs, identifiers of multiple terminals in the group to which the second terminal belongs, an identifier of the client of the first application, and an identifier of the second EAS.

[0363] The fourth request further includes at least one of the following: a second context, address information of a second EAS, a storage address of the second context in the second EAS, an identifier of a second EES, address information of the second EES, and a storage address of the second context in the second EES.

[0364] After receiving the fourth request, the first ECS determines the correspondence between the relevant information of the second context and the application identifier and the group information. The relevant information of the second context stored in the first ECS includes at least one of the following: the identifier of the second EAS, the address information of the second EAS, the storage address of the second context in the second EAS, the identifier of the second EES, the address information of the second EES, and the storage address of the second context in the second EES.

[0365] After receiving the third request, the first ECS determines the relevant information of the second context according to at least one of the application identifier and the terminal identifier and the second corresponding relationship. For details, reference may be made to the judgment logic of the first EES and the second EES.

[0366] The first ECS can search for an EAS with the same EAS ID as the target second EAS on the first ECS based on the first EAS ID. If the target second EAS only serves one application, further judgment is made based on the group information. If the target second EAS serves multiple applications, the first ECS can further search for an EAS with the same AC ID or APP ID as the first EAS ID based on the AC ID or APP ID of the first application and use other EASs with the same AC ID or APP ID as the target second EAS, and then further judge based on the group information.

[0367] Specifically, if the group information is a group ID, the first ECS can determine whether the first ECS stores relevant information of the application context corresponding to the same group ID according to the group ID, and the relevant information of the application context corresponding to the same group ID is the relevant information of the second context.

[0368] If the group information is a UE list, the first ECS may determine, based on the UE list, whether relevant information of the application context corresponding to the same UE list is stored on the first ECS.

[0369] If the group information is information determined by UE ID and UE list, the first ECS can determine whether the UE ID sent by the first EES is in the stored UE list based on the UE list stored on the first ECS. If the UE ID is in the stored UE list, the first ECS has relevant information about the second context required by the first EAS.

[0370] If the group information is AC-EAS session information, the first ECS may determine, according to the AC-EAS session ID, whether the first ECS stores relevant information of the application context corresponding to the same AC-EAS session ID.

[0371] In the above process of determining the second context, the first ECS may also first perform a local search based on the group information. When the group information is the same, the first ECS may further determine other EASs with the same ID as the first EAS based on the EAS ID, and may further determine the EAS with the same AC ID or APP ID as the target second EAS among other EASs with the same AC ID or APP ID as the first EAS based on the AC ID or APP ID of the first application.

[0372] In addition, if the group information can uniquely identify the EAS, in the above process of determining the second context, the first ECS can also search for the second context only based on the group information and the second correspondence. Alternatively, if the EAS only serves one application and only one group, the first ECS can also search for the second context only based on the application identifier and the second correspondence.

[0373] S607: The first ECS sends a third response to the first EES.

[0374] In one implementation, the first ECS determines the second EES, or the second context exists on the second EAS, and then sends a third response to the first EES. The third response may include group information, and at least one of the following: an identifier of the second EAS, address information of the second EAS, a storage address of the second context in the second EAS, an identifier of the second EES, address information of the second EES, and a storage address of the second context in the second EES.

[0375] S608: The first EES sends a first response to the first EAS.

[0376] The second EAS also sends a context synchronization request to the second EES, which is represented by steps S601'-S608' in the figure. S606' is not shown in the figure. Please refer to steps S601-S608 for details. When the first ECS determines that the first EES, or the first context is on the first EAS, the first ECS can send an application context synchronization subscription notification to the second EES (the fourth response). The second EES sends an application context synchronization subscription notification to the second EAS (the fifth response).

[0377] S609: The first EAS and the second EAS read the application context that needs to be synchronized according to the relevant information of the corresponding application context.

[0378] In another implementation, step S607 is replaced by S6071 (not shown in the figure): the first ECS sends a third response to the first EES. The third response includes information about all EES managed by the first ECS, and the IDs and / or address information of all EAS registered on each EES, the storage address of the application context in the EES, the storage address of the application context in the EAS, and the corresponding application identifier, group information of each group of terminals, and other information related to the application context. It can also be understood that the third response includes the second corresponding relationship. This information includes information about the target second EAS and related information of the second context, as well as the application identifier and group information corresponding to the third request.

[0379] Step S608 is replaced by S6081-S6082 (not shown in the figure).

[0380] S6081: The first EES determines relevant information of the second context according to the third response and the application identifier and group information obtained by itself.

[0381] The first EES can determine the relevant information of the second context from all the information related to the application context corresponding to the first ECS based on the information received in the above step S6071, as well as the application identifier and group information obtained from the first request in steps S601-S603. The first EES can send the relevant information of the second context to the first EAS. The first EES can also obtain the second context based on the relevant information of the second context, send the second context to the first EAS, or store the second context after obtaining it, and send the storage address of the second context in the first EES to the first EAS.

[0382] S6082: The first EES sends a first response to the first EAS. See S207 or S311.

[0383] In the embodiment of the present application, ECS acts as a centralized control entity and stores application contexts and / or related information corresponding to application contexts corresponding to EAS and EES in the entire network. This method can reduce the signaling interaction between EESs for mutual subscription, that is, EES does not need to subscribe to the required application context storage information from EESs in the entire network, thereby improving the efficiency of detection and search.

[0384] besides, Figure 7A schematic flow chart of synchronizing application context is shown. If all EASs other than the first EAS accessed by a group of terminals are not registered on the first EES, but are partially registered on the first EES and partially registered on other EESs in the EDN where the first EES is located, the first EES does not find the relevant information of the second context corresponding to all the second EASs locally, that is, the first EES does not serve all UEs in the group, that is, a group of UEs access different EASs on different EESs in the same EDN, then the first EES not only searches for the relevant information of the second context locally, but also sends a second request to the second EES in the same EDN, that is, in the embodiment of the present application, Figure 2 and Figure 3 The embodiments shown are combined. The details are as follows S701-S710.

[0385] S701: A first EAS sends a first request to a first EES.

[0386] The content of S701 in the embodiment of this application can be specifically referred to Figure 2 S201 in the illustrated embodiment.

[0387] S702: The first EES sends a response to the first EAS.

[0388] The content of S702 in the embodiment of this application can be specifically referred to Figure 2 S202 in the illustrated embodiment.

[0389] S703: The first EES searches locally for the second context and / or related information of the second context that needs to be synchronized according to at least one of the application identifier and the terminal identifier and the first corresponding relationship.

[0390] The content of S703 in the embodiment of this application can be specifically referred to Figure 2 S203 in the illustrated embodiment.

[0391] S704: The first EES stores a first correspondence between the identifier and the relevant information of the application context.

[0392] The content of S704 in the embodiment of this application can be specifically referred to Figure 2 S203-S206 in the illustrated embodiment.

[0393] S705: The second EES stores a third correspondence between the identifier and the relevant information of the application context.

[0394] At least one of the second EASs is registered on the first EES, the second EAS registered on the first EES is denoted as second EAS#1, and the second EAS registered on the second EES is denoted as second EAS#2.

[0395] The first EES communicates with the second EAS#1, and the second EES communicates with the second EAS#2. For details of S705, refer to S305.

[0396] S706: The first EES sends a second request to the second EES.

[0397] The first EES determines whether the relevant information of the second context is found locally or completely. If not, the first EES sends a second request to the second EES.

[0398] S707: The second EES searches locally for relevant information of the second application context and / or the second context that needs to be synchronized according to at least one of the application identifier and the terminal identifier and the third corresponding relationship.

[0399] The content of S707 in the embodiment of this application can be specifically referred to Figure 3 S309 in the illustrated embodiment.

[0400] S708: The second EES sends a second response to the first EES.

[0401] For details of S708, please refer to S310.

[0402] S709: The first EES sends a first response to the first EAS.

[0403] The first EES finds some relevant information of the second context locally, and the second response includes some relevant information of the second context found by the second EES. The first EES combines the two to determine the first response. Specifically, S207 and S311 can be combined.

[0404] S710: The first EAS reads the application context that needs to be synchronized according to the relevant information of the corresponding application context.

[0405] Figure 8 A schematic flow chart of synchronizing application context is shown. If all EASs other than the first EAS accessed by a group of terminals are not registered on the first EES, but are partially registered on the first EES, partially registered on other EESs in the EDN where the first EES is located, and partially registered on other EESs in a different EDN from the first EES, then the first EES not only searches for the second context locally, but also sends a second request to the second EES in the same EDN, the second EES returns part of the required application context to the first EES or returns information that there is no required application context, and the first EES sends a third request to the first ECS, that is, in the embodiment of the present application, Figure 2 , Figure 3 and Figure 6 The embodiments shown are combined. The details are as follows S801-S814.

[0406] S801: A first EAS sends a first request to a first EES.

[0407] The content of S801 in the embodiment of this application can be specifically referred to Figure 2 S201 in the illustrated embodiment.

[0408] S802: The first EES sends a response to the first EAS.

[0409] The content of S801 in the embodiment of this application can be specifically referred to Figure 2 S202 in the illustrated embodiment.

[0410] S803: The first EES searches locally for the second context and / or related information of the second context that needs to be synchronized according to at least one of the application identifier and the terminal identifier and the first corresponding relationship.

[0411] The content of S801 in the embodiment of this application can be specifically referred to Figure 2 S203 in the illustrated embodiment.

[0412] S804: The first EES stores a first correspondence between the identifier and the relevant information of the application context.

[0413] The content of S804 in the embodiment of this application can be specifically referred to Figure 2 S203-S206 in the illustrated embodiment.

[0414] S805: The second EES stores a third correspondence between the identifier and the relevant information of the application context.

[0415] The content of S805 in the embodiment of this application can be specifically referred to Figure 3 S305 in the illustrated embodiment.

[0416] S806: The first EES sends a second request to the second EES.

[0417] The first EES determines whether the relevant information of the second context is found locally or completely. If not, the first EES sends a second request to the second EES.

[0418] S807: The second EES searches locally for relevant information of the second application context and / or the second context that needs to be synchronized according to at least one of the application identifier and the terminal identifier and the third corresponding relationship.

[0419] The content of S807 in the embodiment of this application can be specifically referred to Figure 3 S309 in the illustrated embodiment.

[0420] At least one of the second EASs is registered on the first EES, and the second EAS registered on the first EES is represented as second EAS#1. The second EES in the same EDN as the first EES is represented as second EES#1. The second EAS registered on the second EES#1 is represented as second EAS#2. The second EES in a different EDN from the first EES is represented as second EES#2. The second EAS registered on the second EES#1 is represented as second EAS#3.

[0421] The first EES communicates with the second EAS#1. The second EES#1 communicates with the second EAS#2. The second EES#2 communicates with the second EAS#3. The first EES, the second EES#1, and the second EES#2 all communicate with the first ECS.

[0422] S808: The second EES sends a second response to the first EES.

[0423] The content of the second response refers to S310 or S409. After receiving the second response, the first EES determines whether all application context related information has been obtained according to the second response. If all application context related information corresponding to a group of terminals has not been obtained, it can continue to send a third request to the first ECS.

[0424] S809: The first ECS obtains the relevant information of the second context on the second EAS#3, and maintains the second corresponding relationship.

[0425] The first ECS determines the second corresponding relationship, and specific S809 may refer to S606.

[0426] S810: The first EES sends a third request to the first ECS.

[0427] S811: The first ECS determines relevant information of the second context according to at least one of the application identifier and the terminal identifier and the second corresponding relationship.

[0428] S812: The first ECS sends a third response to the first EES.

[0429] For details of S811, please refer to S606, and for S812, please refer to S607.

[0430] S813: The first EES sends a first response to the first EAS.

[0431] The first EES integrates the received second response, the third response and the related information of the second context found by itself to determine the first response, which may be specifically combined with S207, S311 and S608.

[0432] S814: The first EAS reads the application context that needs to be synchronized according to the relevant information of the corresponding application context.

[0433] To summarize, when the application contexts corresponding to a group of terminals are in the same EES, EES determines the application contexts that need to be synchronized based on the relevant information of the application contexts corresponding to a certain application / a certain group. At this time, EES maintains the application contexts, which can reduce the signaling overhead of EAS; when the application contexts corresponding to a group of terminals are in different EESs, EES searches other EESs in the same EDN for the relevant information of the application contexts corresponding to a certain application / a certain group, and determines the application contexts that need to be synchronized. At this time, there is no need to introduce a centralized entity to maintain all the application contexts, which is suitable for the situation where there are fewer EESs in a certain EDN; when the application contexts corresponding to a certain group are in different EESs, and the relevant information of the application contexts corresponding to the group is maintained by ECS, ECS can determine the application contexts that need to be synchronized. At this time, ECS or a centralized entity maintains the application contexts, which can reduce the signaling overhead of mutual searches between EESs.

[0434] This application Figure 2-Figure 8 In the illustrated embodiment, in the above method embodiment that does not affect the implementation, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. And it is possible that not all operations in the above method embodiment need to be executed.

[0435] It should be understood that each functional entity in the above method embodiment can execute part or all of the steps in the embodiment, and these steps or operations are only examples. The embodiment of the present application can also include executing other operations or variations of various operations.

[0436] It can be understood that, in the above method embodiments, the method implemented by EAS, EES or ECS can also be implemented by components (such as chips or circuits, etc.) that can be used for EAS, EES or ECS.

[0437] It should also be understood that in the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments may be consistent and may be referenced to each other, and the technical features in different embodiments may be combined to form new embodiments according to their inherent logical relationships.

[0438] Combined with the above Figures 2 to 8 The method for synchronizing application context in the embodiment of the present application is described in detail. Fig. 9 and Fig.10 Detailed description of the embodiments of the present application provides a communication device.

[0439] See also Fig. 9 , Fig. 9 Schematic diagram of the communication device provided by this application. Fig. 9 As shown, the communication device 900 may include a communication unit 910, and optionally may also include a processing unit 920. The communication unit 910 may implement a corresponding communication function, and the communication may be internal communication of the communication device 900 or communication between the communication device 900 and other devices; the processing unit 920 may implement a corresponding processing function. The communication unit 910 may also be referred to as a communication interface or a transceiver unit. Optionally, the communication device 900 may also include a storage unit, which may be used to store instructions and / or data, and the processing unit 920 may read the instructions and / or data in the storage unit, so that the communication device 900 implements the aforementioned method embodiment.

[0440] In a possible design, the communication device 900 may be the first EES in the above method embodiment, or may be a module or chip applied to the first EES. The communication device 900 may be used to execute the steps or processes executed by the first EES in the above embodiments.

[0441] Specifically, the communication unit 910 is used to: receive a first request from a first edge application server EAS, the first request is used to request a second context and / or related information about the second context from the first EES, the first EAS is one EAS of at least one EAS associated with the first EES; send a first response to the first EAS, the first response includes the second context and / or related information about the second context.

[0442] The first request includes at least one of an application identifier and a terminal identifier. The processing unit 920 is configured to determine the relevant information of the second context according to at least one of the application identifier and the terminal identifier, and a first correspondence between the identifier and the relevant information of the application context.

[0443] The first request includes an application identifier and a terminal identifier. The application identifier may include an identifier of the first application. The identifier of the first application includes at least one of the following: an identifier of the first application, an identifier of a client of the first application, and an identifier of the first EAS.

[0444] The terminal identification may include at least one of the following information: an identification of the first terminal, an identification of the group to which the first terminal belongs, and identifications of multiple terminals in the group to which the first terminal belongs, wherein the first EAS provides services for the first terminal, and multiple terminals in the group to which the first terminal belongs use the first application and have a need to synchronize application contexts.

[0445] The relevant information of the second context includes at least one of the following: the storage address of the second context in the first EES, the identifier of the second EAS, the address information of the second EAS, and the storage address of the second context in the second EAS, wherein the second EAS provides services of the first application to other terminals in the group where the first terminal is located.

[0446] The communication unit 910 is also used to: send a second request to the second EES, the second request is used to request the second context and / or related information of the second context from the second EES; receive a second response from the second EES, the second response includes the second context and / or related information of the second context.

[0447] Alternatively, the communication unit 910 is also used to: send a second request to the second EES when the first EES has not determined the relevant information of the second context, the second request being used to request the second context and / or related information of the second context from the second EES; and receive a second response from the second EES, the second response including the second context and / or related information of the second context.

[0448] Alternatively, the communication unit 910 is also used to: send a second request to a second EES, the second request being used to request a second context and / or related information of the second context from the second EES; receive a second response from the second EES, the second response including the application context of at least one application and / or related information of the application context of at least one application, and at least one of the corresponding application identifier and terminal identifier; the processing unit 920 is also used to: determine the application context of the first application and / or related information of the application context of the first application from the application context of at least one application and / or related information of the application context of at least one application based on at least one of the application identifier and the terminal identifier in the first request.

[0449] The communication unit 910 is also used to: send a third request to the first ECS, the third request requests the first ECS for the second context and / or related information of the second context; receive a third response from the first ECS, the third response includes the second context and / or related information of the second context.

[0450] Alternatively, the communication unit 910 is also used to: send a third request to the first ECS when the first EES or the second EES has not determined the relevant information of the second context, and the third request requests the first ECS for the second context and / or related information of the second context; and receive a third response from the first ECS, and the third response includes the second context and / or related information of the second context.

[0451] Alternatively, the communication unit 910 is also used to: send a third request to the first ECS, the third request requests the first ECS for the second context and / or related information of the second context; receive a third response from the first ECS, the third response including the application context of at least one application and / or related information of the application context of at least one application, and at least one of the corresponding application identifier and terminal identifier; the processing unit 920 is also used to: determine the application context of the first application and / or related information of the application context of the first application from the application context of at least one application and / or related information of the application context of at least one application based on at least one of the application identifier and the terminal identifier in the first request.

[0452] The relevant information of the second context includes at least one of the following: an identifier of the second EES, address information of the second EES, and a storage address of the second context in the second EES.

[0453] The communication unit 910 is further configured to: receive a sixth request from the second EAS, where the sixth request includes the second context and / or related information of the second context.

[0454] The processing unit 920 is also used to: determine a first correspondence between at least one of the application identifier, the terminal identifier and relevant information of the application context according to the sixth request, the first correspondence including a correspondence between at least one of the application identifier, the terminal identifier and relevant information of the second context.

[0455] The communication unit 910 is further configured to: send a sixth response to the second EAS, where the sixth response includes the first context and / or related information of the first context.

[0456] The first request includes the first user context and / or related information of the first context. The processing unit 920 is further configured to: determine, according to the first request, a corresponding relationship between at least one of the application identifier and the terminal identifier and the related information of the first context.

[0457] In a possible design, the communication device 900 may be the first EAS in the above method embodiment, or may be a module or chip applied to the first EAS. The communication device 900 may be used to execute the steps or processes executed by the first EAS in the above embodiments.

[0458] Specifically, the communication unit 910 is used to: send a first request to the first EES, the first request requests the first EES for the second context and / or related information of the second context, the first EAS is one EAS of at least one EAS associated with the first EES; receive a first response from the first EES, the first response includes the second context and / or related information of the second context.

[0459] The first request may include at least one of an application identifier and a terminal identifier. The application identifier may include at least one of the following: an identifier of the first application, an identifier of a client of the first application, and an identifier of the first EAS.

[0460] The terminal identification may include at least one of the following information: an identification of the first terminal, an identification of the group to which the first terminal belongs, and identifications of multiple terminals in the group to which the first terminal belongs, wherein the first EAS provides services for the first terminal, and multiple terminals in the group to which the first terminal belongs use the first application and have a need to synchronize application contexts.

[0461] The relevant information of the second context includes at least one of the following: the storage address of the second context in the first EES, the identifier of the second EAS, the address information of the second EAS in the communication network, the storage address of the second context in the second EAS, the identifier of the second EES, the address information of the second EES in the communication network, and the storage address of the second context in the second EES, wherein the second EAS provides services of the first application to other terminals in the group where the first terminal is located.

[0462] In a possible design, the communication device 900 may be the first ECS in the above method embodiment, or may be a module or chip applied to the first ECS. The communication device 900 may be used to execute the steps or processes executed by the first ECS in the above embodiments.

[0463] Specifically, the communication unit 910 is used to: receive a third request from the first EES, the third request is used to request the second context and / or related information of the second context from the first ECS; send a third response to the first EES, the third response includes the application context of at least one application and / or related information of the application context of at least one application.

[0464] In another implementation, the at least one application includes a first application, and the third response includes a second context and / or related information of the second context.

[0465] The third request includes at least one of an application identifier and a terminal identifier, and the processing unit 920 is used to determine relevant information of the second context according to at least one of the application identifier and the terminal identifier, and a second correspondence between the identifier and relevant information of the application context.

[0466] The communication unit 910 is further configured to: receive a fourth request from the second EES; and send a fourth response to the second EES, where the fourth response includes the first context and / or related information of the first context.

[0467] The processing unit 920 is also used to: determine a second correspondence between the application identifier, the terminal identifier and the relevant information of the application context according to the fourth request and / or the third request, the second correspondence including the correspondence between at least one of the application identifier, the terminal identifier and the relevant information of the second context.

[0468] In a possible design, the communication device 900 may be the second EES in the above method embodiment, or may be a module or chip applied to the second EES. The communication device 900 may be used to execute the steps or processes executed by the second EES in the above embodiments.

[0469] Specifically, the communication unit 910 is used to: receive a fifth request from the second EAS, the fifth request being used to request the first context and / or related information of the first context from the second EES, the second EAS being one of the at least one EAS associated with the second EES; and send a fifth response to the second EAS based on the fifth request, the fifth response including the first context and / or related information of the first context.

[0470] The communication unit 910 is further configured to: send a fourth request to the first ECS, the fourth request requesting the first ECS for the first context and / or related information of the first context; and receive a fourth response from the first ECS, the fourth response including the first context and / or related information of the first context. In some implementations, the fourth response includes the application context of at least one application and / or related information of the application context of at least one application.

[0471] The communication unit 910 is further configured to: receive a second request from the first EES, the second request being used to request a second context and / or related information of the second context from the second EES; and send a second response to the first EES according to the second request, the second response including the second context and / or related information of the second context. In some implementations, the second response includes an application context of at least one application and / or related information of the application context of at least one application.

[0472] The communication unit 910 is also used to: send a seventh request to the first EES, the seventh request requests the first EES for the first context and / or related information of the first context; receive a seventh response from the first EES, the seventh response includes the first context and / or related information of the first context.

[0473] In a possible design, the communication device 900 may be the second EAS in the above method embodiment, or may be a module or chip applied to the second EAS. The communication device 900 may be used to execute the steps or processes executed by the second EAS in the above embodiments.

[0474] Specifically, the communication unit 910 is used to: send a fifth request to the second EES, the fifth request is used to request the first context and / or related information of the first context from the second EES; receive a fifth response from the second EES, the fifth response includes the first context and / or related information of the first context.

[0475] Regarding the steps or processes executed by each unit in the communication device 900, specific reference may be made to the above method embodiments, which will not be described in detail here.

[0476] It should be understood that the "unit" in the communication device 900 can be implemented by hardware, can be implemented by software, and can also be implemented by hardware executing the corresponding software implementation. For example, the "unit" can refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit and / or other suitable components that support the described functions. For another example, the communication unit 910 can be replaced by a transceiver transceiver circuit (for example, it can include a receiving circuit and a transmitting circuit), and the processing unit 920 can be replaced by a processor or a processing circuit.

[0477] See also Fig.10 , Fig.10 1 is a schematic diagram of the structure of a communication device 1000 applicable to an embodiment of the present application. The device 1000 may be a first EES, a first EAS, a first ECS, a second EES or a second EAS, or may be a chip, a chip system, or a processor that supports the first EES, the first EAS, the first ECS, the second EES or the second EAS to implement the above method. The device may be used to implement the method described in the above method embodiment, and the details may refer to the description in the above method embodiment.

[0478] The communication device 1000 includes one or more processors 1001, which may also be called a processing unit, and may implement certain control functions. The processor 1001 may be a general-purpose processor or a dedicated processor.

[0479] In an optional design, the processor 1001 may also store instructions and / or data, which can be executed by the processor 1001 so that the communication device 1000 executes the method described in the above method embodiment.

[0480] In another optional design, the communication device 1000 may include a communication interface 1003 for implementing the receiving and sending functions. For example, the communication interface 1003 may be a transceiver circuit, an interface, an interface circuit, or a transceiver. The transceiver circuit, interface, interface circuit, or transceiver for implementing the receiving and sending functions may be separate or integrated. The above-mentioned transceiver circuit, interface, interface circuit, or transceiver may be used for reading and writing code / data, or the above-mentioned transceiver circuit, interface, interface circuit, or transceiver may be used for transmitting or delivering signals.

[0481] Optionally, the communication device 1000 may include one or more memories 1002, on which instructions may be stored, and the instructions may be executed on the processor 1001, so that the communication device 1000 performs the method described in the above method embodiment. Optionally, data may also be stored in the memory 1002. Optionally, instructions and / or data may also be stored in the processor 1001. The processor 1001 and the memory 1002 may be provided separately or integrated together.

[0482] Those skilled in the art will appreciate that for ease of description, Fig.10 Only one memory and processor are shown. In an actual device, there may be multiple processors and memories. The memory may also be referred to as a storage medium or a storage device, etc., which is not limited in the embodiments of the present application.

[0483] It should be understood that in a possible design, each step in the method embodiment provided by the present application can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0484] It should be noted that the processor in the embodiment of the present application may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method embodiment may be completed by an integrated logic circuit of hardware in the processor or by instructions in software form.

[0485] In the embodiment of the present application, the processor may be a CPU, and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiment of the present application may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps of the above method in conjunction with its hardware.

[0486] It should be understood that in the embodiment of the present application, the memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. The memory may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0487] The embodiment of the present application provides a communication network, including at least one EES and multiple EASs, the EES is used to execute the steps executed by the first EES and the second ESS in the method embodiment, and the EAS is used to execute the steps executed by the first EAS and the second EAS in the method embodiment. The communication network may also include at least one ECS, and the ECS is used to execute the steps executed by the first ECS in the method embodiment.

[0488] An embodiment of the present application provides a computer storage medium, which stores a computer program (also referred to as code or instruction) that, when executed on a computer, enables the computer to execute the method for transmitting a message of an embodiment of the present application.

[0489] An embodiment of the present application provides a computer program product containing instructions, which includes: a computer program (also referred to as code, or instructions), which, when executed, enables a computer to execute the method for transmitting a message of an embodiment of the present application.

[0490] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0491] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0492] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0493] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0494] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0495] 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.

[0496] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0497] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for synchronizing application context, characterized in that: The method is applied to a first edge enabling server EES, and the method comprises: receiving a first request from a first edge application server EAS, the first request being used to request an application context of a first application and / or related information of the application context of the first application from the first EES, the first EAS being one of at least one EAS associated with the first EES; A first response is sent to the first EAS according to the first request, where the first response includes the application context of the first application and / or related information of the application context of the first application.

2. The method according to claim 1, characterized in that: The first request includes at least one of an application identifier and a terminal identifier. After receiving the first request from the first EAS, the method further includes: Determine the relevant information of the application context of the first application according to at least one of the application identifier and the terminal identifier in the first request and a first corresponding relationship between at least one of the application identifier and the terminal identifier and the relevant information of the application context.

3. The method according to claim 2, characterized in that The application identifier includes at least one of the following: an identifier of the first application, an identifier of a client of the first application, and an identifier of the first EAS.

4. The method according to claim 2 or 3, characterized in that: The terminal identification includes at least one of the following information: an identification of a first terminal, an identification of a first group, and an identification of at least one terminal corresponding to the first group, wherein the first EAS provides a service for the first terminal.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Sending a second request to a second EES, where the second request is used to request the application context of the first application and / or related information of the application context of the first application from the second EES; A second response is received from the second EES, where the second response includes the application context of the first application and / or related information of the application context of the first application.

6. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Sending a second request to a second EES, where the second request is used to request the application context of the first application and / or related information of the application context of the first application from the second EES; receiving a second response from the second EES, the second response including an application context of at least one application and / or related information of the application context of the at least one application, and at least one of a corresponding application identifier and a terminal identifier; According to at least one of the application identifier and the terminal identifier in the first request, determine the application context of the first application and / or the related information of the application context of the first application from the application context of the at least one application and / or the related information of the application context of the at least one application.

7. The method according to claim 5 or 6, characterized in that: The method further comprises: Sending a third request to a first edge configuration server ECS, where the third request is used to request the first ECS for an application context of the first application and / or related information of the application context of the first application; receiving a third response from the first ECS, the third response including an application context of at least one application and / or related information of the application context of the at least one application, and at least one of a corresponding application identifier and a terminal identifier; According to at least one of the application identifier and the terminal identifier in the first request, determine the application context of the first application and / or the related information of the application context of the first application from the application context of the at least one application and / or the related information of the application context of the at least one application.

8. The method according to claim 7, characterized in that The relevant information of the application context of the at least one application includes at least one of the following: the identification of at least one EES, the address information of at least one EES, the identification of at least one EAS, the address information of at least one EAS, and the storage address of the application context of the at least one application.

9. The method according to claim 8, characterized in that The relevant information of the application context of the first application includes at least one of the following: the storage address of the application context of the first application, the identifier of the second EAS, the address information of the second EAS, the identifier of the second EES, and the address information of the second EES, wherein the second EAS provides the service of the first application to other terminals in the first group, and the second EAS is one of the at least one EAS associated with the first EES or the second EES.

10. A method for synchronizing application context, characterized in that: The method is applied to a first edge application server EAS, and the method includes: Sending a first request to a first edge enabling server EES, where the first request is used to request an application context of a first application and / or related information of the application context of the first application from the first EES, where the first EAS is one of at least one EAS associated with the first EES; A first response is received from the first EES, where the first response includes an application context of the first application and / or related information of the application context of the first application.

11. The method according to claim 10, characterized in that The first request includes an application identifier, and the application identifier includes at least one of the following: an identifier of the first application, an identifier of a client of the first application, and an identifier of a first EAS.

12. The method according to claim 10 or 11, characterized in that: The first request includes a terminal identification, and the terminal identification includes at least one of the following information: an identification of a first terminal, an identification of a first group, and an identification of at least one terminal corresponding to the first group, wherein the first EAS provides service for the first terminal.

13. The method according to claim 12, characterized in that The relevant information of the application context of the first application includes at least one of the following: the storage address of the application context of the first application, the identifier of the second EAS, the address information of the second EAS, the identifier of the second EES, and the address information of the second EES, wherein the second EAS provides the service of the first application to other terminals in the first group.

14. A method for synchronizing application context, characterized in that: The method is applied to a first edge configuration server ECS, and the method includes: receiving a third request from the first edge enabling server EES, where the third request is used to request the first ECS for an application context of the first application and / or related information of the application context of the first application; A third response is sent to the first EES, where the third response includes an application context of at least one application and / or related information of the application context of the at least one application.

15. The method according to claim 14, characterized in that The third request includes at least one of an application identifier and a terminal identifier, the at least one application includes a first application, and after receiving the third request from the first EES, the method further includes: Determine the relevant information of the application context of the first application according to at least one of the application identifier and the terminal identifier in the third request and a second corresponding relationship between at least one of the application identifier and the terminal identifier and the relevant information of the application context.

16. The method according to claim 15, characterized in that The method further comprises: receiving a fourth request from the second EES; According to the fourth request and / or the third request, a second correspondence between at least one of the application identifier, the terminal identifier and the relevant information of the application context is determined, wherein the second correspondence includes a correspondence between at least one of the application identifier, the terminal identifier and the relevant information of the application context of the first application.

17. The method according to claim 16, characterized in that The fourth request includes at least one of the following identifiers: an identifier of the second terminal, an identifier of the second group, an identifier of at least one terminal corresponding to the second group, an identifier of at least one application, an identifier of a client of the at least one application, and an identifier of at least one EAS, wherein the at least one EAS is an EAS associated with the second EES and provides services for the second terminal.

18. The method according to claim 17, characterized in that The fourth request further includes at least one of the following: an application context of the at least one application, address information of at least one EAS, a storage address of the application context of the at least one application, an identifier of the second EES, and address information of the second EES.

19. The method according to claim 18, characterized in that The fourth request includes the application context of the first application, the storage address of the application context of the first application, the identifier of the first application, and the identifier of the client of the first application.

20. The method according to any one of claims 16 to 19, characterized in that After receiving the fourth request from the second EES, the method further includes: A fourth response is sent to the second EES, where the fourth response includes application context of the first application corresponding to the first terminal and / or related information of the application context of the first application corresponding to the first terminal.

21. A method for synchronizing application context, characterized in that: The method is applied to a second edge enabling server EES, and the method includes: receiving a fifth request from a second edge application server EAS, the fifth request being used to request an application context of a first application and / or related information of the application context of the first application from the second EES, the second EAS being one of at least one EAS associated with the second EES; A fifth response is sent to the second EAS according to the fifth request, where the fifth response includes the application context of the first application and / or related information of the application context of the first application.

22. The method according to claim 21, characterized in that The method further comprises: Sending a fourth request to the first ECS, wherein the fourth request requests the first ECS for an application context of the first application and / or related information of the application context of the first application; receiving a fourth response from the first ECS, the fourth response including an application context of at least one application and / or related information of the application context of the at least one application; The application context of the first application and / or the related information of the application context of the first application is determined from the application context of the at least one application and / or the related information of the application context of the at least one application.

23. The method according to claim 21 or 22, characterized in that The method further comprises: receiving a second request from the first EES, where the second request is used to request the second EES for an application context of a first application corresponding to a second terminal and / or related information of an application context of the first application corresponding to the second terminal; A second response is sent to the first EES according to the second request, where the second response includes an application context of the first application corresponding to the second terminal and / or related information of the application context of the first application corresponding to the second terminal.

24. The method according to claim 21 or 22, characterized in that The method further comprises: receiving a second request from the first EES, where the second request is used to request the second EES for an application context of a first application corresponding to a second terminal and / or related information of an application context of the first application corresponding to the second terminal; A second response is sent to the first EES according to the second request, wherein the second response includes an application context of at least one application and / or related information of the application context of the at least one application, and at least one of a corresponding application identifier and a terminal identifier.

25. A method for synchronizing application context, characterized in that: The method is applied to a second edge application server EAS, and the method includes: Sending a fifth request to a second edge enabling server EES, wherein the fifth request is used to request an application context of the first application and / or related information of the application context of the first application from the second EES, where the second EAS is one of at least one EAS associated with the second EES; A fifth response is received from the second EES, where the fifth response includes the application context of the first application and / or related information of the application context of the first application.

26. A communication device, characterized in that: A unit comprising the steps of the method as claimed in any one of claims 1 to 9, or a unit comprising the steps of the method as claimed in any one of claims 10 to 13, or a unit comprising the steps of the method as claimed in any one of claims 14 to 20, or a unit comprising the steps of the method as claimed in any one of claims 21 to 24, or a unit comprising the steps of the method as claimed in claim 25.

27. A communication device, characterized in that: include: A processor, wherein the processor is coupled to a memory, wherein the memory is used to store programs or instructions, wherein when the programs or instructions are executed by the processor, the communication device executes: the method according to any one of claims 1 to 9, or the method according to any one of claims 10 to 13, or the method according to any one of claims 14 to 20, or the method according to any one of claims 21 to 24, or the method according to claim 25.

28. A computer readable medium for storing a computer program, characterized in that: When the computer program runs on a computer, the computer executes: the method according to any one of claims 1 to 9, or the method according to any one of claims 10 to 13, or the method according to any one of claims 14 to 20, or the method according to any one of claims 21 to 24, or the method according to claim 25.

29. A communication device, characterized in that: Comprising a processor and an interface, the interface being used to send and / or receive signals so that the processor executes: the method as described in any one of claims 1-9, or the method as described in any one of claims 10-13, or the method as described in any one of claims 14-20, or the method as described in any one of claims 21-24, or the method as described in claim 25.

30. A computer program product, characterized in that Comprising computer program instructions, which cause the computer to execute: the method as claimed in any one of claims 1-9, or the method as claimed in any one of claims 10-13, or the method as claimed in any one of claims 14-20, or the method as claimed in any one of claims 21-24, or the method as claimed in claim 25.