CN113900837A - Computing power network processing method, device, equipment and storage medium - Google Patents

Computing power network processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113900837A
CN113900837A CN202111210942.9A CN202111210942A CN113900837A CN 113900837 A CN113900837 A CN 113900837A CN 202111210942 A CN202111210942 A CN 202111210942A CN 113900837 A CN113900837 A CN 113900837A
Authority
CN
China
Prior art keywords
computing power
task
node
mirror image
computing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111210942.9A
Other languages
Chinese (zh)
Inventor
徐治理
王立文
刘莹
霍龙社
曹云飞
崔煜喆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111210942.9A priority Critical patent/CN113900837A/en
Publication of CN113900837A publication Critical patent/CN113900837A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request

Abstract

The application provides a computing power network processing method, a computing power network processing device and a storage medium, wherein the method is used for acquiring a computing power request broadcasted by a computing power entrusting node, wherein the computing power request comprises a computing power task and a task mirror image; if the calculation capacity request meets the bearing condition, broadcasting reply information of the calculation capacity request, wherein the reply information comprises service quotation; receiving selection confirmation information broadcasted by the computing power entrusting node, and if the computing power entrusting node is determined to be selected as a computing power service node, acquiring the address of the task mirror image according to the selection confirmation information; pulling and running the task mirror image, and acquiring detection results of the task mirror image broadcast by a plurality of detection nodes; and determining whether to execute the computing power task according to the detection result, thereby solving the problems that the computing power service quality cannot be effectively supervised, and the service quality and the stability of a computing power network are poor.

Description

