Service scheduling method, device, system and edge computing node

Decentralized business scheduling among edge computing nodes is carried out through blockchain technology, which solves the problem of resource shortage and computing delay of edge computing nodes, achieves efficient business scheduling and resource utilization, and reduces operation and maintenance costs.

CN114490008BActive Publication Date: 2024-09-13CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011162644.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-27
Publication Date
2024-09-13
Estimated Expiration
2040-10-27

AI Technical Summary

Technical Problem

In application fields such as the Industrial Internet, Internet of Things, and high-definition video, edge computing nodes have limited computing power, storage capacity, and network throughput, resulting in network congestion, data packet loss, and lack of computing resources during business scheduling. The construction cost of the traditional global business scheduling model It is high and may cause calculation delays, affecting business timeliness.

Method used

Blockchain technology is used for decentralized business scheduling. When the edge computing node receives a business request, it scans the resource blockchain ledger, determines the available resources and node addresses, selects the nearest node that can carry the business, and redirects the request to This node generates and verifies resource change records through the blockchain, and elects master nodes to optimize resource utilization.

Benefits of technology

It achieves decentralized and efficient global scheduling of edge computing node services, reduces operation and maintenance costs, reduces computing delays, and improves service timeliness and resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114490008B
    Figure CN114490008B
Patent Text Reader

Abstract

The present disclosure discloses a service scheduling method, device, system and edge computing node, which relates to the field of information technology. The method includes: when an edge computing node added to a blockchain receives a service request, if it is determined that the service cannot be carried, scanning a resource blockchain ledger, determining the current available resource status of each edge computing node and the node address location information; selecting the edge computing node closest to itself that can meet the service carrying requirements as a service node; and sending a response to redirect the service request to the service node to the service initiator. The present disclosure performs service scheduling based on blockchain technology, does not require the establishment of a service scheduling platform, and can achieve decentralized and efficient global service scheduling of edge computing nodes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of information technology, and in particular to a service scheduling method, device, system and edge computing node. Background Art

[0002] In the application fields of industrial Internet, Internet of Things, Internet of Vehicles, and high-definition video services, MEC (Multi-access Edge Computing) plays an increasingly important role as a new computing model. The edge computing platform is deployed at the edge of the network to provide low-latency, high-traffic services for various applications, and is also a data and business hub between clouds.

[0003] Due to environmental restrictions, construction and operating costs, the computing power, storage capacity and network throughput of edge computing nodes are limited. When a single edge computing node is overloaded with traffic, it will cause network congestion, packet loss or storage and computing resource shortage, resulting in service failure. Therefore, it is an inevitable choice to schedule services between edge computing nodes. The traditional global service scheduling model is to establish a service scheduling platform, collect the load and service traffic of each edge node, and schedule services according to certain optimization algorithms. This solution has a high construction cost and increases the cost and burden of operation and maintenance. At the same time, the converged computing on the central platform is likely to cause computing delays, affecting the timeliness of the overall service. Summary of the invention

[0004] A technical problem to be solved by the present disclosure is to provide a service scheduling method, device, system and edge computing node, which can realize decentralized and efficient global scheduling of services of edge computing nodes.

[0005] According to one aspect of the present disclosure, a service scheduling method is proposed, including: when an edge computing node added to a blockchain receives a service request, if it is determined that it cannot carry the service, it scans a resource blockchain ledger to determine the current available resource status of each edge computing node and the node address location information; selects the edge computing node closest to itself that can meet the service carrying requirements as a service node; and sends a response to the service initiator to redirect the service request to the service node.

[0006] In some embodiments, the edge computing node that acts as the master node in the blockchain generates a block after receiving the resource change records sent by each edge computing node, and sends the block to each edge computing node; and each edge computing node writes the received block into the resource blockchain ledger.

[0007] In some embodiments, each edge computing node scans the resource blockchain ledger and elects a master node based on the available resource value of each edge computing node.

[0008] In some embodiments, electing a master node includes: each edge computing node scans a resource blockchain ledger, extracts resource data in a resource block model of each edge computing node, wherein the resource data includes one or more of computing resources, storage resources, user plane function UPF capacity resources, network resources, and graphics processor GPU resources; calculates the consumption ratio of each type of resources; determines the weight of each type of resources in business carrying according to the consumption ratio of each type of resources; calculates the available resource value of each edge computing node according to the weight of each type of resources in business carrying; and uses the edge computing node with the largest available resource value as the master node.

[0009] In some embodiments, the resource block model includes edge computing node identification, address location information of the edge computing node, and stock resources and available resources of various types of resources.

[0010] In some embodiments, each edge computing node re-elects a master node after receiving a block.

[0011] In some embodiments, if each edge computing node determines that a change in its available resources occurs, it generates a resource change record and sends the resource change record to the edge computing node that serves as the master node.

[0012] In some embodiments, each edge computing node obtains the key of each edge computing node, uses the key to verify the received block, and writes the block into the resource blockchain ledger after the verification passes.

[0013] According to another aspect of the present disclosure, a service scheduling device is also proposed, including: a service interface module, configured to receive a service request; a resource perception module, configured to determine whether the node resources can carry the service; and a service scheduling module, configured to scan the resource blockchain ledger when it is determined that the service cannot be carried, determine the current available resource status of each edge computing node and the node address location information, select the edge computing node closest to itself that can meet the service carrying requirements as the service node, and send a response to the service initiator to redirect the service request to the service node.

[0014] In some embodiments, the controller is configured to generate a block after receiving the resource change record sent by each edge computing node, and send the block to each edge computing node; and the ledger reading and writing module is configured to write the received block into the resource blockchain ledger.

[0015] In some embodiments, the controller is configured to scan the resource blockchain ledger and elect a master node based on the available resource value of each edge computing node.

[0016] In some embodiments, the key management module is configured to store the key of each edge computing node; and the verification module is configured to obtain the key of each edge computing node and use the key to verify the received block.

[0017] According to another aspect of the present disclosure, a service scheduling device is also proposed, including: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the service scheduling method as described above based on instructions stored in the memory.

[0018] According to another aspect of the present disclosure, an edge computing node is also proposed, including: the above-mentioned service scheduling device.

[0019] According to another aspect of the present disclosure, a service scheduling system is also proposed, including: a plurality of edge computing nodes as described above.

[0020] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is also proposed, on which computer program instructions are stored, and when the instructions are executed by a processor, the above-mentioned service scheduling method is implemented.

[0021] In the disclosed embodiments, business scheduling is performed based on blockchain technology, without the need to establish a business scheduling platform, and decentralized and efficient global business scheduling of edge computing nodes can be achieved.

[0022] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0024] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:

[0025] Figure 1 The present invention is a flowchart of some embodiments of the service scheduling method disclosed herein.

[0026] Figure 2 Schematic diagram of the flow of other embodiments of the service scheduling method disclosed in the present invention.

[0027] Figure 3 Schematic diagram of the flow of other embodiments of the service scheduling method disclosed in the present invention.

[0028] Figure 4 This is a schematic diagram of the resource block model disclosed in the present invention.

[0029] Figure 5 It is a schematic diagram of the structure of some embodiments of the service scheduling device disclosed in the present invention.

[0030] Figure 6 It is a schematic diagram of the structure of other embodiments of the service scheduling device disclosed in the present invention.

[0031] Figure 7 It is a schematic diagram of the structure of other embodiments of the service scheduling device disclosed in the present invention.

[0032] Figure 8 It is a schematic diagram of the structure of some embodiments of the business scheduling system disclosed in the present invention. DETAILED DESCRIPTION

[0033] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0034] 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.

[0035] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0036] 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.

[0037] 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.

[0038] 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.

[0039] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0040] Figure 1 The present invention is a flowchart of some embodiments of the service scheduling method disclosed herein.

[0041] In step 110, the edge computing node added to the blockchain receives the service request, and if it is determined that it cannot carry the service, it scans the resource blockchain ledger to determine the current available resources of each edge computing node and the node address location information.

[0042] Blockchain technology is a decentralized distributed data management framework that has been applied to many distributed system scenarios. Blockchain can achieve distributed trusted computing and transactions efficiently and at low cost through a decentralized and unforgeable computing model. It is currently widely used in finance, logistics, industrial manufacturing, medical care, the Internet of Things and other fields. In this embodiment, blockchain technology is used when performing business scheduling.

[0043] In some embodiments, the edge computing node as the master node in the blockchain generates a block after receiving the resource change record sent by each edge computing node, and sends the block to each edge computing node; each edge computing node writes the received block into the resource blockchain ledger. The resource blockchain ledger stores the node resource blockchain data, that is, the resource transactions (i.e., resource changes) of all edge computing nodes.

