Resource processing method, system and computer readable storage medium

By monitoring and evaluating resource changes of MEC nodes and accurately evaluating and synchronizing resource information, the problem of single-core nodes being unable to meet business deployment requirements when resource utilization is the same is solved, achieving more accurate resource management and business deployment.

CN114461372BActive Publication Date: 2024-10-22CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011242097.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-09
Publication Date
2024-10-22
Estimated Expiration
2040-11-09

AI Technical Summary

Technical Problem

When the resource utilization of multi-core and single-core MEC nodes is the same, it is difficult for single-core MEC nodes to meet service deployment requirements, resulting in inaccurate service deployment.

Method used

Monitor the resource changes before and after the application function block is run through each MEC node, evaluate the remaining resources, calculate the first and second resource values ​​using all resources, used resources and unit resources, update the resource index table, and synchronize resources between MEC nodes information to accurately assess and reserve resources.

Benefits of technology

This method takes the heterogeneity of MEC nodes into account, provides a more accurate resource assessment, ensures that resource requirements for business deployment are met, and improves the accuracy and efficiency of business deployment of MEC nodes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114461372B_ABST
    Figure CN114461372B_ABST
Patent Text Reader

Abstract

The present disclosure provides a resource processing method, system and computer-readable storage medium, which relate to the field of MEC technology. The method comprises: each MEC node in a plurality of MEC nodes respectively runs the same application function block; each MEC node monitors the change amount of its own resources before and after the application function block runs, and uses the change amount as its own unit resource; each MEC node evaluates its own remaining resources based on its own total resources, used resources and unit resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of mobile edge computing (MEC) technology, and in particular to a resource processing method, system, and computer-readable storage medium. Background Art

[0002] New business application scenarios, such as facial recognition, virtual reality, augmented reality, and autonomous driving, have put forward higher requirements on network latency, reliability, and security.

[0003] In order to meet the needs of emerging business application scenarios, MEC technology came into being. MEC technology reduces the distance between servers and user terminals, reduces network response time, reduces data transmission power consumption and network congestion, meets the business performance requirements of low latency and high reliability, and has received great attention from the industry.

[0004] In the related art, services are deployed on MEC nodes based on the uniform distribution of resources of different MEC nodes. For example, the MEC node on which the service is to be deployed is determined based on the resource utilization of the MEC node. Summary of the invention

[0005] The inventors note that in actual network deployment, in order to meet the deployment requirements of different services, a hierarchical, differentiated, and heterogeneous resource deployment method is used to build MEC nodes. In this case, it would be inaccurate to determine the MEC node to be deployed for the service based on resource utilization. For example, for single-core MEC nodes and multi-core MEC nodes, when the resource utilization is the same, single-core MEC nodes may be difficult to meet the service deployment requirements.

[0006] Based on the above problems, the embodiments of the present disclosure propose the following solutions.

[0007] According to one aspect of an embodiment of the present disclosure, a resource processing method is provided, including: each of a plurality of mobile edge computing MEC nodes respectively runs the same application function block; each MEC node monitors the change amount of its own resources before and after the running of the application function block, and takes the change amount as its own unit resource; each MEC node evaluates its own remaining resources based on its own total resources, used resources and unit resources.

[0008] In some embodiments, at least one MEC node uses respective fixed resources to run the application function block, and uses the change in the fixed resources before and after the application function block is run as the respective unit resources.

[0009] In some embodiments, each MEC node evaluates its own remaining resources based on its own total resources, used resources and unit resources, including: each MEC node calculates the ratio of its own total resources to unit resources to obtain its own first resource value; each MEC node determines its own second resource value based on its own used resources and unit resources; each MEC node evaluates its own remaining resources based on the difference between its own first resource value and second resource value.

[0010] In some embodiments, at least one first MEC node among the multiple MEC nodes includes multiple first containers, each first container is deployed with a service of a service type; each MEC node determines its own second resource value based on its own used resources and unit resources, including: each first MEC node determines the second resource value of each first container based on the used resources and respective unit resources of the first container corresponding to each service; each first MEC node determines its own second resource value based on the second resource value of each first container.