Computing power network processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a computing power network processing method, device, and apparatus, and storage medium.
Background
With the continuous development and maturity of new network services and applications, cloud computing, edge computing and intelligent terminal equipment are rapidly developed, computing resources show a ubiquitous trend, and how to efficiently and synergistically utilize the ubiquitous computing resources becomes an important new topic of current network field research. Under the background, the concept of Computational First Network (CFN) is proposed and draws attention, and the basic idea is to merge computational power and Network depth, cooperate with distributed Computing resources, improve the utilization rate of the Computing resources, and improve the Network service experience of users.
The computing power network is a novel service and aims to establish a supply-demand relationship between a computing power requester and a computing power provider, the computing power requester does not need to purchase a large amount of hardware facilities for completing computing tasks, certain cost is saved, and the computing power provider can utilize surplus computing power in a time division multiplexing mode and obtain corresponding benefits. At present, in a distributed scenario, a computing power provider directly provides resources for a computing power requester, or a computing power network architecture based on a block chain is built, and on the basis of a centralized scheduling mechanism of an original computing power network platform, a public chain structure of the block chain is modified into an alliance chain structure.
However, the computational power network processing method in the prior art cannot effectively supervise the computational power service quality, and the computational power network has poor service quality and stability.
Disclosure of Invention
The application provides a computing power network processing method, a computing power network processing device and a storage medium, so that the technical problems that the computing power network processing method in the prior art cannot effectively supervise the computing power service quality, and the computing power network is poor in service quality and stability are solved.
In a first aspect, the present application provides a computational power network processing method, including:
acquiring a computing force request broadcasted by a computing force entrusting node, wherein the computing force request comprises a computing force task and a task mirror image;
if the computing power request meets the bearing condition, broadcasting reply information to the computing power request, wherein the reply information comprises service quotation;
receiving selection confirmation information broadcasted by the computing power entrusting node, and if the computing power entrusting node is determined to be selected as a computing power service node, acquiring the address of the task mirror image according to the selection confirmation information;
pulling and running the task mirror image, and acquiring detection results of the task mirror image broadcast by a plurality of detection nodes;
and determining whether to execute the computational power task according to the detection result.
The application provides a computing power network processing method of a computing power service node, namely a computing power provider side, after receiving a computing power request broadcasted by a computing power entrusting node, deciding whether to undertake a computing power task carried in the computing power request according to the processing capacity of the computing power service node, if the computing power task can be undertaken, broadcasting a reply to the entrusting node, wherein the reply comprises a service quotation of the computing power service node, receiving selection confirmation information broadcasted by the computing power entrusting node, if the computing power service node is determined to be selected as the computing power service node according to the selection confirmation information, pulling a task mirror image and deploying and operating, simultaneously receiving the detection of a plurality of detection nodes on a task operator and a computing power test code in the mirror image, and determining whether to execute the computing power task according to the detection result, thereby effectively ensuring the service quality between the computing power entrusting node and the computing power service node, and preventing the computing power service node from cheating in the process of providing computing power, the method and the system realize effective supervision on the service quality of the computing power provider, improve the computing power service quality and ensure the stability of the computing power network.
Optionally, the determining whether to execute the computational task according to the detection result includes:
and if the detection result is that the ratio of the number of the passed detection to the total number of the detection results is larger than a first preset ratio, executing the calculation task.
When the computing power service node is determined to be capable of executing the computing power task, more than half of the nodes participating in detection can be detected to start executing the computing power task, and the final judgment result can be more accurate through judging by the detection results, so that the service quality of the computing power service node can be more accurately judged and supervised, and the service quality of a computing power network is further improved.
Optionally, after the performing the computational task, further comprising:
and sending the execution result of the computing power task to the computing power entrusting node, and broadcasting task completion information.
After the computing power task is executed, the computing power service node sends the execution result of the computing power task to the computing power entrusting node, and simultaneously broadcasts task completion information to inform each node of performing subsequent operations, so that the computing power service quality is further improved.
Optionally, after broadcasting the task completion information, the method further includes:
and if receiving abnormal information broadcast by the detection node, determining that the computing power entrusting node is abnormal.
After the computing power task is executed, the computing power network monitoring method can also receive abnormal information broadcast by the detection node to determine whether the computing power entrusting node is abnormal or not, the detection node can verify a task operator and a computing power test code in the computing power entrusting node image after the task is executed, so that the computing power entrusting node can not make false messages of malicious image manufacturing computing power service nodes, double guarantee is achieved, and the stability and the service quality of the computing power network are improved.
In a second aspect, the present application provides a computational power network processing method, including:
broadcasting a computing power request, wherein the computing power request comprises a computing power task and a task mirror image;
receiving reply information broadcast by a plurality of nodes to the computing power request, wherein the reply information comprises a service offer;
screening the plurality of nodes according to the reply information, and determining a computing power service node for computing power task delegation;
generating selection confirmation information according to the computing power service node, and broadcasting the selection confirmation information;
and receiving a detection result of the task mirror image broadcasted by the detection node, wherein the detection result is used for the computing service node to determine whether to execute the computing task.
The application provides a computing power network processing method of a computing power entrusting node, namely a computing power demand side, the computing power entrusting node broadcasts a computing power request of the computing power entrusting node, so that a service node in a network can determine whether a computing power task can be undertaken according to the computing power request, the computing power request comprises a task mirror image, can be detected, selects a proper computing power service node, broadcasts selection confirmation information generated according to the computing power service node so as to determine the computing power service node and other nodes, and simultaneously receives a detection result of the computing power service node task mirror image broadcast by the detection node so as to ensure that the computing power service node executes the computing power task stably, effectively and reliably, thereby effectively ensuring the service quality between the computing power entrusting node and the computing power service node, preventing the computing power service node from cheating in the process of providing computing power, and realizing effective supervision of the service quality of a computing power provider, the computing power service quality is improved, and the stability of the computing power network is ensured.
Optionally, after receiving the detection result of the task image broadcast by the detection node, the method further includes:
and if the detection result is that the detection is passed, after receiving a calculation task execution result sent by the calculation service node, sending a task mirror image request after pulling execution, wherein the task mirror image request after pulling execution is used for requesting the calculation service node to pull the task mirror image after execution.
Here, the computing power entrusting node in the application may send a request to pull the task image after the task is completed, so as to implement the whole process of computing power transaction.
In a third aspect, the present application provides a computational power network processing method, including:
acquiring a computing force request broadcasted by a computing force entrusting node, wherein the computing force request comprises a computing force task and a task mirror image;
after receiving selection confirmation information broadcasted by the computing power entrusting node, determining a computing power service node according to the selection confirmation information, and pulling a task mirror image in the computing power service node;
detecting according to the task mirror image in the computing power request and the task mirror image in the computing power service node, and determining whether a task operator and a computing power test code of the task mirror image in the computing power service node are abnormal;
broadcasting the detection result, wherein the detection result is used for the calculation service node to determine whether to execute the calculation task.
Here, the detection node of the application can detect and supervise the mirror image in the computing power entrusting node, so that the supervision of the computing power service process is realized, and the computing power service node is ensured not to cheat in the computing power providing process.
Optionally, after the broadcasting the detection result, the method further includes:
after receiving task completion information broadcast by the computing power service node, pulling a task mirror image in the computing power entrusting node and detecting;
if the abnormality is detected, the abnormality information is broadcast.
After the computing service node executes the computing task, the task operator and the computing test code in the computing entrusted node image can be checked, so that the computing entrusted node can not make false messages of malicious image manufacturing service node cheating, and the stability and the service quality of the computing network are further ensured.
In a fourth aspect, the present application provides a computational power network processing apparatus, comprising:
the first acquisition module is used for acquiring a computing power request broadcasted by a computing power entrusting node, wherein the computing power request comprises a computing power task and a task mirror image;
the first processing module is used for broadcasting reply information to the computing power request if the computing power request is judged to meet the bearing condition, wherein the reply information comprises service quotation;
the second processing module is used for receiving selection confirmation information broadcast by the computing power entrusting node, and if the computing power entrusting node is determined to be selected as a computing power service node, the address of the task mirror image is obtained according to the selection confirmation information;
the third processing module is used for pulling and running the task mirror image and acquiring detection results of the task mirror image broadcast by a plurality of detection nodes;
and the first determining module is used for determining whether to execute the computational power task according to the detection result.
Optionally, the first determining module is specifically configured to:
and if the detection result is that the ratio of the number of the passed detection to the total number of the detection results is larger than a first preset ratio, executing the calculation task.
Optionally, after the first determining module performs the computational task, the apparatus further includes:
and the sending module is used for sending the execution result of the computing power task to the computing power entrusting node and broadcasting task completion information.
Optionally, after the sending module broadcasts the task completion information, the apparatus further includes:
and the third determining module is used for determining that the computing power entrusting node is abnormal if receiving abnormal information broadcasted by the detection node.
In a fifth aspect, the present application provides a computational power network processing apparatus, comprising:
the system comprises a first broadcasting module, a second broadcasting module and a third broadcasting module, wherein the first broadcasting module is used for broadcasting a calculation force request, and the calculation force request comprises a calculation force task and a task mirror image;
the first receiving module is used for receiving reply information broadcast by a plurality of nodes to the computing force request, wherein the reply information comprises service quotations;
the fourth processing module is used for screening the plurality of nodes according to the reply information and determining a computing power service node for computing power task delegation;
the fifth processing module is used for generating selection confirmation information according to the computing power service node and broadcasting the selection confirmation information;
and the second receiving module is used for receiving a detection result of the task mirror image broadcasted by the detection node, wherein the detection result is used for the calculation service node to determine whether to execute the calculation task.
Optionally, after the second receiving module receives a detection result of the task image broadcast by the detection node, the apparatus further includes:
and the second sending module is used for sending a task mirror image request after pulling execution after receiving a computing power task execution result sent by the computing power service node if the detection result is that the detection is passed, wherein the task mirror image request after pulling execution is used for requesting the computing power service node to pull the task mirror image after execution.
In a sixth aspect, the present application provides a computational power network processing apparatus, including:
the second acquisition module is used for acquiring a computing power request broadcast by the computing power entrusting node, wherein the computing power request comprises a computing power task and a task mirror image;
the sixth processing module is used for determining a computing power service node according to the selection confirmation information after receiving the selection confirmation information broadcasted by the computing power entrusting node, and pulling a task mirror image in the computing power service node;
the second determining module is used for detecting according to the task mirror image in the computing power request and the task mirror image in the computing power service node, and determining whether a task runner and a computing power test code of the task mirror image in the computing power service node are abnormal or not;
and the second broadcasting module is used for broadcasting the detection result, and the detection result is used for the calculation service node to determine whether to execute the calculation task.
Optionally, after the second broadcasting module broadcasts the detection result, the apparatus further includes:
the seventh processing module is used for pulling a task mirror image in the computing power entrusting node and detecting the task mirror image after receiving the task completion information broadcast by the computing power service node; if the abnormality is detected, the abnormality information is broadcast.
In a seventh aspect, the present application provides a computational power network processing apparatus, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory to cause the at least one processor to perform the computational network processing method as set forth in the first aspect and various possible designs of the first aspect.
In an eighth aspect, the present application provides a computational power network processing apparatus, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory to cause the at least one processor to perform the computational network processing method as set forth in the second aspect above and in various possible designs of the second aspect.
In a ninth aspect, the present application provides a computational power network processing apparatus, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the computational network processing method as set forth in the third aspect above and in various possible designs of the third aspect.
In a tenth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, implement the computational power network processing method according to the first aspect and various possible designs of the first aspect.
In an eleventh aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, implement the computational power network processing method as set forth in the second aspect and various possible designs of the second aspect.
In a twelfth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the computing power network processing method according to the third aspect and various possible designs of the third aspect is implemented.
In a thirteenth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the computational network processing method as set forth in the first aspect above and in various possible designs of the first aspect.
In a fourteenth aspect, the present application provides a computer program product comprising a computer program that, when executed by a processor, implements the computational network processing method as set forth in the second aspect above and in various possible designs of the second aspect.
In a fifteenth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the computational network processing method as set forth in the third aspect and various possible designs of the third aspect.
In a sixteenth aspect, the present application provides a network processing system, including a computation force service node, a computation force delegation node, and at least one detection node;
the computing power service node is used for acquiring a computing power request broadcasted by the computing power entrusting node, wherein the computing power request comprises a computing power task and a task mirror image; if the computing power request meets the bearing condition, broadcasting reply information to the computing power request, wherein the reply information comprises service quotation; receiving selection confirmation information broadcasted by the computing power entrusting node, and if the computing power entrusting node is determined to be selected as a computing power service node, acquiring the address of the task mirror image according to the selection confirmation information; pulling and running the task mirror image, and acquiring detection results of the task mirror image broadcast by a plurality of detection nodes; determining whether to execute the computational power task according to the detection result;
the computing power entrusting node is used for broadcasting a computing power request; receiving reply information broadcast by a plurality of nodes to the computing power request; screening the plurality of nodes according to the reply information, and determining a computing power service node for computing power task delegation; generating selection confirmation information according to the computing power service node, and broadcasting the selection confirmation information; receiving a detection result of the task mirror image broadcasted by a detection node, wherein the detection result is used for the computing service node to determine whether to execute the computing task;
the detection node is used for acquiring a calculation force request broadcast by the calculation force entrusting node; after receiving selection confirmation information broadcasted by the computing power entrusting node, determining a computing power service node according to the selection confirmation information, and pulling a task mirror image in the computing power service node; detecting according to the task mirror image in the computing power request and the task mirror image in the computing power service node, and determining whether a task operator and a computing power test code of the task mirror image in the computing power service node are abnormal; broadcasting the detection result, wherein the detection result is used for the calculation service node to determine whether to execute the calculation task.
The computing power network processing method, the device, the equipment and the storage medium are provided, wherein after receiving a computing power request broadcasted by a computing power entrusting node, a computing power service node in the method determines whether to undertake a computing power task carried in the computing power request according to the processing capacity of the computing power service node, if the computing power service node can undertake the task, a reply to the entrusting node is broadcasted, the reply comprises service quotation of the computing power service node, selection confirmation information broadcasted by the computing power entrusting node is received, if the computing power service node is determined to be selected as the computing power service node according to the selection confirmation information, a task mirror image is pulled and deployed for operation, the detection of task runners and computing power test codes in a plurality of detection mirror images is received, and whether to execute the computing power task is determined according to the detection result, so that the service quality between the computing power entrusting node and the computing power service node can be effectively ensured, and the computing power service node is prevented from cheating in the process of providing computing power, the method and the system realize effective supervision on the service quality of the computing power provider, improve the computing power service quality and ensure the stability of the computing power network.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of an architecture of a computational network processing system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a computational network processing method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a task mirror provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of another computational network processing method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another computational network processing method according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an interaction flow of a computing power transaction process according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a computational power network processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computational power network processing device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another computational power network processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another computational power network processing apparatus according to an embodiment of the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terms "first," "second," "third," and "fourth," if any, in the description and claims of this application and the above-described figures are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The block chain technology provides a decentralized network structure, the consistency of each node in the network is guaranteed by using a consensus algorithm, and the behavior of the node in the network is recorded in a public and credible mode. The block chain can realize the anonymous interaction of the nodes in the network through a cryptography technology, and can realize the credible record of the behavior of the anonymous nodes through a public key password, a signature technology, a traceable and unalterable account book. The block chain is divided into a public chain, a alliance chain and a private chain, and the openness degree is gradually reduced. The public link computing power network is used as a novel service and aims to establish a supply and demand relationship between a computing power demand party and a computing power supply party, the computing power demand party does not need to purchase a large amount of hardware facilities for completing computing tasks, certain cost is saved, and the computing power supply party can utilize surplus computing power in a time division multiplexing mode and obtain corresponding benefits.
In the existing computing network architecture using the block chain, the alliance chain technology is used completely, and the security and the credibility of the nodes are controlled in a user registration and joining mode. The quality of the force node is proved through a certain credit accumulation mechanism. And the resource scheduling and work auditing between the demand node and the computing power node are completed through a super node computing power network platform in the alliance chain. The container technology can pack the computational tasks needing to be operated into a standardized unit for development, delivery and deployment, the container mirror image is a light-weight independently-operable software package which comprises codes and an operation environment and can get rid of external environment differences, and the container can be stored as the mirror image for storage and transmission. The containers can be deployed on a container cloud platform, and are uniformly scheduled and managed by the container cloud platform. In a distributed scene, the service quality of a computing power provider is lack of supervision, and a computing power node counterfeiting and resource stealing method for computing power service provision is not monitored; the existing computing network architecture based on the block chain does not fully utilize the block chain characteristics, only modifies the existing computing network architecture into an alliance chain architecture on the basis of a centralized scheduling mechanism of an original computing network platform, and does not show the de-centering characteristic of the block chain. Credit information used by many schemes is not of practical significance in architectures with a central node. The computational power network processing method in the prior art cannot effectively supervise the computational power service quality, and the computational power network has poor service quality and stability.
In order to solve the above problems, embodiments of the present application provide a computing power network processing method, device, equipment, and storage medium, where in the method, a user in a computing power network entrusts or accepts computing tasks externally according to a certain mode, the computing power tasks of the user are packaged in a container mirror image mode, a computing power provider deploys a container cloud platform deployment container to provide computing power resources, a consensus process between nodes is completed through a block chain, and a monitoring of a computing power service process is achieved through detecting nodes in a computing power service process.
Optionally, fig. 1 is a schematic diagram of a computing network processing system architecture according to an embodiment of the present disclosure, where the system architecture is a block chain architecture. In fig. 1, the above-described architecture includes: a node management module 101, a node protection module 102, a mirror repository 103, a database 104, and a container cloud platform 105.
Optionally, the system is divided into two nodes, namely a light node and a complete node. The light nodes only store block information in system operation to complete a consensus process, the complete nodes need to deploy a uniform container cloud platform for deploying computing power task containers, only the complete nodes can provide computing power services, the light nodes only can entrust computing power tasks to the outside, and the node management modules are responsible for mutual communication among the nodes to complete the consensus process among the blocks; the mirror image warehouse stores mirror images generated or pulled by nodes; the database stores data and blocks in the running process; the container cloud platform is not required to be deployed for each node, only the service node is required to provide the container cloud platform, and the deployment model is trained through a mirror image to complete training.
The node protection module checks the node module file before the node runs to ensure that the program is not tampered, and checks whether the process can affect the running of the node module when the host runs in the program running process.
After the new node joins the network, the node management module broadcasts the joining information of the new node, wherein the joining information of the new node comprises the identity information of the new node. The other nodes receiving the information can send own information to the new node and establish point-to-point connection with the new node. The new node synchronizes all the block data, starts receiving the broadcast information in the network and starts participating in the consensus process.
In the implementation process of the embodiment of the application, the calculation force nodes can be divided into calculation force entrusting nodes, calculation force service nodes and detection nodes, the calculation force entrusting nodes provide calculation force tasks and task images, and calculation force requests are broadcast in a network; the computing service node is provided with a complete node, receives a computing request and provides service detection; and the detection node receives the mutual information of the entrusting node and the service node and jointly completes the consensus process.
The computing power network comprises two identities, a computing power demander and a computing power provider, wherein the computing power demander, namely a computing power consignment node in the system can provide a computing power task mirror image, computing power task codes are put into a basic mirror image to form the task mirror image, and the basic mirror image comprises a unified task operator and a computing power test code. The computing task code needs to be compiled and mixed and shelled, and information in the code is prevented from being leaked.
It is to be understood that the illustrated architecture of the embodiments of the present application does not constitute a specific limitation on the architecture of a computational power network processing system. In other possible embodiments of the present application, the foregoing architecture may include more or less components than those shown in the drawings, or combine some components, or split some components, or arrange different components, which may be determined according to practical application scenarios, and is not limited herein. The components shown in fig. 1 may be implemented in hardware, software, or a combination of software and hardware.
It should be understood that the above method can be implemented by reading instructions in the memory and executing the instructions by the processor, and can also be implemented by a chip circuit.
In addition, the network architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not constitute a limitation to the technical solution provided in the embodiment of the present application, and it can be known by a person skilled in the art that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
The technical scheme of the application is described in detail by combining specific embodiments as follows:
optionally, fig. 2 is a schematic flowchart of a computational power network processing method provided in an embodiment of the present application. The execution subject of the embodiment of the application can be a computing power service node. As shown in fig. 2, the method comprises the steps of:
s201: and acquiring the computing power request broadcast by the computing power entrusted node.
Wherein the computing power request comprises a computing power task and a task mirror image.
Optionally, fig. 3 is a schematic structural diagram of a task image provided in an embodiment of the present application, and as shown in fig. 3, the task image includes task code, computational testing code, and a task runner. The computationally intensive test code is a complex problem that is uniformly used and open source throughout the platform, such as hash collision. And (3) obtaining the time for solving the problem by running the computing power test code, wherein the computing power resources allocated to the container are in inverse proportion to the solving time, and judging whether the resources meet certain standards according to the running time. And the task runner is started after mirror image deployment, calls a calculation task program to complete tasks such as machine learning training and the like, randomly calls a calculation test code, and verifies whether a provider distributes enough resources for container operation. The container provides data exchange and state inquiry interfaces through the runner to the outside, and broadcasts the test result to the outside after the test is finished.
Optionally, the computing power request includes a computing power requirement, and the computing power requirement includes a task mirror image, a data size, and a required computing power resource amount, so that the service node determines whether the computing power task can be undertaken.
S202: and if the computing power request meets the bearing condition, broadcasting reply information to the computing power request.
Wherein the reply message includes a service offer.
Alternatively, the service quotation may be preset, or may be a quotation determined according to the computing task, for example, the service quotation is determined according to the data size in the computing task and the amount of the required computing resources.
Optionally, the conditions of undertaking are: and respectively comparing the data size and the calculation capacity resource quantity which can be born by the user with the data size and the required calculation capacity resource quantity in the calculation capacity task, and if the data size and the required calculation capacity resource quantity are both larger than the required calculation capacity resource quantity, determining that the calculation capacity request can be born.
S203: and receiving selection confirmation information broadcasted by the computing force entrusting node, and if the computing force entrusting node is determined to be selected as the computing force service node, acquiring the address of the task mirror image according to the selection confirmation information.
The selection confirmation information may include identification information of the force service node.
Optionally, the selection confirmation information includes an address of the task image.
Optionally, the address of the task mirror image is a public key address, and the user identity in the system is replaced by the public key address, so that the privacy of the user can be effectively protected.
S204: and pulling the task mirror image and running, and acquiring the detection result of the task mirror image broadcast by the plurality of detection nodes.
Optionally, the detection result is obtained by the detection node according to the comparison detection of the task image in the current computing power service node and the task image in the computing power delegation node.
S205: and determining whether to execute the force calculation task according to the detection result.
Optionally, determining whether to perform the computational task according to the detection result includes: and if the detection result is that the ratio of the number of the passed detection to the total number of the detection results is greater than a first preset ratio, executing the calculation task.
When determining whether the computing power service node can execute the computing power task, more than half of the nodes participating in detection can execute the computing power task only by detecting, and the final judgment result can be more accurate by judging through a plurality of detection results, so that the service quality of the computing power service node can be more accurately judged and supervised, and the service quality of the computing power network is further improved.
Optionally, after the computing task is executed, the method further includes: and sending the execution result of the computing power task to a computing power entrusting node, and broadcasting task completion information.
Optionally, sending the execution result of the computing power task to the computing power delegation node includes: and establishing an independent communication mode with the calculation force entrusting node, and sending the calculation force task execution result to the calculation force entrusting node through the independent communication mode.
The nodes in the system adopt point-to-point connection, and the transmission of the consensus information depends on the broadcasting among the nodes. When the image is transferred, the computing force entrusting node and the computing force service node establish a direct connection of separate channels. When the system is in operation, the adjacent nodes are in direct contact, the communication between the nodes is realized by forwarding of the adjacent nodes, when the calculation force entrusting node and the calculation force service node generate transaction, the connection can be established autonomously, the task mirror image is transmitted, but whether the communication maintains the connection in the subsequent consensus process is determined according to the delay between the two nodes.
Optionally, the task completion information is broadcast, including: and the broadcast computing force entrusting node pulls the signature of the executed task image request.
Here, after the computing power service node in the embodiment of the application completes the computing power task, the computing power task execution result is sent to the computing power entrusting node, and meanwhile, task completion information is broadcasted to inform each node of performing subsequent operations, so that the computing power service quality is further improved.
Optionally, after broadcasting the task completion information, the method further includes: and if receiving the abnormal information broadcast by the detection node, determining that the computing power entrusting node is abnormal.
Here, after the execution of the computing power task is finished, the embodiment of the application can also receive abnormal information broadcast by the detection node to determine whether the computing power entrusting node is abnormal, and the detection node can check the task operator and the computing power test code in the computing power entrusting node image after the execution of the task is finished, so that the computing power entrusting node is ensured not to make false messages of malicious image manufacturing computing power service nodes for cheating, double guarantee is achieved, and the stability and the service quality of the computing power network are improved.
Before the node runs, the integrity of the node is detected, so that the service node is ensured not to cheat in the process of providing computing power; after the calculation entrusting node publishes the task mirror image, the nodes willing to participate in the verification process can verify the task operator and the calculation test code in the mirror image, and ensure that the entrusting node can not make false messages cheated by a malicious mirror image manufacturing service node. Through the two points, the two problems that the computing power service node deducts resources and the computing power entrusting node disturbs network operation are prevented respectively. And when the node protection module detects that the node runs abnormally, broadcasting abnormal information and stopping running of the node. When the task image fails to pass the detection, how the image cannot be deployed, and the previous computing power entrusting process is completely invalidated.
The embodiment of the application provides a computing power network processing method of a computing power service node, namely a computing power provider side, after receiving a computing power request broadcasted by a computing power entrusting node, determining whether to undertake a computing power task carried in the computing power request according to the processing capacity of the computing power service node, if the computing power task can be undertaken, broadcasting a reply to the entrusting node, wherein the reply comprises a service quotation of the computing power service node, receiving selection confirmation information broadcasted by the computing power entrusting node, if the computing power service node is determined to be selected as the computing power service node according to the selection confirmation information, pulling a task mirror image and deploying and operating, simultaneously receiving the detection of a plurality of detection nodes on a task operator and a computing power test code in the mirror image, and determining whether to execute the computing power task according to the detection result, thereby effectively ensuring the service quality between the computing power entrusting node and the computing power service node, and preventing the computing power service node from cheating in the process of providing computing power, the method and the system realize effective supervision on the service quality of the computing power provider, improve the computing power service quality and ensure the stability of the computing power network.
Optionally, an embodiment of the present application provides a method for processing a computing power network of a computing power delegation node, and correspondingly, fig. 4 is a schematic flow chart of another method for processing a computing power network provided in the embodiment of the present application, where an execution subject of the method is a computing power delegation node, and as shown in fig. 4, the method includes:
s401: and broadcasting the computing power request.
Wherein the computing power request comprises a computing power task and a task mirror image.
S402: reply information broadcast by a plurality of nodes to the computing power request is received.
Wherein the reply message includes a service offer.
S403: and screening the plurality of nodes according to the reply information, and determining the computing power service node for performing computing power task delegation.
Optionally, the filtering may be performed according to service offers of a plurality of nodes, and a node with a low service offer is selected to be determined as a computational service node.
S404: and generating selection confirmation information according to the computing power service node, and broadcasting the selection confirmation information.
Optionally, the selection confirmation information includes an identifier of the computing service node.
S405: and receiving a detection result of the task mirror image broadcasted by the detection node, wherein the detection result is used for the calculation service node to determine whether to execute the calculation task.
The detection node is other nodes except the force service node.
Optionally, after receiving a detection result of the task image broadcast by the detection node, the method further includes: and if the detection result is that the detection is passed, after receiving the calculation force task execution result sent by the calculation force service node, sending a task mirror image request after pulling execution, wherein the task mirror image request after pulling execution is used for requesting the calculation force service node to pull the task mirror image after execution.
Here, the computing power entrusting node in the embodiment of the present application may send a request to pull the task image after the task is completed, so as to implement the whole process of computing power transaction.
The embodiment of the application provides a computing power network processing method of a computing power entrusting node, namely a computing power demand side, the computing power entrusting node broadcasts a computing power request of itself so that a service node in a network can determine whether a computing power task can be undertaken or not according to the computing power request, the computing power request comprises a task mirror image which can be detected and selects a proper computing power service node, selective confirmation information generated according to the computing power service node is broadcasted so that the computing power service node and other nodes can be determined, and meanwhile, a detection result of the task mirror image of the computing power service node broadcasted by the detection node is received so as to ensure that the computing power service node executes the computing power task stably, effectively and reliably, thereby effectively ensuring the service quality between the computing power entrusting node and the computing power service node, preventing the computing power service node from cheating in the process of providing computing power and realizing the effective supervision of the service quality of a computing power provider, the computing power service quality is improved, and the stability of the computing power network is ensured.
Optionally, an embodiment of the present application provides a computational power network processing method for detecting a node, and accordingly, fig. 5 is a schematic flow chart of another computational power network processing method provided in the embodiment of the present application, where an execution subject of the method is a detecting node, as shown in fig. 5, the method includes:
s501: and acquiring the computing power request broadcast by the computing power entrusted node.
Wherein the computing power request comprises a computing power task and a task mirror image.
S502: and after receiving the selection confirmation information broadcasted by the computing force entrusting node, determining a computing force service node according to the selection confirmation information, and pulling a task mirror image in the computing force service node.
S503: and detecting according to the task mirror image in the computing force request and the task mirror image in the computing force service node, and determining whether a task operator and a computing force test code of the task mirror image in the computing force service node are abnormal.
Here, if the comparison result of the task image in the computing power request and the task image in the computing power service node is within the preset comparison threshold range, the detection result is that the detection is passed. The preset comparison threshold may be determined according to actual conditions, and this is not specifically limited in the embodiments of the present application.
S504: and broadcasting the detection result.
The detection result is used for the computing service node to determine whether to execute the computing task.
Optionally, after broadcasting the detection result, further comprising: after receiving task completion information broadcast by the computing power service node, pulling a task mirror image in the computing power entrusting node and detecting; if the abnormality is detected, the abnormality information is broadcast.
Here, the task runner and the computing power test code in the image are checked, and the entrusting node is ensured not to make false messages cheated by a malicious image manufacturing service node.
After the computing power service node executes the computing power task, the task operator and the computing power test code in the computing power entrusted node image can be checked, so that the computing power entrusted node is prevented from making false messages cheated by a malicious image manufacturing service node, and the stability and the service quality of a computing power network are further ensured.
The detection node of the embodiment of the application can detect and supervise the mirror image in the computing power entrusting node, thereby realizing supervision on the computing power service process and ensuring that the computing power service node does not cheat in the computing power providing process.
Fig. 6 is a schematic view of an interaction flow of a computational power transaction process provided in an embodiment of the present application, where fig. 6 includes a computational power service node, a computational power delegation node, and a detection node.
In a specific implementation process, the system comprises a plurality of detection nodes.
The computing force service node is used for acquiring a computing force request broadcasted by the computing force entrusting node, wherein the computing force request comprises a computing force task and a task mirror image; if the calculation capacity request meets the bearing condition, broadcasting reply information of the calculation capacity request, wherein the reply information comprises service quotation; receiving selection confirmation information broadcasted by the computing power entrusting node, and if the computing power entrusting node is determined to be selected as a computing power service node, acquiring the address of the task mirror image according to the selection confirmation information; pulling and running the task mirror image, and acquiring detection results of the task mirror image broadcast by a plurality of detection nodes; determining whether to execute the calculation task according to the detection result;
the computing force entrusting node is used for broadcasting a computing force request; receiving reply information broadcast by a plurality of nodes to the computing power request; screening the plurality of nodes according to the reply information, and determining a calculation service node for performing calculation task entrustment; generating selection confirmation information according to the computing power service node, and broadcasting the selection confirmation information; receiving a detection result of the task mirror image broadcasted by the detection node, wherein the detection result is used for the calculation service node to determine whether to execute the calculation task;
the detection node is used for acquiring a calculation force request broadcast by the calculation force entrusting node; after receiving selection confirmation information broadcasted by the computing force entrusting node, determining a computing force service node according to the selection confirmation information, and pulling a task mirror image in the computing force service node; detecting according to the task mirror image in the computing power request and the task mirror image in the computing power service node, and determining whether a task operator and a computing power test code of the task mirror image in the computing power service node are abnormal; and broadcasting a detection result, wherein the detection result is used for the calculation service node to determine whether to execute the calculation task.
The computing network system adopts a public link block chain mode, and the public link needs a stricter consensus mechanism to lead a participant to bind benefits with a block chain system due to a free adding mechanism so as to maintain the benign operation of the distributed system. Meanwhile, the system is also provided with a credit mechanism, the newly added node can only participate in the consensus process, and after the consensus is completed for many times, the authority can be improved, and the newly added node can become a consignment node. With no abnormal behavior in the system, the authority of the user in the system can be improved.
Fig. 7 is a schematic structural diagram of a computational power network processing apparatus according to an embodiment of the present application, and as shown in fig. 7, the apparatus according to the embodiment of the present application includes: a first obtaining module 701, a first processing module 702, a second processing module 703, a third processing module 704 and a first determining module 705. The computational network processing device can be a server or a chip or an integrated circuit for realizing the functions of the server. It should be noted here that the division of the first obtaining module 701, the first processing module 702, the second processing module 703, the third processing module 704, and the first determining module 705 is only a division of one logic function, and the two may be integrated or independent physically.
The first acquisition module is used for acquiring a computing power request broadcasted by a computing power entrusting node, wherein the computing power request comprises a computing power task and a task mirror image;
the first processing module is used for broadcasting reply information of the computing power request if the computing power request meets the bearing condition, wherein the reply information comprises service quotation;
the second processing module is used for receiving selection confirmation information broadcasted by the computing power entrusting node, and if the computing power entrusting node is determined to be selected as the computing power service node, the address of the task mirror image is obtained according to the selection confirmation information;
the third processing module is used for pulling and running the task mirror image and acquiring detection results of the task mirror image broadcast by the plurality of detection nodes;
and the first determining module is used for determining whether to execute the computing power task according to the detection result.
Optionally, the first determining module is specifically configured to:
and if the detection result is that the ratio of the number of the passed detection to the total number of the detection results is greater than a first preset ratio, executing the calculation task.
Optionally, after the first determining module performs the computational task, the apparatus further includes:
and the sending module is used for sending the execution result of the computing power task to the computing power entrusting node and broadcasting task completion information.
Optionally, after the sending module broadcasts the task completion information, the apparatus further includes:
and the third determining module is used for determining that the computing power entrusting node is abnormal if the abnormal information broadcasted by the detection node is received.
Fig. 8 is a schematic structural diagram of a computational network processing device according to an embodiment of the present disclosure, where the computational network processing device may be a server. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not limiting to the implementations of the present application described and/or claimed herein.
As shown in fig. 8, the computational network processing apparatus includes: processor 801 and memory 802, the various components being interconnected using different buses, and may be mounted on a common motherboard or in other manners as desired. The processor 801 may process instructions for execution within the computational network processing apparatus, including instructions for graphical information stored in or on a memory for display on an external input/output device (such as a display device coupled to an interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Fig. 8 illustrates an example of a processor 801.
The memory 802 is a non-transitory computer readable storage medium, and can be used for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method of the computational network processing apparatus in the embodiment of the present application (for example, as shown in fig. 7, the first obtaining module 701, the first processing module 702, the second processing module 703, the third processing module 704, and the first determining module 705). The processor 801 executes various functional applications of the authentication platform and data processing, i.e., a method of implementing the computational network processing device in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 802.
The computational network processing device may further include: an input device 803 and an output device 804. The processor 801, the memory 802, the input device 803, and the output device 804 may be connected by a bus or other means, and are exemplified by a bus in fig. 8.
The input device 803 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the computational network processing apparatus, such as a touch screen, a keypad, a mouse, or a plurality of mouse buttons, a trackball, a joystick, or other input devices. The output device 804 may be an output device such as a display device of the computational network processing device. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
The computational network processing device in the embodiment of the present application may be configured to execute the technical solutions in the method embodiments of the present application, and the implementation principles and technical effects thereof are similar and will not be described herein again.
The embodiment of the application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is used for implementing the computational power network processing method of any one of the above.
The embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program is used to implement any one of the computational power network processing methods described above.
Fig. 9 is a schematic structural diagram of another computational power network processing apparatus provided in the embodiment of the present application, and as shown in fig. 9, the apparatus of the embodiment of the present application includes: a first broadcasting module 901, a first receiving module 902, a fourth processing module 903, a fifth processing module 904, and a second receiving module 905. The computational network processing device can be a server or a chip or an integrated circuit for realizing the functions of the server. It should be noted here that the division of the first broadcasting module 901, the first receiving module 902, the fourth processing module 903, the fifth processing module 904, and the second receiving module 905 is only a division of a logic function, and both may be integrated or independent physically.
The first broadcasting module is used for broadcasting a force calculation request, wherein the force calculation request comprises a force calculation task and a task mirror image;
the first receiving module is used for receiving reply information of the computing power request broadcast by the nodes, wherein the reply information comprises service quotation;
the fourth processing module is used for screening the plurality of nodes according to the reply information and determining a calculation force service node for carrying out calculation force task entrusting;
the fifth processing module is used for generating selection confirmation information according to the computing power service node and broadcasting the selection confirmation information;
and the second receiving module is used for receiving a detection result of the task mirror image broadcasted by the detection node, and the detection result is used for the computing service node to determine whether to execute the computing task.
Optionally, after the second receiving module receives a detection result of the task image broadcast by the detection node, the apparatus further includes:
and the second sending module is used for sending a task mirror image request after pulling execution after receiving the computing power task execution result sent by the computing power service node if the detection result is that the detection is passed, wherein the task mirror image request after pulling execution is used for requesting the computing power service node to pull the task mirror image after execution.
The embodiment of the application also provides another computational network processing device, and the computational network processing device can be a server. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not limiting to the implementations of the present application described and/or claimed herein.
The computational power network processing device includes: a processor and memory, the various components being interconnected using different buses, and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the computational network processing device, including instructions for graphical information stored in or on a memory for display on an external input/output device (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the methods of the computational power network processing apparatus in the embodiments of the present application (for example, as shown in fig. 9, a first broadcasting module 901, a first receiving module 902, a fourth processing module 903, a fifth processing module 904, and a second receiving module 905). The processor executes various functional applications of the authentication platform and data processing by running non-transitory software programs, instructions, and modules stored in the memory, that is, the method of implementing the computational network processing device in the above method embodiments.
The computational network processing device may further include: an input device and an output device. The processor, memory, input device, and output device may be connected by a bus or other means.
The input device may receive input numeric or character information and generate key signal inputs related to user settings and function control of the computing network processing apparatus, such as a touch screen, a keypad, a mouse, or a plurality of mouse buttons, a trackball, a joystick, or other input devices. The output device may be an output device such as a display device of the computational network processing device. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
The computational network processing device in the embodiment of the present application may be configured to execute the technical solutions in the method embodiments of the present application, and the implementation principles and technical effects thereof are similar and will not be described herein again.
The embodiment of the application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is used for implementing the computational power network processing method of any one of the above.
The embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program is used to implement any one of the computational power network processing methods described above.
Fig. 10 is a schematic structural diagram of another computational power network processing apparatus provided in the embodiment of the present application, and as shown in fig. 10, the apparatus of the embodiment of the present application includes: a second obtaining module 1001, a sixth processing module 1002, a second determining module 1003 and a second broadcasting module 1004. The computational network processing device can be a server or a chip or an integrated circuit for realizing the functions of the server. It should be noted here that the division of the second obtaining module 1001, the sixth processing module 1002, the second determining module 1003, and the second broadcasting module 1004 is only a division of one logic function, and the two may be integrated or independent physically.
The second acquisition module is used for acquiring a computing power request broadcasted by the computing power entrusting node, wherein the computing power request comprises a computing power task and a task mirror image;
the sixth processing module is used for determining the computing power service node according to the selection confirmation information after receiving the selection confirmation information broadcasted by the computing power entrusting node, and pulling a task mirror image in the computing power service node;
the second determining module is used for detecting according to the task mirror image in the computing power request and the task mirror image in the computing power service node and determining whether a task runner and a computing power test code of the task mirror image in the computing power service node are abnormal or not;
and the second broadcasting module is used for broadcasting a detection result, and the detection result is used for the computing power service node to determine whether to execute the computing power task.
Optionally, after the second broadcasting module broadcasts the detection result, the apparatus further includes:
the seventh processing module is used for pulling a task mirror image in the computing power entrusted node and detecting the task mirror image after receiving the task completion information broadcast by the computing power service node; if the abnormality is detected, the abnormality information is broadcast.
The embodiment of the application also provides another computational network processing device, and the computational network processing device can be a server. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not limiting to the implementations of the present application described and/or claimed herein.
The computational power network processing device includes: a processor and memory, the various components being interconnected using different buses, and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the computational network processing device, including instructions for graphical information stored in or on a memory for display on an external input/output device (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method of the computational network processing apparatus in the embodiment of the present application (for example, as shown in fig. 10, the second obtaining module 1001, the sixth processing module 1002, the second determining module 1003, and the second broadcasting module 1004). The processor executes various functional applications of the authentication platform and data processing by running non-transitory software programs, instructions, and modules stored in the memory, that is, the method of implementing the computational network processing device in the above method embodiments.
The computational network processing device may further include: an input device and an output device. The processor, memory, input device, and output device may be connected by a bus or other means.
The input device may receive input numeric or character information and generate key signal inputs related to user settings and function control of the computing network processing apparatus, such as a touch screen, a keypad, a mouse, or a plurality of mouse buttons, a trackball, a joystick, or other input devices. The output device may be an output device such as a display device of the computational network processing device. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
The computational network processing device in the embodiment of the present application may be configured to execute the technical solutions in the method embodiments of the present application, and the implementation principles and technical effects thereof are similar and will not be described herein again.
The embodiment of the application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is used for implementing the computational power network processing method of any one of the above.
The embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program is used to implement any one of the computational power network processing methods described above.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A computing power network processing method is applied to a computing power service node and is characterized by comprising the following steps:
acquiring a computing force request broadcasted by a computing force entrusting node, wherein the computing force request comprises a computing force task and a task mirror image;
if the computing power request meets the bearing condition, broadcasting reply information to the computing power request, wherein the reply information comprises service quotation;
receiving selection confirmation information broadcasted by the computing power entrusting node, and if the computing power entrusting node is determined to be selected as a computing power service node, acquiring the address of the task mirror image according to the selection confirmation information;
pulling and running the task mirror image, and acquiring detection results of the task mirror image broadcast by a plurality of detection nodes;
and determining whether to execute the computational power task according to the detection result.
2. The method of claim 1, wherein determining whether to perform the computational task based on the detection comprises:
and if the detection result is that the ratio of the number of the passed detection to the total number of the detection results is larger than a first preset ratio, executing the calculation task.
3. The method of claim 2, further comprising, after said performing the computational task:
and sending the execution result of the computing power task to the computing power entrusting node, and broadcasting task completion information.
4. The method of claim 3, further comprising, after broadcasting the task completion information:
and if receiving abnormal information broadcast by the detection node, determining that the computing power entrusting node is abnormal.
5. A computing power network processing method is applied to a computing power entrusting node and is characterized by comprising the following steps:
broadcasting a computing power request, wherein the computing power request comprises a computing power task and a task mirror image;
receiving reply information broadcast by a plurality of nodes to the computing power request, wherein the reply information comprises a service offer;
screening the plurality of nodes according to the reply information, and determining a computing power service node for computing power task delegation;
generating selection confirmation information according to the computing power service node, and broadcasting the selection confirmation information;
and receiving a detection result of the task mirror image broadcasted by the detection node, wherein the detection result is used for the computing service node to determine whether to execute the computing task.
6. The method of claim 5, further comprising, after receiving the detection result of the task image broadcast by the detection node:
and if the detection result is that the detection is passed, after receiving a calculation task execution result sent by the calculation service node, sending a task mirror image request after pulling execution, wherein the task mirror image request after pulling execution is used for requesting the calculation service node to pull the task mirror image after execution.
7. A computational power network processing method is applied to detection nodes and is characterized by comprising the following steps:
acquiring a computing force request broadcasted by a computing force entrusting node, wherein the computing force request comprises a computing force task and a task mirror image;
after receiving selection confirmation information broadcasted by the computing power entrusting node, determining a computing power service node according to the selection confirmation information, and pulling a task mirror image in the computing power service node;
detecting according to the task mirror image in the computing power request and the task mirror image in the computing power service node, and determining whether a task operator and a computing power test code of the task mirror image in the computing power service node are abnormal;
broadcasting the detection result, wherein the detection result is used for the calculation service node to determine whether to execute the calculation task.
8. The method of claim 7, further comprising, after said broadcasting the detection result:
after receiving task completion information broadcast by the computing power service node, pulling a task mirror image in the computing power entrusting node and detecting;
if the abnormality is detected, the abnormality information is broadcast.
9. A computational-power network processing apparatus, comprising:
the first acquisition module is used for acquiring a computing power request broadcasted by a computing power entrusting node, wherein the computing power request comprises a computing power task and a task mirror image;
the first processing module is used for broadcasting reply information to the computing power request if the computing power request is judged to meet the bearing condition, wherein the reply information comprises service quotation;
the second processing module is used for receiving selection confirmation information broadcast by the computing power entrusting node, and if the computing power entrusting node is determined to be selected as a computing power service node, the address of the task mirror image is obtained according to the selection confirmation information;
the third processing module is used for pulling and running the task mirror image and acquiring detection results of the task mirror image broadcast by a plurality of detection nodes;
and the first determining module is used for determining whether to execute the computational power task according to the detection result.
10. A computational-power network processing apparatus, comprising:
the system comprises a first broadcasting module, a second broadcasting module and a third broadcasting module, wherein the first broadcasting module is used for broadcasting a calculation force request, and the calculation force request comprises a calculation force task and a task mirror image;
the first receiving module is used for receiving reply information broadcast by a plurality of nodes to the computing force request, wherein the reply information comprises service quotations;
the fourth processing module is used for screening the plurality of nodes according to the reply information and determining a computing power service node for computing power task delegation;
the fifth processing module is used for generating selection confirmation information according to the computing power service node and broadcasting the selection confirmation information;
and the second receiving module is used for receiving a detection result of the task mirror image broadcasted by the detection node, wherein the detection result is used for the calculation service node to determine whether to execute the calculation task.
11. A computational-power network processing apparatus, comprising:
the second acquisition module is used for acquiring a computing power request broadcast by the computing power entrusting node, wherein the computing power request comprises a computing power task and a task mirror image;
the sixth processing module is used for determining a computing power service node according to the selection confirmation information after receiving the selection confirmation information broadcasted by the computing power entrusting node, and pulling a task mirror image in the computing power service node;
the second determining module is used for detecting according to the task mirror image in the computing power request and the task mirror image in the computing power service node, and determining whether a task runner and a computing power test code of the task mirror image in the computing power service node are abnormal or not;
and the second broadcasting module is used for broadcasting the detection result, and the detection result is used for the calculation service node to determine whether to execute the calculation task.
12. A computational network processing device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the computational network processing method of any one of claims 1 to 4, 5 or 6, or 7 or 8.
13. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, are configured to implement the computational network processing method of any one of claims 1 to 4, 5 or 6, or 7 or 8.
14. A computing power network processing system is characterized by comprising a computing power service node, a computing power consignment node and at least one detection node;
the computing power service node is used for acquiring a computing power request broadcasted by the computing power entrusting node, wherein the computing power request comprises a computing power task and a task mirror image; if the computing power request meets the bearing condition, broadcasting reply information to the computing power request, wherein the reply information comprises service quotation; receiving selection confirmation information broadcasted by the computing power entrusting node, and if the computing power entrusting node is determined to be selected as a computing power service node, acquiring the address of the task mirror image according to the selection confirmation information; pulling and running the task mirror image, and acquiring detection results of the task mirror image broadcast by a plurality of detection nodes; determining whether to execute the computational power task according to the detection result;
the computing power entrusting node is used for broadcasting a computing power request; receiving reply information broadcast by a plurality of nodes to the computing power request; screening the plurality of nodes according to the reply information, and determining a computing power service node for computing power task delegation; generating selection confirmation information according to the computing power service node, and broadcasting the selection confirmation information; receiving a detection result of the task mirror image broadcasted by a detection node, wherein the detection result is used for the computing service node to determine whether to execute the computing task;
the detection node is used for acquiring a calculation force request broadcast by the calculation force entrusting node; after receiving selection confirmation information broadcasted by the computing power entrusting node, determining a computing power service node according to the selection confirmation information, and pulling a task mirror image in the computing power service node; detecting according to the task mirror image in the computing power request and the task mirror image in the computing power service node, and determining whether a task operator and a computing power test code of the task mirror image in the computing power service node are abnormal; broadcasting the detection result, wherein the detection result is used for the calculation service node to determine whether to execute the calculation task.
CN202111210942.9A 2021-10-18 2021-10-18 Computing power network processing method, device, equipment and storage medium Pending CN113900837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111210942.9A CN113900837A (en) 2021-10-18 2021-10-18 Computing power network processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111210942.9A CN113900837A (en) 2021-10-18 2021-10-18 Computing power network processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113900837A true CN113900837A (en) 2022-01-07

Family

ID=79192420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111210942.9A Pending CN113900837A (en) 2021-10-18 2021-10-18 Computing power network processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113900837A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024022410A1 (en) * 2022-07-28 2024-02-01 阿里云计算有限公司 Image acceleration system, method and apparatus
WO2024036470A1 (en) * 2022-08-16 2024-02-22 Ming Zhongxing Computing power network system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170026803A1 (en) * 2015-07-24 2017-01-26 Mediatek Inc. Processor and apparatus for capable of reducing image flicker and a related method
CN111262906A (en) * 2020-01-08 2020-06-09 中山大学 Method for unloading mobile user terminal task under distributed edge computing service system
CN111800442A (en) * 2019-04-08 2020-10-20 阿里巴巴集团控股有限公司 Network system, mirror image management method, device and storage medium
CN112114950A (en) * 2020-09-21 2020-12-22 中国建设银行股份有限公司 Task scheduling method and device and cluster management system
CN112181599A (en) * 2020-10-16 2021-01-05 中国联合网络通信集团有限公司 Model training method, device and storage medium
CN112907252A (en) * 2021-02-02 2021-06-04 中国科学院计算技术研究所 Block chain transaction method and system based on multi-person down-chain channel
CN113157444A (en) * 2021-03-29 2021-07-23 中国联合网络通信集团有限公司 Computing power service authentication method, device and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170026803A1 (en) * 2015-07-24 2017-01-26 Mediatek Inc. Processor and apparatus for capable of reducing image flicker and a related method
CN111800442A (en) * 2019-04-08 2020-10-20 阿里巴巴集团控股有限公司 Network system, mirror image management method, device and storage medium
CN111262906A (en) * 2020-01-08 2020-06-09 中山大学 Method for unloading mobile user terminal task under distributed edge computing service system
CN112114950A (en) * 2020-09-21 2020-12-22 中国建设银行股份有限公司 Task scheduling method and device and cluster management system
CN112181599A (en) * 2020-10-16 2021-01-05 中国联合网络通信集团有限公司 Model training method, device and storage medium
CN112907252A (en) * 2021-02-02 2021-06-04 中国科学院计算技术研究所 Block chain transaction method and system based on multi-person down-chain channel
CN113157444A (en) * 2021-03-29 2021-07-23 中国联合网络通信集团有限公司 Computing power service authentication method, device and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PICTUREG. SUNILKUMAR 等: "Adoption of Cognition for Malicious Node Detection in Homogeneous and Heterogeneous Wireless Networks", 《ISCOS \'12: PROCEEDINGS OF THE 2012 INTERNATIONAL SYMPOSIUM ON CLOUD AND SERVICES COMPUTING》, 17 December 2012 (2012-12-17), pages 36, XP032346271, DOI: 10.1109/ISCOS.2012.20 *
王向军 等: "算力限制平台下的长时目标跟踪", 《红外与激光工程》, 25 January 2020 (2020-01-25), pages 291 - 296 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024022410A1 (en) * 2022-07-28 2024-02-01 阿里云计算有限公司 Image acceleration system, method and apparatus
WO2024036470A1 (en) * 2022-08-16 2024-02-22 Ming Zhongxing Computing power network system

Similar Documents

Publication Publication Date Title
CN113098907B (en) Group division method and device for block chain
CN111741114A (en) System, method and equipment capable of monitoring cross-chain interaction based on block chain
CN111625593B (en) Block chain-based data processing method and device and computer equipment
CN112527912B (en) Data processing method and device based on block chain network and computer equipment
Rahman et al. Blockchain-based security framework for a critical industry 4.0 cyber-physical system
CN113900837A (en) Computing power network processing method, device, equipment and storage medium
CN111949531B (en) Block chain network testing method, device, medium and electronic equipment
CN111767569A (en) Access authorization method and node of block chain
CN111416709B (en) Voting method, device, equipment and storage medium based on block chain system
CN114626088A (en) Task processing method and device of privacy computing platform based on algorithm interconnection
CN101442482B (en) Method and system for building distributed computing network based on feedback propagation
US10970180B2 (en) Methods and apparatus for verifying processing results and/or taking corrective actions in response to a detected invalid result
CN113783899B (en) Node exit method and blockchain system
CN113328854B (en) Service processing method and system based on block chain
CN114329565A (en) Data sharing method, device and storage medium
CN112181599B (en) Model training method, device and storage medium
CN115022012B (en) Data transmission method, device, system, equipment and storage medium
CN113497827B (en) Information sharing method and equipment
CN113014540B (en) Data processing method, device, equipment and storage medium
US20230291656A1 (en) Operation of a distributed deterministic network
CN114584940B (en) Slice service processing method and device
CN112104607B (en) Method, device, network node and storage medium for cross-link communication
Görkey et al. Comparative study of Byzantine fault tolerant consensus algorithms on permissioned blockchains
CN115701078A (en) Cross-chain transaction processing method and device, electronic equipment and storage medium
CN113419769A (en) Application software management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination