Processing method and device of edge application, communication device and readable storage medium

By sharing image files between neighboring edge computing platforms and hot-starting application instantiation upon receiving access requests, the problems of resource waste and long response time of edge computing platforms are solved, achieving fast response and resource saving.

CN114599061BActive Publication Date: 2025-12-09CHINA MOBILE COMM LTD RES INST +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011405820.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-03
Publication Date
2025-12-09
Estimated Expiration
2040-12-03

AI Technical Summary

Technical Problem

Existing edge computing platforms suffer from resource waste and long response times when providing edge application services. In particular, resource waste is severe when storing image files and instantiating applications in advance, while response times are too long when image files are not deployed in advance.

Method used

By sharing image files among neighboring edge computing platforms, the edge computing platform can obtain the image file of the edge application in advance before receiving an access request, and hot-start the application instantiation when it receives an access request, thus avoiding the pre-storage and instantiation of resources.

Benefits of technology

It enables rapid response upon receiving access requests, saving resources on the edge computing platform and improving response speed and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114599061B_ABST
    Figure CN114599061B_ABST
Patent Text Reader

Abstract

The application provides a processing method and device of edge application, a communication device and a readable storage medium. The processing method of the edge application executed by a first ECP includes: receiving a first mirror file, the first mirror file being a mirror file of a first edge application accessed by a second ECP, the second ECP being an ECP having a neighbor relationship with the first ECP; in the case that an access request for the first edge application is received, instantiating the first edge application according to the first mirror file; and sending an access result of the first edge application. Through the application, on the one hand, a large number of mirror files can be avoided to be stored in advance by the ECP and the edge application is instantiated, so that resources can be saved; on the other hand, the ECP can download in advance a mirror file of a first edge application accessed by a neighbor ECP, so that the ECP can hot start to instantiate the first edge application after receiving an access request for the first edge application, thereby the response rate of the access request can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of communication, and in particular, to a processing method and device of edge application, a communication device and a readable storage medium. BACKGROUND

[0002] Edge computing is a key technology to promote the vigorous development of big video, big data, Internet of Things and other businesses. Edge computing provides edge application services for terminals through an edge computing platform (ECP).

[0003] Currently, the ECP provides edge application services in the following two ways: Way 1), an edge application is deployed in advance, that is, the ECP has stored an image file of the edge application and has instantiated the edge application in advance, so that when a terminal needs to access the edge application, the ECP can directly provide services of the edge application. Way 2), the application image is not deployed and instantiated, and when the terminal has an access demand for an edge application, the ECP downloads the image file of the edge application and then instantiates the edge application. For way 1), the ECP needs to store the image file of the edge application in advance and instantiate the edge application, which has a great requirement for the storage and computing capacity of the ECP, and is prone to resource waste; for way 2), the ECP downloads the image file of the edge application and instantiates the edge application only after receiving the access demand of the terminal for the edge application, which is prone to a long response time. SUMMARY

[0004] Embodiments of the present application provide a processing method and device of edge application, a communication device and a readable storage medium to solve the problem of resource waste or long access response time in the existing processing method of edge application.

[0005] To solve the above problem, the present application is implemented as follows:

[0006] In a first aspect, embodiments of the present application provide a processing method of edge application, executed by a first edge computing platform (ECP), and the method comprises:

[0007] receiving a first image file, the first image file being an image file of a first edge application accessed by a second ECP, the second ECP being an ECP having a neighbor relationship with the first ECP;

[0008] in a case where an access request for the first edge application is received, instantiating the first edge application according to the first image file;

[0009] sending an access result of the first edge application.

[0010] In a second aspect, the embodiments of the present application provide a processing method of edge application, executed by an ECM, comprising:

[0011] receiving first information sent by a second ECP, the first information being used for indicating that a first edge application of the second ECP is in an access state;

[0012] detecting whether a first ECP having a neighbor relationship with the second ECP exists;

[0013] in a case where the first ECP exists, sending a first mirror file to the first ECP, the first mirror file being a mirror file of the first edge application.

[0014] In a third aspect, the embodiments of the present application provide a processing method of edge application, executed by a second ECP, comprising:

[0015] in a case where a first terminal accesses a first edge application, sending first information to an ECM, the first information being used for indicating that a first edge application of the second ECP is in an access state.

[0016] In a fourth aspect, the embodiments of the present application provide a processing device of edge application, comprising:

[0017] a first transceiver, configured to receive a first mirror file, the first mirror file being a mirror file of a first edge application of a second ECP, the second ECP being an ECP having a neighbor relationship with a first ECP;

[0018] a first processor, configured to, in a case where an access request for the first edge application is received, instantiate the first edge application according to the first mirror file;

[0019] the first transceiver is further configured to send an access result of the first edge application.