[0011] In some embodiments, at least one second MEC node among the multiple MEC nodes includes multiple second containers, and each second container is deployed with services of multiple service types; each MEC node determines its own second resource value based on its own used resources and unit resources, including: each second MEC node determines its own second resource value based on the weight of the resources occupied by the services of each service type and its own unit resources.

[0012] In some embodiments, at least one third MEC node among the multiple MEC nodes includes multiple third containers, and the application function block is deployed in a third container among the multiple third containers; each MEC node monitors the change in resources of the respective resources before and after the application function block runs, including: each third MEC node monitors the change in resources of the third container before and after the application function block runs, and takes the change in resources of the third container as the respective unit resources.

[0013] In some embodiments, each MEC node runs the application function block in response to its own timing reaching a predetermined time to evaluate its own remaining resources; the method also includes: each MEC node updates its own remaining resources in the stored resource index table to its own evaluated remaining resources; after the update, each MEC node sends the stored resource index table to other MEC nodes among the multiple MEC nodes to trigger the other MEC nodes to run the application function block to evaluate their own remaining resources, and trigger the other MEC nodes to update the remaining resources of each MEC node in their own stored resource index table to the remaining resources evaluated by each MEC node; each MEC node receives the respective evaluated remaining resources sent by at least one MEC node among the other MEC nodes, and updates the respective remaining resources of at least one MEC node in its own resource index table to the respective evaluated remaining resources.

[0014] In some embodiments, each MEC node runs the application function block in response to a resource synchronization request from a source MEC node to evaluate the respective remaining resources; the method also includes: each MEC node sends its respective remaining resources to the source MEC node; each MEC node runs the application function block again in response to a resource reservation request sent by the source MEC node to evaluate the respective remaining resources again; each MEC node reserves reserved resources if the re-evaluated respective remaining resources meet the requirements of the resource reservation request.

[0015] In some embodiments, the method further includes: after reserving the reserved resources for a preset time, each MEC node asks the source MEC node whether to continue reserving the reserved resources; each MEC node determines whether to continue reserving the reserved resources based on a response message returned by the source MEC node.

[0016] In some embodiments, the method also includes: when each MEC node senses that the terminal may migrate to the target MEC node, the method further includes: when each MEC node senses that the terminal may migrate to the target MEC node, the method further includes: sending a resource synchronization request to the target MEC node to trigger the target MEC node to run the application function block to evaluate the respective remaining resources; each MEC node determines whether the target MEC node meets the resource requirements of the terminal service deployment based on the respective remaining resources evaluated by the target MEC node; when each MEC node meets the resource requirements of the terminal service deployment, the method further includes: sending a resource reservation request to the target MEC node to trigger the target MEC node to run the application function block again to evaluate the respective remaining resources again.

[0017] According to another aspect of an embodiment of the present disclosure, a resource processing system is provided, including: a plurality of mobile edge computing MEC nodes, each MEC node including: an operation module configured to run the same application function block; a monitoring module configured to monitor the change in resources of each MEC node before and after the application function block is run, and take the change as the unit resource of each MEC node; and an evaluation module configured to evaluate the remaining resources of each MEC node based on the total resources, used resources and unit resources of each MEC node.

[0018] According to another aspect of an embodiment of the present disclosure, a resource processing system is provided, comprising: a plurality of mobile edge computing MEC nodes, each MEC node comprising: a memory; and a processor coupled to the memory, configured to execute the method described in any one of the above embodiments based on instructions stored in the memory.

[0019] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the instructions are executed by a processor, the method described in any one of the above embodiments is implemented.

[0020] In the disclosed embodiment, multiple MEC nodes obtain their own unit resources by monitoring the change in their own resources before and after the same application function block is run, and then evaluate their own remaining resources based on their own total resources, used resources, and their own unit resources. In this way, the remaining resources evaluated by different MEC nodes take into account the heterogeneity of different MEC nodes, which is more accurate and provides a more accurate reference for the subsequent business deployment of MEC nodes.

[0021] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0023] Figure 1 is a flowchart of a resource processing method according to some embodiments of the present disclosure;

[0024] Figure 2 yes Figure 1 A flowchart of some implementations of step 106 is shown;

[0025] Figure 3is a schematic diagram of the structure of a MEC node according to some embodiments of the present disclosure;

[0026] Figure 4 It is a structural diagram of an MEC node according to some other embodiments of the present disclosure. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0028] Unless specifically stated otherwise, the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure.

[0029] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0030] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.

[0031] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0032] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0033] Figure 1 It is a flowchart of a resource processing method according to some embodiments of the present disclosure.

[0034] In step 102, each of the multiple MEC nodes runs the same application function block.

[0035] Here, multiple MEC nodes are located in a certain MEC service area, for example. The application function block can execute corresponding functions when running.

[0036] For example, a single application function block or multiple application function blocks can be selected from the application function block library based on training and learning. The application function blocks can be selected based on historical experience or the business characteristics of the application service. For example, for computing-intensive services, the proportion of selected intensive computing application function blocks is not less than 35%.

[0037] Each MEC node runs the same application function block. For example, when there is one application function block, each MEC node runs the application function block; when there are multiple application function blocks, each MEC node runs the same multiple application function blocks.

[0038] It is understandable that for different MEC nodes in the same MEC service area, the same application function block can be run when triggered by other MEC nodes or in a scheduled manner. This will be described below in conjunction with different embodiments.

[0039] In step 104, each MEC node monitors the change in its own resources before and after the application function block is run, and uses the change as its own unit resource.

[0040] Here, resources may include central processing unit (CPU) resources, memory resources, storage resources, network resources, etc. For example, the resource changes of MEC nodes can be measured in a vector manner. For example, before the application function block runs, the respective resources of a certain MEC node can be expressed as [A1, A2, A3…], and after the application function block runs, the respective resources of the MEC node can be expressed as [A1', A2', A3'…]. The change can be expressed as [A1-A1', A2-A2', A3-A3'…]. Here, A1 / A1', A2 / A2', A3 / A3' represent different resource types.

[0041] It should be understood that the unit resource can be understood as the smallest unit for measuring the resources of the MEC node. For MEC nodes with differentiated configurations, the unit resources of different MEC nodes may also be different. In other words, when running the same application function block, different MEC nodes consume different resources.

[0042] In step 106, each MEC node evaluates its own remaining resources based on its own total resources, used resources, and unit resources.

[0043] Since each MEC node obtains its own unit resources, each MEC node can evaluate its own remaining resources based on its own total resources, its own used resources, and its own unit resources. It should be understood that the evaluated remaining resources may include the remaining resources of multiple resources, or may be the weighted value of the remaining resources of multiple resources.

[0044] In the above embodiment, multiple MEC nodes obtain their own unit resources by monitoring the change in their own resources before and after the same application function block is run, and then evaluate their own remaining resources based on their own total resources, used resources, and their own unit resources. In this way, the remaining resources evaluated by different MEC nodes take into account the heterogeneity of different MEC nodes, which is more accurate and provides a more accurate reference for the subsequent business deployment of MEC nodes.

[0045] Figure 2 yes Figure 1 The flowchart of some implementation methods of step 106 is shown below. Figure 2 Some specific implementations of the above step 106 are introduced. It should be understood that the execution order of step 116 and step 126 is not limited, and they can be executed simultaneously or successively.

[0046] In step 116, each MEC node calculates the ratio of its total resources to its unit resources to obtain its first resource value. Here, the first resource value of a certain MEC node can measure the total resources of the MEC node. The first resource values ​​of different MEC nodes take into account the heterogeneity of different MEC nodes.

[0047] For example, each MEC node determines its own second resource value based on its own used resources and unit resources. Here, the second resource value of a certain MEC node can measure the used resources of the MEC node. The second resource values ​​of different MEC nodes take into account the heterogeneity of different MEC nodes.

[0048] An example is given below to illustrate the process of obtaining the first resource value.

[0049] Definition A ALL =[c all , r all ,s all , b all ] T , A ALL is the overall resource capacity of the MEC node, where c all is the maximum CPU utilization threshold, if it does not exceed 50%, r all is the maximum memory utilization threshold, s all is the maximum utilization threshold of storage, b all The maximum bandwidth resource utilization threshold.

[0050] Definition A Δ =[c Δ , r Δ ,s Δ , b Δ ] T , where A Δ is the unit resource, cΔ is the relative change in CPU utilization after the application function block is loaded, r Δ is the relative change in memory utilization after the application function block is loaded, s Δ is the relative change in storage utilization after loading the application function block library, b Δ It is the relative change of bandwidth utilization after loading the application function block library.

[0051] Definition A all-nor is the normalized value of the entire resource, i.e., the first resource value, A all-nor =[c all / c Δ , r all / r Δ ,s all / s Δ , b all / b Δ ] T .

[0052] In step 126, each MEC node determines its own second resource value according to its own used resources and unit resources.

[0053] Different MEC nodes may determine their respective second resource values ​​in different ways.

[0054] Some implementations of MEC nodes determining their respective second resource values ​​are described below.

[0055] As some implementations, at least one first MEC node among the multiple MEC nodes includes multiple first containers, and each first container is deployed with a service of a service type. That is, the first container and the service are in a one-to-one relationship, a service is deployed in only one first container, and only one service is deployed in one first container.

[0056] In this case, each first MEC node can determine its own second resource value in the following manner: each first MEC node determines the second resource value of each first container according to the used resources of the first container corresponding to each service and the respective unit resources; each first MEC node determines its own second resource value according to the second resource value of each first container. For example, the second resource value of the first container can be obtained by calculating the ratio of the used resources of the first container and the unit resources of the first MEC node. In this way, the second resource value of each first container can be obtained. Furthermore, each first MEC node calculates the sum of the second resource values ​​of each first container to obtain its own second resource value.

[0057] definition where s j For business type, is the used resource of the first container corresponding to service j. The second resource value of the first container corresponding to service j is expressed as: The second resource value of the first MEC node can be expressed as: Where n is the total number of deployed service types.

[0058] The following introduces some other implementations of MEC nodes determining their respective second resource values.

[0059] As some other implementations, at least one second MEC node among the multiple MEC nodes includes multiple second containers, and each second container is deployed with services of multiple service types.

[0060] In this case, each second MEC node may determine its own second resource value according to the weight of the resources occupied by each service type and its own unit resources.

[0061] For example, define the weight W of resources occupied by business j j =[a j , b j , c j , d j ] T , the weight can be a default fixed value or a weight of resources occupied by similar services. The second resource value of the second MEC node can be expressed as: Where n is the total number of services deployed by the second MEC node.

[0062] It is understandable that, in the case where multiple services have been deployed, the weight of the resources occupied by each service can be determined, and the weight can be used when the service is subsequently deployed.

[0063] In step 136, each MEC node evaluates its own remaining resources based on the difference between its own first resource value and its own second resource value.

[0064] For example, the remaining resources of each MEC are A o-nor =A all-nor -A used-nor Here, A o-nor Can be expressed in the form of a vector.

[0065] For another example, the remaining resources of each MEC are z = A o-nor *W F . z is the weighted value of each vector parameter, A all-nor -A used-nor , W F =[a F , b F , c F , d F ] T , aF , b F 、c F d F is the weight of each vector parameter, which can be determined based on experience or machine training.

[0066] Considering that other services may be deployed when the application function block is running, in order to reduce or eliminate the interference of other service deployments, some specific implementation methods for determining unit resources are introduced below.

[0067] As some implementations, at least one third MEC node among the multiple MEC nodes includes multiple third containers, and the application function block of each third MEC node is deployed in one of the multiple third containers. In this case, each third MEC node monitors the change in resources of the third container where the application function block is deployed before and after the application function block runs, and uses the change in resources of the third container as the unit resource of each third MEC node.

[0068] In the above implementation, the unit resource is determined by monitoring the change in the resource of a third container, which can reduce the interference caused by other business deployments when the application function block is running.

[0069] As another implementation, at least one MEC node uses its own fixed resources to run the same application function block, and uses the change in the fixed resources before and after the application function block is run as its own unit resource. For example, fixed resources may include fixed number of threads, CPU resources, memory resources, storage resources, network bandwidth resources, and other necessary parameters.

[0070] For example, the MEC node can apply for fixed resources from its own resources for running the application function block. It should be understood that the fixed resources applied for by different MEC nodes may not be the same. It should also be understood that the fixed resources applied for by different MEC nodes can meet the operation of the application function block in each MEC node. For example, the fixed resources can be the fixed resources of the third container mentioned above.

[0071] In the above implementation, the unit resource determined according to the change amount of the fixed resource is more accurate and will not be affected by other business deployments on the fixed resource when the application function block is running.

[0072] The following describes the implementation method of triggering each MEC node to evaluate its own remaining resources in combination with different embodiments.

[0073] In some embodiments, each MEC node executes an application function block in response to its own timing reaching a predetermined time, so as to Figure 1 The remaining resources of each MEC node are evaluated in the manner shown. For example, a timer is set inside each MEC node.

[0074] In this case, each MEC node updates the respective remaining resources in the stored resource index table to the respective evaluated remaining resources; after the update, each MEC node sends the stored resource index table (for example, by multicast or broadcast) to other MEC nodes among the multiple MEC nodes to trigger the other MEC nodes to run the application function blocks to evaluate the respective remaining resources, and trigger the other MEC nodes to update the remaining resources of each MEC node in their respective stored resource index tables to the respective evaluated remaining resources of each MEC node; thereafter, each MEC node receives the respective evaluated remaining resources sent by at least one MEC node among the other MEC nodes, and updates the respective remaining resources of at least one MEC node in its own resource index table to the respective evaluated remaining resources.

[0075] In the above embodiment, through timed triggering, each MEC node can send its updated remaining resources to other MEC nodes to trigger other MEC nodes to update their own resource index tables. Moreover, when the remaining resources of other MEC nodes are updated, each MEC node can also update its own resource index table. In this way, the resource index tables in multiple MEC nodes can be kept consistent.

[0076] In other embodiments, each MEC node responds to the resource synchronization request of the source MEC node and runs the application function block to synchronize the resource according to the resource synchronization request. Figure 1 The respective remaining resources are evaluated in the manner shown.

[0077] In this case, each MEC node sends its remaining resources to the source MEC node after evaluating its remaining resources. Each MEC node responds to the resource reservation request sent by the source MEC node and runs the application function block again to Figure 1 The respective remaining resources are evaluated again in the manner shown. Each MEC node reserves the predetermined resources when the respective remaining resources evaluated again meet the requirements of the resource reservation request.

[0078] In one or more embodiments, after reserving the scheduled resources for a preset time, each MEC node asks the source MEC node whether to continue to reserve the scheduled resources; each MEC node determines whether to continue to reserve the scheduled resources based on the response message returned by the source MEC node. This approach is conducive to taking into account the subsequent business deployment speed and resource pressure of the MEC node.

[0079] For example, if the response message returned by the source MEC node indicates that the reserved resources are no longer reserved, the MEC node releases the previously reserved resources; for another example, if the response message returned by the source MEC node indicates that the reserved resources are continued to be reserved, the MEC node continues to reserve the previously reserved resources. After that, each MEC node can repeatedly ask the source MEC node whether to continue to reserve the reserved resources after reserving the reserved resources for a preset time.

[0080] In some embodiments, when the terminal has moved from the source MEC node to the coverage of a certain MEC node, if the remaining resources evaluated by the MEC node do not meet the resource requirements of the terminal service deployment, the MEC node can rely on network slicing technology to establish a dedicated channel with the source MEC node, such as a virtual private network (VPN) channel. The MEC node can realize the transfer of interactive data between the terminal and the source MEC node through the established dedicated channel.

[0081] In some embodiments, the MEC node may also cache the interaction data between the source MEC node and the terminal. The interaction data may include, for example, user service status data. As an example, the user service status data may include user context information and access status, such as user personal information related to the service established by the user at the source MEC node, transmission control protocol (TCP) session, memory, etc. The interaction data may also include other data, such as platform information related to the application, such as dynamic data of a virtual machine or container, database dynamic data, etc.

[0082] For example, if the remaining resources of the MEC node meet the resource requirements of the terminal service deployment, the service deployment can be performed on the MEC node, that is, the service is migrated from the source MEC node to the MEC node. Since the MEC node has cached the interaction data between the source MEC node and the terminal, the service can be migrated from the source MEC node to the MEC node more quickly during the subsequent service deployment.

[0083] In some other embodiments, each MEC node sends a resource synchronization request to the target MEC node when it senses that the terminal may migrate to the target MEC node, so as to trigger the target MEC node to run the application function block, so as to Figure 1 In this case, the MEC node that sends the resource synchronization request can be understood as the source MEC node described above.

[0084] After evaluating their respective remaining resources, the target MEC nodes may send the evaluated remaining resources to the MEC node that initiated the resource synchronization request.

[0085] Accordingly, each MEC node determines whether the target MEC node meets the resource requirements of the terminal service deployment based on the respective remaining resources evaluated by the target MEC node. For example, the respective remaining resources evaluated by the target MEC node are weighted values ​​of multiple resources. When it is determined that the weighted value meets the resource requirements of the terminal service deployment, it is determined item by item whether the remaining resources of each resource meet the resource requirements of the terminal service deployment; when each resource meets the resource requirements of the terminal service deployment, it is determined that the target MEC node meets the resource requirements of the terminal service deployment; when there is at least one resource that does not meet the resource requirements of the terminal service deployment, it is determined that the target MEC node does not meet the resource requirements of the terminal service deployment.

[0086] When the target MEC node meets the resource requirements of the terminal service deployment, each MEC node sends a resource reservation request to the target MEC node to trigger the target MEC node to re-use the resource reservation request according to the resource requirements of the terminal service deployment. Figure 1 The application function block is run in the manner shown to re-evaluate the remaining resources of the target MEC nodes. The target MEC nodes reserve the predetermined resources when the re-evaluated remaining resources meet the requirements of the resource reservation request.

[0087] Afterwards, similar to the above, each MEC node may subsequently receive a message from the target MEC node asking whether to continue to reserve the reserved resources, and then send a corresponding response message to the target node to indicate whether the target MEC node continues to reserve the reserved resources.

[0088] Table 1 is an example of a resource index table according to some embodiments of the present disclosure. Table 2 is an example of a service index table according to some embodiments of the present disclosure. For example, an MEC node can use a service resource table when evaluating its own remaining resources. After the evaluation, it can update its own remaining resources in the resource index table and synchronize the updated remaining resources with other MEC nodes. In this way, each MEC node can evaluate its own remaining resources and synchronize with other MEC nodes based on the service index table and the resource index table.

[0089] Table 1

[0090]

[0091]

[0092] As shown in Table 1, the resource index table may include one or more of the following: the name of the MEC node, the ID of the MEC node, the network distance, the used resources, and the remaining resources. The name of the MEC node can be set empirically or generated by the system by default. The identification of the MEC node can uniquely identify the MEC node in the MEC network and can be defined based on the IPv4 / IPv6 address or other forms of labels. The network distance field can be reflected by latency or hop count. For example, the hop count / latency can be expressed as the number of MEC nodes or the round-trip delay between the current MEC node and other MEC nodes. The network distance for the hop count and latency of the current MEC node is 0. The used resources are the used resources normalized as a percentage of the resources used by the deployed services, which can be reflected in the form of a percentage. The available resources are the remaining resources of the MEC node after normalization, that is, the available resources, which can be reflected in the form of a percentage.

[0093] Table 2

[0094]

[0095] As shown in Table 2, the service index table may include one or more of the following: serial number, service name, service identifier, identifier of the deployed MEC node, and resources used. The serial number is a serial identifier automatically or manually assigned by the deployed MEC node according to the service deployment order. The service name reflects the name of the service characteristics, such as VR / AR game experience. The service identifier is a unique identifier for the service in the MEC service area. For example, a string / number identifier can be used, which can be manually assigned or automatically generated by the system. The deployed edge computing node is the edge computing node ID deployed by the service, which is used to identify the edge computing node to which the service belongs; the resources used are the edge computing node resource situation used by the service, which is the normalized resource usage assessment value of the service, expressed as a percentage.

[0096] The resource index table shown in Table 1 and the service index table shown in Table 2 may be associated with each other according to the identifier of the MEC node.

[0097] The embodiment of the present disclosure also provides a resource processing system, including multiple MEC nodes. Figure 3 It is a structural diagram of an MEC node according to some embodiments of the present disclosure.

[0098] like Figure 3 As shown, each of the multiple MEC nodes may include an operation module 301 , a monitoring module 302 and an evaluation module 303 .

[0099] The operation module 301 is configured to run the same application function block. The monitoring module 302 is configured to monitor the change in the resources of each MEC node before and after the application function block is run, and use the change as the unit resource of each MEC node. The evaluation module 303 is configured to evaluate the remaining resources of each MEC node based on the total resources, used resources and unit resources of each MEC node.

[0100] Figure 4 It is a structural diagram of an MEC node according to some other embodiments of the present disclosure.

[0101] like Figure 4 As shown, the MEC node 400 includes a memory 401 and a processor 402 coupled to the memory 401 , and the processor 402 is configured to execute a method of any one of the aforementioned embodiments based on instructions stored in the memory 401 .

[0102] The memory 401 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.

[0103] The MEC node 400 may also include an input / output interface 403, a network interface 404, a storage interface 405, etc. These interfaces 403, 404, 405, and the memory 401 and the processor 402 may be connected, for example, via a bus 406. The input / output interface 403 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 404 provides a connection interface for various networked devices. The storage interface 405 provides a connection interface for external storage devices such as SD cards and USB flash drives.

[0104] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referenced to each other.

[0105] The embodiments of the present disclosure further provide a computer-readable storage medium on which computer program instructions are stored. When the instructions are executed by a processor, the method of any one of the above embodiments is implemented.

[0106] So far, various embodiments of the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.

[0107] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0108] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that the functions specified in one or more processes in the flowchart and / or one or more blocks in the block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions specified in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0109] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0110] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0111] Although some specific embodiments of the present disclosure have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified or some technical features may be replaced by equivalents without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. A resource processing method, comprising: Each of the multiple mobile edge computing MEC nodes runs the same application function block; Each MEC node monitors the change in its own resources before and after the application function block is run, and uses the change as its own unit resource; Each MEC node evaluates its remaining resources based on its total resources, used resources, and unit resources; When each MEC node senses that the terminal is about to migrate to the target MEC node, it sends a resource synchronization request to the target MEC node to trigger the target MEC node to run the application function block to evaluate the respective remaining resources; Each MEC node determines whether the target MEC node meets the resource requirements of the terminal service deployment according to the respective remaining resources evaluated by the target MEC node; When the target MEC node meets the resource requirements of the terminal service deployment, each MEC node sends a resource reservation request to the target MEC node to trigger the target MEC node to run the application function block again to re-evaluate the respective remaining resources.

2. The method according to claim 1, wherein: At least one MEC node uses respective fixed resources to run the application function block, and uses the change in the fixed resources before and after the application function block is run as the respective unit resources.

3. The method according to claim 1, wherein: Each MEC node evaluates its remaining resources based on its total resources, used resources, and unit resources, including: Each MEC node calculates the ratio of its own total resources to its own unit resources to obtain its own first resource value; Each MEC node determines its own second resource value according to its own used resources and unit resources; Each MEC node evaluates its own remaining resources according to the difference between its own first resource value and its own second resource value.

4. The method according to claim 3, wherein: At least one first MEC node among the multiple MEC nodes includes multiple first containers, each of which is deployed with a service of a service type; Each MEC node determines its own second resource value according to its own used resources and unit resources, including: Each first MEC node determines the second resource value of each first container according to the used resources of the first container corresponding to each service and the respective unit resources; Each first MEC node determines its own second resource value according to the second resource value of each first container.

5. The method according to claim 3, wherein: At least one second MEC node among the multiple MEC nodes includes multiple second containers, each second container being deployed with services of multiple service types; Each MEC node determines its own second resource value according to its own used resources and unit resources, including: Each second MEC node determines its own second resource value according to the weight of the resources occupied by the services of each service type and the respective unit resources.

6. The method according to claim 1, wherein: At least one third MEC node among the plurality of MEC nodes comprises a plurality of third containers, and the application function block is deployed in one of the plurality of third containers; Each MEC node monitors the changes in resources before and after the application function block is run, including: Each third MEC node monitors the change in resources of the third container before and after the application function block is run, and uses the change in resources of the third container as the respective unit resources.

7. The method according to any one of claims 1 to 6, wherein: In response to each MEC node reaching a predetermined time, each MEC node runs the application function block to evaluate the respective remaining resources; The method further comprises: Each MEC node updates its own remaining resources in the stored resource index table to its own evaluated remaining resources; After the updating, each MEC node sends the stored resource index table to other MEC nodes in the multiple MEC nodes to trigger the other MEC nodes to run the application function blocks to evaluate the respective remaining resources, and trigger the other MEC nodes to update the remaining resources of each MEC node in the respective stored resource index tables to the remaining resources evaluated by each MEC node; Each MEC node receives the respectively evaluated remaining resources sent by at least one MEC node among the other MEC nodes, and updates the respectively evaluated remaining resources of the at least one MEC node in the resource index table of each MEC node itself to the respectively evaluated remaining resources.

8. The method according to any one of claims 1 to 6, wherein: Each MEC node runs the application function block in response to the resource synchronization request of the source MEC node to evaluate the respective remaining resources; The method further comprises: Each MEC node sends its remaining resources to the source MEC node; Each MEC node, in response to the resource reservation request sent by the source MEC node, runs the application function block again to re-evaluate the respective remaining resources; Each MEC node reserves the predetermined resources when the respective remaining resources evaluated again meet the requirements of the resource reservation request.

9. The method according to claim 8, further comprising: After reserving the predetermined resources for a preset time, each MEC node asks the source MEC node whether to continue reserving the predetermined resources; Each MEC node determines whether to continue to reserve the predetermined resources according to the response message returned by the source MEC node.

10. A resource processing system, comprising: Multiple mobile edge computing MEC nodes, each MEC node includes: A running module is configured to run the same application function block; A monitoring module is configured to monitor the change in the resources of each MEC node before and after the application function block is run, and use the change as the unit resource of each MEC node; and An evaluation module is configured to evaluate the remaining resources of each MEC node according to the total resources, used resources and unit resources of each MEC node; Each MEC node is configured as: When sensing that the terminal is about to migrate to the target MEC node, sending a resource synchronization request to the target MEC node to trigger the target MEC node to run the application function block to evaluate the respective remaining resources; Determining whether the target MEC node meets the resource requirements of the terminal service deployment according to the respective remaining resources evaluated by the target MEC node; In the case where the target MEC node meets the resource requirements of the terminal service deployment, a resource reservation request is sent to the target MEC node to trigger the target MEC node to run the application function block again to re-evaluate the respective remaining resources.

11. A resource processing system, comprising: Multiple mobile edge computing MEC nodes, each MEC node includes: Memory; and A processor coupled to the memory, configured to execute the method according to any one of claims 1 to 9 based on instructions stored in the memory.

12. A computer-readable storage medium having computer program instructions stored thereon, wherein: When the instruction is executed by a processor, the method described in any one of claims 1 to 9 is implemented.