[0044] After receiving the business request, the edge computing node reads the blockchain data. Since each edge computing node stores the same information, it can calculate the available resources of each edge computing node and obtain the address location information of each edge computing node.

[0045] In step 120, the edge computing node that is closest to itself and can meet the business carrying requirements is selected as the service node.

[0046] In some embodiments, according to the geographical location and based on the principle of proximity, a node whose available resources meet the business needs is selected as a replacement node, so that the replacement node can respond quickly and reduce the delay in executing business scheduling.

[0047] In step 130, a response is sent to the service initiator to redirect the service request to the service node.

[0048] In the above embodiment, business scheduling is performed based on blockchain technology, without the need to establish a business scheduling platform, and decentralized and efficient global business scheduling of edge computing nodes can be achieved.

[0049] Figure 2 Schematic diagram of the flow of other embodiments of the service scheduling method disclosed in the present invention.

[0050] In step 210, each edge computing node scans the resource blockchain ledger and elects a master node based on the available resource value of each edge computing node.

[0051] In some embodiments, the steps of selecting the master node are as follows: Figure 3As shown, in step 310, each edge computing node scans the resource blockchain ledger and extracts resource data in the resource block model of each edge computing node, wherein the resource data includes one or more of computing resources C, storage resources S, UPF (User Plane Function) capacity resources U, network resources N, and GPU (Graphics Processing Unit) resources G.

[0052] In some embodiments, Figure 4 As shown in Figure 1, the resource block model includes the edge computing node identifier MEC_ID, the address location information MEC_LOC of the edge computing node, and the stock resources and available resources of various resources. The resource block model has strong scalability and can add resource types to statistics according to the characteristics and needs of edge computing nodes to adapt to the changing needs and business characteristics of edge computing nodes.

[0053] Stock resources are the sum of used resources and available resources. Edge computing nodes are usually built as virtualized platforms, which can quickly respond to business needs and facilitate lifecycle management, such as NFVI architecture. After the edge computing platform is virtualized, the resources of the node will be distributed in various virtual machines, containers, or dedicated infrastructures. Therefore, the statistics of node stock resources are the sum of all units. Among them, V i is the computing resource in a single virtual machine, container, or other unit, and C is the sum of the computing resources of n units; P i is the capacity resource of the unit UPF, U is the sum of the capacity resources of q UPFs; D i is the network resource of a single link, N is the sum of the network resources of t links; S i is the storage resource of each storage unit, S is the sum of the storage resources of m storage units; W i is the GPU resource of a single virtual machine, G is the sum of the GPU resources of p virtual machines; R is the set of stock resources of the edge computing node.

[0054] ΔV i is the available computing resources in a single virtual machine, container, or other unit, ΔC is the sum of the available computing resources of n units; ΔP i is the available capacity resource of the unit UPF, ΔU is the sum of the available capacity resources of q UPFs; ΔD i is the available network resources of a single link, ΔN is the sum of the available network resources of t links; ΔS i is the available storage resource of each storage unit, ΔS is the sum of the available storage resources of m storage units; ΔW iis the available GPU resources of a single virtual machine, ΔG is the sum of the available GPU resources of p virtual machines; ΔR is the set of currently available resources of the edge computing node.

[0055] In step 320, the consumption ratio of each type of resource is calculated.

[0056] In some embodiments, the occupancy ratio α1 of computing resources C, the occupancy ratio α2 of storage resources S, the occupancy ratio α3 of UPF capacity resources U, the occupancy ratio α4 of network resources N and the occupancy ratio α5 of GPU resources G are calculated respectively. m is the number of edge computing nodes on the chain.

[0057] In step 330, the weights of various types of resources in service bearing are determined according to the consumption ratios of various types of resources.

[0058] In some embodiments, the weight β1 of computing resources C in business carrying, the weight β2 of storage resources S in business carrying, the weight β3 of UPF capacity resources U in business carrying, the weight β4 of network resources N in business carrying and the weight β5 of GPU resources G in business carrying are calculated respectively.

[0059] In step 340, the available resource value of each edge computing node is calculated according to the weight of each type of resources in business carrying.

[0060] The available resource value of each edge computing node ΔR = β1×ΔC+β2×ΔS+β3×ΔU+β4×ΔG.

[0061] In step 350, the edge computing node with the largest available resource value is used as the master node. The master node is the block production node, which has the right to record accounts, and the other nodes are ordinary nodes.