[0020] In a fifth aspect, the embodiments of the present application provide a processing device of edge application, comprising:

[0021] a second transceiver, configured to receive first information sent by a second ECP, the first information being used for indicating that a first edge application of the second ECP is in an access state;

[0022] a second processor, configured to detect whether a first ECP having a neighbor relationship with the second ECP exists;

[0023] the second transceiver is further configured to, in a case where the first ECP exists, send a first mirror file to the first ECP, the first mirror file being a mirror file of the first edge application.

[0024] In a sixth aspect, an embodiment of the present application provides a processing device for edge application, the device comprising:

[0025] The third transceiver is configured to send, to the ECM, first information indicating that the first edge application of the second ECP is in an access state, in a case where the first terminal accesses the first edge application.

[0026] In a seventh aspect, an embodiment of the present application further provides a communication device, comprising a transceiver, a memory, a processor, and a program stored in the memory and capable of running on the processor; and the processor is configured to read the program in the memory to implement the steps in the method according to the first aspect, or implement the steps in the method according to the second aspect, or implement the steps in the method according to the third aspect.

[0027] In an eighth aspect, an embodiment of the present application further provides a readable storage medium for storing a program, and the program is executed by a processor to implement the steps in the method according to the first aspect, or implement the steps in the method according to the second aspect.

[0028] In the embodiment of the present application, for the first ECP and the second ECP having a neighbor relationship, in a case where a terminal accesses the first edge application of the second ECP, the first ECP can obtain the mirror file of the first edge application in advance. Then, the first ECP instantiates the first edge application based on the mirror file obtained in advance, in a case where an access request for the first edge application is received. Through the embodiment of the present application, on one hand, the ECP can avoid storing a large number of mirror files and instantiating edge applications in advance, thereby saving resources; on the other hand, the ECP can download the mirror file of the first edge application of the neighbor ECP in advance, so that the ECP can hot start to instantiate the first edge application after receiving the access request for the first edge application, thereby improving the response rate of the access request. BRIEF DESCRIPTION OF DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the description of the embodiments of the present application will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0030] Figure 1 is a structure diagram of a network system to which the embodiments of the present application can be applied;

[0031] Figure 2is one of flowcharts of the processing method of the edge application provided by the embodiment of the present application;

[0032] Figure 3 is one of flowcharts of the processing method of the edge application provided by the embodiment of the present application;

[0033] Figure 4 is one of flowcharts of the processing method of the edge application provided by the embodiment of the present application;

[0034] Figure 5 is one of flowcharts of the processing method of the edge application provided by the embodiment of the present application;

[0035] Figure 6 is one of structural diagrams of the processing device of the edge application provided by the embodiment of the present application;

[0036] Figure 7 is one of structural diagrams of the processing device of the edge application provided by the embodiment of the present application;

[0037] Figure 8 is one of structural diagrams of the processing device of the edge application provided by the embodiment of the present application;

[0038] Figure 9 is one of structural diagrams of the processing device of the edge application provided by the embodiment of the present application; DETAILED DESCRIPTION

[0039] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0040] The terms "first", "second", and the like in the present application are used to distinguish similar objects, and do not necessarily mean a specific order or sequence. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those clearly listed steps or units, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices. In addition, "and / or" is used in the present application to represent at least one of the connected objects, for example, A and / or B and / or C, which represents 7 cases including A alone, B alone, C alone, A and B both exist, B and C both exist, A and C both exist, and A, B and C all exist.

[0041] Please refer to Figure 1 , Figure 1is a structural diagram of a network system to which embodiments of the present application can be applied, as shown in Figure 1 includes a terminal 11, an ECP 12, an ECP 13, and an edge computing management platform (ECM) 14.

[0042] The ECM, which can also be referred to as an edge computing service operation platform, can be used to provide services such as state monitoring of edge applications, state monitoring of users, state monitoring of ECPs, synchronization, a mirror image warehouse of the entire network, and the like. Optionally, as shown in Figure 1 The ECM can include an edge state monitoring module and a mirror image warehouse, but is not limited thereto.

[0043] The ECP, which can also be referred to as an edge PaaS platform, can be used to provide functions such as an edge mirror image warehouse, instantiation of edge applications, and edge capabilities, and can synchronize the load conditions and user conditions of edge applications on the PaaS platform to the ECM. Optionally, as shown in Figure 1 The ECP can include edge applications and an edge mirror image warehouse, but is not limited thereto. The edge applications are applications deployed on the ECP.

[0044] The terminal, which can also be referred to as a user equipment (UE), can be a mobile phone, a tablet personal computer (Tablet Personal Computer, PDA), a mobile internet device (Mobile Internet Device, MID), a wearable device, or a vehicle-mounted device, in actual applications.

[0045] The ECP can communicate with the ECM through an IF1 interface, which can be used for mirror image file download, state information synchronization, monitoring, and alarm, and the like. The UE can communicate with the ECP through an IF2, which can be used to receive information such as a token.

[0046] The processing method of the edge application of the embodiments of the present application is described below.

[0047] In the embodiments of the present application, the first ECP and the second ECP have a neighbor relationship. The first ECP can be regarded as a neighbor ECP of the second ECP, and the second ECP can be regarded as a neighbor ECP of the first ECP. The second ECP can be regarded as a source ECP of the UE, and the first ECP can be regarded as a destination ECP of the UE, that is, the UE first accesses the second ECP, and then accesses the first ECP.

[0048] Referring to Figure 2 , Figure 2is one of flowcharts of the processing method of the edge application provided in the embodiments of the present application. Figure 2 The processing method of the edge application shown can be executed by the first ECP.

[0049] As shown in Figure 2 The processing method of the edge application can include the following steps:

[0050] Step 201, receiving a first mirror file, the first mirror file being a mirror file of a first edge application accessed by a second ECP, the second ECP being an ECP having a neighbor relationship with the first ECP.

[0051] In the embodiments of the present application, in the case that a UE accesses a first edge application of a second ECP, considering that the UE will move, therefore, the neighbor ECP of the second ECP, i.e. the first ECP, can pre-acquire the mirror file of the first edge application. In this way, when the UE requests to access the first edge application of the first ECP, the first ECP can hot start to instantiate the first edge application based on the first mirror file downloaded in advance, and provide services of the first edge application for the UE, so as to improve the rate of the first ECP responding to the access request of the edge application without wasting the resources of the first ECP.

[0052] When implemented specifically, the receiving the first mirror file can be manifested as: receiving the first mirror file sent by the ECM. In the first implementation manner, after detecting that a UE is accessing an edge application of itself, the second ECP can synchronize the access situation of the edge application of itself to the ECM, so that the ECM can send the mirror file of the edge application accessed by the second ECP to the neighbor ECP of the second ECP, i.e. the first ECP. In the second implementation manner, in the case that the ECPs having a neighbor relationship can communicate, after detecting that a UE is accessing an edge application of itself, the second ECP can inform the first ECP of the identification information of the mirror file of the edge application accessed by itself, so that the first ECP can request the corresponding mirror file from the ECM based on the identification information of the mirror file, and the ECM can send the requested mirror file to the first ECP after receiving the request.

[0053] Step 202, in the case that an access request for the first edge application is received, instantiating the first edge application according to the first mirror file.

[0054] In the embodiment of the present application, the obtaining of the mirror file of the first edge application occurs before the receiving of the access request for the first edge application, and the instantiation of the first edge application occurs after the receiving of the access request for the first edge application. In this way, the first ECP can hot start the instantiation of the first edge application and provide the access service of the first edge application, so that the response rate of the access request can be improved. In specific implementation, the instantiation operation of the first edge application can refer to the description in the related art, which will not be described here again.

[0055] In step 203, the access result of the first edge application is sent.

[0056] In specific implementation, the first ECP can generate the access result based on the received access request, and return the access result to provide the service of the first edge application.

[0057] The processing method of the edge application in the embodiment can be used for the first ECP and the second ECP having a neighbor relationship. In the case that the terminal accesses the first edge application of the second ECP, the first ECP can obtain the mirror file of the first edge application in advance. Then, the first ECP can instantiate the first edge application based on the pre-obtained mirror file after receiving the access request for the first edge application. Through the embodiment, on the one hand, the ECP can avoid pre-storing a large number of mirror files and instantiating edge applications, so that the resources can be saved; on the other hand, the ECP can pre-download the mirror file of the first edge application of the neighbor ECP which is accessed. In this way, the ECP can hot start the instantiation of the first edge application after receiving the access request for the first edge application, so that the response rate of the access request can be improved.

[0058] In the embodiment of the present application, optionally, the receiving of the first mirror file comprises:

[0059] receiving the first identification information of the first mirror file sent by the edge computing management platform ECM;

[0060] sending a mirror file request to the ECM based on the first identification information;

[0061] receiving the first mirror file sent by the ECM.

[0062] In the optional embodiment, the ECM can send the first identification information of the first mirror file to the first ECP after obtaining the access situation of the edge application of the second ECP. Then, the ECM can send the first mirror file to the first ECP based on the request of the first ECP. In this way, the first mirror file can be avoided from being sent to the ECPs which do not need the first mirror file, such as the ECPs which have stored the first mirror file, so that the waste of resources can be further avoided.

[0063] Of course, it can be understood that in other embodiments, the ECM can directly send the first mirror file to the first ECP after obtaining the access situation of the edge application of the second ECP, so that the signaling interaction between the ECP and the ECM can be reduced, and system resources can be saved.

[0064] In a specific implementation, when the ECM detects that the second ECP includes two or more neighbor ECPs, the ECM can send the identification information of the mirror file and the mirror file by broadcasting or groupcasting, and the specific implementation can be determined according to actual conditions, which is not limited in the embodiments of the present application.

[0065] In an implementation, the first identification information can be carried in the mirror file request, so that the ECM can know that the first ECP requests the first mirror file after parsing the first identification information. In another implementation, the first ECP can send the mirror file request in a first manner corresponding to the first identification information, so that the ECM can know that the first ECP requests the first mirror file based on the sending manner of the mirror file request.

[0066] In the embodiments of the present application, optionally, before the access result of the first edge application is sent, the method further includes:

[0067] receiving second identification information of a first terminal, the first terminal being a terminal accessing the first edge application of the second ECP;

[0068] generating an access permission key based on the second identification information;

[0069] sending the access permission key to the first terminal through the ECM;

[0070] The sending of the access result of the first edge application includes:

[0071] in a case where a key carried in the access request matches the access permission key, sending the access result of the first edge application.

[0072] In the optional embodiments, the first ECP can pre-receive the second identification information of the first terminal, and generate an access permission key based on the second identification information. In this way, the first ECP can inform the first terminal of the access permission key in advance before the first terminal accesses the first edge application of the first ECP, so that the first terminal accesses the first edge application of the first ECP based on the access permission key, and the success rate of access is improved.

[0073] In a specific implementation, the receiving the second identification information of the first terminal can be implemented by: receiving the second identification information of the first terminal sent by an ECM; or receiving the second identification information of the second terminal sent by a second ECP. In the case that the identification information of the first terminal and the identification information of the first mirror file are both sent by an ECM, the identification information of the first terminal and the identification information of the first mirror file can be carried in the same message, so that the signaling overhead can be saved.

[0074] The access permission key can be understood as an access permission key of the first edge application corresponding to the first terminal, or an access permission key of the first ECP corresponding to the first terminal.

[0075] In the case that the access permission key is an access permission key of the first edge application corresponding to the first terminal, the access permission keys of different edge applications of the first ECP for the first terminal can be the same or different, which can be determined according to actual conditions, and the embodiments of the present application do not limit this. For example, the first terminal can access the first edge application of the first ECP based on the access permission key, and for other edge applications of the first ECP, such as the second edge application, the first terminal accesses based on the access permission key corresponding to the second edge application. In this way, the security of the access of the edge applications of the first ECP can be improved.

[0076] In the case that the access permission key is an access permission key of the first ECP corresponding to the first terminal, the access permission keys of different edge applications of the first ECP for the first terminal are the same. For example, the first terminal can access the first edge application and the second edge application of the first ECP based on the access permission key. In this way, the access of the edge applications of the first ECP by the first terminal can be simplified.

[0077] In this optional implementation, the first terminal can carry a key in the access request, and the first ECP authenticates the key carried in the access request after obtaining the access request. In the case that the key carried in the access request matches the access permission key, the first edge application access result is sent to the first terminal; in the case that the key carried in the access request does not match the access permission key, an access rejection message can be sent to the first terminal, or the access request can not be responded, which can be set according to actual conditions, and the embodiments of the present application do not limit this.

[0078] It should be noted that the execution sequence of "instantiating the first edge application" and "authenticating the key carried in the access request" is not limited in the optional embodiment. In one implementation, the first ECP can authenticate the key carried in the access request after instantiating the first edge application. In another implementation, the first ECP can instantiate the first edge application after authenticating the key carried in the access request and passing the authentication. In this way, the first ECP can not perform the operation of instantiating the first edge application when the authentication fails, thereby reducing the operation burden of the first ECP.

[0079] Referring to Figure 3 , Figure 3 FIG. 2 is a flowchart of a method for processing an edge application according to an embodiment of the present application. Figure 3 The method for processing an edge application shown in FIG. 2 is executed by an ECM.

[0080] As shown in FIG. 2, the method for processing an edge application can include the following steps. Figure 3

[0081] Step 301: receiving first information sent by a second ECP, the first information being used to indicate that a first edge application of the second ECP is in an access state.

[0082] When implemented, the second ECP can synchronize the access state of its edge application to the ECM through the first information after detecting that a terminal accesses its edge application.

[0083] Step 302: detecting whether there is a first ECP having a neighbor relationship with the second ECP.

[0084] That is, it is detected whether the second ECP has a neighbor ECP. If yes, step 303 can be performed; if not, the flow ends.

[0085] Step 303: in the case where the first ECP exists, sending a first mirror file to the first ECP, the first mirror file being a mirror file of the first edge application.

[0086] In the case where the second ECP has multiple neighbor ECPs, the ECM can broadcast the mirror file of the first edge application to all the neighbor ECPs of the second ECP.

[0087] Optionally, the sending of the first mirror file to the first ECP includes:

[0088] sending first identification information of the first edge application to the first ECP;

[0089] ​In a case that the first ECP sends a mirror file request based on the first identification information, the first mirror file is sent to the first ECP.

[0090] In the optional embodiment, the ECM sends the identification information of the first mirror file to the first ECP before sending the first mirror file to the first ECP, and then sends the first mirror file to the first ECP after receiving the mirror file request of the first ECP. In this way, the first mirror file can be avoided to be sent to the ECPs that do not need the first mirror file, such as the ECPs that have stored the first mirror file, so that resource waste can be further avoided.

[0091] Of course, it can be understood that in other embodiments, the ECM can directly send the first mirror file to the first ECP after obtaining the access situation of the edge application of the second ECP, so that the signaling interaction between the ECP and the ECM can be reduced, and system resources can be saved.

[0092] Optionally, the first information further includes second identification information of the first terminal, and the first terminal is a terminal that accesses the first edge application of the second ECP.

[0093] After detecting whether there is the first ECP having a neighbor relationship with the second ECP, the method further includes:

[0094] The second identification information is sent to the first ECP.

[0095] The access permission key sent by the first ECP is received, and the access permission key is generated based on the second identification information.

[0096] The access permission key is sent to the first terminal through the second ECP.

[0097] In the optional embodiment, after detecting that the terminal accesses the edge application of the second ECP, the second ECP can also synchronize the identification information (UEID) of the access terminal to the ECM through the first information. The ECM synchronizes the second identification information to the first ECP after obtaining the second identification information. In this way, the first ECP can generate the access permission key in advance before the first terminal accesses the first edge application thereof, and can inform the first terminal of the access permission key in advance, so that the first terminal accesses the first edge application of the first ECP based on the access permission key, and the success rate of access is improved.

[0098] It should be noted that the embodiment is an embodiment of the ECM corresponding to the method embodiment, and therefore, the method embodiment can be referred to. Figure 2 The method embodiment corresponds to the ECM embodiment, and therefore, the method embodiment can be referred to. Figure 2The related description in the method embodiment can be referred to, and the same beneficial effects can be achieved. To avoid repeated description, no longer be described here.

[0099] The processing method of the edge application in this embodiment can synchronize the access of the second ECP to the first ECP, and send the mirror file of the first edge application to the first ECP. In this way, the first ECP can obtain the mirror file of the first edge application in advance, and then can instantiate the first edge application based on the mirror file obtained in advance when receiving the access request for the first edge application. Through this embodiment, on the one hand, the ECP can avoid pre-storing a large number of mirror files and instantiating edge applications, thereby saving resources; on the other hand, the ECP can pre-download the mirror file of the first edge application accessed by the neighbor ECP. In this way, the ECP can hot start to instantiate the first edge application after receiving the access request for the first edge application, thereby improving the response rate of the access request.

[0100] See Figure 4 , Figure 4 is a third flowchart of the processing method of the edge application provided in the embodiment of the present application. Figure 4 The processing method of the edge application shown in the figure is executed by the second ECP.

[0101] As Figure 4 shown, the processing method of the edge application can include the following steps:

[0102] Step 401: In the case that the first terminal accesses the first edge application, send first information to the ECM, the first information being used to indicate that the first edge application of the second ECP is in an access state.

[0103] Optionally, the first information further includes second identification information of the first terminal;

[0104] After the first information is sent to the ECM, the method further includes:

[0105] Receive the access permission key sent by the ECM, the access permission key being generated by the first ECP based on the second identification information, the first ECP being an ECP having a neighbor relationship with the second ECP;

[0106] Send the access permission key to the first terminal.

[0107] It should be noted that the present embodiment is an embodiment of the second ECP corresponding to the Figure 2 method embodiment, and therefore, the related description in the method embodiment can be referred to, and the same beneficial effects can be achieved. To avoid repeated description, no longer be described here. Figure 2 the same beneficial effects can be achieved. To avoid repeated description, no longer be described here.

[0108] The processing method of the edge application of the embodiment, after detecting that the terminal accesses the edge application of itself, the second ECP can synchronize the access situation of itself to the first ECP through the ECM, so that the first ECP can obtain the mirror file of the first edge application in advance, and then can instantiate the first edge application based on the mirror file obtained in advance when receiving the access request for the first edge application. Through the embodiment, on the one hand, the ECP can avoid pre-storing a large number of mirror files and instantiating edge applications, so as to save resources; on the other hand, the ECP can pre-download the mirror file of the first edge application accessed by the neighbor ECP, so that the ECP can hot start and instantiate the first edge application after receiving the access request for the first edge application, so as to improve the response rate of the access request.

[0109] It should be noted that the various optional embodiments introduced in the embodiments of the present application can be realized in combination with each other without conflict, or can be realized alone, and the embodiments of the present application do not limit this.

[0110] For the convenience of understanding, the following is illustrated by examples:

[0111] In the present example, the edge node can perceive, exchange the application running state information of the neighbor edge node through the edge computing business operation platform, and download the edge mirror in advance, so that when the user moves and needs to access the edge application, the edge application can be rapidly instantiated through hot start.

[0112] When the UE accesses the edge application of a certain ECP node, the UE uses Figure 5 Complete information synchronization of the neighbor node to quickly realize switching access service:

[0113] As shown in Figure 5 The processing method of the edge application can include the following steps:

[0114] Step 1, the UE accesses the edge application service of a certain ECP.

[0115] Step 2, the ECP synchronizes the access situation of the current edge application service and the UE ID to the ECM.

[0116] Step 3, the ECM queries whether there is a neighbor ECP node of the current ECP.

[0117] Step 4, the ECM broadcasts the mirror ID of the edge application and the UE ID to all neighbor ECP lists

[0118] Step 5, after receiving the instruction, the neighbor ECP node pulls the mirror file of the edge application based on the mirror ID to the ECM and downloads it to the local storage.

[0119] Step 6, the neighbor ECP node generates the access token of the edge application in advance according to the UE ID.

[0120] Step 7, the neighbor ECP node sends the token of the UE ID to the ECM.

[0121] Step 8, the ECM forwards the token of the specified UE ID to the current ECP node.

[0122] Step 9, the ECP node synchronizes the token to the specified UE.

[0123] Step 10, when the UE moves, it is determined that the neighbor ECP edge application service needs to be accessed.

[0124] It should be noted that the example does not limit the reason for the UE to move.

[0125] Step 11, the UE accesses the application service of the neighbor ECP based on the token obtained in advance.

[0126] Step 12, after receiving the access request, the neighbor ECP node instantiates the application based on the application image downloaded in advance.

[0127] Step 13, the neighbor ECP node returns the access result of the edge application.

[0128] The interface between the ECM and the ECP for synchronizing the token of the service access is described below:

[0129] Interface method: post / API / tokenInfo.

[0130] The request parameters are shown in Table 1. In Table 1, String, Application Programming Interface (API), and Application (APP).

[0131] Table 1: Request parameters

[0132] Name Type Whether it is necessary Description UE ID String Yes The number of specified UE ECP ID String Yes The number of specified ECP API Group ID String Yes The number of specified API group API ID String Yes The number of specified API APP Id String Yes The number of specified APP Token String Yes Key

[0133] In the embodiments of the present application, the ECP can exchange the access status of the current edge application with the neighbor ECP node through the ECM, the ECP can download the edge application image in advance according to the edge application access status of the edge ECP node, and the ECP can synchronize the access token of the UE to the neighbor ECP node in advance through the ECM. Through the embodiments of the present application, the storage and computing space of the edge ECP node are saved; 2. The edge application image is downloaded in advance according to the edge application access status of the neighbor ECP node, the pull-up time of the edge application is reduced through hot start, and the user experience is improved; the access token of the edge ECP of the UE terminal is told in advance, the authentication and re-binding time is reduced, and the user experience is improved.

[0134] Referring to Figure 6 , Figure 6 is one of the structural diagrams of the edge application processing apparatus provided in the embodiments of the present application. As shown in Figure 6 , the edge application processing apparatus 600 comprises:

[0135] a first transceiver 601, configured to receive a first image file, the first image file being an image file of a first edge application accessed by a second ECP, the second ECP being an ECP having a neighbor relationship with the first ECP;

[0136] a first processor 602, configured to, in a case where an access request for the first edge application is received, instantiate the first edge application according to the first image file;

[0137] The first transceiver 601 is further configured to send an access result of the first edge application.

[0138] Optionally, the first transceiver 601 is configured to:

[0139] receive first identification information of the first image file sent by an edge computing management platform ECM;

[0140] send an image file request to the ECM based on the first identification information;

[0141] receive the first image file sent by the ECM.

[0142] Optionally, the first transceiver 601 is further configured to receive second identification information of a first terminal, the first terminal being a terminal accessing the first edge application of the second ECP;

[0143] The first processor 602 is further configured to generate an access permission key based on the second identification information.

[0144] The first transceiver 601 is further configured to:

[0145] send the access permission key to the first terminal through the ECM;

[0146] send the access result of the first edge application in a case where the key carried in the access request matches the access permission key.

[0147] The processing apparatus 600 of the edge application can implement each process that the first ECP can implement in the method embodiments of the present application, and achieve the same beneficial effects. To avoid repetition, details are not repeated here.

[0148] Referring to Figure 7 , Figure 7 is a structure diagram of the processing apparatus of the edge application provided in the embodiments of the present application. As shown in Figure 7 , the processing apparatus 700 of the edge application includes:

[0149] The second transceiver 701 is configured to receive first information sent by a second ECP, the first information being used to indicate that a first edge application at the second ECP is in an access state.

[0150] The second processor 702 is configured to detect whether there is a first ECP having a neighbor relationship with the second ECP.

[0151] The second transceiver 701 is further configured to, in a case where the first ECP exists, send a first mirror file to the first ECP, the first mirror file being a mirror file of the first edge application.

[0152] Optionally, the second transceiver 701 is configured to:

[0153] send first identification information of the first edge application to the first ECP;

[0154] In a case where the first mirror file is received based on a mirror file request sent by the first ECP based on the first identification information, send the first mirror file to the first ECP.

[0155] Optionally, the first information further includes second identification information of a first terminal, the first terminal being a terminal accessing the first edge application of the second ECP.

[0156] The second transceiver 701 is further configured to:

[0157] send the second identification information to the first ECP;

[0158] receive an access permission key sent by the first ECP, the access permission key being generated based on the second identification information;

[0159] send the access permission key to the first terminal through the second ECP.

[0160] The processing apparatus 700 for edge application can implement each process that the ECM can implement in the method embodiments of the present application, and achieve the same beneficial effects. To avoid repetition, details are not described here.

[0161] Referring to Figure 8 , Figure 8 is a structure diagram of the processing apparatus for edge application provided in the embodiments of the present application. As shown in Figure 8 , the processing apparatus 800 for edge application includes:

[0162] The third transceiver 801 is configured to, in a case where the first terminal accesses the first edge application exists, send first information to the ECM, the first information being used to indicate that the first edge application of the second ECP is in an access state.

[0163] Optionally, the first information further includes second identification information of the first terminal.

[0164] The third transceiver 801 is further configured to:

[0165] receive an access permission key sent by the ECM, the access permission key being generated by the first ECP based on the second identification information, the first ECP being an ECP having a neighbor relationship with the second ECP;

[0166] send the access permission key to the first terminal.

[0167] The processing apparatus 800 for edge application can implement each process that the second ECP can implement in the method embodiments of the present application, and achieve the same beneficial effects. To avoid repetition, details are not described here.

[0168] The embodiments of the present application further provide a communication device. Please refer to Figure 9 , the terminal can include a processor 901, a memory 902, and a program 9021 stored in the memory 902 and executable on the processor 901.

[0169] In a case where the communication device is the first ECP, the program 9021, when executed by the processor 901, can implement Figure 2 any step in the corresponding method embodiments and achieve the same beneficial effects, and details are not described here.

[0170] In a case where the communication device is the ECM, the program 9021, when executed by the processor 901, can implement Figure 3 any step in the corresponding method embodiments and achieve the same beneficial effects, and details are not described here.

[0171] When the communication device is the second ECP, the program 9021, when executed by the processor 901, can implement Figure 4 Any step in the corresponding method embodiments and achieve the same beneficial effects, not repeated here.

[0172] A person of ordinary skill in the art can understand that all or part of the steps of the above-mentioned embodiment methods can be completed by relevant hardware through program instructions. The program can be stored in a readable medium. The embodiments of the present application also provide a readable storage medium, the readable storage medium stores a computer program, and the computer program is executed by a processor to implement the above-mentioned Figure 2 、 Figure 3 or Figure 4 Any step in the corresponding method embodiments and achieve the same technical effects, to avoid repetition, not repeated here.

[0173] The storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

[0174] The above is the preferred embodiment of the present application, it should be pointed out that, for those of ordinary skill in the art, without departing from the principles of the present application, can make a number of improvements and refinements, these improvements and refinements should also be considered as the protection scope of the present application.

Claims

1. A processing method of edge application, executed by a first edge computing platform (ECP), characterized in that, The method comprises: receiving a first mirror file, the first mirror file being a mirror file of a first edge application accessed by a second ECP, the second ECP being an ECP having a neighbor relationship with the first ECP; in a case where an access request for the first edge application is received, instantiating the first edge application according to the first mirror file; sending an access result of the first edge application; before the sending of the access result of the first edge application, the method further comprises: receiving second identification information of a first terminal, the first terminal being a terminal accessing the first edge application of the second ECP; generating an access permission key based on the second identification information; sending the access permission key to the first terminal through an ECM; the sending of the access result of the first edge application comprises: in a case where a key carried in the access request matches the access permission key, sending the access result of the first edge application.

2. The method of claim 1, wherein, The receiving of the first mirror file comprises: receiving first identification information of a first mirror file sent by an edge computing management platform ECM; sending a mirror file request to the ECM based on the first identification information; receiving the first mirror file sent by the ECM.

3. A method of processing of edge applications, executed by an ECM, characterized in that, The method comprises: receiving first information sent by a second ECP, the first information being used to indicate that a first edge application of the second ECP is in an access state; detecting whether a first ECP having a neighbor relationship with the second ECP exists; in a case where the first ECP exists, sending a first mirror file to the first ECP, the first mirror file being a mirror file of the first edge application; the first information further comprises second identification information of a first terminal, the first terminal being a terminal accessing the first edge application of the second ECP; after the detection of whether the first ECP having the neighbor relationship with the second ECP exists, the method further comprises: sending the second identification information to the first ECP; receiving an access permission key sent by the first ECP, the access permission key being generated based on the second identification information; sending the access permission key to the first terminal through the second ECP.

4. The method of claim 3, wherein, The sending of the first mirror file to the first ECP comprises: sending first identification information of a first edge application to the first ECP; in a case where a mirror file request sent by the first ECP based on the first identification information is received, sending a first mirror file to the first ECP.

5. A method of processing of edge applications, performed by a second ECP, characterized in that, The method comprises: in a case where a first terminal accesses a first edge application, sending first information to an ECM, the first information being used to indicate that a first edge application of the second ECP is in an access state, the ECM sending a mirror file of the first edge application to a first ECP adjacent to the second ECP after receiving the first information; the first information further comprises second identification information of the first terminal; after the sending of the first information to the ECM, the method further comprises: receive an access permission key sent by an ECM, the access permission key being generated by a first ECP based on the second identification information, the first ECP being an ECP having a neighbor relationship with the second ECP; send the access permission key to the first terminal.

6. A processing device for edge applications, applied to a first ECP, characterized in that, comprise: a first transceiver configured to receive a first image file, the first image file being an image file of a first edge application accessed by a second ECP, the second ECP being an ECP having a neighbor relationship with the first ECP; a first processor configured to, in a case where an access request for the first edge application is received, instantiate the first edge application according to the first image file; the first transceiver is further configured to send an access result of the first edge application; the first transceiver is further configured to receive second identification information of a first terminal, the first terminal being a terminal accessing the first edge application of the second ECP; the first processor is further configured to generate an access permission key based on the second identification information; the first transceiver is further configured to: send the access permission key to the first terminal through an ECM; in a case where a key carried in the access request matches the access permission key, send the access result of the first edge application.

7. The edge-applied treatment device of claim 6, wherein, the first transceiver is configured to: receive first identification information of a first image file sent by an edge computing management platform (ECM); send an image file request to the ECM based on the first identification information; receive the first image file sent by the ECM.

8. A processing device for edge applications, characterized by comprise: a second transceiver configured to receive first information sent by a second ECP, the first information being used to indicate that a first edge application of the second ECP is in an access state; a second processor configured to detect whether there is a first ECP having a neighbor relationship with the second ECP; the second transceiver is further configured to, in a case where the first ECP exists, send a first image file to the first ECP, the first image file being an image file of the first edge application; the first information further comprises second identification information of a first terminal, the first terminal being a terminal accessing the first edge application of the second ECP; the second transceiver is further configured to: send the second identification information to the first ECP; receive an access permission key sent by the first ECP, the access permission key being generated based on the second identification information; send the access permission key to the first terminal through the second ECP.

9. The edge-applied treatment device of claim 8, wherein, the second transceiver is configured to: send first identification information of a first edge application to the first ECP; in a case where an image file request sent by the first ECP based on the first identification information is received, send a first image file to the first ECP.

10. A processing device for edge applications, applied to a second ECP, characterized in that, comprise: a third transceiver, configured to send, to an ECM, first information indicating that the first edge application of the second ECP is in an access state, in a case where a first terminal accesses the first edge application, the ECM being configured to send, to a first ECP adjacent to the second ECP, a mirror file of the first edge application after receiving the first information; the first information further comprising second identification information of the first terminal; the third transceiver is further configured to: receive an access permission key sent by the ECM, the access permission key being generated by the first ECP based on the second identification information, the first ECP being an ECP having a neighbor relationship with the second ECP; send the access permission key to the first terminal.

11. A communication device, characterized by a processor, a memory, and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of the processing method of the edge application according to any one of claims 1 to 2; or the steps of the processing method of the edge application according to any one of claims 3 to 4; or the steps of the processing method of the edge application according to claim 5.

12. A readable storage medium, characterized by, a readable storage medium having a program stored thereon, the program, when executed by a processor, implementing the steps of the processing method of the edge application according to any one of claims 1 to 2; or the steps of the processing method of the edge application according to any one of claims 3 to 4; or the steps of the processing method of the edge application according to claim 5.

Citation Information

Patent Citations

  • Message routing method, device and system

    CN108737271A