Method for synchronizing application context and communication apparatus
The application context is synchronized between application servers (EAS) through the Edge Enablement Server (EES), which solves the problems of high signaling overhead and low efficiency when synchronizing application contexts in multiple edge data networks, and achieves more efficient signaling interaction. and application context management.
Patent Information
- Application Number
- PCT/CN2024/088827
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2024-04-19
- Publication Date
- 2024-10-31
AI Technical Summary
When application context synchronization is performed between servers of the same application deployed in multiple edge data networks, there are unnecessary signaling overhead and inefficiency issues, especially since the interaction between different edge application servers requires network-wide broadcast. This results in high signaling overhead and low efficiency.
By introducing the edge enablement server (EES), the server is responsible for finding and synchronizing the application context, and communicating between the application server (EAS) and its associated EES without the need for network-wide broadcast, reducing signaling interactions and improving efficiency. EES is responsible for maintaining information related to the application context. EAS only needs to communicate with its associated EES to reduce signaling overhead, and uses ECS as a centralized entity to search and synchronize the application context.
It effectively reduces the signaling overhead between application servers, improves the efficiency of application context synchronization, reduces the complexity of EAS implementation logic, and improves search efficiency through centralized management of ECS.
Smart Images

Figure CN2024088827_31102024_PF_FP_ABST
Abstract
Description
Method and communication device for synchronizing application context
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on April 28, 2023, with application number 202310490206.6 and application name “Method and Communication Device for Synchronizing Application Context”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communications, and more particularly, to a method and a communication device for synchronizing application contexts. Background Art
[0003] With the large-scale deployment of various cloud computing resources within the network, servers for the same application are often deployed in multiple edge data networks at the same time. Servers for the same application (edge application servers, 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 perform services. 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.
[0004] 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 edge data networks, exchanging information between different EASs consumes unnecessary signaling overhead.
[0005] Summary of the Invention
[0006] The present application provides a method and a communication device for synchronizing application contexts, which can reduce the signaling overhead of EAS.
[0007] In a first aspect, a method for synchronizing application context is provided, which can be executed by a first edge enabler server (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.
[0008] 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 the first EES, the first EAS being one of at least one EAS associated with the first EES; and 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.
[0009] Based on the above technical solution, when an EAS needs to synchronize application context, the EES associated with the EAS is responsible for searching for the application context and sending the application context and / or related information to the EAS. The EAS communicates with its associated EES without broadcasting to the entire network, which can reduce the EAS's implementation logic and signaling overhead. Furthermore, since there are fewer EESs in the communication network than EASs, having the EES responsible for searching for application context can improve search efficiency and the efficiency of synchronizing application context.
[0010] 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 above method also 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.
[0011] A first EES is associated with multiple EASs, each of which may send an application context and / or application context-related information, as well as an application identifier and a terminal identifier related to the application context, to the first EES. After receiving this information, the first EES may determine a first correspondence. For EASs requiring application context synchronization, their identifiers may be the same or related. After receiving a first request, the first EES may determine the application context-related information of the first application based on a first correspondence between at least one of the application identifier and the terminal identifier included in the first request and the identifier and application context-related information maintained by the first EES.
[0012] 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.
[0013] In conjunction with the first aspect, in certain implementations of the first aspect, the terminal identifier includes at least one of the following information: an identifier of a first terminal, an identifier of a first group, and an identifier 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 a first application, and when the multiple terminals access different EASs, the multiple EASs require synchronization of application contexts.
[0014] 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. 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. 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 above implementation method, the first EAS requests the application context of the first application corresponding to the second terminal, that is, the second context.
[0015] In combination with the first aspect, in certain implementations of the first aspect, the above method also includes: receiving a sixth request from a second EAS, the sixth request including the application context of at least one application and / or related information of the application context of at least one application; based on the sixth request, determining a first correspondence between the application identifier, at least one item of the terminal identifier and the related information of the application context, the first correspondence including the correspondence between the application identifier, at least one item of the terminal identifier and the related information of the application context of the first application.
[0016] 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: the identifier of at least one application, the identifier of the client of at least one application, the identifier of the second EAS, the identifier of the second terminal, the identifier of the second group, and the 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 the 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.
[0017] If at least one application includes a first application, the second EAS provides services of the first application to 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 a correspondence between at least one of the application identifier and the terminal identifier and related information of the second context.
[0018] The second EAS serves the same group of terminals and the same application as the first EAS. 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.
[0019] 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 this correspondence to the first correspondence. In summary, since the identifier of the second EAS for the same group access 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.
[0020] 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. Specifically, the 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.
[0021] In conjunction with the first aspect, in certain 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, 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, and add the correspondence to the first correspondence.
[0022] In conjunction with the first aspect, in certain implementations of the first aspect, a sixth request requests the first context and / or related information of the first context from the first EES. After receiving the sixth request from the second EAS, the method further includes: the first EES sends a sixth response to the second EAS, where the sixth response includes the first context and / or related information of the first context. Based on the same method as for 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 based on the sixth request and the first correspondence, and send it to the second EAS, thereby achieving mutual synchronization of application contexts between EASs.
[0023] In combination with the first aspect, in certain implementations of the first aspect, the above method also includes: sending 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; receiving a second response from the second EES, the second response including the second context and / or related information of the second context.
[0024] The second EAS can be an EAS associated with the first EES or an EAS associated with another EES. If the second EAS is an EAS associated with another 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 about 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 about the second context corresponding to the EAS associated with the second EES.
[0025] In another implementation, the first EES sends a second request to the second EES, where the second request is 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, where the second response includes the 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 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 terminal identifier in the first request.
[0026] 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.
[0027] This method uses signaling interaction between EESs to search for application contexts. Since there are fewer EESs than EASs in the communication network, 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.
[0028] 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 has not determined relevant information of the second context.
[0029] 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.
[0030] The first EES and the second EES associated with the second EAS may be located in the same EDN or different EDNs. If the first EES and the second EES are located in different EDNs, application context synchronization can be performed through the ECS. The first EES sends a third request to the first ECS to obtain the second context and / or related information corresponding to the EAS associated with the other EES. This method can reduce signaling interactions between EESs, meaning that an EES does not need to subscribe to the required application context storage information from all EESs in the network, thereby improving the efficiency of detection and search.
[0031] 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 terminal identifier in the first request.
[0032] The first ECS maintains application contexts corresponding to multiple EASs on multiple EESs. All application contexts maintained by the first ECS include the second context. The first ECS sends all maintained application contexts and related information about the application contexts, as well as application identifiers and terminal identifiers corresponding to the application contexts, to the first EES. The first EES searches for the second context and / or related information about the second context.
[0033] 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 does not determine the relevant information of the second context, the first EES sends the third request to the first ECS.
[0034] In a specific implementation, after receiving the first request, the first EES may perform a local search on the first EES, send a second request to the second EES, and send a third request to the first ECS.
[0035] In a specific embodiment, after receiving the first request, the first EES first searches locally on the first EES. When the first EES determines that the required second EAS is not associated 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.
[0036] In a specific embodiment, after receiving the first request, the first EES first searches locally on the first EES. When the first EES determines that the required second EAS is not associated on the first EES, the first EES sends a second request to the second EES of the same EDN. When the required second EAS is not associated on the second EES, the first EES sends a third request to the first ECS.
[0037] In a specific embodiment, after receiving the first request, the first EES determines whether the first EES serves all terminals in the group to which the first terminal belongs, 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 in the same EDN.
[0038] 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.
[0039] 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: the identifier of the second EES, the address information of the second EES, the storage address of the second context in the second 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.
[0040] 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.
[0041] The method includes: sending a first request to a first edge enabling server (EES), 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, where the first EES is one of at least one EAS associated with the first EES; and receiving a first response from the first EES, the first response including 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 a second context.
[0042] 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 for the application context. The EAS only needs to communicate with its associated EES and does not need to broadcast to the entire network. This 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 EASs, having the EES responsible for searching for the application context can also improve the efficiency of the search and the efficiency of synchronizing the application context.
[0043] In conjunction with the second aspect, in certain 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.
[0044] 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 the first terminal, an identification of the first group, an identification of at least one terminal corresponding to the first group, the group in which the first terminal is located is the first group, wherein the first EAS provides services for the first terminal, and multiple terminals in the group in which the first terminal is located use the first application to perform a certain business.
[0045] 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.
[0046] In conjunction with the second aspect, in certain 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. Based on the first request, the first EES may determine a correspondence between at least one of the application identifier and the terminal identifier and the related information of the first context.
[0047] In a third aspect, a method for synchronizing application context is provided. The method can be executed by a first edge configuration server (ECS), or by a component of the first ECS (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 ECS functions.
[0048] 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; and 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.
[0049] Based on the above technical solution, the first ECS, acting as a centralized entity, can communicate with multiple EESs. In certain scenarios, the first EES can send a first request to the first ECS. The first ECS is responsible for searching for a second context and / or related information about the second context associated with a second EAS or the second EES, and then sending a third response to the first EES. This can reduce subscription interactions between EESs, reduce signaling overhead for the first EES, and improve the efficiency of searching for application contexts.
[0050] 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 above method further includes: 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 at least one of the application identifier and the terminal identifier and relevant information of the application context.
[0051] 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.
[0052] 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 at least one of the application identifier, the terminal identifier and the relevant information of the application context, the second correspondence including a correspondence between at least one of the application identifier, the terminal identifier and the relevant information of the second context.
[0053] The first ECS is associated with multiple EESs. 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.
[0054] 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.
[0055] 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.
[0056] When the at least one application includes the first application, the fourth request includes at least one of the following: 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 the client of the first application, an identifier of the first application, and an identifier of a second EAS; and at least one of the following: a second context, address information of the 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. The second EAS provides the service of the first application to the second terminal, and the second EAS is an EAS in at least one EAS associated with the second EES.
[0057] In conjunction with the third aspect, in certain implementations of the third aspect, the relevant information about 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 the second EES, and the specific content of the relevant information about the second context is determined based on the storage location of the second context.
[0058] In conjunction with the third aspect, in certain implementations of the third aspect, the third request includes the first context and / or related information of the first context. Based on the third request, the first ECS may update a second correspondence, where the second correspondence includes a correspondence between at least one of the application identifier and the terminal identifier and the related information of the first context.
[0059] 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 from 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.
[0060] In the 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.
[0061] The method includes: receiving a fifth request from a 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 at least one EAS associated with the second EES; and sending a fifth response to the second EAS according to the fifth request, the fifth response including the first context and / or related information of the first context.
[0062] Based on the above technical solution, when a second EAS needs to synchronize application context, the second EES associated with the second EAS is responsible for searching for the application context and sending the application context and / or related information to the EAS. The second EAS communicates with its associated second EES without broadcasting the entire network, which can reduce the implementation logic of the second EAS and its signaling overhead. Furthermore, since there are fewer EESs in the communication network than EASs, having the EES responsible for searching for application context can improve search efficiency and the efficiency of synchronizing application context.
[0063] The fifth request may include at least one of the following identifiers: an identifier of the second terminal, an identifier of a 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.
[0064] 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 context and / or related information of the first context from the first ECS; receiving a fourth response from the first ECS, the fourth response including the first context and / or related information of the first context.
[0065] In another implementation, the second EES sends a fourth request to the first ECS, requesting the first context and / or related information of the first context from the first ECS; receives 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; and determines the first context and / or related information of the first context from the application context of the at least one application and / or related information of the application context of the at least one application.
[0066] 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; and 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.
[0067] 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; and sends a second response to the first EES based on the second request, where the second response includes the 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.
[0068] In conjunction with the fourth aspect, in certain 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 about the first context from the first EES; and receiving a seventh response from the first EES, the seventh response including the first context and / or related information about the first context. In this case, 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.
[0069] 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.
[0070] 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; and receiving a fifth response from the second EES, the fifth response including the first context and / or related information of the first context.
[0071] 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 context, the EES associated with the EAS is responsible for searching for the application context. The EAS only needs to communicate with its associated EES and does not need to broadcast to the entire network. This 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 EASs, having the EES responsible for searching for the application context can also improve the efficiency of the search and the efficiency of synchronizing the application context.
[0072] In a sixth aspect, a communication device is provided, including: a communication unit for receiving a first request from a first edge application server EAS, the first request being used to request the 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 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.
[0073] 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 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 relevant information about the application context. Here, the application context of the first application refers to the second context.
[0074] In conjunction with the sixth aspect, in certain 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.
[0075] The terminal identification may also include at least one of the following information: the identification of the first terminal, the identification of the group to which the first terminal belongs, and the 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 business.
[0076] 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.
[0077] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is further 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.
[0078] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is further configured to: send a second request to the second EES if the communication device fails to determine relevant 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: 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 further 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 terminal identifier in the first request.
[0080] 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.
[0081] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is further configured to: send a third request to the first ECS if the communication device or the second EES fails to determine relevant information of the second context.
[0082] 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 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 further 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 terminal identifier in the first request.
[0083] 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: the identifier of the second EES, the address information of the second EES, the storage address of the second context in the second 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.
[0084] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit is further used to: receive a sixth request from the second EAS, the sixth request including the second context and / or related information of the second context; the processing unit is further 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.
[0085] In combination with the sixth aspect, in certain implementations of the sixth aspect, the communication unit 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.
[0086] In conjunction with the sixth aspect, in certain 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.
[0087] In the seventh aspect, a communication device is provided, including: a communication unit for sending 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, and 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.
[0088] 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.
[0089] In combination with the seventh aspect, in some 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.
[0090] 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 business.
[0091] 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.
[0092] In an eighth aspect, a communication device is provided, comprising: a communication unit for receiving 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 the application context of at least one application and / or related information of the application context of at least one application.
[0093] In another implementation, the at least one application includes a first application, and the third response includes the second context and / or related information of the second context.
[0094] 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 the relevant information of the application context.
[0095] 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 the 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 the relevant 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 the relevant information of the second context.
[0096] 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.
[0097] 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, identifier of a second EES, and address information of the second EES. If the at least one application includes a first application, the fourth request includes the application context of the first application, storage address of the application context of the first application, identifier of the first application, and identifier of a client of the first application.
[0098] In combination with the eighth aspect, in certain implementations of the eighth aspect, the communication unit is further configured 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.
[0099] In a ninth aspect, a communication device is provided, comprising: a communication unit for 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 communication device, the second EAS being one of at least one EAS associated with the communication device; the communication unit is also used 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.
[0100] 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 context and / or related information of the first context from the first ECS; and receive a fourth response from the first ECS, the fourth response including the first context and / or related information of the first context.
[0101] 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 context and / or related information of the first context from the first ECS; and 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.
[0102] In combination with the ninth aspect, in certain implementations of the ninth aspect, the communication unit is further 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.
[0103] In combination with the ninth aspect, in certain implementations of the ninth aspect, the communication unit is further 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 application context of at least one application and / or related information of the application context of at least one application.
[0104] In combination with the ninth aspect, in certain implementations of the ninth aspect, the communication unit is further used to: send 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; and receive a seventh response from the first EES, the seventh response including the first context and / or related information of the first context.
[0105] 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.
[0106] In the eleventh aspect, a communication device is provided, comprising a processor, the processor being coupled to a memory, the memory being used to store computer programs or instructions, and the processor being used to execute the computer programs or instructions stored in the memory to implement a method in any possible implementation of any of the above aspects.
[0107] In one possible implementation, the apparatus further includes a memory coupled to the processor.
[0108] In a possible implementation, there are one or more processors and / or one or more memories.
[0109] In a possible implementation, the memory may be integrated with the processor, or the memory may be provided separately from the processor.
[0110] 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.
[0111] 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 is caused to execute the method in any possible implementation of any of the above aspects.
[0112] 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.
[0113] 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 of any of the above aspects.
[0114] In the fifteenth aspect, a computer program product containing instructions is provided, wherein the computer program product includes: 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.
[0115] 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
[0116] FIG1 is a schematic diagram of a network architecture applicable to an embodiment of the present application;
[0117] FIG2 is a schematic flowchart of a method for synchronizing application contexts provided in an embodiment of the present application;
[0118] FIG3 is a schematic flowchart of a method for synchronizing application contexts provided by another embodiment of the present application;
[0119] FIG4 is a schematic flow chart of a method for synchronizing application contexts provided in yet another embodiment of the present application;
[0120] FIG5 is a schematic flowchart of a method for synchronizing application contexts provided in yet another embodiment of the present application;
[0121] FIG6 is a schematic flowchart of a method for synchronizing application contexts provided in yet another embodiment of the present application;
[0122] FIG7 is a schematic flowchart of a method for synchronizing application contexts provided in yet another embodiment of the present application;
[0123] FIG8 is a schematic flowchart of a method for synchronizing application contexts provided in yet another embodiment of the present application;
[0124] FIG9 is a schematic structural diagram of a communication device 900 provided in this application;
[0125] FIG10 is a schematic structural diagram of a communication device 1000 applicable to an embodiment of the present application. DETAILED DESCRIPTION
[0126] 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 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.
[0127] In this application, ordinal numbers such as "1", "2", "3", "first", "second", "third" and "fourth" 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 between associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0128] In addition, the character " / " in this article generally indicates that the objects before and after 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. These seven situations.
[0129] The technical solutions provided in this application can be applied to various communication systems, such as: fifth generation (5G) or new radio (NR) systems, long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems, etc. The technical solutions provided in this application can also be applied to future communication systems, such as the sixth generation mobile communication system. The technical solutions 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 systems or other communication systems.
[0130] First, a network architecture applicable to the communication network of the present application is briefly introduced. As an example, FIG1 shows a schematic diagram of a network architecture.
[0131] In the multi-access edge computing (MEC) research of SA6 of the 3rd Generation Partnership Project (3GPP), an architecture model as shown in Figure 1 is defined. The network architecture may include, but is not limited to, terminal devices, the 3rd Generation Partnership Project (3GPP) core network, an edge data network (EDN), and an edge configuration server (ECS). Among them, the terminal device may include application client(s) and edge enabler client (EEC); the edge data network may include edge application server(s) (EAS) and edge enabler server(s) (EES).
[0132] The following describes each part involved in the network architecture shown in FIG1 .
[0133] 1. EDN
[0134] A common understanding is that EDN corresponds to only one data network, which is a special local data network (DN) that includes edge-enabling functions. It can be identified using a data network access identifier (DN access identifier, DNAI) and a data network name (DNN). It is a network logical concept. Another understanding of EDN is that EDN is a peer-to-peer concept of the central cloud. It can be understood as a local data center (geographical location concept). It can be identified using DNAI and can include multiple local data networks (local DN). For example, to facilitate the use of users in Beijing and Shanghai, Beijing and Shanghai can each deploy a data center, 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.
[0135] 2. Application Examples / Edge Applications
[0136] 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 on an EDN. An application can deploy one or more edge application servers (EAS) in one or more EDNs. In other words, one or more EAS can be deployed in each EDN. EASs deployed and running in different EDNs can be considered different EASs of the same application. They can share a domain name (ID), use a single 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.
[0137] 3. EES
[0138] 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 on 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.
[0139] 4. ECS
[0140] The ECS is responsible for storing and maintaining EDN information, such as providing EES information to the UE. The ECS can also directly provide application instance information to the UE and interact with the application's domain name server (DNS) to obtain application instance information. The ECS further obtains and stores application instance and IP address information from other functional entities.
[0141] 5. Terminal equipment
[0142] The terminal device may be referred to as user equipment (UE), access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user equipment.
[0143] The terminal device can be a device that provides voice / data to users, for example, a handheld device or 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 (PLMNs). The terminal equipment in the network (PLMN), etc., is not limited to this in the embodiments of the present application.
[0144] As an example and not a limitation, in the embodiment of the present application, the terminal device may also be a wearable device. Wearable devices may also be called 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 achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those 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 smart bracelets and smart jewelry for vital sign monitoring.
[0145] 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 of human-machine interconnection and object-to-object interconnection.
[0146] 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). The terminal devices can also communicate with each other using a certain air interface technology (such as NR or LTE technology).
[0147] It should be noted that the UE includes the AC and EEC. The AC is the peer entity of the edge application on the UE side, and the EEC is the enabling layer entity on the UE side. The embodiments of this application are written with the UE as the main body, but the UE can also be replaced by the AC or EEC. For example, "EAS provides services for the UE", "EAS provides services for the AC on the UE", or "EAS provides services for the AC" can be understood as having the same meaning. For example, "one user corresponds to one terminal" and "one user corresponds to one AC" can be understood as having the same meaning.
[0148] 6. AC
[0149] The AC is the UE-side counterpart of edge applications. The application client is used by application users to obtain application services from the application server. The application client is a client program used on the terminal side. It can connect to the application server in the cloud to obtain application services, or to the EAS deployed and running in one or more EDNs to obtain application services.
[0150] 7. EEC
[0151] The EEC is the enabling layer entity on the UE side. It is responsible for registering EEC information and application client information with the EES, performing security authentication and authorization, obtaining the EAS IP address from the EES, and providing edge computing capabilities to the application client. For example, it provides EAS discovery services and returns the EAS IP address to the application client.
[0152] The EEC provides necessary support for the application client on the UE. The functions of the EEC include: retrieving EDN information through EDGE-4, registering the UE to the EES, retrieving available EAS, and notifying the EEC of EAS availability changes and EAS migration.
[0153] Application users sign a service agreement with the application provider to provide services to the application users. Application users log in to the application client on their terminal and communicate with the EAS 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 programming interface (API).
[0154] Each interface in the network architecture shown in FIG1 is described.
[0155] EDGE-1: The interface between EES and EEC, supporting EEC registration / deregistration in EES; edge application server discovery in edge data networks.
[0156] EDGE-2: The interface between the EES and the 3GPP core network, used by the EES to obtain 3GPP network capabilities.
[0157] 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).
[0158] EDGE-4: The interface between EEC and ECS, which supports ECS to provide / push configuration information to EEC.
[0159] EDGE-5: Interface between AC and EEC, enabling AC to obtain EAS information from EEC.
[0160] EDGE-6: The interface between ECS and EES, supporting configuration of EES information on ECS.
[0161] EDGE-7: The interface between EAS and 5GC, which supports EAS to obtain 5G network capabilities.
[0162] EDGE-8: The interface between ECS and 5GC, enabling ECS to obtain 5G network capabilities.
[0163] EDGE-9: Interface between different EESs across MEC nodes or within the same MEC node, supporting application migration.
[0164] It should be noted that the names of the various parts involved in Figure 1 and the communication interfaces therebetween are simply described based on the examples specified in the current protocol, but do not limit the embodiments of the present application to being applicable only to currently known communication systems.
[0165] The following is a detailed description of the implementation of the embodiment of the present application in conjunction with 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 embodiment of the present application does not specifically limit which message or signaling it is carried in. For example, the interaction information between AC and EAS can be carried in notifications of connection-related events, subscription messages related to EDGE-5, and request messages. 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.
[0166] It should be noted that in the various embodiments of the present application, unless otherwise specified or provided for, the terms and / or descriptions between different embodiments may be consistent and may be referenced to each other. The technical features in different embodiments may be combined to form new embodiments based on their inherent logical relationships. The present application does not impose any limitations on this.
[0167] In the embodiments of the present application, application context may refer to operational status information related to one or a group of users, such as game progress, historical ML data, etc. Optionally, the application context may also include the subscription context of the one or more users in the EAS and the core network, such as the subscription transaction identifier. 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 EAS subscription to the one or more users.
[0168] In the embodiments 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 in the nearest location, and a single application can include different services. For a single application, multiple EASs deployed in different EDNs can provide the same service. Terminal devices 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.
[0169] In some scenarios, multiple terminals use the same application. The application data corresponding to the AC on each terminal needs to be transmitted to the corresponding EAS. Each EAS generates relevant data through local computation and synchronizes relevant information, such as status information, between multiple terminals. This synchronization ensures that the AC can be used properly locally on the terminal. For example, in gaming applications, players often team up to play, with each player assigned a terminal. Players can control the dynamics of in-game characters, such as their position and movements, by operating on their corresponding terminals. Changes in character position and movement cause changes in the in-game scene. After detecting the player's operation, the terminal transmits the changed application data, such as the position and movement, to the corresponding EAS. The EAS generates relevant data through local computation and synchronizes it with other EASs, which then transmit it to other terminals, allowing other players to understand the dynamics of their character. Furthermore, the terminal also obtains relevant data generated by other EASs from its corresponding EAS, allowing the player to understand the dynamics of other players' characters, enabling multiple players to collaborate.
[0170] The data generated by application data on an EAS is called application context, and the process of synchronizing data between two EASs is called application context synchronization. The multiple terminals corresponding to players in a team game can be considered a group of terminals. Specifically, a group of terminals refers to multiple terminals grouped together to perform a specific service. If a group of terminals is connected to different EASs, meaning that multiple EASs provide services to the group of terminals, then the multiple EASs corresponding to the group of terminals require application context synchronization and must communicate to synchronize the application context.
[0171] Specifically, the EAS connected to a terminal in a group of terminals broadcasts network-wide in the communication network, sending broadcast messages to all other EASs in the communication network except itself, thereby finding the EASs corresponding to other terminals in the group, that is, the EASs that store the application contexts that the other terminals need to synchronize. Because a large number of EASs are deployed in the communication network, including EASs that serve other applications or provide other business services, the network-wide broadcast method requires sending broadcasts to EASs that do not serve the terminals in the group, consuming unnecessary signaling overhead, which is inefficient and has high signaling overhead.
[0172] In view of this, an embodiment of the present application provides a method for synchronizing application context. It should be understood that synchronizing application context occurs in a scenario where a group of terminals use the same service of the same application, and synchronizing application context is to synchronize the application context between two EASs. If a group of terminals corresponds to three or more EASs, then the EASs need to synchronize application contexts. This method is applicable to the communication network shown in Figure 1, wherein the multiple EESs include a first EES, and the multiple EASs can be registered or associated in different EESs, wherein the first EAS in the multiple EASs is the 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. The application context generated by the first EAS can be stored on 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.
[0173] Multiple EASs may also include a second EAS. This second EAS may be registered with the first EES or with another EES other than the first EES. The other EES may be in the same EDN as the first EES 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 may be stored in the second EAS or an 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.
[0174] 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 to the same group of terminals, that is, the group to which the first terminal belongs and the group to which the second terminal belongs are the same group, the first terminal and the second terminal belong to the same group of terminals, and the first EAS and the second EAS have a 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.
[0175] 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 about the second context locally based on the first request. If the first EES finds the second context and / or related information about the second context locally, it can send the found second context and / or related information about the second context to the first EAS.
[0176] Moreover, 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, it may send the found second context and / or related information of the second context to the first EES, which then sends it to the first EES.
[0177] 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 about the second context. If the first ECS finds the second context and / or related information about the second context, it may send it to the first EES, which then sends it to the first EAS.
[0178] The method provided in the embodiments of the present application allows the EES to be responsible for application context synchronization, and the EAS only needs to communicate with the associated EES, which can reduce the EAS implementation logic and signaling overhead. The method provided in the embodiments of the present application can also use the ECS as a centralized control entity responsible for searching for the required application context, thereby reducing signaling interactions between EESs and improving detection and search efficiency.
[0179] It should be noted that the second terminal may refer to one terminal or multiple terminals, and these multiple terminals may be connected to different EASs. The corresponding second EAS may also refer to one or more EASs.
[0180] 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.
[0181] FIG2 shows a schematic flow chart of synchronizing application contexts. In an embodiment of the present application, multiple EASs accessed by a group of terminals may all be registered on a first EES, and the first EES is responsible for synchronizing application contexts.
[0182] S201: A first EAS sends a first request to a first EES.
[0183] 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 search for the second context that needs to be synchronized to the first EAS, or to request the application context corresponding to the first application.
[0184] For example, the first request may be an EAS discovery (subscription) request, or the first request may be a context synchronization (subscription) request.
[0185] The first request carries at least one of an application identifier and a terminal identifier. The identifier is described below.
[0186] 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 AC ID 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.
[0187] To indicate the group of the first EAS service, the first request may carry a terminal identifier, which is used to identify a terminal and / or a group of terminals. Specifically, it may 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.
[0188] The identifier of the group to which the first terminal belongs may be a group ID. The group ID is dynamically generated based on the identifiers of each terminal in the group. For some fixed groups of terminals (for example, some terminals installed on a production line, whose installed applications are also dedicated to production and generally do not change after successful installation), the group ID may also be pre-assigned. The identifier of the group to which the first terminal belongs may also be an AC-EAS session number. The AC-EAS session is determined based on the session path used when the AC and EAS communicate. A group of terminals on a session path can be uniquely identified based on the session number between the EAS and the AC. The identifier of the terminal may be a UE ID. The identifiers of multiple terminals in the group to which the first terminal belongs are multiple UE IDs. The multiple UE IDs may be referred to as a terminal list UE list. The aforementioned group ID, AC-EAS session, and UE list may be collectively referred to as group information. That is, the group information mentioned subsequently may be any one of them, or may be information uniquely determined by the UE list information and the UE ID.
[0189] In one implementation, the identifier carried in the first request only includes 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.
[0190] In another implementation, the identifier carried in the first request includes an EAS ID, an AC ID, and group information. EASs providing the same service have the same ID, and application clients on different terminals use the same ID. In this implementation, group information cannot uniquely identify a group of terminals across the entire network. A single EAS can provide the same service to multiple applications, and different applications can have the same group of terminals and the same group information as the current group. Furthermore, a group of terminals may simultaneously use two types of services from the same application. In other words, there may be another group of terminals that includes multiple terminals that are the same as the current group, but the two groups may use different applications and services. Based on the group information, the first EES may locate an EAS providing other services or an EAS serving other applications. In this implementation, if the group information is the same, the first EES can further identify other EASs providing the same service as the first EAS based on the EAS ID. It can also further identify the EAS corresponding to the first application among other EASs providing the same service as the first EAS based on the AC ID, or identify the group corresponding to the first application among multiple groups of terminals accessed by other EASs providing the same service as the first EAS.
[0191] Considering that the AC ID of different operating systems may be different, the AC ID can be replaced by the APP ID. The identifier carried in the first request includes the EAS ID, APP ID, and group information.
[0192] In another implementation, the identifier carried by the first request includes an EAS ID and group information, or the identifier carried by the first request includes an 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.
[0193] In addition, when the group information includes a UE list, the identifier carried in the first request may also include a UE ID.
[0194] The first request also carries the first context application context, or indication information that application context synchronization is required, or information requesting to store the first context.
[0195] The above information can also be carried in Edge-3 subscription request messages, such as terminal location subscription request (UE location subscription request), ACR management events subscription request (ACR management events subscription request), AC information subscription request (AC information subscription request), QoS session create / update / revoke request (Session with QoS create / update / revoke request) and other messages. The specific bearer message is not limited.
[0196] The indication information requiring application context synchronization may be included as a subscription event in a subscription request, or carried in a subscription request message as indication information.
[0197] S202: The first EES sends a response to the first EAS.
[0198] 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.
[0199] 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.
[0200] 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 indicates the success or failure of the subscription to the first EAS. If the first EES stores the first context, the response message may also optionally include the storage address of the first context in the first EES.
[0201] 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.
[0202] Corresponding to the first request, the response message may be an EAS discovery (subscription) response, or an application context synchronization (subscription) response.
[0203] S203: The first EES stores a first 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 a second context and / or relevant 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.
[0204] The first EES is associated with multiple EASs. Each EAS may send an application context and / or related information of the application context, as well as the application identifier and 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.
[0205] The storage of the first context and the first corresponding relationship are described below.
[0206] In addition to carrying an identifier, in one implementation, the first request also carries a 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.
[0207] In another implementation, the first request does not carry the first context but carries information requesting storage of the first context. The first EES may determine whether to store the first context based on its own circumstances. If the first EES determines to store the first context, the first EES may read the first context from the first EAS or obtain the first context from the first EAS. In this implementation, the EAS and EES are preconfigured so that the EES is responsible for storing the application context.
[0208] In the above two implementations, the first EES is responsible for storing the application context. The first correspondence may include a 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 a 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 a 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 relevant information of the first context.
[0209] Specifically, if the identifier carried by the first request includes group information, the first EES stores the correspondence 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 an EAS ID, group information, or an AC ID, 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 correspondence between the EAS ID, or the correspondence between 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 an 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 correspondence between the APP ID. If the identifier carried by the first request includes an EAS ID, an APP ID, and group information, the first EES stores the correspondence between the storage address of the first context in the first EES and the group information, the EAS ID, and the APP ID. If the identifier carried by the first request includes an EAS ID, an AC ID, and group information, the first EES stores the correspondence between the storage address of the first context in the first EES and the group information, the EAS ID, and the AC ID. The first EES is responsible for storing application context, which can reduce the overhead of EAS storing application context.
[0210] The first request also includes relevant information of the first context, such as the address information of the first EAS, for example, the address information can be an IP address. In addition to the EAS ID, the EAS information in the first correspondence can also include the address information of the first EAS, or the EAS information in the first correspondence can 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. 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.
[0211] 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 identifiers. Specifically, the information of the first EAS may be the first EAS ID and the address information of the first EAS. Taking the identifier 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.
[0212] In summary, in the first request sent by the first EAS to the first EES, the relevant information about 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 correspondence based on the received first request, or if the first EES has already stored the first correspondence, the first EES updates the first correspondence based on the received first request. The relevant information about 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 EAS ID, the address information of the first EAS, and the storage address of the first context in the first EAS.
[0213] 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 for the first context described above, the first correspondence includes a 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.
[0214] 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 based on the application identifier, group information, and the first correspondence, and determines the found relevant information of the application context as relevant information of the second context.
[0215] In another implementation, the first EES obtains group information (which may be a group ID and / or a UE list) of the group to which the first terminal belongs, 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 identifiers of the UEs 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 other than the first terminal, the first EES then searches locally for relevant information of the second context based on the application identifier, the group information, and the first correspondence.
[0216] 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 the 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.
[0217] The following specifically describes how to search for the second context according to the identifier carried in the first request.
[0218] 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 that include 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 can search for an EAS with the same EAS ID on the first EES as the second EAS 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.
[0219] 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.
[0220] 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.
[0221] If the group information is information determined by the UE ID and the 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 about the second context required by the first EAS.
[0222] If the group information is an AC-EAS session, the first EES may determine, based on the AC-EAS session ID, whether the first EES stores relevant information of the application context corresponding to the same AC-EAS session ID.
[0223] In summary, the first correspondence contains the same group information as that in the first request, indicating that the first EES has found relevant information of the second context. The first EES can synchronize application contexts for the first EAS and the second EAS.
[0224] That is, the first EES determines whether it has previously stored information about the application context of the group to which the first terminal belongs, based on the stored information about the application context of each group and the application identifier and group information (group ID, UE list, UE ID, etc.), that is, whether the first EES has stored information about application contexts from multiple different EASs for the same group of terminals. If the first EES has stored information about 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.
[0225] 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 ID as the first EAS based on the EAS ID, and may further determine, based on the AC ID or APP ID of the first application, that the EAS with the same AC ID or APP ID among other EASs with the same ID as the first EAS is the second EAS.
[0226] Furthermore, if the group information uniquely identifies the EAS, the first EES can also search for the second context based solely on the group information and the first correspondence during the above process of determining the second context. Alternatively, if the EAS serves only one application and only one group, the first EES can also search for the second context based solely on the application identifier and the first correspondence.
[0227] S204: The second EAS sends a sixth request to the first EES.
[0228] 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.
[0229] In this 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.
[0230] The sixth request also includes the second context and / or related information of the second context, wherein 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.
[0231] 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.
[0232] According to the sixth request, the first EES can determine or update the first correspondence. Step S204 may be executed before step S203, and the first correspondence 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, group ID, UE list, 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, it can determine the relevant information of the second context based on the first correspondence 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 time according to the preset time interval.
[0233] S205: The first EES sends a response message to the second EAS.
[0234] The response information is used to indicate whether the subscription to the second EAS is successful or failed. Optionally, if the first EES stores the second context, the response information may further include the storage address of the second context in the first EES.
[0235] 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.
[0236] 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 this embodiment of the present application does not limit this. If step S203 is executed between steps S201-S202, the first EES discovers a second EAS that needs to synchronize application context for the first EAS, and 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.
[0237] S207: The first EES sends a first response to the first EAS.
[0238] In the following example, if the identifier carried in the first request is group information, and the first EES finds relevant information about the second context, that is, if there are multiple EASs in the same group that need to synchronize application contexts locally, the first EES can send the relevant information about the second context and the corresponding group information to the first EAS. In other words, the first EES sends a first response to the first EAS, and the first response includes the second context and / or relevant information about the second context.
[0239] Specifically, in one implementation, the first EES is responsible for storing the application context. 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. The group information is the same as the group information in the first request and is used to indicate the terminal that requires the second context. That is, it is used 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.
[0240] 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.
[0241] In another implementation, the EAS is responsible for storing the application context, i.e., 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.
[0242] 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 to the first EAS as a first response.
[0243] The address information of the EAS or the application context storage address can be carried in an EAS discovery notification, an application context synchronization notification, or other messages corresponding to step 1, such as an Edge-3 subscription response message, which can be a terminal location notification (UE location notification), an ACR management event notification (ACR management events notification), an AC information notification (AC information notification), a 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.
[0244] S208: The first EES sends a sixth response to the second EAS.
[0245] This sixth response corresponds to the sixth request in 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. This information can be carried in an EAS discovery notification or an application context synchronization notification. For details, see step S207.
[0246] S209: The first EAS and the second EAS respectively read the application context that needs to be synchronized according to the corresponding application context related information.
[0247] Specifically, when the first response includes address information, the first EAS may read the second context based on the address information of the second EAS, or the first EAS may read the second context from the storage address of the second context in the second EAS. Alternatively, the first EAS may read the second context from the storage address of the second context in the first EAS.
[0248] Similarly, the second EAS can read the first context based on the first EAS address information, 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.
[0249] 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 there is more than one EAS among the EASs registered in itself that serve the same group of users, the first EES can send notifications of synchronizing the application context to the corresponding first EAS and second EAS respectively. In this implementation scenario, the EES is responsible for synchronizing the application context, 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 EASs, the method provided in the embodiment of the present application can also improve the efficiency of searching and the efficiency of synchronizing the application context.
[0250] Figure 3 shows a schematic flow chart of synchronizing application contexts. In this embodiment of the present application, the second EAS accessed by the second terminal can be registered on other EESs within 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.
[0251] S301: The first EES or the second EES configures address information of other EESs.
[0252] For EESs in the same EDN, each EES can configure the address information of other EESs in the EDN. A first EES can pre-configure the address information of a second EES. A second EES can also pre-configure the address information of the first EES.
[0253] Alternatively, the first EES can obtain the address information of other EESs in the same EDN from the ECS. Specifically, the first EES can send a request to the ECS to discover EESs in the same EDN. The request carries the identification information of the first EES and information about the EDN to which the first EES belongs. The identification information of the first EES can be at least one of the EES ID and EES address information. The request can be carried in the first EES registration message. After receiving the request, the ECS determines that there are other EESs that meet the requirements, that is, other EESs in the same EDN. The ECS then sends the address information or IDs of the other EESs to the first EES, thereby configuring the first EES with the address information of the other EESs in the same EDN.
[0254] S302: The first EAS sends a first request to the first EES.
[0255] For example, the first EAS may send an EAS discovery (subscription) request or an application context synchronization (subscription) request to the first EES.
[0256] S303: The first EES sends a response to the first EAS.
[0257] The response may be an EAS discovery (subscription) response or an application context synchronization (subscription) response.
[0258] 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.
[0259] The specific content of step S302 in the embodiment of the present application is the same as the specific content of step S201 in the embodiment shown in Figure 2, the specific content of step S303 is the same as the specific content of step S202 in the embodiment shown in Figure 2, and the specific content of step S304 is the same as the specific content of step S203 in the embodiment shown in Figure 2. For the sake of brevity, they will not be repeated here.
[0260] S305: The second EAS sends a fifth request to the second EES.
[0261] 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.
[0262] The fifth request may include application context of at least one application and / or related information of the application context of at least one application, as well as an identifier of the at least one application and a corresponding terminal identifier.
[0263] 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.
[0264] 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 may determine a third correspondence between at least one of the application identifier and the terminal identifier and the application context-related information. The functions of the second EES are similar to those of the first EES, and for details, reference may be made to the implementation logic of the aforementioned first EES.
[0265] Specifically, the third correspondence may include a correspondence 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 an EAS ID, group information, or an AC ID, group information, the third correspondence includes the correspondence between the storage address of the second context in the second EES and the group information, and the EAS ID, or the correspondence between the storage address of the second context in the second EES and the group information and the AC ID. If the identifier carried by the fifth request includes an APP ID and group information, the third correspondence includes the correspondence between the storage address of the second context in the second EES and the group information, and the APP ID. If the identifier carried by the fifth request includes an EAS ID, an APP ID, and group information, the third correspondence includes the correspondence between the storage address of the second context in the second EES and the group information, the EAS ID, and the APP ID. If the identifier carried by the fifth request includes an EAS ID, an AC ID, and group information, the third correspondence includes the correspondence between the storage address of the second context in the second EES and the group information, the EAS ID, and the AC ID. Here, the EAS ID is the second EAS ID, and the second EAS ID is replaced with the address information of the second EAS.
[0266] 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 EAS address information and the group information, and a correspondence between the storage address of the second context in the second EAS and the group information.
[0267] S306: The second EES sends a response to the second EAS.
[0268] The response message is used to indicate whether the subscription to the second EAS is successful or failed. Optionally, if the second EES stores the second context, the response message may also include the storage address of the second context in the second EES.
[0269] 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 the first context and / or related information of 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.
[0270] 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.
[0271] S308: The first EES sends a second request to the second EES.
[0272] 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.
[0273] In one embodiment of the present application, after receiving the first request, the first EES may execute both step S304 and step S308. It should be noted that there is no strict order between steps S305-S307 and step S308.
[0274] 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 if 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.
[0275] 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.
[0276] In a specific implementation, the first EES may first perform a search in the same EDN, and then send a second request to a second EES in the same EDN.
[0277] In a specific embodiment, the first EES can select some EESs from multiple EESs in the EDN based on their EAS IDs as the second EES, thereby narrowing the search scope and improving detection and search efficiency. Specifically, the first EES can select an EES with the same EAS ID as the second EES based on the EAS ID. That is, if some of the multiple EASs associated with the first EES and the multiple EASs associated with the second EES have the same EAS IDs, the first EES can send the second request to the selected second EES in the same EDN.
[0278] The content of the second request is the same as that of the first request, and reference may be made to the embodiment shown in FIG2 .
[0279] S309: The second EES 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 corresponding relationship.
[0280] Step S307 is used to respond to the second request. As can be seen from steps S302-S307, the second EES stores a plurality of groups of application context-related information, corresponding to application identifiers and terminal identifiers. After receiving the second request, the second EES determines whether information related to the second application context and / or the second context exists on the second EES based on the application identifier, group information, and the stored third correspondence.
[0281] The following describes in detail how the second EES searches for the second context.
[0282] The second EES can search for an EAS with the same EAS ID as the first EAS ID on the second EES as the target second EAS. If the target second EAS only serves one application, the second EES can further determine the target 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 as the target second EAS based on the AC ID or APP ID of the first application, and then determine the target based on the group information.
[0283] Specifically, if the group information is a group ID, the second EES can determine whether the second EES stores relevant information of the application context corresponding to the same group ID based on the group ID. The relevant information of the application context corresponding to the same group ID is the relevant information of the second context.
[0284] 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.
[0285] 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 of the second context required by the first EAS.
[0286] If the group information is AC-EAS session information, the second EES may determine, based on the AC-EAS session ID, whether the second EES stores relevant information of the application context corresponding to the same AC-EAS session ID.
[0287] 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 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.
[0288] Furthermore, if the group information uniquely identifies the EAS, the second EES may also search for the second context based solely on the group information and the third correspondence during the above process of determining the second context. Alternatively, if the EAS serves only one application and only one group, the second EES may also search for the second context based solely on the application identifier and the third correspondence.
[0289] The presence of an application identifier and group information identical to those in the second request in the third correspondence indicates that the second EES has found relevant information about the second context. Furthermore, the second EES may send the second context and / or relevant information about the second context to the first EES. If the second EES does not find relevant information about the second context, it may send a response to the first EES indicating that no relevant information about the second context was found. After receiving the response, the first EES may resend the second request to the second EES at a predetermined time interval.
[0290] S310: The second EES sends a second response to the first EES.
[0291] Referring to step S207 in the embodiment shown in Figure 2, 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.
[0292] S311: The first EES sends a first response to the first EAS.
[0293] In one implementation, after receiving the second response, the first EES may directly forward the second response to the first EAS as the first response. 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. After receiving the second response, the first EES may obtain the second context based on the aforementioned address and then generate the first response, which carries the second context.
[0294] S312: The second EES sends a fifth response to the second EAS.
[0295] 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. The third EAS and the second EAS serve the same group of terminals, and the application context stored in the third EAS is also referred to as the first context. If the third EAS is an EAS associated with the second EES, then the third EAS is different from the first EAS. If the third EAS is an EAS associated with the first EES, then the third EAS is the first EAS.
[0296] If the third EAS is an EAS associated with the first EES, the second EES may send a seventh request to the first EES. The first EES locally searches for relevant information about the first context based on the application identifier, group information, and the first correspondence. The first EES may then send a seventh response to the second EES. 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 receiving the seventh response, the second EES may send a fifth response to the second EAS. Reference may be made to the contents shown in steps S308-S311 herein.
[0297] 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.
[0298] In other implementations, step S309 may be followed by a step in which the second EES sends a second response to the first EAS.
[0299] Figure 4 shows a schematic flow chart of a synchronous application context. In an embodiment of the present application, the second EAS accessed by the second terminal can be registered on other EESs within the EDN where the first EES is located. In this embodiment of the present application, the execution logic (S409) of the second EES is different from the embodiment shown in Figure 3.
[0300] S401: The first EES or the second EES configures address information of other EESs.
[0301] For details of S401 in the embodiment of the present application, please refer to S301 in the embodiment shown in FIG. 3 .
[0302] S402: The first EAS sends a first request to the first EES.
[0303] For details of S402 in the embodiment of the present application, please refer to S302 in the embodiment shown in FIG. 3 .
[0304] S403: The first EES sends a response to the first EAS.
[0305] For details of S403 in the embodiment of the present application, please refer to S303 in the embodiment shown in FIG. 3 .
[0306] S404, the first EES stores a first 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 the second context and / or relevant information of the second context that needs to be synchronized based on at least one of the application identifier and the terminal identifier in the first request and the first correspondence.
[0307] For details of S404 in the embodiment of the present application, please refer to S304 in the embodiment shown in FIG. 3 .
[0308] S405: The second EAS sends a fifth request to the second EES.
[0309] For details of S405 in the embodiment of the present application, please refer to S305 in the embodiment shown in FIG. 3 .
[0310] S406: The second EES sends a response to the second EAS.
[0311] For details of S406 in the embodiment of the present application, please refer to S306 in the embodiment shown in FIG. 3 .
[0312] S407: The second EES stores a third correspondence between the identifier and the relevant information of the application context, and searches locally for the first context and / or the relevant information of the first context that needs to be synchronized based on at least one of the application identifier and the terminal identifier in the fifth request and the third correspondence.
[0313] For details of S407 in the embodiment of the present application, please refer to S307 in the embodiment shown in FIG. 3 .
[0314] S408: The first EES sends a second request to the second EES.
[0315] For the content of S408 above, reference may be made to S308 in the embodiment shown in FIG. 3 .
[0316] S409: The second EES sends a second response to the first EES.
[0317] The second response includes all information related to the application context on the second EES. For example, the IDs and / or address information of all EASs registered on the second EES, 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 information about the second EAS and related information about the second context, as well as the application identifier and group information corresponding to the second request.
[0318] S410: The first EES determines relevant information of the second context according to the second response and the group information obtained by itself.
[0319] Based on the information received in step S409 above, as well as the application identifier and group information obtained from the first request in steps S402-S404, 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. 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.
[0320] S411: The first EES sends a first response to the first EAS.
[0321] For details of S411 in the embodiment of the present application, please refer to S311 in the embodiment shown in FIG. 3 .
[0322] S412: The second EES sends a fifth response to the second EAS.
[0323] For details of S412 in the embodiment of the present application, please refer to S312 in the embodiment shown in FIG. 3 .
[0324] 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.
[0325] In this embodiment of the present application, when the first EES determines that no other EAS is connected to the group of UEs on the first EES, the first EES can query other EESs within the EDN to determine whether there is a second EAS or a second context that requires synchronization of application context. In this implementation scenario, the EES is responsible for application context synchronization, which can reduce EAS implementation logic and signaling overhead.
[0326] Figure 5 shows a schematic flow chart of a synchronous application context. In an embodiment of the present application, the second EAS accessed by the second terminal can be registered on other EESs within the EDN where the first EES is located. In the embodiment of the present application, the execution logic (S505-S506) of the second EES is different from the embodiment shown in Figure 3.
[0327] S501: The first EES or the second EES configures address information of other EESs.
[0328] For details of S501 in the embodiment of the present application, please refer to S301 in the embodiment shown in FIG. 3 .
[0329] S502: The first EAS sends a first request to the first EES.
[0330] For details of S502 in the embodiment of the present application, please refer to S302 in the embodiment shown in FIG. 3 .
[0331] S503: The first EES sends a response to the first EAS.
[0332] For details of S503 in the embodiment of the present application, please refer to S303 in the embodiment shown in FIG. 3 .
[0333] S504: The first EES stores a first correspondence between the identifier and the 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 based on at least one of the application identifier and the terminal identifier and the first correspondence.
[0334] For details of S504 in the embodiment of the present application, please refer to S304 in the embodiment shown in FIG. 3 .
[0335] S505: The first EES sends a second request to the second EES.
[0336] At this time, the second request is an application context subscription request (context sync subscription request). For other details, please refer to S308.
[0337] S506: The second EES sends an application context subscription response (Context sync subscription response) to the first EES.
[0338] 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 each other for application context synchronization information. 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. The response does not carry relevant information about 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 about the second context, it can then send the second context and / or relevant information about the second context to the first EES or the first EAS.
[0339] 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.
[0340] 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 the 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.
[0341] The second EES determines the third corresponding relationship based on the information received from the EAS associated with it, for details, see S305 in the embodiment shown in Figure 3. Step S507 searches for the content of the second context, for details, see S309 in the embodiment shown in Figure 3.
[0342] S508: The second EES sends a second response to the first EES.
[0343] Step S508 may refer to S310 or S409.
[0344] S509: The first EES sends an application context synchronization notification, ie, a first response, to the first EAS.
[0345] The content of step S509 may refer to step S311, or S410-S411.
[0346] S510: The first EAS reads the application context that needs to be synchronized according to the relevant information of the corresponding application context.
[0347] In this embodiment of the present application, EESs can subscribe to each other's application context synchronization information. When an EES determines that more than one EAS is serving the same group of users, it can send the application context storage address or EAS information to the corresponding EAS. In this implementation scenario, the EES is responsible for application context synchronization, which can reduce EAS implementation logic and signaling overhead. That is, EASs that do not serve the same group of terminals will not receive unnecessary synchronization request messages.
[0348] FIG6 shows a schematic flow chart of synchronizing an application context. In an embodiment of the present application, the second EAS accessed by the second terminal may be registered on an EES in an EDN different from the EDN where the first EES is located.
[0349] S601: A first EAS sends a first request to a first EES.
[0350] For details of S601 in the embodiment of the present application, please refer to S201 in the embodiment shown in FIG. 2 .
[0351] S602: The first EES sends a response to the first EAS.
[0352] For details of S602 in the embodiment of the present application, please refer to S202 in the embodiment shown in FIG. 2 .
[0353] S603: The first EES stores a first correspondence between the identifier and the 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 based on at least one of the application identifier and the terminal identifier and the first correspondence.
[0354] For details of S603 in the embodiment of the present application, please refer to S203 in the embodiment shown in FIG. 2 .
[0355] S604: The first EES sends a third request to the first ECS.
[0356] 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.
[0357] In one implementation, after receiving the first request, the first EES may perform both step S603 and step S604, and may also send a second request to the second EES.
[0358] In one implementation, after receiving the first request, the first EES first determines whether information related to all second contexts in the group is available within its EDN, or whether a cross-EDN query for the second context is required. If information related to all second contexts in the group is not available within the EDN where the first EES is located, or a cross-EDN query for the second context is required, the first EES sends a third request to the first ECS. Otherwise, if information related to all second contexts in the group is available within the EDN where the first EES is located, or a cross-EDN query for the second context is not required, the first EES executes step S603.
[0359] 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 receiving the second request, the second EES 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, which indicates that there is no second EAS in the EAS associated with the second EES and that the second EES does not have the required related information of the second context. Furthermore, after receiving the response, the first EES sends a third request to the first ECS.
[0360] S605: The first ECS returns an application context synchronization response, which carries information indicating whether the subscription is successful or failed.
[0361] S606: The first ECS stores a second correspondence between the identifier and the relevant information of the application context, and determines relevant information of the second context according to at least one of the application identifier and the terminal identifier and the second correspondence.
[0362] The first ECS may control multiple EESs, each of which 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 correspondence between at least one of the application identifier and the terminal identifier and the application context-related information.
[0363] 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: the first EAS ID, the first EAS address information, the storage address of the first context in the first EAS, the first EES ID, the first EES address information, and the storage address of the first context in the first EES.
[0364] 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: the identifier of the second terminal, the identifier of the group to which the second terminal belongs, the identifiers of multiple terminals in the group to which the second terminal belongs, the identifier of the client of the first application, and the identifier of the second EAS.
[0365] 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.
[0366] After receiving the fourth request, the first ECS determines a correspondence between the relevant information of the second context, the application identifier, and the group information. The relevant information of the second context stored by 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.
[0367] After receiving the third request, 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. For details, refer to the judgment logic of the first EES and the second EES.
[0368] The first ECS can search for an EAS with the same EAS ID as the first EAS on the first ECS as the target second EAS. If the target second EAS only serves one application, the first ECS can further determine the target 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 on the first ECS as the target second EAS based on the AC ID or APP ID of the first application, and then further determine the target based on the group information.
[0369] 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 based on the group ID. The relevant information of the application context corresponding to the same group ID is the relevant information of the second context.
[0370] 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.
[0371] If the group information is information determined by the UE ID and the 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.
[0372] If the group information is AC-EAS session information, the first ECS may determine, based on the AC-EAS session ID, whether the first ECS stores relevant information of the application context corresponding to the same AC-EAS session ID.
[0373] 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.
[0374] Furthermore, if the group information uniquely identifies the EAS, the first ECS can also search for the second context based solely on the group information and the second correspondence during the above process of determining the second context. Alternatively, if the EAS serves only one application and only one group, the first ECS can also search for the second context based solely on the application identifier and the second correspondence.
[0375] S607: The first ECS sends a third response to the first EES.
[0376] In one implementation, if the first ECS determines that the second EES exists, or if the second context exists on the second EAS, the first ECS 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.
[0377] S608: The first EES sends a first response to the first EAS.
[0378] The second EAS also sends a context synchronization request to the second EES, as shown in steps S601'-S608' in the figure. S606' is not shown in the figure. For details, refer to steps S601-S608. When the first ECS determines that the first EES or the first context exists on the first EAS, the first ECS can send an application context synchronization subscription notification to the second EES (fourth response). The second EES sends an application context synchronization subscription notification to the second EAS (fifth response).
[0379] 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.
[0380] 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 EESs managed by the first ECS, and the IDs and / or address information of all EASs 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 about the second context, as well as the application identifier and group information corresponding to the third request.
[0381] Step S608 is replaced by S6081-S6082 (not shown in the figure).
[0382] S6081: The first EES determines relevant information of the second context based on the third response and the application identifier and group information obtained by itself.
[0383] Based on the information received in step S6071 above, as well as the application identifier and group information obtained from the first request in steps S601-S603, 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. 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.
[0384] S6082: The first EES sends a first response to the first EAS (see S207 or S311).
[0385] In this embodiment, the ECS acts as a centralized control entity and stores application contexts and / or related information corresponding to EASs and EESs across the entire network. This method reduces signaling interactions between EESs for mutual subscriptions, meaning that an EES does not need to subscribe to the required application context storage information from all EESs across the entire network, thereby improving detection and search efficiency.
[0386] In addition, Figure 7 shows a schematic flow chart for synchronizing application contexts. If all EASs other than the first EAS accessed by a group of terminals are not registered on the first EES, but rather some are registered on the first EES and some are registered on other EESs in the EDN where the first EES is located, the first EES does not locally find the relevant information about the second context corresponding to all second EASs. In other words, the first EES does not serve all UEs in the group, i.e., a group of UEs access different EASs on different EESs within the same EDN. In this case, the first EES both locally searches for the relevant information about the second context and sends a second request to the second EES within the same EDN. In other words, in this embodiment of the present application, the embodiments shown in Figures 2 and 3 can be combined. The details are as follows: S701-S710.
[0387] S701: A first EAS sends a first request to a first EES.
[0388] For details of S701 in the embodiment of the present application, please refer to S201 in the embodiment shown in FIG. 2 .
[0389] S702: The first EES sends a response to the first EAS.
[0390] For details of S702 in the embodiment of the present application, please refer to S202 in the embodiment shown in FIG. 2 .
[0391] 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.
[0392] For details of S703 in the embodiment of the present application, please refer to S203 in the embodiment shown in FIG. 2 .
[0393] S704: The first EES stores a first correspondence between the identifier and information related to the application context.
[0394] For details of the content of S704 in the embodiment of the present application, please refer to S203-S206 in the embodiment shown in FIG. 2 .
[0395] S705: The second EES stores a third correspondence between the identifier and the relevant information of the application context.
[0396] 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.
[0397] 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.
[0398] S706: The first EES sends a second request to the second EES.
[0399] The first EES determines whether the relevant information of the second context is found locally or all of it is found. If not, the first EES sends a second request to the second EES.
[0400] S707: The second 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 third corresponding relationship.
[0401] For details of S707 in the embodiment of the present application, please refer to S309 in the embodiment shown in FIG. 3 .
[0402] S708: The second EES sends a second response to the first EES.
[0403] For details of S708, please refer to S310.
[0404] S709: The first EES sends a first response to the first EAS.
[0405] The first EES locally finds some relevant information about the second context, and the second response includes some relevant information about 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.
[0406] S710: The first EAS reads the application context that needs to be synchronized according to the relevant information of the corresponding application context.
[0407] Figure 8 shows a schematic flow chart of a synchronized application context. If a group of terminals access EASs other than the first EAS, but not all of them are registered on the first EES, but rather some are registered on the first EES, some are registered on other EESs in the same EDN as the first EES, and some are registered on other EESs in a different EDN from the first EES, then the first EES will both locally locate the second context and send a second request to the second EES in the same EDN. The second EES will return part of the required application context to the first EES or return information that the required application context is missing. The first EES will then send a third request to the first ECS. This means that the embodiments shown in Figures 2, 3, and 6 can be combined in this embodiment of the present application. The details are as follows: S801-S814.
[0408] S801: A first EAS sends a first request to a first EES.
[0409] For details of S801 in the embodiment of the present application, please refer to S201 in the embodiment shown in FIG. 2 .
[0410] S802: The first EES sends a response to the first EAS.
[0411] For details of S801 in the embodiment of the present application, please refer to S202 in the embodiment shown in FIG. 2 .
[0412] 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.
[0413] For details of the content of S801 in the embodiment of the present application, please refer to S203 in the embodiment shown in FIG. 2 .
[0414] S804: The first EES stores a first correspondence between the identifier and information related to the application context.
[0415] For details of S804 in the embodiment of the present application, please refer to S203-S206 in the embodiment shown in FIG. 2 .
[0416] S805: The second EES stores a third correspondence between the identifier and the relevant information of the application context.
[0417] For details of S805 in the embodiment of the present application, please refer to S305 in the embodiment shown in FIG. 3 .
[0418] S806: The first EES sends a second request to the second EES.
[0419] The first EES determines whether the relevant information of the second context is found locally or all of it is found. If not, the first EES sends a second request to the second EES.
[0420] S807: The second EES 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 corresponding relationship.
[0421] For details of the content of S807 in the embodiment of the present application, please refer to S309 in the embodiment shown in FIG. 3 .
[0422] At least one of the second EASs is registered on the first EES. A second EAS registered on the first EES is represented as second EAS#1. A second EES in the same EDN as the first EES is represented as second EES#1. A second EAS registered on second EES#1 is represented as second EAS#2. A second EES in a different EDN from the first EES is represented as second EES#2. A second EAS registered on second EES#1 is represented as second EAS#3.
[0423] 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.
[0424] S808: The second EES sends a second response to the first EES.
[0425] 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 based on 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.
[0426] S809 : The first ECS obtains the relevant information of the second context on the second EAS# 3 and maintains the second corresponding relationship.
[0427] The first ECS determines the second corresponding relationship. For details of S809 , refer to S606 .
[0428] S810: The first EES sends a third request to the first ECS.
[0429] 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.
[0430] S812: The first ECS sends a third response to the first EES.
[0431] For details of S811, please refer to S606, and for details of S812, please refer to S607.
[0432] S813: The first EES sends a first response to the first EAS.
[0433] 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.
[0434] S814: The first EAS reads the application context that needs to be synchronized according to the relevant information of the corresponding application context.
[0435] 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 context corresponding to a certain application / a certain group. At this time, EES maintains the application context, 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 context 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 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 context 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 context, which can reduce the signaling overhead of mutual search between EESs.
[0436] In the embodiments shown in Figures 2-8 of this application, in the aforementioned method embodiments that do not affect implementation, the order of sequence numbers for the aforementioned processes does not necessarily imply a precedence in execution. The execution order of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation of the embodiments of this application. Furthermore, it is possible that not all operations in the aforementioned method embodiments need to be executed.
[0437] 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 embodiments of the present application can also include executing other operations or variations of various operations.
[0438] It is understandable that in the above method embodiments, the methods implemented by EAS, EES or ECS can also be implemented by components (such as chips or circuits, etc.) that can be used in EAS, EES or ECS.
[0439] 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.
[0440] The method for synchronizing application contexts in an embodiment of the present application is described in detail above in conjunction with Figures 2 to 8 , and the communication device provided in an embodiment of the present application is described in detail below in conjunction with Figures 9 and 10 .
[0441] Refer to Figure 9, which is a schematic diagram of the communication device provided in this application. As shown in Figure 9, the communication device 900 may include a communication unit 910, and optionally may also include a processing unit 920. The communication unit 910 can implement corresponding communication functions, and the communication can be internal communication of the communication device 900 or communication between the communication device 900 and other devices; the processing unit 920 can implement corresponding processing functions. The communication unit 910 can also be called a communication interface or a transceiver unit. Optionally, the communication device 900 may also include a storage unit, which can be used to store instructions and / or data, and the processing unit 920 can read the instructions and / or data in the storage unit, so that the communication device 900 implements the aforementioned method embodiment.
[0442] In one possible design, the communication device 900 may be the first EES in the above method embodiments, 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.
[0443] Specifically, the communication unit 910 is used to: receive a first request from a first edge application server EAS, the first request being used to request a second context and / or related information about the second context from the first EES, the first EAS being one of at least one EAS associated with the first EES; and send a first response to the first EAS, the first response including the second context and / or related information about the second context.
[0444] The first request includes at least one of an application identifier and a terminal identifier. The processing unit 920 is configured to determine relevant information of the second context based on at least one of the application identifier and the terminal identifier, and a first correspondence between the identifier and relevant information of the application context.
[0445] 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.
[0446] The terminal identification may include at least one of the following information: the identification of the first terminal, the identification of the group to which the first terminal belongs, and the identification of multiple terminals in the group to which the first terminal belongs, wherein the first EAS provides services for the first terminal, and the multiple terminals in the group to which the first terminal belongs use the first application and have the need to synchronize application contexts.
[0447] 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.
[0448] The communication unit 910 is further configured to: send a second request to the second EES, where the second request is 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, where the second response includes the second context and / or related information of the second context.
[0449] Alternatively, the communication unit 910 is also used to: when the first EES has not determined the relevant information of the second context, send a second request to the second EES, and the second request is used to request the second context and / or relevant information of the second context from the second EES; receive a second response from the second EES, and the second response includes the second context and / or relevant information of the second context.
[0450] Alternatively, the communication unit 910 is also used to: send a second request to the 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 terminal identifier in the first request.
[0451] The communication unit 910 is further configured to: send a third request to the first ECS, requesting 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.
[0452] 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.
[0453] Alternatively, the communication unit 910 is further configured 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; 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 further configured to: determine, based on at least one of the application identifier and terminal identifier in the first request, from the application context of at least one application and / or related information of the application context of at least one application, 第一应用 The application context of the first application and / or related information of the application context of the first application.
[0454] 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.
[0455] 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.
[0456] The processing unit 920 is also used to: determine a first correspondence between at least one of the application identifier, the terminal identifier and the relevant information of the application context according to the sixth request, the first correspondence including the correspondence between at least one of the application identifier, the terminal identifier and the relevant information of the second context.
[0457] 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.
[0458] 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 correspondence between at least one of the application identifier and the terminal identifier and related information of the first context.
[0459] In one possible design, the communication device 900 may be the first EAS in the above method embodiments, 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.
[0460] Specifically, the communication unit 910 is used to: send a first request to the first EES, the first request requests the second context and / or related information of the second context from the first EES, the first EAS is one 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.
[0461] 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.
[0462] The terminal identification may include at least one of the following information: the identification of the first terminal, the identification of the group to which the first terminal belongs, and the identification of multiple terminals in the group to which the first terminal belongs, wherein the first EAS provides services for the first terminal, and the multiple terminals in the group to which the first terminal belongs use the first application and have the need to synchronize application contexts.
[0463] 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.
[0464] In one possible design, the communication device 900 may be the first ECS in the above method embodiments, 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.
[0465] Specifically, the communication unit 910 is used to: receive a third request from the first EES, the third request being used to request the second context and / or related information of the second context from the first ECS; and send a third response to the first EES, 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.
[0466] In another implementation, the at least one application includes a first application, and the third response includes the second context and / or related information of the second context.
[0467] The third request includes at least one of an application identifier and a terminal identifier. The processing unit 920 is configured to determine 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.
[0468] 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.
[0469] The processing unit 920 is also used to: determine a second correspondence between the application identifier, terminal identifier and related 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, terminal identifier and related information of the second context.
[0470] In one possible design, the communication device 900 may be the second EES in the above method embodiments, 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.
[0471] Specifically, the communication unit 910 is used to: receive a fifth request from the second EAS, where the fifth request is used to request the first context and / or related information of the first context from the second EES, and the second EAS is 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, where the fifth response includes the first context and / or related information of the first context.
[0472] The communication unit 910 is further configured to: send a fourth request to the first ECS, requesting the first context and / or information related to the first context; and receive a fourth response from the first ECS, the fourth response including the first context and / or information related to the first context. In some implementations, the fourth response includes the application context of at least one application and / or information related to the application context of at least one application.
[0473] The communication unit 910 is further configured to: receive a second request from the first EES, the second request being configured to request a second context and / or information related to the second context from the second EES; and send a second response to the first EES based on the second request, the second response including the second context and / or information related to the second context. In some implementations, the second response includes an application context of at least one application and / or information related to the application context of at least one application.
[0474] The communication unit 910 is further configured to: send a seventh request to the first EES, requesting 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.
[0475] In one possible design, the communication device 900 may be the second EAS in the above method embodiments, 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.
[0476] Specifically, the communication unit 910 is used to: send a fifth request to the second EES, where the fifth request is used to request the first context and / or related information of the first context from the second EES; and receive a fifth response from the second EES, where the fifth response includes the first context and / or related information of the first context.
[0477] Regarding the steps or processes executed by each unit in the communication device 900, please refer to the above method embodiment for details, which will not be described in detail here.
[0478] 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, a receiving circuit and a transmitting circuit), and the processing unit 920 can be replaced by a processor or a processing circuit.
[0479] Referring to Figure 10 , Figure 10 is a schematic diagram of the structure of a communication device 1000 applicable to embodiments of the present application. 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 in implementing the aforementioned methods. This device may be used to implement the methods described in the aforementioned method embodiments, and for details, please refer to the descriptions in the aforementioned method embodiments.
[0480] The communication device 1000 includes one or more processors 1001, which may also be referred to as processing units, and may implement certain control functions. The processor 1001 may be a general-purpose processor or a dedicated processor.
[0481] 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.
[0482] In another optional design, the communication device 1000 may include a communication interface 1003 for implementing receiving and transmitting 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 transmitting functions may be separate or integrated. The transceiver circuit, interface, interface circuit, or transceiver may be used for reading and writing code / data, or the transceiver circuit, interface, interface circuit, or transceiver may be used for transmitting or delivering signals.
[0483] Optionally, the communication device 1000 may include one or more memories 1002, which may store instructions. The instructions may be executed on the processor 1001, causing the communication device 1000 to perform the method described in the above method embodiment. Optionally, the memory 1002 may also store data. Optionally, the processor 1001 may also store instructions and / or data. The processor 1001 and memory 1002 may be provided separately or integrated together.
[0484] Those skilled in the art will appreciate that, for ease of explanation, FIG10 shows only one memory and processor. In an actual device, multiple processors and memories may exist. The memory may also be referred to as a storage medium or storage device, etc., which is not limited in the present embodiment.
[0485] It should be understood that, in one possible design, each step in the method embodiment provided in the present application can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can 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 the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
[0486] It should be noted that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiment can be completed by hardware integrated logic circuits in the processor or software instructions.
[0487] 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 (DSPs), application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) 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 the 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.
[0488] It should be understood that in the embodiments 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 DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0489] Embodiments of the present application provide a communications network including at least one EES and multiple EASs. The EES is configured to execute the steps executed by the first EES and the second ESS in the method embodiment, and the EAS is configured to execute the steps executed by the first and second EASs in the method embodiment. The communications network may also include at least one ECS, which is configured to execute the steps executed by the first ECS in the method embodiment.
[0490] An embodiment of the present application provides a computer storage medium, which stores a computer program (also referred to as code or instructions). When the computer program is run on a computer, the computer executes the method for transmitting a message according to an embodiment of the present application.
[0491] 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.
[0492] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any other combination thereof. 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 program 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 device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media 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 drive.
[0493] Those skilled 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 beyond the scope of this application.
[0494] Those skilled in the art will 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.
[0495] In the several embodiments provided in this 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 merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, 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.
[0496] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0497] 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.
[0498] 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, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0499] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A method for application context migration, characterized in that: Applied to a terminal device, the method comprises: Sending second information to the edge configuration server ECS, where the second information is used to indicate the selection of an edge enabling server EES that supports the application context migration ACR scenario; receiving EES information from the ECS, the EES information indicating at least one EES supporting an ACR scenario; Determine a target EES according to the EES information, where the target EES is one of the at least one EES supporting the ACR scenario; The target EES is requested to perform ACR, so that the terminal device migrates the application context of the terminal device from the source edge application server EAS of the terminal device to the target EAS of the terminal device through the target EES.
2. The method according to claim 1, characterized in that The ACR scenario is a scenario in which the terminal device executes, through an EES supporting the ACR scenario, migration of the application context of the terminal device from a source EAS of the terminal device to a target EAS of the terminal device.
3. The method according to claim 2, characterized in that The method further comprises: First information is received from the ECS, the first information indicating an ACR capability of the at least one EES.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: In the case that the current application has no corresponding ACR scenario, or in the case that the currently connected EES or the currently connected EAS cannot perform ACR, it is determined to perform ACR based on the ACR scenario.
5. The method according to claim 4, characterized in that The method further comprises: Third information is received from the currently connected EES, where the third information indicates that the current application has no corresponding ACR scenario, or indicates that the currently connected EES or the currently connected EAS cannot perform ACR.
6. The method according to any one of claims 1 to 3, characterized in that Before determining the target EES, the method further includes: Fourth information is received from the currently connected EES, where the fourth information is used to indicate selection of a target EES that supports the ACR scene, or to indicate that the ACR scene is an ACR scene corresponding to a current application.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: receiving EAS information from the target EES, the EAS information indicating at least one EAS; The target EAS is determined according to the EAS information.
8. The method according to claim 7, characterized in that The method further comprises: Fifth information is received from the target EES, the fifth information indicating an ACR capability of the at least one EAS.
9. The method according to claim 7 or 8, characterized in that The at least one EAS supports the ACR scenario.
10. The method according to any one of claims 7 to 9, characterized in that The method further comprises: Sending sixth information to the target EES, where the sixth information is used to indicate at least one of the following: Select the target EAS that supports the ACR scenario. The source EES or source EAS cannot perform ACR, The current application has no corresponding ACR scene, or Request to obtain the ACR capability of EAS.
11. A communication method, characterized in that: Applied to edge configuration server ECS, the method includes: receiving second information from a terminal device, where the second information is used to indicate selection of an edge enabling server EES supporting an application context migration ACR scenario; EES information is sent to the terminal device, where the EES information indicates at least one EES that supports the ACR scenario.
12. The method according to claim 11, characterized in that The ACR scenario is a scenario in which the terminal device executes migration of the application context of the terminal device from the source edge application server EAS of the terminal device to the target EAS of the terminal device through the EES supporting the application context migration scenario.
13. The method according to claim 12, characterized in that The method further comprises: Sending first information to the terminal device, wherein the first information indicates the ACR capability of the at least one EES.
14. A communication method, characterized in that: Applied to edge configuration server ECS, the method includes: Determine at least one edge enabling server EES that supports an application context migration ACR scenario, wherein the ACR scenario is a scenario in which ACR is performed by a target EES; EES information is sent to the terminal device, where the EES information indicates the at least one EES.
15. The method according to claim 14, characterized in that The method further includes: sending first information to the terminal device, wherein the first information indicates the ACR capability of the at least one EES.
16. The method according to claim 14 or 15, characterized in that The method further comprises: receiving second information from the terminal device, where the second information is used to indicate at least one of the following: Select the target EES that supports the target ACR scenario, The currently connected EES or the currently connected edge application server EAS cannot perform ACR, or The current application has no corresponding ACR scenario.
17. A communication method, characterized in that: Applied to an edge enabling server EES, the method comprises: Determine that the current application has no corresponding application context migration ACR scenario; The third information is sent to the terminal device, where the third information indicates that the current application has no corresponding ACR scenario, or indicates that the EES or the currently connected edge application server EAS cannot perform ACR.
18. A communication method, characterized in that: Applied to an edge enabling server EES, the method comprises: Determine to perform ACR based on an application context migration ACR scenario, where the ACR scenario is a scenario in which ACR is performed by a target EES; Send fourth information to the terminal device, where the fourth information is used to indicate the selection of a target EES that supports the ACR scene, or to indicate that the ACR scene is the ACR scene corresponding to the current application.
19. The method according to claim 18, characterized in that Before determining to perform ACR based on the ACR scenario, the method further includes: Make sure that the current application has no corresponding ACR scenario.
20. A communication method, characterized in that: Applied to an edge enabling server EES, the method comprises: Sending edge application server EAS information to the terminal device, wherein the EAS information indicates at least one EAS; Fifth information is sent to the terminal device, where the fifth information indicates the application context migration ACR capability of the at least one EAS.
21. The method of claim 20, wherein: The method further comprises: Receive sixth information from the terminal device, where the sixth information is used to indicate a request to obtain the ACR capability of the EAS.
22. A communication method, characterized in that: Applied to an edge enabling server EES, the method comprises: Determine at least one edge application server EAS that supports an application context migration ACR scenario; the ACR scenario is a scenario in which ACR is executed by a target EES; EAS information is sent to the terminal device, where the EAS information indicates the at least one EAS.
23. The method of claim 22, wherein: The method further includes: sending fifth information to the terminal device, wherein the fifth information indicates the ACR capability of the at least one EAS.
24. The method according to claim 22 or 23, characterized in that The method further comprises: Receive sixth information from a terminal device, where the sixth information is used to indicate at least one of the following: Select the target EAS that supports the ACR scenario. The source EES and source EAS cannot perform ACR, or The current application has no corresponding ACR scenario.
25. A communication device, characterized in that: Used to implement the method as claimed in any one of claims 1 to 10, or, used to implement the method as claimed in any one of claims 11 to 16, or, used to implement the method as claimed in any one of claims 17 to 19, or, used to implement the method as claimed in any one of claims 20 to 24.
26. A communication device, characterized in that: Comprising a processor, the processor is used to execute program code so that the communication device implements the method as described in any one of claims 1 to 10, or, implements the method as described in any one of claims 11 to 16, or, implements the method as described in any one of claims 17 to 19, or, implements the method as described in any one of claims 20 to 24.
27. A communication system, characterized in that: It comprises at least one of a source edge enabling server EES and a target EES, wherein the source EES is used to implement the method according to any one of claims 17 to 19, and the target EES is used to implement the method according to any one of claims 20 to 24.
28. The communication system according to claim 27, characterized in that The communication system further comprises an edge configuration server ECS, wherein the ECS is configured to implement the method according to any one of claims 11 to 16.
29. The communication system according to claim 27 or 28, characterized in that: The communication system further comprises a terminal device, wherein the terminal device is configured to implement the method according to any one of claims 1 to 10.
30. A communication method, characterized in that: The method comprises: The terminal sends second information to the edge configuration server ECS, where the second information is used to indicate the selection of an edge enabling server EES that supports the application context migration ACR scenario; The ECS sends EES information to the terminal, where the EES information indicates at least one EES that supports the ACR scenario; The terminal determines a target EES according to the EES information, where the target EES is one of the at least one EES supporting the ACR scenario; The terminal requests the target EES to perform ACR, so that the terminal device migrates the application context of the terminal device from the source edge application server EAS of the terminal device to the target EAS of the terminal device through the target EES.
31. The method of claim 30, wherein: The ACR scenario is a scenario in which the terminal device executes, through an EES supporting the ACR scenario, migration of the application context of the terminal device from a source EAS of the terminal device to a target EAS of the terminal device.
32. A communication system, characterized in that: The communication system comprises: A terminal device, configured to implement the method according to any one of claims 1 to 10; A network side device is used to communicate with the terminal device.
33. The communication system of claim 32, wherein the network side device comprises at least one of an ECS and an EES.
Citation Information
Patent Citations
Communication method and device
CN114980223A
Service migration method and device
CN115167991A
Application migration method and device
WO2021223637A1
