CN-121116546-B - Dynamic collaborative scheduling system for edge calculation and blockchain resources in industrial Internet of things
Abstract
The invention relates to a dynamic collaborative scheduling system of edge calculation and blockchain resources in an industrial Internet of things, which comprises a resource weight decision module, a blockchain trusted execution module and a blockchain trusted execution module, wherein the resource weight decision module is used for acquiring the resource occupation quota of each Internet of things device according to the equipment quota optimization module, evaluating and optimizing the decision value of a server according to the resource occupation quota, acquiring the current optimal decision value of the server, outputting the optimal decision value if an iteration end condition is reached, otherwise, sending the current optimal decision value to the equipment quota optimization module, the equipment quota optimization module is used for calculating the current optimal resource occupation quota of each Internet of things device according to the current optimal decision value, otherwise, sending the current optimal resource occupation quota to the resource weight decision module, and the blockchain trusted execution module is used for storing data in the industrial Internet of things into a blockchain. The method and the device can improve the resource utilization efficiency and the data security of the industrial Internet of things.
Inventors
- Ding Xingjian
- WANG JIAJUN
- GUO JIANXIONG
- LI JIANQIANG
- ZHAO QING
Assignees
- 北京工业大学
Dates
- Publication Date
- 20260508
- Application Date
- 20250909
Claims (7)
- 1. The dynamic collaborative scheduling system for the edge calculation and the blockchain resources in the industrial Internet of things is characterized by comprising a resource weight decision module, a device quota optimization module and a blockchain trusted execution module; The resource weight decision module is used for acquiring the resource occupation quota of each Internet of things device according to the device quota optimization module, evaluating and optimizing the decision value of the server according to the resource occupation quota, acquiring the current optimal decision value of the server, outputting the optimal decision value if the iteration end condition is reached, otherwise, sending the current optimal decision value to the device quota optimization module, wherein the decision value comprises the resource weight of the edge server and the operation priority parameter of the blockchain server; The equipment quota optimization module is used for calculating the current optimal resource occupation quota of each piece of internet of things equipment according to the current optimal decision value, outputting the optimal resource occupation quota if the iteration ending condition is reached, and otherwise, sending the current optimal resource occupation quota to the resource weight decision module; Outputting the optimal resource occupancy quota includes: S1, constructing an edge-blockchain evaluation function by taking timeliness of a local task and the security of a blockchain as targets according to a current optimal decision value; S2, each piece of Internet of things equipment calculates the current optimal resource occupation quota in the round of game iteration by using an Internet of things equipment strategy analyzer in the self-adaptive convergence engine, and the resource occupation quota of the edge-blockchain evaluation function is maximized; s3, if the current iteration is the first iteration, entering S5, otherwise entering S4; S4, comparing whether the current optimal resource occupation quota decision is consistent with the optimal decision of the previous round of game iteration, if so, outputting the optimal resource occupation quota decision, ending the game iteration, otherwise, entering S5; s5, sending the current optimal resource occupation quota of the current game iteration to a resource weight decision module; constructing the edge-blockchain evaluation function includes: ; ; Wherein, the For the i-th internet of things device to comprehensively evaluate the current edge-blockchain, Represent the first The urgency of the local task of the individual internet of things device, Indicating the security improvement that can be brought when data is stored with each generated block, Representing the overall computational power of the blockchain network, Represent the first The resource credit quota of the individual internet of things device, Represent the first The edge computing resources of the individual internet of things devices are quota occupied, Represent the first The block chain operation resource of the personal internet of things equipment occupies quota; The block chain trusted execution module is used for storing data in the industrial Internet of things into the block chain after outputting the optimal decision value and the optimal resource occupation quota.
- 2. The dynamic co-scheduling system for edge computation and blockchain resources in industrial internet of things of claim 1, wherein outputting the optimal decision value comprises: S1, randomly initializing a decision value if the current game iteration is the first game iteration, and entering S5, otherwise entering S2; S2, constructing a resource weight evaluation function of the edge server and an operation priority parameter evaluation function of the blockchain server; s3, optimizing the current decision value by using a server strategy optimizer in the adaptive convergence engine according to the evaluation function to obtain the current optimal decision value; S4, judging whether the current optimal decision value is the same as the optimal decision value calculated in the previous round of game iteration, ending the game iteration if the current optimal decision value is the same as the optimal decision value calculated in the previous round of game iteration, outputting the optimal decision value, and entering S5 if the current optimal decision value is not the same as the optimal decision value; s5, sending the current optimal decision value of the current game iteration to the equipment quota optimization module.
- 3. The dynamic co-scheduling system for edge computation and blockchain resources in the industrial internet of things of claim 2, wherein the resource weight evaluation function of the edge server is: ; the operation priority parameter evaluation function of the blockchain server is as follows: ; wherein S and R are the operation priority parameter evaluation function of the block chain server and the resource weight evaluation function of the edge server respectively, R is the resource weight, S is the operation priority parameter, Represent the first The number of the devices of the Internet of things is N, Represent the first The edge computing resources of the individual internet of things devices are quota occupied, Represent the first The blockchain operating resources of the individual internet of things devices are quota occupied.
- 4. The dynamic co-scheduling system for edge computation and blockchain resources in industrial internet of things of claim 2, wherein optimizing the current decision value with a server policy optimizer in an adaptive convergence engine comprises: s1, acquiring a neighboring point of a current decision value, calculating an evaluation function value of the neighboring point according to the evaluation function, updating the current decision value, and acquiring an updated decision value; s2, if the decision value is unchanged or the step length of the change of the decision value is smaller than a preset value, acquiring the current optimal decision value, otherwise, changing the acquisition condition of the adjacent points of the current decision value and entering S1.
- 5. The dynamic co-scheduling system for edge computation and blockchain resources in the industrial internet of things of claim 4, wherein computing the evaluation function value of the neighboring point according to the evaluation function, updating the current decision value comprises: for operation priority parameters If (if) And is also provided with Then Otherwise, if And is also provided with Then , wherein, For the step of the change in the operation priority parameter S, S is the operation priority parameter evaluation function of the blockchain server, Indicating the security improvement that can be brought when data is stored with each generated block, Representing the total computing power of a block chain network, wherein N is the number of devices of the Internet of things; For resource weight If (if) And is also provided with Then Otherwise, if And is also provided with Then , wherein, For the step of the change of the resource weight R, R is the resource weight evaluation function of the edge server, Represent the first The urgency of the local task of the individual internet of things device.
- 6. The dynamic collaborative scheduling system for edge computation and blockchain resources in industrial internet of things of claim 1, wherein the internet of things device policy resolver computes a current optimal resource occupancy quota in a current round of game iterations comprises computing the current optimal resource occupancy quota in the current round of game iterations using Karush-Kuhn-turner conditions.
- 7. The dynamic co-scheduling system of edge computation and blockchain resources in industrial internet of things of claim 1, wherein storing data in the industrial internet of things into a blockchain comprises: the internet of things device performs data storage through intelligent contracts, the storage records are packaged into blocks and broadcast to a network, wherein the network verifies the integrity of the blocks by using a group signature technology, and randomly selects nodes for secondary verification.
Description
Dynamic collaborative scheduling system for edge calculation and blockchain resources in industrial Internet of things Technical Field The invention relates to the technical field of edge computation and blockchain, in particular to a dynamic collaborative scheduling system for edge computation and blockchain resources in the industrial Internet of things. Background Industrial internet of things is a technology for realizing full-process digitization of industrial production through intelligent sensors, controllers and equipment, and development of modern industry is greatly promoted. Edge computing and blockchain offer significant advantages to industrial internet of things in terms of real-time and security, respectively, but when combined, the two expose the core contradiction of resource allocation. At present, the existing edge computing and blockchain resource dynamic system scheduling methods can be roughly divided into a static quota scheduling strategy and a single priority quota scheduling strategy according to different resource credit allocation standards. But there are still three challenges in the dynamic co-scheduling of edge computation and blockchain resources in industrial internet of things, namely, first, the complexity of dynamic resource allocation and heterogeneous device adaptation. Industrial internet of things systems typically contain a variety of heterogeneous devices that vary significantly in resource credit. Edge computing requires dynamic allocation of computing tasks to edge nodes near the data source to reduce latency, while blockchain operations (e.g., consensus mechanisms or data logging) require stable computing resource support. When designing a dynamic co-scheduling system, how to optimize resource allocation in real time according to device heterogeneity, task urgency, and blockchain operation requirements is a big challenge, and second, the trade-off between instantaneity and blockchain security. The edge calculation obviously reduces response delay by sinking the calculation to the edge node, and meets the requirement of the industrial Internet of things on millisecond real-time performance. However, the distributed ledger and consensus mechanisms of blockchains typically require high computational and communication overhead, which naturally conflicts with real-time requirements, and third, the coordination of system scalability with the decentralized architecture. Industrial internet of things systems need to support large-scale device co-operation, and the combination of edge computing and blockchain further increases system complexity. Edge computing relies on distributed nodes for localization processing, and blockchains ensure that data cannot be tampered through a decentralised network, and the two have coordination difficulty in architecture design. Aiming at the problems of isomerism among the devices of the Internet of things, local task aging, block chain safety and the like faced by the existing edge computing and block chain resource scheduling method, the invention provides a dynamic collaborative scheduling system for edge computing and block chain resources in the Internet of things. Disclosure of Invention The invention aims to provide a dynamic collaborative scheduling system for edge calculation and blockchain resources in an industrial Internet of things, which is used for defining key measures to be implemented by each module, mining deep internal relations among the modules, establishing game interaction between a dual-resource weight maker comprising an edge server and a blockchain server in the industrial Internet of things and Internet of things equipment, and improving timeliness and safety of the industrial Internet of things under the condition that the resource credit of each Internet of things equipment is limited. In order to achieve the above object, the present invention provides the following solutions: the dynamic collaborative scheduling system for the edge calculation and the blockchain resources in the industrial Internet of things comprises a resource weight decision module, an equipment quota optimization module and a blockchain trusted execution module; The resource weight decision module is used for acquiring the resource occupation quota of each Internet of things device according to the device quota optimization module, evaluating and optimizing the decision value of the server according to the resource occupation quota, acquiring the current optimal decision value of the server, outputting the optimal decision value if the iteration end condition is reached, otherwise, sending the current optimal decision value to the device quota optimization module, wherein the decision value comprises the resource weight of the edge server and the operation priority parameter of the blockchain server; The equipment quota optimization module is used for calculating the current optimal resource occupation quota of each piece of internet