CN115766830B - Computing power network processing method, device, equipment and storage medium - Google Patents
Computing power network processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN115766830B CN115766830B CN202310010255.5A CN202310010255A CN115766830B CN 115766830 B CN115766830 B CN 115766830B CN 202310010255 A CN202310010255 A CN 202310010255A CN 115766830 B CN115766830 B CN 115766830B
- Authority
- CN
- China
- Prior art keywords
- power network
- network access
- computing
- authorization code
- computing power
- 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
Links
- 238000003672 processing method Methods 0.000 title description 6
- 238000013475 authorization Methods 0.000 claims abstract description 117
- 238000012545 processing Methods 0.000 claims abstract description 49
- 238000000034 method Methods 0.000 claims abstract description 42
- 238000004422 calculation algorithm Methods 0.000 claims description 14
- 238000004364 calculation method Methods 0.000 claims description 14
- 230000004044 response Effects 0.000 claims description 5
- 238000012795 verification Methods 0.000 claims description 3
- 230000003340 mental effect Effects 0.000 claims 2
- 238000004891 communication Methods 0.000 abstract description 7
- 238000004590 computer program Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000000275 quality assurance Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a method, a device, equipment and a storage medium for processing a computing power network, which relate to the technical field of communication, and the method is applied to a central computing power network access node and comprises the following steps: receiving registration requests of other computing power network access nodes; broadcasting computing power network computing power information on a blockchain network in a private key signature mode; receiving a transaction record request sent by a user node on a blockchain network; determining a target power network access node according to the transaction record request, and generating an authorization code; and sending the authorization code to the blockchain network so that the user node uses the power network according to the authorization code, forming a distributed power network by a plurality of power service providers through interconnection of power network access nodes, registering the self computing node in the self power network access node by each power service provider, and forming a power network blockchain by the plurality of power network access nodes.
Description
Technical Field
The present disclosure 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
A computing network (Compute First Networking, CFN) is a new type of information infrastructure that allocates and flexibly schedules computing, storage, and network resources as needed between clouds, networks, edges, according to business needs. The computing power Network utilizes novel Network technologies such as cloud Network fusion technology and Software Defined Network (SDN) Network function virtualization (Network Function Virtualization, NFV) and the like, the edge computing nodes, the cloud computing nodes and various Network resources including wide area networks are deeply fused together, the control complexity of the edge computing nodes is reduced, and the computing and storage resources of the cloud computing nodes and the Network resources of the wide area networks are cooperated through a centralized control or distributed scheduling method to form a new generation information infrastructure, so that an overall computing power service comprising computation, storage and connection is provided for users, and flexible and schedulable on-demand service is provided according to service characteristics.
Currently, the computing power network scheme is basically provided by a certain cloud computing power server, each cloud computing power server adopts a centralized construction method, and a user registers, logs in and then purchases computing power resources of a virtual machine or a high-performance computer group (High Performance Computing, HPC).
However, the computing power network processing method in the prior art cannot realize interconnection of the computing power networks, and has poor user experience.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for processing a power computing network, which are used for solving the technical problems that the power computing network processing method in the prior art cannot realize interconnection of the power computing network and has poor user experience.
In a first aspect, the present application provides a method for processing a computing power network, applied to a central computing power network access node, including:
receiving registration requests of other computing power network access nodes, wherein the registration request of each computing power network access node comprises computing power price information and specification characteristic information;
broadcasting computing capability information of a computing power network on a blockchain network in a private key signature mode, wherein the computing capability information of the computing power network comprises computing power price information and specification characteristic information of computing nodes corresponding to all computing power network access nodes in the computing power network, and all computing power network access nodes in the computing power network comprise the central computing power network access node and other computing power network access nodes registered in the central computing power network access node;
Receiving a transaction record request sent by a user node on the blockchain network;
determining a target power network access node according to the transaction record request, and generating an authorization code;
and sending the authorization code to the blockchain network so that the user node uses a computing power network according to the authorization code.
The present application provides a method for processing a power computing network, wherein a plurality of power computing service providers form a distributed power computing network through interconnection of power computing network access nodes, each power computing service provider registers its own computing node in its own power computing network access node, and the plurality of power computing network access nodes form a power computing network blockchain. Specifically, any one of the power network access nodes is used as a central power network access node, all the power network access nodes are registered under the node, the node publishes power network computing capability information, any user node can be added into a power network blockchain to initiate own power demand, the blockchain automatically matches the best computing node for the user node, and the user node uses the power network through automatic matching. The power computing network is interconnected, does not need manual maintenance and runs automatically, and can automatically provide a proper power computing access point for a user, so that the user experience is improved.
Optionally, the transaction record request includes target price information of the user node, internet service provider network and location information; correspondingly, the determining the target power network access node according to the transaction record request, and generating the authorization code comprises the following steps: and determining a target computing power network access node according to the target price information of the user node, the Internet service provider network and the position information, and generating an authorization code.
According to the method and the device, the appropriate computing power network access node and the corresponding computing node in the computing power network can be automatically distributed to the user according to the target price information of the user node, the Internet service provider network and the position information, and user experience is improved.
Optionally, the determining the target computing power network access node according to the target price information of the user node, the internet service provider network and the location information, and generating the authorization code include: determining a target computing power network access node according to the Internet service provider network and the position information of the user node; determining the time limit of the user node using the power network according to the power price information of the target power network access node and the target price information; and generating an authorization code according to the time limit and the target power network access node.
Optionally, after the transmitting the authorization code to the blockchain network to enable the user node to use a computing power network according to the authorization code, the method further includes: and rejecting the user node from using the power network in response to the time of the user node using the power network reaching the time limit.
Here, when the authorization code for using the power network is automatically generated for the user, a time period can be generated for the authorization code according to the power price information of the target power network access node and the target price information provided by the user, so that the use cost and the use rule of the power network are maintained, and the stable operation of the power service provider is ensured.
Optionally, the sending the authorization code to the blockchain network to enable the user node to use a computing power network according to the authorization code includes:
and according to the public key of the user node, encrypting the authorization code through a preset algorithm to obtain an encrypted authorization code, sending the encrypted authorization code to the blockchain network, so that the user node obtains the encrypted authorization code through the blockchain network, decrypting the encrypted authorization code through the private key of the user node and the preset algorithm to obtain the authorization code, and using a calculation network according to the authorization code.
Here, when the authorization code is sent to the user node, the public key of the user node is used for encrypting the authorization code in advance, and only the user node can acquire decryption after the authorization code is encrypted, so that the security and the reliability of the power network are improved, and the user experience is further improved.
Optionally, after the transmitting the authorization code to the blockchain network to enable the user node to use a computing power network according to the authorization code, the method further includes:
after the user node uses the power network, marking and signing are carried out on a preset message so as to carry out network forwarding service quality verification on the target power network access node and the computing nodes corresponding to all power network access nodes in the power network.
Optionally, the method further comprises: and receiving accounting information sent by an accounting power network access node, wherein the accounting power network access node is any power network access node except the target power network access node and the central power network access node in the power network.
Here, in the present application, the accounting right of the blockchain is robbed by the redundant power node of the power network access node, that is, the redundant power node can be used as a miner, and the power access point that obtains the accounting right can obtain a certain return. All transactions between all user nodes and the computing power nodes are robbed accounting rights by the computing power network access nodes to complete the recording. Once accounting is successful, all the network access points keep transaction records locally. Nodes in the block chain are fully applied, and the stability and the utilization rate of the computational power network are improved.
In a second aspect, the present application provides a computing power network processing apparatus, applied to a central computing power network access node, including:
the registration module is used for receiving registration requests of other computing power network access nodes, wherein the registration request of each computing power network access node comprises computing power price information and specification characteristic information;
the first broadcasting module is used for broadcasting computing capability information of the computing power network on the blockchain network in a private key signature mode, wherein the computing capability information of the computing power network comprises computing power price information and specification characteristic information of computing nodes corresponding to all computing power network access nodes in the computing power network, and all computing power network access nodes in the computing power network comprise the central computing power network access node and other computing power network access nodes registered in the central computing power network access node;
the first receiving module is used for receiving a transaction record request sent by a user node on the blockchain network;
the generation module is used for determining a target power network access node according to the transaction record request and generating an authorization code;
and the sending module is used for sending the authorization code to the blockchain network so that the user node uses a computing network according to the authorization code.
Optionally, the transaction record request includes target price information of the user node, internet service provider network and location information;
correspondingly, the generating module is specifically configured to:
and determining a target computing power network access node according to the target price information of the user node, the Internet service provider network and the position information, and generating an authorization code.
Optionally, the generating module is further specifically configured to:
determining a target computing power network access node according to the Internet service provider network and the position information of the user node;
determining the time limit of the user node using the power network according to the power price information of the target power network access node and the target price information;
and generating an authorization code according to the time limit and the target power network access node.
Optionally, after the transmitting module transmits the authorization code to the blockchain network, so that the user node uses an algorithm network according to the authorization code, the apparatus further includes:
and the first processing module is used for refusing the user node to use the computing power network in response to the time of the user node using the computing power network reaching the time limit.
Optionally, the sending module is specifically configured to:
and according to the public key of the user node, encrypting the authorization code through a preset algorithm to obtain an encrypted authorization code, sending the encrypted authorization code to the blockchain network, so that the user node obtains the encrypted authorization code through the blockchain network, decrypting the encrypted authorization code through the private key of the user node and the preset algorithm to obtain the authorization code, and using a calculation network according to the authorization code.
Optionally, after the transmitting module transmits the authorization code to the blockchain network, so that the user node uses an algorithm network according to the authorization code, the apparatus further includes:
and the second processing module is used for marking and signing the preset message after the user node uses the power network so as to verify the network forwarding service quality of the target power network access node and the computing nodes corresponding to all power network access nodes in the power network.
Optionally, the apparatus further includes:
and the second receiving module is used for receiving the accounting information sent by the accounting power network access node, wherein the accounting power network access node is any accounting power network access node except the target accounting power network access node and the central accounting power network access node in the accounting power network.
In a third 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 a fourth 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 a fifth 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.
According to the method, a plurality of computing power service providers form a distributed computing power network through interconnection of computing power network access nodes, each computing power service provider registers own computing nodes in own computing power network access nodes, and the computing power network access nodes form a computing power network block chain. Specifically, any one of the power network access nodes is used as a central power network access node, all the power network access nodes are registered under the node, the node publishes power network computing capability information, any user node can be added into a power network blockchain to initiate own power demand, the blockchain automatically matches the best computing node for the user node, and the user node uses the power network through automatic matching. The power computing network is interconnected, does not need manual maintenance and runs automatically, and can automatically provide a proper power computing access point for a user, so that the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may 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 architecture according to an embodiment of the present disclosure;
fig. 2 is a flow chart of a method for processing a power network according to an embodiment of the present application;
FIG. 3 is a flowchart of another method for processing a power network according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a computing power network processing device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a computing 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 of this application and in the above-described figures, 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 embodiments of the present 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.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region, and provide corresponding operation entries for the user to select authorization or rejection.
The current computing power network scheme is basically provided by a certain cloud computing power service provider, each cloud computing power service provider adopts a centralized construction method, a user registers, logs in, then purchases virtual machines or HPC computing power resources, and a plurality of cloud computing power service providers lack interconnection and sufficient competition and are easy to lock for the user. The power network processing method in the prior art cannot realize interconnection of power networks and has poor user experience.
In order to solve the above technical problems, embodiments of the present application provide a method, an apparatus, a device, and a storage medium for processing a power computing network, where a plurality of power computing service providers form a distributed power computing network through interconnection of power computing network access nodes, each power computing service provider registers its own computing node in its own power computing network access node (power computing access point), and the plurality of power computing network access nodes form a power computing network blockchain.
Optionally, fig. 1 is a schematic diagram of a computing power network processing system architecture according to an embodiment of the present application. As shown in fig. 1, the above architecture includes: a central power network access node 101, a first power network access node 102, a second power network access node 103, a third power network access node 104 and a user node 105.
The number of the power network access nodes can be determined according to practical situations, and the number of the power network access nodes in the embodiment of the present application is only schematic, and the central power network access node 101, the first power network access node 102, the second power network access node 103, and the third power network access node 104 are all power access points of a power service provider. Only 4 power network access nodes are exemplified in fig. 1, and in actual cases, more or fewer may be used.
Optionally, each computing power service provider registers its own computing node in its own computing power access point, multiple computing power access points form a computing power network blockchain, the computing power access point issues a broadcast message mode of a computing power private key signature in the blockchain network, any user node can be added into the blockchain to initiate its own computing power requirement in a broadcast message mode of the private key signature, the blockchain automatically matches the best computing node for the user, and after the matching is successful, the transaction is completed in the blockchain.
Optionally, the computing network access points are interconnected to form a computing network, and the computing network can be directly interconnected through high-speed optical fibers physically, or a high-speed virtual private network (Virtual Private Network, VPN) with quality assurance can be constructed in a public metropolitan area backbone network. Logically, the computing network access points are interconnected in a blockchain manner to form a computing network blockchain, and the computing network access points are simultaneously interconnected with the Internet, so that a request from a user node is received.
Optionally, all the computing nodes register in the central computing network access node through their corresponding computing network access nodes.
It will be appreciated that the number and specific structure of the central power network access node, the first power network access node, the second power network access node, the third power network access node, and the user node may be determined according to practical situations, and fig. 1 is only schematic, and the number of the nodes is not specifically limited in the embodiment of the present application.
The number of the power network access nodes may be determined according to the actual situation, and only 4 power network access nodes are taken as an example in fig. 1, and in the actual situation, more or fewer power network access nodes may be used.
The nodes are all nodes connected in the blockchain, the nodes can be cloud servers, servers or terminal equipment, and the like, and any two nodes can communicate through a blockchain network.
The node may be provided on a server or a terminal device, or the node may be the server or the terminal device itself.
It will be appreciated that the architecture illustrated by embodiments of the present application does not 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 fewer components than those illustrated, or some components may be combined, some components may be separated, 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.
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 in 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 appearance of a new service scenario, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
The following description of the technical solutions of the present application will take several embodiments as examples, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a flow chart of a method for processing a computing power network according to an embodiment of the present application, where the embodiment of the present application may be applied to the central computing power network access node 101 in fig. 1, where the central computing power network access node 101 may be a server or a terminal device, and a specific execution body may be determined according to an actual application scenario. As shown in fig. 2, the method comprises the steps of:
s201: registration requests for other power network access nodes are received.
Wherein the registration request of each power network access node includes power price information and specification characteristic information.
Alternatively, the other power network access node may be the first power network access node 102, the second power network access node 103 or the third power network access node 104 in fig. 1.
Optionally, the specification characteristic information includes protocol (Internet Protocol, IP) address information of the interconnection between the networks.
S202: the computing power network computing power information is broadcast over the blockchain network in a private key signed manner.
The computing power network computing capability information comprises computing power price information and specification characteristic information of computing nodes corresponding to all computing power network access nodes in the computing power network, and all computing power network access nodes in the computing power network comprise a central computing power network access node and other computing power network access nodes registered in the central computing power network access node.
Optionally, the power price information and the specification characteristic information of all the power network access nodes registered in the central power network access node are broadcasted in a private key signature mode.
Optionally, the self-computing service capability white paper is published on the blockchain in a broadcast message mode signed by a private key.
S203: a transaction record request sent by a user node over a blockchain network is received.
Optionally, the user node issues the transaction record request on the blockchain network by means of broadcast information signed by a private key.
S204: and determining the target power network access node according to the transaction record request, and generating an authorization code.
Optionally, the transaction record request includes target price information of the user node, internet service provider network and location information; accordingly, determining the target power network access node according to the transaction record request, generating an authorization code, including: and determining a target computing power network access node according to the target price information of the user node, the Internet service provider network and the position information, and generating an authorization code.
According to the method and the device for the user node, the appropriate computing power network access node and the corresponding computing node in the computing power network can be automatically distributed to the user according to the target price information of the user node, the Internet service provider network and the position information, and user experience is improved.
Optionally, determining the target power network access node according to the target price information of the user node, the internet service provider network and the location information, and generating the authorization code includes: determining a target computing power network access node according to the Internet service provider network and the position information of the user node; determining the time limit of using the power computing network by the user node according to the power computing price information and the target price information of the target power computing network access node; and generating an authorization code according to the time limit and the target power network access node.
Optionally, after sending the authorization code to the blockchain network to cause the user node to use the power network according to the authorization code, further comprising: in response to a time arrival time period of the user node using the power network, the user node is denied use of the power network.
Here, when the authorization code for using the power network is automatically generated for the user, the embodiment of the application can generate a time period for the authorization code according to the power price information of the target power network access node and the target price information provided by the user, so as to maintain the use cost and the use rule of the power network and ensure the stable operation of the power service provider.
Optionally, after the expiration of a time period, such as 100 days, the authorization code generated by the computing access point will be disabled, the computing node automatically denies access to the user node, the transaction is ended, and the transfer on the blockchain is automatically counted into the account of the target computing network access node.
Optionally, sending the authorization code to the blockchain network to cause the user node to use the power network according to the authorization code, comprising: and encrypting the authorization code through a preset algorithm according to the public key of the user node to obtain an encrypted authorization code, sending the encrypted authorization code to the blockchain network so that the user node can acquire the encrypted authorization code through the blockchain network, decrypting the encrypted authorization code through the private key of the user node and the preset algorithm to obtain the authorization code, and using the calculation network according to the authorization code.
Here, when the authorization code is sent to the user node, the public key of the user node is used for encrypting the authorization code in advance, and only the user node can acquire decryption after the authorization code is encrypted, so that the security and the reliability of the power network are improved, and the user experience is further improved.
Illustratively, the user node accesses the blockchain of the computing power network through the Internet, and the user node can directly form the computing power transaction on the blockchain according to the white paper book issued by the computing power access point. The user issues a transaction record in a broadcast message mode of private key signature in the blockchain, for example, the target price information is 300 yuan, and the blockchain deducts 300 yuan from the account of the user node, but temporarily does not account for the account of the target power network access node. The target computing power network access node or the central computing power network access node automatically generates the authorization Code for accessing the same, encrypts the authorization Code according to a preset algorithm through a public key of a user to obtain E (Code), then issues the E (Code) to a blockchain in a broadcast message mode of private key signature, and meanwhile, if the user publishes own Internet service provider (Internet Service Provider, ISP) network and position, the computing network access point closest to the user can be calculated, and a certain service benefit is provided for the closest computing network access point through the blockchain.
S205: the authorization code is sent to the blockchain network to enable the user node to use the power network according to the authorization code.
Optionally, after sending the authorization code to the blockchain network to cause the user node to use the power network according to the authorization code, further comprising:
after the user node uses the power network, marking and signing are carried out on a preset message so as to carry out network forwarding service quality verification on the target power network access node and the computing nodes corresponding to all power network access nodes in the power network.
The embodiment of the application provides a power calculation network processing method, wherein a plurality of power calculation service providers form a distributed power calculation network through interconnection of power calculation network access nodes, each power calculation service provider registers own calculation nodes in own power calculation network access nodes, and the power calculation network access nodes form a power calculation network block chain. Specifically, any one of the power network access nodes is used as a central power network access node, all the power network access nodes are registered under the node, the node publishes power network computing capability information, any user node can be added into a power network blockchain to initiate own power demand, the blockchain automatically matches the best computing node for the user node, and the user node uses the power network through automatic matching. The power computing network is interconnected, does not need manual maintenance and runs automatically, and can automatically provide a proper power computing access point for a user, so that the user experience is improved.
Optionally, fig. 3 is a flow chart of another method for processing a power network according to an embodiment of the present application, as shown in fig. 3, where the method includes:
s301: a registration request for other computing power network access nodes is received, wherein the registration request for each computing power network access node includes computing power price information and specification characteristic information.
S302: the computing power network computing power information is broadcast over the blockchain network in a private key signed manner.
The computing power network computing capability information comprises computing power price information and specification characteristic information of computing nodes corresponding to all computing power network access nodes in the computing power network, and all computing power network access nodes in the computing power network comprise a central computing power network access node and other computing power network access nodes registered in the central computing power network access node.
S303: a transaction record request sent by a user node over a blockchain network is received.
S304: and determining the target power network access node according to the transaction record request, and generating an authorization code.
S305: the authorization code is sent to the blockchain network to enable the user node to use the power network according to the authorization code.
The implementation of steps S301 to S305 is similar to that of steps S201 to S205, and will not be described here.
S306: and receiving the accounting information sent by the accounting force network access node.
Wherein the accounting power network access node is any power network access node in the power network except for the target power network access node and the central power network access node.
Alternatively, the billing power network access node may be the first power network access node 102, the second power network access node 103 or the third power network access node 104 in fig. 1.
Optionally, the accounting rights of the blockchain are robbed by redundant power nodes of the power access point. That is, the redundant power node can be used as a miner, and the power access point for obtaining the accounting right can obtain a certain return. Transactions between all users and the computing power node are robbed accounting rights by the computing power access point to complete the record. Once accounting is successful, all the network access points keep transaction records locally.
Here, in the embodiment of the present application, the accounting right of the blockchain is robbed by the redundant accounting nodes of the accounting network access node, that is, the redundant accounting nodes can be used as miners, and the accounting access point that obtains the accounting right can obtain a certain return. All transactions between all user nodes and the computing power nodes are robbed accounting rights by the computing power network access nodes to complete the recording. Once accounting is successful, all the network access points keep transaction records locally. Nodes in the block chain are fully applied, and the stability and the utilization rate of the computational power network are improved.
Fig. 4 is a schematic structural diagram of a computing power network processing device provided in an embodiment of the present application, which is applied to a central computing power network access node, as shown in fig. 4, where the device in the embodiment of the present application includes: a registration module 401, a first broadcast module 402, a first receive module 403, a generation module 404, and a transmission module 405. The power network processing means may be a server or a terminal device, or a chip or an integrated circuit implementing the functions of the server or the terminal device. Here, the division of the registration module 401, the first broadcast module 402, the first receiving module 403, the generating module 404, and the transmitting module 405 is only a division of a logic function, and both may be integrated or independent physically.
The system comprises a registration module, a power management module and a power management module, wherein the registration module is used for receiving registration requests of other power network access nodes, and the registration request of each power network access node comprises power price information and specification characteristic information;
the first broadcasting module is used for broadcasting computing capability information of the computing power network on the blockchain network in a private key signature mode, wherein the computing capability information of the computing power network comprises computing power price information and specification characteristic information of computing nodes corresponding to all computing power network access nodes in the computing power network, and all computing power network access nodes in the computing power network comprise a central computing power network access node and other computing power network access nodes registered in the central computing power network access node;
The first receiving module is used for receiving a transaction record request sent by a user node on a blockchain network;
the generation module is used for determining a target power network access node according to the transaction record request and generating an authorization code;
and the sending module is used for sending the authorization code to the blockchain network so that the user node uses the computing power network according to the authorization code.
Optionally, the transaction record request includes target price information of the user node, internet service provider network and location information;
correspondingly, the generating module is specifically configured to:
and determining a target computing power network access node according to the target price information of the user node, the Internet service provider network and the position information, and generating an authorization code.
Optionally, the generating module is further specifically configured to:
determining a target computing power network access node according to the Internet service provider network and the position information of the user node;
determining the time limit of using the power computing network by the user node according to the power computing price information and the target price information of the target power computing network access node;
and generating an authorization code according to the time limit and the target power network access node.
Optionally, after the transmitting module transmits the authorization code to the blockchain network to enable the user node to use the power network according to the authorization code, the apparatus further includes:
And the first processing module is used for rejecting the user node to use the computational power network in response to the time reaching the time limit of the user node to use the computational power network.
Optionally, the sending module is specifically configured to:
and encrypting the authorization code through a preset algorithm according to the public key of the user node to obtain an encrypted authorization code, sending the encrypted authorization code to the blockchain network so that the user node can acquire the encrypted authorization code through the blockchain network, decrypting the encrypted authorization code through the private key of the user node and the preset algorithm to obtain the authorization code, and using the calculation network according to the authorization code.
Optionally, after the transmitting module transmits the authorization code to the blockchain network to enable the user node to use the power network according to the authorization code, the apparatus further includes:
and the second processing module is used for marking and signing the preset message after the user node uses the power network so as to verify the network forwarding service quality of the target power network access node and the computing nodes corresponding to all power network access nodes in the power network.
Optionally, the apparatus further includes:
and the second receiving module is used for receiving the accounting information sent by the accounting power network access node, wherein the accounting power network access node is any power network access node except the target power network access node and the central power network access node in the power network.
The embodiment of the application also provides a computing power network processing device.
Referring to fig. 5, there is shown a schematic diagram of a computing power network processing device 500 suitable for use in implementing embodiments of the present disclosure, the computing power network processing device 500 may be a terminal device or a server. The terminal device may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (Personal Digital Assistant, PDA for short), a tablet (Portable Android Device, PAD for short), a portable multimedia player (Portable Media Player, PMP for short), an in-vehicle terminal (e.g., an in-vehicle navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The computing power network processing device illustrated in fig. 5 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 5, the power network processing apparatus 500 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 501 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage device 508 into a random access Memory (Random Access Memory, RAM) 503. In the RAM 503, various programs and data required for the operation of the power network processing apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (Liquid Crystal Display, abbreviated as LCD), a speaker, a vibrator, and the like; storage 508 including, for example, magnetic tape, hard disk, etc.; and communication means 509. The communication means 509 may allow the computing network processing device 500 to communicate wirelessly or by wire with other devices to exchange data. While fig. 5 shows a computing network processing device 500 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or from the storage means 508, or from the ROM 502. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 501.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be embodied in the computing network processing device; or may exist alone without being incorporated into the computing network processing device.
The computer readable medium carries one or more programs which, when executed by the computing power network processing device, cause the computing power network processing device to perform the methods shown in the above embodiments.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (Local Area Network, LAN for short) or a wide area network (Wide Area Network, WAN for short), or it may be connected to an external computer (e.g., connected via the internet using an internet service provider).
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. 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 each embodiment 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 (8)
1. A method for processing a mental network, which is applied to a central mental network access node, comprising:
receiving registration requests of other computing power network access nodes, wherein the registration request of each computing power network access node comprises computing power price information and specification characteristic information;
broadcasting computing capability information of a computing power network on a blockchain network in a private key signature mode, wherein the computing capability information of the computing power network comprises computing power price information and specification characteristic information of computing nodes corresponding to all computing power network access nodes in the computing power network, and all computing power network access nodes in the computing power network comprise the central computing power network access node and other computing power network access nodes registered in the central computing power network access node;
receiving a transaction record request sent by a user node on the blockchain network;
determining a target power network access node according to the transaction record request, and generating an authorization code;
Transmitting the authorization code to the blockchain network so that the user node uses an algorithm network according to the authorization code;
the transaction record request comprises target price information of a user node, an Internet service provider network and position information;
correspondingly, the determining the target power network access node according to the transaction record request, and generating the authorization code comprises the following steps:
determining a target computing power network access node according to the target price information of the user node, the Internet service provider network and the position information, and generating an authorization code;
the determining the target computing power network access node according to the target price information of the user node, the internet service provider network and the position information, and generating an authorization code comprises the following steps:
determining a target computing power network access node according to the Internet service provider network and the position information of the user node;
determining the time limit of the user node using the power network according to the power price information of the target power network access node and the target price information;
and generating an authorization code according to the time limit and the target power network access node.
2. The method of claim 1, further comprising, after said transmitting said authorization code to said blockchain network to cause said user node to use a power network in accordance with said authorization code:
and rejecting the user node from using the power network in response to the time of the user node using the power network reaching the time limit.
3. The method of claim 1, wherein said transmitting the authorization code to the blockchain network to cause the user node to use a computational power network in accordance with the authorization code comprises:
and according to the public key of the user node, encrypting the authorization code through a preset algorithm to obtain an encrypted authorization code, sending the encrypted authorization code to the blockchain network, so that the user node obtains the encrypted authorization code through the blockchain network, decrypting the encrypted authorization code through the private key of the user node and the preset algorithm to obtain the authorization code, and using a calculation network according to the authorization code.
4. The method of claim 1, further comprising, after said transmitting said authorization code to said blockchain network to cause said user node to use a power network in accordance with said authorization code:
After the user node uses the power network, marking and signing are carried out on a preset message so as to carry out network forwarding service quality verification on the target power network access node and the computing nodes corresponding to all power network access nodes in the power network.
5. The method as recited in claim 1, further comprising:
and receiving accounting information sent by an accounting power network access node, wherein the accounting power network access node is any power network access node except the target power network access node and the central power network access node in the power network.
6. A computing power network processing apparatus for use in a central computing power network access node, comprising:
the registration module is used for receiving registration requests of other computing power network access nodes, wherein the registration request of each computing power network access node comprises computing power price information and specification characteristic information;
the first broadcasting module is used for broadcasting computing capability information of the computing power network on the blockchain network in a private key signature mode, wherein the computing capability information of the computing power network comprises computing power price information and specification characteristic information of computing nodes corresponding to all computing power network access nodes in the computing power network, and all computing power network access nodes in the computing power network comprise the central computing power network access node and other computing power network access nodes registered in the central computing power network access node;
The first receiving module is used for receiving a transaction record request sent by a user node on the blockchain network;
the generation module is used for determining a target power network access node according to the transaction record request and generating an authorization code;
the sending module is used for sending the authorization code to the blockchain network so that the user node uses a computing power network according to the authorization code;
the transaction record request comprises target price information of a user node, an Internet service provider network and position information; the generating module is used for determining a target power network access node according to the target price information of the user node, the Internet service provider network and the position information and generating an authorization code;
the generating module is specifically configured to determine a target computing power network access node according to the internet service provider network and the location information of the user node;
determining the time limit of the user node using the power network according to the power price information of the target power network access node and the target price information;
and generating an authorization code according to the time limit and the target power network access node.
7. A computing power network processing device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of computing power network processing of any one of claims 1 to 5.
8. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are for implementing the method of computational power network processing of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310010255.5A CN115766830B (en) | 2023-01-05 | 2023-01-05 | Computing power network processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310010255.5A CN115766830B (en) | 2023-01-05 | 2023-01-05 | Computing power network processing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115766830A CN115766830A (en) | 2023-03-07 |
CN115766830B true CN115766830B (en) | 2023-04-25 |
Family
ID=85348488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310010255.5A Active CN115766830B (en) | 2023-01-05 | 2023-01-05 | Computing power network processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115766830B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112132447A (en) * | 2020-09-21 | 2020-12-25 | 江苏省未来网络创新研究院 | Calculation power network trust evaluation and guarantee algorithm based on block chain |
CN112261141A (en) * | 2020-10-23 | 2021-01-22 | 移康智能科技(上海)股份有限公司 | Local Internet of things computing power detection system based on block chain technology |
WO2021243618A1 (en) * | 2020-06-03 | 2021-12-09 | 北京小米移动软件有限公司 | Resource scheduling method and apparatus, and communication device and storage medium |
CN115396209A (en) * | 2022-08-26 | 2022-11-25 | 中国联合网络通信集团有限公司 | Access authorization method and device, electronic equipment and readable storage medium |
-
2023
- 2023-01-05 CN CN202310010255.5A patent/CN115766830B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021243618A1 (en) * | 2020-06-03 | 2021-12-09 | 北京小米移动软件有限公司 | Resource scheduling method and apparatus, and communication device and storage medium |
CN112132447A (en) * | 2020-09-21 | 2020-12-25 | 江苏省未来网络创新研究院 | Calculation power network trust evaluation and guarantee algorithm based on block chain |
CN112261141A (en) * | 2020-10-23 | 2021-01-22 | 移康智能科技(上海)股份有限公司 | Local Internet of things computing power detection system based on block chain technology |
CN115396209A (en) * | 2022-08-26 | 2022-11-25 | 中国联合网络通信集团有限公司 | Access authorization method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115766830A (en) | 2023-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11968532B2 (en) | Method and apparatus for connecting to wireless access point | |
US11588642B2 (en) | Method and apparatus for sharing and acquiring information | |
CN111914229B (en) | Identity verification method and device, electronic equipment and storage medium | |
CN110705985B (en) | Method and apparatus for storing information | |
KR101120059B1 (en) | Billing verifying apparatus, billing apparatus and method for cloud computing environment | |
CN111915302B (en) | Associated data processing method and device, electronic equipment and computer readable medium | |
CN115987657B (en) | Cloud storage security authentication method, device, equipment and storage medium | |
CN115766294B (en) | Cloud server resource authentication processing method, device, equipment and storage medium | |
CN115766830B (en) | Computing power network processing method, device, equipment and storage medium | |
CN115174558B (en) | Cloud network end integrated identity authentication method, device, equipment and storage medium | |
CN114048498A (en) | Data sharing method, device, equipment and medium | |
JP6542401B2 (en) | Key chain management method and system for end-to-message encryption | |
CN113961931A (en) | Adb tool using method and device and electronic equipment | |
CN116471327B (en) | Cloud resource processing method, device, equipment and storage medium | |
CN115987661B (en) | Cloud server data self-storage method, device, equipment and storage medium | |
CN116506452B (en) | Multi-cloud data storage method, device, equipment and storage medium | |
CN115174062B (en) | Cloud service authentication method, device, equipment and storage medium | |
CN115378743B (en) | Information encryption transmission method, device, equipment and medium | |
CN112261659B (en) | Control method and device for terminal and server, terminal and storage medium | |
CN115879135B (en) | Bid data processing method, device, equipment and storage medium | |
CN116456341B (en) | Data security authentication method, device, equipment and storage medium | |
CN113746636B (en) | Unified digital security service method, device, electronic equipment and storage medium | |
CN113138739B (en) | Screen projection method, system, device, electronic equipment and storage medium | |
CN116781767A (en) | Cloud server sharing method, device, equipment and storage medium | |
CN116996201A (en) | Method, device, equipment and storage medium for processing calculation force data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |