CN109583863B - Block chain resource transaction network and transaction method - Google Patents
- ️Tue Apr 02 2024
Disclosure of Invention
The embodiment of the application provides a blockchain resource transaction network and a transaction method, which solve the problem of lack of scalability of system resources in the prior art.
The embodiment of the application provides a blockchain resource transaction network, which is used for communication and a computer information network, and comprises the following components: the system comprises an application network, a first service module, a second service module and a block chain module.
The application network is a part of the communication and computer information network;
the first service module is used for controlling the resource variation corresponding to the wallet address in the application network;
the second service module is used for changing the resource usage amount corresponding to the wallet address in the application network;
and the blockchain module is used for changing the certification value corresponding to the wallet address according to the resource variation and/or the resource usage, and storing the certification value in the blockchain.
Preferably, the system of the present application further includes a third service module, configured to monitor the first module or the second module, to obtain a resource variation or a resource usage amount.
Preferably, the system further comprises a transaction module for exchanging the resources for the pass, or exchanging the pass for the resources.
Preferably, in the system of the present application, the transaction service module is further configured to approve the exchange of currency.
Preferably, in the system of the present application, the resource includes at least one of: physical network resources, virtual network resources, data resources, service resources.
Preferably, in the system of the present application, the total amount of the certification values corresponding to the wallet addresses is limited.
Preferably, in the system of the present application, the total amount of the certification values corresponding to the wallet addresses is not limited.
The embodiment of the application also provides a block chain resource transaction method, which comprises the following steps:
calculating a pass value according to the resource variation corresponding to the wallet address, and/or calculating the pass value according to the resource usage corresponding to the wallet address;
and storing the wallet address and the certification value in a blockchain.
Preferably, the method of the present application further comprises the steps of: exchange with currency by passing certificate.
Preferably, the method of the present application further comprises the steps of: the behavior of the resource provider and the resource user is monitored and analyzed.
The above-mentioned at least one technical scheme that this application embodiment adopted can reach following beneficial effect: the transparency, the intelligent degree and the trust level in the digital economic ecological system are improved by introducing the blockchain technology. The problem of low scalability of system resources in the prior art is solved, and meanwhile, the data security of the system in use is improved.
Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
FIG. 1 is a block diagram of a blockchain resource transaction network.
The embodiment of the application provides a blockchain resource transaction network, which at least comprises the following modules:
an application network 11;
a first service module 12;
a second service module 13;
a blockchain module 14.
The application network 11 is part of a communications and or computer information network. The resource user and the resource provider are connected with the first service module and the second service module through the application network.
For example, a resource provider provides software and hardware resources to a first service module through an application network; the resource user requests the resource from the second service module through the application network.
And the first service module is used for controlling, adjusting and changing the resource variation corresponding to the wallet address in the application network. The resource provider provides resources, and the first service module counts the provided resources to obtain the resource variation. The first service module sends the wallet address and the resource variation to the blockchain module.
The wallet address is an account of a blockchain network resource user. For example, a resource provider (e.g., a vendor), a resource user (i.e., user), etc. all have wallet addresses. The resources are hardware and software resources required by the operation of the computer, and are used for providing units supporting the operation functions of the computer, such as operation, storage, service, data, hardware and the like. Comprising the following steps: service resources, data resources, virtual network resources, physical network resources, etc. The resource variation is a statistic of resources provided by a resource provider in a blockchain resource trading network.
For example, the resource provider provides the hardware resource of the hard disk storage 100G to the first service module, and the first service module counts the storage space of the hard disk storage 100G to obtain the resource variation R p And sum wallet address and R p To the blockchain module.
The resource provider can also provide the first service module with an interface of algorithm software implemented in the system, and similarly, the first service module counts the algorithm software and notifies the blockchain module to change the resource value corresponding to the wallet address. Other types of resources and so on.
And the second service module is used for changing the resource usage amount corresponding to the wallet address in the application network. The resource usage is that after the resource user applies for using the resource to the second service module, the second service module evaluates the resource value of the resource applied by the resource user, namely the resource usage.
For example, the resource user applies for using a piece of game software, and the second service module evaluates the resource usage of the piece of game software as R u And wallet address and resource usage R u To the blockchain module.
And the blockchain module is used for changing the certification value corresponding to the wallet address according to the resource variation and/or the resource usage and storing the certification value in the blockchain.
The resource variation is a resource value of a resource provided by a resource provider. The resource usage amount is a resource value of a resource that the resource user applies for use.
The block chain module receives the wallet address and the resource variation and/or the resource usage amount transmitted by the first service module and the second service module, calculates corresponding evidence passing values, updates the evidence passing values and the resource values corresponding to the wallet address according to the calculation result, and stores the updated data in the block chain.
For example, when a resource provider provides a resource of hard disk storage 100G, the blockchain module receives the wallet address of the resource provider and the resource variation R of the provided resource communicated by the first service module p According to the resource variation R p Calculate the corresponding pass value N p And updating the certification value and the resource value corresponding to the wallet address according to the calculation result, and storing the certification value and the resource value into the blockchain. The resource provider obtains the return of providing the resource in terms of the certification value.
For another example, when the resource user usesWhen the hard disk stores 100G resources, the blockchain module receives the wallet address of the resource provider and the resource variation R of the provided resources transmitted by the second service module u According to the resource variation R u Calculate the corresponding pass value N u And updating the certification value and the resource value corresponding to the wallet address according to the calculation result, and storing the certification value and the resource value into the blockchain. The cost paid by the resource user for using the resource is embodied in a pass value.
The "wallet address" in this document is an abbreviation for encrypted digital asset wallet address, including but not limited to blockchain ledger public key address, etc., by applying blockchain technology, and the mapped and converted unique identifiable user address. The "pass syndrome" is an abbreviation for blockchain pass syndrome (Token). The "pass value" may be a pass balance or a pass variable according to the application requirements.
The wallet address in the present application may be the same or different with respect to the resource provider, the resource user, the first service module, the second service module, and the specific network node, and is not specifically limited herein.
FIG. 2 is a block diagram of a blockchain resource transaction network including a third service module. The embodiment of the application provides a blockchain resource transaction network comprising a third service module.
As a further optimized embodiment of the present invention, the present invention further includes a third service module 25, configured to monitor the first service module or the second service module to obtain a resource variation or a resource usage.
The third service module monitors the first service module and the second service module through the application network, obtains the providing and using conditions of the resource provider and the resource user on the resource, and can send wallet addresses and the using amount of the resource or/and the changing amount of the resource to the blockchain module according to the requirements.
The third service module is used as a management module and can also monitor the state of the resource variation and the resource usage. Further work can be developed as needed.
For example, the third service module monitors the behavior of the resource provider and the resource user with respect to the resource, analyzes and counts the behavior, and can score and rank the system resource user.
The third service module can also manage the data resources, and grade and classify the resources through big data analysis, so that the resources can be provided and used more effectively, and the system efficiency is improved.
The third service module can also perform state maintenance and supervision on physical resources, support VPN connection, provide data resources and the like, and better serve the system.
FIG. 3 is a block diagram of a system for proving a tradable blockchain resource transaction network. The embodiment of the application provides a block chain resource transaction network with a credit card capable of being transacted, and further comprises a transaction service module 36 for exchanging resources with a credit card or a credit card.
The transaction service module manages or changes the wallet address of the resource user and the corresponding account value thereof. The transaction service module receives wallet addresses sent by the first service module and the second service module, and resource variation and/or resource usage, and the transaction service module performs verification exchange. And updating the account value in a server of the transaction service module according to the exchange result. For example, the account value M corresponding to the resource provider P or wallet address p Account value M corresponding to resource provider U or wallet address u . While wallet addresses and resource variables and/or resource usage may be sent to the blockchain module.
The users in FIG. 3, including but not limited to resource providers and resource users. The users of the transaction service module may include not only resource users of the blockchain resource transaction network, but also other users. These users use wallet addresses as accounts to conduct transactions with resources in a transaction module.
For example, through a transaction service module, these users can either conduct transactions of resources with the pass, or conduct auctions, stock, etc. for the pass. The transaction service module provides a larger transaction location than the first, second and third service modules, enables transactions with users outside the system, and also supports other forms of transactions. The account value of the transaction service module is also stored in the blockchain.
After the exchange, the transaction service module sends the wallet address and the exchanged pass value to the blockchain, and the blockchain automatically executes the update of the pass value corresponding to the wallet address.
As a further preferred embodiment of the invention, the transaction service module is further adapted to approve the exchange of currency. After the exchange, the transaction service module sends the wallet address and the exchanged pass value to the blockchain, and the blockchain automatically executes the update of the pass value corresponding to the wallet address.
The account value of the transaction service module can be a certification value, currency, a stored value card and other valuable assets. The user can perform free exchange under the supervision through the transaction service module.
For example, through the transaction service module, the users can conduct the transaction of resources and letters, exchange the letters and currencies, or conduct other equivalent transactions, such as things transaction, currencies and articles transaction, and auction, share holding, option and the like on the letters. Compared with the first, second and third service modules, the transaction service module provides a larger transaction place, can conduct a verification transaction with a user outside the system, and also supports other forms of transaction. The account value of the transaction service module is also stored in the blockchain.
As a further preferred embodiment of the present invention, the resource comprises at least one of: physical network resources, virtual network resources, data resources, service resources.
The physical network resource is a sharable physical device, such as a remote hard disk or cloud space, which can provide a storage function;
the virtual network resource is an information resource provided remotely through a network, such as an online library, an online mall and the like, and provides information remotely through the network;
the data resource is data information provided remotely, such as an online database, online big data, an algorithm library and the like;
the service resource is various service functions provided through a network, such as remote tutorial, remote inquiry and other medical treatment.
As a further preferred embodiment of the present invention, the total amount of the certification values corresponding to the plurality of wallet addresses has an upper limit.
The basic function of the blockchain resource transaction network is the exchange of resources with authenticated transactions. The total amount of the syndrome is limited, so that a relatively simple closed loop system is formed. Management and maintenance of the blockchain resource transaction network is relatively easy.
As a further optimized embodiment of the present invention, there is no upper limit on the total amount of the certification values corresponding to the plurality of wallet addresses. An open system is formed, and the certification value can be changed according to market demands, so that difficulty is increased in system management and maintenance, and flexibility of the system is improved.
FIG. 4 is a flow chart of a blockchain resource transaction method.
The embodiment of the application provides a flow chart of a block chain resource transaction method, which comprises the following steps:
step 41, converting the pass value and the resource variation corresponding to the wallet address; and converting the pass value corresponding to the wallet address and the resource usage.
The wallet address corresponds to the pass value, and further corresponds to the resource variation and/or the resource usage.
In step 41, calculating a certification value according to the resource variation corresponding to the wallet address, and/or calculating a certification value according to the resource usage corresponding to the wallet address;
in step 41, the method may further include calculating the resource variation according to the credit value corresponding to the wallet address, and/or calculating the resource usage according to the credit value corresponding to the wallet address.
Step 42, storing the wallet address and the certification value in a blockchain.
In step 41, the application network connects the resource provider with the first service module. After the resource provider provides the resource through the first service module, the first service module counts the resource to obtain the resource variation. The first service module sends the resource provider wallet address and the resource variation to the blockchain module through the blockchain network.
The application network also connects the resource user with the second service module. After the resource user requests the resource through the second service module, the second service module counts the requested resource to obtain the resource usage. The second service module sends the wallet address of the resource user and the resource usage amount to the blockchain module through the blockchain network.
In step 42, when the blockchain module receives the wallet address and the resource variation sent from the first service module, the blockchain module calculates a corresponding certification value according to the resource variation, and updates the resource value and the certification value corresponding to the wallet address of the resource provider according to the resource variation and the certification value. The resource value and the certification value corresponding to the wallet address are stored in the blockchain.
When the blockchain module receives the wallet address and the resource usage amount sent by the second service module, the blockchain module calculates a corresponding passing value according to the resource usage amount, and updates the resource value and the passing value corresponding to the wallet address of the resource user according to the resource usage amount and the passing value. The resource value and the certification value corresponding to the wallet address are stored in the blockchain.
When the blockchain module calculates a corresponding evidence value according to the resource variation or the usage amount, the triggering and execution of the event can be performed according to the method of the intelligent contract. For example, when the resource change or the usage is received, the execution of the intelligent contract is triggered, and the corresponding certification value is calculated according to the rule of the contract.
As a further preferred embodiment of the invention, the method further comprises the steps of:
and 43, exchanging the currency with the pass card.
The account information of the user is stored at the transaction service module. The transaction service module is provided with a transaction server, supports the user to directly purchase the pass through card by using the currency, and can also sell the pass through card to exchange the currency or other account values. The other account values are increased when the pass value is decreased; the other account values decrease as the pass value increases.
As a further preferred embodiment of the invention, the method further comprises the steps of: the behavior of the resource provider and the resource user is monitored and analyzed.
And monitoring the first service module and the second service module through the third service module to acquire the behaviors of the resource provider and the resource user. For example, the resource provider provides resources, or the resource user applies for resources, the resource value of these resources, etc., all of which can be monitored by the third service module. The third service module may process the behavior results, such as sending to a blockchain module, or may count the behavior results. Through the third service module, the classification and the quantity of the resources can be known, and the users of the system resources can be further scored, graded and the like.
It should be noted that whether the first and second servers are directly connected to the blockchain module is not limited herein. For example, the three may be connected by a communication system, or may be indirectly transmitted by writing information on the use or application of resources on other media. The classification of the resources is based on the known resources corresponding to the prior art, but the invention is not limited to the kinds of other resources available in the future.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.