Resource allocation method, device, cloud platform server and edge node device

Through the cloud platform server dynamically adjusting the business image and hardware resource configuration of edge node devices, the problem of low resource utilization in P2P CDN is solved, and efficient resource utilization and cost reduction are achieved.

CN112732440BActive Publication Date: 2024-12-13CHINA TOWER CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110017141.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-07
Publication Date
2024-12-13
Estimated Expiration
2041-01-07

AI Technical Summary

Technical Problem

In the existing P2P CDN technology, the resource utilization rate of edge node devices is low because each node is deployed with the same manufacturer and cannot be dynamically adjusted according to the actual business situation, resulting in waste of resources.

Method used

Through the cloud platform server, obtain the business images of multiple manufacturers and the service usage of edge node devices, dynamically send business images and container hardware resource configuration instructions, allowing edge node devices to deploy services of multiple manufacturers and adjust hardware resource configuration to achieve resource Dynamic adjustment and sharing.

Benefits of technology

It improves resource utilization of edge node devices, reduces the number of devices, reduces deployment costs, and realizes flexible allocation and sharing of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112732440B_ABST
    Figure CN112732440B_ABST
Patent Text Reader

Abstract

The present application provides a resource allocation method, device, cloud platform server and edge node device, the method includes obtaining business images of multiple manufacturers and business usage of edge node devices, the business usage includes the manufacturers associated with the edge node; according to the business usage of the edge node, the business images of the manufacturers associated with the edge node among the multiple manufacturers are sent to the edge node device; according to the business usage of the edge node, a container hardware resource configuration indication is sent to the edge node device, the container hardware resource configuration indication is used to indicate the container hardware resource configuration of the edge node device for each manufacturer. The present application can improve the resource utilization of edge node devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and more specifically, to a resource allocation method, a device cloud platform server, and an edge node device. Background Art

[0002] The technology of P2P CDN (Peer to Peer Content Delivery Network) is based on widely distributed edge nodes. At present, major Internet manufacturers have developed their own edge node equipment products, which generally appear in the form of smart routers or smart boxes. P2P CDN brings a better user experience through a more edge-oriented device deployment method, but each manufacturer develops and deploys it separately, the edge devices are small in size, the services are independent of each other, and the deployed services are single. Each node deploys the same manufacturer's application, and the installation of the edge device client is usually pre-installed at the factory, which cannot be dynamically adjusted according to the actual business usage. If the business demand of the manufacturer in the area is small, the resource utilization rate of the node device will be low. Summary of the invention

[0003] Embodiments of the present application provide a resource allocation method, device, electronic device, and readable storage medium to solve the problem of resource waste.

[0004] In a first aspect, an embodiment of the present application provides a resource allocation method, which is executed by a cloud platform server and includes:

[0005] Obtaining service images of multiple manufacturers and service usage of edge node devices, wherein the service usage includes the manufacturers associated with the edge nodes;

[0006] According to the service usage of the edge node, sending the service image of the manufacturer associated with the edge node among the multiple manufacturers to the edge node device;

[0007] A container hardware resource configuration indication is sent to the edge node device according to the service usage of the edge node, where the container hardware resource configuration indication is used to instruct the edge node device on the container hardware resource configuration for each manufacturer.

[0008] In a second aspect, an embodiment of the present application further provides a resource allocation method, which is performed by an edge node device, including:

[0009] Receiving a business image sent by a cloud platform server, wherein a manufacturer corresponding to the business image is associated with the edge node device;

[0010] Create a container based on the manufacturer corresponding to the business image;

[0011] Receive the container hardware resource configuration instruction sent by the cloud platform server, and configure the container hardware resources of each manufacturer in response to the container hardware resource configuration instruction.

[0012] In a third aspect, an embodiment of the present application further provides a resource allocation device, which is applied to a cloud platform server, comprising:

[0013] A first acquisition module is used to acquire service images of multiple manufacturers and service usage of edge node devices, wherein the service usage includes the manufacturer associated with the edge node;

[0014] A first sending module, configured to send a service image of a manufacturer associated with the edge node among the multiple manufacturers to the edge node device according to the service usage of the edge node;

[0015] The second sending module is used to send a container hardware resource configuration indication to the edge node device according to the service usage of the edge node, and the container hardware resource configuration indication is used to instruct the edge node device to configure the container hardware resources for each manufacturer.

[0016] In a fourth aspect, an embodiment of the present application further provides a resource allocation device, applied to an edge node device, including:

[0017] A first receiving module is used to receive a business image sent by a cloud platform server, wherein the manufacturer corresponding to the business image is associated with the edge node device;

[0018] A creation module, used to create a container based on the manufacturer corresponding to the business image;

[0019] The second receiving module is used to receive the container hardware resource configuration instruction sent by the cloud platform server, and configure the container hardware resources of each manufacturer in response to the container hardware resource configuration instruction.

[0020] In the fifth aspect, an embodiment of the present application also provides a cloud platform server, comprising: a memory, a processor, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps in the resource allocation method disclosed in the first aspect of the embodiment of the present application.

[0021] In the sixth aspect, an embodiment of the present application provides an edge node device, comprising: a memory, a processor, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps in the resource allocation method disclosed in the second aspect of the embodiment of the present application.

[0022] In this way, in an embodiment of the present application, the service deployment of the edge node device is completed according to the service usage of the edge node device. The edge node device can deploy services of multiple manufacturers according to the service usage and configure the hardware resources of the containers corresponding to each manufacturer, thereby achieving the technical effect of improving the resource utilization of the edge node device. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0024] Figure 1 It is a flowchart of a resource allocation method provided in an embodiment of the present application;

[0025] Figure 2 is a flowchart of another resource allocation method provided in an embodiment of the present application;

[0026] Figure 3 is a schematic diagram of a resource allocation system applicable to embodiments of the present application;

[0027] Figure 4 is a schematic diagram of another resource allocation system that can be applied in the embodiments of the present application;

[0028] Figure 5 is a structural diagram of a resource allocation device provided in an embodiment of the present application;

[0029] Figure 6 is a structural diagram of another resource allocation device provided in an embodiment of the present application;

[0030] Figure 7 is a structural diagram of another resource allocation device provided in an embodiment of the present application;

[0031] Figure 8 is a structural diagram of another resource allocation device provided in an embodiment of the present application;

[0032] Fig. 9 is a structural diagram of another resource allocation device provided in an embodiment of the present application;

[0033] Fig.10 is a structural diagram of another resource allocation device provided in an embodiment of the present application;

[0034] Fig.11 It is a structural diagram of a cloud platform server provided in an embodiment of the present application;

[0035] Fig.12 It is a structural diagram of an edge node device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0037] See also Figure 1 , Figure 1 is a schematic diagram of a resource allocation process provided by an embodiment of the present application, such as Figure 1 As shown, it is executed by the cloud platform server and includes the following steps:

[0038] Step 101: Obtain service images of multiple manufacturers and service usage of edge node devices, wherein the service usage includes the manufacturer associated with the edge node.

[0039] Among them, the above-mentioned edge node device can be one or more. For example, in a P2P CDN scenario, when the above-mentioned cloud platform server deploys services for a certain edge node device, the manufacturer associated with the above-mentioned edge node can be obtained. When the above-mentioned cloud platform server deploys services for multiple edge node devices, the manufacturers associated with the above-mentioned multiple edge nodes can be obtained. The manufacturer associated with the above-mentioned edge node can also be one or more, and during the actual business use of the user, the manufacturer associated with the above-mentioned edge node can change dynamically, such as adding an associated manufacturer or reducing an associated manufacturer.

[0040] Among them, the above-mentioned service usage can be the previous usage of CDN (Content Delivery Network) services of the above-mentioned edge nodes, for example: the number of users of each manufacturer at the above-mentioned edge nodes, the number and frequency of users of the above-mentioned edge nodes using the services corresponding to each manufacturer, etc.

[0041] Step 102: According to the service usage of the edge node device, send the service image of the manufacturer associated with the edge node among the multiple manufacturers to the edge node device.

[0042] Step 103: Send a container hardware resource configuration indication to the edge node device according to the service usage of the edge node, where the container hardware resource configuration indication is used to instruct the edge node device to configure the container hardware resources for each manufacturer.

[0043] Among them, the container of the above-mentioned edge node device can correspond one-to-one with the manufacturer associated with the above-mentioned edge node. For example: the above-mentioned edge node has users of manufacturer 1 and manufacturer 2, then the above-mentioned edge node device can create container 1 and container 2 accordingly, corresponding to the above-mentioned manufacturer 1 and manufacturer 2 respectively. The hardware resources of the above-mentioned container 1 can be used for the storage content of the above-mentioned manufacturer 1, and the hardware resources of the above-mentioned container 2 can be used for the storage content of the above-mentioned manufacturer 2.

[0044] In addition, after the business image and the container hardware resource configuration are completed, the edge node device can directly receive the corresponding storage content sent by each manufacturer.

[0045] In an embodiment of the present application, the service deployment of the edge node device is completed according to the service usage of the edge node device. The edge node device can deploy services of multiple manufacturers according to the service usage and configure the hardware resources of the containers corresponding to each manufacturer, thereby achieving the technical effect of improving the resource utilization of the edge node device.

[0046] In addition, by sending the business image of the manufacturer associated with the edge node among the multiple manufacturers to the edge node device, the edge node device can deploy the services of multiple manufacturers. At the same time, the services of multiple manufacturers can be separated by containers, which can avoid the situation where different manufacturers deploy different edge node devices in the same area, thereby reducing the number of deployed edge node devices.

[0047] Optionally, after step 103, the method may further include the following steps:

[0048] Obtaining a container resource utilization rate of an edge node device for a target manufacturer, where the target manufacturer is a manufacturer among the manufacturers associated with the edge node;

[0049] If the container resource utilization meets the preset conditions, a container hardware resource configuration change indication for the target manufacturer is sent to the edge node device, and the container hardware resource configuration change indication is used to instruct the edge node device to change the container hardware resource configuration for the target manufacturer.

[0050] Among them, the above-mentioned container resource utilization rate can be the resource utilization rate dynamically obtained within a specified time. For example, the cloud platform server can monitor the business usage of the edge node. If the actual resource utilization rate of the container corresponding to the above-mentioned target manufacturer is 10% within the specified time, then the hardware resources allocated to the container corresponding to the above-mentioned target manufacturer can be reduced.

[0051] The preset condition may be a range requirement for the resource utilization of the container, for example, maintaining the hardware resource configuration of the corresponding container at 40% to 70% of the resource utilization of the container, and adjusting the hardware resource configuration of the corresponding container at a utilization rate lower than 40% or higher than 70%.

[0052] The container hardware resource configuration change instruction may include an increase or decrease in the container hardware resource configuration, for example: the container corresponding to the target manufacturer is allocated 50% of the hardware resources. If the actual resource utilization rate of the container corresponding to the target manufacturer is 20%, the hardware resources allocated to the container corresponding to the target manufacturer can be reduced to 20%, and the actual resource utilization rate of the container corresponding to the target manufacturer can be 50%; if the actual resource utilization rate of the container corresponding to the target manufacturer is 80%, the hardware resources allocated to the container corresponding to the target manufacturer can be increased to 65%, and the actual resource utilization rate of the container corresponding to the target manufacturer can be 61.5%. At the same time, the increase may include creating a new container, and the decrease may also include deleting a container corresponding to a certain manufacturer.

[0053] In this implementation, by obtaining the container resource utilization of the edge node device for the target manufacturer, if the container resource utilization meets the preset conditions, a container hardware resource configuration change indication for the target manufacturer is sent to the edge node device, so that the container hardware resource configuration of the edge node device can be dynamically adjusted according to the container resource utilization, thereby further improving the resource utilization of the edge node device.

[0054] Optionally, if the container resource utilization rate meets a preset condition, sending a container hardware resource configuration change indication for the target manufacturer to the edge node device may specifically include:

[0055] If the container resource utilization rate exceeds a first preset value, sending a container hardware resource configuration improvement instruction for the target manufacturer to the edge node device;

[0056] If the container resource utilization is lower than a second preset value, a container hardware resource configuration reduction instruction for the target manufacturer is sent to the edge node device.

[0057] Among them, the above-mentioned first preset value and the above-mentioned second preset value may be empirical values. For example, for the deployment of different manufacturers and edge node devices, the above-mentioned first preset value and the above-mentioned second preset value may be set according to specific business content.

[0058] Among them, the above-mentioned container hardware resource configuration reduction indication may include an indication of deleting the hardware resources allocated to the above-mentioned container, that is, an indication of deleting the container in the above-mentioned edge node device and the business image of the manufacturer corresponding to the container, and the excess resources obtained after the above-mentioned deletion can be allocated to the corresponding container when the resource utilization rate of other containers is high, or the above-mentioned excess resources can be directly recovered and allocated to the corresponding container when the business of other manufacturers needs it.

[0059] In this implementation, by determining the relationship between the container resource utilization and the first preset value and the second preset value, respectively, the container hardware resource configuration of the edge node device is increased or decreased accordingly, the manufacturer container hardware resource configuration corresponding to the low container resource utilization is reduced, and the excess resources are allocated to the manufacturer container corresponding to the higher container utilization rate, thereby achieving resource sharing, improving the edge node device utilization, and reducing equipment costs.

[0060] See also Figure 2 , Figure 2 is another schematic diagram of resource allocation process provided by an embodiment of the present application, such as Figure 2 As shown, the edge node device performs the following steps:

[0061] Step 201: Receive a business image sent by a cloud platform server, and the manufacturer corresponding to the business image is associated with the edge node device.

[0062] Step 202: Create a container based on the manufacturer corresponding to the business image.

[0063] Step 203: Receive the container hardware resource configuration instruction sent by the cloud platform server, and configure the container hardware resources of each manufacturer in response to the container hardware resource configuration instruction.

[0064] Optionally, after step 203, the method may further include the following steps:

[0065] Sending the container resource utilization rate for the target manufacturer to the cloud platform server, the target manufacturer being a manufacturer among the manufacturers corresponding to the business image;

[0066] Receive a container hardware resource configuration change indication for a target manufacturer sent by the cloud platform server, and in response to the container hardware resource configuration change indication, change the container hardware resource configuration corresponding to the target manufacturer.

[0067] Optionally, the receiving a container hardware resource configuration change indication for a target manufacturer sent by the cloud platform server, and changing the container hardware resource configuration corresponding to the target manufacturer in response to the container hardware resource configuration change indication, may specifically include:

[0068] receiving an instruction for improving the container hardware resource configuration for the target manufacturer sent by the cloud platform server, and improving the container resource configuration corresponding to the target manufacturer;

[0069] An indication of reducing the hardware resource configuration of the container for the target manufacturer sent by the cloud platform server is received, and the resource configuration of the container corresponding to the target manufacturer is reduced.

[0070] It should be noted that this embodiment is an implementation of the edge node device corresponding to the above method embodiment, and therefore, reference may be made to the relevant description in the above method embodiment, and the same beneficial effects can be achieved. To avoid repeated description, it will not be repeated here.

[0071] The various optional implementation modes introduced in the embodiments of the present application may be implemented in combination with each other or may be implemented separately if they do not conflict with each other, and the embodiments of the present application are not limited to this.

[0072] For ease of understanding, the following examples are provided:

[0073] See also Figure 3 , Figure 3 is a schematic diagram of a resource allocation system applicable to the embodiments of the present application, such as Figure 3 As shown, it includes a manufacturer side 301, a cloud platform 302, an edge node 303 and a user side 304. The manufacturer side includes a manufacturer 1 scheduling node, a manufacturer 2 scheduling node and a manufacturer 3 scheduling node. The edge node side includes an edge node 1, an edge node 2 and an edge node 3.

[0074] The resource allocation method may include an edge cloud platform image deployment stage and a container resource dynamic adjustment stage.

[0075] The edge cloud platform image deployment phase can include the following processes:

[0076] The scheduling node of manufacturer 1, the scheduling node of manufacturer 2, and the scheduling node of manufacturer 3 send their respective business images to the edge cloud platform;

[0077] The edge cloud platform determines the user usage of each manufacturer at each edge node. Figure 3 For example, edge node 1 has users from all three manufacturers, and the edge cloud platform sends the business images of the three manufacturers to edge node 1; edge node 2 has users from manufacturers 1 and 2, and the edge cloud platform sends the business images of manufacturers 1 and 2 to edge node 2; edge node 3 has users from manufacturers 2 and 3, and the edge cloud platform sends the business images of manufacturers 2 and 3 to edge node 3;

[0078] The edge cloud platform allocates hardware resources to each edge node based on the predicted user business volume in each edge node while issuing business images. Figure 3 For example, if the business forecast volume of users of each manufacturer in edge node 1 is the same, the hardware configuration of the edge node device is evenly distributed to the containers corresponding to the three business manufacturers; in edge node 2, the business forecast volume of manufacturer 1 is larger, and the business forecast volume of manufacturer 2 is smaller, then the hardware configuration of the edge node device is distributed as needed to the containers corresponding to manufacturer 1 and manufacturer 2; in edge node 3, the business forecast volume of manufacturer 2 is larger, and the business forecast volume of manufacturer 3 is smaller, then the hardware configuration of the edge node device is distributed as needed to the containers corresponding to manufacturer 2 and manufacturer 3;

[0079] After the edge cloud platform image is deployed, the business starts running, and the scheduling nodes of each manufacturer are responsible for storage content scheduling.

[0080] Among them, the business images of each manufacturer correspond to the storage content scheduled by the scheduling nodes of each manufacturer. After the deployment of the business images and container resource configuration in each edge node device are completed through the edge cloud platform, the scheduling nodes of each manufacturer can implement the distribution of storage content to the edge node device according to the deployment image of the edge cloud platform. The above-mentioned edge node devices can be smart routers, smart boxes, etc. Figure 1 For the business usage conditions in the illustrated method embodiment, please refer to the relevant descriptions in the above method embodiment, which will not be repeated here.

[0081] The dynamic adjustment phase of container resources may include the following processes:

[0082] During the business operation phase, the edge cloud platform will monitor the business usage of each edge node, including the utilization rate of container resources allocated to each manufacturer during the edge cloud platform image deployment phase and the changes in actual users;

[0083] The edge cloud platform dynamically adjusts the resource conditions of each manufacturer based on the monitoring content: Figure 4 As shown in the figure, the user of manufacturer 2 in edge node 1 changes and no longer uses edge node 1, then the edge cloud platform deletes the original CDN business image of manufacturer 2 in edge node 1, and migrates the remaining resources to other business manufacturers; a new user of manufacturer 3 is added to edge node 2, so the edge cloud platform sends a new CDN business image of manufacturer 3 in edge node 2, and dynamically adjusts the resource configuration of the original business images of manufacturer 1 and manufacturer 2; in edge node 3, according to the actual business usage of manufacturer 2 and manufacturer 3, the container configuration of manufacturer 2 is increased and the container configuration of manufacturer 3 is reduced.

[0084] The specific algorithm for container resource utilization is as follows:

[0085] R(1 / 2 / 3)=U(1 / 2 / 3) / S(1 / 2 / 3), If R(1 / 2 / 3)≥80%, S(1 / 2 / 3)=S(1 / 2 / 3)*130%;

[0086] R(1 / 2 / 3) represents the resource utilization of manufacturer 1, manufacturer 2 or manufacturer 3 in an edge node, U represents the resources currently used by manufacturer 1, manufacturer 2 or manufacturer 3 in an edge node, and S(1 / 2 / 3) represents the container allocation resources corresponding to manufacturer 1, manufacturer 2 or manufacturer 3 in an edge node. When the resource utilization of a manufacturer exceeds 80%, the container allocation resources corresponding to the manufacturer are increased by 30%.

[0087] Among them, during the monitoring process of each edge node device by the above-mentioned edge cloud platform, the resource utilization rate of each container in each edge node device can be calculated, so as to realize dynamic adjustment of resource allocation to each container.

[0088] In the embodiment of the present application, in the shared P2P CDN scenario, an edge cloud platform is constructed to deploy business images and manage edge node devices and containers in edge node devices, and edge node devices are shared through multi-vendor services, and resources are deployed in a container manner. The edge cloud platform can perform hot spot analysis according to the number of users and usage of different manufacturers in each region, and can automatically send each business image to the edge node device with more user demand. At the same time, it can dynamically adjust container resources, delete the business images with lower utilization or reduce the corresponding container resource configuration, and allocate excess resources to business applications with higher utilization, so as to realize resource sharing, improve the utilization rate of edge node devices and reduce the cost of edge node devices.

[0089] See also Figure 5 , Figure 5 is a schematic diagram of a resource allocation device provided in an embodiment of the present application. Figure 5 As shown, applied to a cloud platform server, the resource allocation device 500 includes:

[0090] A first acquisition module 501 is used to acquire service images of multiple manufacturers and service usage of edge node devices, wherein the service usage includes the manufacturer associated with the edge node;

[0091] A first sending module 502 is used to send the service image of the manufacturer associated with the edge node among the multiple manufacturers to the edge node device according to the service usage of the edge node;

[0092] The second sending module 503 is used to send a container hardware resource configuration indication to the edge node device according to the service usage of the edge node, and the container hardware resource configuration indication is used to indicate the container hardware resource configuration of the edge node device for each manufacturer.

[0093] Optional, such as Figure 6 As shown, the resource allocation device 500 may further include:

[0094] The second acquisition module 504 is used to acquire the container resource utilization rate of the edge node device for the target manufacturer, where the target manufacturer is a manufacturer among the manufacturers associated with the edge node;

[0095] The third sending module 505 is used to send a container hardware resource configuration change indication for the target manufacturer to the edge node device if the container resource utilization meets a preset condition, and the container hardware resource configuration change indication is used to instruct the edge node device to change the container hardware resource configuration for the target manufacturer.

[0096] Optional, such as Figure 7 As shown, the third sending module 505 may specifically include:

[0097] The first sending unit 5051 is configured to send a container hardware resource configuration improvement instruction for the target manufacturer to the edge node device if the container resource utilization rate exceeds a first preset value;

[0098] The first sending unit 5052 is configured to send a container hardware resource configuration reduction indication for the target manufacturer to the edge node device if the container resource utilization is lower than a second preset value.

[0099] The resource allocation device 500 can implement the embodiment of the present application Figure 1 The various processes of the method embodiment and the same beneficial effects are achieved, and will not be described again here to avoid repetition.

[0100] See also Figure 8 , Figure 8 is a schematic diagram of the structure of another resource allocation device provided in an embodiment of the present application, such as Figure 8 As shown, applied to edge node equipment, the resource allocation device 800 includes:

[0101] The first receiving module 801 is used to receive a business image sent by a cloud platform server, and the manufacturer corresponding to the business image is associated with the edge node device;

[0102] A creation module 802, used to create a container based on the manufacturer corresponding to the business image;

[0103] The second receiving module 803 is used to receive the container hardware resource configuration instruction sent by the cloud platform server, and configure the container hardware resources of each manufacturer in response to the container hardware resource configuration instruction.

[0104] Optional, such as Fig. 9 As shown, the resource allocation device 800 may further include:

[0105] A sending module 804 is used to send the container resource utilization for the target manufacturer to the cloud platform server, where the target manufacturer is a manufacturer among the manufacturers corresponding to the business image;

[0106] The third receiving module 805 is used to receive a container hardware resource configuration change indication for the target manufacturer sent by the cloud platform server, and in response to the container hardware resource configuration change indication, change the container hardware resource configuration corresponding to the target manufacturer.

[0107] Optional, such as Fig.10 As shown, the third receiving module 805 may specifically include:

[0108] The first receiving unit 8051 is used to receive an indication of improving the container hardware resource configuration for the target manufacturer sent by the cloud platform server, and improve the container resource configuration corresponding to the target manufacturer;

[0109] The second receiving unit 8052 is used to receive an indication of reducing the container hardware resource configuration for the target manufacturer sent by the cloud platform server, and reduce the resource configuration of the container corresponding to the target manufacturer.