[0062] In this step, by selecting the master node, the node with the most abundant resources can calculate and generate blocks.

[0063] In step 220, if each edge computing node determines that its available resources have changed, it generates a resource change record and sends the resource change record to the edge computing node serving as the master node.

[0064] In some embodiments, when an edge computing node receives a new service or ends a service, its available resources will change. Alternatively, after the edge computing node is expanded, the stock resources and available resources will also change. At this time, the edge computing node immediately generates a resource change record of the resource block model and sends it to the current master node.

[0065] In step 230, the edge computing node, which serves as the master node, generates a block after receiving the resource change record sent by each edge computing node, and sends the block to each edge computing node.

[0066] Each block stores data on resource changes at each edge computing node within a certain period of time. Each transaction is a resource data model of an edge computing node, and blocks are chained in chronological order.

[0067] In some embodiments, after receiving the first resource change record, the master node starts timing. When the timing is reached, all the collected records are calculated to generate a new block and sent to other edge computing nodes.

[0068] In step 240, each edge computing node obtains the key of each edge computing node, uses the key to verify the received block, and writes the block into the resource blockchain account book after the verification passes.

[0069] In some embodiments, after receiving the block, each edge computing node re-elects a master node, that is, recalculates the available resource value of each edge computing node, and uses the edge computing node with the largest available resource value as the master node to ensure that the current master node is the node with the most abundant resources.

[0070] In step 250, the edge computing node receives the service request, and if it is determined that it cannot carry the service, it scans the resource blockchain ledger to determine the current available resources of each edge computing node and the node address location information.

[0071] In some embodiments, when an edge computing node receives a service request, it obtains the idle resources of the current node and determines whether the currently available resources can provide support for the service. If it is determined that the support cannot be provided, the resource blockchain ledger is scanned to determine the current available resource status of each edge computing node and the node address location information.

[0072] In step 260, the edge computing node selects the edge computing node closest to itself that can meet the business carrying requirements as a service node according to the business requirements.

[0073] In step 270, the edge computing node sends a response to the service initiator to redirect the service request to the service node.

[0074] In the above embodiment, each edge computing node elects a master node with accounting rights by calculating available resources. The master node collects resource information of each edge computing node entering the chain and regularly produces blocks to enter the chain. After receiving a business request, each edge computing node scans the resource status of each edge computing node in the blockchain when its own resources are tight. According to the resource status of other edge computing nodes, global scheduling of the business is quickly realized. In addition, the present disclosure does not require the establishment of a business scheduling platform, which can reduce operation and maintenance costs and burdens.

[0075] Figure 5 The schematic diagram of the structure of some embodiments of the service scheduling device disclosed in the present invention includes a service interface module 510 , a resource sensing module 520 and a service scheduling module 530 .

[0076] The service interface module 510 is configured to receive a service request.

[0077] In some embodiments, the edge service terminal initiates a service request, the service interface module 510 receives the service request, and calls the resource perception module 520 .

[0078] The resource sensing module 520 is configured to determine whether the node resources are capable of carrying the service.

[0079] In some embodiments, the resource sensing module 520 obtains the idle resources of the current node and determines whether the currently available resources can provide bearer for the service. If it is determined that the bearer cannot be provided, the service scheduling module 530 is called.

[0080] In some embodiments, the resource perception module 520 is a probe module. When the available resources of the edge computing node change due to receiving or releasing services, the resource perception module 520 collects and perceives in real time, counts the available resources of the node, and assembles them into a resource block model, and sends the resource block model to the resource collection module of the controller.

[0081] The service scheduling module 530 is configured to scan the resource blockchain ledger when it is determined that the service cannot be carried, determine the current available resource status of each edge computing node and the node address location information, select the edge computing node closest to itself that can meet the service carrying requirements as the service node, and send a response to the service initiator to redirect the service request to the service node.

[0082] In the above embodiment, business scheduling is performed based on blockchain technology, without the need to establish a business scheduling platform, and decentralized and efficient global business scheduling of edge computing nodes can be achieved.

[0083] Figure 6Schematic diagram of the structure of some other embodiments of the service scheduling device of the present disclosure. In addition to the service interface module 510 , resource sensing module 520 and service scheduling module 530 , the service scheduling device also includes a controller 610 and an account book reading and writing module 620 .

[0084] The controller 610 is configured to, when set at the master node, generate a block after receiving the resource change record sent by each edge computing node, and send the block to each edge computing node.

[0085] In some embodiments, the controller 610 is further configured to scan the resource blockchain ledger, and select the master node based on the available resource value of each edge computing node. For example, scan the resource blockchain ledger, extract the resource data in the resource block model of each edge computing node, wherein the resource data includes one or more of computing resources, storage resources, UPF capacity resources, network resources and GPU resources; calculate the consumption ratio of each type of resources; determine the weight of each type of resources in the business load according to the consumption ratio of each type of resources; calculate the available resource value of each edge computing node according to the weight of each type of resources in the business load; and use the edge computing node with the largest available resource value as the master node. Among them, the resource blockchain ledger 630 stores the node resource blockchain data, that is, stores the resource transaction status of all edge computing nodes. Each block stores the data of resource changes of each edge computing node within a certain period of time, and each transaction is a resource data model of an edge computing node, and the blocks are chained in chronological order.

[0086] The controller 610 is the core functional module of the node blockchain and the key module of the entire system, controlling the operation of the entire system. In some embodiments, the controller 610 includes a blockchain interaction interface 611, a block production module 612, a blockchain control module 613, and a resource acquisition module 614.

[0087] When the blockchain interaction interface 611 is located at a non-master node, it is the entry and exit for reading blocks and receiving blocks sent by the master node. When the blockchain interaction interface 611 is located at a master node, it is the entry and exit for sending blocks and the sending port for resource data.

[0088] When the current edge computing node is the master node, the block production module 612 receives resource data reported by other edge computing nodes and generates a block at a fixed time.

[0089] The blockchain control module 613 is the core module of the controller. Its main functions are to coordinate the operation of the entire controller and to scan the resource blockchain ledger 630 when a new block enters the chain, calculate the available resource values ​​of all nodes, and use the edge computing node with the largest available resource value as the master node. The module also has a built-in timer. When this node is the master node, the timer starts the block production module 612 to produce blocks.

[0090] The resource collection module 614 receives the resource change data sent by the resource perception module 520 and sends it to the master node through the blockchain interaction interface 611.

[0091] The ledger reading and writing module 620 writes the received block into the resource blockchain ledger.

[0092] In some embodiments, the ledger reading and writing module 620 can also read out the block data.

[0093] In the above embodiment, the master node collects resource information of each incoming edge computing node and regularly produces blocks for incoming chain. After receiving a service request, each edge computing node can promptly determine an alternative node when its own resources are tight, so as to facilitate the rapid global scheduling of the service.

[0094] In some other embodiments of the present disclosure, the service scheduling device further includes a key management module 640 and a verification module 650. The key management module 640 is configured to store the keys of each edge computing node, and the verification module 650 is configured to obtain the keys of each edge computing node and verify the received blocks using the keys.

[0095] In some embodiments, the controller obtains block data from the chain, which needs to be verified by the integrity verification module before starting to write the block into the resource blockchain account book. The key management module 640 stores the public and private keys of the edge computing node and the public keys of each edge computing node, etc., which are used for the generation and verification of transaction data and block data. The verification module 650 verifies the data validity and integrity of the block.

[0096] Figure 7 Schematic diagram of the structure of some other embodiments of the service scheduling device disclosed in the present invention. The service scheduling device 700 includes a memory 710 and a processor 720. The memory 710 can be a disk, a flash memory or any other non-volatile storage medium. The memory is used to store Figure 1-3 The processor 720 is coupled to the memory 710 and can be implemented as one or more integrated circuits, such as a microprocessor or a microcontroller. The processor 720 is used to execute instructions stored in the memory.

[0097] In some embodiments, the processor 720 is coupled to the memory 710 via a BUS 730. The service scheduling device 700 can also be connected to an external storage system 750 via a storage interface 740 to call external data, and can also be connected to a network or another computer system (not shown) via a network interface 760. No further detailed description will be given here.

[0098] In this embodiment, by storing data instructions in a memory and then processing the instructions through a processor, decentralized and efficient global scheduling of services of edge computing nodes can be achieved.

[0099] In some other embodiments of the present disclosure, an edge computing node is protected, and the edge computing node includes the service scheduling device in the above embodiment.

[0100] In other embodiments of the present disclosure, Figure 8 As shown, a service scheduling system is protected, and the service scheduling system includes multiple edge computing nodes. Multiple edge computing nodes constitute a decentralized distributed system, for example, a private node resource blockchain. In this embodiment, low-cost and high-efficiency service scheduling of edge computing nodes can be achieved without establishing a service scheduling platform.

[0101] The solution disclosed in the present invention is universal, general, and cross-platform. It can be implemented on edge computing nodes based on various platforms, and can also be deployed and run on physical devices or virtual machines. It has broad application prospects.

[0102] In some other embodiments, a computer readable storage medium stores computer program instructions, which when executed by a processor implement Figure 1-3 The steps of the method in the corresponding embodiment. Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, devices, 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.

[0103] 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 each process and / or block in the flowchart and / or block diagram and the combination of processes and / or blocks in the flowchart and / or 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 processes in the flowchart and / or block diagram. 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.

[0104] 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.

[0105] 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.

[0106] So far, the present disclosure has 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] Although some specific embodiments of the present disclosure have been described in detail by way of example, 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 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 service scheduling method, comprising: When the edge computing node added to the blockchain receives a service request and determines that it cannot carry the service, it scans the resource blockchain ledger to determine the current available resources of each edge computing node and the node address location information; Select the edge computing node that is closest to itself and can meet the business carrying requirements as the service node; as well as A response is sent to the service initiator to redirect the service request to the service node.

2. The service scheduling method according to claim 1, further comprising: The edge computing node as the master node in the blockchain generates a block after receiving the resource change record sent by each edge computing node, and sends the block to each edge computing node; as well as Each edge computing node writes the received blocks into the resource blockchain ledger.

3. The service scheduling method according to claim 1 or 2, further comprising: Each edge computing node scans the resource blockchain ledger and elects a master node based on the available resource value of each edge computing node.

4. The service scheduling method according to claim 3, wherein: The election of the master node includes: Each edge computing node scans the resource blockchain ledger to extract resource data in the resource block model of each edge computing node, wherein the resource data includes one or more of computing resources, storage resources, user plane function UPF capacity resources, network resources, and graphics processor GPU resources; Calculate the consumption ratio of various resources; Determine the weight of each resource in business carrying based on its consumption ratio; Calculate the available resource value of each edge computing node according to the weight of each resource in business carrying; and The edge computing node with the largest available resource value is used as the master node.

5. The service scheduling method according to claim 4, wherein: The resource block model includes edge computing node identification, address location information of edge computing nodes, and stock resources and available resources of various types of resources.

6. The service scheduling method according to claim 3, wherein: After receiving the block, each edge computing node re-elects a master node.

7. The service scheduling method according to claim 2, wherein: If each edge computing node determines that its available resources have changed, it generates a resource change record and sends the resource change record to the edge computing node serving as the master node.

8. The service scheduling method according to claim 2, wherein: Each edge computing node obtains the key of each edge computing node, uses the key to verify the received block, and writes the block into the resource blockchain account book after the verification passes.

9. A service scheduling device, comprising: A service interface module is configured to receive a service request; A resource sensing module is configured to determine whether the node resources can carry the service; as well as The service scheduling module is configured to scan the resource blockchain ledger when it is determined that the service cannot be carried, determine the current available resource status of each edge computing node and the node address location information, select the edge computing node closest to itself that can meet the service carrying requirements as the service node, and send a response to the service initiator to redirect the service request to the service node.

10. The service scheduling device according to claim 9, further comprising: The controller is configured to generate a block after receiving the resource change record sent by each edge computing node, and send the block to each edge computing node; as well as The ledger reading and writing module is configured to write the received block into the resource blockchain ledger.

11. The service scheduling device according to claim 9 or 10, further comprising: The controller is configured to scan the resource blockchain ledger and elect a master node based on the available resource value of each edge computing node.

12. The service scheduling device according to claim 10, further comprising: A key management module, configured to store the keys of each edge computing node; as well as The verification module is configured to obtain the key of each edge computing node and use the key to verify the received block.

13. A service scheduling device, comprising: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the service scheduling method according to any one of claims 1 to 8 based on instructions stored in the memory.

14. An edge computing node, comprising: The service scheduling device as described in any one of claims 9 to 13.

15. A business scheduling system, comprising: A plurality of edge computing nodes as described in claim 14.

16. A non-transitory computer-readable storage medium having computer program instructions stored thereon, wherein the instructions, when executed by a processor, implement the service scheduling method according to any one of claims 1 to 8.