WO2020216038A1 - Data management method, lepm, and mepm - Google Patents

Data management method, lepm, and mepm Download PDF

Info

Publication number
WO2020216038A1
WO2020216038A1 PCT/CN2020/083105 CN2020083105W WO2020216038A1 WO 2020216038 A1 WO2020216038 A1 WO 2020216038A1 CN 2020083105 W CN2020083105 W CN 2020083105W WO 2020216038 A1 WO2020216038 A1 WO 2020216038A1
Authority
WO
WIPO (PCT)
Prior art keywords
platform manager
edge platform
application
data
lepm
Prior art date
Application number
PCT/CN2020/083105
Other languages
French (fr)
Chinese (zh)
Inventor
赵凯
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020216038A1 publication Critical patent/WO2020216038A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0247Traffic management, e.g. flow control or congestion control based on conditions of the access network or the infrastructure network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/12Flow control between communication endpoints using signalling between network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Definitions

  • This application relates to the field of communication technology, and in particular to a data management method, LEPM and MEPM.
  • Mobile-edge computing uses wireless access networks to provide nearby services and cloud computing functions required by users. After the cloud computing function is deployed to the edge of the network, a carrier-grade service environment with high performance, low latency and high bandwidth can be created, which accelerates the rapid download of various content, services and applications in the network, and allows consumers to enjoy higher Quality network experience.
  • the mobile edge computing architecture is mainly composed of two parts: the mobile edge host and the mobile edge computing management system.
  • a mobile edge host is an entity that includes a mobile edge platform and a virtualized infrastructure, and provides computing, storage, and network resources for MEC applications.
  • the mobile edge computing management system includes MEC orchestrator (multi-access edge orchestrator), mobile edge platform manager (mobile edge platform manager, MEPM), virtual infrastructure manager (virtualisation infrastructure manager, VIM) and so on.
  • MEC orchestrator multi-access edge orchestrator
  • MEPM mobile edge platform manager
  • VIM virtualisation infrastructure manager
  • the MEC orchestrator is used to maintain an overall view of all mobile edge hosts, available resources, and available MEC services in the MEC system, and to trigger the instantiation and termination of applications.
  • MEPM is used to manage the MEC platform, manage the life cycle of MEC applications, and manage flow rules and domain name system (DNS) rules for MEC applications.
  • the mobile edge host is connected to the MEPM, and then MEPM manages the MEC application on the mobile edge host.
  • MEPM can issue management commands such as deployment, installation, start-stop, uninstall and delete, elastic scaling, capacity expansion, etc. of MEC applications to the mobile edge host, and the mobile edge platform locally processes these commands to perform local edge applications. Operations such as life cycle management and health monitoring.
  • MEPM takes centralized control of mobile edge hosts and records all mobile edge hosts and MEC application data it manages.
  • the MEPM is connected to the mobile edge host, and then the MEPM performs corresponding management operations on the mobile edge host and the MEC application on the mobile edge host.
  • the number of mobile edge hosts is large and the scale is large, it will increase the management load of MEPM, and MEPM will easily become the bottleneck of the performance of the entire network, causing problems such as slow response of MEPM management actions and increased latency.
  • the embodiments of this application provide a data management method, LEPM and MEPM, which are used to reduce the management load of MEPM, avoid or prevent MEPM from becoming a bottleneck of network-wide performance, and problems such as slow response of MEPM management actions and increased latency. .
  • the first aspect of the embodiments of the present application provides a data management method, including:
  • the LEPM receives the management command sent by the MEPM, which is the management task assigned by the MEPM to the LEPM; then, the LEPM executes the corresponding operation according to the management command, and then sends a management command response message to the MEPM.
  • the management command response message is used Informing the MEPM that the LEPM has performed the corresponding operation and the MEPM updates the data of the MEPM. Therefore, in the technical solution of the present application, the management commands sent by MEPM are received through LEPM, and corresponding operations are performed according to the management commands, without the need for MEPM to perform management operations, thereby reducing the management load of MEPM and avoiding or preventing MEPM from becoming a complete The bottleneck of network performance and the slow response of MEPM management actions and increased time delay.
  • the method before the LEPM receives the management command sent by the MEPM, the method further includes: first, the LEPM sends a registration request message to the MEPM, and the registration request message includes the access address of the LEPM, Location information and information of the mobile edge host managed by the LEPM; then, the LEPM receives the registration response message sent by the MEPM, and the LEPM determines the identifier assigned by the MEPM to the LEPM according to the registration response message.
  • a specific LEPM registration process is provided, so that the MEPM issues management commands to the LEPM, and the LEPM executes management operations, reducing the management load of the MEPM.
  • the registration request message further includes the identity certificate of the LEPM or the attribute information of the LEPM; the identity authentication data is used for the MEPM to verify the identity of the LEPM.
  • identity verification by performing identity verification on the LEPM, the security of LEPM registration is improved, and illegal edge devices are prevented from also being registered in the network.
  • the management command includes an application instantiation command, and the application instantiation command carries information of the MEC application requested to be created;
  • the LEPM performing corresponding operations according to the management command includes: LEPM applies for resources for the MEC application according to the information of the MEC application, and creates the MEC application and runs the MEC application through the resources;
  • the LEPM sends a management command response message to the MEPM including: the LEPM sends the MEC application instance data of the MEC application to the MEPM .
  • a specific process for the management operation of application instantiation performed by LEPM is provided.
  • the management command includes an application instance termination command, and the application instance termination command carries an MEC application identifier; the LEPM performing corresponding operations according to the management command includes: the LEPM according to The MEC application identifier uninstalls the MEC application and releases the resources occupied by the MEC application. In this possible implementation, this provides a specific process for the LEPM to execute the management operation of the termination of the application instance.
  • the method before the LEPM receives the management command sent by the MEPM, the method further includes: the LEPM receives a subscription indication message sent by the MEPM, and the subscription indication message is used to indicate when the When the LEPM has change data, the LEPM sends the change notification message to the MEPM.
  • the change data includes the information of the changed edge host managed by the LEPM, the application instance data of the changed MEC application, or the running state data of the changed MEC application.
  • MEPM can synchronize data with LEPM by subscribing to change data.
  • the method further includes: the LEPM determines that the LEPM has change data; then, the LEPM sends a change notification message to the MEPM, The change notification message is used to notify the MEPM that the LEPM has changed data.
  • the LEPM sends a notification message to the MEPM to inform the MEPM that the LEPM has changed data.
  • the change notification message carries the change data, and the change data is used by the MEPM to update the LEPM data stored in the MEPM.
  • the notification message directly carries the change data, and the MEPM can update the local data according to the notification message.
  • the method before the LEPM determines that the LEPM has changed data, the method further includes: first, the LEPM obtains the indicator data for changing the MEC application; then, the LEPM uses the indicator data and presets The elastic scaling rules for the changed MEC application allocate an application instance, or release the application instance of the changed MEC application.
  • LEPM performs elastic scaling control for the application instances that it manages to change the MEC application according to the preset elastic scaling rules and the index data of the changed MEC application, without the need for the MEP to report the index data of the changed MEC application
  • MEPM there is no need for MEPM to perform elastic scaling control on the application instances that change MEC applications, thereby reducing the management load of MEPM.
  • a second aspect of the embodiments of the present application provides a data management method, including:
  • the MEPM sends a management command to the LEPM, which is the management task assigned by the MEPM to the LEPM; then, the MEPM receives the management command response message sent by the LEPM, and then updates the MEPM data according to the management command response message.
  • MEPM issues management commands to LEPM so that LEPM can perform corresponding operations according to the management commands. Therefore, there is no need for MEPM to perform management operations, thereby reducing the management load of MEPM, avoiding or preventing MEPM from becoming a bottleneck of network-wide performance, and problems such as slow response of MEPM management actions and increased delay.
  • the method before the MEPM sends the management command to the LEPM, the method further includes: the MEPM receives a registration request message sent by the LEPM, and the registration request message carries the access address and location of the LEPM Information and information of the mobile edge host managed by the LEPM; then, the MEPM determines that the LEPM is the LEPM managed by the MEPM according to the location information, and then sends a registration response message to the LEPM through the access address, and the registration response message carries the MEPM The ID assigned to this LEPM.
  • the MEPM receives a registration request message sent by the LEPM, and the registration request message carries the access address and location of the LEPM Information and information of the mobile edge host managed by the LEPM; then, the MEPM determines that the LEPM is the LEPM managed by the MEPM according to the location information, and then sends a registration response message to the LEPM through the access address, and the registration response message carries the MEPM The ID assigned to this LEPM.
  • the registration request message further includes the LEPM identity authentication data; before the MEPM sends the registration response message to the LEPM through the access address, the method further includes: MEPM authenticates the data according to the identity The LEPM is verified and the verification result is obtained; the MEPM determines that the LEPM verification is successful according to the verification result.
  • the MEPM first authenticates the LEPM before assigning an identity to the LEPM, to prevent illegal devices from registering as the LEPM forged and improve the security of the system.
  • the management command includes an application instantiation command;
  • the management command sent by the MEPM received by the LEPM includes: the MEPM receives application instance data of the MEC application sent by the LEPM;
  • the MEPM manages according to the Updating the data of the MEPM in the response message includes: the MEPM records the correspondence between the MEC application and the LEPM in the MEPM according to the application instance data and stores the application instance data of the MEC application.
  • the MEPM can respond to the management command response message with the application instance data of the MEC application and the corresponding relationship between the MEC application and the LEPM, so that the MEPM can subsequently query the MEC application application instance data or the
  • the LEPM can be determined according to the corresponding relationship, and corresponding management commands can be issued to the LEPM.
  • the method before the MEPM sends the management command to LEPM, the method further includes: first, the MEPM obtains the application instantiation command, and the application instantiation command carries the MEC application requested to be created The location information of the corresponding target mobile edge host; then, the MEPM determines the LEPM that manages the target mobile edge host according to the location information. In this possible implementation manner, it is provided how the MEPM specifically determines which LEPM to issue the application instantiation command to.
  • the management command includes an application instance termination command, and the application instance termination command carries an identifier of the MEC application;
  • the MEPM updating data of the MEPM according to the management response message includes: The MEPM deletes the correspondence between the MEC application corresponding to the identifier and the LEPM stored in the MEPM and the application instance data of the MEC application.
  • the method before the MEPM sends the management command to the LEPM, the method further includes: the MEPM sends a subscription indication message to the LEPM, where the subscription indication message is used to indicate when the LEPM has changed data, The LEPM sends a change notification message to the MEPM, and the change data includes the information of the changed mobile edge host managed by the LEPM, the application instance data of the changed MEC application managed by the LEPM, or the running state data of the changed MEC application.
  • the MEPM sends a subscription indication message to the LEPM, where the subscription indication message is used to indicate when the LEPM has changed data
  • the LEPM sends a change notification message to the MEPM
  • the change data includes the information of the changed mobile edge host managed by the LEPM, the application instance data of the changed MEC application managed by the LEPM, or the running state data of the changed MEC application.
  • the method further includes: first, the MEPM receives a change notification message sent by the LEPM, and the change notification The message carries the change data; then, the MEPM updates the LEPM data stored in the MEPM according to the change data.
  • MEPM updates local data through change notification messages.
  • the method further includes: first, the MEPM receives the change notification message sent by the LEPM; then, the MEPM According to the change notification message, it is determined that the LEPM has changed data; MEPM then obtains the changed data through the interface of the LEPM, and updates its local data.
  • MEPM obtains the changed data by calling the interface of LEPM and updates its local data, providing another way to synchronize with LEPM data.
  • the method further includes: the MEPM obtains the application instance data of the latest MEC application and the information of the mobile edge host managed by the LEPM by calling the interface of the LEPM according to a preset cycle ; Then, MEPM updates the data of the MEPM according to the application instance data of the MEC application in the latest state and the information of the mobile edge host managed by the LEPM.
  • MEPM takes the initiative to periodically obtain the latest state data from LEPM and update its local data.
  • the third aspect of the embodiments of the present application provides a LEPM.
  • the LEPM has the function of realizing the LEPM behavior of the first aspect described above.
  • the function can be realized by hardware or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the fourth aspect of the embodiments of the present application provides a MEPM.
  • the MEPM has the function of realizing the MEPM behavior of the second aspect described above.
  • the function may be realized by hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the fifth aspect of the embodiments of the present application provides a LEPM
  • the LEPM includes: a processor, a memory, an input/output device, and a bus; the memory stores computer instructions; when the processor executes the computer instructions in the memory, Computer instructions are stored in the memory; when the processor executes the computer instructions in the memory, it is used to implement any implementation manner as in the first aspect.
  • the processor, memory, and input/output device are respectively connected to the bus.
  • a MEPM in the sixth aspect of the embodiments of the present application, includes a processor, a memory, an input/output device, and a bus; the memory stores computer instructions; when the processor executes the computer instructions in the memory, Computer instructions are stored in the memory; when the processor executes the computer instructions in the memory, it is used to implement any implementation manner as in the second aspect.
  • the processor, memory, and input/output device are respectively connected to the bus.
  • a seventh aspect of the embodiments of the present application provides a data management system, including LEPM as in the third aspect and MEPM as in the fourth aspect.
  • the eighth aspect of the embodiments of the present application provides a computer program product including instructions, which is characterized in that when it runs on a computer, the computer executes any one of the first aspect or the second aspect.
  • a ninth aspect of the embodiments of the present application provides a computer-readable storage medium, which is characterized by including instructions, which when run on a computer, cause the computer to execute any one of the implementation manners of the first aspect or the second aspect .
  • the LEPM receives the management command sent by the MEPM, and the management command carries the management task assigned by the MEPM to the LEPM; then, the LEPM executes the corresponding operation according to the management task and sends a management command response message to the MEPM to Make MEPM update its local data according to the management command response message. Therefore, in the technical solution of the present application, the management commands sent by MEPM can be received through LEPM, and corresponding operations can be performed according to the management commands, without the need for MEPM to perform management operations, thereby reducing the management load of MEPM, and avoiding or preventing MEPM from becoming a network-wide performance The bottleneck of MEPM and the slow response of MEPM management actions and increased time delay.
  • FIG. 1A is a schematic structural diagram of a management network of a mobile edge host according to an embodiment of the application
  • FIG. 1B is another schematic structural diagram of a management network of a mobile edge host according to an embodiment of this application.
  • FIG. 2 is a schematic diagram of an embodiment of a data management method according to an embodiment of the application.
  • FIG. 3 is a schematic diagram of another embodiment of a data management method according to an embodiment of this application.
  • FIG. 4 is a schematic diagram of another embodiment of a data management method according to an embodiment of the application.
  • FIG. 5 is a schematic diagram of another embodiment of a data management method according to an embodiment of the application.
  • FIG. 6 is a schematic diagram of another embodiment of a data management method according to an embodiment of this application.
  • FIG. 7 is a schematic diagram of another embodiment of a data management method according to an embodiment of the application.
  • FIG. 8 is a schematic structural diagram of LEPM in an embodiment of the application.
  • FIG. 9 is a schematic structural diagram of MEPM in an embodiment of the application.
  • FIG. 10 is another schematic structural diagram of LEPM in an embodiment of the application.
  • FIG. 11 is another schematic structural diagram of MEPM in an embodiment of the application.
  • Figure 12 is a schematic diagram of a data management system in an embodiment of the application.
  • the embodiments of the present application provide a data management method and a data management device, which are used to reduce the management load of MEPM, avoid or prevent MEPM from becoming a bottleneck to the performance of the entire network, and problems such as slow response of MEPM management actions and increased time delay. .
  • Figure 1A is a schematic structural diagram of a mobile edge host management network provided by an embodiment of the application; the management network includes a mobile edge host, a local edge platform manager (LEPM), and MEPM And VIM etc.
  • the local edge platform manager LEPM1 is integrated in the mobile edge host 1, which has the ability to connect to other mobile edge hosts in the area 1 and perform local small-scale management of the mobile edge hosts in the area 1.
  • the LEPM1 mainly provides the following management capabilities: Application lifecycle management of MEC applications on mobile edge hosts in the network where area 1 is located (for example, MEC application deployment, start, stop, restart, uninstall, monitoring, elastic scaling, capacity expansion, etc.) , Establish a connection with the mobile edge platform manager MEPM, process the commands issued by MEPM, and report the application instance data and running status data of the MEC application managed by LEPM1.
  • the network where the area 1 managed by LEPM1 is located can be in one In the local area network, it can also be in a subnet.
  • the size of the network in which area 1 is located is determined by the geographical distribution of the mobile edge host, the mobile edge platform (MEP) and the mobile edge host managed by the LEPM1
  • the computing power is determined.
  • the LEPM1 can be connected to the VIM to apply for computing resources, storage resources, or network resources required by MEC applications, or to release resources that are no longer used.
  • MEPM has the ability to establish connections with LEPMs in each area, so as to issue management commands to LEPM, or receive application instance data or MEC application running status data from LEPM to update its data.
  • the function of LEPM2 in area 2 shown in FIG. 1A is similar to that of LEPM1, and will not be introduced here.
  • an embodiment of the present application proposes to realize the establishment of a connection between LEPM1 and MEPM through an Mm5-r interface.
  • the Mm5-r interface has interface capabilities related to establishment, data synchronization, and data transmission.
  • LEPM1 can perform application life cycle operations on the closed loop of the network where area 1 is located, and through interaction with VIM, it can apply for resources for MEC applications or release resources occupied by MEC applications. Therefore, a new Mm6-1 interface is added between LEPM1 and VIM, and a connection is established through the Mm6-1 interface, so as to realize the interaction with VIM and realize the operation of the application life cycle.
  • the mobile edge host 3 can be connected to LEPM through Mm5-1, so that LEPM1 can realize application management on the mobile edge host 3.
  • Fig. 1A the mobile edge host it manages is connected through LEPM, and then LEPM is connected to MEPM to form a cascaded network of mobile edge hosts.
  • LEPM can manage the mobile edge hosts in the area, effectively sharing the management load of MEPM, and cascading networking can effectively reduce the MEPM's network entrance bandwidth.
  • MEPM shares computing tasks and network resource overhead among multiple LEPMs, so that MEPM is no longer a management bottleneck, and avoids or reduces problems such as slow response of MEPM management actions and increased latency.
  • FIG. 1A only shows area 1 and area 2.
  • LEPM1 manages mobile edge hosts in the network where area 1 is located, and LEPM2 manages mobile edge hosts in the network where area 2 is located.
  • more areas can be included, and then each LEPM is connected with the mobile edge platform manager to realize cascading networking, which is not specifically limited by this application.
  • FIG. 1A is only to illustrate the data management method of the embodiment of the present application.
  • FIG. 1A shows a solution in which LEPM and MEP are deployed on a mobile edge host at the same time, that is, the mobile edge host is an edge central node device in the area and has local application management capabilities.
  • the LEPM can also be deployed separately, that is, it occupies a mobile edge host, and the MEP is not deployed on this mobile edge host.
  • Figure 1B is the management network of the mobile edge host provided by the embodiment of the application.
  • LEPM is connected to MEP respectively to provide MEPM with the functions of connection and communication with MEP.
  • Other mobile edge hosts in the local network only deploy MEP, and then connect to the LEPM respectively to form local management Network, this application is not limited.
  • An embodiment of the data management method in the embodiment of the present application includes:
  • LEPM receives management commands sent by MEPM.
  • the management command is a management task issued by the MEPM for the LEPM.
  • management commands such as: application instantiation command and application instance termination command.
  • LEPM executes corresponding operations according to the management command.
  • the LEPM applies for resources for the MEC application according to the application instantiation command, and creates an MEC application through the resources and runs the MEC application.
  • Management commands are issued to LEPM through MEPM, and LEPM performs corresponding management operations, thereby reducing the management load of MEPM.
  • the management command is an application instantiation command or an application instance termination command, the specific execution operation of LEPM is described in detail in the subsequent embodiment of FIG. 3 and the embodiment of FIG. 5, and will not be repeated here.
  • LEPM sends a management command response message to MEPM.
  • the LEPM sends a management command response message to the MEPM, so that the MEPM determines that the LEPM has performed the corresponding management operation according to the management command response message, and updates its local data according to the management command response message.
  • LEPM applies for resources for the MEC application according to the application instantiation command
  • the MEC application is created and the MEC application is run through the resources
  • LEPM sends a management command response message to the MEPM
  • the management command response message carries the MEC application application Instance data
  • MEPM records the application instance data of the MEC application, and records the corresponding relationship between the MEC application and the LEPM, so that the MEPM can query the application instance data of the MEC application or terminate the application instance of the MEC application.
  • the LEPM can be determined according to the corresponding relationship, and corresponding management commands can be issued to the LEPM.
  • the LEPM receives the management command sent by the MEPM, and the management command carries the management task assigned by the MEPM to the LEPM; then, the LEPM executes the corresponding operation according to the management task, and sends a management command response message to the MEPM to Make MEPM update its local data according to the management command response message. Therefore, in the technical solution of the present application, the management commands issued by MEPM are received through LEPM, and corresponding operations are performed according to the management commands. There is no need for MEPM to perform management operations, thereby reducing the management load of MEPM and avoiding or preventing MEPM from becoming network-wide performance The bottleneck of MEPM and the slow response of MEPM management actions and increased time delay.
  • step 202 in FIG. 2 is an application instantiation command or an application instance termination command, with reference to specific embodiments.
  • FIG. 3 is a schematic diagram of a data management method provided by an embodiment of the application.
  • the management command is an application instantiation command.
  • FIG. 3 shows the specific process of LEPM applying for resources for the MEC application according to the application instantiation command, creating the MEC application and running the MEC application through the resources.
  • the method includes:
  • MEPM obtains an application instantiation command.
  • the application instantiation command carries location information of the target mobile edge host
  • the target edge mobile host is the mobile edge host that installs and runs the MEC application.
  • the tenant initiates an application instantiation command through an operation support system (OSS); then, OSS sends the application instance command to the MEC orchestrator; then MEPM receives the application instantiation command sent by the MEC orchestrator .
  • OSS operation support system
  • MEPM receives the application instantiation command sent by the MEC orchestrator .
  • the MEPM determines the LEPM according to the location information of the target mobile edge host carried in the application instantiation command.
  • the specific determination process may be that the MEPM is determined according to the geographic location information provided by the LEPM to the MEPM during registration and the location information of the target mobile edge host. When the location information is consistent, it may be determined to execute the LEPM. Application instantiation management operations.
  • the following describes the registration process of LEPM in the embodiment of this application through FIG. 4. Please refer to FIG. 4.
  • the method includes:
  • LEPM sends a registration request message to MEPM.
  • LEPM when LEPM is started, LEPM actively establishes a connection with MEPM through the Mm5-r interface as shown in Figure 1A, and then LEPM sends a registration request message to MEPM, and the registration request message includes LEPM's access address, location information, and attribute information , Identity authentication data and information of the mobile edge host managed by the LEPM.
  • the access address includes the service IP address and port number of the LEPM, or the service domain name of the LEPM.
  • the location information includes the network name of the network where the LEPM is located or the geographic location of the LEPM.
  • the attribute information includes the name of the LEPM or the description of the LEPM.
  • the information of the mobile edge host managed by the LEPM includes the identification ID list of the mobile edge host managed by the LEPM, etc.
  • the identity authentication data includes the identity credential of the LEPM (for example, the security certificate and/the key of the LEPM, and the security certificate and the key are allocated by the MEPM for the LEPM).
  • the MEPM determines the LEPM as the LEPM managed by the LEPM according to the location information of the LEPM.
  • the MEPM determines that the LEPM is within the range of the network to which it is connected according to the location information of the LEPM, and the MEPM determines that the LEPM is the LEPM it manages.
  • the MEPM verifies the LEPM according to the identity verification data of the LEPM, and obtains a verification result.
  • the MEPM determines whether it is consistent with the security certificate or key of the LEPM stored locally according to the security certificate and/or key carried in the registration request message. If they are consistent, the MEPM can determine that the LEPM verification is successful; if not, Then MEPM determines that the LEPM verification has failed.
  • the MEPM sends a registration response message to the LEPM through the access address of the LEPM.
  • step 403 when the LEPM verification succeeds, the MEPM sends a registration response message to the LEPM through the access address of the LEPM, and the registration response message carries the identification ID assigned by the MEPM to the LEPM; optionally, the registration response message also The access control data of the LEPM is carried, and the access control data is used to indicate that the LEPM can interact with the MEPM without performing identity verification again within a preset period of time.
  • the MEPM may send a registration response message to the LEPM through the IP address and port number of the LEPM.
  • the LEPM determines the identifier assigned to it by the MEPM according to the registration response message.
  • the LEPM can determine the identity assigned by the MEPM according to the identity carried in the registration response message; optionally, when the registration response message also carries access control data, the LEPM can also determine that there is no need to perform identity again within the preset time period. verification.
  • step 403 is different.
  • step 404 may be executed directly.
  • the MEPM directly sends a registration response message to the LEPM through the access address, that is, the MEPM does not need to authenticate the LEPM, and directly assigns the corresponding identifier to the LEPM.
  • the MEPM determines the geographic location of each LEPM and assigns a corresponding identifier to each LEPM.
  • the location information of the target mobile edge host can be multiple, as shown below:
  • Manner 1 Geographic location information of the target mobile edge host.
  • the geographic location information may include specific location information such as "province, city, district/county, street, community/computer room", etc.
  • the application instantiation request carries the geographic location information of the target mobile edge host, and then the MEPM determines the corresponding LEPM according to the geographic location information provided during LEPM registration, and the LEPM deploys the MEC application on the target mobile edge host.
  • Method 2 The subnet attribute information of the target mobile edge host.
  • the subnet attribute information includes the IP address range of a network segment, which can be specifically identified by an IP address and subnet mask in the network segment, such as 192.168 .0.1/255.255.255.0. That is, the application instantiation request carries the IP address and subnet mask of the target mobile edge host, and MEPM matches the IP address and subnet mask of the target mobile edge host with the IP address and subnet mask provided during LEPM registration. The corresponding LEPM is determined, and the LEPM deploys the MEC application on the target mobile edge host.
  • the MEPM selects a LEPM from the LEPMs it manages to deploy the MEC application.
  • the specific selection strategy includes random selection or selection of LEPM with the least number of currently deployed applications, etc. The specific selection strategy is not limited here.
  • MEPM sends the application instantiation command to LEPM.
  • the application instantiation command carries information of the MEC application, for example, the size of the resources that the MEC application needs to apply for.
  • the MEPM determines the corresponding LEPM, it sends an application instantiation command to the LEPM to instruct the LEPM to perform the management operation of the application instantiation on its behalf.
  • LEPM sends a resource request message to VIM.
  • the resource request message is used to request the creation of an MEC application and resources for running the MEC application.
  • LEPM receives the resource request response message sent by VIM.
  • the resource request response message is used to indicate the success of the LEPM request resource and to indicate the resource requested by the VIM for the MEC application.
  • the resource is a container resource
  • VIM receives the resource request message, it creates a corresponding container, and then the MEC application preset in the container is also started. If it is a virtual resource, VIM creates a virtual machine.
  • the MEC application starts running immediately; when the MEC application is not preset in the virtual machine, then The subsequent LEPM installs the MEC application and runs the MEC application on the virtual machine.
  • LEPM sends a configuration request message to the MEP on the target mobile edge host.
  • VIM applies for the corresponding resource for the MEC application, that is, determines the target mobile edge host corresponding to the MEC application, LEPM interacts with the MEP on the target mobile edge host, and sends a configuration request message to the MEP to request
  • the MEC applies the requested resources for initial configuration. For example, when the resource is a container resource, the MEP performs initial configuration on the container, and when the resource is a virtual resource, the MEP performs initial configuration on the created virtual machine.
  • LEPM receives the configuration response message sent by the MEP.
  • the MEP After the MEP performs the initial configuration of the resources requested by the MEC application, it sends a configuration response message to the LEPM.
  • the configuration response message is used to instruct the MEP to complete the initial configuration of the resources requested by the MEC application.
  • LEPM sends application instance data of the MEC application to MEPM.
  • LEPM sends application instance data of the MEC application to the MEPM.
  • the MEPM updates the data of the MEPM according to the application instance data of the MEC application.
  • MEPM updates its local data according to the application instance data of the MEC application.
  • MEPM may locally record the correspondence between the MEC application and the LEPM and store instance data of the MEC application. The correspondence is used to indicate the management of the MEC application instance by the LEPM, so as to facilitate subsequent MEPM pairing
  • the MEPM can issue a management command to the LEPM, and the LEPM executes corresponding operations according to the management command, thereby reducing the management load of the MEPM.
  • LEPM receives the application instantiation command sent by MEPM; then, LEPM can create an application instance of the MEC application according to the application instantiation command; after execution is completed, LEPM sends MEC application instance data to MEPM, so that MEPM updates its local data according to the application instance data of the MEC application. Therefore, in the technical solution of the present application, LEPM receives the application instantiation command sent by MEPM; then, LEPM creates an application instance of the MEC application according to the application instantiation command, without the need for MEPM to perform the management operation, thereby reducing the management load of MEPM, Avoid or prevent MEPM from becoming a bottleneck to the performance of the entire network, slow response of MEPM management actions, and increased latency.
  • FIG. 5 is a schematic diagram of a data management method provided by an embodiment of this application.
  • the management command is an application instance termination command.
  • FIG. 5 shows that LEPM uninstalls the MEC application and releases the MEC according to the application instance termination command.
  • MEPM obtains an application instance termination command.
  • the application instance termination command carries the identifier of the MEC application.
  • the OSS sends the application instance termination command to the MEC orchestrator; then, the MEC orchestrator forwards the application instantiation termination command to the MEPM.
  • the MEPM determines the LEPM according to the MEC application identifier carried in the application instance termination command.
  • MEPM determines the correspondence between the MEC application and the LEPM according to the application instance data sent by the LEPM; therefore, the MEPM can determine the corresponding LEPM according to the MEC application identifier .
  • MEPM sends an application termination command to LEPM.
  • MEPM sends an application termination command to LEPM, and the application termination command carries the MEC application identifier.
  • the LEPM sends the application termination request message to the MEP of the target mobile edge host.
  • the application termination request message is used to request the MEP to uninstall the MEC application.
  • each LEPM has a correspondingly managed mobile edge host and MEC application, and LEPM determines the MEC application location according to the MEC application identifier carried in the application termination command.
  • the target mobile edge host then, the LEPM sends an application termination request message to the MEP on the target mobile edge host.
  • the LEPM receives an application termination response message sent by the MEP of the target mobile edge host.
  • the MEP After the MEP finishes uninstalling the MEC application on the target mobile edge host, the MEP sends an application termination response message to the LEPM.
  • the application termination response message is used to notify the LEPM that the MEC application uninstallation is complete.
  • LEPM sends a resource release request message to VIM.
  • the resource release request message is used to request the VIM to release the resource occupied by the MEC application.
  • LEPM receives a resource release request response message sent by VIM.
  • the VIM releases the resources occupied by the MEC application, where the resources can be container resources or virtual resources. After the VIM releases the resource, it sends a resource release request response message to the LEPM.
  • the resource release request response message is used to notify the LEPM that the resource occupied by the MEC application is released.
  • LEPM sends an application instance termination command response message to MEPM.
  • LEPM After LEPM receives the resource release request response message, it can determine that the termination of the application instance of the MEC application is complete, then LEPM sends an application instance termination command response message to MEPM, and the application instance termination command response message is used to notify the MEPM of the MEC application. The termination of the application instance is complete.
  • the MEPM updates the data of the MEPM according to the application instance termination command response message.
  • the MEPM After the MEPM receives the application instance termination command response message and determines that the application instance is terminated, the MEPM deletes the locally stored correspondence between the MEC application and the LEPM and the application instance data of the MEC application.
  • LEPM receives the application termination command sent by MEPM; then, LEPM uninstalls the MEC application according to the application termination command, and releases the resources occupied by the MEC application; after execution is completed, LEPM sends an application termination command to MEPM Response message so that MEPM updates its local data according to the application termination command response message. Therefore, in the technical solution of the present application, LEPM receives the application termination command sent by MEPM, and then LEPM uninstalls the MEC application according to the application termination command, and releases the resources occupied by the MEC application. There is no need for MEPM to perform management operations, thereby reducing The management load of MEPM avoids or prevents MEPM from becoming a bottleneck to the performance of the entire network and the slow response of MEPM management actions and increased latency.
  • LEPM performs elastic scaling control on the application instance of the MEC application it manages according to preset elastic scaling rules and MEC application index data, without the need for MEP to report MEC application
  • the indicator data of MEPM is provided to MEPM, that is, MEPM does not need to perform elastic scaling control on the application instances of MEC applications.
  • the specific process of LEPM's elastic scaling control of the application instance of the MEC application is described in detail through the embodiment shown in FIG. 6. Please refer to FIG. 6.
  • the method includes:
  • LEPM sends a subscription request to the MEP on the target mobile edge host.
  • the subscription request is used to request a subscription to indicator data of the target MEC application
  • the subscription request carries the ID of the target MEC application, the reporting period of the indicator data of the target MEC application, etc.
  • the indicator data includes the resources occupied by the target MEC application Indicators (for example: CPU, memory, disk input/output (input/output, IO), network IO, etc.) and the target MEC application's own indicators (for example: message processing rate, number of client connections, etc.), the target moves
  • the edge host is a mobile edge host managed by the LEPM, and is a mobile edge host where the target MEC application is located.
  • LEPM receives indicator data of the target MEC application sent by the MEP.
  • the MEP obtains the instance data of the target MEC application according to the ID of the target MEC application indicated in the subscription request, and counts the indicator data of the target MEC application, and then sends the indicator data of the target MEC application to LEPM, where the indicator data includes the The application instance ID, indicator name, indicator value, and timestamp of the reported indicator data of the target MEC application.
  • LEPM determines whether the index value in the index data is greater than the first preset index value and less than the second preset index value, if yes, execute step 607; if not, execute step 604.
  • the first preset index value is the index threshold for releasing the application instance of the MEC application specified in the elastic scaling rule preset in the LEPM
  • the second preset index value is the MEC application specified in the elastic scaling rule Assign the indicator threshold of the application instance.
  • the elastic scaling rule includes attribute information such as the observed index, observation time, index threshold, and execution action. Exemplarily, when the MEC application is running, the CPU occupancy rate of the MEC application within one minute.
  • the occupancy rate is less than 40%, an application instance is released; when the occupancy rate is greater than 80%, an application instance is extended, that is, to observe
  • the index of is the CPU occupancy rate, the observation time is one minute, and the execution action is "the CPU occupancy rate of the MEC application in one minute", the first preset index value is 40%, and the second preset index value is 80%.
  • LEPM judges whether the index value is less than the first preset index value, if yes, execute step 605; if not, execute step 606.
  • LEPM releases the application instance of the target MEC application.
  • LEPM When the index value is less than the first preset index value, LEPM releases some existing application instances of the target application. Exemplarily, the LEPM requests the MEP and VIM on the target mobile edge host where the target MEC application is located to release the application instance of the target MEC application.
  • LEPM allocates an application instance to the target MEC application.
  • LEPM allocates an application instance to the target MEC application.
  • the LEPM applies for resources from the VIM for the target MEC application, and initializes the resources through the MEP on the target mobile edge host, so as to facilitate the operation of the target MEC application.
  • LEPM does not perform operations on the application instance of the target MEC application.
  • LEPM When the index value is greater than the first preset index value and less than the second preset index value, LEPM does not perform any operation on the application instance of the MEC application.
  • LEPM receives the MEC application indicator data sent by the MEP platform; then LEPM allocates application instances to the MEC application, releases the application instances of the MEC application, or to the MEC according to the preset elastic scaling rules and the indicator data.
  • the application does not perform the operation. Therefore, in the technical solution of the present application, LEPM is used to implement elastic scaling control for the MEC application implementation, without the need for the MEP to report the MEC application index data to the MEPM, and then the MEPM performs the elastic scaling control on the MEC application implementation, thereby reducing
  • the management load of MEPM avoids or prevents MEPM from becoming a bottleneck to the performance of the entire network and the slow response of MEPM management actions and increased latency.
  • FIG. 7 is a schematic diagram of a data management method provided by an embodiment of the application.
  • the MEPM sends a subscription indication message to the LEPM.
  • the subscription indication message is used to indicate that when there is change data in the LEPM, the LEPM sends a change notification message to the MEPM.
  • the change data includes the changed mobile edge host managed by the LEPM.
  • the application instance data and/or running status data of the MEC application that is changed on the mobile edge host managed by the LEPM
  • the change notification message is used for the MEPM to update its local data.
  • the method includes:
  • MEPM sends a subscription instruction message to LEPM.
  • the subscription indication message is used to indicate that when there is change data in the LEPM, the LEPM actively sends a change notification to the MEPM, and the change data includes the information of changing the mobile edge host managed by the LEPM, the application instance data of the MEC application and/ Or running status data, etc.
  • MEPM manages mobile edge hosts in multiple regions and application instance data and running status data of MEC applications on mobile edge hosts. After LEPM is successfully registered, LEPM establishes a connection with MEPM, and MEPM sends a subscription indication message to LEPM.
  • LEPM determines that there is change data.
  • LEPM performs scaling control on the application instance of the target MEC application according to the index data of the target MEC application
  • LEPM determines that the application instance data of the target MEC application has changed, or the running status has changed, that is, the application instance data and running status data of the target MEC application can be understood as the change in the data of the changed MEC application instance data and operation Status data.
  • the LEPM can determine that the information of the mobile edge hosts managed by it has changed, that is, the increased mobile edge hosts or the decreased mobile edge hosts can be understood as the change data Change the information of the mobile edge host.
  • LEPM sends a change notification message to MEPM.
  • the LEPM determines that there is change data
  • the LEPM sends a change notification message to the MEPM.
  • the change notification message carries the change data, for example, changing the information of the mobile edge host, or changing the application instance data or running status data of the MEC application.
  • the MEPM updates the data of the MEPM according to the change notification message.
  • the change notification message carries change data, for example, changing the information of the mobile edge host, or changing the application instance data or running status data of the MEC application.
  • the MEPM updates the locally recorded information of the mobile edge host managed by the LEPM according to the information of the changed mobile edge host. For example, if the LEPM adds a managed mobile edge host, the MEPM can store the information managed by the LEPM. The ID of the newly added mobile edge host is added to the ID list of the mobile edge host. For another example, if LEPM adds an application instance to a changed MEC application, MEPM updates the locally stored application instance data of the changed MEC application.
  • LEPM receives the subscription indication message sent by MEPM; then, when LEPM determines that there is change data, LEPM sends a change notification message to MEPM; then, MEPM updates the MEPM data according to the change notification message. Therefore, in the technical solution of the present application, the MEPM subscribes to the LEPM the application instance data of the MEC application and the information of the mobile edge host managed by it, so as to realize the data synchronization between the MEPM and the LEPM.
  • step 703 can be replaced with:
  • the LEPM sends a change notification message to the MEPM.
  • the change notification message is used to notify the MEPM that the LEPM has change data and the change notification message does not carry the change data.
  • Step 704 can be replaced with: MEPM queries the information of the mobile edge host managed by the LEPM and the application instance data and running status data of the MEC application by calling the interface of the LEPM to obtain the changed data, and then update its local data .
  • the MEPM can also periodically call the interface of LEPM to query the application instance data and running status data of the latest state of the changed MEC application, and update its local data.
  • the LEPM800 can be used to execute the steps performed by LEPM in the embodiments shown in Fig. 2, Fig. 3, Fig. 4, Fig. 5, Fig. 6 and Fig. 7, Refer to the relevant description in the above method embodiment.
  • the LEPM800 includes: a transceiver module 801 and a processing module 802.
  • the transceiver module 801 is configured to receive a management command sent by the MEPM, where the management command is a management task assigned by the MEPM to the LEPM;
  • the processing module 802 is configured to perform corresponding operations according to the management command
  • the transceiver module 801 is configured to send a management command response message to the MEPM, where the management command response message is used to notify the MEPM that the LEPM has performed a corresponding operation and that the MEPM updates the MEPM data.
  • the transceiver module 801 is also used for:
  • the registration request message including the access address of the LEPM, location information and information of the mobile edge host managed by the LEPM;
  • the processing module 802 is also used to:
  • the identification assigned by the MEPM to the LEPM is determined according to the registration response message.
  • the registration request message further includes the LEPM's identity certificate or the attribute information of the LEPM; the identity authentication data is used for the MEPM to authenticate the LEPM.
  • the management command includes an application instantiation command, and the application instantiation command carries information of the MEC application that is requested to be created; the processing module 802 is specifically configured to:
  • the transceiver module 801 is specifically used for:
  • the management command includes an application instance termination command, and the application instance termination command carries an MEC application identifier; the processing module 802 is specifically configured to:
  • the transceiver module 801 is also used for:
  • the subscription indication message is used to indicate that when the LEPM has change data, the LEPM sends the change notification message to the MEPM, the change data includes the information of the change edge host managed by the LEPM, Change the application instance data of the MEC application or the running status data of the MEC application.
  • processing module 802 is further used for:
  • the transceiver module 801 is also used for:
  • the change notification message carries the change data
  • the change data is used by the MEPM to update the LEPM data stored in the MEPM.
  • the transceiver module 801 is also used for:
  • the processing module 802 is also used to:
  • an application instance is allocated to the changed MEC application, or the application instance of the changed MEC application is released.
  • the transceiver module 801 receives the management command sent by the MEPM, and the processing module 802 performs corresponding operations according to the management command; then the transceiver module 801 sends a management response message to the MEPM for the MEPM to update its local data. Therefore, there is no need for MEPM to perform management operations, thereby reducing the management load of MEPM, avoiding or preventing MEPM from becoming a bottleneck of network-wide performance, and problems such as slow response of MEPM management actions and increased delay.
  • MEPM900 can be used to execute the steps performed by MEPM in the embodiments shown in Figure 2, Figure 3, Figure 4, Figure 5 and Figure 7. You can refer to the above method Related description in the embodiment.
  • the MEPM900 includes: a transceiver module 901, and a processing module 902.
  • the transceiver module 901 is configured to send a management command to the LEPM, where the management command is a management task assigned by the MEPM to the LEPM;
  • the transceiver module 901 is used to receive management command response messages sent by LEPM,
  • the processing module 902 is configured to update the data of the MEPM according to the management command response message.
  • the transceiver module 901 is also used for:
  • the registration request message carrying the access address, location information of the LEPM, and information of the mobile edge host managed by the LEPM;
  • the processing module 902 is also used to:
  • the location information determine that the LEPM is the LEPM managed by the MEPM
  • the transceiver module 901 is also used for:
  • a registration response message is sent to the LEPM through the access address, and the registration response message carries the identifier assigned by the MEPM to the LEPM.
  • the registration request message further includes the LEPM identity authentication data; the processing module 902 is further configured to:
  • the management command includes an application instantiation command; the transceiver module 901 is specifically configured to:
  • the processing module 902 is specifically used for:
  • the corresponding relationship between the MEC application and the LEPM is recorded in the MEPM according to the application instance data and the application instance data of the MEC application is stored.
  • the transceiver module 901 is also used for:
  • the processing module 902 is also used to:
  • the management command includes an application instance termination command, and the application instance termination command carries the identifier of the MEC application; the processing module 902 is specifically configured to:
  • the transceiver module 901 is also used for:
  • the subscription indication message is used to indicate that when there is change data in the LEPM, the LEPM sends a change notification message to the MEPM, the change data includes the information of the changed mobile edge host managed by the LEPM, and the information managed by the LEPM Change the application instance data of the MEC application or change the running status data of the MEC application.
  • the transceiver module 901 is also used for:
  • the processing module 902 is also used to:
  • the transceiver module 901 is also used for:
  • the processing module 902 is also used to:
  • the transceiver module 901 is also used for:
  • the processing module 902 is also used to:
  • the transceiver module 901 is also used for:
  • the processing module 902 is also used to:
  • the transceiver module 901 sends a management command to LEPM, and the management command is the management task assigned by the MEPM to the LEPM; then, the transceiver module 901 receives the management command response message sent by the LEPM, and the processing module 902 responds to the management command The response message updates the data of the MEPM.
  • the transceiver module 901 issues management commands to LEPM, so that LEPM can perform corresponding operations according to the management commands. Therefore, there is no need for MEPM to perform management operations, thereby reducing the management load of MEPM, avoiding or preventing MEPM from becoming a bottleneck of network-wide performance, and problems such as slow response of MEPM management actions and increased delay.
  • LEPM1000 please refer to FIG. 10, an example of LEPM in the embodiments of this application, the LEPM can be used to implement the embodiments shown in FIG. 2, FIG. 3, FIG. 4, FIG. 5, FIG. 6 and FIG. 7
  • the steps executed by LEPM in LEPM reference may be made to the relevant description in the above method embodiment.
  • the LEPM1000 includes a processor 1001, a memory 1002, an input/output device 1003, and a bus 1004.
  • the processor 1001, the memory 1002, and the input/output device 1003 are respectively connected to the bus 1004, and computer instructions are stored in the memory.
  • the processor 1001 is used to execute computer instructions to enable LEPM to execute the relevant method steps executed by LEPM in the foregoing method embodiments.
  • the processing module 802 in the foregoing embodiment may specifically be the processor 1001 in this embodiment, so the specific implementation of the processor 1001 will not be repeated.
  • the transceiver module 801 in the foregoing embodiment may specifically be the input/output device 1003 in this embodiment, so the specific implementation of the input/output device 1003 will not be described in detail.
  • MEPM is an embodiment.
  • the MEPM can be used to execute MEPM in the embodiments shown in FIG. 2, FIG. 3, FIG. 4, FIG. 5, and FIG.
  • steps refer to the related description in the above method embodiment.
  • the MEPM1100 includes a processor 1101, a memory 1102, an input/output device 1103, and a bus 1104.
  • the processor 1101, the memory 1102, and the input/output device 1103 are respectively connected to the bus 1104, and computer instructions are stored in the memory.
  • the processor 1101 is configured to execute computer instructions to make the MEPM execute the relevant method steps executed by the MEPM in the foregoing method embodiments.
  • the processing module 902 in the foregoing embodiment may specifically be the processor 1101 in this embodiment, so the specific implementation of the processor 1101 will not be described again.
  • the transceiver module 901 in the foregoing embodiment may specifically be the input and output device 1103 in this embodiment.
  • an embodiment of the present application also provides a data management system.
  • the data management system includes LEPM and MEPM.
  • LEPM may include LEPM as shown in FIG. 8
  • MEPM may include as shown in FIG.
  • LEPM can be used to perform all or part of the steps performed by LEPM in the embodiment shown in Figure 2, Figure 3, Figure 4, Figure 5, Figure 6 and Figure 7, and MEPM can be used to perform Figure 2 3. All or part of the steps performed by the MEPM in the embodiment shown in Figure 4, Figure 5 and Figure 7.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code .

Abstract

The embodiments of the present application disclose a data management method, a local edge platform manager (LEPM) and a mobile edge platform manager (MEPM), being used for reducing the load of management of the MEPM. The method of the embodiments of the present application comprises: an LEPM receiving a management command sent by an MEPM, the management command being a management task allocated by the MEPM to the LEPM; the LEPM executing a corresponding operation according to the management command; and the LEPM sending a management command response message to the MEPM, the management command response message being used to notify the MEPM of the LEPM completing the execution of the corresponding operation and the MEPM updating data of the MEPM.

Description

数据管理方法、LEPM和MEPMData management methods, LEPM and MEPM
本申请要求于2019年4月22日提交中国专利局、申请号为201910324562.4、发明名称为“数据管理方法、LEPM和MEPM”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on April 22, 2019, the application number is 201910324562.4, and the invention title is "Data Management Method, LEPM and MEPM", the entire content of which is incorporated into this application by reference .
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种数据管理方法、LEPM和MEPM。This application relates to the field of communication technology, and in particular to a data management method, LEPM and MEPM.
背景技术Background technique
移动边缘计算(mobile-edge computing,MEC)是利用无线接入网络就近提供用户所需的服务和云端计算功能。将云端计算功能部署到网络边缘后,可以创造出一个具备高性能、低时延与高带宽的电信级服务环境,加速网络中各项内容、服务以及应用的快速下载,让消费者享有更高质量的网络体验。Mobile-edge computing (MEC) uses wireless access networks to provide nearby services and cloud computing functions required by users. After the cloud computing function is deployed to the edge of the network, a carrier-grade service environment with high performance, low latency and high bandwidth can be created, which accelerates the rapid download of various content, services and applications in the network, and allows consumers to enjoy higher Quality network experience.
目前,移动边缘计算架构主要由两部分组成:移动边缘主机和移动边缘计算管理系统。移动边缘主机是包含移动边缘平台和虚拟化基础设施的实体,为MEC应用提供计算、存储和网络资源。而移动边缘计算管理系统包含MEC编排器(multi-access edge orchestrator)、移动边缘平台管理器(mobile edge platform manager,MEPM)、虚拟基础设施管理器(virtualisation infrastructure manager,VIM)等。其中,MEC编排器用于维护MEC系统中所有的移动边缘主机、可用资源、可用MEC服务的总体视图,触发应用的实例化和终结。MEPM用于管理MEC平台、管理MEC应用的生命周期、管理MEC应用的流规则和域名服务(domain name system,DNS)规则。目前,移动边缘主机连接到MEPM,然后由MEPM对该移动边缘主机上的MEC应用进行管理。例如,MEPM可以向该移动边缘主机下发MEC应用的部署安装、启动停止、卸载删除、弹性伸缩、扩容等管理命令,由移动边缘主机本地的移动边缘平台本地处理这些命令,进行本地边缘应用的生命周期管理和运行状况监控等操作。MEPM对移动边缘主机采取集中的控制,并记录其管理的所有移动边缘主机、MEC应用的数据。Currently, the mobile edge computing architecture is mainly composed of two parts: the mobile edge host and the mobile edge computing management system. A mobile edge host is an entity that includes a mobile edge platform and a virtualized infrastructure, and provides computing, storage, and network resources for MEC applications. And the mobile edge computing management system includes MEC orchestrator (multi-access edge orchestrator), mobile edge platform manager (mobile edge platform manager, MEPM), virtual infrastructure manager (virtualisation infrastructure manager, VIM) and so on. Among them, the MEC orchestrator is used to maintain an overall view of all mobile edge hosts, available resources, and available MEC services in the MEC system, and to trigger the instantiation and termination of applications. MEPM is used to manage the MEC platform, manage the life cycle of MEC applications, and manage flow rules and domain name system (DNS) rules for MEC applications. At present, the mobile edge host is connected to the MEPM, and then MEPM manages the MEC application on the mobile edge host. For example, MEPM can issue management commands such as deployment, installation, start-stop, uninstall and delete, elastic scaling, capacity expansion, etc. of MEC applications to the mobile edge host, and the mobile edge platform locally processes these commands to perform local edge applications. Operations such as life cycle management and health monitoring. MEPM takes centralized control of mobile edge hosts and records all mobile edge hosts and MEC application data it manages.
但是,现有架构中都是由MEPM与移动边缘主机连接,然后由MEPM对移动边缘主机和移动边缘主机上的MEC应用执行相应的管理操作。当移动边缘主机数量较多且规模较大时,会增大MEPM管理负荷,MEPM极易成为全网性能的瓶颈,造成MEPM的管理动作反应较慢、时延增大等问题。However, in the existing architecture, the MEPM is connected to the mobile edge host, and then the MEPM performs corresponding management operations on the mobile edge host and the MEC application on the mobile edge host. When the number of mobile edge hosts is large and the scale is large, it will increase the management load of MEPM, and MEPM will easily become the bottleneck of the performance of the entire network, causing problems such as slow response of MEPM management actions and increased latency.
发明内容Summary of the invention
本申请实施例提供了一种数据管理方法、LEPM和MEPM,用于减小MEPM的管理负荷,避免或者防止MEPM成为全网性能的瓶颈和MEPM的管理动作反应较慢、时延增大等问题。The embodiments of this application provide a data management method, LEPM and MEPM, which are used to reduce the management load of MEPM, avoid or prevent MEPM from becoming a bottleneck of network-wide performance, and problems such as slow response of MEPM management actions and increased latency. .
本申请实施例的第一方面提供一种数据管理方法,包括:The first aspect of the embodiments of the present application provides a data management method, including:
LEPM接收MEPM发送的管理命令,该管理命令为该MEPM为该LEPM分配的管理任务;然后,该LEPM根据该管理命令执行相应的操作,再向MEPM发送管理命令响应消息,该管 理命令响应消息用于通知该MEPM该LEPM执行相应的操作完成和该MEPM更新该MEPM的数据。因此,在本申请的技术方案中,通过LEPM接收MEPM发送的管理命令,并根据管理命令执行相应的操作,无需由MEPM来执行管理操作,从而减小MEPM的管理负荷,避免或者防止MEPM成为全网性能的瓶颈和MEPM的管理动作反应较慢、时延增大等问题。The LEPM receives the management command sent by the MEPM, which is the management task assigned by the MEPM to the LEPM; then, the LEPM executes the corresponding operation according to the management command, and then sends a management command response message to the MEPM. The management command response message is used Informing the MEPM that the LEPM has performed the corresponding operation and the MEPM updates the data of the MEPM. Therefore, in the technical solution of the present application, the management commands sent by MEPM are received through LEPM, and corresponding operations are performed according to the management commands, without the need for MEPM to perform management operations, thereby reducing the management load of MEPM and avoiding or preventing MEPM from becoming a complete The bottleneck of network performance and the slow response of MEPM management actions and increased time delay.
在第一方面的一种可能的实现方式中,在该LEPM接收MEPM发送的管理命令之前,该方法还包括:首先,该LEPM向MEPM发送注册请求消息,该注册请求消息包括LEPM的访问地址、位置信息和该LEPM所管理的移动边缘主机的信息;然后,该LEPM接收该MEPM发送的注册响应消息,该LEPM根据该注册响应消息确定该MEPM为该LEPM分配的标识。在该可能的实现方式中,提供了一种具体的LEPM进行注册的过程,以便于MEPM向LEPM下发管理命令,由该LEPM执行管理操作,减小MEPM的管理负荷。In a possible implementation of the first aspect, before the LEPM receives the management command sent by the MEPM, the method further includes: first, the LEPM sends a registration request message to the MEPM, and the registration request message includes the access address of the LEPM, Location information and information of the mobile edge host managed by the LEPM; then, the LEPM receives the registration response message sent by the MEPM, and the LEPM determines the identifier assigned by the MEPM to the LEPM according to the registration response message. In this possible implementation manner, a specific LEPM registration process is provided, so that the MEPM issues management commands to the LEPM, and the LEPM executes management operations, reducing the management load of the MEPM.
在第一方面的另一种可能的实现方式中,该注册请求消息还包括该LEPM的身份认证书或者该LEPM的属性信息;该身份认证数据用于该MEPM对该LEPM进行身份验证。在该可能的实现方式中,通过对LEPM进行身份验证,提高LEPM注册的安全性,防止非法边缘设备也在该网络中注册。In another possible implementation manner of the first aspect, the registration request message further includes the identity certificate of the LEPM or the attribute information of the LEPM; the identity authentication data is used for the MEPM to verify the identity of the LEPM. In this possible implementation manner, by performing identity verification on the LEPM, the security of LEPM registration is improved, and illegal edge devices are prevented from also being registered in the network.
在第一方面的另一种可能的实现方式中,该管理命令包括应用实例化命令,该应用实例化命令携带请求创建的MEC应用的信息;该LEPM根据该管理命令执行相应的操作包括:该LEPM根据该MEC应用的信息为该MEC应用申请资源,并通过该资源创建该MEC应用和运行该MEC应用;该LEPM向MEPM发送管理命令响应消息包括:该LEPM向MEPM发送MEC应用的应用实例数据。在该可能的实现方式中,提供了由LEPM执行应用实例化的管理操作的具体过程。In another possible implementation manner of the first aspect, the management command includes an application instantiation command, and the application instantiation command carries information of the MEC application requested to be created; the LEPM performing corresponding operations according to the management command includes: LEPM applies for resources for the MEC application according to the information of the MEC application, and creates the MEC application and runs the MEC application through the resources; the LEPM sends a management command response message to the MEPM including: the LEPM sends the MEC application instance data of the MEC application to the MEPM . In this possible implementation, a specific process for the management operation of application instantiation performed by LEPM is provided.
在第一方面的另一种可能的实现方式中,该管理命令包括应用实例终止命令,且该应用实例终止命令携带MEC应用的标识;该LEPM根据该管理命令执行相应的操作包括:该LEPM根据该MEC应用的标识卸载该MEC应用,并释放该MEC应用所占用的资源。在该可能的实现方式中,该提供了由LEPM执行应用实例终止的管理操作的具体过程。In another possible implementation manner of the first aspect, the management command includes an application instance termination command, and the application instance termination command carries an MEC application identifier; the LEPM performing corresponding operations according to the management command includes: the LEPM according to The MEC application identifier uninstalls the MEC application and releases the resources occupied by the MEC application. In this possible implementation, this provides a specific process for the LEPM to execute the management operation of the termination of the application instance.
在第一方面的另一种可能的实现方式中,在该LEPM接收MEPM发送的管理命令之前,该方法还包括:该LEPM接收该MEPM发送的订阅指示消息,该订阅指示消息用于指示当该LEPM存在变更数据时,该LEPM向该MEPM发送该变更通知消息,该变更数据包括该LEPM所管理的变更边缘主机的信息、变更MEC应用的应用实例数据或者该变更MEC应用的运行状态数据。在该可能的实现方式中,MEPM可以通过订阅变更数据的方式来实现数据与LEPM同步。In another possible implementation manner of the first aspect, before the LEPM receives the management command sent by the MEPM, the method further includes: the LEPM receives a subscription indication message sent by the MEPM, and the subscription indication message is used to indicate when the When the LEPM has change data, the LEPM sends the change notification message to the MEPM. The change data includes the information of the changed edge host managed by the LEPM, the application instance data of the changed MEC application, or the running state data of the changed MEC application. In this possible implementation, MEPM can synchronize data with LEPM by subscribing to change data.
在第一方面的另一种可能的实现方式中,在该LEPM向MEPM发送管理响应消息之后,该方法还包括:该LEPM确定该LEPM存在变更数据;然后,LEPM向MEPM发送变更通知消息,该变更通知消息用于通知该MEPM该LEPM存在变更数据。在该可能的实现方式中,LEPM通过向MEPM发送通知消息,以告知MEPM该LEPM存在变更数据。In another possible implementation of the first aspect, after the LEPM sends a management response message to the MEPM, the method further includes: the LEPM determines that the LEPM has change data; then, the LEPM sends a change notification message to the MEPM, The change notification message is used to notify the MEPM that the LEPM has changed data. In this possible implementation, the LEPM sends a notification message to the MEPM to inform the MEPM that the LEPM has changed data.
在第一方面的另一种可能的实现方式中,该变更通知消息携带该变更数据,该变更数据用于该MEPM更新该MEPM存储的该LEPM的数据。在该可能的实现方式中,通知消息直接携带有变更数据,MEPM可以根据该通知消息更新本地数据。In another possible implementation manner of the first aspect, the change notification message carries the change data, and the change data is used by the MEPM to update the LEPM data stored in the MEPM. In this possible implementation, the notification message directly carries the change data, and the MEPM can update the local data according to the notification message.
在第一方面的另一种可能的实现方式中,在LEPM确定该LEPM存在变更数据之前,该方法还包括:首先,LEPM获取变更MEC应用的指标数据;然后,LEPM根据该指标数据和预设的弹性伸缩规则为该变更MEC应用分配应用实例,或者释放该变更MEC应用的应用实例。在该可能的实现方式中,LEPM根据预设的弹性伸缩规则和变更MEC应用的指标数据对其所管理的该变更MEC应用的应用实例进行弹性伸缩控制,而无需MEP上报变更MEC应用的指标数据给MEPM,即无需由MEPM对变更MEC应用的应用实例进行弹性伸缩控制,从而减小MEPM的管理负荷。In another possible implementation of the first aspect, before the LEPM determines that the LEPM has changed data, the method further includes: first, the LEPM obtains the indicator data for changing the MEC application; then, the LEPM uses the indicator data and presets The elastic scaling rules for the changed MEC application allocate an application instance, or release the application instance of the changed MEC application. In this possible implementation, LEPM performs elastic scaling control for the application instances that it manages to change the MEC application according to the preset elastic scaling rules and the index data of the changed MEC application, without the need for the MEP to report the index data of the changed MEC application For MEPM, there is no need for MEPM to perform elastic scaling control on the application instances that change MEC applications, thereby reducing the management load of MEPM.
本申请实施例的第二方面提供一种数据管理方法,包括:A second aspect of the embodiments of the present application provides a data management method, including:
MEPM向LEPM发送管理命令,该管理命令为该MEPM为该LEPM分配的管理任务;然后,MEPM接收LEPM发送的管理命令响应消息,再根据该管理命令响应消息更新该MEPM的数据。在本申请的技术方案中,MEPM向LEPM下发管理命令,以便于LEPM并根据管理命令执行相应的操作。因此,无需由MEPM来执行管理操作,从而减小MEPM的管理负荷,避免或者防止MEPM成为全网性能的瓶颈和MEPM的管理动作反应较慢、时延增大等问题。The MEPM sends a management command to the LEPM, which is the management task assigned by the MEPM to the LEPM; then, the MEPM receives the management command response message sent by the LEPM, and then updates the MEPM data according to the management command response message. In the technical solution of this application, MEPM issues management commands to LEPM so that LEPM can perform corresponding operations according to the management commands. Therefore, there is no need for MEPM to perform management operations, thereby reducing the management load of MEPM, avoiding or preventing MEPM from becoming a bottleneck of network-wide performance, and problems such as slow response of MEPM management actions and increased delay.
在第二方面的一种可能的实现方式中,在该MEPM向LEPM发送管理命令之前,该方法还包括:MEPM接收该LEPM发送的注册请求消息,该注册请求消息携带该LEPM的访问地址、位置信息和该LEPM所管理的移动边缘主机的信息;然后,MEPM根据该位置信息确定该LEPM为该MEPM所管理的LEPM,再通过该访问地址向LEPM发送注册响应消息,该注册响应消息携带该MEPM为该LEPM分配的标识。在该可能的实现方式中,提供了MEPM为该LEPM注册并分配标识的过程。In a possible implementation of the second aspect, before the MEPM sends the management command to the LEPM, the method further includes: the MEPM receives a registration request message sent by the LEPM, and the registration request message carries the access address and location of the LEPM Information and information of the mobile edge host managed by the LEPM; then, the MEPM determines that the LEPM is the LEPM managed by the MEPM according to the location information, and then sends a registration response message to the LEPM through the access address, and the registration response message carries the MEPM The ID assigned to this LEPM. In this possible implementation manner, a process for MEPM to register and assign an identity to the LEPM is provided.
在第二方面的一种可能的实现方式中,该注册请求消息还包括该LEPM的身份认证数据;该MEPM通过该访问地址向LEPM发送注册响应消息之前,该方法还包括:MEPM根据身份认证数据对该LEPM进行验证,得到验证结果;MEPM根据该验证结果确定该LEPM验证成功。在该可能的实现方式,MEPM在为LEPM分配标识之前,先对该LEPM进行身份验证,防止非法设备伪造为LEPM进行注册,提高系统的安全性。In a possible implementation of the second aspect, the registration request message further includes the LEPM identity authentication data; before the MEPM sends the registration response message to the LEPM through the access address, the method further includes: MEPM authenticates the data according to the identity The LEPM is verified and the verification result is obtained; the MEPM determines that the LEPM verification is successful according to the verification result. In this possible implementation, the MEPM first authenticates the LEPM before assigning an identity to the LEPM, to prevent illegal devices from registering as the LEPM forged and improve the security of the system.
在第二方面的一种可能的实现方式中,该管理命令包括应用实例化命令;该MEPM接收LEPM发送的管理命令包括:该MEPM接收LEPM发送的MEC应用的应用实例数据;该MEPM根据该管理响应消息更新该MEPM的数据包括:该MEPM根据该应用实例数据在该MEPM中记录该MEC应用与该LEPM的对应关系和存储该MEC应用的应用实例数据。在该可能的实现方式中,MEPM可以根据管理命令响应消息该MEC应用的应用实例数据和该MEC应用与该LEPM的对应关系,以便于后续当MEPM对该MEC应用的应用实例数据进行查询或者该MEC应用的应用实例进行终止时,可以根据该对应关系确定该LEPM,并下发相应的管理命令给该LEPM。In a possible implementation of the second aspect, the management command includes an application instantiation command; the management command sent by the MEPM received by the LEPM includes: the MEPM receives application instance data of the MEC application sent by the LEPM; the MEPM manages according to the Updating the data of the MEPM in the response message includes: the MEPM records the correspondence between the MEC application and the LEPM in the MEPM according to the application instance data and stores the application instance data of the MEC application. In this possible implementation, the MEPM can respond to the management command response message with the application instance data of the MEC application and the corresponding relationship between the MEC application and the LEPM, so that the MEPM can subsequently query the MEC application application instance data or the When the application instance of the MEC application is terminated, the LEPM can be determined according to the corresponding relationship, and corresponding management commands can be issued to the LEPM.
在第二方面的一种可能的实现方式中,在该MEPM向LEPM发送管理命令之前,该方法还包括:首先,该MEPM获取该应用实例化命令,该应用实例化命令携带请求创建的MEC应用所对应的目标移动边缘主机的位置信息;然后,该MEPM根据该位置信息确定管理该目标移动边缘主机的LEPM。在该可能的实现方式中,提供了MEPM具体如何确定向哪个LEPM下发该应用实例化命令的方式。In a possible implementation of the second aspect, before the MEPM sends the management command to LEPM, the method further includes: first, the MEPM obtains the application instantiation command, and the application instantiation command carries the MEC application requested to be created The location information of the corresponding target mobile edge host; then, the MEPM determines the LEPM that manages the target mobile edge host according to the location information. In this possible implementation manner, it is provided how the MEPM specifically determines which LEPM to issue the application instantiation command to.
在第二方面的一种可能的实现方式中,该管理命令包括应用实例终止命令,且该应用实例终止命令携带该MEC应用的标识;该MEPM根据该管理响应消息更新该MEPM的数据包括:该MEPM删除该MEPM存储的该标识所对应的MEC应用与该LEPM的对应关系和该MEC应用的应用实例数据。In a possible implementation manner of the second aspect, the management command includes an application instance termination command, and the application instance termination command carries an identifier of the MEC application; the MEPM updating data of the MEPM according to the management response message includes: The MEPM deletes the correspondence between the MEC application corresponding to the identifier and the LEPM stored in the MEPM and the application instance data of the MEC application.
在第二方面的一种可能的实现方式中,在该MEPM向LEPM发送管理命令之前,该方法还包括:MEPM向LEPM发送订阅指示消息,该订阅指示消息用于指示当LEPM存在变更数据时,该LEPM向MEPM发送变更通知消息,该变更数据包括该LEPM所管理的变更移动边缘主机的信息、该LEPM所管理的变更MEC应用的应用实例数据或者该变更MEC应用的运行状态数据。在该可能的实现方式中,提供了一种MEPM通过订阅变更数据的方式来实现数据同步的方案。In a possible implementation of the second aspect, before the MEPM sends the management command to the LEPM, the method further includes: the MEPM sends a subscription indication message to the LEPM, where the subscription indication message is used to indicate when the LEPM has changed data, The LEPM sends a change notification message to the MEPM, and the change data includes the information of the changed mobile edge host managed by the LEPM, the application instance data of the changed MEC application managed by the LEPM, or the running state data of the changed MEC application. In this possible implementation manner, a solution for MEPM to achieve data synchronization by subscribing to change data is provided.
在第二方面的一种可能的实现方式中,在该MEPM根据该管理命令响应消息更新该MEPM的数据之后,该方法还包括:首先,该MEPM接收该LEPM发送的变更通知消息,该变更通知消息携带该变更数据;然后,MEPM根据该变更数据更新该MEPM存储的该LEPM的数据。在该可能的实现方式中,MEPM通过变更通知消息更新本地数据。In a possible implementation of the second aspect, after the MEPM updates the MEPM data according to the management command response message, the method further includes: first, the MEPM receives a change notification message sent by the LEPM, and the change notification The message carries the change data; then, the MEPM updates the LEPM data stored in the MEPM according to the change data. In this possible implementation, MEPM updates local data through change notification messages.
在第二方面的一种可能的实现方式中,在该MEPM根据该管理命令响应消息更新该MEPM的数据之后,该方法还包括:首先,该MEPM接收LEPM发送的变更通知消息;然后,该MEPM根据该变更通知消息确定该LEPM存在变更数据;MEPM再通过LEPM的接口获取该变更数据,并更新其本地数据。在该可能的实现方式中,MEPM通过调用LEPM的接口获取变更数据,并更新其本地数据,提供了另一种实现与LEPM数据同步的方式。In a possible implementation of the second aspect, after the MEPM updates the data of the MEPM according to the management command response message, the method further includes: first, the MEPM receives the change notification message sent by the LEPM; then, the MEPM According to the change notification message, it is determined that the LEPM has changed data; MEPM then obtains the changed data through the interface of the LEPM, and updates its local data. In this possible implementation, MEPM obtains the changed data by calling the interface of LEPM and updates its local data, providing another way to synchronize with LEPM data.
在第二方面的一种可能的实现方式中,该方法还包括:MEPM按照预设的周期通过调用LEPM的接口获取最新状态的MEC应用的应用实例数据和该LEPM所管理的移动边缘主机的信息;然后,MEPM根据该最新状态的该MEC应用的应用实例数据和该LEPM所管理的移动边缘主机的信息更新该MEPM的数据。在该可能的实现方式中,提供另一种MEPM进行更新本地数据以实现与LEPM数据同步的方式,MEPM主动定期向LEPM获取最新状态的数据并更新其本地数据。In a possible implementation of the second aspect, the method further includes: the MEPM obtains the application instance data of the latest MEC application and the information of the mobile edge host managed by the LEPM by calling the interface of the LEPM according to a preset cycle ; Then, MEPM updates the data of the MEPM according to the application instance data of the MEC application in the latest state and the information of the mobile edge host managed by the LEPM. In this possible implementation manner, another way for MEPM to update local data to achieve synchronization with LEPM data is provided. MEPM takes the initiative to periodically obtain the latest state data from LEPM and update its local data.
本申请实施例第三方面提供了一种LEPM,该LEPM具有实现上述第一方面LEPM行为的功能,该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能对应的模块。The third aspect of the embodiments of the present application provides a LEPM. The LEPM has the function of realizing the LEPM behavior of the first aspect described above. The function can be realized by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
本申请实施例第四方面提供了一种MEPM,该MEPM具有实现上述第二方面MEPM行为的功能,该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能对应的模块。The fourth aspect of the embodiments of the present application provides a MEPM. The MEPM has the function of realizing the MEPM behavior of the second aspect described above. The function may be realized by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
本申请实施例中第五方面提供了一种LEPM,该LEPM包括:处理器、存储器、输入输出设备以及总线;该存储器中存储有计算机指令;该处理器在执行该存储器中的计算机指令时,该存储器中存储有计算机指令;该处理器在执行该存储器中的计算机指令时,用于实现如第一方面任意一种实现方式。The fifth aspect of the embodiments of the present application provides a LEPM, the LEPM includes: a processor, a memory, an input/output device, and a bus; the memory stores computer instructions; when the processor executes the computer instructions in the memory, Computer instructions are stored in the memory; when the processor executes the computer instructions in the memory, it is used to implement any implementation manner as in the first aspect.
在第五方面的一种可能的实现方式中,该处理器、存储器、输入输出设备分别与该总线相连。In a possible implementation manner of the fifth aspect, the processor, memory, and input/output device are respectively connected to the bus.
本申请实施例中第六方面提供了一种MEPM,该MEPM包括:处理器、存储器、输入输出设备以及总线;该存储器中存储有计算机指令;该处理器在执行该存储器中的计算机指令时,该存储器中存储有计算机指令;该处理器在执行该存储器中的计算机指令时,用于实现如第二方面任意一种实现方式。In the sixth aspect of the embodiments of the present application, a MEPM is provided. The MEPM includes a processor, a memory, an input/output device, and a bus; the memory stores computer instructions; when the processor executes the computer instructions in the memory, Computer instructions are stored in the memory; when the processor executes the computer instructions in the memory, it is used to implement any implementation manner as in the second aspect.
在第六方面的一种可能的实现方式中,该处理器、存储器、输入输出设备分别与该总线相连。In a possible implementation manner of the sixth aspect, the processor, memory, and input/output device are respectively connected to the bus.
本申请实施例第七方面提供了一种数据管理系统,包括如第三方面的LEPM以及如第四方面的MEPM。A seventh aspect of the embodiments of the present application provides a data management system, including LEPM as in the third aspect and MEPM as in the fourth aspect.
本申请实施例第八方面提供了一种包括指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得该计算机执行如第一方面或第二方面中任一种的实现方式。The eighth aspect of the embodiments of the present application provides a computer program product including instructions, which is characterized in that when it runs on a computer, the computer executes any one of the first aspect or the second aspect.
本申请实施例第九方面提供了一种计算机可读存储介质,其特征在于,包括指令,当该指令在计算机上运行时,使得计算机执行如第一方面或第二方面中任一种实现方式。A ninth aspect of the embodiments of the present application provides a computer-readable storage medium, which is characterized by including instructions, which when run on a computer, cause the computer to execute any one of the implementation manners of the first aspect or the second aspect .
从以上技术方案可以看出,本申请实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
由上述技术方案可知,LEPM接收MEPM发送的管理命令,该管理命令携带该MEPM为该LEPM分配的管理任务;然后,LEPM根据该管理任务执行相应的操作,并向MEPM发送管理命令响应消息,以使得MEPM根据该管理命令响应消息更新其本地的数据。因此,本申请技术方案中可以通过LEPM接收MEPM发送的管理命令,并根据管理命令执行相应的操作,无需由MEPM来执行管理操作,从而减小MEPM的管理负荷,避免或者防止MEPM成为全网性能的瓶颈和MEPM的管理动作反应较慢、时延增大等问题。It can be seen from the above technical solution that the LEPM receives the management command sent by the MEPM, and the management command carries the management task assigned by the MEPM to the LEPM; then, the LEPM executes the corresponding operation according to the management task and sends a management command response message to the MEPM to Make MEPM update its local data according to the management command response message. Therefore, in the technical solution of the present application, the management commands sent by MEPM can be received through LEPM, and corresponding operations can be performed according to the management commands, without the need for MEPM to perform management operations, thereby reducing the management load of MEPM, and avoiding or preventing MEPM from becoming a network-wide performance The bottleneck of MEPM and the slow response of MEPM management actions and increased time delay.
附图说明Description of the drawings
图1A为本申请实施例移动边缘主机的管理网络的一个结构示意图;FIG. 1A is a schematic structural diagram of a management network of a mobile edge host according to an embodiment of the application;
图1B为本申请实施例移动边缘主机的管理网络的另一个结构示意图;FIG. 1B is another schematic structural diagram of a management network of a mobile edge host according to an embodiment of this application;
图2为本申请实施例数据管理方法的一个实施例示意图;2 is a schematic diagram of an embodiment of a data management method according to an embodiment of the application;
图3为本申请实施例数据管理方法的另一个实施例示意图;3 is a schematic diagram of another embodiment of a data management method according to an embodiment of this application;
图4为本申请实施例数据管理方法的另一个实施例示意图;4 is a schematic diagram of another embodiment of a data management method according to an embodiment of the application;
图5为本申请实施例数据管理方法的另一个实施例示意图;5 is a schematic diagram of another embodiment of a data management method according to an embodiment of the application;
图6为本申请实施例数据管理方法的另一个实施例示意图;6 is a schematic diagram of another embodiment of a data management method according to an embodiment of this application;
图7为本申请实施例数据管理方法的另一个实施例示意图;FIG. 7 is a schematic diagram of another embodiment of a data management method according to an embodiment of the application;
图8为本申请实施例中LEPM的一个结构示意图;FIG. 8 is a schematic structural diagram of LEPM in an embodiment of the application;
图9为本申请实施例中MEPM的一个结构示意图;FIG. 9 is a schematic structural diagram of MEPM in an embodiment of the application;
图10为本申请实施例中LEPM的另一个结构示意图;FIG. 10 is another schematic structural diagram of LEPM in an embodiment of the application;
图11为本申请实施例中MEPM的另一个结构示意图;FIG. 11 is another schematic structural diagram of MEPM in an embodiment of the application;
图12为本申请实施例中数据管理系统的一个示意图。Figure 12 is a schematic diagram of a data management system in an embodiment of the application.
具体实施方式Detailed ways
本申请实施例提供了一种数据管理方法和数据管理装置,用于减小MEPM的管理负荷, 避免或者防止MEPM成为全网性能的瓶颈和MEPM的管理动作反应较慢、时延增大等问题。The embodiments of the present application provide a data management method and a data management device, which are used to reduce the management load of MEPM, avoid or prevent MEPM from becoming a bottleneck to the performance of the entire network, and problems such as slow response of MEPM management actions and increased time delay. .
请参阅图1A,图1A为本申请实施例提供的一种移动边缘主机的管理网络的一个结构示意图;该管理网络包括移动边缘主机、本地边缘平台管理器(local edge platform manager,LEPM)、MEPM和VIM等。其中,本地边缘平台管理器LEPM1集成在移动边缘主机1中,其具备连接区域1中其他移动边缘主机,对该区域1内的移动边缘主机进行本地小范围管理的能力。该LEPM1主要提供以下管理能力:对区域1所在的网络中移动边缘主机上的MEC应用进行应用生命周期管理(例如,MEC应用的部署、启动、停止、重启、卸载、监控、弹性伸缩、扩容等)、与移动边缘平台管理器MEPM之间建立连接、处理MEPM下发的命令和上报LEPM1管理的MEC应用的应用实例数据和运行状态数据等功能,LEPM1所管理的区域1所在的网络可以是在一个局域网内,也可以是在一个子网内,具体该区域1所在的网络的大小规模由移动边缘主机的地理位置分布、移动边缘平台(mobile edge platform,MEP)和该LEPM1所管理的移动边缘主机的计算能力决定。其次,该LEPM1可以与VIM连接,为MEC应用申请所需的计算资源、存储资源或网络资源等,或者释放不再使用的资源等功能。Please refer to Figure 1A. Figure 1A is a schematic structural diagram of a mobile edge host management network provided by an embodiment of the application; the management network includes a mobile edge host, a local edge platform manager (LEPM), and MEPM And VIM etc. Among them, the local edge platform manager LEPM1 is integrated in the mobile edge host 1, which has the ability to connect to other mobile edge hosts in the area 1 and perform local small-scale management of the mobile edge hosts in the area 1. The LEPM1 mainly provides the following management capabilities: Application lifecycle management of MEC applications on mobile edge hosts in the network where area 1 is located (for example, MEC application deployment, start, stop, restart, uninstall, monitoring, elastic scaling, capacity expansion, etc.) , Establish a connection with the mobile edge platform manager MEPM, process the commands issued by MEPM, and report the application instance data and running status data of the MEC application managed by LEPM1. The network where the area 1 managed by LEPM1 is located can be in one In the local area network, it can also be in a subnet. The size of the network in which area 1 is located is determined by the geographical distribution of the mobile edge host, the mobile edge platform (MEP) and the mobile edge host managed by the LEPM1 The computing power is determined. Secondly, the LEPM1 can be connected to the VIM to apply for computing resources, storage resources, or network resources required by MEC applications, or to release resources that are no longer used.
MEPM具备与各个区域中的LEPM建立连接,以便于向LEPM下发管理命令,或者从LEPM接收应用实例数据或者MEC应用的运行状态数据,以实现更新其数据等。针对图1A所示的区域2中的LEPM2的功能与LEPM1类似,这里不再介绍。MEPM has the ability to establish connections with LEPMs in each area, so as to issue management commands to LEPM, or receive application instance data or MEC application running status data from LEPM to update its data. The function of LEPM2 in area 2 shown in FIG. 1A is similar to that of LEPM1, and will not be introduced here.
由于LEPM1需要与MEPM建立连接,本申请实施例中提出通过Mm5-r接口实现LEPM1与MEPM建立连接,该Mm5-r接口具备建立建立、数据同步和数据传输等相关的接口能力。LEPM1可以对区域1所在的网络闭环执行应用生命周期操作,通过与VIM交互,实现为MEC应用申请资源或者释放MEC应用所占用的资源。因此,LEPM1与VIM之间新增Mm6-1接口,通过Mm6-1接口建立连接,从而实现与VIM交互并实现对应用生命周期的操作。而移动边缘主机3可以通过Mm5-1与LEPM连接,以便于LEPM1实现对该移动边缘主机3中的应用管理。Since LEPM1 needs to establish a connection with MEPM, an embodiment of the present application proposes to realize the establishment of a connection between LEPM1 and MEPM through an Mm5-r interface. The Mm5-r interface has interface capabilities related to establishment, data synchronization, and data transmission. LEPM1 can perform application life cycle operations on the closed loop of the network where area 1 is located, and through interaction with VIM, it can apply for resources for MEC applications or release resources occupied by MEC applications. Therefore, a new Mm6-1 interface is added between LEPM1 and VIM, and a connection is established through the Mm6-1 interface, so as to realize the interaction with VIM and realize the operation of the application life cycle. The mobile edge host 3 can be connected to LEPM through Mm5-1, so that LEPM1 can realize application management on the mobile edge host 3.
因此,由图1A可知,通过LEPM连接其所管理的移动边缘主机,然后LEPM再与MEPM连接,从而组成移动边缘主机的级联组网。而LEPM能够对区域内的移动边缘主机进行管理,有效地分担MEPM的管理负荷,级联组网可有效降低MEPM的网络入口带宽。在该管理网络中,MEPM将计算任务、网络资源开销分担到多个LEPM上,从而使得MEPM不再是管理瓶颈,避免或者减少MEPM的管理动作反应较慢、时延增大等问题的出现。Therefore, it can be seen from Fig. 1A that the mobile edge host it manages is connected through LEPM, and then LEPM is connected to MEPM to form a cascaded network of mobile edge hosts. LEPM can manage the mobile edge hosts in the area, effectively sharing the management load of MEPM, and cascading networking can effectively reduce the MEPM's network entrance bandwidth. In this management network, MEPM shares computing tasks and network resource overhead among multiple LEPMs, so that MEPM is no longer a management bottleneck, and avoids or reduces problems such as slow response of MEPM management actions and increased latency.
需要说明的是,图1A中仅仅示出了区域1和区域2,通过LEPM1管理区域1所在的网络中的移动边缘主机,通过LEPM2管理区域2所在的网络中的移动边缘主机。而在实际应用中,可以包括更多的区域,然后每个LEPM与移动边缘平台管理器进行连接,实现级联组网,具体本申请不做限定。图1A仅仅是为了说明本申请实施例的数据管理方法。It should be noted that FIG. 1A only shows area 1 and area 2. LEPM1 manages mobile edge hosts in the network where area 1 is located, and LEPM2 manages mobile edge hosts in the network where area 2 is located. In actual applications, more areas can be included, and then each LEPM is connected with the mobile edge platform manager to realize cascading networking, which is not specifically limited by this application. FIG. 1A is only to illustrate the data management method of the embodiment of the present application.
本实施例中,图1A为LEPM和MEP同时部署在一个移动边缘主机上的方案,即该移动边缘主机为该区域的边缘中心节点设备,同时具备本地应用管理能力。而实际应用中,该LEPM也可以单独部署,即独占一个移动边缘主机,此移动边缘主机上不部署MEP,如图1B所示,图1B为本申请实施例提供的移动边缘主机的管理网络的另一个结构示意图;在图1B中,LEPM分别与MEP连接,为MEPM提供与MEP连接和通讯的功能,本地网络中的其他 移动边缘主机上只部署MEP,然后分别与该LEPM连接,组成本地管理网络,具体本申请不做限定。In this embodiment, FIG. 1A shows a solution in which LEPM and MEP are deployed on a mobile edge host at the same time, that is, the mobile edge host is an edge central node device in the area and has local application management capabilities. In practical applications, the LEPM can also be deployed separately, that is, it occupies a mobile edge host, and the MEP is not deployed on this mobile edge host. As shown in Figure 1B, Figure 1B is the management network of the mobile edge host provided by the embodiment of the application. Another structural diagram; in Figure 1B, LEPM is connected to MEP respectively to provide MEPM with the functions of connection and communication with MEP. Other mobile edge hosts in the local network only deploy MEP, and then connect to the LEPM respectively to form local management Network, this application is not limited.
下面从LEPM的角度来对本申请实施例中数据管理方法进行介绍,请参阅图2,本申请实施例中数据管理方法的一个实施例包括:The following describes the data management method in the embodiment of the present application from the perspective of LEPM. Please refer to FIG. 2. An embodiment of the data management method in the embodiment of the present application includes:
201、LEPM接收MEPM发送的管理命令。201. LEPM receives management commands sent by MEPM.
其中,该管理命令为该MEPM为该LEPM下发的管理任务。具体的管理命令有很多种,例如:应用实例化命令和应用实例终止命令。Wherein, the management command is a management task issued by the MEPM for the LEPM. There are many specific management commands, such as: application instantiation command and application instance termination command.
202、LEPM根据该管理命令执行相应的操作。202. LEPM executes corresponding operations according to the management command.
例如,该管理命令为应用实例化命令时,该LEPM根据该应用实例化命令为该MEC应用申请资源,并通过该资源创建MEC应用并运行该MEC应用。通过MEPM向LEPM下发管理命令,由LEPM来执行相应的管理操作,从而减少MEPM的管理负荷。管理命令为应用实例化命令或者应用实例终止命令时,LEPM具体的执行操作在后续图3的实施例和图5的实施例详细描述,这里不再赘述。For example, when the management command is an application instantiation command, the LEPM applies for resources for the MEC application according to the application instantiation command, and creates an MEC application through the resources and runs the MEC application. Management commands are issued to LEPM through MEPM, and LEPM performs corresponding management operations, thereby reducing the management load of MEPM. When the management command is an application instantiation command or an application instance termination command, the specific execution operation of LEPM is described in detail in the subsequent embodiment of FIG. 3 and the embodiment of FIG. 5, and will not be repeated here.
203、LEPM向MEPM发送管理命令响应消息。203. LEPM sends a management command response message to MEPM.
LEPM向MEPM发送管理命令响应消息,以便于该MEPM根据该管理命令响应消息确定该LEPM执行该相应的管理操作完成,并且根据该管理命令响应消息更新其本地的数据。The LEPM sends a management command response message to the MEPM, so that the MEPM determines that the LEPM has performed the corresponding management operation according to the management command response message, and updates its local data according to the management command response message.
例如,LEPM根据应用实例化命令为该MEC应用申请资源,并通过该资源创建MEC应用和运行MEC应用之后,LEPM向该MEPM发送管理命令响应消息,且该管理命令响应消息携带该MEC应用的应用实例数据,则MEPM记录该MEC应用的应用实例数据,并且记录该MEC应用与该LEPM的对应关系,以便于后续当MEPM对该MEC应用的应用实例数据进行查询或者该MEC应用的应用实例进行终止时,可以根据该对应关系确定该LEPM,并下发相应的管理命令给该LEPM。For example, after LEPM applies for resources for the MEC application according to the application instantiation command, and after the MEC application is created and the MEC application is run through the resources, LEPM sends a management command response message to the MEPM, and the management command response message carries the MEC application application Instance data, MEPM records the application instance data of the MEC application, and records the corresponding relationship between the MEC application and the LEPM, so that the MEPM can query the application instance data of the MEC application or terminate the application instance of the MEC application. At this time, the LEPM can be determined according to the corresponding relationship, and corresponding management commands can be issued to the LEPM.
本申请实施例中,LEPM接收MEPM发送的管理命令,该管理命令携带该MEPM为该LEPM分配的管理任务;然后,LEPM根据该管理任务执行相应的操作,并向MEPM发送管理命令响应消息,以使得MEPM根据该管理命令响应消息更新其本地的数据。因此,本申请技术方案中通过LEPM接收MEPM下发的管理命令,并根据管理命令执行相应的操作,无需由MEPM来执行管理操作,从而减小MEPM的管理负荷,避免或者防止MEPM成为全网性能的瓶颈和MEPM的管理动作反应较慢、时延增大等问题。In the embodiment of this application, the LEPM receives the management command sent by the MEPM, and the management command carries the management task assigned by the MEPM to the LEPM; then, the LEPM executes the corresponding operation according to the management task, and sends a management command response message to the MEPM to Make MEPM update its local data according to the management command response message. Therefore, in the technical solution of the present application, the management commands issued by MEPM are received through LEPM, and corresponding operations are performed according to the management commands. There is no need for MEPM to perform management operations, thereby reducing the management load of MEPM and avoiding or preventing MEPM from becoming network-wide performance The bottleneck of MEPM and the slow response of MEPM management actions and increased time delay.
下面结合具体的实施例对上述图2步骤202所举例的管理命令为应用实例化命令或者应用实例终止命令时,LEPM执行管理操作的具体过程进行说明。The following describes the specific process of the LEPM performing the management operation when the management command exemplified in step 202 in FIG. 2 is an application instantiation command or an application instance termination command, with reference to specific embodiments.
请参阅图3,其为本申请实施例提供的一种数据管理方法的示意图。该管理命令为应用实例化命令,图3示出了LEPM根据该应用实例化命令为该MEC应用申请资源,并通过该资源创建该MEC应用和运行该MEC应用的具体过程。请参阅图3,该方法包括:Please refer to FIG. 3, which is a schematic diagram of a data management method provided by an embodiment of the application. The management command is an application instantiation command. FIG. 3 shows the specific process of LEPM applying for resources for the MEC application according to the application instantiation command, creating the MEC application and running the MEC application through the resources. Refer to Figure 3. The method includes:
301、MEPM获取应用实例化命令。301. MEPM obtains an application instantiation command.
其中,应用实例化命令携带目标移动边缘主机的位置信息,目标边缘移动主机为安装和运行该MEC应用的移动边缘主机。Wherein, the application instantiation command carries location information of the target mobile edge host, and the target edge mobile host is the mobile edge host that installs and runs the MEC application.
示例性的,租户通过运营支撑系统(operation support system,OSS)发起应用实例 化命令;然后,OSS将该应用实例命令发送给MEC编排器;然后MEPM接收该MEC编排器发送的该应用实例化命令。Exemplarily, the tenant initiates an application instantiation command through an operation support system (OSS); then, OSS sends the application instance command to the MEC orchestrator; then MEPM receives the application instantiation command sent by the MEC orchestrator .
302、MEPM根据应用实例化命令携带的目标移动边缘主机的位置信息确定LEPM。302. The MEPM determines the LEPM according to the location information of the target mobile edge host carried in the application instantiation command.
示例性的,具体确定过程可以是该MEPM根据LEPM在注册时向MEPM提供的地理位置信息与该目标移动边缘主机的位置信息来确定,当位置信息一致时,可以确定通过该LEPM来进行执行该应用实例化的管理操作。Exemplarily, the specific determination process may be that the MEPM is determined according to the geographic location information provided by the LEPM to the MEPM during registration and the location information of the target mobile edge host. When the location information is consistent, it may be determined to execute the LEPM. Application instantiation management operations.
下面通过图4介绍本申请实施例中LEPM的注册过程,请参阅图4,该方法包括:The following describes the registration process of LEPM in the embodiment of this application through FIG. 4. Please refer to FIG. 4. The method includes:
401、LEPM向MEPM发送注册请求消息。401. LEPM sends a registration request message to MEPM.
示例性的,LEPM启动时,LEPM通过如图1A所示的Mm5-r接口主动与MEPM建立连接,然后LEPM向MEPM发送注册请求消息,该注册请求消息包括LEPM的访问地址、位置信息、属性信息、身份认证数据和该LEPM所管理的移动边缘主机的信息等。Exemplarily, when LEPM is started, LEPM actively establishes a connection with MEPM through the Mm5-r interface as shown in Figure 1A, and then LEPM sends a registration request message to MEPM, and the registration request message includes LEPM's access address, location information, and attribute information , Identity authentication data and information of the mobile edge host managed by the LEPM.
其中,该访问地址包括该LEPM的服务IP地址和端口号,或者该LEPM的服务域名。Wherein, the access address includes the service IP address and port number of the LEPM, or the service domain name of the LEPM.
该位置信息包括该LEPM所在网络的网络名称或者该LEPM的地理位置。The location information includes the network name of the network where the LEPM is located or the geographic location of the LEPM.
该属性信息包括该LEPM的名称或者该LEPM的描述。The attribute information includes the name of the LEPM or the description of the LEPM.
该LEPM所管理的移动边缘主机的信息包括该LEPM管理的移动边缘主机的标识ID列表等。The information of the mobile edge host managed by the LEPM includes the identification ID list of the mobile edge host managed by the LEPM, etc.
该身份认证数据包括该LEPM的身份凭证(例如,安全证书和/该LEPM的密钥,且该安全证书和该密钥为MEPM为该LEPM分配的)。The identity authentication data includes the identity credential of the LEPM (for example, the security certificate and/the key of the LEPM, and the security certificate and the key are allocated by the MEPM for the LEPM).
402、MEPM根据该LEPM的位置信息确定该LEPM为其所管理的LEPM。402. The MEPM determines the LEPM as the LEPM managed by the LEPM according to the location information of the LEPM.
MEPM根据该LEPM的位置信息确定该LEPM在其所连接的网络的范围内,则MEPM确定该LEPM为其所管理的LEPM。The MEPM determines that the LEPM is within the range of the network to which it is connected according to the location information of the LEPM, and the MEPM determines that the LEPM is the LEPM it manages.
403、MEPM根据该LEPM的身份验证数据对该LEPM进行验证,得到验证结果。403. The MEPM verifies the LEPM according to the identity verification data of the LEPM, and obtains a verification result.
示例性的,该MEPM根据注册请求消息携带的安全证书和/或密钥确定是否与其本地存储的该LEPM的安全证书或者密钥一致,若一致,则MEPM可以确定该LEPM验证成功;若不一致,则MEPM确定该LEPM验证失败。Exemplarily, the MEPM determines whether it is consistent with the security certificate or key of the LEPM stored locally according to the security certificate and/or key carried in the registration request message. If they are consistent, the MEPM can determine that the LEPM verification is successful; if not, Then MEPM determines that the LEPM verification has failed.
404、MEPM通过该LEPM的访问地址向LEPM发送注册响应消息。404. The MEPM sends a registration response message to the LEPM through the access address of the LEPM.
在步骤403中当该LEPM验证成功时,MEPM通过该LEPM的访问地址向LEPM发送注册响应消息,且该注册响应消息携带该MEPM为该LEPM分配的标识ID;可选的,该注册响应消息还携带该LEPM的访问控制数据,该访问控制数据用于指示该LEPM在预设时长内无需再次进行身份验证即可实现与该MEPM的交互。例如,MEPM可以通过该LEPM的IP地址和端口号向该LEPM发送注册响应消息。In step 403, when the LEPM verification succeeds, the MEPM sends a registration response message to the LEPM through the access address of the LEPM, and the registration response message carries the identification ID assigned by the MEPM to the LEPM; optionally, the registration response message also The access control data of the LEPM is carried, and the access control data is used to indicate that the LEPM can interact with the MEPM without performing identity verification again within a preset period of time. For example, the MEPM may send a registration response message to the LEPM through the IP address and port number of the LEPM.
405、LEPM根据注册响应消息确定该MEPM为其分配的标识。405. The LEPM determines the identifier assigned to it by the MEPM according to the registration response message.
LEPM可以根据该注册响应消息携带的标识确定该MEPM为其分配的标识;可选的,当该注册响应消息还携带访问控制数据时,则该LEPM还可以确定在预设时长内无需再次进行身份验证。The LEPM can determine the identity assigned by the MEPM according to the identity carried in the registration response message; optionally, when the registration response message also carries access control data, the LEPM can also determine that there is no need to perform identity again within the preset time period. verification.
本申请实施例中还提供一种可能的实现方式,该实施例与前述图4所示的实施例类似,不同的地方在于步骤403,在该实施例中可以不执行步骤403,直接执行步骤404,且在该 步骤404中MEPM直接通过该访问地址向LEPM发送注册响应消息,即MEPM无需对LEPM进行身份验证,直接为LEPM分配对应的标识。The embodiment of the present application also provides a possible implementation. This embodiment is similar to the embodiment shown in FIG. 4, except that step 403 is different. In this embodiment, step 403 may not be executed, and step 404 may be executed directly. , And in this step 404, the MEPM directly sends a registration response message to the LEPM through the access address, that is, the MEPM does not need to authenticate the LEPM, and directly assigns the corresponding identifier to the LEPM.
因此,通过上述图4所示的实施例可知,MEPM确定每个LEPM的地理位置和为每个LEPM分配对应的标识。Therefore, it can be known from the embodiment shown in FIG. 4 that the MEPM determines the geographic location of each LEPM and assigns a corresponding identifier to each LEPM.
而该目标移动边缘主机的位置信息可以有多种,下面举例说明:The location information of the target mobile edge host can be multiple, as shown below:
方式1:目标移动边缘主机的地理位置信息,该地理位置信息可以包括“省、市、区/县、街道、小区/机房”等具体的位置信息。在该应用实例化请求中携带该目标移动边缘主机的地理位置信息,然后MEPM根据LEPM注册时提供的地理位置信息确定对应的LEPM,由该LEPM在目标移动边缘主机部署MEC应用。Manner 1: Geographic location information of the target mobile edge host. The geographic location information may include specific location information such as "province, city, district/county, street, community/computer room", etc. The application instantiation request carries the geographic location information of the target mobile edge host, and then the MEPM determines the corresponding LEPM according to the geographic location information provided during LEPM registration, and the LEPM deploys the MEC application on the target mobile edge host.
方式2:目标移动边缘主机的子网属性信息,例如,该子网属性信息包括一个网段的IP地址范围,具体可以通过该网段中的某个IP地址和子网掩码进行标识,例如192.168.0.1/255.255.255.0。即应用实例化请求中携带目标移动边缘主机的IP地址和子网掩码,MEPM将该目标移动边缘主机的IP地址和子网掩码与LEPM注册时所提供的IP地址和子网掩码进行匹配,从而确定对应的LEPM,由该LEPM在目标移动边缘主机部署MEC应用。Method 2: The subnet attribute information of the target mobile edge host. For example, the subnet attribute information includes the IP address range of a network segment, which can be specifically identified by an IP address and subnet mask in the network segment, such as 192.168 .0.1/255.255.255.0. That is, the application instantiation request carries the IP address and subnet mask of the target mobile edge host, and MEPM matches the IP address and subnet mask of the target mobile edge host with the IP address and subnet mask provided during LEPM registration. The corresponding LEPM is determined, and the LEPM deploys the MEC application on the target mobile edge host.
需要说明的是,当应用实例化命令中不携带目标移动边缘主机的位置信息时,则MEPM从其所管理的LEPM中选择一个LEPM来部署MEC应用。具体的选择策略包括随机选择或者选择当前部署应用数量最少的LEPM等,具体此处不做限定。It should be noted that when the application instantiation command does not carry the location information of the target mobile edge host, the MEPM selects a LEPM from the LEPMs it manages to deploy the MEC application. The specific selection strategy includes random selection or selection of LEPM with the least number of currently deployed applications, etc. The specific selection strategy is not limited here.
303、MEPM向LEPM发送该应用实例化命令。303. MEPM sends the application instantiation command to LEPM.
其中,该应用实例化命令携带MEC应用的信息,例如,该MEC应用所需申请的资源大小等。MEPM确定了对应的LEPM之后,向该LEPM发送应用实例化命令,以指示该LEPM代替其执行该应用实例化的管理操作。Wherein, the application instantiation command carries information of the MEC application, for example, the size of the resources that the MEC application needs to apply for. After the MEPM determines the corresponding LEPM, it sends an application instantiation command to the LEPM to instruct the LEPM to perform the management operation of the application instantiation on its behalf.
304、LEPM向VIM发送资源请求消息。304. LEPM sends a resource request message to VIM.
其中,该资源请求消息用于请求创建MEC应用和运行MEC应用的资源。Among them, the resource request message is used to request the creation of an MEC application and resources for running the MEC application.
305、LEPM接收VIM发送的资源请求响应消息。305. LEPM receives the resource request response message sent by VIM.
其中,该资源请求响应消息用于指示该LEPM请求资源成功和用于指示VIM为该MEC应用所申请的资源。具体的,如果资源是容器资源,则VIM在接收到资源请求消息时,创建对应容器,然后在该容器中预置的该MEC应用也随即启动。如果是虚拟资源,则VIM创建虚拟机,可选的,当该虚拟机中预置该MEC应用时,则该MEC应用也随即启动运行;当该虚拟机中不预置该MEC应用中,则后续LEPM在该虚拟机上安装该MEC应用和运行该MEC应用。Wherein, the resource request response message is used to indicate the success of the LEPM request resource and to indicate the resource requested by the VIM for the MEC application. Specifically, if the resource is a container resource, when VIM receives the resource request message, it creates a corresponding container, and then the MEC application preset in the container is also started. If it is a virtual resource, VIM creates a virtual machine. Optionally, when the MEC application is preset in the virtual machine, the MEC application starts running immediately; when the MEC application is not preset in the virtual machine, then The subsequent LEPM installs the MEC application and runs the MEC application on the virtual machine.
306、LEPM向目标移动边缘主机上的MEP发送配置请求消息。306. LEPM sends a configuration request message to the MEP on the target mobile edge host.
VIM为该MEC应用申请对应的资源,即确定了该MEC应用所对应的目标移动边缘主机,LEPM与该目标移动边缘主机上的MEP进行交互,并向该MEP发送配置请求消息,用于请求为该MEC应用所申请的资源进行初始化配置。例如,当该资源为容器资源时,则MEP对该容器进行初始化配置,当该资源为虚拟资源时,则MEP对所创建的虚拟机进行初始化配置。VIM applies for the corresponding resource for the MEC application, that is, determines the target mobile edge host corresponding to the MEC application, LEPM interacts with the MEP on the target mobile edge host, and sends a configuration request message to the MEP to request The MEC applies the requested resources for initial configuration. For example, when the resource is a container resource, the MEP performs initial configuration on the container, and when the resource is a virtual resource, the MEP performs initial configuration on the created virtual machine.
307、LEPM接收MEP发送的配置响应消息。307. LEPM receives the configuration response message sent by the MEP.
MEP对该MEC应用所申请的资源进行初始化配置之后,向LEPM发送配置响应消息,该配置响应消息用于指示MEP对该MEC应用所申请的资源进行初始化配置完成。After the MEP performs the initial configuration of the resources requested by the MEC application, it sends a configuration response message to the LEPM. The configuration response message is used to instruct the MEP to complete the initial configuration of the resources requested by the MEC application.
308、LEPM向MEPM发送MEC应用的应用实例数据。308. LEPM sends application instance data of the MEC application to MEPM.
在该MEC应用创建完成并启动该MEC应用之后,LEPM向该MEPM发送该MEC应用的应用实例数据。After the MEC application is created and the MEC application is started, LEPM sends application instance data of the MEC application to the MEPM.
309、MEPM根据该MEC应用的应用实例数据更新该MEPM的数据。309. The MEPM updates the data of the MEPM according to the application instance data of the MEC application.
MEPM根据该MEC应用的应用实例数据更新其本地的数据。例如,MEPM可以在本地记录该MEC应用与该LEPM的对应关系和存储该MEC应用的实例数据,该对应关系用于指示由该LEPM对该MEC应用的应用实例的管理,以便于后续当MEPM对该MEC应用的应用实例数据进行查询或者该MEC应用的应用实例进行终止时,MEPM可向该LEPM下发管理命令,由LEPM根据该管理命令执行相应的操作,从而减少MEPM的管理负荷。MEPM updates its local data according to the application instance data of the MEC application. For example, MEPM may locally record the correspondence between the MEC application and the LEPM and store instance data of the MEC application. The correspondence is used to indicate the management of the MEC application instance by the LEPM, so as to facilitate subsequent MEPM pairing When the application instance data of the MEC application is inquired or the application instance of the MEC application is terminated, the MEPM can issue a management command to the LEPM, and the LEPM executes corresponding operations according to the management command, thereby reducing the management load of the MEPM.
本申请实施例中,LEPM接收MEPM发送的应用实例化命令;然后,LEPM可以根据该应用实例化命令创建MEC应用的应用实例;执行完成后,LEPM向MEPM发送MEC应用的应用实例数据,以使得MEPM根据MEC应用的应用实例数据更新其本地的数据。因此,本申请技术方案中通过LEPM接收MEPM发送的应用实例化命令;然后,LEPM根据应用实例化命令创建MEC应用的应用实例,无需由MEPM来执行该管理操作,从而减小MEPM的管理负荷,避免或者防止MEPM成为全网性能的瓶颈和MEPM的管理动作反应较慢、时延增大等问题。In the embodiment of this application, LEPM receives the application instantiation command sent by MEPM; then, LEPM can create an application instance of the MEC application according to the application instantiation command; after execution is completed, LEPM sends MEC application instance data to MEPM, so that MEPM updates its local data according to the application instance data of the MEC application. Therefore, in the technical solution of the present application, LEPM receives the application instantiation command sent by MEPM; then, LEPM creates an application instance of the MEC application according to the application instantiation command, without the need for MEPM to perform the management operation, thereby reducing the management load of MEPM, Avoid or prevent MEPM from becoming a bottleneck to the performance of the entire network, slow response of MEPM management actions, and increased latency.
请参阅图5,其为本申请实施例提供的一种数据管理方法的示意图,该管理命令为应用实例终止命令,图5示出了LEPM根据该应用实例终止命令卸载该MEC应用和释放该MEC应用所占用的资源的具体过程。请参阅图5,该方法包括:Please refer to FIG. 5, which is a schematic diagram of a data management method provided by an embodiment of this application. The management command is an application instance termination command. FIG. 5 shows that LEPM uninstalls the MEC application and releases the MEC according to the application instance termination command. The specific process of the resources occupied by the application. Refer to Figure 5, the method includes:
501、MEPM获取应用实例终止命令。501. MEPM obtains an application instance termination command.
其中,该应用实例终止命令携带MEC应用的标识。Wherein, the application instance termination command carries the identifier of the MEC application.
示例性的,租户通过OSS请求应用实例终止,那么OSS将该应用实例终止命令发送给MEC编排器;然后,MEC编排器再将该应用实例化终止命令转发给MEPM。Exemplarily, if the tenant requests the termination of the application instance through the OSS, the OSS sends the application instance termination command to the MEC orchestrator; then, the MEC orchestrator forwards the application instantiation termination command to the MEPM.
502、MEPM根据应用实例终止命令携带的MEC应用的标识确定LEPM。502. The MEPM determines the LEPM according to the MEC application identifier carried in the application instance termination command.
由图3所示的实施例可知,在MEC应用的应用实例化之后,MEPM根据LEPM发送的应用实例数据确定MEC应用与LEPM的对应关系;所以,MEPM根据该MEC应用的标识可以确定对应的LEPM。It can be seen from the embodiment shown in Figure 3 that after the application of the MEC application is instantiated, MEPM determines the correspondence between the MEC application and the LEPM according to the application instance data sent by the LEPM; therefore, the MEPM can determine the corresponding LEPM according to the MEC application identifier .
503、MEPM向LEPM发送应用终止命令。503. MEPM sends an application termination command to LEPM.
MEPM向LEPM发送应用终止命令,该应用终止命令携带MEC应用的标识。MEPM sends an application termination command to LEPM, and the application termination command carries the MEC application identifier.
504、LEPM向目标移动边缘主机的MEP发送该应用终止请求消息。504. The LEPM sends the application termination request message to the MEP of the target mobile edge host.
其中,该应用终止请求消息用于请求该MEP卸载该MEC应用。示例性的,由图4所示的LEPM的注册实施例可知,每个LEPM都有对应管理的移动边缘主机和MEC应用,LEPM根据该应用终止命令携带的MEC应用的标识确定该MEC应用所在的目标移动边缘主机;然后,该LEPM向该目标移动边缘主机上的MEP发送应用终止请求消息。The application termination request message is used to request the MEP to uninstall the MEC application. Exemplarily, it can be seen from the registration embodiment of LEPM shown in FIG. 4 that each LEPM has a correspondingly managed mobile edge host and MEC application, and LEPM determines the MEC application location according to the MEC application identifier carried in the application termination command. The target mobile edge host; then, the LEPM sends an application termination request message to the MEP on the target mobile edge host.
505、LEPM接收该目标移动边缘主机的MEP发送的应用终止响应消息。505. The LEPM receives an application termination response message sent by the MEP of the target mobile edge host.
MEP将目标移动边缘主机上的该MEC应用卸载完成后,MEP向LEPM发送应用终止响应 消息,该应用终止响应消息用于通知该LEPM该MEC应用卸载完成。After the MEP finishes uninstalling the MEC application on the target mobile edge host, the MEP sends an application termination response message to the LEPM. The application termination response message is used to notify the LEPM that the MEC application uninstallation is complete.
506、LEPM向VIM发送资源释放请求消息。506. LEPM sends a resource release request message to VIM.
其中,该资源释放请求消息用于请求该VIM释放该MEC应用所占用的资源。The resource release request message is used to request the VIM to release the resource occupied by the MEC application.
507、LEPM接收VIM发送的资源释放请求响应消息。507. LEPM receives a resource release request response message sent by VIM.
VIM对该MEC应用所占用的资源进行释放,其中,资源可以为容器资源,或者为虚拟资源。VIM对该资源释放完成后,向LEPM发送资源释放请求响应消息,该资源释放请求响应消息用于通知该LEPM该MEC应用所占用的资源释放完成。The VIM releases the resources occupied by the MEC application, where the resources can be container resources or virtual resources. After the VIM releases the resource, it sends a resource release request response message to the LEPM. The resource release request response message is used to notify the LEPM that the resource occupied by the MEC application is released.
508、LEPM向MEPM发送应用实例终止命令响应消息。508. LEPM sends an application instance termination command response message to MEPM.
LEPM接收到该资源释放请求响应消息之后,可以确定该MEC应用的应用实例终止完成,则LEPM向MEPM发送应用实例终止命令响应消息,该应用实例终止命令响应消息用于通知该MEPM该MEC应用的应用实例终止完成。After LEPM receives the resource release request response message, it can determine that the termination of the application instance of the MEC application is complete, then LEPM sends an application instance termination command response message to MEPM, and the application instance termination command response message is used to notify the MEPM of the MEC application. The termination of the application instance is complete.
509、MEPM根据应用实例终止命令响应消息更新该MEPM的数据。509. The MEPM updates the data of the MEPM according to the application instance termination command response message.
MEPM接收到该应用实例终止命令响应消息之后,确定该应用实例终止完成,那么MEPM删除本地存储的该MEC应用与该LEPM的对应关系和该MEC应用的应用实例数据。After the MEPM receives the application instance termination command response message and determines that the application instance is terminated, the MEPM deletes the locally stored correspondence between the MEC application and the LEPM and the application instance data of the MEC application.
本申请实施例中,LEPM接收MEPM发送的应用终止命令;然后,LEPM根据该应用终止命令卸载该MEC应用,并释放该MEC应用所占用的资源;执行完成后,LEPM并向MEPM发送应用终止命令响应消息,以使得MEPM根据应用终止命令响应消息更新其本地的数据。因此,本申请技术方案中通过LEPM接收MEPM发送的应用终止命令,然后LEPM根据该应用终止命令卸载该MEC应用,并释放该MEC应用所占用的资源,无需由MEPM来执行管理操作,从而减小MEPM的管理负荷,避免或者防止MEPM成为全网性能的瓶颈和MEPM的管理动作反应较慢、时延增大等问题。In the embodiment of this application, LEPM receives the application termination command sent by MEPM; then, LEPM uninstalls the MEC application according to the application termination command, and releases the resources occupied by the MEC application; after execution is completed, LEPM sends an application termination command to MEPM Response message so that MEPM updates its local data according to the application termination command response message. Therefore, in the technical solution of the present application, LEPM receives the application termination command sent by MEPM, and then LEPM uninstalls the MEC application according to the application termination command, and releases the resources occupied by the MEC application. There is no need for MEPM to perform management operations, thereby reducing The management load of MEPM avoids or prevents MEPM from becoming a bottleneck to the performance of the entire network and the slow response of MEPM management actions and increased latency.
本申请实施例中,在LEPM所管理的网络中,LEPM根据预设的弹性伸缩规则和MEC应用的指标数据对其所管理的该MEC应用的应用实例进行弹性伸缩控制,而无需MEP上报MEC应用的指标数据给MEPM,即无需由MEPM对MEC应用的应用实例进行弹性伸缩控制。具体LEPM对MEC应用的应用实例进行弹性伸缩控制的过程通过图6所示的实施例进行详细介绍,请参阅图6,该方法包括:In the embodiment of this application, in the network managed by LEPM, LEPM performs elastic scaling control on the application instance of the MEC application it manages according to preset elastic scaling rules and MEC application index data, without the need for MEP to report MEC application The indicator data of MEPM is provided to MEPM, that is, MEPM does not need to perform elastic scaling control on the application instances of MEC applications. The specific process of LEPM's elastic scaling control of the application instance of the MEC application is described in detail through the embodiment shown in FIG. 6. Please refer to FIG. 6. The method includes:
601、LEPM向目标移动边缘主机上的MEP发送订阅请求。601. LEPM sends a subscription request to the MEP on the target mobile edge host.
其中,该订阅请求用于请求订阅目标MEC应用的指标数据,该订阅请求携带目标MEC应用的ID、该目标MEC应用的指标数据的上报周期等,该指标数据包括该目标MEC应用所占用的资源的指标(例如:CPU、内存、磁盘输入/输出(input/output,IO)、网络IO等)和该目标MEC应用自身的指标(例如:消息处理速率、客户端连接数量等),该目标移动边缘主机为该LEPM所管理的移动边缘主机,且为该目标MEC应用所在的移动边缘主机。Wherein, the subscription request is used to request a subscription to indicator data of the target MEC application, the subscription request carries the ID of the target MEC application, the reporting period of the indicator data of the target MEC application, etc., and the indicator data includes the resources occupied by the target MEC application Indicators (for example: CPU, memory, disk input/output (input/output, IO), network IO, etc.) and the target MEC application's own indicators (for example: message processing rate, number of client connections, etc.), the target moves The edge host is a mobile edge host managed by the LEPM, and is a mobile edge host where the target MEC application is located.
602、LEPM接收MEP发送的目标MEC应用的指标数据。602. LEPM receives indicator data of the target MEC application sent by the MEP.
MEP根据订阅请求中指示的目标MEC应用的ID获取该目标MEC应用的实例数据,并统计该目标MEC应用的指标数据,然后向LEPM发送该目标MEC应用的指标数据,其中,该指标数据包括该目标MEC应用的应用实例ID、指标名称、指标值和上报指标数据的时间戳等。The MEP obtains the instance data of the target MEC application according to the ID of the target MEC application indicated in the subscription request, and counts the indicator data of the target MEC application, and then sends the indicator data of the target MEC application to LEPM, where the indicator data includes the The application instance ID, indicator name, indicator value, and timestamp of the reported indicator data of the target MEC application.
603、LEPM判断该指标数据中的指标值是否大于第一预设指标值且小于第二预设指标 值,若是,则执行步骤607;若否,则执行步骤604。603. LEPM determines whether the index value in the index data is greater than the first preset index value and less than the second preset index value, if yes, execute step 607; if not, execute step 604.
其中,第一预设指标值为该LEPM中预置的弹性伸缩规则中规定的释放该MEC应用的应用实例的指标阈值,第二预设指标值为该弹性伸缩规则中规定的为该MEC应用分配应用实例的指标阈值。该弹性伸缩规则包括观测的指标、观测时间、指标阈值、执行动作等属性信息。示例性的,MEC应用运行时,在一分钟内该MEC应用对CPU的占用率,当占用率小于40%,则释放一个应用实例;当占用率大于80%,则扩展一个应用实例,即观测的指标为CPU占用率,观测时间为一分钟,执行动作为“一分钟内MEC应用对应CPU的占用率”,第一预设指标值为40%,第二预设指标值为80%。Wherein, the first preset index value is the index threshold for releasing the application instance of the MEC application specified in the elastic scaling rule preset in the LEPM, and the second preset index value is the MEC application specified in the elastic scaling rule Assign the indicator threshold of the application instance. The elastic scaling rule includes attribute information such as the observed index, observation time, index threshold, and execution action. Exemplarily, when the MEC application is running, the CPU occupancy rate of the MEC application within one minute. When the occupancy rate is less than 40%, an application instance is released; when the occupancy rate is greater than 80%, an application instance is extended, that is, to observe The index of is the CPU occupancy rate, the observation time is one minute, and the execution action is "the CPU occupancy rate of the MEC application in one minute", the first preset index value is 40%, and the second preset index value is 80%.
604、LEPM判断该指标值是否小于第一预设指标值,若是,则执行步骤605;若否,则步骤606。604. LEPM judges whether the index value is less than the first preset index value, if yes, execute step 605; if not, execute step 606.
605、LEPM释放该目标MEC应用的应用实例。605. LEPM releases the application instance of the target MEC application.
当该指标值小于第一预设指标值时,LEPM释放该目标应用已存在的部分应用实例。示例性的,LEPM向该目标MEC应用所在的目标移动边缘主机上的MEP和VIM请求释放该目标MEC应用的应用实例。When the index value is less than the first preset index value, LEPM releases some existing application instances of the target application. Exemplarily, the LEPM requests the MEP and VIM on the target mobile edge host where the target MEC application is located to release the application instance of the target MEC application.
606、LEPM为该目标MEC应用分配应用实例。606. LEPM allocates an application instance to the target MEC application.
由上述可知,当该指标值大于第二预设指标值时,LEPM为该目标MEC应用分配应用实例。示例性的,LEPM向VIM为该目标MEC应用申请资源,并通过目标移动边缘主机上的MEP对该资源进行初始化配置,以便于目标MEC应用的运行。It can be seen from the foregoing that when the index value is greater than the second preset index value, LEPM allocates an application instance to the target MEC application. Exemplarily, the LEPM applies for resources from the VIM for the target MEC application, and initializes the resources through the MEP on the target mobile edge host, so as to facilitate the operation of the target MEC application.
607、LEPM对该目标MEC应用的应用实例不执行操作。607. LEPM does not perform operations on the application instance of the target MEC application.
当该指标值大于第一预设指标值且小于第二预设指标值时,LEPM不对该MEC应用的应用实例执行任何操作。When the index value is greater than the first preset index value and less than the second preset index value, LEPM does not perform any operation on the application instance of the MEC application.
本申请实施例中,LEPM接收MEP平台发送的MEC应用的指标数据;然后LEPM根据预置的弹性伸缩规则和该指标数据为该MEC应用分配应用实例、释放该MEC应用的应用实例或者对该MEC应用不执行操作。因此,本申请技术方案中通过LEPM对MEC应用的应用实施进行弹性伸缩控制,无需由MEP上报MEC应用的指标数据给MEPM,再由MEPM来对MEC应用的应用实施进行弹性伸缩控制,从而减小MEPM的管理负荷,避免或者防止MEPM成为全网性能的瓶颈和MEPM的管理动作反应较慢、时延增大等问题。In the embodiment of this application, LEPM receives the MEC application indicator data sent by the MEP platform; then LEPM allocates application instances to the MEC application, releases the application instances of the MEC application, or to the MEC according to the preset elastic scaling rules and the indicator data. The application does not perform the operation. Therefore, in the technical solution of the present application, LEPM is used to implement elastic scaling control for the MEC application implementation, without the need for the MEP to report the MEC application index data to the MEPM, and then the MEPM performs the elastic scaling control on the MEC application implementation, thereby reducing The management load of MEPM avoids or prevents MEPM from becoming a bottleneck to the performance of the entire network and the slow response of MEPM management actions and increased latency.
请参阅图7,其为本申请实施例提供的一种数据管理方法的示意图。图7中,该MEPM向LEPM发送订阅指示消息,该订阅指示消息用于指示当该LEPM存在变更数据时,LEPM向该MEPM发送变更通知消息,该变更数据包括该LEPM所管理的变更移动边缘主机的信息或者LEPM所管理的移动边缘主机上的变更MEC应用的应用实例数据和/或运行状态数据,该变更通知消息用于该MEPM更新其本地的数据。请参阅图7,该方法包括:Please refer to FIG. 7, which is a schematic diagram of a data management method provided by an embodiment of the application. In Figure 7, the MEPM sends a subscription indication message to the LEPM. The subscription indication message is used to indicate that when there is change data in the LEPM, the LEPM sends a change notification message to the MEPM. The change data includes the changed mobile edge host managed by the LEPM. Or the application instance data and/or running status data of the MEC application that is changed on the mobile edge host managed by the LEPM, the change notification message is used for the MEPM to update its local data. Please refer to Figure 7, the method includes:
701、MEPM向LEPM发送订阅指示消息。701. MEPM sends a subscription instruction message to LEPM.
其中,该订阅指示消息用于指示当该LEPM存在变更数据时,LEPM主动向MEPM发送变更通知,该变更数据包括该LEPM所管理的变更移动边缘主机的信息、变更MEC应用的应用实例数据和/或运行状态数据等。Wherein, the subscription indication message is used to indicate that when there is change data in the LEPM, the LEPM actively sends a change notification to the MEPM, and the change data includes the information of changing the mobile edge host managed by the LEPM, the application instance data of the MEC application and/ Or running status data, etc.
示例性的,如图1A所述,MEPM管理多个区域中的移动边缘主机、移动边缘主机上的 MEC应用的应用实例数据和运行状态数据。在LEPM注册成功后,LEPM与MEPM建立连接,MEPM向LEPM发送订阅指示消息。Exemplarily, as shown in FIG. 1A, MEPM manages mobile edge hosts in multiple regions and application instance data and running status data of MEC applications on mobile edge hosts. After LEPM is successfully registered, LEPM establishes a connection with MEPM, and MEPM sends a subscription indication message to LEPM.
702、LEPM确定存在变更数据。702. LEPM determines that there is change data.
示例性的,如图6所示的实施例中,LEPM根据目标MEC应用的指标数据对目标MEC应用的应用实例进行伸缩控制,当LEPM为目标MEC应用分配应用实例或者释放已分配的应用实例时,则LEPM确定该目标MEC应用的应用实例数据发生变更,或者运行状态发生变更,即该目标MEC应用的应用实例数据和运行状态数据可以理解为变更数据中的变更MEC应用的应用实例数据和运行状态数据。当该LEPM所管理的移动边缘主机的数量增加或者减少时,则LEPM可以确定其管理的移动边缘主机的信息发生变更,即增加的移动边缘主机或者减少的移动边缘主机可以理解为该变更数据中的变更移动边缘主机的信息。Exemplarily, in the embodiment shown in FIG. 6, LEPM performs scaling control on the application instance of the target MEC application according to the index data of the target MEC application, when LEPM allocates application instances to the target MEC application or releases the allocated application instances , LEPM determines that the application instance data of the target MEC application has changed, or the running status has changed, that is, the application instance data and running status data of the target MEC application can be understood as the change in the data of the changed MEC application instance data and operation Status data. When the number of mobile edge hosts managed by the LEPM increases or decreases, the LEPM can determine that the information of the mobile edge hosts managed by it has changed, that is, the increased mobile edge hosts or the decreased mobile edge hosts can be understood as the change data Change the information of the mobile edge host.
703、LEPM向MEPM发送变更通知消息。703. LEPM sends a change notification message to MEPM.
LEPM确定存在变更数据时,LEPM向MEPM发生变更通知消息,该变更通知消息携带变更数据,例如,变更移动边缘主机的信息、或者变更MEC应用的应用实例数据或者运行状态数据等。When the LEPM determines that there is change data, the LEPM sends a change notification message to the MEPM. The change notification message carries the change data, for example, changing the information of the mobile edge host, or changing the application instance data or running status data of the MEC application.
704、MEPM根据该变更通知消息更新该MEPM的数据。704. The MEPM updates the data of the MEPM according to the change notification message.
其中,该变更通知消息携带变更数据,例如,变更移动边缘主机的信息、或者变更MEC应用的应用实例数据或者运行状态数据等。示例性的,该MEPM根据变更移动边缘主机的信息更新本地记录的该LEPM所管理的移动边缘主机的信息,例如,LEPM增加管理的移动边缘主机,则MEPM可以在其存储的该LEPM所管理的移动边缘主机的ID列表中增加该新增的移动边缘主机的ID。又例如,LEPM为变更MEC应用增加应用实例,则MEPM更新本地存储的该变更MEC应用的应用实例数据。Wherein, the change notification message carries change data, for example, changing the information of the mobile edge host, or changing the application instance data or running status data of the MEC application. Exemplarily, the MEPM updates the locally recorded information of the mobile edge host managed by the LEPM according to the information of the changed mobile edge host. For example, if the LEPM adds a managed mobile edge host, the MEPM can store the information managed by the LEPM. The ID of the newly added mobile edge host is added to the ID list of the mobile edge host. For another example, if LEPM adds an application instance to a changed MEC application, MEPM updates the locally stored application instance data of the changed MEC application.
本申请实施例中,LEPM接收MEPM发送的订阅指示消息;然后,当LEPM确定存在变更数据时,LEPM向MEPM发送变更通知消息;然后,MEPM根据该变更通知消息更新该MEPM的数据。因此,本申请技术方案中MEPM通过向LEPM订阅MEC应用的应用实例数据和其管理的移动边缘主机的信息,从而实现MEPM与LEPM的数据同步。In this embodiment of the application, LEPM receives the subscription indication message sent by MEPM; then, when LEPM determines that there is change data, LEPM sends a change notification message to MEPM; then, MEPM updates the MEPM data according to the change notification message. Therefore, in the technical solution of the present application, the MEPM subscribes to the LEPM the application instance data of the MEC application and the information of the mobile edge host managed by it, so as to realize the data synchronization between the MEPM and the LEPM.
本申请实施例中还提供一种可能的实现方式,该实施例中与前述图7的实施例类似,不同的地方在于步骤703和步骤704,在该实施例中,该步骤703可以替换为:LEPM向MEPM发送变更通知消息,该变更通知消息用于通知该MEPM该LEPM存在变更数据且该变更通知消息不携带变更数据。步骤704可以替换为:MEPM通过调用该LEPM的接口对该LEPM所管理的移动边缘主机的信息和MEC应用的应用实例数据和运行状态数据的查询,以获取该变更数据,再更新其本地的数据。其次,本申请实施例中,MEPM还可以周期性地通过调用LEPM的接口以查询最新状态的变更MEC应用的应用实例数据和运行状态数据,并更新其本地的数据。The embodiment of the present application also provides a possible implementation manner. In this embodiment, it is similar to the embodiment of FIG. 7 with the difference in step 703 and step 704. In this embodiment, step 703 can be replaced with: The LEPM sends a change notification message to the MEPM. The change notification message is used to notify the MEPM that the LEPM has change data and the change notification message does not carry the change data. Step 704 can be replaced with: MEPM queries the information of the mobile edge host managed by the LEPM and the application instance data and running status data of the MEC application by calling the interface of the LEPM to obtain the changed data, and then update its local data . Secondly, in the embodiment of the present application, the MEPM can also periodically call the interface of LEPM to query the application instance data and running status data of the latest state of the changed MEC application, and update its local data.
下面对本申请实施例中提供的一种LEPM进行描述。请参阅图8,本申请实施例中LEPM的一个实施例,该LEPM800可以用于执行图2、图3、图4、图5、图6和图7所示实施例中LEPM执行的步骤,可以参考上述方法实施例中的相关描述。The following describes a LEPM provided in the embodiments of the present application. Please refer to Fig. 8, an embodiment of LEPM in the embodiment of this application. The LEPM800 can be used to execute the steps performed by LEPM in the embodiments shown in Fig. 2, Fig. 3, Fig. 4, Fig. 5, Fig. 6 and Fig. 7, Refer to the relevant description in the above method embodiment.
该LEPM800包括:收发模块801,和处理模块802。The LEPM800 includes: a transceiver module 801 and a processing module 802.
收发模块801,用于接收MEPM发送的管理命令,该管理命令为该MEPM为该LEPM分配的管理任务;The transceiver module 801 is configured to receive a management command sent by the MEPM, where the management command is a management task assigned by the MEPM to the LEPM;
处理模块802,用于根据该管理命令执行相应的操作;The processing module 802 is configured to perform corresponding operations according to the management command;
该收发模块801,用于向该MEPM发送管理命令响应消息,该管理命令响应消息用于通知该MEPM该LEPM执行相应的操作完成和该MEPM更新该MEPM的数据。The transceiver module 801 is configured to send a management command response message to the MEPM, where the management command response message is used to notify the MEPM that the LEPM has performed a corresponding operation and that the MEPM updates the MEPM data.
一种可能的实现方式中,该收发模块801还用于:In a possible implementation manner, the transceiver module 801 is also used for:
向MEPM发送注册请求消息,该注册请求消息包括LEPM的访问地址、位置信息和该LEPM所管理的移动边缘主机的信息;Send a registration request message to the MEPM, the registration request message including the access address of the LEPM, location information and information of the mobile edge host managed by the LEPM;
接收该MEPM发送的注册响应消息;Receive the registration response message sent by the MEPM;
该处理模块802还用于:The processing module 802 is also used to:
根据该注册响应消息确定该MEPM为该LEPM分配的标识。The identification assigned by the MEPM to the LEPM is determined according to the registration response message.
另一种可能的实现方式中,该注册请求消息还包括该LEPM的身份认证书或者该LEPM的属性信息;该身份认证数据用于该MEPM对该LEPM进行身份验证。In another possible implementation manner, the registration request message further includes the LEPM's identity certificate or the attribute information of the LEPM; the identity authentication data is used for the MEPM to authenticate the LEPM.
另一种可能的实现方式中,该管理命令包括应用实例化命令,该应用实例化命令携带请求创建的MEC应用的信息;该处理模块802具体用于:In another possible implementation manner, the management command includes an application instantiation command, and the application instantiation command carries information of the MEC application that is requested to be created; the processing module 802 is specifically configured to:
根据该MEC应用的信息为该MEC应用申请资源,并通过该资源创建该MEC应用和运行该MEC应用;Apply for resources for the MEC application according to the information of the MEC application, and create and run the MEC application through the resources;
该收发模块801具体用于:The transceiver module 801 is specifically used for:
向MEPM发送MEC应用的应用实例数据。Send MEC application instance data to MEPM.
另一种可能的实现方式中,该管理命令包括应用实例终止命令,且该应用实例终止命令携带MEC应用的标识;该处理模块802具体用于:In another possible implementation manner, the management command includes an application instance termination command, and the application instance termination command carries an MEC application identifier; the processing module 802 is specifically configured to:
根据该MEC应用的标识卸载该MEC应用,并释放该MEC应用所占用的资源。Uninstall the MEC application according to the MEC application identifier, and release the resources occupied by the MEC application.
另一种可能的实现方式中,该收发模块801还用于:In another possible implementation manner, the transceiver module 801 is also used for:
接收该MEPM发送的订阅指示消息,该订阅指示消息用于指示当该LEPM存在变更数据时,该LEPM向该MEPM发送该变更通知消息,该变更数据包括该LEPM所管理的变更边缘主机的信息、变更MEC应用的应用实例数据或者该变更MEC应用的运行状态数据。Receive a subscription indication message sent by the MEPM, the subscription indication message is used to indicate that when the LEPM has change data, the LEPM sends the change notification message to the MEPM, the change data includes the information of the change edge host managed by the LEPM, Change the application instance data of the MEC application or the running status data of the MEC application.
另一种可能的实现方式中,该处理模块802还用于:In another possible implementation manner, the processing module 802 is further used for:
确定该LEPM存在变更数据;Confirm that the LEPM has changed data;
该收发模块801还用于:The transceiver module 801 is also used for:
向MEPM发送变更通知消息,该变更通知消息用于通知该MEPM该LEPM存在变更数据。Send a change notification message to the MEPM, where the change notification message is used to notify the MEPM that the LEPM has changed data.
另一种可能的实现方式中,该变更通知消息携带该变更数据,该变更数据用于该MEPM更新该MEPM存储的该LEPM的数据。In another possible implementation manner, the change notification message carries the change data, and the change data is used by the MEPM to update the LEPM data stored in the MEPM.
另一种可能的实现方式中,该收发模块801还用于:In another possible implementation manner, the transceiver module 801 is also used for:
获取变更MEC应用的指标数据;Obtain indicator data for changing MEC applications;
该处理模块802还用于:The processing module 802 is also used to:
根据该指标数据和预设的弹性伸缩规则为该变更MEC应用分配应用实例,或者释放该变更MEC应用的应用实例。According to the indicator data and preset elastic scaling rules, an application instance is allocated to the changed MEC application, or the application instance of the changed MEC application is released.
本申请实施例中,收发模块801接收MEPM发送的管理命令,处理模块802根据管理命令执行相应的操作;然后收发模块801向MEPM发送管理响应消息,用于MEPM更新其本地数据。因此,无需由MEPM来执行管理操作,从而减小MEPM的管理负荷,避免或者防止MEPM成为全网性能的瓶颈和MEPM的管理动作反应较慢、时延增大等问题。In the embodiment of the present application, the transceiver module 801 receives the management command sent by the MEPM, and the processing module 802 performs corresponding operations according to the management command; then the transceiver module 801 sends a management response message to the MEPM for the MEPM to update its local data. Therefore, there is no need for MEPM to perform management operations, thereby reducing the management load of MEPM, avoiding or preventing MEPM from becoming a bottleneck of network-wide performance, and problems such as slow response of MEPM management actions and increased delay.
下面对本申请实施例中提供的一种MEPM进行描述。请参阅图9,本申请实施例中MEPM的一个实施例,该MEPM900可以用于执行图2、图3、图4、图5和图7所示实施例中MEPM执行的步骤,可以参考上述方法实施例中的相关描述。The following describes a MEPM provided in an embodiment of the present application. Please refer to Figure 9, an embodiment of MEPM in the embodiment of the present application. The MEPM900 can be used to execute the steps performed by MEPM in the embodiments shown in Figure 2, Figure 3, Figure 4, Figure 5 and Figure 7. You can refer to the above method Related description in the embodiment.
该MEPM900包括:收发模块901,和处理模块902。The MEPM900 includes: a transceiver module 901, and a processing module 902.
收发模块901,用于向LEPM发送管理命令,该管理命令为该MEPM为该LEPM分配的管理任务;The transceiver module 901 is configured to send a management command to the LEPM, where the management command is a management task assigned by the MEPM to the LEPM;
收发模块901,用于接收LEPM发送的管理命令响应消息,The transceiver module 901 is used to receive management command response messages sent by LEPM,
处理模块902,用于根据该管理命令响应消息更新该MEPM的数据。The processing module 902 is configured to update the data of the MEPM according to the management command response message.
一种可能的实现方式中,该收发模块901还用于:In a possible implementation manner, the transceiver module 901 is also used for:
接收该LEPM发送的注册请求消息,该注册请求消息携带该LEPM的访问地址、位置信息和该LEPM所管理的移动边缘主机的信息;Receiving a registration request message sent by the LEPM, the registration request message carrying the access address, location information of the LEPM, and information of the mobile edge host managed by the LEPM;
该处理模块902还用于:The processing module 902 is also used to:
根据该位置信息确定该LEPM为该MEPM所管理的LEPM;According to the location information, determine that the LEPM is the LEPM managed by the MEPM;
该收发模块901还用于:The transceiver module 901 is also used for:
通过该访问地址向LEPM发送注册响应消息,该注册响应消息携带该MEPM为该LEPM分配的标识。A registration response message is sent to the LEPM through the access address, and the registration response message carries the identifier assigned by the MEPM to the LEPM.
另一种可能的实现方式中,该注册请求消息还包括该LEPM的身份认证数据;该处理模块902还用于:In another possible implementation manner, the registration request message further includes the LEPM identity authentication data; the processing module 902 is further configured to:
根据身份认证数据对该LEPM进行验证,得到验证结果;Verify the LEPM according to the identity authentication data, and get the verification result;
根据该验证结果确定该LEPM验证成功。According to the verification result, it is determined that the LEPM verification is successful.
另一种可能的实现方式中,该管理命令包括应用实例化命令;该收发模块901具体用于:In another possible implementation manner, the management command includes an application instantiation command; the transceiver module 901 is specifically configured to:
接收LEPM发送的MEC应用的应用实例数据;Receive application instance data of MEC application sent by LEPM;
该处理模块902具体用于:The processing module 902 is specifically used for:
根据该应用实例数据在该MEPM中记录该MEC应用与该LEPM的对应关系和存储该MEC应用的应用实例数据。The corresponding relationship between the MEC application and the LEPM is recorded in the MEPM according to the application instance data and the application instance data of the MEC application is stored.
另一种可能的实现方式中,该收发模块901还用于:In another possible implementation manner, the transceiver module 901 is also used for:
获取该应用实例化命令,该应用实例化命令携带请求创建的MEC应用所对应的目标移动边缘主机的位置信息;Acquiring the application instantiation command, which carries the location information of the target mobile edge host corresponding to the MEC application requested to be created;
该处理模块902还用于:The processing module 902 is also used to:
根据该位置信息确定管理该目标移动边缘主机的LEPM。Determine the LEPM that manages the target mobile edge host according to the location information.
另一种可能的实现方式中,该管理命令包括应用实例终止命令,且该应用实例终止命令携带该MEC应用的标识;该处理模块902具体用于:In another possible implementation manner, the management command includes an application instance termination command, and the application instance termination command carries the identifier of the MEC application; the processing module 902 is specifically configured to:
删除该MEPM存储的该MEC应用与该LEPM的对应关系和该MEC应用的应用实例数据。Delete the correspondence between the MEC application and the LEPM stored in the MEPM and the application instance data of the MEC application.
另一种可能的实现方式中,该收发模块901还用于:In another possible implementation manner, the transceiver module 901 is also used for:
向LEPM发送订阅指示消息,该订阅指示消息用于指示当LEPM存在变更数据时,该LEPM向MEPM发送变更通知消息,该变更数据包括该LEPM所管理的变更移动边缘主机的信息、该LEPM所管理的变更MEC应用的应用实例数据或者该变更MEC应用的运行状态数据。Send a subscription indication message to the LEPM, the subscription indication message is used to indicate that when there is change data in the LEPM, the LEPM sends a change notification message to the MEPM, the change data includes the information of the changed mobile edge host managed by the LEPM, and the information managed by the LEPM Change the application instance data of the MEC application or change the running status data of the MEC application.
另一种可能的实现方式中,该收发模块901还用于:In another possible implementation manner, the transceiver module 901 is also used for:
接收该LEPM发送的变更通知消息,该变更通知消息携带该变更数据;Receiving a change notification message sent by the LEPM, where the change notification message carries the change data;
该处理模块902还用于:The processing module 902 is also used to:
根据该变更数据更新该MEPM存储的该LEPM的数据。Update the LEPM data stored in the MEPM according to the change data.
另一种可能的实现方式中,该收发模块901还用于:In another possible implementation manner, the transceiver module 901 is also used for:
接收LEPM发送的变更通知消息;Receive change notification messages sent by LEPM;
该处理模块902还用于:The processing module 902 is also used to:
根据该变更通知消息确定该LEPM存在变更数据;According to the change notification message, it is determined that the LEPM has changed data;
该收发模块901还用于:The transceiver module 901 is also used for:
再通过LEPM的接口获取该变更数据;Then obtain the change data through the LEPM interface;
该处理模块902还用于:The processing module 902 is also used to:
根据变更数据更新所述移动边缘平台管理器存储的所述本地边缘平台管理器的数据。Update the data of the local edge platform manager stored by the mobile edge platform manager according to the changed data.
另一种可能的实现方式中,该收发模块901还用于:In another possible implementation manner, the transceiver module 901 is also used for:
按照预设的周期通过调用LEPM的接口获取最新状态的MEC应用的应用实例数据和该LEPM所管理的移动边缘主机的信息;Obtain the application instance data of the latest MEC application and the information of the mobile edge host managed by the LEPM by calling the interface of the LEPM according to the preset cycle;
该处理模块902还用于:The processing module 902 is also used to:
根据该最新状态的MEC应用的应用实例数据和该LEPM所管理的移动边缘主机的信息更新该MEPM的数据。Update the data of the MEPM according to the application instance data of the MEC application in the latest state and the information of the mobile edge host managed by the LEPM.
本申请实施例中,收发模块901向LEPM发送管理命令,该管理命令为该MEPM为该LEPM分配的管理任务;然后,收发模块901接收LEPM发送的管理命令响应消息,处理模块902根据该管理命令响应消息更新该MEPM的数据。在本申请的技术方案中,收发模块901向LEPM下发管理命令,以便于LEPM并根据管理命令执行相应的操作。因此,无需由MEPM来执行管理操作,从而减小MEPM的管理负荷,避免或者防止MEPM成为全网性能的瓶颈和MEPM的管理动作反应较慢、时延增大等问题。In the embodiment of the present application, the transceiver module 901 sends a management command to LEPM, and the management command is the management task assigned by the MEPM to the LEPM; then, the transceiver module 901 receives the management command response message sent by the LEPM, and the processing module 902 responds to the management command The response message updates the data of the MEPM. In the technical solution of the present application, the transceiver module 901 issues management commands to LEPM, so that LEPM can perform corresponding operations according to the management commands. Therefore, there is no need for MEPM to perform management operations, thereby reducing the management load of MEPM, avoiding or preventing MEPM from becoming a bottleneck of network-wide performance, and problems such as slow response of MEPM management actions and increased delay.
本申请还提供一种LEPM1000,请参阅图10,本申请实施例中LEPM一个实施例,该LEPM可以用于执行图2、图3、图4、图5、图6和图7所示实施例中LEPM执行的步骤,可以参考上述方法实施例中的相关描述。This application also provides a LEPM1000, please refer to FIG. 10, an example of LEPM in the embodiments of this application, the LEPM can be used to implement the embodiments shown in FIG. 2, FIG. 3, FIG. 4, FIG. 5, FIG. 6 and FIG. 7 For the steps executed by LEPM in LEPM, reference may be made to the relevant description in the above method embodiment.
该LEPM1000包括:处理器1001、存储器1002、输入输出设备1003以及总线1004。The LEPM1000 includes a processor 1001, a memory 1002, an input/output device 1003, and a bus 1004.
一种可能的实现方式中,该处理器1001、存储器1002、输入输出设备1003分别与总线1004相连,该存储器中存储有计算机指令。In a possible implementation manner, the processor 1001, the memory 1002, and the input/output device 1003 are respectively connected to the bus 1004, and computer instructions are stored in the memory.
所述处理器1001用于执行计算机指令,使LEPM执行上述方法实施例中由LEPM执行的相关方法步骤。The processor 1001 is used to execute computer instructions to enable LEPM to execute the relevant method steps executed by LEPM in the foregoing method embodiments.
前述实施例中的处理模块802具体可以是本实施例中的处理器1001,因此该处理器1001的具体实现不再赘述。前述实施例中的收发模块801则具体可以是本实施例中的输入输出设备1003,因此该输入输出设备1003的具体实现不再赘述。The processing module 802 in the foregoing embodiment may specifically be the processor 1001 in this embodiment, so the specific implementation of the processor 1001 will not be repeated. The transceiver module 801 in the foregoing embodiment may specifically be the input/output device 1003 in this embodiment, so the specific implementation of the input/output device 1003 will not be described in detail.
本申请还提供一种MEPM1100,请参阅图11,本申请实施例中MEPM一个实施例,该MEPM可以用于执行图2、图3、图4、图5和图7所示实施例中MEPM执行的步骤,可以参考上述方法实施例中的相关描述。This application also provides a MEPM1100. Please refer to FIG. 11. In the embodiment of this application, MEPM is an embodiment. The MEPM can be used to execute MEPM in the embodiments shown in FIG. 2, FIG. 3, FIG. 4, FIG. 5, and FIG. For the steps, refer to the related description in the above method embodiment.
该MEPM1100包括:处理器1101、存储器1102、输入输出设备1103以及总线1104。The MEPM1100 includes a processor 1101, a memory 1102, an input/output device 1103, and a bus 1104.
一种可能的实现方式中,该处理器1101、存储器1102、输入输出设备1103分别与总线1104相连,该存储器中存储有计算机指令。In a possible implementation manner, the processor 1101, the memory 1102, and the input/output device 1103 are respectively connected to the bus 1104, and computer instructions are stored in the memory.
所述处理器1101用于执行计算机指令,使MEPM执行上述方法实施例中由MEPM执行的相关方法步骤。The processor 1101 is configured to execute computer instructions to make the MEPM execute the relevant method steps executed by the MEPM in the foregoing method embodiments.
前述实施例中的处理模块902具体可以是本实施例中的处理器1101,因此该处理器1101的具体实现不再赘述。前述实施例中的收发模块901则具体可以是本实施例中的输入输出设备1103。The processing module 902 in the foregoing embodiment may specifically be the processor 1101 in this embodiment, so the specific implementation of the processor 1101 will not be described again. The transceiver module 901 in the foregoing embodiment may specifically be the input and output device 1103 in this embodiment.
请参阅图12,本申请实施例还提供了一种数据管理系统,该数据管理系统包括LEPM和MEPM,具体地,LEPM可以包括如上述图8所示的LEPM,MEPM可以包括如上述图9所示的MEPM,其中,LEPM可以用于执行图2、图3、图4、图5、图6和图7所示实施例中LEPM执行的全部或者部分步骤,MEPM可以用于执行图2、图3、图4、图5和图7所示实施例中MEPM执行的全部或者部分步骤。Referring to FIG. 12, an embodiment of the present application also provides a data management system. The data management system includes LEPM and MEPM. Specifically, LEPM may include LEPM as shown in FIG. 8, and MEPM may include as shown in FIG. In the MEPM shown in Figure 2, LEPM can be used to perform all or part of the steps performed by LEPM in the embodiment shown in Figure 2, Figure 3, Figure 4, Figure 5, Figure 6 and Figure 7, and MEPM can be used to perform Figure 2 3. All or part of the steps performed by the MEPM in the embodiment shown in Figure 4, Figure 5 and Figure 7.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可 以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code .
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that: The technical solutions recorded in the embodiments are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (27)

  1. 一种数据管理方法,其特征在于,所述方法包括:A data management method, characterized in that the method includes:
    本地边缘平台管理器接收移动边缘平台管理器发送的管理命令,所述管理命令为所述移动边缘平台管理器为所述本地边缘平台管理器分配的管理任务;The local edge platform manager receives a management command sent by the mobile edge platform manager, where the management command is a management task assigned by the mobile edge platform manager to the local edge platform manager;
    所述本地边缘平台管理器根据所述管理命令执行相应的操作;The local edge platform manager executes corresponding operations according to the management command;
    所述本地边缘平台管理器向所述移动边缘平台管理器发送管理命令响应消息,所述管理命令响应消息用于通知所述移动边缘平台管理器所述本地边缘平台管理器执行相应的操作完成和所述移动边缘平台管理器更新所述移动边缘平台管理器的数据。The local edge platform manager sends a management command response message to the mobile edge platform manager, and the management command response message is used to notify the mobile edge platform manager that the local edge platform manager performs the corresponding operation completion and The mobile edge platform manager updates the data of the mobile edge platform manager.
  2. 根据权利要求1所述的方法,其特征在于,所述本地边缘平台管理器接收移动边缘平台管理器发送的管理命令之前,所述方法还包括:The method according to claim 1, wherein before the local edge platform manager receives the management command sent by the mobile edge platform manager, the method further comprises:
    所述本地边缘平台管理器向所述移动边缘平台管理器发送注册请求消息,所述注册请求消息包括所述本地边缘平台管理器的访问地址、位置信息和所述本地边缘平台管理器所管理的移动边缘主机的信息;The local edge platform manager sends a registration request message to the mobile edge platform manager, the registration request message including the access address, location information of the local edge platform manager, and information managed by the local edge platform manager Mobile edge host information;
    所述本地边缘平台管理器接收所述移动边缘平台管理器发送的注册响应消息;Receiving, by the local edge platform manager, a registration response message sent by the mobile edge platform manager;
    所述本地边缘平台管理器根据所述注册响应消息确定所述移动边缘平台管理器为所述本地边缘平台管理器分配的标识。The local edge platform manager determines the identifier assigned to the local edge platform manager by the mobile edge platform manager according to the registration response message.
  3. 根据权利要求1或2所述的方法,其特征在于,所述管理命令包括应用实例化命令,所述应用实例化命令携带请求创建的移动边缘计算MEC应用的信息;The method according to claim 1 or 2, wherein the management command comprises an application instantiation command, and the application instantiation command carries information of the mobile edge computing MEC application requested to be created;
    所述本地边缘平台管理器根据所述管理命令执行相应的操作包括:The execution of the corresponding operation by the local edge platform manager according to the management command includes:
    所述本地边缘平台管理器根据所述MEC应用的信息为所述MEC应用申请资源,并通过所述资源创建所述MEC应用和运行所述MEC应用;The local edge platform manager applies for resources for the MEC application according to the information of the MEC application, and creates the MEC application and runs the MEC application through the resources;
    所述本地边缘平台管理器向所述移动边缘平台管理器发送管理命令响应消息包括:The sending of a management command response message by the local edge platform manager to the mobile edge platform manager includes:
    所述本地边缘平台管理器向所述移动边缘平台管理器发送所述MEC应用的应用实例数据。The local edge platform manager sends application instance data of the MEC application to the mobile edge platform manager.
  4. 根据权利要求1或2所述的方法,其特征在于,所述管理命令包括应用实例终止命令,且所述应用实例终止命令携带MEC应用的标识;The method according to claim 1 or 2, wherein the management command includes an application instance termination command, and the application instance termination command carries an MEC application identifier;
    所述本地边缘平台管理器根据所述管理命令执行相应的操作包括:The execution of the corresponding operation by the local edge platform manager according to the management command includes:
    所述本地边缘平台管理器根据所述MEC应用的标识卸载所述MEC应用,并释放所述MEC应用所占用的资源。The local edge platform manager uninstalls the MEC application according to the identifier of the MEC application, and releases the resources occupied by the MEC application.
  5. 根据权利要求1至4中的任一项所述的方法,其特征在于,所述本地边缘平台管理器向所述移动边缘平台管理器发送管理命令响应消息之后,所述方法还包括:The method according to any one of claims 1 to 4, wherein after the local edge platform manager sends a management command response message to the mobile edge platform manager, the method further comprises:
    所述本地边缘平台管理器确定所述本地边缘平台管理器存在变更数据,所述变更数据包括所述LEPM所管理的变更移动边缘主机的信息、所述LEPM所管理的变更MEC应用的应用实例数据或者所述变更MEC应用的运行状态数据;The local edge platform manager determines that there is change data in the local edge platform manager, and the change data includes information about changing mobile edge hosts managed by the LEPM, and application instance data of changing MEC applications managed by the LEPM Or said changing the running state data of the MEC application;
    所述本地边缘平台管理器向所述移动边缘平台管理器发送变更通知消息,所述变更通知消息用于通知所述移动边缘平台管理器所述本地边缘平台管理器存在变更数据。The local edge platform manager sends a change notification message to the mobile edge platform manager, where the change notification message is used to notify the mobile edge platform manager that the local edge platform manager has change data.
  6. 根据权利要求5所述的方法,其特征在于,所述本地边缘平台管理器确定所述本地 边缘平台管理器存在变更数据之前,所述方法还包括:The method according to claim 5, wherein before the local edge platform manager determines that the local edge platform manager has changed data, the method further comprises:
    所述本地边缘平台管理器获取所述变更MEC应用的指标数据;The local edge platform manager obtains the index data of the MEC application change;
    所述本地边缘平台管理器根据所述指标数据和预设的弹性伸缩规则为所述变更MEC应用分配应用实例,或者释放所述变更MEC应用的应用实例。The local edge platform manager allocates application instances to the changed MEC application or releases the application instances of the changed MEC application according to the index data and preset elastic scaling rules.
  7. 一种数据管理方法,其特征在于,所述方法包括:A data management method, characterized in that the method includes:
    移动边缘平台管理器向本地边缘平台管理器发送管理命令,所述管理命令为所述移动边缘平台管理器为所述本地边缘平台管理器分配的管理任务;The mobile edge platform manager sends a management command to the local edge platform manager, where the management command is a management task assigned by the mobile edge platform manager to the local edge platform manager;
    所述移动边缘平台管理器接收所述本地边缘平台管理器发送的管理命令响应消息;Receiving, by the mobile edge platform manager, a management command response message sent by the local edge platform manager;
    所述移动边缘平台管理器根据所述管理命令响应消息更新所述移动边缘平台管理器的数据。The mobile edge platform manager updates the data of the mobile edge platform manager according to the management command response message.
  8. 根据权利要求7所述的方法,其特征在于,所述移动边缘平台管理器向本地边缘平台管理器发送管理命令之前,所述方法还包括:The method according to claim 7, wherein before the mobile edge platform manager sends a management command to the local edge platform manager, the method further comprises:
    所述移动边缘平台管理器接收所述本地边缘平台管理器发送的注册请求消息,所述注册请求消息携带所述本地边缘平台管理器的访问地址、位置信息和所述本地边缘平台管理器所管理的移动边缘主机的信息;The mobile edge platform manager receives a registration request message sent by the local edge platform manager, the registration request message carrying the access address, location information of the local edge platform manager, and the management of the local edge platform manager Information of the mobile edge host;
    所述移动边缘平台管理器根据所述位置信息确定所述本地边缘平台管理器为所述移动边缘平台管理器所管理的本地边缘平台管理器;Determining, by the mobile edge platform manager, that the local edge platform manager is a local edge platform manager managed by the mobile edge platform manager according to the location information;
    所述移动边缘平台管理器通过所述访问地址向所述本地边缘平台管理器发送注册响应消息,所述注册响应消息携带所述移动边缘平台管理器为所述本地边缘平台管理器分配的标识。The mobile edge platform manager sends a registration response message to the local edge platform manager through the access address, and the registration response message carries the identifier assigned by the mobile edge platform manager to the local edge platform manager.
  9. 根据权利要求7或8所述的方法,其特征在于,所述管理命令包括应用实例化命令;所述移动边缘平台管理器接收所述本地边缘平台管理器发送的管理命令响应消息包括:The method according to claim 7 or 8, wherein the management command comprises an application instantiation command; the mobile edge platform manager receiving the management command response message sent by the local edge platform manager comprises:
    所述移动边缘平台管理器接收所述本地边缘平台管理器发送移动边缘计算MEC应用的应用实例数据;The mobile edge platform manager receives application instance data of the mobile edge computing MEC application sent by the local edge platform manager;
    所述移动边缘平台管理器根据所述管理响应消息更新所述移动边缘平台管理器的数据包括:The updating of the mobile edge platform manager's data according to the management response message by the mobile edge platform manager includes:
    所述移动边缘平台管理器根据所述应用实例数据记录所述MEC应用与所述本地边缘平台管理器的对应关系和存储所述MEC应用的应用实例数据。The mobile edge platform manager records the correspondence between the MEC application and the local edge platform manager according to the application instance data and stores application instance data of the MEC application.
  10. 根据权利要求7或8所述的方法,其特征在于,所述管理命令包括应用实例终止命令,且所述应用实例终止命令携带MEC应用的标识;所述移动边缘平台管理器根据所述管理响应消息更新所述移动边缘平台管理器的数据包括:The method according to claim 7 or 8, wherein the management command includes an application instance termination command, and the application instance termination command carries an MEC application identifier; the mobile edge platform manager responds according to the management response The message to update the data of the mobile edge platform manager includes:
    所述移动边缘平台管理器删除所述移动边缘平台管理器存储所述MEC应用与所述本地边缘平台管理器的对应关系和所述MEC应用的应用实例数据。The mobile edge platform manager deletes the mobile edge platform manager storing the correspondence between the MEC application and the local edge platform manager and the application instance data of the MEC application.
  11. 根据权利要求7至10中的任一项所述的方法,其特征在于,所述移动边缘平台管理器根据所述管理命令响应消息更新所述移动边缘平台管理器的数据之后,所述方法还包括:The method according to any one of claims 7 to 10, wherein after the mobile edge platform manager updates the data of the mobile edge platform manager according to the management command response message, the method further include:
    所述移动边缘平台管理器接收所述本地边缘平台管理器发送的变更通知消息,所述变 更通知消息携带变更数据,所述变更数据包括所述LEPM所管理的变更移动边缘主机的信息、所述LEPM所管理的变更MEC应用的应用实例数据或者所述变更MEC应用的运行状态数据;The mobile edge platform manager receives a change notification message sent by the local edge platform manager, the change notification message carries change data, and the change data includes information about changing a mobile edge host managed by the LEPM, and The application instance data of the changed MEC application or the running state data of the changed MEC application managed by LEPM;
    所述移动边缘平台管理器根据所述变更数据更新所述移动边缘平台管理器存储的所述本地边缘平台管理器的数据。The mobile edge platform manager updates the data of the local edge platform manager stored by the mobile edge platform manager according to the change data.
  12. 根据权利要求7至10中的任一项所述的方法,其特征在于,所述移动边缘平台管理器根据所述管理命令响应消息更新所述移动边缘平台管理器的数据之后,所述方法还包括:The method according to any one of claims 7 to 10, wherein after the mobile edge platform manager updates the data of the mobile edge platform manager according to the management command response message, the method further include:
    所述移动边缘平台管理器接收所述本地边缘平台管理器发送的变更通知消息;The mobile edge platform manager receives a change notification message sent by the local edge platform manager;
    所述移动边缘平台管理器根据所述变更通知消息确定所述本地边缘平台管理器存在变更数据,所述变更数据包括所述LEPM所管理的变更移动边缘主机的信息、所述LEPM所管理的变更MEC应用的应用实例数据或者所述变更MEC应用的运行状态数据;The mobile edge platform manager determines, according to the change notification message, that there is change data in the local edge platform manager, the change data includes information about changing the mobile edge host managed by the LEPM, and changes managed by the LEPM Application instance data of the MEC application or the operating state data of the changed MEC application;
    所述移动边缘平台管理器通过调用所述本地边缘平台管理器的接口获取所述变更数据;The mobile edge platform manager obtains the change data by calling the interface of the local edge platform manager;
    所述移动边缘平台管理器根据所述变更数据更新所述移动边缘平台管理器存储的所述本地边缘平台管理器的数据。The mobile edge platform manager updates the data of the local edge platform manager stored by the mobile edge platform manager according to the change data.
  13. 一种本地边缘平台管理器,其特征在于,所述本地边缘平台管理器包括:A local edge platform manager, characterized in that, the local edge platform manager includes:
    收发模块,用于接收移动边缘平台管理器发送的管理命令,所述管理命令为所述移动边缘平台管理器为所述本地边缘平台管理器分配的管理任务;A transceiver module, configured to receive a management command sent by a mobile edge platform manager, where the management command is a management task assigned by the mobile edge platform manager to the local edge platform manager;
    处理模块,用于根据所述管理命令执行相应的操作;The processing module is used to execute corresponding operations according to the management command;
    所述收发模块,用于向所述移动边缘平台管理器发送管理命令响应消息,所述管理命令响应消息用于通知所述移动边缘平台管理器所述本地边缘平台管理器执行相应的操作完成和所述移动边缘平台管理器更新所述移动边缘平台管理器的数据。The transceiver module is configured to send a management command response message to the mobile edge platform manager, and the management command response message is used to notify the mobile edge platform manager that the local edge platform manager performs the corresponding operation completion and The mobile edge platform manager updates the data of the mobile edge platform manager.
  14. 根据权利要求13所述的本地边缘平台管理器,其特征在于,所述收发模块还用于:The local edge platform manager according to claim 13, wherein the transceiver module is further configured to:
    向所述移动边缘平台管理器发送注册请求消息,所述注册请求消息包括所述本地边缘平台管理器的访问地址、位置信息和所述本地边缘平台管理器所管理的移动边缘主机的信息;Sending a registration request message to the mobile edge platform manager, where the registration request message includes the access address and location information of the local edge platform manager and information about the mobile edge host managed by the local edge platform manager;
    接收所述移动边缘平台管理器发送的注册响应消息;Receiving a registration response message sent by the mobile edge platform manager;
    所述处理模块还用于:The processing module is also used for:
    根据所述注册响应消息确定所述移动边缘平台管理器为所述本地边缘平台管理器分配的标识。The identification assigned by the mobile edge platform manager to the local edge platform manager is determined according to the registration response message.
  15. 根据权利要求13或14所述的本地边缘平台管理器,其特征在于,所述管理命令包括应用实例化命令,所述应用实例化命令携带请求创建的移动边缘计算MEC应用的信息;所述处理模块具体用于:The local edge platform manager according to claim 13 or 14, wherein the management command comprises an application instantiation command, and the application instantiation command carries information of the mobile edge computing MEC application requested to be created; the processing The module is specifically used for:
    根据所述MEC应用的信息为所述MEC应用申请资源,并通过所述资源创建所述MEC应用和运行所述MEC应用;Apply for resources for the MEC application according to the information of the MEC application, and create the MEC application and run the MEC application through the resources;
    所述收发模块具体用于:The transceiver module is specifically used for:
    向所述移动边缘平台管理器发送所述MEC应用的应用实例数据。Send the application instance data of the MEC application to the mobile edge platform manager.
  16. 根据权利要求13或14所述的本地边缘平台管理器,其特征在于,所述管理命令包括应用实例终止命令,且所述应用实例终止命令携带MEC应用的标识;所述处理模块具体用于:The local edge platform manager according to claim 13 or 14, wherein the management command includes an application instance termination command, and the application instance termination command carries an MEC application identifier; the processing module is specifically configured to:
    根据所述MEC应用的标识卸载所述MEC应用,并释放所述MEC应用所占用的资源。Uninstall the MEC application according to the identifier of the MEC application, and release the resources occupied by the MEC application.
  17. 根据权利要求13至16中的任一项所述的本地边缘平台管理器,其特征在于,所述处理模块还用于:The local edge platform manager according to any one of claims 13 to 16, wherein the processing module is further configured to:
    确定所述本地边缘平台管理器存在变更数据,所述变更数据包括所述LEPM所管理的变更移动边缘主机的信息、所述LEPM所管理的变更MEC应用的应用实例数据或者所述变更MEC应用的运行状态数据;It is determined that there is change data in the local edge platform manager, and the change data includes the information of the changed mobile edge host managed by the LEPM, the application instance data of the changed MEC application managed by the LEPM, or the changed MEC application Operating status data;
    所述收发模块还用于:The transceiver module is also used for:
    向所述移动边缘平台管理器发送变更通知消息,所述变更通知消息用于通知所述移动边缘平台管理器所述本地边缘平台管理器存在变更数据。Sending a change notification message to the mobile edge platform manager, where the change notification message is used to notify the mobile edge platform manager that the local edge platform manager has change data.
  18. 根据权利要求17所述的本地边缘平台管理器,其特征在于,所述收发模块还用于:The local edge platform manager of claim 17, wherein the transceiver module is further configured to:
    获取所述变更MEC应用的指标数据;Obtain the indicator data of the MEC application change;
    所述处理模块还用于:The processing module is also used for:
    根据所述指标数据和预设的弹性伸缩规则为所述变更MEC应用分配应用实例,或者释放所述变更MEC应用的应用实例。According to the indicator data and preset elastic scaling rules, an application instance is allocated to the changed MEC application, or an application instance of the changed MEC application is released.
  19. 一种移动边缘平台管理器,其特征在于,所述移动边缘平台管理器包括:A mobile edge platform manager, characterized in that, the mobile edge platform manager includes:
    收发模块,用于向本地边缘平台管理器发送管理命令,所述管理命令为所述移动边缘平台管理器为所述本地边缘平台管理器分配的管理任务;A transceiver module, configured to send a management command to a local edge platform manager, where the management command is a management task assigned by the mobile edge platform manager to the local edge platform manager;
    所述收发模块,用于接收所述本地边缘平台管理器发送的管理命令响应消息;The transceiver module is configured to receive a management command response message sent by the local edge platform manager;
    处理模块,用于根据所述管理命令响应消息更新所述移动边缘平台管理器的数据。The processing module is configured to update the data of the mobile edge platform manager according to the management command response message.
  20. 根据权利要求19所述的移动边缘平台管理器,其特征在于,所述收发模块还用于:The mobile edge platform manager of claim 19, wherein the transceiver module is further configured to:
    接收所述本地边缘平台管理器发送的注册请求消息,所述注册请求消息携带所述本地边缘平台管理器的访问地址、位置信息和所述本地边缘平台管理器所管理的移动边缘主机的信息;Receiving a registration request message sent by the local edge platform manager, the registration request message carrying the access address and location information of the local edge platform manager, and information about the mobile edge host managed by the local edge platform manager;
    所述处理模块还用于:The processing module is also used for:
    根据所述位置信息确定所述本地边缘平台管理器为所述移动边缘平台管理器所管理的本地边缘平台管理器;Determining, according to the location information, that the local edge platform manager is a local edge platform manager managed by the mobile edge platform manager;
    所述收发模块还用于:The transceiver module is also used for:
    通过所述访问地址向所述本地边缘平台管理器发送注册响应消息,所述注册响应消息携带所述移动边缘平台管理器为所述本地边缘平台管理器分配的标识。Sending a registration response message to the local edge platform manager through the access address, where the registration response message carries the identifier assigned by the mobile edge platform manager to the local edge platform manager.
  21. 根据权利要求19或20所述的移动边缘平台管理器,其特征在于,所述管理命令包括应用实例化命令;所述收发模块具体用于:The mobile edge platform manager of claim 19 or 20, wherein the management command includes an application instantiation command; the transceiver module is specifically configured to:
    接收所述本地边缘平台管理器发送移动边缘计算MEC应用的应用实例数据;Receiving application instance data of a mobile edge computing MEC application sent by the local edge platform manager;
    所述处理模块还用于:The processing module is also used for:
    根据所述应用实例数据记录所述MEC应用与所述本地边缘平台管理器的对应关系和存储所述MEC应用的应用实例数据。Record the correspondence between the MEC application and the local edge platform manager according to the application instance data and store application instance data of the MEC application.
  22. 根据权利要求19或20所述的移动边缘平台管理器,其特征在于,所述管理命令包括应用实例终止命令,且所述应用实例终止命令携带MEC应用的标识;所述处理模块具体用于:The mobile edge platform manager of claim 19 or 20, wherein the management command includes an application instance termination command, and the application instance termination command carries an MEC application identifier; the processing module is specifically configured to:
    删除所述移动边缘平台管理器中存储的所述MEC应用与所述本地边缘平台管理器的对应关系和所述MEC应用的应用实例数据。Delete the correspondence between the MEC application and the local edge platform manager and the application instance data of the MEC application stored in the mobile edge platform manager.
  23. 根据权利要求19至22中的任一项所述的移动边缘平台管理器,其特征在于,所述收发模块还用于:The mobile edge platform manager according to any one of claims 19-22, wherein the transceiver module is further configured to:
    接收所述本地边缘平台管理器发送的变更通知消息,所述变更通知消息携带变更数据,所述变更数据包括所述LEPM所管理的变更移动边缘主机的信息、所述LEPM所管理的变更MEC应用的应用实例数据或者所述变更MEC应用的运行状态数据;Receive a change notification message sent by the local edge platform manager, the change notification message carrying change data, the change data including information about changing mobile edge hosts managed by the LEPM, and changing MEC applications managed by the LEPM The application instance data or the operating status data of the MEC application that has been changed;
    所述处理模块还用于:The processing module is also used for:
    根据所述变更数据更新所述移动边缘平台管理器存储的所述本地边缘平台管理器的数据。Update the data of the local edge platform manager stored by the mobile edge platform manager according to the change data.
  24. 根据权利要求19至22中的任一项所述的移动边缘平台管理器,其特征在于,所述收发模块还用于:The mobile edge platform manager according to any one of claims 19-22, wherein the transceiver module is further configured to:
    接收所述本地边缘平台管理器发送的变更通知消息;Receiving a change notification message sent by the local edge platform manager;
    所述处理模块还用于:The processing module is also used for:
    根据所述变更通知消息确定所述本地边缘平台管理器存在变更数据,所述变更数据包括所述LEPM所管理的变更移动边缘主机的信息、所述LEPM所管理的变更MEC应用的应用实例数据或者所述变更MEC应用的运行状态数据;According to the change notification message, it is determined that the local edge platform manager has change data, the change data includes the information of changing the mobile edge host managed by the LEPM, the application instance data of the changed MEC application managed by the LEPM, or Said changing the running state data of the MEC application;
    所述收发模块还用于:The transceiver module is also used for:
    通过调用所述本地边缘平台管理器的接口获取所述变更数据;Acquiring the change data by calling the interface of the local edge platform manager;
    所述处理模块还用于:The processing module is also used for:
    根据所述变更数据更新所述移动边缘平台管理器存储的所述本地边缘平台管理器的数据。Update the data of the local edge platform manager stored by the mobile edge platform manager according to the change data.
  25. 一种数据管理系统,其特征在于,所述数据管理系统包括如权利要求13至18中的任一项所述的LEPM,以及如权利要求19至24中的任一项所述的MEPM。A data management system, characterized in that the data management system comprises the LEPM according to any one of claims 13 to 18, and the MEPM according to any one of claims 19 to 24.
  26. 一种包含指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得所述计算机执行如权利要求1至12中任一项所述的方法。A computer program product containing instructions, which is characterized in that when it runs on a computer, the computer executes the method according to any one of claims 1 to 12.
  27. 一种计算机可读存储介质,其特征在于,包括指令,当所述指令在计算机上运行时,使得计算机执行如权利要求1至12中任一项所述的方法。A computer-readable storage medium, characterized by comprising instructions, which when run on a computer, causes the computer to execute the method according to any one of claims 1 to 12.
PCT/CN2020/083105 2019-04-22 2020-04-03 Data management method, lepm, and mepm WO2020216038A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910324562.4 2019-04-22
CN201910324562.4A CN111836261B (en) 2019-04-22 2019-04-22 Data management method, LEPM and MEPM

Publications (1)

Publication Number Publication Date
WO2020216038A1 true WO2020216038A1 (en) 2020-10-29

Family

ID=72911505

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/083105 WO2020216038A1 (en) 2019-04-22 2020-04-03 Data management method, lepm, and mepm

Country Status (2)

Country Link
CN (1) CN111836261B (en)
WO (1) WO2020216038A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769897A (en) * 2020-12-21 2021-05-07 北京百度网讯科技有限公司 Synchronization method and device for edge calculation message, electronic equipment and storage medium
WO2023125526A1 (en) * 2021-12-29 2023-07-06 华为技术有限公司 Method and apparatus for registration

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301159B (en) * 2021-05-26 2022-12-09 中国电子科技集团公司第五十四研究所 Service position obtaining method and device in edge computing system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017039814A1 (en) * 2015-08-28 2017-03-09 Qualcomm Incorporated Enriched local advertising for small cells
CN108235298A (en) * 2016-12-21 2018-06-29 上海中兴软件有限责任公司 Path switching method, mobile edge calculations platform and gateway in mobile edge calculations
US10110495B1 (en) * 2017-11-22 2018-10-23 Intel Corporation Multi-access edge computing (MEC) service provision based on local cost measurements

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017132951A1 (en) * 2016-02-04 2017-08-10 华为技术有限公司 Service migration method, apparatus and system
EP3520444B1 (en) * 2016-09-29 2021-03-31 Nokia Solutions and Networks Oy Enhancement of traffic detection and routing in virtualized environment
TW201839625A (en) * 2017-04-24 2018-11-01 財團法人工業技術研究院 Local edge cloudlet manager, edge cloudlet system and controlling method of edge cloudlet system
TWI627872B (en) * 2017-09-05 2018-06-21 財團法人工業技術研究院 Control method for network communication system including base station network management server and multi-access edge computing ecosystem device
CN109167671B (en) * 2018-07-11 2023-04-28 国网信通亿力科技有限责任公司 Quantum key distribution service-oriented balanced load scheduling method for distribution communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017039814A1 (en) * 2015-08-28 2017-03-09 Qualcomm Incorporated Enriched local advertising for small cells
CN108235298A (en) * 2016-12-21 2018-06-29 上海中兴软件有限责任公司 Path switching method, mobile edge calculations platform and gateway in mobile edge calculations
US10110495B1 (en) * 2017-11-22 2018-10-23 Intel Corporation Multi-access edge computing (MEC) service provision based on local cost measurements

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ETSI: "Multi-access Edge Computing (MEC); Framework and Reference Architecture; ETSI GS MEC 003 V2.1.1", ETSI GROUP SPECIFICATION, 31 January 2019 (2019-01-31), DOI: 20200609163426A *
INTEL: "Paper to discuss edge computing management issues; S5-175180", 3GPP TSG SA WG5 (TELECOM MANAGEMENT) MEETING #115, 20 October 2017 (2017-10-20), XP051348956, DOI: 20200609163522A *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769897A (en) * 2020-12-21 2021-05-07 北京百度网讯科技有限公司 Synchronization method and device for edge calculation message, electronic equipment and storage medium
CN112769897B (en) * 2020-12-21 2023-04-18 北京百度网讯科技有限公司 Synchronization method and device of edge calculation message, electronic equipment and storage medium
WO2023125526A1 (en) * 2021-12-29 2023-07-06 华为技术有限公司 Method and apparatus for registration

Also Published As

Publication number Publication date
CN111836261A (en) 2020-10-27
CN111836261B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
US10298439B2 (en) Network functions virtualization network system and data processing method, and apparatus
CN112187545B (en) Network slice deployment method and device
CN107689882B (en) Method and device for service deployment in virtual network
EP3800926B1 (en) Alarm method and device
WO2020216038A1 (en) Data management method, lepm, and mepm
CN111385114B (en) VNF service instantiation method and device
US20170373931A1 (en) Method for updating network service descriptor nsd and apparatus
US20220004410A1 (en) Method For Deploying Virtual Machine And Container, And Related Apparatus
KR20200012981A (en) Network slice management methods, devices, and computer readable storage media
US10911333B2 (en) Network service life cycle management grant method and apparatus
KR102213122B1 (en) Methods and devices for business migration
WO2017066931A1 (en) Method and device for managing certificate in network function virtualization architecture
EP3247080B1 (en) Certificate management method, device and system
US20190260636A1 (en) Method and apparatus for managing network slice instance
WO2019100266A1 (en) Mobile edge host-machine service notification method and apparatus
CN109358967A (en) A kind of ME platform APP instantiation moving method and server
CN109857464B (en) System and method for platform deployment and operation of mobile operating system
CN111615128A (en) Multi-access edge computing method, platform and system
CN106911741B (en) Method for balancing virtual network management file downloading load and network management server
CN111683164B (en) IP address configuration method and VPN service system
WO2016177135A1 (en) Resource management method, device, and control terminal
WO2018014351A1 (en) Method and apparatus for resource configuration
KR102144092B1 (en) Dynamic network configuration and server extension system and method
WO2018120227A1 (en) Resource management method and device
CN115733743A (en) Network service deployment method, NFVO (network function virtualization) and NFV (network function virtualization) system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20796446

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20796446

Country of ref document: EP

Kind code of ref document: A1