[0110] The resource allocation device 800 can implement the embodiment of the present application Figure 2 The various processes of the method embodiment and the same beneficial effects are achieved, and will not be described again here to avoid repetition.

[0111] See also Fig.11 The embodiment of the present application also provides a cloud platform server, the cloud platform server 1100 includes a processor 1101, a memory 1102, a program or instruction stored in the memory 1102 and executable on the processor 1101, and the program or instruction is executed by the processor 1101 to implement the embodiment of the present application Figure 1 The various processes of the method embodiments can achieve the same technical effect, and will not be described again here to avoid repetition.

[0112] See also Fig.12The embodiment of the present application also provides an edge node device, the edge node device 1200 includes a processor 1201, a memory 1202, a program or instruction stored in the memory 1202 and executable on the processor 1201, and the program or instruction is executed by the processor 1201 to implement the embodiment of the present application Figure 2 The various processes of the method embodiments can achieve the same technical effect, and will not be described again here to avoid repetition.

[0113] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0114] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0115] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A resource allocation method, executed by a cloud platform server, characterized in that: include: Obtaining service images of multiple manufacturers and service usage of edge node devices, wherein the service usage includes manufacturers associated with the edge nodes; According to the service usage of the edge node, sending the service image of the manufacturer associated with the edge node among the multiple manufacturers to the edge node device; Sending a container hardware resource configuration indication to the edge node device according to the service usage of the edge node, wherein the container hardware resource configuration indication is used to indicate the edge node device to configure the container hardware resources for each manufacturer; the container of the edge node device corresponds to the manufacturer associated with the edge node one by one, and the manufacturer associated with the edge node is a dynamically changing manufacturer; After sending a container hardware resource configuration indication to the edge node device according to the service usage of the edge node, the method further includes: Obtaining a container resource utilization rate of an edge node device for a target manufacturer, where the target manufacturer is a manufacturer among the manufacturers associated with the edge node; If the container resource utilization rate meets the preset condition, sending a container hardware resource configuration change indication for the target manufacturer to the edge node device, wherein the container hardware resource configuration change indication is used to instruct the edge node device to change the container hardware resource configuration for the target manufacturer; Among them, the container resource utilization is the resource utilization within a specified time period obtained dynamically, the preset condition represents the range requirement for the container resource utilization, and a new container is created when the container hardware resource configuration change indication is used to indicate that the container hardware resource configuration is improved, or the container corresponding to a certain manufacturer is deleted when the container hardware resource configuration change indication is used to indicate that the container hardware resource configuration is reduced.

2. The method according to claim 1, characterized in that If the container resource utilization rate meets the preset condition, sending a container hardware resource configuration change instruction for the target manufacturer to the edge node device includes: If the container resource utilization rate exceeds a first preset value, sending a container hardware resource configuration improvement instruction for the target manufacturer to the edge node device; If the container resource utilization is lower than a second preset value, a container hardware resource configuration reduction instruction for the target manufacturer is sent to the edge node device.

3. A resource allocation method, executed by an edge node device, characterized in that: include: Receive a business image sent by a cloud platform server, wherein the manufacturer corresponding to the business image is associated with an edge node device, the container of the edge node device corresponds to the manufacturer associated with the edge node one by one, and the manufacturer associated with the edge node is a dynamically changing manufacturer; Create a container based on the manufacturer corresponding to the business image; Receiving a container hardware resource configuration instruction sent by the cloud platform server, and configuring container hardware resources of each manufacturer in response to the container hardware resource configuration instruction; After receiving the container hardware resource configuration instruction sent by the cloud platform server and configuring the container hardware resources of each manufacturer in response to the container hardware resource configuration instruction, the method further includes: Sending the container resource utilization rate for the target manufacturer to the cloud platform server, the target manufacturer being a manufacturer among the manufacturers corresponding to the business image; Receiving a container hardware resource configuration change instruction for a target manufacturer sent by the cloud platform server according to preset conditions, and changing the container hardware resource configuration corresponding to the target manufacturer in response to the container hardware resource configuration change instruction; Among them, the container resource utilization is the resource utilization within a specified time period obtained dynamically, the preset condition represents the range requirement for the container resource utilization, and a new container is created when the container hardware resource configuration indication is used to indicate that the container hardware resource configuration is improved, or the container corresponding to a certain manufacturer is deleted when the container hardware resource configuration change indication is used to indicate that the container hardware resource configuration is reduced.

4. The method according to claim 3, characterized in that The receiving a container hardware resource configuration change instruction for a target manufacturer sent by the cloud platform server, and changing the container hardware resource configuration corresponding to the target manufacturer in response to the container hardware resource configuration change instruction, includes: receiving an instruction for improving the container hardware resource configuration for the target manufacturer sent by the cloud platform server, and improving the container resource configuration corresponding to the target manufacturer; An indication of reducing the hardware resource configuration of the container for the target manufacturer sent by the cloud platform server is received, and the resource configuration of the container corresponding to the target manufacturer is reduced.

5. A resource allocation device, applied to a cloud platform server, characterized in that: include: A first acquisition module is used to acquire service images of multiple manufacturers and service usage of edge node devices, wherein the service usage includes manufacturers associated with edge nodes; A first sending module, configured to send a service image of a manufacturer associated with the edge node among the multiple manufacturers to the edge node device according to the service usage of the edge node; A second sending module is used to send a container hardware resource configuration indication to the edge node device according to the service usage of the edge node, and the container hardware resource configuration indication is used to indicate the container hardware resource configuration of the edge node device for each manufacturer; the container of the edge node device corresponds to the manufacturer associated with the edge node one by one, and the manufacturer associated with the edge node is a dynamically changing manufacturer; The resource allocation device may further include: A second acquisition module is used to acquire the container resource utilization rate of the edge node device for a target manufacturer, where the target manufacturer is a manufacturer among the manufacturers associated with the edge node; A third sending module is used to send a container hardware resource configuration change indication for the target manufacturer to the edge node device if the container resource utilization rate meets a preset condition, wherein the container hardware resource configuration change indication is used to instruct the edge node device to change the container hardware resource configuration for the target manufacturer; Among them, the container resource utilization is the resource utilization within a specified time period obtained dynamically, the preset condition represents the range requirement for the container resource utilization, and a new container is created when the container hardware resource configuration change indication is used to indicate that the container hardware resource configuration is improved, or the container corresponding to a certain manufacturer is deleted when the container hardware resource configuration change indication is used to indicate that the container hardware resource configuration is reduced.

6. A resource allocation device, applied to an edge node device, characterized in that: include: A first receiving module is used to receive a business image sent by a cloud platform server, wherein the manufacturer corresponding to the business image is associated with an edge node device, the container of the edge node device corresponds to the manufacturer associated with the edge node one by one, and the manufacturer associated with the edge node is a dynamically changing manufacturer; A creation module, used to create a container based on the manufacturer corresponding to the business image; A second receiving module is used to receive a container hardware resource configuration instruction sent by the cloud platform server, and configure container hardware resources of each manufacturer in response to the container hardware resource configuration instruction; The resource allocation device also includes: A sending module, used to send the container resource utilization rate for a target manufacturer to the cloud platform server, wherein the target manufacturer is a manufacturer among the manufacturers corresponding to the business image; A third receiving module is used to receive a container hardware resource configuration change instruction for a target manufacturer sent by the cloud platform server according to a preset condition, and in response to the container hardware resource configuration change instruction, change the container hardware resource configuration corresponding to the target manufacturer; Among them, the container resource utilization is the resource utilization within a specified time period obtained dynamically, the preset condition represents the range requirement for the container resource utilization, and a new container is created when the container hardware resource configuration indication is used to indicate an improvement in the container hardware resource configuration, or a container corresponding to a certain manufacturer is deleted when the container hardware resource configuration change indication is used to indicate a decrease in the container hardware resource configuration.

7. A cloud platform server, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and running on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the resource allocation method according to any one of claims 1 to 2.

8. An edge node device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and running on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the resource allocation method according to any one of claims 3 to 4.