Movatterモバイル変換


[0]ホーム

URL:


CN113900837B - 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
CN113900837B
CN113900837BCN202111210942.9ACN202111210942ACN113900837BCN 113900837 BCN113900837 BCN 113900837BCN 202111210942 ACN202111210942 ACN 202111210942ACN 113900837 BCN113900837 BCN 113900837B
Authority
CN
China
Prior art keywords
computing power
task
node
computing
service node
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.)
Active
Application number
CN202111210942.9A
Other languages
Chinese (zh)
Other versions
CN113900837A (en
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 LtdfiledCriticalChina United Network Communications Group Co Ltd
Priority to CN202111210942.9ApriorityCriticalpatent/CN113900837B/en
Publication of CN113900837ApublicationCriticalpatent/CN113900837A/en
Application grantedgrantedCritical
Publication of CN113900837BpublicationCriticalpatent/CN113900837B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application provides a method, a device, equipment and a storage medium for processing an account power network, which are used for acquiring an account power request broadcast by an account power entrusting node, wherein the account power request comprises an account power task and a task mirror image, if the account power request is judged to meet a bearing condition, reply information of the account power request is broadcast, wherein the reply information comprises a service quotation, selection confirmation information broadcast by the account power entrusting node is received, if the selected account power entrusting node is determined to be selected as an account power service node, the address of the task mirror image is acquired according to the selection confirmation information, the task mirror image is pulled and operated, detection results of the task mirror image broadcast by a plurality of detection nodes are acquired, and whether the account power task is executed is determined according to the detection results, so that the problems that the account power service quality cannot be effectively regulated and the service quality and the stability of the account power network are poor are solved.

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 method, an apparatus, a device, and a storage medium for processing a computing network.
Background
With the continuous development and maturity of novel network services and applications, cloud computing, edge computing and intelligent terminal equipment are rapidly developed, computing resources show a ubiquitous deployment trend, and how to efficiently and cooperatively utilize the ubiquitous computing resources becomes an important new subject in the current network field research. In this context, the concept of a computational power network (CFN, computing First Network) has been proposed and has attracted a great deal of attention, and the basic idea is to combine computational power and network depth, coordinate distributed computing resources, improve the utilization of the computing resources, and improve the network service experience of users.
The power computing network is used as a novel service, aims to establish a supply and demand relation for a power computing requester and a power computing provider, and does not need to purchase a large amount of hardware facilities for completing a computing task, so that a certain cost is saved, and the power computing provider can utilize surplus power in a time division multiplexing mode and accordingly obtain corresponding benefits. Currently, in a distributed scenario, a computing power provider directly provides resources for a computing power requester, or builds a computing power network architecture based on a blockchain, and based on a centralized dispatching mechanism of an original computing power network platform, a public chain structure of the blockchain is modified into a alliance chain structure.
However, the existing method for processing the power computing network cannot effectively monitor the service quality of the power computing network, and the service quality and stability of the power computing network are poor.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for processing an account power network, which solve the technical problems that the account power network processing method in the prior art cannot effectively monitor the account power service quality and the stability of the account power network are poor.
In a first aspect, the present application provides a method for processing a computing power network, including:
Acquiring a calculation force request broadcasted by a calculation force entrusting node, wherein the calculation force request comprises a calculation force task and a task mirror image;
if the computing power request is judged to meet the bearing condition, broadcasting reply information to the computing power request, wherein the reply information comprises a service quotation;
Receiving selection confirmation information broadcast by the power calculation entrusting node, and if the power calculation entrusting node is determined to be selected as a power calculation 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, which are broadcasted by a plurality of detection nodes;
And determining whether to execute the power calculation task according to the detection result.
The application provides a method for processing a computing power network on a computing power service node, namely a computing power provider side, which is characterized in that after receiving a computing power request broadcast by a computing power entrusting node, whether to bear a computing power task carried in the computing power request is determined according to the processing capacity of the computing power entrusting node, if the computing power request can bear the task, a reply to the entrusting node is broadcast, the reply comprises a service quotation of the computing power entrusting node, selection confirmation information broadcast by the computing power entrusting node is received, if the computing power entrusting node is determined to be selected as the computing power service node according to the selection confirmation information, the task mirror image is pulled and deployed for operation, and meanwhile, the detection of a task operator and computing power test codes in the mirror image by a plurality of detection nodes is accepted, 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, the computing power service node is prevented from cheating in the process of providing computing power, the service quality of the computing power provider is effectively monitored, the computing power service quality is improved, and the stability of the computing power network is ensured.
Optionally, the determining whether to execute the computing task according to the detection result includes:
And if the detection result is that the ratio of the number passing detection to the total number of the detection results is larger than the first preset ratio, executing the calculation task.
When determining whether the power computing service node can execute the power computing task, the power computing task can be started to be executed only after more than half of the nodes participating in detection are detected, and the final judgment result can be more accurate by judging through a plurality of detection results, so that the service quality of the power computing service node can be judged and monitored more accurately, and the service quality of a power computing network is further improved.
Optionally, after the performing the computing task, further comprising:
and sending the execution result of the calculation task to the calculation entrusting node, and broadcasting the task completion information.
After the power calculation task is completed, the power calculation service node sends the power calculation task execution result to the power calculation entrusting node, and simultaneously broadcasts the task completion information to inform each node of carrying out subsequent operation, so that the power calculation service quality is further improved.
Optionally, after broadcasting the task completion information, the method further includes:
and if abnormal information broadcast by the detection node is received, determining that the calculation power entrusting node is abnormal.
After the execution of the calculation force task is finished, the application can also receive the abnormal information broadcast by the detection node to determine whether the calculation force entrusting node is abnormal or not, and the detection node can verify the task operator and the calculation force test code in the mirror image of the calculation force entrusting node after the execution of the task is finished, so that the calculation force entrusting node can not produce false information of malicious mirror image manufacturing calculation force service node cheating, double guarantee is realized, and the stability and service quality of the calculation force network are improved.
In a second aspect, the present application provides a method for processing a computing power network, including:
broadcasting a computing force request, wherein the computing force request comprises a computing force task and a task mirror image;
Receiving reply information to the power calculation request, wherein the reply information comprises service quotations, and the reply information is broadcasted by a plurality of nodes;
screening the nodes according to the reply information to determine a power computing service node for delegation of a power computing task;
generating selection confirmation information according to the power computing service node, and broadcasting the selection confirmation information;
and receiving a detection result of the task image, which is broadcasted by a detection node, wherein the detection result is used for the computing power service node to determine whether to execute the computing power task.
The application provides a method for processing a power network on a power demand side, namely a power commission node, wherein the power commission node broadcasts a power demand request of the power commission node, so that a service node in the network determines whether the power demand can bear a power task according to the power demand, the power demand comprises a task mirror image, detection can be carried out, a proper power service node is selected, selection confirmation information generated according to the power service node is broadcasted, the power service node and other nodes are enabled to be determined, and meanwhile, a detection result of the power service node task mirror image broadcast by the detection node is received, so that the power demand node and the power service node can be effectively ensured to execute the power demand task, cheating of the power service node in the power supply process is prevented, effective supervision on the power service quality of the power provider is realized, the power service quality is improved, and the stability of the 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 the execution result of the power calculation task sent by the power calculation service node, sending a task mirror image request after pulling and executing, wherein the task mirror image request after pulling and executing is used for requesting the power calculation service node to pull and execute the task mirror image.
The power calculation entrusting node can send a request to pull the task mirror image after the task is completed, so that the whole power calculation transaction process is realized.
In a third aspect, the present application provides a method for processing a computing power network, including:
Acquiring a calculation force request broadcasted by a calculation force entrusting node, wherein the calculation force request comprises a calculation force task and a task mirror image;
After receiving the selection confirmation information broadcast 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 or not;
and broadcasting the detection result, wherein the detection result is used for the power calculation service node to determine whether to execute the power calculation task.
The detection node can detect and monitor the mirror image in the calculation power entrusting node, thereby realizing the supervision of the calculation power service process and ensuring that the calculation power service node cannot cheat in the process of providing calculation power.
Optionally, after said broadcasting the detection result, further comprising:
pulling a task mirror image in the computing power entrusting node and detecting the task mirror image after receiving task completion information broadcast by the computing power service node;
If an anomaly is detected, the anomaly information is broadcast.
After the power service node executes the power calculation task, the power calculation test code and the task operator in the power calculation entrusting node mirror image can be checked, so that the power calculation entrusting node can not make fake information of malicious mirror image manufacturing service node cheating, and the stability and the service quality of the power calculation network are further ensured.
In a fourth aspect, the present application provides a computing power network processing apparatus, comprising:
the first acquisition module is used for acquiring a calculation force request broadcast by a calculation force consignment node, wherein the calculation force request comprises a calculation force task and a task mirror image;
The first processing module is used for broadcasting reply information of the computing power request if judging that the computing power request meets the bearing condition, wherein the reply information comprises service quotation;
The second processing module is used for receiving the selection confirmation information broadcast by the power delegation node, and if the power delegation node is determined to be selected as a 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 the task mirror image and running the task mirror image, and acquiring detection results of the task mirror image, which are broadcasted by a plurality of detection nodes;
And the first determining module is used for determining whether to execute the calculation 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 passing detection to the total number of the detection results is larger than the first preset ratio, executing the calculation task.
Optionally, after the first determining module performs the computing task, the apparatus further includes:
and the sending module is used for sending the execution result of the calculation task to the calculation entrusting node and broadcasting the 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 power calculation entrusting node is abnormal if abnormal information broadcast by the detecting node is received.
In a fifth aspect, the present application provides a computing power network processing apparatus, comprising:
The first broadcasting module is used for broadcasting a computing force request, wherein the computing force request comprises a computing force task and a task mirror image;
A first receiving module, configured to receive reply information broadcast by a plurality of nodes to the computing power request, where the reply information includes a service offer;
the fourth processing module is used for screening the nodes according to the reply information and determining an algorithm service node for performing algorithm task delegation;
a fifth processing module, configured to generate selection confirmation information according to the power service node, and broadcast the selection confirmation information;
and the second receiving module is used for receiving a detection result of the task image, which is broadcasted by the detection node, 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 receiving module receives the detection result of the task image broadcasted by the detection node, the apparatus further includes:
And the second sending module is used for sending a pulling and executing task mirror image request after receiving the detection result of the detection passing, which is sent by the computing power service node, wherein the pulling and executing task mirror image request is used for requesting the computing power service node to pull and execute the task mirror image.
In a sixth aspect, the present application provides a computing network processing apparatus, comprising:
the second acquisition module is used for acquiring a calculation force request broadcasted by the calculation force consignment node, wherein the calculation force request comprises a calculation force 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 broadcast 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 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 computing power test codes 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 power calculation service node to determine whether to execute the power calculation task.
Optionally, after the second broadcasting module broadcasts the detection result, the apparatus further includes:
and the seventh processing module is used for pulling the task mirror image in the power calculation entrusting node and detecting after receiving the task completion information broadcast by the power calculation service node, and broadcasting abnormal information if the abnormality is detected.
In a seventh aspect, the present application provides a computing power network processing device 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, causing the at least one processor to perform the method of processing a power network as described above in the first aspect and the various possible designs of the first aspect.
In an eighth aspect, the present application provides a computing power network processing device 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, causing the at least one processor to perform the method of computing a power network as described above in the second aspect and the various possible designs of the second aspect.
In a ninth aspect, the present application provides a computing power network processing device comprising 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, causing the at least one processor to perform the method of processing a power network as described above in the third aspect and the various possible designs of the third aspect.
In a tenth aspect, the present application provides a computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement the method of processing a power network according to the first aspect and the various possible designs of the first aspect.
In an eleventh aspect, the present application provides a computer readable storage medium, in which computer executable instructions are stored, which when executed by a processor, implement the method for processing a power network according to the above second aspect and the 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, which when executed by a processor, implement the method for processing a power network according to the third aspect and the various possible designs of the third aspect.
In a thirteenth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method of processing a power network according to the first aspect and the various possible designs of the first aspect.
Fourth, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method of processing a power network as described above in the second aspect and the 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 method of processing a power network as described above in the third aspect and the various possible designs of the third aspect.
In a sixteenth aspect, the present application provides a network processing system comprising a computing force service node, a computing force delegation node, and at least one detection node;
the power computing service node is used for acquiring a power computing request broadcast by a power computing commission node, wherein the power computing request comprises a power computing task and a task mirror image, broadcasting reply information to the power computing request if the power computing request is judged to meet a bearing condition, wherein the reply information comprises a service quotation, receiving selection confirmation information broadcast by the power computing commission node, acquiring an address of the task mirror image according to the selection confirmation information if the power computing commission node is determined to be selected as the power computing service node, pulling the task mirror image and operating, acquiring detection results of the task mirror image broadcast by a plurality of detection nodes, and determining whether to execute the power computing task according to the detection results;
The power calculation entrusting node is used for broadcasting a power calculation request, receiving reply information of the power calculation request, which is broadcast by a plurality of nodes, screening the plurality of nodes according to the reply information, determining a power calculation service node for entrusting a power calculation task, generating selection confirmation information according to the power calculation service node, broadcasting the selection confirmation information, receiving a detection result of the task mirror image, which is broadcast by a detection node, wherein the detection result is used for the power calculation service node to determine whether to execute the power calculation task;
the detection node is used for acquiring a calculation force request broadcasted by the calculation force entrusting node, determining a calculation force service node according to the selection confirmation information after receiving the selection confirmation information broadcasted by the calculation force entrusting node, pulling a task mirror image in the calculation force service node, detecting according to the task mirror image in the calculation force request and the task mirror image in the calculation force service node, determining whether a task runner and a calculation force test code of the task mirror image in the calculation force service node are abnormal, and broadcasting the detection result, wherein the detection result is used for the calculation force service node to determine whether to execute the calculation force task.
The method, the device, the equipment and the storage medium for processing the computing power network, wherein after receiving the computing power request broadcast by the computing power entrusting node, the computing power service node in the method decides whether to bear the computing power task carried in the computing power request according to the processing capacity of the computing power entrusting node, if the computing power request can bear the task, the answer to the entrusting node is broadcast, the answer comprises the service quotation of the computing power entrusting node, the selection confirmation information broadcast by the computing power entrusting node is received, if the computing power entrusting node is determined to be selected as the computing power service node according to the selection confirmation information, the mirror image of the task is pulled and deployed for operation, and meanwhile, the detection of a task operator and computing power test codes in the mirror image by a plurality of detection nodes is accepted, and whether to execute the computing power task is determined according to the detection result, 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, realizing the effective service quality for a computing power provider, improving the computing power service quality and ensuring the stability of the computing power network.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the application, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a schematic diagram of a computing power network processing system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for processing a power network according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a task mirror according to an embodiment of the present application;
FIG. 4 is a flowchart of another method for processing a power network according to an embodiment of the present application;
FIG. 5 is a flowchart of another method for processing a power network according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an interaction flow of a power transaction process according to an embodiment of the present application;
Fig. 7 is a schematic structural diagram of a computing power network processing device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computing power network processing device according to an embodiment of the present application;
FIG. 9 is a schematic diagram of another power network processing device according to an embodiment of the present application;
Fig. 10 is a schematic structural diagram of another power network processing device according to an embodiment of the present application.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise 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 decentralised network structure, a consensus algorithm is used for guaranteeing the consistency of all nodes in a network, and the behavior of the nodes in the network is recorded in a public and reliable way. The blockchain can realize anonymous interaction of nodes in the network through a cryptography technology, and realize trusted recording of anonymous node behaviors through public key cryptography and a signature technology and traceable and unmodified account books. Blockchains are divided into public chains, alliance chains and private chains, and the degree of openness is gradually reduced. The public chain computing power network is used as a novel service, aims to establish a supply and demand relation for computing power demand parties and computing power providers, does not need to purchase a large amount of hardware facilities for completing computing tasks, saves a certain cost, can utilize surplus computing power in a time division multiplexing mode, and accordingly obtains corresponding benefits.
In the existing computational power network architecture using blockchains, the alliance chain technology is used, and the security and the credibility of the nodes are controlled by a user registration joining mode. The quality of the computing nodes is demonstrated by a certain credit accumulation mechanism. Resource scheduling and work auditing between the demand node and the power computing node are completed through a super node 'power computing network platform' in the alliance chain. The container technology can package the calculation tasks to be operated into a standardized unit for development, delivery and deployment, the container mirror image is a lightweight independently-operable software package, contains codes and operating environments, can get rid of external environmental differences, and can be stored as a mirror image for storage and transmission. The containers can be deployed on a container cloud platform, and the containers are uniformly scheduled and managed by the container cloud platform. Under the distributed scene, the service quality of the power provider lacks supervision, the power node fake-making and stealing resources in the power service provision does not have method monitoring, the existing power network architecture based on the block chain does not fully utilize the characteristic of the block chain, and the power network architecture is modified into a alliance chain structure on the basis of the centralized dispatching mechanism of the original power network platform, so that the decentralization characteristic of the block chain is not shown. The credit information used by many schemes is not of practical significance in an architecture with a central node. The power calculation network processing method in the prior art cannot effectively monitor the power calculation service quality, and the service quality and stability of the power calculation network are poor.
In order to solve the problems, the embodiments of the present application provide a method, an apparatus, a device, and a storage medium for processing a computing power network, where in the method, a user delegates or accepts an operation task to the outside according to a certain manner in the computing power network, the computing power task of the user is packaged in a container mirroring manner, a computing power provider deploys a container cloud platform to deploy a container, providing computing power resources, a consensus process between nodes is completed through a block chain, and in a computing power service process, supervision of the computing power service process is implemented through a detection node.
Optionally, fig. 1 is a schematic diagram of a power network processing system according to an embodiment of the present application, where the system architecture is a block chain structure. In fig. 1, the 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 kinds of node light nodes and a complete node. The method comprises the steps that light nodes only store block information in system operation to complete a consensus process, a unified container cloud platform is required to be deployed for deploying a calculation task container, only the complete nodes can provide calculation service, the light nodes only can entrust calculation tasks to the outside, a node management module is responsible for mutual communication among the nodes to complete the consensus process among the blocks, a mirror image warehouse stores mirror images generated or pulled by the nodes, a database stores data and blocks in the operation process, the container cloud platform is not required to be deployed for each node, only the service nodes are required to provide the container cloud platform, and training of a deployment model training mirror image is completed.
The node protection module checks the node module file before the node operation, ensures that the program is not tampered, and checks whether the process which can be operated in the host computer affects the operation of the node module in the program operation process.
After the new node joins the network, the node management module broadcasts new node joining information, including new node identity information. 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 block data, starts to receive broadcast information in the network, and starts to participate in the consensus process.
In the implementation process of the embodiment of the application, the power calculation nodes can be divided into power calculation entrusting nodes, power calculation service nodes and detection nodes, wherein the power calculation entrusting nodes provide power calculation tasks and task mirror images, power calculation requests are broadcast in a network, the power calculation service nodes are provided with complete nodes, receive the power calculation requests and provide service detection, and the detection nodes receive interaction information of the entrusting nodes and the service nodes and jointly complete nodes of a consensus process.
The power computing system comprises a power computing network, a power computing demand party and a power computing provider, wherein two identities exist in the power computing network, the power computing demand party, namely a power computing entrusting node in the system, can provide a power computing task mirror image, a power computing task code is put into a basic mirror image to form a task mirror image, and the basic mirror image comprises a unified task operator and a power computing test code. The calculation task code needs to be compiled and confusion and crust, so that information leakage in the code is prevented.
It will be appreciated that the architecture illustrated by embodiments of the present application is not intended to constitute a particular limitation on the architecture of a computing network processing system. In other possible embodiments of the present application, the architecture may include more or less components than those illustrated, or some components may be combined, some components may be split, or different component arrangements may be specifically determined according to the actual application scenario, and the present application 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 may be implemented by a processor reading instructions in a memory and executing the instructions, or may be implemented by a chip circuit.
In addition, the network architecture and the service scenario described in the embodiments of the present application are for more clearly describing the technical solution of the embodiments of the present application, and do not constitute a limitation on the technical solution provided by the embodiments of the present application, and as a person of ordinary skill in the art can know, with evolution of the network architecture and occurrence of a new service scenario, the technical solution provided by the embodiments of the present application is also applicable to similar technical problems.
The following describes the technical scheme of the present application in detail with reference to specific examples:
Optionally, fig. 2 is a flow chart of a method for processing a power network according to 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, acquiring an calculation force request broadcast by a calculation force consignment node.
Wherein the computing force request includes a computing force task and a task mirror image.
Optionally, fig. 3 is a schematic structural diagram of a task image provided by an embodiment of the present application, where, as shown in fig. 3, the task image includes task codes, computing power test codes and a task runner. The computational effort test code is a complex problem that the whole platform is used uniformly and is open-sourced, such as hash collision. By running the computational power test code, the time for solving the problem is obtained, the computational power resources are allocated to the container and the solving time is inversely proportional, and whether the resources meet a certain standard can be judged according to the running time. The task operator is started after mirror image deployment, invokes the computing task program to complete tasks such as machine learning training and the like, randomly invokes the computing test code, and verifies whether the provider distributes enough resources for container operation. The container provides data exchange and state inquiry interfaces for the outside through the operator, and broadcasts the test result after the test is completed.
Optionally, the computational power request includes a computational power demand, the computational power demand including a task image, a data size, and an amount of computational power resources required, such that the service node determines whether the computational power task can be undertaken.
And S202, if the computing power request is judged to meet the bearing condition, broadcasting reply information to the computing power request.
Wherein the reply information includes a service offer.
Alternatively, the service offer may be preset or determined based on the computing task, for example, based on the size of the data in the computing task and the amount of computing resources required.
Optionally, the bearing condition is that the self-bearing data size and the number of the calculation resources are respectively compared with the data size in the calculation task and the number of the required calculation resources, and if the data size and the number of the calculation resources are larger than the required calculation resources, the calculation request can be born.
And S203, receiving selection confirmation information broadcast by the calculation power entrusting node, and acquiring the address of the task mirror image according to the selection confirmation information if the calculation power entrusting node is determined to be selected as the calculation power service node.
The selection confirmation information may include identification information of the computing power service node.
Optionally, the address of the task image is included in the selection confirmation information.
Optionally, the task mirror image address is a public key address, and the user identity in the system is replaced by the public key address, so that the user privacy can be effectively protected.
And S204, pulling and running the task mirror image, and acquiring detection results of the task mirror image, which are broadcasted by a plurality of detection nodes.
Optionally, the detection result is obtained by comparing and detecting the task image in the current computing power service node and the task image in the computing power entrusting node by the detection node.
And S205, determining whether to execute the power calculation task according to the detection result.
Optionally, determining whether to execute the power calculation task according to the detection result includes executing the power calculation task if the detection result is that the ratio of the number of passing detection to the total number of detection results is greater than a first preset ratio.
When determining whether the power computing service node can execute the power computing task, the embodiment of the application can start executing the power computing task after more than half of the nodes participating in detection pass detection, and judge through a plurality of detection results, so that the final judging result is more accurate, the service quality of the power computing service node is judged and monitored more accurately, and the service quality of the power computing network is further improved.
Optionally, after executing the computing power task, the method further comprises the steps of sending the executing result of the computing power task to the computing power entrusting node and broadcasting task completion information.
Optionally, sending the result of the execution of the computational effort task to the computational effort delegation node includes establishing an individual communication manner with the computational effort delegation node and sending the result of the execution of the computational effort task to the computational effort delegation node via the individual communication manner.
The nodes in the system are connected in a point-to-point mode, and the common information is transmitted by broadcasting among the nodes. When the mirror is transferred, the power delegation node and the power service node establish separate channel direct connections. When the system operates, the adjacent nodes are directly connected, the communication between the nodes is realized through the forwarding of the adjacent nodes, when the power calculation entrusting node and the power calculation service node generate transactions, the connection can be established autonomously, the task mirror image is transferred, but whether the communication in the follow-up consensus process maintains the connection is determined according to the delay between the two nodes.
Optionally, broadcasting task completion information includes broadcasting a signature of the task image request after execution by the power delegation node.
After the power calculation task is executed, the power calculation service node in the embodiment of the application sends the execution result of the power calculation task to the power calculation entrusting node, and simultaneously broadcasts the task completion information to inform each node to carry out subsequent operation, thereby further improving the power calculation service quality.
Optionally, after broadcasting the task completion information, determining that the computing power entrusted node is abnormal if abnormal information broadcast by the detection node is received.
After the execution of the calculation power task is finished, the embodiment of the application can also receive the abnormal information broadcast by the detection node to determine whether the calculation power entrusting node is abnormal or not, and the detection node can verify the task operator and the calculation power test code in the calculation power entrusting node mirror image after the execution of the task is finished, so that the calculation power entrusting node can not produce false messages of malicious mirror image manufacturing calculation power service node cheating, double guarantee is provided, and the stability and service quality of the calculation power network are improved.
After the computing power entrusting node publishes the task mirror image, the node willing to participate in the verification process can check the task runner and the computing power test code in the mirror image, thereby ensuring that the entrusting node cannot make fake messages of malicious mirror image manufacturing service node cheating. The two problems that the resource of the power service node embezzle part of what should be issued and the power consignment node disturb the network operation are respectively prevented through the two points. And when the node protection module detects that the node is abnormal in operation, broadcasting abnormal information and stopping the node operation. When the task image fails to pass the detection, how the image cannot be deployed is performed, and the previous calculation power entrusting flow 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 broadcast by a computing power entrusting node, determining whether to bear a computing power task carried in the computing power request according to own processing capacity, broadcasting a reply to the entrusting node if the task can be born, wherein the reply comprises own service quotation, receiving selection confirmation information broadcast by the computing power entrusting node, pulling a task mirror image and deploying operation if the selected confirmation information is determined to be taken as the computing power service node according to the selection confirmation information, simultaneously receiving detection of task operators and computing power test codes in the mirror image by a plurality of detection nodes, and determining whether to execute the computing power task according to detection results, 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, realizing effective supervision of the service quality of the computing power provider, improving the computing power service quality and ensuring the stability of the computing power network.
Optionally, an embodiment of the present application provides a method for processing a power network of a power delegation node, and correspondingly, fig. 4 is a schematic flow chart of another method for processing a power network provided by the embodiment of the present application, where an execution subject of the method is the power delegation node, as shown in fig. 4, and the method includes:
S401, broadcasting a calculation force request.
Wherein the computing force request includes a computing force task and a task mirror image.
And S402, receiving reply information of the calculation power request, which is broadcast by a plurality of nodes.
Wherein the reply information includes a service offer.
S403, screening the plurality of nodes according to the reply information, and determining the power service node for delegation of the power task.
Alternatively, the filtering may be performed according to service offers of a plurality of nodes, and a node with a low service offer is selected and determined as the power-calculating service node.
S404, generating selection confirmation information according to the power service node, and broadcasting the selection confirmation information.
Optionally, the selection confirmation information includes an identification of the computing power service node.
And S405, receiving a detection result of the task image, which is broadcast by the detection node, wherein the detection result is used for determining whether to execute the computing power task by the computing power service node.
The detection node here is a node other than the power service node.
Optionally, after receiving the detection result of the task mirror image broadcasted by the detection node, if the detection result is that the detection is passed, sending a pulling-out task mirror image request after the execution result of the computing power task sent by the computing power service node is received, where the pulling-out task mirror image request after the execution is used for requesting the computing power service node to pull out the task mirror image after the execution.
Here, the computing force entrusting node in the embodiment of the application can send a request to pull the task mirror image after the task is completed, so that the whole process of computing force transaction is realized.
The embodiment of the application provides a calculation power network processing method of a calculation power entrusting node, namely a calculation power demand side, wherein the calculation power entrusting node broadcasts a calculation power request of the calculation power entrusting node, so that a service node in a network determines whether a calculation power task can be born according to the calculation power request, the calculation power request comprises a task mirror image, detection can be carried out, a proper calculation power service node is selected, selection confirmation information generated according to the calculation power service node is broadcasted, the calculation power service node and other nodes are enabled to carry out determination, and meanwhile, a detection result of the calculation power service node task mirror image broadcasted by the detection node is received, so that the stable, effective and reliable calculation power service node can carry out the calculation power task, the service quality between the calculation power entrusting node and the calculation power service node can be effectively ensured, cheating of the calculation power service node in the process of providing calculation power is prevented, the effective supervision of the service quality of the calculation power provider is realized, the calculation power service quality is improved, and the stability of the calculation power network is ensured.
Optionally, an embodiment of the present application provides a method for processing a computing power network of a detection node, and correspondingly, fig. 5 is a schematic flow chart of another method for processing a computing power network provided by the embodiment of the present application, where an execution body of the method is the detection node, as shown in fig. 5, and the method includes:
S501, acquiring an calculation force request broadcast by a calculation force consignment node.
Wherein the computing force request includes a computing force task and a task mirror image.
S502, after receiving the selection confirmation information broadcast 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.
And S503, 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 computing power test codes of the task mirror image in the computing power service node are abnormal.
Here, if the task image in the computing power request and the task image comparison result in the computing power service node are within the preset comparison threshold range, the detection result is that the detection is passed. The preset comparison threshold value may be determined according to practical situations, which is not particularly limited in the embodiment of the present application.
And S504, broadcasting a detection result.
The detection result is used by the computing power service node to determine whether to execute the computing power task.
Optionally, after broadcasting the detection result, the method further comprises the steps of pulling a task mirror image in the computing power entrusting node and detecting after receiving task completion information broadcast by the computing power service node, and broadcasting abnormal information if abnormality is detected.
The task runner and the calculation test code in the mirror image are checked, so that the entrusting node is ensured not to make fake messages of malicious mirror image manufacturing service node cheating.
After the power service node executes the power calculation task, the power calculation service node can verify the task operator and the power calculation test code in the power calculation entrusting node mirror image, so that the power calculation entrusting node can not make fake messages of malicious mirror image manufacturing service node cheating, and the stability and the service quality of the power calculation network are further ensured.
The detection node of the embodiment of the application can detect and monitor the mirror image in the calculation power entrusting node, thereby realizing the supervision of the calculation power service process and ensuring that the calculation power service node cannot cheat in the process of providing calculation power.
The embodiment of the application also provides a network processing system, and fig. 6 is a schematic diagram of an interaction flow of the computing power transaction process provided by the embodiment of the application, and fig. 6 includes a computing power service node, a computing power entrusting node and a detecting node.
In a specific implementation process, the system comprises a plurality of detection nodes.
The power computing service node is used for acquiring a power computing request broadcast by the power computing commission node, wherein the power computing request comprises a power computing task and a task mirror image, broadcasting reply information to the power computing request if the power computing request is judged to meet a bearing condition, wherein the reply information comprises a service quotation;
The power calculation entrusting node is used for broadcasting a power calculation request, receiving reply information of the power calculation request, which is broadcast by a plurality of nodes, screening the plurality of nodes according to the reply information, determining a power calculation service node for entrusting the power calculation task, generating selection confirmation information according to the power calculation service node, broadcasting the selection confirmation information, receiving a detection result of the task mirror image, which is broadcast by the detection node, and determining whether to execute the power calculation task by the power calculation service node;
The method comprises the steps of acquiring a power request broadcast by a power commission node by a detection node, determining a power service node according to selection confirmation information after receiving the selection confirmation information broadcast by the power commission node, pulling a task mirror image in the power service node, detecting according to the task mirror image in the power request and the task mirror image in the power service node, determining whether a task operator and a power test code of the task mirror image in the power service node are abnormal, broadcasting a detection result, and determining whether to execute a power task by the power service node.
The system adopts a public chain blockchain mode, and the public chain can maintain benign operation of the distributed system by binding benefits with the blockchain system by participants due to a stricter consensus mechanism required by a free joining mechanism. Meanwhile, the system is also provided with a credit mechanism, and the newly added node can only participate in the consensus process, so that the authority can be improved after the consensus is completed for a plurality of times, and the newly added node can become a entrusted 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 computing power network processing device according to an embodiment of the present application, and as shown in fig. 7, the device according to an 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 computing network processing means may be a server or a chip or integrated circuit implementing the functions of a server. Here, the division of the first acquisition module 701, the first processing module 702, the second processing module 703, the third processing module 704, and the first determination module 705 is just a division of a logic function, and both may be integrated or independent physically.
The first acquisition module is used for acquiring a calculation force request broadcasted by the calculation force consignment node, wherein the calculation force request comprises a calculation force 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 the selection confirmation information broadcast by the calculation power entrusting node, and if the calculation power entrusting node is determined to be selected as the calculation 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, which are broadcasted by a plurality of detection nodes;
And the first determining module is used for determining whether to execute the calculation 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 passing detection to the total number of the detection results is larger than the first preset ratio, executing the calculation task.
Optionally, after the first determining module performs the computing task, the apparatus further includes:
and the sending module is used for sending the execution result of the calculation task to the calculation entrusting node and broadcasting the 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 calculation power entrusting node is abnormal if the abnormal information broadcast by the detecting node is received.
Fig. 8 is a schematic structural diagram of a computing power network processing device according to an embodiment of the present application, where the computing power 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 of the implementations of the application described and/or claimed in this document.
As shown in fig. 8, the computing network processing device includes a processor 801 and a memory 802, which are interconnected using different buses, and may be mounted on a common motherboard or in other manners as desired. The processor 801 may process instructions executing within a computing power network processing device, including instructions for graphical information stored in or on 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, if desired, along with multiple memories and multiple memories. One processor 801 is illustrated in fig. 8.
The memory 802 is used as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the first acquisition module 701, the first processing module 702, the second processing module 703, the third processing module 704, and the first determination module 705 shown in fig. 7) corresponding to a method of a computing power network processing device in an embodiment of the present application. The processor 801 executes various functional applications of the authentication platform and data processing, i.e., a method of implementing the computing network processing device in the above-described method embodiment, by running non-transitory software programs, instructions, and modules stored in the memory 802.
The computing power network processing device may also include an input 803 and an output 804. The processor 801, memory 802, input devices 803, and output devices 804 may be connected by a bus or other means, for example 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 computing power network processing device, such as a touch screen, a keypad, a mouse, or a plurality of mouse buttons, a trackball, a joystick, or the like. The output means 804 may be an output device such as a display device of a computing 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 may be a touch screen.
The power calculation network processing device of the embodiment of the application can be used for executing the technical scheme of the method embodiments of the application, and the implementation principle and the technical effect are similar, and are not repeated here.
The embodiment of the application also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and the computer execution instructions are used for realizing the power calculation network processing method of any one of the above when being executed by a processor.
The embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program is used for realizing the power calculation network processing method of any one of the above steps when being executed by a processor.
Fig. 9 is a schematic structural diagram of another power network processing device according to an embodiment of the present application, and as shown in fig. 9, the device according to an 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 computing network processing means may be a server or a chip or integrated circuit implementing the functions of a server. Here, 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 calculation force request, wherein the calculation force request comprises a calculation force task and a task mirror image;
The first receiving module is used for receiving reply information of the computing power requests, which is broadcast by a plurality of nodes, 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 power calculation service node for carrying out power calculation 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;
The second receiving module is used for receiving a detection result of the task mirror image, which is broadcast by the detection node, and the detection result is used for determining whether to execute the computing power task by the computing power service node.
Optionally, after the second receiving module receives the 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 pulling and executing task mirror image request after receiving the power calculation task execution result sent by the power calculation service node if the detection result is that the detection result passes, wherein the pulling and executing task mirror image request is used for requesting the power calculation service node to pull and execute the task mirror image.
The embodiment of the application also provides another computing power network processing device which 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 of the implementations of the application described and/or claimed in this document.
The computing network processing device includes a processor and a 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 executing within the computing power network processing device, including instructions stored in or on memory for graphical information displayed 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, if desired, along with multiple memories and multiple memories. The memory is used as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the first broadcast module 901, the first receive module 902, the fourth process module 903, the fifth process module 904, and the second receive module 905 of fig. 9) corresponding to a method of a computing power network processing device in an embodiment of the present application. The processor executes various functional applications of the authentication platform and data processing, i.e. the method of implementing the computing power network processing device in the above-described method embodiments, by running non-transitory software programs, instructions and modules stored in the memory.
The computing power network processing device may also include an input device and an output device. The processor, memory, input devices, and output devices 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 power network processing device, such as a touch screen, a keypad, a mouse, or a plurality of mouse buttons, a trackball, a joystick, or the like. The output means may be an output device such as a display device of the computing 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 may be a touch screen.
The power calculation network processing device of the embodiment of the application can be used for executing the technical scheme of the method embodiments of the application, and the implementation principle and the technical effect are similar, and are not repeated here.
The embodiment of the application also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and the computer execution instructions are used for realizing the power calculation network processing method of any one of the above when being executed by a processor.
The embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program is used for realizing the power calculation network processing method of any one of the above steps when being executed by a processor.
Fig. 10 is a schematic structural diagram of still another power network processing apparatus according to an embodiment of the present application, and as shown in fig. 10, the apparatus according to an 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 computing network processing means may be a server or a chip or integrated circuit implementing the functions of a server. Here, the division of the second acquisition module 1001, the sixth processing module 1002, the second determination module 1003, and the second broadcast module 1004 is only a division of a logic function, and both may be integrated or independent physically.
The second acquisition module is used for acquiring a calculation force request broadcasted by the calculation force consignment node, wherein the calculation force request comprises a calculation force 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 broadcast 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 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 or not;
And the second broadcasting module is used for broadcasting a detection result, and the detection result is used for determining whether to execute the power calculation task by the power calculation service node.
Optionally, after the second broadcasting module broadcasts the detection result, the apparatus further includes:
And the seventh processing module is used for pulling the task mirror image in the computing power entrusting node and detecting after receiving the task completion information broadcast by the computing power service node, and broadcasting abnormal information if the abnormality is detected.
The embodiment of the application also provides another computing power network processing device which 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 of the implementations of the application described and/or claimed in this document.
The computing network processing device includes a processor and a 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 executing within the computing power network processing device, including instructions stored in or on memory for graphical information displayed 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, if desired, along with multiple memories and multiple memories. The memory is used as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the second acquisition module 1001, the sixth processing module 1002, the second determination module 1003, and the second broadcast module 1004 shown in fig. 10) corresponding to a method of the computing network processing device in an embodiment of the present application. The processor executes various functional applications of the authentication platform and data processing, i.e. the method of implementing the computing power network processing device in the above-described method embodiments, by running non-transitory software programs, instructions and modules stored in the memory.
The computing power network processing device may also include an input device and an output device. The processor, memory, input devices, and output devices 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 power network processing device, such as a touch screen, a keypad, a mouse, or a plurality of mouse buttons, a trackball, a joystick, or the like. The output means may be an output device such as a display device of the computing 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 may be a touch screen.
The power calculation network processing device of the embodiment of the application can be used for executing the technical scheme of the method embodiments of the application, and the implementation principle and the technical effect are similar, and are not repeated here.
The embodiment of the application also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and the computer execution instructions are used for realizing the power calculation network processing method of any one of the above when being executed by a processor.
The embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program is used for realizing the power calculation network processing method of any one of the above steps when being executed by a processor.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Other embodiments of the 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 adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

Translated fromChinese
1.一种算力网络处理方法,应用于算力服务节点,其特征在于,包括:1. A computing power network processing method, applied to a computing power service node, characterized in that it includes:获取算力委托节点广播的算力请求,其中,所述算力请求包括算力任务和任务镜像;Obtaining a computing power request broadcasted by a computing power delegation node, wherein the computing power request includes a computing power task and a task image;若判断所述算力请求满足承担条件,则广播对所述算力请求的答复信息,其中,所述答复信息包括服务报价;所述承担条件包括:自身能够承担数据大小和算力资源数量大于所述算力任务中的数据大小和所需算力资源数量;If it is determined that the computing power request meets the undertaking conditions, the reply information to the computing power request is broadcast, wherein the reply information includes a service quotation; the undertaking conditions include: the data size and the number of computing power resources that can be undertaken by the computing power task are greater than the data size and the number of computing power resources required in the computing power task;接收所述算力委托节点广播的选择确认信息,若确定被所述算力委托节点选择为算力服务节点,则根据所述选择确认信息获取所述任务镜像的地址;所述选择确认信息中包括算力服务节点的标识信息以及所述任务镜像的地址;Receive the selection confirmation information broadcast by the computing power entrusting node, and if it is determined that the computing power entrusting node is selected as the computing power service node, obtain the address of the task image according to the selection confirmation information; the selection confirmation information includes the identification information of the computing power service node and the address of the task image;拉取所述任务镜像并运行,并获取多个检测节点广播的对所述任务镜像的检测结果;所述检测结果通过对当前算力服务节点中的任务镜像和所述算力委托节点中的任务镜像进行对比得到;Pull the task image and run it, and obtain the detection results of the task image broadcast by multiple detection nodes; the detection results are obtained by comparing the task image in the current computing power service node with the task image in the computing power entrusting node;根据所述检测结果,确定是否执行所述算力任务。Determine whether to execute the computing task based on the detection result.2.根据权利要求1所述的方法,其特征在于,所述根据所述检测结果,确定是否执行所述算力任务,包括:2. The method according to claim 1, characterized in that determining whether to execute the computing task according to the detection result comprises:若检测结果为检测通过的算力服务节点的个数与参与检测的算力服务节点的总数的比例,大于第一预设比例,则执行所述算力任务。If the detection result is that the ratio of the number of computing power service nodes that pass the detection to the total number of computing power service nodes participating in the detection is greater than the first preset ratio, the computing power task is executed.3.根据权利要求2所述的方法,其特征在于,在所述执行所述算力任务之后,还包括:3. The method according to claim 2, characterized in that after executing the computing task, it also includes:将算力任务执行结果发送至所述算力委托节点,并广播任务完成信息。The computing task execution result is sent to the computing task entrusting node, and the task completion information is broadcast.4.根据权利要求3所述的方法,其特征在于,在所述广播任务完成信息之后,还包括:4. The method according to claim 3, characterized in that after broadcasting the task completion information, it also includes:若接收到检测节点广播的异常信息,则确定所述算力委托节点异常,其中,所述异常信息是所述检测节点在所述算力任务执行结束之后,对任务执行完成后的算力委托节点镜像中的任务运行器和算力测试代码进行校验确定的。If the abnormal information broadcast by the detection node is received, it is determined that the computing power delegation node is abnormal, wherein the abnormal information is determined by the detection node after the execution of the computing power task is completed, by verifying the task runner and computing power test code in the computing power delegation node image after the task execution is completed.5.一种算力网络处理方法,应用于算力委托节点,其特征在于,包括:5. A computing power network processing method, applied to a computing power entrusting node, characterized in that it includes:广播算力请求,其中,所述算力请求包括算力任务和任务镜像;Broadcasting a computing power request, wherein the computing power request includes a computing power task and a task image;接收多个节点广播的对所述算力请求的答复信息,其中,所述答复信息包括服务报价;Receiving reply information to the computing power request broadcasted by multiple nodes, wherein the reply information includes a service quotation;根据所述答复信息,对所述多个节点进行筛选,确定进行算力任务委托的算力服务节点;According to the reply information, the multiple nodes are screened to determine the computing service node to which the computing task is delegated;根据所述算力服务节点生成选择确认信息,并广播所述选择确认信息;所述选择确认信息中包括算力服务节点的标识信息以及所述任务镜像的地址;Generate selection confirmation information according to the computing power service node, and broadcast the selection confirmation information; the selection confirmation information includes identification information of the computing power service node and the address of the task image;接收检测节点广播的对所述任务镜像的检测结果,所述检测结果用于所述算力服务节点确定是否执行所述算力任务;所述检测结果通过对当前算力服务节点中的任务镜像和所述算力委托节点中的任务镜像进行对比得到。The detection result of the task image broadcast by the receiving detection node is used by the computing power service node to determine whether to execute the computing power task; the detection result is obtained by comparing the task image in the current computing power service node with the task image in the computing power delegation node.6.根据权利要求5所述的方法,其特征在于,在所述接收检测节点广播的对所述任务镜像的检测结果之后,还包括:6. The method according to claim 5, characterized in that after the receiving detection result of the task image broadcasted by the detection node, it also includes:若所述检测结果为检测通过,则在接收到所述算力服务节点发送的算力任务执行结果之后,发送拉取执行后的任务镜像请求,所述拉取执行后的任务镜像请求用于请求所述算力服务节点拉取执行后的任务镜像。If the detection result is passed, after receiving the computing task execution result sent by the computing power service node, a request for pulling the executed task image is sent, and the request for pulling the executed task image is used to request the computing power service node to pull the executed task image.7.一种算力网络处理方法,应用于检测节点,其特征在于,包括:7. A computing power network processing method, applied to a detection node, characterized in that it includes:获取算力委托节点广播的算力请求,其中,所述算力请求包括算力任务和任务镜像;Obtaining a computing power request broadcasted by a computing power delegation node, wherein the computing power request includes a computing power task and a task image;在接收到所述算力委托节点广播的选择确认信息之后,根据所述选择确认信息确定算力服务节点,并拉取所述算力服务节点中的任务镜像;所述选择确认信息中包括算力服务节点的标识信息以及所述任务镜像的地址;After receiving the selection confirmation information broadcast by the computing power entrusting node, determining the computing power service node according to the selection confirmation information, and pulling the task image in the computing power service node; the selection confirmation information includes the identification information of the computing power service node and the address of the task image;根据所述算力请求中的任务镜像,和所述算力服务节点中的任务镜像进行检测,确定所述算力服务节点中的任务镜像的任务运行器和算力测试代码是否异常;Perform detection based on the task image in the computing power request and the task image in the computing power service node to determine whether the task runner and computing power test code of the task image in the computing power service node are abnormal;广播检测结果,所述检测结果用于所述算力服务节点确定是否执行所述算力任务;所述检测结果通过对当前算力服务节点中的任务镜像和所述算力委托节点中的任务镜像进行对比得到。The detection result is broadcasted, and the detection result is used by the computing power service node to determine whether to execute the computing power task; the detection result is obtained by comparing the task image in the current computing power service node with the task image in the computing power entrusting node.8.根据权利要求7所述的方法,其特征在于,在所述广播所述检测结果之后,还包括:8. The method according to claim 7, characterized in that after broadcasting the detection result, it also includes:在接收到所述算力服务节点广播的任务完成信息之后,拉取所述算力委托节点中的任务镜像并进行检测;After receiving the task completion information broadcasted by the computing power service node, pull the task image in the computing power entrusting node and perform detection;若检测异常,则广播异常信息。If an abnormality is detected, the abnormal information is broadcast.9.一种算力网络处理装置,其特征在于,包括:9. A computing power network processing device, characterized by comprising:第一获取模块,用于获取算力委托节点广播的算力请求,其中,所述算力请求包括算力任务和任务镜像;A first acquisition module is used to acquire a computing power request broadcasted by a computing power delegation node, wherein the computing power request includes a computing power task and a task image;第一处理模块,用于若判断所述算力请求满足承担条件,则广播对所述算力请求的答复信息,其中,所述答复信息包括服务报价;所述承担条件包括:自身能够承担数据大小和算力资源数量大于所述算力任务中的数据大小和所需算力资源数量;The first processing module is configured to broadcast a reply message to the computing power request if it is determined that the computing power request satisfies the undertaking condition, wherein the reply message includes a service quotation; the undertaking condition includes: the data size and the number of computing power resources that can be undertaken by the computing power task are greater than the data size and the number of computing power resources required in the computing power task;第二处理模块,用于接收所述算力委托节点广播的选择确认信息,若确定被所述算力委托节点选择为算力服务节点,则根据所述选择确认信息获取所述任务镜像的地址;所述选择确认信息中包括算力服务节点的标识信息以及所述任务镜像的地址;A second processing module is used to receive the selection confirmation information broadcast by the computing power entrusting node, and if it is determined that the computing power entrusting node is selected as the computing power service node, the address of the task image is obtained according to the selection confirmation information; the selection confirmation information includes the identification information of the computing power service node and the address of the task image;第三处理模块,用于拉取所述任务镜像并运行,并获取多个检测节点广播的对所述任务镜像的检测结果;所述检测结果通过对当前算力服务节点中的任务镜像和所述算力委托节点中的任务镜像进行对比得到;The third processing module is used to pull the task image and run it, and obtain the detection results of the task image broadcast by multiple detection nodes; the detection results are obtained by comparing the task image in the current computing power service node with the task image in the computing power entrusting node;第一确定模块,用于根据所述检测结果,确定是否执行所述算力任务。The first determination module is used to determine whether to execute the computing task according to the detection result.10.一种算力网络处理装置,其特征在于,包括:10. A computing power network processing device, comprising:第一广播模块,用于广播算力请求,其中,所述算力请求包括算力任务和任务镜像;A first broadcast module, configured to broadcast a computing power request, wherein the computing power request includes a computing power task and a task image;第一接收模块,用于接收多个节点广播的对所述算力请求的答复信息,其中,所述答复信息包括服务报价;A first receiving module, configured to receive reply information to the computing power request broadcasted by multiple nodes, wherein the reply information includes a service quotation;第四处理模块,用于根据所述答复信息,对所述多个节点进行筛选,确定进行算力任务委托的算力服务节点;A fourth processing module, configured to screen the multiple nodes according to the reply information, and determine a computing service node to entrust the computing task;第五处理模块,用于根据所述算力服务节点生成选择确认信息,并广播所述选择确认信息;所述选择确认信息中包括算力服务节点的标识信息以及所述任务镜像的地址;A fifth processing module, configured to generate selection confirmation information according to the computing power service node, and broadcast the selection confirmation information; the selection confirmation information includes identification information of the computing power service node and the address of the task image;第二接收模块,用于接收检测节点广播的对所述任务镜像的检测结果,所述检测结果用于所述算力服务节点确定是否执行所述算力任务;所述检测结果通过对当前算力服务节点中的任务镜像和算力委托节点中的任务镜像进行对比得到。The second receiving module is used to receive the detection result of the task image broadcast by the detection node, and the detection result is used by the computing power service node to determine whether to execute the computing power task; the detection result is obtained by comparing the task image in the current computing power service node with the task image in the computing power delegation node.11.一种算力网络处理装置,其特征在于,包括:11. A computing power network processing device, characterized in that it comprises:第二获取模块,用于获取算力委托节点广播的算力请求,其中,所述算力请求包括算力任务和任务镜像;A second acquisition module is used to acquire a computing power request broadcasted by a computing power entrusting node, wherein the computing power request includes a computing power task and a task image;第六处理模块,用于在接收到所述算力委托节点广播的选择确认信息之后,根据所述选择确认信息确定算力服务节点,并拉取所述算力服务节点中的任务镜像;所述选择确认信息中包括算力服务节点的标识信息以及所述任务镜像的地址;A sixth processing module is used to determine the computing power service node according to the selection confirmation information broadcast by the computing power entrusting node after receiving the selection confirmation information, and pull the task image in the computing power service node; the selection confirmation information includes the identification information of the computing power service node and the address of the task image;第二确定模块,用于根据所述算力请求中的任务镜像,和所述算力服务节点中的任务镜像进行检测,确定所述算力服务节点中的任务镜像的任务运行器和算力测试代码是否异常;A second determination module is used to detect according to the task image in the computing power request and the task image in the computing power service node, and determine whether the task runner and the computing power test code of the task image in the computing power service node are abnormal;第二广播模块,用于广播检测结果,所述检测结果用于所述算力服务节点确定是否执行所述算力任务;所述检测结果通过对当前算力服务节点中的任务镜像和所述算力委托节点中的任务镜像进行对比得到。The second broadcast module is used to broadcast the detection result, and the detection result is used by the computing power service node to determine whether to execute the computing power task; the detection result is obtained by comparing the task image in the current computing power service node with the task image in the computing power delegation node.12.一种算力网络处理设备,其特征在于,包括:12. A computing power network processing device, characterized in that it includes:至少一个处理器;以及at least one processor; and与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至4中任一项、如权利要求5或6中任一项,或者如权利要求7或8中任一项所述的算力网络处理方法。The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the computing power network processing method as described in any one of claims 1 to 4, any one of claims 5 or 6, or any one of claims 7 or 8.13.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1至4中任一项、如权利要求5或6中任一项,或者如权利要求7或8中任一项所述的算力网络处理方法。13. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement a computing power network processing method as claimed in any one of claims 1 to 4, any one of claims 5 or 6, or any one of claims 7 or 8.14.一种算力网络处理系统,其特征在于,包括算力服务节点、算力委托节点和至少一个检测节点;14. A computing power network processing system, characterized by comprising a computing power service node, a computing power entrusting node and at least one detection node;所述算力服务节点用于获取算力委托节点广播的算力请求,其中,所述算力请求包括算力任务和任务镜像;若判断所述算力请求满足承担条件,则广播对所述算力请求的答复信息,其中,所述答复信息包括服务报价;所述承担条件包括:自身能够承担数据大小和算力资源数量大于所述算力任务中的数据大小和所需算力资源数量;接收所述算力委托节点广播的选择确认信息,若确定被所述算力委托节点选择为算力服务节点,则根据所述选择确认信息获取所述任务镜像的地址;所述选择确认信息中包括算力服务节点的标识信息以及所述任务镜像的地址;拉取所述任务镜像并运行,并获取多个检测节点广播的对所述任务镜像的检测结果;所述检测结果通过对当前算力服务节点中的任务镜像和所述算力委托节点中的任务镜像进行对比得到;根据所述检测结果,确定是否执行所述算力任务;The computing power service node is used to obtain the computing power request broadcasted by the computing power delegation node, wherein the computing power request includes a computing power task and a task image; if it is determined that the computing power request meets the undertaking conditions, then the reply information to the computing power request is broadcasted, wherein the reply information includes a service quotation; the undertaking conditions include: the data size and the number of computing power resources that can be undertaken by itself are greater than the data size and the number of computing power resources required in the computing power task; receiving the selection confirmation information broadcasted by the computing power delegation node, if it is determined that it is selected as the computing power service node by the computing power delegation node, then obtaining the address of the task image according to the selection confirmation information; the selection confirmation information includes the identification information of the computing power service node and the address of the task image; pulling the task image and running it, and obtaining the detection results of the task image broadcasted by multiple detection nodes; the detection results are obtained by comparing the task image in the current computing power service node with the task image in the computing power delegation node; according to the detection results, determining whether to execute the computing power task;所述算力委托节点用于广播算力请求;接收多个节点广播的对所述算力请求的答复信息;根据所述答复信息,对所述多个节点进行筛选,确定进行算力任务委托的算力服务节点;根据所述算力服务节点生成选择确认信息,并广播所述选择确认信息;接收检测节点广播的对所述任务镜像的检测结果,所述检测结果用于所述算力服务节点确定是否执行所述算力任务;The computing power entrusting node is used to broadcast computing power requests; receive reply information to the computing power requests broadcasted by multiple nodes; screen the multiple nodes according to the reply information to determine the computing power service node to entrust the computing power task; generate selection confirmation information according to the computing power service node, and broadcast the selection confirmation information; receive the detection result of the task image broadcasted by the detection node, and the detection result is used by the computing power service node to determine whether to execute the computing power task;所述检测节点用于获取算力委托节点广播的算力请求;在接收到所述算力委托节点广播的选择确认信息之后,根据所述选择确认信息确定算力服务节点,并拉取所述算力服务节点中的任务镜像;根据所述算力请求中的任务镜像,和所述算力服务节点中的任务镜像进行检测,确定所述算力服务节点中的任务镜像的任务运行器和算力测试代码是否异常;广播所述检测结果,所述检测结果用于所述算力服务节点确定是否执行所述算力任务。The detection node is used to obtain the computing power request broadcast by the computing power delegation node; after receiving the selection confirmation information broadcast by the computing power delegation node, determine the computing power service node according to the selection confirmation information, and pull the task image in the computing power service node; perform detection based on the task image in the computing power request and the task image in the computing power service node to determine whether the task runner and computing power test code of the task image in the computing power service node are abnormal; broadcast the detection result, and the detection result is used by the computing power service node to determine whether to execute the computing power task.
CN202111210942.9A2021-10-182021-10-18Computing power network processing method, device, equipment and storage mediumActiveCN113900837B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111210942.9ACN113900837B (en)2021-10-182021-10-18Computing power network processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111210942.9ACN113900837B (en)2021-10-182021-10-18Computing power network processing method, device, equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN113900837A CN113900837A (en)2022-01-07
CN113900837Btrue CN113900837B (en)2024-12-17

Family

ID=79192420

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111210942.9AActiveCN113900837B (en)2021-10-182021-10-18Computing power network processing method, device, equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN113900837B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115499449A (en)*2022-07-282022-12-20阿里巴巴(中国)有限公司Mirror image acceleration system, method and device
WO2024036470A1 (en)*2022-08-162024-02-22Ming ZhongxingComputing power network system
CN115396210B (en)*2022-08-262025-03-18中国联合网络通信集团有限公司 Computing power sharing method, blockchain network nodes, blockchain network
CN115359427B (en)*2022-08-302025-09-02深圳市芯存科技有限公司 Intelligent security method, storage medium and device
CN118260092B (en)*2024-05-312024-08-02电科云(北京)科技有限公司Computing power distribution method and device, seed server and multi-element computing power service cluster

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111262906A (en)*2020-01-082020-06-09中山大学 Mobile user terminal task offloading method under distributed edge computing service system
CN111800442A (en)*2019-04-082020-10-20阿里巴巴集团控股有限公司Network system, mirror image management method, device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9813636B2 (en)*2015-07-242017-11-07Mediatek Inc.Processor and apparatus capable of reducing image flicker and a related method
CN112114950A (en)*2020-09-212020-12-22中国建设银行股份有限公司Task scheduling method and device and cluster management system
CN112181599B (en)*2020-10-162023-05-16中国联合网络通信集团有限公司Model training method, device and storage medium
CN112907252B (en)*2021-02-022023-10-31中国科学院计算技术研究所Block chain transaction method and system based on multi-person chain lower channel
CN113157444B (en)*2021-03-292023-12-01中国联合网络通信集团有限公司 A computing power service authentication method, equipment and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111800442A (en)*2019-04-082020-10-20阿里巴巴集团控股有限公司Network system, mirror image management method, device and storage medium
CN111262906A (en)*2020-01-082020-06-09中山大学 Mobile user terminal task offloading method under distributed edge computing service system

Also Published As

Publication numberPublication date
CN113900837A (en)2022-01-07

Similar Documents

PublicationPublication DateTitle
CN113900837B (en)Computing power network processing method, device, equipment and storage medium
Liu et al.Elastic and cost-effective data carrier architecture for smart contract in blockchain
US12126732B2 (en)Blockchain consensus method, device and system
CN112527912B (en)Data processing method and device based on block chain network and computer equipment
CN111294379B (en)Block chain network service platform, authority hosting method thereof and storage medium
CN115701078B (en)Cross-chain transaction processing method, device, electronic equipment and storage medium
CN111949531B (en)Block chain network testing method, device, medium and electronic equipment
CN111880919B (en)Data scheduling method, system and computer equipment
CN116866045B (en)Block chain credible predictor decision support system based on access control rule
CN113328854B (en)Service processing method and system based on block chain
CN114329604A (en) Blockchain-based multi-party privacy computing method, device, system and storage medium
CN113873004A (en)Task execution method and device and distributed computing system
CN114020845A (en) Blockchain network management method, system, electronic device and storage medium
Kaur et al.A novel blockchain model for securing IoT based data transmission
CN110990790B (en)Data processing method and equipment
US10970180B2 (en)Methods and apparatus for verifying processing results and/or taking corrective actions in response to a detected invalid result
CN114827161A (en)Service calling request sending method and device, electronic equipment and readable storage medium
CN112181599B (en)Model training method, device and storage medium
CN112350868B (en)Wall opening processing method, device, server, system and readable storage medium
CN115829731A (en) A transaction information processing method and device
CN112738213A (en)Block chain-based task demand response method, device, system and storage medium
CN117829841A (en)Business transaction supervision method and device based on blockchain and electronic equipment
CN115022012B (en)Data transmission method, device, system, equipment and storage medium
CN111770101B (en)System and method for accessing block chain network
CN111915325B (en)Method, system and computer readable storage medium for tracing blockchain transaction information

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp