US 12,346,750 B2
Blockchain-based interaction method and system for edge computing service
Jian Li, Chongqing (CN); Yuxing Mao, Chongqing (CN); Yihang Xu, Chongqing (CN); Xueshuo Chen, Chongqing (CN); Xiong Xiong, Chongqing (CN); and Simou Li, Chongqing (CN)
Assigned to CHONGQING UNIVERSITY, Chongqing (CN)
Filed by Chongqing University, Chongqing (CN)
Filed on Jun. 27, 2022, as Appl. No. 17/849,979.
Claims priority of application No. 202110880704.2 (CN), filed on Aug. 2, 2021.
Prior Publication US 2023/0040149 A1, Feb. 9, 2023
Int. Cl. G06F 9/50 (2006.01)
CPC G06F 9/5083 (2013.01) [G06F 9/5038 (2013.01)] 8 Claims
OG exemplary drawing
 
1. A blockchain-based interaction method for an edge computing service, comprising the following steps:
deploying a smart contract on a blockchain layer, wherein the smart contract is used to uniformly name preloaded programs, provide a uniform format for registration information of edge nodes, and provide a fair logic and an automatic asset transfer service;
using, as a bearing entity of a multi-access edge computing as a service (MECaaS), a device that has an environment for an operating system and that is of a user;
registering a computing power device of the user as an edge node (ECN) by using the MECaaS; and uploading or updating registration information of the edge node in a uniform format to the blockchain layer, wherein the registration information comprises a node name, a node address, a service price, and task consumption time;
issuing, by a requesting device as a data producer, a computing task to the MECaaS, wherein the computing task comprises a name of a preloaded program, an address of the requesting device, delay sensitivity, and cost sensitivity;
invoking, by the MECaaS, the smart contract; standardizing a data format of the computing task; and matching a target edge node for the requesting device by using a distributed decision-making algorithm;
pushing the standardized computing task to a task queue of the target edge node;
triggering an Ethereum event at the same time; and instructing the target edge node to confirm the Ethereum event;
after the event is confirmed, triggering another Ethereum event; and issuing, by the requesting device, a communication code to the target edge node by using the MECaaS, to establish a Machine-to-Machine (M2M) communication between the requesting device and the target edge node;
transmitting, by the requesting device, raw data to the target edge node by using the M2M communication; and
searching for and loading, by the target edge node, the preloaded program based on the name of the preloaded program; executing the preloaded program to perform computing on the raw data; feeding back a computing result to the requesting device;
and triggering a contract event at the same time.