WO2020150919A1 - Blockchain resource transaction network, network node, and transaction method - Google Patents
Blockchain resource transaction network, network node, and transaction method Download PDFInfo
- Publication number
- WO2020150919A1 WO2020150919A1 PCT/CN2019/072817 CN2019072817W WO2020150919A1 WO 2020150919 A1 WO2020150919 A1 WO 2020150919A1 CN 2019072817 W CN2019072817 W CN 2019072817W WO 2020150919 A1 WO2020150919 A1 WO 2020150919A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource
- network
- resources
- wallet address
- blockchain
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
Definitions
- This application relates to the field of computer and communication technology, and in particular to a blockchain resource transaction network and transaction method.
- the present invention provides a distributed system technology based on block chain technology to realize "self-organization + trustworthy" software and hardware resource sharing.
- the distributed node is a computer system with software computing, data storage and network communication capabilities, and the distributed node can run data analysis algorithms and store data.
- Clients are electronic devices with human-computer interaction and network communication capabilities, including computers, mobile phones, etc.
- the client can complete sending data analysis requests to distributed nodes, display data analysis results, upload raw data, and upload data analysis algorithms.
- the present invention uses blockchain tokens to encourage and manage resource sharing rules.
- Blockchain tokens are generated on public blockchains, such as Ethereum, EOS, etc. through smart contracts.
- Distributed nodes and clients can obtain blockchain tokens and usage areas through the built-in corresponding blockchain public chain wallets. Blockchain pass, data is transparent and cannot be tampered with. Thus, the resource sharing of "self-organization + trustworthiness" is realized.
- This application solves many challenges and innovations in traditional industries by introducing blockchain technology, and enhances the transparency, intelligence and trust level in the digital economy ecosystem.
- the problem of low scalability of system resources in the prior art is solved, and the data security of the system in use is also improved.
- the embodiments of the present application provide a blockchain resource transaction network, network node, and transaction method to 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 for communication and computer information network, including: an application network, a first service module, a second service module, and a blockchain module.
- the application network is a part of the communication and computer information network; the first service module is used to control the resource change amount corresponding to the wallet address in the application network; the second service module is used to change The amount of resource usage corresponding to the wallet address in the application network; the block chain module is used to change the token value corresponding to the wallet address according to the amount of resource change and or the amount of resource usage, and store it in the blockchain .
- the system of the present application further includes a third service module, which is used to monitor the first module or the second module to obtain the amount of resource change or resource usage.
- a third service module which is used to monitor the first module or the second module to obtain the amount of resource change or resource usage.
- the system of the present application further includes a transaction module, which is used to exchange resources for tokens, or exchange tokens for resources.
- the transaction service module is also used to exchange currency.
- the total amount of token values corresponding to multiple wallet addresses has an upper limit.
- the embodiment of the application also provides a blockchain resource transaction method, which includes the following steps: calculating the token value according to the resource change corresponding to the wallet address, and or, calculating the token value according to the resource usage corresponding to the wallet address; Store the wallet address and the token value in the blockchain.
- the method of the present application further includes the step of using a pass to exchange currency.
- the method of the present application further includes the step of monitoring and analyzing the behaviors of resource providers and resource users.
- the resources include at least one of the following: physical network resources, virtual network resources, data resources, and service resources.
- the embodiment of the present application also provides a network node controlled by a token, which is used in a communication and computer information network, and includes: a network device, a multiplier, and a blockchain memory.
- the network device is a device on a communication and computer information network; the multiplier uses a conversion coefficient to perform operations on the data of the network device; the blockchain memory is used to use the output of the multiplier as The token value is stored in the blockchain.
- the data of the network device includes at least one of the following: storage capacity, exchange capacity, and transmission capacity.
- the conversion coefficient is read from the blockchain memory.
- the multiplier is further configured to obtain the data of the network device according to the token value and the conversion coefficient, and send the data to the network device.
- the network equipment includes at least one of the following: storage equipment, switching equipment, and transmission equipment.
- the network device may form at least one type of a resource aggregation node, a service sharing node, and a data sharing node.
- the embodiment of the present application provides a token-controlled network, including the network node described in any one of the embodiments of the present application.
- the embodiment of the application also provides a blockchain resource transaction network for communication and computer information network, including: network equipment, smart contract module, memory; the network equipment, corresponding to the wallet address, is used to share resources with the network
- the smart contract module is used to perform operations on the resource data of the network device in accordance with the smart contract to obtain the corresponding token value; the smart contract includes using the resource data and wallet address to calculate the corresponding token Value rules; the memory is used to store the smart contract, wallet address, and token value in a blockchain manner.
- the system of the present application further includes a first service module, corresponding to the first wallet address, for changing resources.
- the rule includes: the amount of change in the token value is accumulated according to the sharing time of the network device.
- the smart contract module includes a multiplier for performing operations on the resource data to obtain the change in the token value; the coefficient of the multiplier is read from the memory , Or generated by the smart contract module.
- the rule includes a method for determining the coefficient of the multiplier, including at least one of the following: the coefficient of the multiplier is a variable of the resource type; the coefficient of the multiplier is the number of resources Variable; the coefficient of the multiplier is a variable of the wallet address; the coefficient of the multiplier is a variable of shared time; the coefficient of the multiplier is a variable of the token value.
- the resource data includes information indicating the type and quantity of resources:
- Resource types include at least one of the following: storage resources, exchange resources, transmission resources, video resources, audio resources, picture resources, text resources, pure data resources, platform resources, and tool resources;
- the number of resources includes at least one of the following: storage capacity, exchange capacity, transmission capacity, data access volume, data storage volume, service resource opening volume, and service resource access volume.
- the system of the present application includes a second service module, corresponding to the second wallet address, for calling the resource.
- the system of the present application includes multiple network devices corresponding to one or more, the same or different wallet addresses.
- the embodiment of the present application also provides a resource transaction method used in the resource transaction network of any one of the embodiments of the present application, including at least one of the following steps:
- the resource corresponding to the first wallet address is called.
- the method of the present application further includes the step of accumulating the calculated token value according to the time shared by the network equipment.
- the method of this application further includes at least one of the following steps:
- the above-mentioned at least one technical solution adopted in the embodiments of the present application can achieve the following beneficial effects: improving the transparency, intelligence, and trust level in the digital economy ecosystem.
- the problem of low scalability of system resources in the prior art is solved, and the data security of the system in use is also improved.
- At least one embodiment of the present invention improves the reliability and security of data changes and storage of application network nodes by introducing a blockchain token mechanism, and realizes reliable data resource transactions.
- At least one embodiment of the present invention improves the reliability and security of application network node configuration changes by introducing a blockchain token mechanism, and realizes reliable physical network and virtual network resource transactions.
- At least one embodiment of the present invention improves the reliability and security of software resource changes of application network nodes by introducing a blockchain token mechanism, and realizes reliable software service resource transactions.
- Figure 1 is a block diagram of a block chain resource transaction network
- Figure 2 is a block diagram of a blockchain resource transaction network including a third service module
- Figure 3 is a block diagram of a blockchain resource trading network with tradable certificates
- Figure 4 is a flowchart of a blockchain resource transaction method
- Figure 5 is a block diagram of a token-controlled network and network nodes
- Figure 6 is a schematic diagram of an embodiment of a resource aggregation network sharing physical network resources
- FIG. 7 is a schematic diagram of an embodiment of a resource aggregation network sharing virtual network resources
- FIG. 8 is a schematic diagram of an embodiment of a data sharing network for sharing data resources
- Fig. 9 is a schematic diagram of an embodiment of a service sharing network for sharing service resources.
- Figure 1 is a block diagram of a blockchain resource transaction network.
- the embodiment of the application provides a blockchain resource transaction network, which includes at least the following modules: an application network 11; a first service module 12; a second service module 13; and a blockchain module 14.
- Application network 11 is a part of communication and or computer information network.
- the resource user and the resource provider connect the first service module and the second service module through the application network.
- the resource provider provides software and hardware resources to the first service module through the application network; the resource user requests resources from the second service module through the application network.
- the first service module is used to control, adjust, and change the resource change amount corresponding to the wallet address in the application network.
- the resource provider provides resources, and the first service module performs statistics on the provided resources to obtain the amount of resource change.
- the first service module sends the wallet address and resource change to the blockchain module.
- the wallet address is the account of the user of the blockchain network resource.
- resource providers such as suppliers
- resource users ie users
- the resources are hardware and software resources required for the operation of the computer, and are used to provide operations, storage, services, data, hardware and other units that support the functions of the computer. Including: service resources, data resources, virtual network resources, physical network resources, etc.
- the resource change amount is a statistical value of the resource provided by the resource provider in the blockchain resource transaction network.
- the resource provider provides the first service module with its own hard disk to store 100G of hardware resources, the first service module performs statistics on this 100G storage space, obtains the resource change R p , and passes the wallet address and R p to the district Block chain module.
- the resource provider can also provide the first service module with the interface of the algorithm software implemented in its own system. Similarly, the first service module performs statistics on this algorithm software and informs the blockchain module to change the resource value corresponding to the wallet address . Other types of resources and so on.
- the second service module is used to change the resource usage corresponding to the wallet address in the application network.
- the resource usage is that after the resource user applies to the second service module to use the resource, the second service module evaluates the resource value of the resource applied by the resource user, which is the resource usage.
- the second service module evaluates the resource usage of this game software as Ru , and passes the wallet address and resource usage Ru to the blockchain module.
- the block chain module is used to change the token value corresponding to the wallet address according to the amount of resource change and or the amount of resource usage, and store it in the block chain.
- the resource change amount is the resource value of the resource provided by the resource provider.
- Resource usage is the resource value of the resource requested by the resource user.
- the blockchain module receives the wallet address and its resource change and/or resource usage from the first and second service modules, calculates the corresponding token value, and calculates the token value corresponding to the wallet address according to the calculation result And the resource value is updated, and the updated data is stored in the blockchain.
- the blockchain module receives the wallet address of the resource provider and the resource change R p of the provided resource from the first service module, and calculates it according to the resource change R p
- the corresponding token value N p and according to the calculation result, the token value and resource value corresponding to the wallet address are updated and stored in the blockchain at the same time.
- the resource provider receives the reward for providing resources, which is reflected in the token value.
- the blockchain module receives the wallet address of the resource provider and the resource change amount Ru of the provided resource transmitted by the second service module, according to the resource change amount Ru Calculate the corresponding token value N u , and update the token value and resource value corresponding to the wallet address according to the calculation result, and store it in the blockchain at the same time.
- the price paid by resource users for using resources is reflected in the token value.
- the "wallet address” in this application document is the abbreviation of the encrypted digital asset wallet address, including but not limited to the public key address of the blockchain ledger, etc., after mapping the address that can uniquely identify the user.
- “Token” is the abbreviation of Blockchain Token.
- “Token value”, according to the needs of the application, can be the token balance or the token change.
- the wallet address in this application may be the same or different with respect to the resource provider, resource user, first service module, second service module, and specific network nodes, and there is no specific limitation here.
- Figure 2 is a block diagram of a blockchain resource transaction network including a third service module.
- the embodiment of the present application provides a blockchain resource transaction network including a third service module.
- a third service module 25 is further included, which is used to monitor the first service module or the second service module to obtain the amount of resource change or resource usage.
- the third service module monitors the first and second service modules through the application network, obtains the resource provision and usage of resource providers and resource users, and can send wallet addresses and resource usage or/and resource changes as needed Amount to the blockchain module.
- the third service module can also monitor the status of resource changes and resource usage. According to needs, further work can be developed.
- the third service module monitors the behavior of resource providers and resource users on resources, analyzes and counts them, and can score and rank system resource users.
- the third service module can also manage data resources, classify and classify resources through big data analysis, so as to facilitate more effective provision and use of resources, and improve system efficiency.
- the third service module can also perform state maintenance and supervision of physical resources, support VPN connections, provide data resources, etc., to better serve the system.
- Figure 3 is a block diagram of a blockchain resource trading network with tradable certificates.
- the embodiment of the application provides a blockchain resource trading network with tradable tokens.
- it also includes a transaction service module 36 for resource exchange tokens or token exchange resources.
- the transaction service module manages or changes the wallet address of the resource user and its corresponding account value.
- the transaction service module receives the wallet address and the resource change amount and/or the resource usage amount sent by the first and second service modules, and exchanges the token in the transaction service module. And according to the conversion result, the account value is updated in the server of the transaction service module. For example, the account value M p corresponding to the resource provider P or its wallet address, and the account value M u corresponding to the resource provider U or its wallet address.
- the wallet address and the amount of resource change and/or resource usage can be sent to the blockchain module.
- the users in Figure 3 include but are not limited to resource providers and resource users.
- the users of the transaction service module can include not only resource users of the blockchain resource transaction network, but also other users. These users use the wallet address as an account to conduct transactions between tokens and resources in the transaction module.
- the transaction service module provides a larger trading venue, can conduct 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.
- the transaction service module sends the wallet address and the exchanged token value to the blockchain, and the blockchain automatically updates the token value corresponding to the wallet address.
- the transaction service module is also used to exchange currency. After the exchange, the transaction service module sends the wallet address and the exchanged token value to the blockchain, and the blockchain automatically updates the token value corresponding to the wallet address.
- the account value of the transaction service module can be either a token value, currency, or other forms of valuable assets such as stored value cards. Through the transaction service module, users can exchange freely under supervision.
- these users can not only trade resources and tokens, but also exchange tokens and currencies, or carry out other forms of equivalent transactions, such as transaction of goods, currency and goods, and
- the tokens can be auctioned, stock held, options, etc.
- the transaction service module provides a larger trading venue, can conduct pass-through 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.
- the resources include at least one of the following: physical network resources, virtual network resources, data resources, and service resources.
- the physical network resource is a physical device that can be shared, such as a remote hard disk or cloud space that can provide storage functions;
- the virtual network resources are information resources provided remotely through the network, such as online libraries, online shopping malls, etc., which provide information remotely through the network;
- the data resources are data information provided remotely, such as online databases, network big data, algorithm libraries, etc.;
- the service resources are various service functions provided through the network, such as remote tutorials, remote consultations and other medical services.
- the total amount of token values corresponding to multiple wallet addresses has an upper limit.
- the basic function of the blockchain resource trading network is the exchange of resources and tokens.
- the total amount of tokens has an upper limit, forming a relatively simple closed-loop system. It is relatively easy to manage and maintain the blockchain resource trading network.
- the token value can change according to market demand, which increases the difficulty of system management and maintenance, but improves the flexibility of the system.
- Figure 4 is a flowchart of a blockchain resource transaction method.
- the embodiment of the present application provides a flowchart of a blockchain resource transaction method, including the following steps 41 to 43:
- Step 41 Conversion of the token value corresponding to the wallet address and resource change; conversion of the token value corresponding to the wallet address and resource usage.
- the wallet address corresponds to the token value, which in turn corresponds to the amount of resource change and/or resource usage.
- step 41 the token value is calculated according to the resource change corresponding to the wallet address, and or, the token value is calculated according to the resource usage corresponding to the wallet address;
- step 41 it may further include calculating the resource change amount according to the token value corresponding to the wallet address, and or, calculating the resource usage amount according to the token value corresponding to the wallet address.
- Step 42 Store the wallet address and the token value in the blockchain.
- the application network connects the resource provider and the first service module. After the resource provider provides resources through the first service module, the first service module performs statistics on the resources to obtain the amount of resource change. The first service module sends the wallet address of the resource provider and the resource change to the blockchain module through the blockchain network.
- the application network also connects the resource user and 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 amount. The second service module sends the resource user wallet address and resource usage amount to the blockchain module through the blockchain network.
- step 42 when the blockchain module receives the wallet address and resource change from the first service module, the blockchain module calculates the corresponding token value according to the resource change, and according to the resource change Pass value, update the resource value and pass value corresponding to the wallet address of the resource provider.
- the resource value and token value corresponding to the wallet address are stored in the blockchain.
- the blockchain module When the blockchain module receives the wallet address and resource usage from the second service module, the blockchain module calculates the corresponding token value according to the resource usage, and updates the resource according to the resource usage and token value The resource value and token value corresponding to the user's wallet address. The resource value and token value corresponding to the wallet address are stored in the blockchain.
- the blockchain module When the blockchain module calculates the corresponding token value according to the amount of resource change or usage, it can trigger and execute the event according to the smart contract method. For example, when the amount of resource change or usage is received, the execution of the smart contract is triggered, and the corresponding token value is calculated according to the rules of the contract.
- Step 43 Exchange the token and currency.
- the transaction service module has its own transaction server, which supports users to directly purchase tokens with currency, and can also sell tokens for currency or other account values. If the token value decreases, the value of other accounts will increase; if the token value increases, the value of other accounts will decrease.
- the present invention also includes the step of monitoring and analyzing the behavior of resource providers and resource users.
- the first and second service modules are monitored to obtain the behavior of resource providers and resource users. For example, if a resource provider provides a resource, or a resource user applies for a resource, the third service module can monitor the resource value of these resources.
- the third service module can process the behavior results, for example, send them to the blockchain module, or perform statistics on these behavior results. Through the third service module, you can understand the classification and quantity of resources, and further score and classify system resource users.
- first, second, and third service modules are directly connected to the blockchain module is not limited here.
- the three can be connected through a communication system, or indirect information transmission can be carried out by writing information on resource usage or application on other media.
- the classification of resources enumerates the known resources corresponding to the prior art, but the present invention does not limit the types of other resources available in the future.
- FIG. 5 is a block diagram of a token-controlled network and network nodes.
- the embodiment of the present application provides a network node controlled by a pass, including: a network device 10, a multiplier 21, and a blockchain memory 30.
- the network device 10, S is a device on a communication and or computer information network.
- the network device and the multiplier are connected through a network or other media, and the data R of the network device is sent to the multiplier.
- the network device may form a resource aggregation node, a data sharing node, or a service sharing node.
- the data of the network device refers to the quantitative value of the hardware resources of the device on the network.
- the capacity of the device on the network such as the storage space of the device, the transmission capacity of the device, and the switching capacity. It may also be the amount of storage and the amount of access; further, the data of the network device may also include service data of the network node, such as input data and output data.
- the multiplier 21, X uses the conversion coefficient to multiply the data of the network device.
- the conversion factor is expressed as T.
- T can be a coefficient value or an operator, and there is no specific limitation here.
- the block chain memory 30, M is used to store the output of the multiplier in the block chain.
- the operation result N of the multiplier is sent to the blockchain memory.
- the token value N is stored in the blockchain. According to the characteristics of blockchain technology, data storage is highly secure and cannot be tampered with.
- the conversion coefficient may be preset or read from the blockchain memory.
- the multiplier reads the conversion coefficient between the storage and the blockchain before the operation, and then uses the data of the network device for the operation.
- the multiplier When working, the multiplier receives a signal containing data representing the network device from the network device; the multiplier receives a signal containing a conversion coefficient from the blockchain memory; the multiplier sends a signal containing the data representing the network device; The signal of the verification value is sent to the blockchain memory.
- the token value stored in the blockchain is also used as the input of the multiplier to calculate the data of the network device, and the operation result of the multiplier is transmitted to the network device.
- the token value N can be a coefficient value or an operator, and there is no specific limitation here.
- the output of the multiplier is sent to the network node.
- the multiplier When working, the multiplier receives a signal representing a token value from the blockchain memory; the multiplier receives a signal including a conversion coefficient from the blockchain memory; the multiplier receives a signal from the The network device sends a signal containing data representing the network device.
- the blockchain storage is referred to as storage for short.
- the network device includes at least one of the following: a storage device, a switching device, a transmission device, and the like. These devices are devices that can provide or use network resources.
- the data of the network device includes at least one of the following: storage capacity, switching capacity, and transmission capacity.
- the data of network equipment includes all available computer resources, such as data resources and service resources.
- the embodiment of the present application also provides a token-controlled network, which includes the characteristics of the token-controlled network node, and further includes multiple network nodes.
- the data of the network equipment in each network node is processed by the multiplier and stored in the blockchain as a token value.
- connection between network equipment, multiplier and blockchain storage can be direct connection, network connection, or intermediate medium connection, which is not limited here.
- the listed equipment and data categories of network nodes are based on known equipment and data categories in the prior art, but the present invention does not limit the types of other equipment and data resources available in the future.
- the blockchain resource transaction network in this application includes three types: resource convergence network, data sharing network, and service sharing network.
- Figures 6-9 show resource convergence networks that share physical network resources and resource convergence networks that share virtual network resources.
- Fig. 6 is a schematic diagram of an embodiment of a resource aggregation network sharing physical network resources.
- This embodiment provides a resource aggregation network to implement a blockchain resource transaction network, which is used for communication and computer information networks, and at least includes a resource aggregation node 10A/B, a smart contract module 20, and a memory 30.
- the resource aggregation node 10A/B corresponds to the wallet address and is used to share physical network resources with the network.
- the “sharing” in this embodiment refers to supply and or use.
- the resource provider supplies physical network resources to the network by controlling and managing network equipment; users use the physical network resources in the network by controlling and managing the network equipment.
- resource providers are also users, supplying and using physical network resources in the network by controlling and managing network equipment.
- a resource provider provides or supplies physical network resources to the network at a certain resource aggregation node, and this resource aggregation node corresponds to the wallet address that identifies the resource provider; the resource user requests from the server at a certain resource aggregation node Using physical network resources, this resource aggregation node corresponds to the wallet address that identifies the resource user.
- the wallet address is the account number of the blockchain network user.
- the first wallet address is the wallet address of the resource provider
- the second wallet address is the wallet address of the resource user.
- the wallet address at least corresponds to the token value stored in the blockchain, and the wallet address can also correspond to other account values.
- the account value of the wallet address refers to the asset value corresponding to the wallet address, such as currency, virtual currency, bank account value, stocks, futures, funds, equity, points, etc.
- the smart contract module 20 is used to perform operations on the resource data of the resource aggregation node according to the smart contract to obtain the corresponding token value.
- the smart contract includes rules for calculating the corresponding token value using the resource data of the resource aggregation node and the wallet address.
- the smart contract module receives the resource data of the resource aggregation node, triggers the execution of the smart contract, and calculates the token value corresponding to the resource data of the resource aggregation node in accordance with the rules of the smart contract.
- the resource data includes information indicating shared resource parameters, such as identification information indicating supply or use, information indicating the resource type and resource quantity of physical network resources.
- the resource types of physical network resources include at least one of the following: storage resources, exchange resources, and transmission resources; storage resources refer to devices that can be used to store data and information, such as memory, computers, data center servers, cloud servers, etc. ; Switching resources refer to devices that achieve signal cross and switching, such as cross-connect devices, switches, routers, etc.; transmission resources, refer to devices or physical entities that can achieve signal access and data transmission, including time and frequency domains Data packet format and frame format, spectrum, wavelength processing related equipment, etc.
- the number of resources includes at least one of the following: storage capacity, exchange capacity, and transmission capacity.
- the storage capacity in this application file refers to the amount of space used to store data or information.
- Exchange capacity refers to the total amount of cross-connections or signal exchanges.
- Transmission capacity refers to signal access bandwidth or transmission bandwidth.
- the resource provider supplies 100G of disk storage space to the server at the resource aggregation node.
- the smart contract module calculates the token value corresponding to the 100G disk storage space according to the supplied resources.
- This token value is an incentive value for resource providers to supply resources.
- the resource provider obtains the reward for providing the resource, which is represented by the token value, which corresponds to the wallet address of the resource provider, that is, the first wallet address.
- the resource user requests 20G of disk storage space from the server at the resource aggregation node, and the smart contract module calculates the token value corresponding to the 20G disk storage space according to the requested resource.
- This token value is the consumption value paid by the resource user using the resource.
- the resource user consumes the token value, which corresponds to the wallet address of the resource user, that is, the second wallet address, and obtains the right to use the resource.
- the rules for calculating the token value according to resources that is, the rules of smart contracts, are recorded in the blockchain smart contract module.
- the memory 30 is used to store the smart contract, wallet address, and token value in a blockchain manner.
- Distributed storage in the blockchain, data is transparent, non-tamperable, safe and reliable.
- the resource provider supplies 100G of disk storage resources to the server at the resource aggregation node.
- the smart contract module calculates the reward value corresponding to the 100G disk storage space according to the supplied resources, that is, the token value, and in the blockchain memory, it will identify the token corresponding to the first wallet address of the resource provider The value is updated and stored.
- the resource user requests 20G disk storage resources from the server at the resource aggregation node, and the smart contract module calculates the token value corresponding to the 20G disk storage space according to the requested resource, and in the blockchain memory, it will indicate the resource usage
- the token value corresponding to the second wallet address of the person is updated and stored.
- a first service module 12 that is, a controller, which corresponds to the first wallet address and is used to change the configuration of physical network resources.
- the resource provider provides 100G transmission capacity
- the first service module confirms the first wallet address, accepts and processes this application, and changes the configuration of the terminal device 10A to transmit and receive 100G signals
- the equipment is connected to the resource aggregation network through the add/drop multiplexing device, which increases the resource supply.
- the smart contract module receives the resource data including the increase of 100G transmission capacity, triggers the execution of the smart contract, and issues the token value corresponding to the 100G transmission capacity to the wallet address (first wallet address) corresponding to the resource provider.
- the first service module confirms the first wallet address, accepts and processes this application, and converges the exchange capacity of 20G from the resources by changing the configuration of the exchange device 10B Network removal reduces the supply of resources.
- the smart contract module receives resource data containing a reduction of 20G exchange capacity, thereby triggering the execution of the smart contract, and reducing the token value corresponding to the 20G cross-capacity space to the wallet address (first wallet address) corresponding to the resource provider.
- a second service module 13 that is, a controller, corresponding to the second wallet address, for calling the physical network resource.
- the second service module receives and processes the data of the resource user at the resource aggregation node, and calls the resource of the resource aggregation node.
- the resource user uses 100G transmission capacity
- the second service module confirms the second wallet address, accepts and processes this application, and sends the 100G signal by calling the configuration of the terminal device 10A
- the smart contract module receives resource data including the use of 100G transmission capacity, triggers the execution of the smart contract, and reduces the token value corresponding to the 100G transmission capacity at the wallet address (first wallet address) corresponding to the resource user.
- the second service module confirms the second wallet address, accepts and processes this application, and changes the configuration of the exchange device 10B to call the 80G exchange capacity to the resource use By.
- the smart contract module receives the resource data using the 80G exchange capacity to trigger the execution of the smart contract and reduce the token value corresponding to the 80G exchange capacity at the wallet address (second wallet address) corresponding to the resource user.
- Fig. 7 is a schematic diagram of an embodiment of a resource aggregation network sharing virtual network resources.
- This embodiment provides a resource aggregation network to implement a blockchain resource transaction network for communication and computer information networks, and at least includes: a resource aggregation node 10C, a smart contract module 20, and a memory 30.
- the resource aggregation node 10C corresponds to a wallet address and is used to share virtual network resources with the network.
- the resource provider supplies virtual network resources to the network by controlling and managing the network equipment; the users use the virtual network resources in the network by controlling and managing the network equipment.
- resource providers are also users, supplying and using virtual network resources in the network by controlling and managing network equipment.
- the resource provider provides or supplies virtual network resources to the server at a certain resource aggregation node, and this resource aggregation node corresponds to the wallet address of the resource provider; the resource user requests the server to use it at a certain resource aggregation node Virtual network resource, this resource aggregation node corresponds to the wallet address that identifies the resource user.
- the smart contract module 20 is used to perform operations on the resource data of the resource aggregation node according to the smart contract to obtain the corresponding token value.
- the smart contract includes rules for calculating the corresponding token value using the resource data of the resource aggregation node and the wallet address.
- the smart contract module receives the resource data of the resource aggregation node, triggers the execution of the smart contract, and calculates the token value corresponding to the resource data of the resource aggregation node in accordance with the rules of the smart contract.
- the resource data includes information indicating shared resource parameters, such as identification information indicating supply or use, and information indicating resource types and resource quantities of virtual network resources.
- the resource types of virtual network resources include at least one of the following: storage resources, switching resources, and transmission resources; the number of resources includes at least one of the following: storage capacity, switching capacity, and transmission capacity.
- each type of virtual network resource is a virtual set formed by part of physical network resources or their combination.
- the resource provider provides users with virtual network resources with a switching capacity of 100T and a transmission capacity of 100G at the resource aggregation node.
- the smart contract module calculates the token value corresponding to the virtual network resource with the exchange capacity of 100T and the transmission capacity of 100G according to the supplied resources.
- This token value is an incentive value for resource providers to supply resources.
- the resource provider obtains the reward for providing the resource, which is represented by the token value, which corresponds to the wallet address of the resource provider, that is, the first wallet address.
- a resource user requests a virtual network resource with an exchange capacity of 100T and a transmission capacity of 100G from the server at the resource aggregation node to form a virtual private network VPN1.
- the smart contract module calculates the use of the virtual private network VPN1 according to the requested resources
- the token value corresponding to the occupied virtual network resources is the consumption value paid by the resource user using the resource.
- the resource user consumes the token value, which corresponds to the wallet address of the resource user, that is, the second wallet address, and obtains the right to use the resource.
- the rules for calculating the token value according to resources that is, the rules of smart contracts, are recorded in the blockchain smart contract module.
- the memory 30 is used to store the smart contract, wallet address, and token value in a blockchain manner.
- the resource provider supplies a VPN2 network with an access rate of 100M to the server at the resource aggregation node.
- the smart contract module calculates the reward value corresponding to the 100M VPN2 network according to the supplied resources, that is, the token value, and in the blockchain memory, it will identify the token value corresponding to the first wallet address of the resource provider Update and store.
- the resource user requests 100M VPN network resources from the server at the resource aggregation node, and the smart contract module calculates the token value corresponding to the 100M VPN2 network according to the requested resources, and in the blockchain memory, it will indicate the resource usage
- the token value corresponding to the second wallet address of the person is updated and stored.
- a first service module 12 that is, a controller, which corresponds to the first wallet address and is used to change the configuration of virtual network resources.
- the resource provider provides a VPN2 network with a transmission capacity of 100M.
- the first service module confirms the first wallet address and reports the virtual network resource Configure 100M VPN2 resources.
- a second service module 13 that is, a controller, corresponding to the second wallet address, for invoking the virtual network resource.
- the second service module receives and processes the data of the resource user at the resource aggregation node, and calls the resource of the resource aggregation node.
- the second service module confirms the second wallet address and provides an interface for the resource user to call VPN resources.
- the second service module stops opening the VPN resource to the resource user.
- Fig. 8 is a schematic diagram of an embodiment of a data sharing network for sharing data resources.
- This embodiment provides a data sharing network to implement a blockchain resource transaction network for communication and computer information networks, and at least includes: data sharing nodes, 10C/D, smart contract module 20, and memory 30.
- the data sharing node 10C/D corresponds to the wallet address and is used to share data resources with the network.
- the resource provider supplies data resources to the network by controlling and managing the network equipment; the resource users use the data resources in the network by controlling and managing the network equipment.
- resource providers are also users, supplying and using data resources in the network by controlling and managing network equipment.
- the resource provider provides or supplies data resources to the server at a certain data sharing node, and this data sharing node corresponds to the wallet address that identifies the resource provider; the resource user requests the server for use at a certain data sharing node Data resource, this data sharing node corresponds to the wallet address that identifies the resource user.
- the smart contract module 20 is used to perform operations on the resource data of the data sharing node according to the smart contract to obtain the corresponding token value.
- the smart contract includes a rule for calculating the corresponding token value using the resource data and wallet address of the data sharing node.
- the smart contract module receives the resource data of the data sharing node, triggers the execution of the smart contract, and calculates the token value corresponding to the resource data of the data sharing node in accordance with the rules of the smart contract.
- the resource data includes information indicating shared resource parameters, such as identification information indicating supply or use, information indicating the resource type and resource quantity of the data resource.
- the number of resources includes at least one of the following: data access amount, data storage amount.
- the number of data resources supplied or called is reflected by the amount of data: for example, the token value obtained by the resource provider and the payment by the resource user
- the value of the token can be determined according to the amount of data storage, 100M data and 1000M data are different.
- the amount of token value obtained or paid is directly related to the number of visits (such as the number of visits, the amount of interviewed data) of the supplied or called data resources, such as: 1 visit to 100M data resources and 100 times ,
- the token value obtained or required to be paid is also different.
- the resource types of data resources include:
- resource types include at least one of the following: video resources, audio resources, image resources, text resources, and pure data resources; according to their importance, the resource types include at least one of the following: public resources, VIP resources, and confidential resources;
- the degree of data standardization, resource types include at least one of the following: raw data resources, preliminary screened data resources, and completely screened data resources; according to the degree of data confidentiality, the resource types include at least one of the following: unencrypted resources and encrypted resources.
- you can share in business activities you can share text information, pictures, audio and video information including business background information; in scientific and technological activities, you can share scientific research data and scientific research results including pure data such as measurement data, encrypted data, and raw data ; In government management activities, you can share filtered data, public data, and confidential or unclassified data resources, etc.; in big data analysis activities, including structured or unstructured data, you can share video resources, text Resources, etc., used to analyze the flow of people in a certain area, etc.
- the resource provider supplies 100M data resources to the server at the data sharing node.
- the smart contract module is triggered to calculate the token value corresponding to the 100M data resource.
- the token value is the incentive value for the resource provider to supply resources after the resource user calls the 100M data resource this time.
- the resource provider obtains the reward for providing the resource, which is represented by the token value, and corresponds to the wallet address of the resource provider, which is the first wallet address.
- the resource user requests 10M data resources from the server at the data sharing node, and the smart contract module calculates the token value corresponding to the use of the 10M data resources according to the requested resources.
- This token value is the consumption value paid by the resource user using the resource.
- the resource user's consumption token value corresponds to the resource user's wallet address, that is, the second wallet address, and obtains the right to use the resource.
- the rules for calculating the token value according to resources that is, the rules of smart contracts, are recorded in the blockchain smart contract module.
- the memory 30 is used to store the smart contract, wallet address, and token value in a blockchain manner.
- the resource provider supplies 100M data resources to the server at the data sharing node.
- the smart contract module is triggered to calculate the reward value corresponding to the 100M data resource, that is, the token value, and in the blockchain memory, it will identify the resource provider's first
- the token value corresponding to a wallet address is updated and stored.
- the resource user requests 10M data resources from the server at the data sharing node, and the smart contract module calculates the token value corresponding to the 10M data resources according to the requested resources, and will identify the resource user in the blockchain memory
- the token value corresponding to the second wallet address is updated and stored.
- a first service module 12 that is, a controller, which corresponds to the first wallet address and is used to change the configuration of data resources.
- the resource provider provides 100M data resources
- the first service module confirms the first wallet address, accepts and processes this application, and changes the configuration of the data center 10C to connect 100M data Access to the data sharing network increases the supply of resources.
- the smart contract module receives the resource data including an increase of 100M, triggers the execution of the smart contract when the resource user calls it, and issues the token value corresponding to the 100M data resource to the wallet address (first wallet address) corresponding to the resource provider.
- the first service module confirms the first wallet address, accepts and processes this application, and changes the configuration of the data center 10D to remove the 20M data resources from the data sharing network Remove, reduce the resource supply.
- the sharing of data resources when a resource user calls a data resource, the execution of a smart contract is triggered, and the token value of the wallet address (first wallet address) corresponding to the resource provider is changed according to the amount of resource data called.
- the present invention also includes a second service module 13, ie, a controller, corresponding to the second wallet address, for calling the data resource.
- the second service module receives and processes the data of the resource user in the data sharing node, and calls the resources of the network resource node.
- the resource user uses 100M data resources
- the second service module confirms the second wallet address, accepts and processes this application, and uses the data resources by accessing the data center.
- the smart contract module receives resource data including the use of 100M transmission capacity, triggers the execution of the smart contract, and reduces the token value corresponding to the 100M transmission capacity at the wallet address (first wallet address) corresponding to the resource user.
- Fig. 9 is a schematic diagram of an embodiment of a service sharing network for sharing service resources.
- This embodiment provides a service sharing network to implement a blockchain resource transaction network, which at least includes: a service sharing node 10E/F, a smart contract module 20, and a memory 30.
- the service sharing node 10E/F corresponds to the wallet address and is used to share service resources with the network.
- Share in this embodiment refers to openness and or access.
- resource providers open service resources to the network by controlling and managing network devices; resource users access service resources in the network by controlling and managing network devices.
- resource providers are also users, and open and access service resources in the network by controlling and managing network devices.
- a resource provider provides or opens up service resources at a certain service sharing node, and this service sharing node corresponds to the wallet address that identifies the resource provider; the resource user requests access from the server at a certain service sharing node Service resource, this service sharing node corresponds to the wallet address that identifies the resource user.
- the wallet address is the account number of the blockchain network user.
- the first wallet address is the wallet address of the resource provider
- the second wallet address is the wallet address of the resource user.
- the wallet address at least corresponds to the token value stored in the blockchain, and the wallet address can also correspond to other account values.
- the account value of the wallet address refers to the asset value corresponding to the wallet address, such as currency, virtual currency, bank account value, stocks, futures, funds, equity, points, etc.
- the service sharing node includes service resources, such as an email server, an e-commerce server, a proxy server, and a real-time communication server, a mobile information server, and a streaming media server included in a service sharing node 10E. And so on, connect to the network through the access control server.
- Access control is a technology that restricts the user's access to certain information items or restricts the use of certain control functions according to the user's identity and a certain defined group to which it belongs. For example, the principle of the UniNAC network access control system is Based on this technology. Access control is usually used by system administrators to control user access to network resources such as servers, directories, and files.
- the smart contract module 20 is used to perform operations on the resource data of the service sharing node according to the smart contract to obtain the corresponding token value.
- the smart contract includes rules for calculating the corresponding token value using the resource data of the service sharing node and the wallet address.
- the smart contract module receives the resource data of the service sharing node, triggers the execution of the smart contract, and calculates the token value corresponding to the resource data of the service sharing node in accordance with the rules of the smart contract.
- the resource data includes information indicating shared resource parameters, such as identification information indicating openness or access, information indicating the resource type and resource quantity of the service resource.
- the quantity of resources includes the open quantity of service resources and the access quantity of service resources.
- the open amount of service resources may include the executable code size, opening time, and number of open function items of the service resources.
- the amount of service resource visits includes the number of visits to the open or accessed service resource, the length of the visit, the number of visitors, the number of accessed function items, and the size of executable code that are directly related, such as: access to mail Service system 1 time and 100 times, the token value obtained or required to be paid is different.
- the types of service resources include at least one of the following: platform resources and tool resources; the platform resources refer to platform-based services; and the tool resources refer to services that provide specific functions.
- e-commerce platforms online shopping malls, online libraries, online game halls, etc.
- government affairs platforms mail services, function libraries, algorithm libraries, database queries, search engines, navigation services, etc.
- function libraries function libraries
- algorithm libraries algorithm libraries
- database queries search engines
- navigation services etc.
- token values may be obtained or paid.
- the resource provider opens the service resources of the online library to the server at the service sharing node.
- the smart contract module is triggered to calculate the token value corresponding to the online library resource.
- the token value is the incentive value for the resource provider to open the resource after the resource user accesses the service resource.
- the resource provider obtains the reward for providing the resource, which is represented by the token value, and corresponds to the wallet address of the resource provider, which is the first wallet address.
- the resource user requests the service resource of the algorithm library from the server at the service sharing node, and the smart contract module calculates the token value corresponding to the access to the algorithm library according to the requested resource.
- This token value is the consumption value paid by resource users for accessing resources.
- the resource user consumes the token value, which corresponds to the resource user's wallet address, that is, the second wallet address, and obtains access to the resource.
- the rules for calculating the token value according to resources that is, the rules of smart contracts, are recorded in the blockchain smart contract module.
- the memory 30 is used to store the smart contract, wallet address, and token value in a blockchain manner.
- resource providers open up the service resources of search engines at the service sharing node.
- the smart contract module is triggered to calculate the reward value corresponding to the service resource of the search engine, that is, the token value, and in the blockchain memory, the resource provider will be identified
- the token value corresponding to the first wallet address is updated and stored.
- the resource user requests the service resource of the search engine from the server at the service sharing node, and the smart contract module calculates the token value corresponding to the service resource of the search engine according to the requested resource, and in the blockchain memory, will identify The token value corresponding to the second wallet address of the resource user is updated and stored.
- a first service module 12 that is, a controller, which corresponds to the first wallet address and is used to change the configuration of service resources.
- the resource provider provides the service resources of the online mall
- the first service module confirms the first wallet address, accepts and processes this application, and changes the configuration of the server 10 to change the portal of the online mall
- Access to the service sharing network increases the open volume of service resources.
- the smart contract module receives the resource data including the added online mall service, triggers the execution of the smart contract when the resource user visits the online mall, and issues the token value corresponding to the online mall service resource to the wallet address (first wallet address) corresponding to the resource provider .
- the first service module confirms the first wallet address, accepts and processes this application, and changes the online mall service resources from the server 10
- the service sharing network is removed, and the search engine service resources are added to the service sharing network.
- the sharing of service resources when the resource user accesses the service resource, the execution of the smart contract is triggered, and the corresponding resource provider is changed according to the amount of service resource access
- the token value of the wallet address (first wallet address).
- it also includes a second service module 13, ie, a controller, corresponding to the second wallet address for accessing the service resource.
- the second service module receives and processes the data of the resource user in the service sharing node, and accesses the resources of the network resource node.
- the resource user accesses the service resources of the online mall
- the second service module confirms the second wallet address, accepts and processes this application, and accesses the configuration of the server 10E to change the service of the online mall
- the resource is sent to the network aggregation node, and the service resource is accessed.
- the smart contract module receives the resource data including access to the online mall, triggers the execution of the smart contract, and reduces the token value corresponding to the online mall service at the wallet address (first wallet address) corresponding to the resource user.
- the rule includes: the amount of change of the token value is accumulated according to the sharing time of the resource aggregation node.
- the rules are smart contract rules, which are executed in accordance with the blockchain smart contract.
- the calculation of the token value can also accumulate the acquisition or reduction of the token value per unit time according to the accumulation of time, that is, PD (for example, Figure 7); it can also obtain or reduce the token value per unit time according to different resource types. Perform accumulation, namely PD i (for example, Figure 6, 8-9).
- the token value obtained per unit time is D 1
- the resource provider provides a total of 10 unit times
- the corresponding token value PD 1 10 ⁇ D 1
- the resource user uses 100G of storage space.
- the token value obtained per unit time is D 2
- the corresponding token value PD 2 10 ⁇ D 2 .
- the smart contract module includes a multiplier for performing operations on the resource data to obtain the change in the token value; the coefficient of the multiplier is read from the memory , Or generated by the smart contract module.
- the conversion coefficient of the multiplier is represented as T.
- T can be a coefficient value or an operator, and there is no specific limitation here.
- resource providers provide virtual network resources: VPN services with 100M bandwidth.
- the data R sent by the resource aggregation node is sent as the multiplier.
- the rules include methods for determining the coefficients of the multiplier:
- the coefficient of the multiplier is a variable of the resource type; the coefficient of the multiplier is different for different resource types.
- the disk space provided by the resource provider and the VPN service provided are different in the calculation of the token value of these two types of resources: that is, the coefficients of the multipliers are different.
- the disk space used by resource users and VPN services are calculated differently for these two types of resources.
- the usage coefficient is T 1.
- the resource quantity is expressed as R 1
- the usage coefficient is T 2.
- the number of resources is expressed as R 2
- the coefficient of the multiplier is a variable of the number of resources; for example, the disk space provided by the resource provider, 100G space and 500G space, the coefficient of the multiplier is different, the corresponding token value is also different.
- the disk space used by resource users, 100G space and 500G space, and the coefficient of the multiplier are different, and the corresponding token value is also different.
- the coefficient of the multiplier is a variable of the wallet address; different resource providers supply the same disk space, the coefficient of the multiplier can be different, and thus different token values will be obtained. For example, provide greater rewards to resource providers who have long-term stable cooperation, or providers who join members to get better rewards. Similarly, different resource users can obtain different token values using the same disk space.
- the coefficient of the multiplier is a variable of shared time; for example, the disk space supplied by the resource provider, or the disk space used by the resource user, different supply or use times, the multiplier's calculation coefficient for the token value Also different.
- the coefficient of the multiplier is a variable of the token value. For example, when the value of the resource exchanged by the resource user is large, there will be a discount for the calculation of the required token value of the resource; or when the resource provider has more token value, the system operator will actively give some discounts to let them provide more Resources.
- the coefficient of the multiplier is a variable of x (x is another parameter) in this application document means that the coefficient of the multiplier changes with x.
- it also includes multiple network devices (for example, a resource aggregation node, a data sharing node, and a service sharing node), respectively corresponding to one or more, same or different wallet addresses.
- network devices for example, a resource aggregation node, a data sharing node, and a service sharing node
- the system has the ability to connect or support multiple network device nodes.
- the same resource provider or resource user will have one or more network device nodes, which provide or apply for different resources at different nodes; each resource provider or resource user can also have one or more wallet addresses. You can use any one of your own wallet addresses to log in at your own resource aggregation node to remotely supply and use resources.
- Multiple network device nodes can correspond to the same wallet address.
- multiple physical resource aggregation nodes correspond to one resource provider; multiple nodes that construct VPN1 correspond to one resource user; construct VPN2 The multiple nodes correspond to another resource user.
- the same resource aggregation node includes equipment from multiple resource providers, or multiple resource users access it.
- one resource aggregation node can correspond to multiple different wallet addresses.
- one terminal node 10A includes facilities, part of the transmission capacity belongs to one resource provider, and the other part If the capacity belongs to another resource provider, this terminal node 10A corresponds to two different first wallet addresses.
- the facilities included in the equipment of the switching node 10B a part of the switching capacity is used by one user and the other part of the switching capacity is used by another user, then this switching node 10B corresponds to two different second wallet addresses.
- Each resource provider or user can also have multiple wallet addresses to distinguish resource aggregation node types. For example, a resource provider or resource user can use one wallet address to log in to two resource aggregation nodes, such as one for supplying or invoking 100G disk space, and the other for supplying or invoking VPN services. At this time, for the supply or use of resources on the two resource aggregation nodes, the token value is changed from the wallet address accordingly.
- the resource provider or resource user has two wallet addresses, ID 1 and ID 2 .
- ID 1 corresponds to the resource aggregation node that provides or invokes 100G disk space
- ID 2 corresponds to the resource aggregation node that provides or invokes VPN services.
- the token value corresponding to ID 1 is changed according to the resource aggregation node of 100G disk space
- the communication value corresponding to ID 2 is changed.
- the certificate value is changed according to the resource convergence node of the VPN service resource.
- the resource includes at least one of the following: physical network resource, virtual network resource, data resource, and service resource.
- Embodiment 1 Change the resource corresponding to the first wallet address, and change the token value corresponding to the first wallet address according to the rules.
- the physical network resource corresponding to the first wallet address is changed, and the token value corresponding to the first wallet address is changed according to the change amount of the physical network resource according to the rules of the smart contract.
- the smart contract module calculates the token value corresponding to the 100G disk space according to the smart contract rules, and updates and stores the first wallet address in the blockchain memory. Token value.
- Embodiment 2 According to the token value corresponding to the first wallet address, the resource corresponding to the first wallet address is changed.
- the physical network resource corresponding to the first wallet address is changed.
- the resource provider adjusts the supply of resources according to the token value.
- the resource provider is asked to increase or decrease the supply of resources, and the resource provider increases or decreases the supply of resources at the resource convergence node.
- the corresponding token value is calculated according to the increased or decreased resources to confirm whether the stock of the token value corresponding to the first wallet address is updated and stored in the blockchain memory is in compliance with the smart contract rules If it does not comply, continue to change the network resources until the relationship between the stock of the token value and the resource data conforms to the smart contract rules.
- Embodiment 3 Invoke the resource corresponding to the first wallet address, and change the token value corresponding to the first wallet address.
- the resource user corresponding to the second wallet address applies to the system and obtains resource usage; in the smart contract module, according to the rules of the smart contract, the token value corresponding to the resource provided by the resource provider is calculated and stored in the block
- the chain memory updates and stores the token value corresponding to the first wallet address.
- Embodiment 4 According to the token value corresponding to the first wallet address, the resource corresponding to the first wallet address is called.
- the system can actively provide resource supply information to resource users corresponding to the second wallet address according to the token value under the first wallet address of the resource provider, and encourage resource users to call the resources under the first wallet address.
- the user in the resource corresponding to the second wallet address calls the resource corresponding to the first wallet address through the second server.
- the smart contract module calculate the token value corresponding to the resource called: the calculation coefficient for the token value under the first wallet address and the second wallet address It can be the same or different.
- the token value corresponding to the first wallet address and the second wallet address is updated and stored in the blockchain memory.
- Embodiment 5 Invoke the resource corresponding to the first wallet address, and change the token value corresponding to the second wallet address.
- the resource user corresponding to the second wallet address applies to the system and obtains the resource corresponding to the first wallet address; in the smart contract module, according to the smart contract rules, calculate the token value corresponding to the requested resource, and Update and store the token value corresponding to the second wallet address of the resource user in the blockchain memory.
- Embodiment 6 According to the token value corresponding to the second wallet address, the resource corresponding to the first wallet address is called.
- the system provides the resource user with resource supply information that the token value can support, and the resource user can select and call resources accordingly.
- the smart contract module according to the rules of the smart contract, calculate the token value corresponding to the called resource, and confirm whether the token value corresponding to the user's second wallet address stored in the blockchain memory is stored Comply with smart contract rules, if not, use network resources until the relationship between the stock of token value and resource data complies with smart contract rules.
- the network described in any one of the embodiments of the present application is used to implement token account transactions.
- the following examples are given:
- Embodiment 7 Increase the token value corresponding to the first wallet address and decrease the account value corresponding to the first wallet address.
- the account value of the wallet address refers to the assets corresponding to the wallet address, including currency, virtual currency, bank account value, stocks, futures, funds, equity, etc., as well as token value.
- the account value of the first wallet address can be used to purchase or exchange the token value.
- the resource provider pays by currency, in the smart contract module, triggers the corresponding smart contract to be executed, calculates the value of the purchased token through the smart contract rules, and updates the token value corresponding to the first wallet address, and stores it in In the blockchain memory.
- Embodiment 8 Reduce the token value corresponding to the first wallet address and increase the account value corresponding to the first wallet address.
- the token value of the first wallet address can be used to exchange the account value.
- the resource provider uses the token value to exchange currency or stock, in the smart contract module, triggers the corresponding smart contract to be executed, and through the smart contract rules, according to the token value to be used in the first wallet address, the corresponding currency or For stocks, the token value corresponding to the first wallet address is subtracted from the token value to be used, and the updated token value is stored in the blockchain memory. At this time, the added currency or stock information is also recorded in the memory of the blockchain.
- Embodiment 9 Increase the token value corresponding to the second wallet address and decrease the account value corresponding to the second wallet address.
- the account value of the second wallet address can be used to exchange the token value.
- a resource user pays by currency, in the smart contract module, triggers the corresponding smart contract to be executed, calculates the purchased token value through the smart contract rules, and updates the token value corresponding to the second wallet address, and stores it in In the blockchain memory.
- Embodiment 10 Decrease the token value corresponding to the second wallet address and increase the account value corresponding to the second wallet address.
- the token value of the second wallet address can be used to exchange the account value.
- the resource user uses the token value to exchange currency or stocks, in the smart contract module, triggers the corresponding smart contract to be executed, through the smart contract rules, according to the token value to be used in the second wallet address, the corresponding currency or Stock, and then subtract the token value corresponding to the second wallet address from the token value to be used, and store the updated token value in the blockchain memory.
- the added currency or stock information is also recorded in the memory of the blockchain.
- the present invention can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. the way.
- the technical solution of the present invention essentially or the part that contributes to the prior art can be embodied in the form of a software product.
- the computer software product is stored in a storage medium and includes several instructions to make a A terminal device (which can be a mobile phone, a personal computer, a server, or a network device, etc.) executes the methods described in the various embodiments of the present invention.
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
本申请要求于2019年1月21日提交中国国家知识产权局、申请号为201910055250.8、发明名称为“区块链资源交易网络和交易方法”、申请号为201910055361.9、发明名称为“一种通证控制的网络和网络节点”、申请号为201910054782.X、发明名称为“资源汇聚网络和方法”、申请号为201910055417.0、发明名称为“数据共享网络和方法”、申请号为201910055429.3、发明名称为“服务共享网络和方法”的中国专利申请的优先权,该在先申请的全部内容通过引用结合在本申请中。This application requires that it be submitted to the State Intellectual Property Office of China on January 21, 2019, the application number is 201910055250.8, the name of the invention is "blockchain resource transaction network and transaction methods", the application number is 201910055361.9, and the name of the invention is "a kind of token" Controlled network and network nodes", application number is 201910054782.X, invention name is "resource aggregation network and method", application number is 201910055417.0, invention name is "data sharing network and method", application number is 201910055429.3, invention name is The priority of the Chinese patent application of "Service Sharing Network and Method", the entire content of this earlier application is incorporated into this application by reference.
本申请涉及计算机和通信技术领域,尤其涉及一种区块链资源交易网络和交易方法。This application relates to the field of computer and communication technology, and in particular to a blockchain resource transaction network and transaction method.
随着科技的高速发展,数字化经济正越来越呈现指数化扩张。这种增长来自数字化驱动的生产要素向“自组织+可信任”发展的驱动,即所有交易中所需的中介越来越少,以至为零,因此提升了商业价值和创新潜力,在电子商务,金融,物流,社交网络以及区块链领域,都看得到这个趋势。With the rapid development of technology, the digital economy is increasingly showing exponential expansion. This growth is driven by the development of digitally-driven production factors to "self-organization + trustworthiness", that is, the number of intermediaries required in all transactions is becoming less and less, or even zero, thus enhancing business value and innovation potential. This trend can be seen in the fields of finance, logistics, social networking and blockchain.
在传统的系统中,中心化的管理难以涵盖数字世界中所有的活动,尤其是对于系统资源的配置和管理,难以做到实时匹配,很容易形成资源冗余造成浪费;当用户数量和使用频率增加时,云端或本地都要相应增加计算,存储,通讯等硬件配置。In traditional systems, centralized management cannot cover all activities in the digital world, especially for the configuration and management of system resources, it is difficult to achieve real-time matching, and it is easy to form resource redundancy and cause waste; when the number of users and frequency of use When increasing, the cloud or local must increase the hardware configuration such as computing, storage, and communication.
本发明提供了一种基于区块链技术的分布式系统的技术,实现“自组织+可信任”的软硬件资源共享。本发明的系统中,分布式节点是具有软件运算,数据存储和网络通讯能力的计算机系统,分布式节点可运行数据分析算法,存储数据。客户端是具有人机交互和网络通讯能力的电子设备,包括计算机,手机等。客户端可完成向分布式节点发送数据分析请求,显示数据分析结果,上传原始数据,上传数据分析算法。本发明使用区块链通证,激励和管理资源共享规则。区块链通证通过智能合约在区块链公链,例如以太坊,EOS等上生成,分布式节点和客户端通过内置的相应区块链公链钱包可以获得区块链通证和使用区块链通证,数据透明,不可篡改。因而实现了“自组织+可信任”的资 源共享。The present invention provides a distributed system technology based on block chain technology to realize "self-organization + trustworthy" software and hardware resource sharing. In the system of the present invention, the distributed node is a computer system with software computing, data storage and network communication capabilities, and the distributed node can run data analysis algorithms and store data. Clients are electronic devices with human-computer interaction and network communication capabilities, including computers, mobile phones, etc. The client can complete sending data analysis requests to distributed nodes, display data analysis results, upload raw data, and upload data analysis algorithms. The present invention uses blockchain tokens to encourage and manage resource sharing rules. Blockchain tokens are generated on public blockchains, such as Ethereum, EOS, etc. through smart contracts. Distributed nodes and clients can obtain blockchain tokens and usage areas through the built-in corresponding blockchain public chain wallets. Blockchain pass, data is transparent and cannot be tampered with. Thus, the resource sharing of "self-organization + trustworthiness" is realized.
本申请通过引入区块链技术,解决传统行业的诸多挑战和创新,提升数字经济生态系统中的透明度、智能程度和信任水平。解决现有技术中系统资源可伸缩性低的问题,同时也提高了系统在使用中的数据安全。This application solves many challenges and innovations in traditional industries by introducing blockchain technology, and enhances the transparency, intelligence and trust level in the digital economy ecosystem. The problem of low scalability of system resources in the prior art is solved, and the data security of the system in use is also improved.
发明内容Summary of the invention
本申请实施例提供一种区块链资源交易网络、网络节点和交易方法,解决现有技术中系统资源缺乏伸缩性的问题。The embodiments of the present application provide a blockchain resource transaction network, network node, and transaction method to 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 for communication and computer information network, including: an application network, a first service module, a second service module, and a blockchain module. The application network is a part of the communication and computer information network; the first service module is used to control the resource change amount corresponding to the wallet address in the application network; the second service module is used to change The amount of resource usage corresponding to the wallet address in the application network; the block chain module is used to change the token value corresponding to the wallet address according to the amount of resource change and or the amount of resource usage, and store it in the blockchain .
优选的,本申请的系统中,还包括第三服务模块,用于对第一模块或第二模块进行监测,获得资源变化量或资源使用量。Preferably, the system of the present application further includes a third service module, which is used to monitor the first module or the second module to obtain the amount of resource change or resource usage.
优选的,本申请的系统中,还包括交易模块,用于资源兑换通证、或通证兑换资源。Preferably, the system of the present application further includes a transaction module, which is used to exchange resources for tokens, or exchange tokens for resources.
优选的,本申请的系统中,所述交易服务模块还用于通证兑换货币。Preferably, in the system of the present application, the transaction service module is also used to exchange currency.
优选的,本申请的系统中,多个所述钱包地址对应的通证值的总量有上限。Preferably, in the system of this application, the total amount of token values corresponding to multiple wallet addresses has an upper limit.
优选的,本申请的系统中,多个所述钱包地址对应的通证值的总量无上限。Preferably, in the system of the present application, there is no upper limit on the total amount of token values corresponding to multiple wallet addresses.
本申请实施例还提供一种区块链资源交易方法,包括以下步骤:根据与钱包地址对应的资源变化量计算通证值,和或,根据与钱包地址对应的资源使用量计算通证值;将所述钱包地址和通证值存储在区块链。The embodiment of the application also provides a blockchain resource transaction method, which includes the following steps: calculating the token value according to the resource change corresponding to the wallet address, and or, calculating the token value according to the resource usage corresponding to the wallet address; Store the wallet address and the token value in the blockchain.
优选地,本申请的方法中,还包括步骤:用通证与货币进行兑换。Preferably, the method of the present application further includes the step of using a pass to exchange currency.
优选地,本申请的方法中,还包括步骤:对资源提供者和资源使用者的行为进行监测分析。Preferably, the method of the present application further includes the step of monitoring and analyzing the behaviors of resource providers and resource users.
优选的,本申请的系统和方法中,所述资源包含以下至少一种:物理网络资源、虚拟网络资源、数据资源、服务资源。Preferably, in the system and method of the present application, the resources include at least one of the following: physical network resources, virtual network resources, data resources, and service resources.
本申请实施例还提供一种通证控制的网络节点,用于通信、计算机信息网络,包括:网络设备,乘法器,区块链存储器。所述网络设备,为通信、计算机信息网络上的设备;所述乘法器,用转换系数对所述网络设备的数据做运算; 所述区块链存储器,用于将所述乘法器的输出作为通证值存储在区块链中。所述网络设备的数据包括以下至少一种:存储容量、交换容量、传输容量。The embodiment of the present application also provides a network node controlled by a token, which is used in a communication and computer information network, and includes: a network device, a multiplier, and a blockchain memory. The network device is a device on a communication and computer information network; the multiplier uses a conversion coefficient to perform operations on the data of the network device; the blockchain memory is used to use the output of the multiplier as The token value is stored in the blockchain. The data of the network device includes at least one of the following: storage capacity, exchange capacity, and transmission capacity.
优选的,所述转换系数,从所述区块链存储器中读取。Preferably, the conversion coefficient is read from the blockchain memory.
优选的,所述乘法器还用于根据所述通证值和转换系数,得出所述网络设备的数据,发送到所述网络设备。Preferably, the multiplier is further configured to obtain the data of the network device according to the token value and the conversion coefficient, and send the data to the network device.
优选的,所述网络设备包括以下至少一种:存储设备、交换设备、传输设备。Preferably, the network equipment includes at least one of the following: storage equipment, switching equipment, and transmission equipment.
优选的,本申请的系统中,所述网络设备可以形成资源汇聚节点、服务共享节点、数据共享节点中至少一种类型。Preferably, in the system of the present application, the network device may form at least one type of a resource aggregation node, a service sharing node, and a data sharing node.
本申请实施例提供一种通证控制的网络,包含本申请任意一项实施例所述网络节点。The embodiment of the present application provides a token-controlled network, including the network node described in any one of the embodiments of the present application.
本申请实施例还提供一种区块链资源交易网络,用于通信、计算机信息网络,包括:网络设备,智能合约模块,存储器;所述网络设备,对应于钱包地址,用于向网络共享资源;所述智能合约模块,用于按照智能合约,对所述网络设备的资源数据做运算,获得对应的通证值;所述智能合约,包含用所述资源数据、钱包地址计算对应的通证值的规则;所述存储器,用于区块链方式存储所述智能合约、钱包地址、通证值。The embodiment of the application also provides a blockchain resource transaction network for communication and computer information network, including: network equipment, smart contract module, memory; the network equipment, corresponding to the wallet address, is used to share resources with the network The smart contract module is used to perform operations on the resource data of the network device in accordance with the smart contract to obtain the corresponding token value; the smart contract includes using the resource data and wallet address to calculate the corresponding token Value rules; the memory is used to store the smart contract, wallet address, and token value in a blockchain manner.
优选的,本申请的系统中,还包括第一服务模块,对应于第一钱包地址,用于改变资源。Preferably, the system of the present application further includes a first service module, corresponding to the first wallet address, for changing resources.
优选的,本申请的系统中,所述规则包含:所述通证值的变化量,根据所述网络设备的共享时间进行累加。Preferably, in the system of the present application, the rule includes: the amount of change in the token value is accumulated according to the sharing time of the network device.
优选的,本申请的系统中,所述智能合约模块包含乘法器,用于对所述资源数据做运算获得所述通证值的变化量;所述乘法器的系数从所述存储器中读取,或由智能合约模块生成。Preferably, in the system of the present application, the smart contract module includes a multiplier for performing operations on the resource data to obtain the change in the token value; the coefficient of the multiplier is read from the memory , Or generated by the smart contract module.
优选的,本申请的系统中,所述规则包含确定所述乘法器的系数方法,包含以下至少一种:所述乘法器的系数是资源种类的变量;所述乘法器的系数是资源数量的变量;所述乘法器的系数是钱包地址的变量;所述乘法器的系数是共享时间的变量;所述乘法器的系数是通证值的变量。Preferably, in the system of the present application, the rule includes a method for determining the coefficient of the multiplier, including at least one of the following: the coefficient of the multiplier is a variable of the resource type; the coefficient of the multiplier is the number of resources Variable; the coefficient of the multiplier is a variable of the wallet address; the coefficient of the multiplier is a variable of shared time; the coefficient of the multiplier is a variable of the token value.
优选的,本申请的系统中,所述资源数据包括表示资源种类和资源数量的信息:Preferably, in the system of the present application, the resource data includes information indicating the type and quantity of resources:
资源种类包含以下至少一种:存储资源、交换资源、传送资源、视频资源、 音频资源、图片资源、文本资源、纯数据资源、平台资源、工具资源;Resource types include at least one of the following: storage resources, exchange resources, transmission resources, video resources, audio resources, picture resources, text resources, pure data resources, platform resources, and tool resources;
资源数量包含以下至少一种:存储容量、交换容量、传送容量、数据访问量、数据存储量、服务资源开放量、服务资源访问量。The number of resources includes at least one of the following: storage capacity, exchange capacity, transmission capacity, data access volume, data storage volume, service resource opening volume, and service resource access volume.
优选的,本申请的系统中,包含第二服务模块,对应于第二钱包地址,用于调用所述资源。Preferably, the system of the present application includes a second service module, corresponding to the second wallet address, for calling the resource.
优选的,本申请的系统中,包含多个网络设备,分别对应于1个或多个、相同或不同的钱包地址。Preferably, the system of the present application includes multiple network devices corresponding to one or more, the same or different wallet addresses.
本申请实施例还提供一种资源交易方法,用于本申请任意一件实施例所述资源交易网络,包括以下至少一个步骤:The embodiment of the present application also provides a resource transaction method used in the resource transaction network of any one of the embodiments of the present application, including at least one of the following steps:
改变与第一钱包地址对应的资源,按规则改变与第一钱包地址对应的通证值;Change the resource corresponding to the first wallet address, and change the token value corresponding to the first wallet address according to the rules;
根据与第一钱包地址对应的通证值,改变与第一钱包地址对应的资源;According to the token value corresponding to the first wallet address, change the resource corresponding to the first wallet address;
调用与第一钱包地址对应的资源,改变与第一钱包地址对应的通证值;Call the resource corresponding to the first wallet address and change the token value corresponding to the first wallet address;
根据与第一钱包地址对应的通证值,调用与第一钱包地址对应的资源;According to the token value corresponding to the first wallet address, call the resource corresponding to the first wallet address;
调用与第一钱包地址对应的资源,改变与第二钱包地址对应的通证值;Call the resource corresponding to the first wallet address and change the token value corresponding to the second wallet address;
根据与第二钱包地址对应的通证值,调用与第一钱包地址对应的资源。According to the token value corresponding to the second wallet address, the resource corresponding to the first wallet address is called.
优选的,本申请的方法中,还包括步骤:根据所述网络设备共享的时间,对计算的所述通证值进行累加。Preferably, the method of the present application further includes the step of accumulating the calculated token value according to the time shared by the network equipment.
优选的,本申请的方法中,还包括以下至少一个步骤:Preferably, the method of this application further includes at least one of the following steps:
增加第一钱包地址对应的通证值、减少第一钱包地址对应的账户值;Increase the token value corresponding to the first wallet address and decrease the account value corresponding to the first wallet address;
减少第一钱包地址对应的通证值、增加第一钱包地址对应的账户值;Decrease the token value corresponding to the first wallet address and increase the account value corresponding to the first wallet address;
增加第二钱包地址对应的通证值、减少第二钱包地址对应的账户值;Increase the token value corresponding to the second wallet address and decrease the account value corresponding to the second wallet address;
减少第二钱包地址对应的通证值、增加第二钱包地址对应的账户值。Decrease the token value corresponding to the second wallet address and increase the account value corresponding to the second wallet address.
本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:提升数字经济生态系统中的透明度、智能程度和信任水平。解决现有技术中系统资源可伸缩性低的问题,同时也提高了系统在使用中的数据安全。The above-mentioned at least one technical solution adopted in the embodiments of the present application can achieve the following beneficial effects: improving the transparency, intelligence, and trust level in the digital economy ecosystem. The problem of low scalability of system resources in the prior art is solved, and the data security of the system in use is also improved.
本发明的至少一个实施例,通过引入区块链的通证机制,提高了应用网络节点数据变化和存储的可靠性和安全性,实现可靠的数据资源交易。At least one embodiment of the present invention improves the reliability and security of data changes and storage of application network nodes by introducing a blockchain token mechanism, and realizes reliable data resource transactions.
本发明的至少一个实施例,通过引入区块链的通证机制,提高了应用网络节点配置变化的可靠性和安全性,实现可靠的物理网络和虚拟网络资源交易。At least one embodiment of the present invention improves the reliability and security of application network node configuration changes by introducing a blockchain token mechanism, and realizes reliable physical network and virtual network resource transactions.
本发明的至少一个实施例,通过引入区块链的通证机制,提高了应用网络 节点软件资源变化的可靠性和安全性,实现可靠的软件服务资源交易。At least one embodiment of the present invention improves the reliability and security of software resource changes of application network nodes by introducing a blockchain token mechanism, and realizes reliable software service resource transactions.
图1为一种区块链资源交易网络的模块图;Figure 1 is a block diagram of a block chain resource transaction network;
图2为一种包含第三服务模块的区块链资源交易网络的模块图;Figure 2 is a block diagram of a blockchain resource transaction network including a third service module;
图3为一种通证可交易的区块链资源交易网络的模块图;Figure 3 is a block diagram of a blockchain resource trading network with tradable certificates;
图4为一种区块链资源交易方法的流程图;Figure 4 is a flowchart of a blockchain resource transaction method;
图5为一种通证控制的网络和网络节点的模块图;Figure 5 is a block diagram of a token-controlled network and network nodes;
图6为一种共享物理网络资源的资源汇聚网络实施例示意图;Figure 6 is a schematic diagram of an embodiment of a resource aggregation network sharing physical network resources;
图7为一种共享虚拟网络资源的资源汇聚网络实施例示意图;FIG. 7 is a schematic diagram of an embodiment of a resource aggregation network sharing virtual network resources;
图8为一种共享数据资源的数据共享网络实施例示意图;FIG. 8 is a schematic diagram of an embodiment of a data sharing network for sharing data resources;
图9为一种共享服务资源的服务共享网络实施例示意图。Fig. 9 is a schematic diagram of an embodiment of a service sharing network for sharing service resources.
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions, and advantages of the present application clearer, the technical solutions of the present application will be described clearly and completely in conjunction with specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
以下结合附图,详细说明本申请各实施例提供的技术方案。The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
图1为一种区块链资源交易网络的模块图。Figure 1 is a block diagram of a blockchain resource transaction network.
本申请实施例提供一种区块链资源交易网络,至少包括以下模块:应用网络11;第一服务模块12;第二服务模块13;区块链模块14。The embodiment of the application provides a blockchain resource transaction network, which includes at least the following modules: an
应用网络11,为通讯和或计算机信息网络的一部分。资源使用者和资源提供者通过应用网络连接第一服务模块、第二服务模块。
例如,资源提供者通过应用网络向第一服务模块提供软硬件资源;资源使用者通过应用网络向第二服务模块请求资源。For example, the resource provider provides software and hardware resources to the first service module through the application network; the resource user requests resources from the second service module through the application network.
第一服务模块,用于控制、调整、改变应用网络中与钱包地址对应的资源变化量。资源提供者提供资源,第一服务模块对所提供的资源进行统计,得到资源变化量。第一服务模块将钱包地址及资源变化量发送给区块链模块。The first service module is used to control, adjust, and change the resource change amount corresponding to the wallet address in the application network. The resource provider provides resources, and the first service module performs statistics on the provided resources to obtain the amount of resource change. The first service module sends the wallet address and resource change to the blockchain module.
所述钱包地址是区块链网络资源使用者的账号。比如,资源提供者(例如供应商),资源使用者(即用户)等都有钱包地址。所述资源是计算机运行所 需的硬件、软件资源,用于提供运算、存储、服务、数据、硬件等支持计算机运行功能的单元。包括:服务资源、数据资源、虚拟网络资源、物理网络资源等。所述资源变化量,是在区块链资源交易网络中,对资源提供者提供的资源的统计值。The wallet address is the account of the user of the blockchain network resource. For example, resource providers (such as suppliers), resource users (ie users), etc. have wallet addresses. The resources are hardware and software resources required for the operation of the computer, and are used to provide operations, storage, services, data, hardware and other units that support the functions of the computer. Including: service resources, data resources, virtual network resources, physical network resources, etc. The resource change amount is a statistical value of the resource provided by the resource provider in the blockchain resource transaction network.
例如,资源提供者向第一服务模块提供自己的硬盘存储100G的硬件资源,第一服务模块对此100G的存储空间进行统计,获得资源变化量R p,并将钱包地址和R p传递给区块链模块。 For example, the resource provider provides the first service module with its own hard disk to store 100G of hardware resources, the first service module performs statistics on this 100G storage space, obtains the resource change R p , and passes the wallet address and R p to the district Block chain module.
资源提供者还可以向第一服务模块提供自己系统中实现的算法软件的接口,同样的,第一服务模块对此算法软件进行统计,并通知区块链模块,更改该钱包地址对应的资源值。其他类型的资源以此类推。The resource provider can also provide the first service module with the interface of the algorithm software implemented in its own system. Similarly, the first service module performs statistics on this algorithm software and informs the blockchain module to change the resource value corresponding to the wallet address . Other types of resources and so on.
第二服务模块,用于改变所述应用网络中与钱包地址对应的资源使用量。所述资源使用量是资源使用者向第二服务模块申请使用资源后,第二服务模块对资源使用者所申请的资源评估其资源值,即为资源使用量。The second service module is used to change the resource usage corresponding to the wallet address in the application network. The resource usage is that after the resource user applies to the second service module to use the resource, the second service module evaluates the resource value of the resource applied by the resource user, which is the resource usage.
例如,资源使用者申请使用一款游戏软件,第二服务模块评估这块游戏软件的资源使用量为R u,并将钱包地址及资源使用量R u传递给区块链模块。 For example, if a resource user applies for a game software, the second service module evaluates the resource usage of this game software as Ru , and passes the wallet address and resource usage Ru to the blockchain module.
区块链模块,用于根据资源变化量和或资源使用量改变与所述钱包地址对应的通证值,存储在区块链中。The block chain module is used to change the token value corresponding to the wallet address according to the amount of resource change and or the amount of resource usage, and store it in the block chain.
所述资源变化量,是资源提供者提供的资源的资源值。资源使用量,是资源使用者申请使用的资源的资源值。The resource change amount is the resource value of the resource provided by the resource provider. Resource usage is the resource value of the resource requested by the resource user.
区块链模块接收第一、第二服务模块传递的,关于钱包地址及其资源变化量和/或资源使用量,计算相应的通证值,并根据计算结果将该钱包地址对应的通证值和资源值进行更新,更新后的数据都存储于区块链中。The blockchain module receives the wallet address and its resource change and/or resource usage from the first and second service modules, calculates the corresponding token value, and calculates the token value corresponding to the wallet address according to the calculation result And the resource value is updated, and the updated data is stored in the blockchain.
例如,当资源提供者提供硬盘存储100G的资源时,区块链模块接收到第一服务模块传递的资源提供者的钱包地址和所提供资源的资源变化量R p,根据资源变化量R p计算相应的通证值N p,并根据计算结果,更新钱包地址对应的通证值和资源值,同时存储到区块链中。资源提供者获得了提供资源的回报,以通证值体现。 For example, when a resource provider provides a hard disk to store 100G resources, the blockchain module receives the wallet address of the resource provider and the resource change R p of the provided resource from the first service module, and calculates it according to the resource change R p The corresponding token value N p , and according to the calculation result, the token value and resource value corresponding to the wallet address are updated and stored in the blockchain at the same time. The resource provider receives the reward for providing resources, which is reflected in the token value.
再例如,当资源使用者使用硬盘存储100G的资源时,区块链模块接收到第二服务模块传递的资源提供者的钱包地址和所提供资源的资源变化量R u,根据资源变化量R u计算相应的通证值N u,并根据计算结果,更新钱包地址对应的通证值和资源值,同时存储到区块链中。资源使用者使用资源所付出的代价, 以通证值体现。 For another example, when a resource user uses a hard disk to store 100G resources, the blockchain module receives the wallet address of the resource provider and the resource change amount Ru of the provided resource transmitted by the second service module, according to the resource change amount Ru Calculate the corresponding token value N u , and update the token value and resource value corresponding to the wallet address according to the calculation result, and store it in the blockchain at the same time. The price paid by resource users for using resources is reflected in the token value.
应用区块链技术,本申请文件中的“钱包地址”,是加密数字资产钱包地址的简称,包括但不限于区块链账本公钥地址等,映射转换后的唯一可识别用户的地址。“通证”,是区块链通证(Token)的简称。“通证值”,根据应用的需要,可以是通证余额或通证变化量。Applying blockchain technology, the "wallet address" in this application document is the abbreviation of the encrypted digital asset wallet address, including but not limited to the public key address of the blockchain ledger, etc., after mapping the address that can uniquely identify the user. "Token" is the abbreviation of Blockchain Token. "Token value", according to the needs of the application, can be the token balance or the token change.
本申请中的钱包地址,相对于资源提供者、资源使用者、第一服务模块、第二服务模块、具体网络节点,分别可以相同、也可以不同,这里不做具体限定。The wallet address in this application may be the same or different with respect to the resource provider, resource user, first service module, second service module, and specific network nodes, and there is no specific limitation here.
图2为一种包含第三服务模块的区块链资源交易网络的模块图。本申请实施例提供一种包含第三服务模块的区块链资源交易网络。Figure 2 is a block diagram of a blockchain resource transaction network including a third service module. The embodiment of the present application provides a blockchain resource transaction network including a third service module.
作为本发明进一步优化的实施例,还包括第三服务模块25,用于对第一服务模块或第二服务模块进行监测,获得资源变化量或资源使用量。As a further optimized embodiment of the present invention, a
所述第三服务模块通过应用网络监测第一、第二服务模块,获取资源提供者和资源使用者对资源的提供和使用情况,根据需要,可以发送钱包地址及资源使用量或/和资源变化量,给区块链模块。The third service module monitors the first and second service modules through the application network, obtains the resource provision and usage of resource providers and resource users, and can send wallet addresses and resource usage or/and resource changes as needed Amount to the blockchain module.
第三服务模块作为管理模块,还可以监测资源变化量和资源使用量的状态。根据需要,可开发进一步的工作。As a management module, the third service module can also monitor the status of resource changes and resource usage. According to needs, further work can be developed.
例如,第三服务模块监测到资源提供者和资源使用者对于资源的行为,对其进行分析和统计,可以给系统资源使用者打分,分级。For example, the third service module monitors the behavior of resource providers and resource users on resources, analyzes and counts them, and can score and rank system resource users.
第三服务模块还可以对数据资源进行管理,通过大数据分析,对资源进行分级、分类,便于更有效地提供和使用资源,提高系统效率。The third service module can also manage data resources, classify and classify resources through big data analysis, so as to facilitate more effective provision and use of resources, and improve system efficiency.
第三服务模块还可以对物理资源进行状态维护和监督,支持VPN连接,提供数据资源等,更好地为系统服务。The third service module can also perform state maintenance and supervision of physical resources, support VPN connections, provide data resources, etc., to better serve the system.
图3为一种通证可交易的区块链资源交易网络的模块图。本申请实施例提供一种通证可交易的区块链资源交易网络,作为本发明进一步优化的实施例,还包括交易服务模块36,用于资源兑换通证或通证兑换资源。Figure 3 is a block diagram of a blockchain resource trading network with tradable certificates. The embodiment of the application provides a blockchain resource trading network with tradable tokens. As a further optimized embodiment of the present invention, it also includes a
所述交易服务模块,管理或改变资源使用者的钱包地址及其对应的账户值。交易服务模块接收第一、第二服务模块发送的钱包地址,及资源变化量和/或资源使用量,在交易服务模块中进行通证的兑换。并根据兑换结果,将账户值更新在交易服务模块的服务器中。例如资源提供者P或其钱包地址对应的账户值M p,资源提供者U或其钱包地址对应的账户值M u。同时可发送钱包 地址和资源变化量和/或资源使用量给区块链模块。 The transaction service module manages or changes the wallet address of the resource user and its corresponding account value. The transaction service module receives the wallet address and the resource change amount and/or the resource usage amount sent by the first and second service modules, and exchanges the token in the transaction service module. And according to the conversion result, the account value is updated in the server of the transaction service module. For example, the account value M p corresponding to the resource provider P or its wallet address, and the account value M u corresponding to the resource provider U or its wallet address. At the same time, the wallet address and the amount of resource change and/or resource usage can be sent to the blockchain module.
图3中的用户,包括但不限于资源提供者和资源使用者。交易服务模块的用户不仅可以包括区块链资源交易网络的资源使用者,还可以包括其他用户。这些用户以钱包地址作为账户,在交易模块中进行通证与资源的交易。The users in Figure 3 include but are not limited to resource providers and resource users. The users of the transaction service module can include not only resource users of the blockchain resource transaction network, but also other users. These users use the wallet address as an account to conduct transactions between tokens and resources in the transaction module.
例如,通过交易服务模块,这些用户既可进行资源与通证的交易,也可对通证进行拍卖,持股等。与第一、第二、第三服务模块相比,交易服务模块提供了更大的交易场所,能够与系统之外的用户进行交易,也支持其它形式的交易。交易服务模块的账户值也存储在区块链中。For example, through the transaction service module, these users can not only trade resources and tokens, but also auction tokens and hold shares. Compared with the first, second, and third service modules, the transaction service module provides a larger trading venue, can conduct 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 token value to the blockchain, and the blockchain automatically updates the token value corresponding to the wallet address.
作为本发明进一步优化的实施例,所述交易服务模块还用于通证兑换货币。兑换后,交易服务模块将钱包地址及兑换出去的通证值发送给区块链,区块链自动执行钱包地址对应的通证值的更新。As a further optimized embodiment of the present invention, the transaction service module is also used to exchange currency. After the exchange, the transaction service module sends the wallet address and the exchanged token value to the blockchain, and the blockchain automatically updates the token value corresponding to the wallet address.
交易服务模块的账户值既可以是通证值,也可以是货币,更可以是储值卡等等其它形式的有价资产。用户通过交易服务模块,在监管下,可以进行自由兑换。The account value of the transaction service module can be either a token value, currency, or other forms of valuable assets such as stored value cards. Through the transaction service module, users can exchange freely under supervision.
例如,通过交易服务模块,这些用户既可进行资源与通证的交易,又可进行通证与货币的兑换,或者进行其它形式的等价交易,比如,物物交易,货币与物品交易,也可对通证进行拍卖,持股,期权等。与第一、第二、第三服务模块相比,交易服务模块提供了更大的交易场所,能够与系统之外的用户进行通证交易,也支持其它形式的交易。交易服务模块的账户值也存储在区块链中。For example, through the transaction service module, these users can not only trade resources and tokens, but also exchange tokens and currencies, or carry out other forms of equivalent transactions, such as transaction of goods, currency and goods, and The tokens can be auctioned, stock held, options, etc. Compared with the first, second, and third service modules, the transaction service module provides a larger trading venue, can conduct pass-through 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.
作为本发明进一步优化的实施例,所述资源包含以下至少一种:物理网络资源、虚拟网络资源、数据资源、服务资源。As a further optimized embodiment of the present invention, the resources include at least one of the following: physical network resources, virtual network resources, data resources, and service resources.
所述物理网络资源,是可以共享的物理设备,比如远程硬盘或者云空间都可提供存储功能;The physical network resource is a physical device that can be shared, such as a remote hard disk or cloud space that can provide storage functions;
所述虚拟网络资源,是通过网络远程提供的信息资源,比如网上图书馆,网上商城等,通过网络远程提供信息;The virtual network resources are information resources provided remotely through the network, such as online libraries, online shopping malls, etc., which provide information remotely through the network;
所述数据资源,是远程提供的数据信息,比如网上数据库,网络大数据,算法库等;The data resources are data information provided remotely, such as online databases, network big data, algorithm libraries, etc.;
所述服务资源,是通过网络提供的各种服务功能,比如远程教程,远程问诊等医疗。The service resources are various service functions provided through the network, such as remote tutorials, remote consultations and other medical services.
作为本发明进一步优化的实施例,多个所述钱包地址对应的通证值的总量有上限。区块链资源交易网络的基础功能是,资源与通证的交易兑换。而通证的总量是有上限的,形成一个相对单纯的闭环系统。对于区块链资源交易网络的管理与维护相对容易。As a further optimized embodiment of the present invention, the total amount of token values corresponding to multiple wallet addresses has an upper limit. The basic function of the blockchain resource trading network is the exchange of resources and tokens. The total amount of tokens has an upper limit, forming a relatively simple closed-loop system. It is relatively easy to manage and maintain the blockchain resource trading network.
作为本发明进一步优化的实施例,多个所述钱包地址对应的通证值的总量没有上限。形成一个开放系统,通证值可以根据市场需求发生变化,这对系统管理与维护增加了难度,但却提高了系统的灵活性。As a further optimized embodiment of the present invention, there is no upper limit on the total amount of token values corresponding to multiple wallet addresses. To form an open system, the token value can change according to market demand, which increases the difficulty of system management and maintenance, but improves the flexibility of the system.
图4为一种区块链资源交易方法的流程图。本申请实施例提供一种区块链资源交易方法的流程图,包括以下步骤41~43:Figure 4 is a flowchart of a blockchain resource transaction method. The embodiment of the present application provides a flowchart of a blockchain resource transaction method, including the following
步骤41、钱包地址对应的通证值和资源变化量换算;钱包地址对应的通证值和资源使用量换算。Step 41: Conversion of the token value corresponding to the wallet address and resource change; conversion of the token value corresponding to the wallet address and resource usage.
钱包地址与通证值相对应、进而对应资源变化量和或资源使用量。The wallet address corresponds to the token value, which in turn corresponds to the amount of resource change and/or resource usage.
步骤41中,根据与钱包地址对应的资源变化量计算通证值,和或,根据与钱包地址对应的资源使用量计算通证值;In
在步骤41中,还可以包含,根据钱包地址对应的通证值,计算资源变化量,和或,根据钱包地址对应的通证值,计算资源使用量。In
步骤42、将所述钱包地址和通证值存储在区块链。Step 42: Store the wallet address and the token value in the blockchain.
应用网络连接资源提供者与第一服务模块。资源提供者通过第一服务模块提供资源后,第一服务模块对资源进行统计,获得资源变化量。第一服务模块将资源提供者钱包地址与资源变化量,通过区块链网络发送给区块链模块。The application network connects the resource provider and the first service module. After the resource provider provides resources through the first service module, the first service module performs statistics on the resources to obtain the amount of resource change. The first service module sends the wallet address of the resource provider and the resource change to the blockchain module through the blockchain network.
应用网络还连接资源使用者与第二服务模块。资源使用者通过第二服务模块请求资源后,第二服务模块对被请求的资源进行统计,获得资源使用量。第二服务模块将资源使用者钱包地址与资源使用量,通过区块链网络发送给区块链模块。The application network also connects the resource user and 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 amount. The second service module sends the resource user wallet address and resource usage amount to the blockchain module through the blockchain network.
在步骤42中,当区块链模块接收到第一服务模块发来的钱包地址与资源变化量时,区块链模块根据资源变化量计算出相对应的通证值,并且根据资源变化量与通证值,更新资源提供者的钱包地址对应的资源值与通证值。钱包地址对应的资源值与通证值存储在区块链中。In
当区块链模块接收到第二服务模块发来的钱包地址与资源使用量时,区块链模块根据资源使用量计算出向对应的通证值,并且根据资源使用量与通证值,更新资源使用者钱包地址对应的资源值与通证值。钱包地址对应的资源值 与通证值存储在区块链中。When the blockchain module receives the wallet address and resource usage from the second service module, the blockchain module calculates the corresponding token value according to the resource usage, and updates the resource according to the resource usage and token value The resource value and token value corresponding to the user's wallet address. The resource value and token value corresponding to the wallet address are stored in the blockchain.
区块链模块根据资源变化量或使用量来计算相应的通证值时,可按照智能合约的方法进行事件的触发和执行。比如,接收到资源变化量或使用量时,触发智能合约的执行,并按照合约的规则计算相应的通证值。When the blockchain module calculates the corresponding token value according to the amount of resource change or usage, it can trigger and execute the event according to the smart contract method. For example, when the amount of resource change or usage is received, the execution of the smart contract is triggered, and the corresponding token value is calculated according to the rules of the contract.
作为本发明进一步优化的实施例,还包括以下步骤:As a further optimized embodiment of the present invention, it also includes the following steps:
步骤43、用通证与货币进行兑换。Step 43: Exchange the token and currency.
在交易服务模块存储用户的账户信息。交易服务模块有自己的交易服务器,支持用户用货币直接购买通证,也可以出售通证换取货币或其他账户值。使通证值减少则其他账户值增加;通证值增加则其他账户值减少。Store the user's account information in the transaction service module. The transaction service module has its own transaction server, which supports users to directly purchase tokens with currency, and can also sell tokens for currency or other account values. If the token value decreases, the value of other accounts will increase; if the token value increases, the value of other accounts will decrease.
作为本发明进一步优化的实施例,还包括步骤:对资源提供者和资源使用者的行为进行监测、分析。As a further optimized embodiment of the present invention, it also includes the step of monitoring and analyzing the behavior of resource providers and resource users.
通过第三服务模块,对第一、第二服务模块进行监测,获取资源提供者和资源使用者的行为。比如,资源提供者提供了资源,或者资源使用者申请了资源,这些资源的资源值等,第三服务模块都能够监测到。第三服务模块可以对行为结果进行处理,比如发送给区块链模块,也可以对这些行为结果进行统计。通过第三服务模块,可以了解资源的分类,数量,进一步对系统资源使用者进行打分、分级等。Through the third service module, the first and second service modules are monitored to obtain the behavior of resource providers and resource users. For example, if a resource provider provides a resource, or a resource user applies for a resource, the third service module can monitor the resource value of these resources. The third service module can process the behavior results, for example, send them to the blockchain module, or perform statistics on these behavior results. Through the third service module, you can understand the classification and quantity of resources, and further score and classify system resource users.
需要说明的是,第一、第二、第三服务模块是否直接与区块链模块连接,在这里并不做限定。例如,三者可以通过通信系统连接,还可以通过把资源使用或申请的信息写在其它介质上,进行间接的信息传递。资源的分类列举的是基于现有技术对应的已知资源,但本发明对未来可用的其它资源的种类不做限定。It should be noted that whether the first, second, and third service modules are directly connected to the blockchain module is not limited here. For example, the three can be connected through a communication system, or indirect information transmission can be carried out by writing information on resource usage or application on other media. The classification of resources enumerates the known resources corresponding to the prior art, but the present invention does not limit the types of other resources available in the future.
图5为一种通证控制的网络和网络节点的模块图。本申请实施例提供一种通证控制的网络节点,包括:网络设备10、乘法器21、区块链存储器30。Figure 5 is a block diagram of a token-controlled network and network nodes. The embodiment of the present application provides a network node controlled by a pass, including: a
网络设备10,S,为通讯和或计算机信息网络上的设备。网络设备与乘法器通过网络或者其它介质连接,网络设备的数据R,发送给乘法器。The
在本申请进一步优化的实施例中,所述网络设备可形成资源汇聚节点、数据共享节点或服务共享节点。In a further optimized embodiment of the present application, the network device may form a resource aggregation node, a data sharing node, or a service sharing node.
网络设备的数据是指网络上设备的硬件资源的量化值。例如,网络上设备的容量,比如设备的存储空间、设备的传输容量,交换容量等。还可以是存储量、访问量;进一步地,所述网络设备的数据,还可包括网络节点的业务数据, 例如输入数据、输出数据。The data of the network device refers to the quantitative value of the hardware resources of the device on the network. For example, the capacity of the device on the network, such as the storage space of the device, the transmission capacity of the device, and the switching capacity. It may also be the amount of storage and the amount of access; further, the data of the network device may also include service data of the network node, such as input data and output data.
乘法器21,X,是用转换系数对网络设备的数据做乘法运算。转换系数表示为T。T可以是一个系数值,也可以是一个算符,这里不做具体限定。例如,网络节点发送数据R,经过乘法器运算,得到N=T×R,或N=T(R)。区块链存储器30,M,用于将乘法器的输出存储在区块链中。例如,乘法器的运算结果N,发送给区块链存储器。作为通证值,N被存储在区块链中。根据区块链技术的特性,数据存储安全性高,不可篡改。The
作为本发明进一步优化的实施例,所述转换系数可以是预设的,也可以从所述区块链存储器中读取。乘法器在运算前,先读取存储与区块链的转换系数,再用网络设备的数据作运算。As a further optimized embodiment of the present invention, the conversion coefficient may be preset or read from the blockchain memory. The multiplier reads the conversion coefficient between the storage and the blockchain before the operation, and then uses the data of the network device for the operation.
当工作时,所述乘法器自所述网络设备接收包含表示网络设备的数据的信号;所述乘法器自所述区块链存储器接收包含表示转换系数的信号;所述乘法器发送包含表示通证值的信号至区块链存储器。When working, the multiplier receives a signal containing data representing the network device from the network device; the multiplier receives a signal containing a conversion coefficient from the blockchain memory; the multiplier sends a signal containing the data representing the network device; The signal of the verification value is sent to the blockchain memory.
作为本发明进一步优化的实施例,区块链存储的通证值,还作为乘法器的输入,用于计算所述网络设备的数据,乘法器的运算结果传递给所述网络设备。例如,从区块链中读取通证值N,做所述转换系数做逆运算,T -1可以是一个系数值,也可以是一个算符,这里不做具体限定。例如,乘法器对通证值进行运算,得到:R=T -1×N,或R=T -1(N)。乘法器的输出发送给网络节点。 As a further optimized embodiment of the present invention, the token value stored in the blockchain is also used as the input of the multiplier to calculate the data of the network device, and the operation result of the multiplier is transmitted to the network device. For example, read the token value N from the blockchain and perform the inverse operation on the conversion coefficient. T -1 can be a coefficient value or an operator, and there is no specific limitation here. For example, the multiplier performs operations on the token value to get: R=T -1 ×N, or R=T -1 (N). The output of the multiplier is sent to the network node.
当工作时,所述乘法器自所述区块链存储器接收表示通证值的信号;所述乘法器自所述区块链存储器接收包含表示转换系数的信号;所述乘法器自所述向所述网络设备发送包含表示网络设备的数据的信号。When working, the multiplier receives a signal representing a token value from the blockchain memory; the multiplier receives a signal including a conversion coefficient from the blockchain memory; the multiplier receives a signal from the The network device sends a signal containing data representing the network device.
在本发明的其他实施例中,所述区块链存储器,简称为存储器。In other embodiments of the present invention, the blockchain storage is referred to as storage for short.
作为本发明进一步优化的实施例,网络设备包括以下至少一种:存储设备、交换设备、传输设备等。这些设备是可以提供或者使用网络资源的设备。As a further optimized embodiment of the present invention, the network device includes at least one of the following: a storage device, a switching device, a transmission device, and the like. These devices are devices that can provide or use network resources.
作为本发明进一步优化的实施例,网络设备的数据包括以下至少一种:存储容量、交换容量、传输容量。网络设备的数据,包括所有可以提供的计算机资源,例如数据资源、服务资源。As a further optimized embodiment of the present invention, the data of the network device includes at least one of the following: storage capacity, switching capacity, and transmission capacity. The data of network equipment includes all available computer resources, such as data resources and service resources.
本申请实施例还提供一种通证控制的网络,包含所述通证控制的网络节点的特征,还包括多个网络节点。每一个网络节点中网络设备的数据,经过乘法器的运算,作为通证值存储于区块链中。The embodiment of the present application also provides a token-controlled network, which includes the characteristics of the token-controlled network node, and further includes multiple network nodes. The data of the network equipment in each network node is processed by the multiplier and stored in the blockchain as a token value.
需要说明的是,网络设备、乘法器和区块链存储之间的连接,可以是直接 连接,也可以是通过网络连接,或者中间介质连接,这里并不做限定。所列举的网络节点的设备和数据类别是基于现有技术下的已知设备和数据分类,但本发明对未来可用的其它设备和数据资源的种类不做限定。It should be noted that the connection between network equipment, multiplier and blockchain storage can be direct connection, network connection, or intermediate medium connection, which is not limited here. The listed equipment and data categories of network nodes are based on known equipment and data categories in the prior art, but the present invention does not limit the types of other equipment and data resources available in the future.
本申请中的区块链资源交易网络,包含资源汇聚网络、数据共享网络、服务共享网络三种类型,图6~9分别表示共享物理网络资源的资源汇聚网络、共享虚拟网络资源的资源汇聚网络、共享数据资源的数据共享网络、共享服务资源的服务共享网络的实施例。The blockchain resource transaction network in this application includes three types: resource convergence network, data sharing network, and service sharing network. Figures 6-9 show resource convergence networks that share physical network resources and resource convergence networks that share virtual network resources. An embodiment of a data sharing network that shares data resources and a service sharing network that shares service resources.
图6为一种共享物理网络资源的资源汇聚网络实施例示意图。本实施例提供一种资源汇聚网络,实现区块链资源交易网络,用于通信、计算机信息网络,至少包括资源汇聚节点10A/B、智能合约模块20、存储器30。Fig. 6 is a schematic diagram of an embodiment of a resource aggregation network sharing physical network resources. This embodiment provides a resource aggregation network to implement a blockchain resource transaction network, which is used for communication and computer information networks, and at least includes a
所述资源汇聚节点10A/B,对应于钱包地址,用于向网络共享物理网络资源。The
本实施例中的“共享”,指的是供应和或使用。在图6所示实施例中,资源提供者通过控制和管理网络设备,向网络中供应物理网络资源;使用者通过控制和管理网络设备,使用网络中的物理网络资源。有时,资源提供者同时也是使用者,通过控制和管理网络设备,供应和使用网络中的物理网络资源。The "sharing" in this embodiment refers to supply and or use. In the embodiment shown in FIG. 6, the resource provider supplies physical network resources to the network by controlling and managing network equipment; users use the physical network resources in the network by controlling and managing the network equipment. Sometimes, resource providers are also users, supplying and using physical network resources in the network by controlling and managing network equipment.
例如,资源提供者在某一资源汇聚节点,向网络提供或供应物理网络资源,此资源汇聚节点对应于标识所述资源提供者的钱包地址;资源使用者在某一资源汇聚节点,向服务器请求使用物理网络资源,此资源汇聚节点对应于标识所述资源使用者的钱包地址。For example, a resource provider provides or supplies physical network resources to the network at a certain resource aggregation node, and this resource aggregation node corresponds to the wallet address that identifies the resource provider; the resource user requests from the server at a certain resource aggregation node Using physical network resources, this resource aggregation node corresponds to the wallet address that identifies the resource user.
所述钱包地址是区块链网络使用者的账号。比如,第一钱包地址是资源提供者的钱包地址,第二钱包地址是资源使用者的钱包地址。钱包地址至少对应保存在区块链中的通证值,钱包地址还可以对应有其它账户值。所述钱包地址的账户值,是指钱包地址对应的资产值,例如货币、虚拟货币、银行账户值、股票、期货、基金、股权、积分等。The wallet address is the account number of the blockchain network user. For example, the first wallet address is the wallet address of the resource provider, and the second wallet address is the wallet address of the resource user. The wallet address at least corresponds to the token value stored in the blockchain, and the wallet address can also correspond to other account values. The account value of the wallet address refers to the asset value corresponding to the wallet address, such as currency, virtual currency, bank account value, stocks, futures, funds, equity, points, etc.
智能合约模块20,用于按照智能合约,对所述资源汇聚节点的资源数据做运算,获得对应的通证值。所述智能合约,包含用所述资源汇聚节点的资源数据、钱包地址计算对应的通证值的规则。The
智能合约模块接收到资源汇聚节点的资源数据,触发智能合约执行,按照智能合约规则,计算对应于资源汇聚节点的资源数据的通证值。The smart contract module receives the resource data of the resource aggregation node, triggers the execution of the smart contract, and calculates the token value corresponding to the resource data of the resource aggregation node in accordance with the rules of the smart contract.
所述资源数据,包含表示共享资源参数的信息,例如表示供应或使用的标 识信息、表示物理网络资源的资源种类、资源数量的信息。The resource data includes information indicating shared resource parameters, such as identification information indicating supply or use, information indicating the resource type and resource quantity of physical network resources.
例如,物理网络资源的资源种类包含以下至少一种:存储资源、交换资源、传送资源;存储资源,是指能用于存储数据和信息的装置,例如存储器、计算机、数据中心服务器、云服务器等;交换资源,是指实现信号交叉、交换的装置,例如交叉连接装置、交换机、路由器等;传送资源,指的是能实现信号接入和数据传输的装置或物理实体,包括时间和频率域的数据包格式和帧格式、频谱、波长处理相关的设备等。For example, the resource types of physical network resources include at least one of the following: storage resources, exchange resources, and transmission resources; storage resources refer to devices that can be used to store data and information, such as memory, computers, data center servers, cloud servers, etc. ; Switching resources refer to devices that achieve signal cross and switching, such as cross-connect devices, switches, routers, etc.; transmission resources, refer to devices or physical entities that can achieve signal access and data transmission, including time and frequency domains Data packet format and frame format, spectrum, wavelength processing related equipment, etc.
资源数量包含以下至少一种:存储容量、交换容量、传送容量。The number of resources includes at least one of the following: storage capacity, exchange capacity, and transmission capacity.
本申请文件中存储容量,指用于实现数据或信息存储的空间大小。交换容量,指交叉连接或信号交换的总量。传送容量,指的是信号接入带宽或传输带宽。The storage capacity in this application file refers to the amount of space used to store data or information. Exchange capacity refers to the total amount of cross-connections or signal exchanges. Transmission capacity refers to signal access bandwidth or transmission bandwidth.
例如,可以共享磁盘存储空间,交换机的交换容量,信息传送的接入带宽、传输容量。For example, you can share disk storage space, exchange capacity of switches, access bandwidth and transmission capacity for information transmission.
例如,资源提供者在资源汇聚节点向服务器供应100G的磁盘存储空间。智能合约模块根据所供应的资源,计算出对应于供应该100G的磁盘存储空间的通证值。此通证值为对资源提供者供应资源的激励值。资源提供者获得了提供资源的回报,以通证值体现,对应于所述资源提供者的钱包地址,即第一钱包地址。For example, the resource provider supplies 100G of disk storage space to the server at the resource aggregation node. The smart contract module calculates the token value corresponding to the 100G disk storage space according to the supplied resources. This token value is an incentive value for resource providers to supply resources. The resource provider obtains the reward for providing the resource, which is represented by the token value, which corresponds to the wallet address of the resource provider, that is, the first wallet address.
再例如,资源使用者在资源汇聚节点向服务器请求20G的磁盘存储空间,智能合约模块根据所请求的资源,计算出使用该20G磁盘存储空间对应的通证值。此通证值为资源使用者使用资源支付的消费值。资源使用者消费了通证值,对应于所述资源使用者的钱包地址,即第二钱包地址,获得了资源的使用权。For another example, the resource user requests 20G of disk storage space from the server at the resource aggregation node, and the smart contract module calculates the token value corresponding to the 20G disk storage space according to the requested resource. This token value is the consumption value paid by the resource user using the resource. The resource user consumes the token value, which corresponds to the wallet address of the resource user, that is, the second wallet address, and obtains the right to use the resource.
按照资源计算通证值的规则,即智能合约的规则,记录在区块链智能合约模块中。The rules for calculating the token value according to resources, that is, the rules of smart contracts, are recorded in the blockchain smart contract module.
共享物理网络资源时,即供应和或使用物理网络资源,都会触发智能合约的执行,并按照合约的规则计算相应的通证值。When the physical network resources are shared, that is, the supply and or use of physical network resources will trigger the execution of the smart contract, and the corresponding token value will be calculated according to the rules of the contract.
存储器30,用于区块链方式存储所述智能合约、钱包地址、通证值。在区块链中分布式存储,数据透明,不可篡改,安全可靠。The
例如,资源提供者在资源汇聚节点向服务器供应100G的磁盘存储资源。智能合约模块根据所供应的资源,计算出对应于该100G的磁盘存储空间的奖 励值,即通证值,并在区块链存储器中,将标识资源提供者的第一钱包地址对应的通证值进行更新并存储。资源使用者在资源汇聚节点向服务器请求20G的磁盘存储资源,智能合约模块根据所请求的资源,计算出该20G磁盘存储空间对应的通证值,并在区块链存储器中,将表示资源使用者的第二钱包地址对应的通证值进行更新并存储。For example, the resource provider supplies 100G of disk storage resources to the server at the resource aggregation node. The smart contract module calculates the reward value corresponding to the 100G disk storage space according to the supplied resources, that is, the token value, and in the blockchain memory, it will identify the token corresponding to the first wallet address of the resource provider The value is updated and stored. The resource user requests 20G disk storage resources from the server at the resource aggregation node, and the smart contract module calculates the token value corresponding to the 20G disk storage space according to the requested resource, and in the blockchain memory, it will indicate the resource usage The token value corresponding to the second wallet address of the person is updated and stored.
作为本发明进一步优化的实施例,还包括第一服务模块12,即控制器,对应于第一钱包地址,用于改变物理网络资源的配置。As a further optimized embodiment of the present invention, it further includes a
例如,在图6所示实施例中,资源提供者提供100G的传送容量,第一服务模块确认第一钱包地址,接受并处理这个申请,并通过改变终端设备10A的配置,将100G的信号收发设备通过分插复用装置接入到资源汇聚网络,增加了资源供应。智能合约模块接收包含增加100G传送容量的资源数据,触发执行智能合约,给资源提供者对应的钱包地址(第一钱包地址)发放对应100G传送容量的通证值。For example, in the embodiment shown in Figure 6, the resource provider provides 100G transmission capacity, the first service module confirms the first wallet address, accepts and processes this application, and changes the configuration of the
再例如,如果资源提供者要求将100G的交换容量减少成80G,第一服务模块确认第一钱包地址,接受并处理这个申请,并通过改变交换设备10B的配置,将20G的交换容量从资源汇聚网络去除,减少了资源供应。智能合约模块接收包含减少20G交换容量的资源数据,从而触发执行智能合约,给资源提供者对应的钱包地址(第一钱包地址)减少对应20G交叉容量空间的通证值。For another example, if the resource provider requests to reduce the exchange capacity of 100G to 80G, the first service module confirms the first wallet address, accepts and processes this application, and converges the exchange capacity of 20G from the resources by changing the configuration of the
作为本发明进一步优化的实施例,还包含第二服务模块13,即控制器,对应于第二钱包地址,用于调用所述物理网络资源。As a further optimized embodiment of the present invention, it also includes a
第二服务模块接收并处理资源使用者在资源汇聚节点的数据,调用资源汇聚节点的资源。The second service module receives and processes the data of the resource user at the resource aggregation node, and calls the resource of the resource aggregation node.
例如,在图6所示实施例中,资源使用者使用100G的传送容量,第二服务模块确认第二钱包地址,接受并处理这个申请,并通过调用终端设备10A的配置,将100G的信号送入所述终端设备10A,使用了物理网络资源。智能合约模块接收包含使用100G传送容量的资源数据,触发执行智能合约,在资源使用者对应的钱包地址(第一钱包地址)减少对应100G传送容量的通证值。For example, in the embodiment shown in FIG. 6, the resource user uses 100G transmission capacity, the second service module confirms the second wallet address, accepts and processes this application, and sends the 100G signal by calling the configuration of the
再例如,如果资源使用者要求使用80G的交换容量,第二服务模块确认第二钱包地址,接受并处理这个申请,并通过改变交换设备10B的配置,将80G的交换容量调用给所述资源使用者。智能合约模块接收使用80G交换容 量的资源数据,从而触发执行智能合约,在资源使用者对应的钱包地址(第二钱包地址)减少对应80G交换容量的通证值。For another example, if the resource user requires 80G of exchange capacity, the second service module confirms the second wallet address, accepts and processes this application, and changes the configuration of the
图7为一种共享虚拟网络资源的资源汇聚网络实施例示意图。Fig. 7 is a schematic diagram of an embodiment of a resource aggregation network sharing virtual network resources.
本实施例提供一种资源汇聚网络,实现区块链资源交易网络,用于通信、计算机信息网络,至少包括:资源汇聚节点10C、智能合约模块20、存储器30。This embodiment provides a resource aggregation network to implement a blockchain resource transaction network for communication and computer information networks, and at least includes: a
所述资源汇聚节点10C,对应于钱包地址,用于向网络共享虚拟网络资源。The
在图7所示实施例中,资源提供者通过控制和管理网络设备,向网络中供应虚拟网络资源;使用者通过控制和管理网络设备,使用网络中的虚拟网络资源。有时,资源提供者同时也是使用者,通过控制和管理网络设备,供应和使用网络中的虚拟网络资源。In the embodiment shown in FIG. 7, the resource provider supplies virtual network resources to the network by controlling and managing the network equipment; the users use the virtual network resources in the network by controlling and managing the network equipment. Sometimes, resource providers are also users, supplying and using virtual network resources in the network by controlling and managing network equipment.
例如,资源提供者在某一资源汇聚节点,向服务器提供或供应虚拟网络资源,此资源汇聚节点对应标识所述资源提供者的钱包地址;资源使用者在某一资源汇聚节点,向服务器请求使用虚拟网络资源,此资源汇聚节点对应于标识所述资源使用者的钱包地址。For example, the resource provider provides or supplies virtual network resources to the server at a certain resource aggregation node, and this resource aggregation node corresponds to the wallet address of the resource provider; the resource user requests the server to use it at a certain resource aggregation node Virtual network resource, this resource aggregation node corresponds to the wallet address that identifies the resource user.
智能合约模块20,用于按照智能合约,对所述资源汇聚节点的资源数据做运算,获得对应的通证值。所述智能合约,包含用所述资源汇聚节点的资源数据、钱包地址计算对应的通证值的规则。The
智能合约模块接收到资源汇聚节点的资源数据,触发智能合约执行,按照智能合约规则,计算对应于资源汇聚节点的资源数据的通证值。The smart contract module receives the resource data of the resource aggregation node, triggers the execution of the smart contract, and calculates the token value corresponding to the resource data of the resource aggregation node in accordance with the rules of the smart contract.
所述资源数据,包含表示共享资源参数的信息,例如表示供应或使用的标识信息、表示虚拟网络资源的资源种类、资源数量的信息。The resource data includes information indicating shared resource parameters, such as identification information indicating supply or use, and information indicating resource types and resource quantities of virtual network resources.
例如,虚拟网络资源的资源种类包含以下至少一种:存储资源、交换资源、传送资源;资源数量包含以下至少一种:存储容量、交换容量、传送容量。For example, the resource types of virtual network resources include at least one of the following: storage resources, switching resources, and transmission resources; the number of resources includes at least one of the following: storage capacity, switching capacity, and transmission capacity.
此处资源种类和资源数量定义于虚拟网络中,与物理网络资源种类和数量相比,每一种虚拟网络资源是由部分物理网络资源或其组合形成的虚拟的集合。例如,将存储器的一部分定义为虚拟存储器,将多个数据中心的虚拟存储器定义为云存储器;将交换资源,例如交换机的一部分定义为虚拟交换机;将同一光纤中传送的一部分光通道定义为虚拟传送资源;或者,按资源数量将包含多种物理网络资源的集合定义为一虚拟网络资源。将多个物理网络节点定义为一个虚拟网络节点。Here, the type and quantity of resources are defined in the virtual network. Compared with the type and quantity of physical network resources, each type of virtual network resource is a virtual set formed by part of physical network resources or their combination. For example, define a part of storage as virtual storage, and define virtual storage in multiple data centers as cloud storage; define switching resources, such as a part of switches, as virtual switches; define part of optical channels transmitted in the same fiber as virtual transmission Resource; or, according to the number of resources, a collection containing multiple physical network resources is defined as a virtual network resource. Define multiple physical network nodes as a virtual network node.
供应和使用虚拟网络资源,同步进行通证计算。例如,资源提供者在资源汇聚节点向使用者提供交换容量为100T、传送容量为100G的虚拟网络资源。智能合约模块根据所供应的资源,计算出对应于交换容量为100T、传送容量为100G的虚拟网络资源的通证值。此通证值为对资源提供者供应资源的激励值。资源提供者获得了提供资源的回报,以通证值体现,对应于所述资源提供者的钱包地址,即第一钱包地址。Supply and use virtual network resources, and carry out token calculations simultaneously. For example, the resource provider provides users with virtual network resources with a switching capacity of 100T and a transmission capacity of 100G at the resource aggregation node. The smart contract module calculates the token value corresponding to the virtual network resource with the exchange capacity of 100T and the transmission capacity of 100G according to the supplied resources. This token value is an incentive value for resource providers to supply resources. The resource provider obtains the reward for providing the resource, which is represented by the token value, which corresponds to the wallet address of the resource provider, that is, the first wallet address.
再例如,资源使用者在资源汇聚节点向服务器请求交换容量为100T、传送容量为100G的虚拟网络资源,构成虚拟专网VPN1,智能合约模块根据所请求的资源,计算出使用该虚拟专网VPN1所占用的虚拟网络资源对应的通证值。此通证值为资源使用者使用资源支付的消费值。资源使用者消费了通证值,对应于所述资源使用者的钱包地址,即第二钱包地址,获得了资源的使用权。For another example, a resource user requests a virtual network resource with an exchange capacity of 100T and a transmission capacity of 100G from the server at the resource aggregation node to form a virtual private network VPN1. The smart contract module calculates the use of the virtual private network VPN1 according to the requested resources The token value corresponding to the occupied virtual network resources. This token value is the consumption value paid by the resource user using the resource. The resource user consumes the token value, which corresponds to the wallet address of the resource user, that is, the second wallet address, and obtains the right to use the resource.
按照资源计算通证值的规则,即智能合约的规则,记录在区块链智能合约模块中。The rules for calculating the token value according to resources, that is, the rules of smart contracts, are recorded in the blockchain smart contract module.
共享虚拟网络资源时,即供应和或使用虚拟网络资源,都会触发智能合约的执行,并按照合约的规则计算相应的通证值。When virtual network resources are shared, that is, the supply and or use of virtual network resources will trigger the execution of smart contracts, and the corresponding token value will be calculated according to the rules of the contract.
存储器30,用于区块链方式存储所述智能合约、钱包地址、通证值。The
例如,资源提供者在资源汇聚节点向服务器供应接入速率为100M的VPN2网络。智能合约模块根据所供应的资源,计算出对应于该100M的VPN2网络的奖励值,即通证值,并在区块链存储器中,将标识资源提供者的第一钱包地址对应的通证值进行更新并存储。资源使用者在资源汇聚节点向服务器请求100M的VPN网络资源,智能合约模块根据所请求的资源,计算出该100M的VPN2网络对应的通证值,并在区块链存储器中,将表示资源使用者的第二钱包地址对应的通证值进行更新并存储。For example, the resource provider supplies a VPN2 network with an access rate of 100M to the server at the resource aggregation node. The smart contract module calculates the reward value corresponding to the 100M VPN2 network according to the supplied resources, that is, the token value, and in the blockchain memory, it will identify the token value corresponding to the first wallet address of the resource provider Update and store. The resource user requests 100M VPN network resources from the server at the resource aggregation node, and the smart contract module calculates the token value corresponding to the 100M VPN2 network according to the requested resources, and in the blockchain memory, it will indicate the resource usage The token value corresponding to the second wallet address of the person is updated and stored.
作为本发明进一步优化的实施例,还包括第一服务模块12,即控制器,对应于第一钱包地址,用于改变虚拟网络资源的配置。As a further optimized embodiment of the present invention, it further includes a
例如,在图7所示实施例中,资源提供者提供传送容量为100M的VPN2网络,当资源提供者申请供应VPN2虚拟网络资源时,第一服务模块确认第一钱包地址,并在虚拟网络资源中配置100M的VPN2资源。For example, in the embodiment shown in FIG. 7, the resource provider provides a VPN2 network with a transmission capacity of 100M. When the resource provider applies for the supply of VPN2 virtual network resources, the first service module confirms the first wallet address and reports the virtual network resource Configure 100M VPN2 resources.
作为本发明进一步优化的实施例,还包含第二服务模块13,即控制器,对应于第二钱包地址,用于调用所述虚拟网络资源。As a further optimized embodiment of the present invention, it also includes a
第二服务模块接收并处理资源使用者在资源汇聚节点的数据,调用资源汇 聚节点的资源。The second service module receives and processes the data of the resource user at the resource aggregation node, and calls the resource of the resource aggregation node.
例如,当资源使用者申请使用VPN虚拟网络资源时,第二服务模块确认第二钱包地址,并提供给资源使用者调用VPN资源的接口。当资源使用者停止使用VPN资源时,第二服务模块停止对该资源使用者开放VPN资源。For example, when a resource user applies for the use of VPN virtual network resources, the second service module confirms the second wallet address and provides an interface for the resource user to call VPN resources. When the resource user stops using the VPN resource, the second service module stops opening the VPN resource to the resource user.
图8为一种共享数据资源的数据共享网络实施例示意图。本实施例提供一种数据共享网络,实现区块链资源交易网络,用于通信、计算机信息网络,至少包括:数据共享节点,10C/D、智能合约模块20、存储器30。Fig. 8 is a schematic diagram of an embodiment of a data sharing network for sharing data resources. This embodiment provides a data sharing network to implement a blockchain resource transaction network for communication and computer information networks, and at least includes: data sharing nodes, 10C/D,
所述数据共享节点10C/D,对应于钱包地址,用于向网络共享数据资源。The
在图8所示实施例中,资源提供者通过控制和管理网络设备,向网络中供应数据资源;资源使用者通过控制和管理网络设备,使用网络中的数据资源。有时,资源提供者同时也是使用者,通过控制和管理网络设备,供应和使用网络中的数据资源。In the embodiment shown in FIG. 8, the resource provider supplies data resources to the network by controlling and managing the network equipment; the resource users use the data resources in the network by controlling and managing the network equipment. Sometimes, resource providers are also users, supplying and using data resources in the network by controlling and managing network equipment.
例如,资源提供者在某一数据共享节点,向服务器提供或供应数据资源,此数据共享节点对应于标识所述资源提供者的钱包地址;资源使用者在某一数据共享节点,向服务器请求使用数据资源,此数据共享节点对应于标识所述资源使用者的钱包地址。For example, the resource provider provides or supplies data resources to the server at a certain data sharing node, and this data sharing node corresponds to the wallet address that identifies the resource provider; the resource user requests the server for use at a certain data sharing node Data resource, this data sharing node corresponds to the wallet address that identifies the resource user.
智能合约模块20,用于按照智能合约,对所述数据共享节点的资源数据做运算,获得对应的通证值。所述智能合约,包含用所述数据共享节点的资源数据、钱包地址计算对应的通证值的规则。The
智能合约模块接收到数据共享节点的资源数据,触发智能合约执行,按照智能合约规则,计算对应于数据共享节点的资源数据的通证值。The smart contract module receives the resource data of the data sharing node, triggers the execution of the smart contract, and calculates the token value corresponding to the resource data of the data sharing node in accordance with the rules of the smart contract.
所述资源数据,包含表示共享资源参数的信息,例如表示供应或使用的标识信息、表示数据资源的资源种类、资源数量的信息。The resource data includes information indicating shared resource parameters, such as identification information indicating supply or use, information indicating the resource type and resource quantity of the data resource.
例如,资源数量包含以下至少一种:数据访问量、数据存储量。For example, the number of resources includes at least one of the following: data access amount, data storage amount.
资源提供者供应资源和资源使用者调用(即访问)资源时,所供应或调用的数据资源数量即是由数据量来体现的:例如,对于资源提供者获得的通证值和资源使用者支付的通证值,可按照数据存储量大小来决定,100M的数据和1000M的数据是不同的。除此之外,获得或支付通证值的数量,还跟所供应或调用的数据资源的访问量(例如访问次数、受访数据量)直接相关,比如:访问100M数据资源1次和100次,获得或需要支付的通证值也是不同的。When resource providers supply resources and resource users call (ie access) resources, the number of data resources supplied or called is reflected by the amount of data: for example, the token value obtained by the resource provider and the payment by the resource user The value of the token can be determined according to the amount of data storage, 100M data and 1000M data are different. In addition, the amount of token value obtained or paid is directly related to the number of visits (such as the number of visits, the amount of interviewed data) of the supplied or called data resources, such as: 1 visit to 100M data resources and 100 times , The token value obtained or required to be paid is also different.
举例来说,数据资源的资源种类包含:For example, the resource types of data resources include:
按照数据格式,资源种类包含以下至少一种:视频资源、音频资源、图片资源、文本资源、纯数据资源;按照重要程度,资源种类包含以下至少一种:公开资源、VIP资源、保密资源;按照数据规范程度,资源种类包含以下至少一种:原始数据资源、初步筛选的数据资源、完全筛选的数据资源;按照数据的保密程度,资源种类包含以下至少一种:未加密资源、加密资源。According to the data format, resource types include at least one of the following: video resources, audio resources, image resources, text resources, and pure data resources; according to their importance, the resource types include at least one of the following: public resources, VIP resources, and confidential resources; The degree of data standardization, resource types include at least one of the following: raw data resources, preliminary screened data resources, and completely screened data resources; according to the degree of data confidentiality, the resource types include at least one of the following: unencrypted resources and encrypted resources.
例如,可以共享在商业活动中,可以共享包括商业背景情况的文本信息、图片、音视频信息;在科技活动中,可以共享包括纯数据如测量数据、加密数据、原始数据等科研数据、科研成果;在政府管理活动中,可以共享经过筛选的数据、公开的数据以及保密或未保密的数据资源等;在大数据分析活动中,包含结构化数据或非结构化数据,可以共享视频资源、文本资源等,用来分析对某区域的人流活动规律等等。For example, you can share in business activities, you can share text information, pictures, audio and video information including business background information; in scientific and technological activities, you can share scientific research data and scientific research results including pure data such as measurement data, encrypted data, and raw data ; In government management activities, you can share filtered data, public data, and confidential or unclassified data resources, etc.; in big data analysis activities, including structured or unstructured data, you can share video resources, text Resources, etc., used to analyze the flow of people in a certain area, etc.
例如,资源提供者在数据共享节点向服务器供应100M的数据资源。当有资源使用者调用这100M的数据资源时,触发智能合约模块计算出对应于该100M的数据资源的通证值。此通证值为本次资源使用者调用该100M数据资源后,对资源提供者供应资源的激励值。资源提供者获得了提供资源的回报,以通证值体现,对应于所述资源提供者的钱包地址,即为第一钱包地址。For example, the resource provider supplies 100M data resources to the server at the data sharing node. When a resource user calls the 100M data resource, the smart contract module is triggered to calculate the token value corresponding to the 100M data resource. The token value is the incentive value for the resource provider to supply resources after the resource user calls the 100M data resource this time. The resource provider obtains the reward for providing the resource, which is represented by the token value, and corresponds to the wallet address of the resource provider, which is the first wallet address.
再例如,资源使用者在数据共享节点向服务器请求10M的数据资源,智能合约模块根据所请求的资源,计算出使用该10M的数据资源对应的通证值。此通证值为资源使用者使用资源支付的消费值。资源使用者消费通证值,对应于资源使用者的钱包地址,即第二钱包地址,获得了资源的使用权。For another example, the resource user requests 10M data resources from the server at the data sharing node, and the smart contract module calculates the token value corresponding to the use of the 10M data resources according to the requested resources. This token value is the consumption value paid by the resource user using the resource. The resource user's consumption token value corresponds to the resource user's wallet address, that is, the second wallet address, and obtains the right to use the resource.
按照资源计算通证值的规则,即智能合约的规则,记录在区块链智能合约模块中。The rules for calculating the token value according to resources, that is, the rules of smart contracts, are recorded in the blockchain smart contract module.
共享数据资源时,即供应和或使用数据资源,都会触发智能合约的执行,并按照合约的规则计算相应的通证值。When data resources are shared, that is, the supply and or use of data resources will trigger the execution of smart contracts, and the corresponding token value will be calculated according to the rules of the contract.
存储器30,用于区块链方式存储所述智能合约、钱包地址、通证值。The
例如,资源提供者在数据共享节点向服务器供应100M的数据资源。当有资源使用者调用这100M的数据资源时,触发智能合约模块计算出对应于该100M的数据资源的奖励值,即通证值,并在区块链存储器中,将标识资源提供者的第一钱包地址对应的通证值进行更新并存储。资源使用者在数据共享节点向服务器请求10M的数据资源,智能合约模块根据所请求的资源,计算出该10M的数据资源对应的通证值,并在区块链存储器中,将标识资源使用者 的第二钱包地址对应的通证值进行更新并存储。For example, the resource provider supplies 100M data resources to the server at the data sharing node. When a resource user calls the 100M data resource, the smart contract module is triggered to calculate the reward value corresponding to the 100M data resource, that is, the token value, and in the blockchain memory, it will identify the resource provider's first The token value corresponding to a wallet address is updated and stored. The resource user requests 10M data resources from the server at the data sharing node, and the smart contract module calculates the token value corresponding to the 10M data resources according to the requested resources, and will identify the resource user in the blockchain memory The token value corresponding to the second wallet address is updated and stored.
作为本发明进一步优化的实施例,还包括第一服务模块12,即控制器,对应于第一钱包地址,用于改变数据资源的配置。As a further optimized embodiment of the present invention, it also includes a
例如,在图8所示实施例中,资源提供者提供100M的数据资源,第一服务模块确认第一钱包地址,接受并处理这个申请,并通过改变数据中心10C的配置,将100M的数据接入到数据共享网络,增加了资源供应。智能合约模块接收包含增加100M的资源数据,在资源使用者调用时触发执行智能合约,给资源提供者对应的钱包地址(第一钱包地址)发放对应100M数据资源的通证值。For example, in the embodiment shown in Figure 8, the resource provider provides 100M data resources, the first service module confirms the first wallet address, accepts and processes this application, and changes the configuration of the
再例如,如果资源提供者要求将100M数据资源减少成80M,第一服务模块确认第一钱包地址,接受并处理这个申请,并通过改变数据中心10D的配置,将20M的数据资源从数据共享网络去除,减少了资源供应。在数据资源的共享中,在资源使用者调用数据资源时,触发智能合约的执行,根据所调用的资源数据量,改变资源提供者对应的钱包地址(第一钱包地址)的通证值。For another example, if the resource provider requests to reduce 100M data resources to 80M, the first service module confirms the first wallet address, accepts and processes this application, and changes the configuration of the
作为本发明进一步优化的实施例,还包含第二服务模块13,即控制器,对应于第二钱包地址,用于调用所述数据资源。第二服务模块接收并处理资源使用者在数据共享节点的数据,调用网络资源节点的资源。As a further optimized embodiment of the present invention, it also includes a
例如,在图8所示实施例中,资源使用者使用100M的数据资源,第二服务模块确认第二钱包地址,接受并处理这个申请,并通过访问数据中心,使用了数据资源。智能合约模块接收包含使用100M传输容量的资源数据,触发执行智能合约,在资源使用者对应的钱包地址(第一钱包地址)减少对应100M传输容量的通证值。For example, in the embodiment shown in FIG. 8, the resource user uses 100M data resources, the second service module confirms the second wallet address, accepts and processes this application, and uses the data resources by accessing the data center. The smart contract module receives resource data including the use of 100M transmission capacity, triggers the execution of the smart contract, and reduces the token value corresponding to the 100M transmission capacity at the wallet address (first wallet address) corresponding to the resource user.
图9为一种共享服务资源的服务共享网络实施例示意图。本实施例提供一种服务共享网络,实现区块链资源交易网络,至少包括:服务共享节点10E/F、智能合约模块20、存储器30。Fig. 9 is a schematic diagram of an embodiment of a service sharing network for sharing service resources. This embodiment provides a service sharing network to implement a blockchain resource transaction network, which at least includes: a
所述服务共享节点10E/F,对应于钱包地址,用于向网络共享服务资源。The
本实施例中的“共享”,指的是开放和或访问。在图9所示实施例中,资源提供者通过控制和管理网络设备,向网络中开放服务资源;资源使用者通过控制和管理网络设备,访问网络中的服务资源。有时,资源提供者同时也是使用者,通过控制和管理网络设备,开放和访问网络中的服务资源。"Share" in this embodiment refers to openness and or access. In the embodiment shown in FIG. 9, resource providers open service resources to the network by controlling and managing network devices; resource users access service resources in the network by controlling and managing network devices. Sometimes, resource providers are also users, and open and access service resources in the network by controlling and managing network devices.
例如,资源提供者在某一服务共享节点,向外提供或开放服务资源,此服 务共享节点对应于标识所述资源提供者的钱包地址;资源使用者在某一服务共享节点,向服务器请求访问服务资源,此服务共享节点对应于标识所述资源使用者的钱包地址。For example, a resource provider provides or opens up service resources at a certain service sharing node, and this service sharing node corresponds to the wallet address that identifies the resource provider; the resource user requests access from the server at a certain service sharing node Service resource, this service sharing node corresponds to the wallet address that identifies the resource user.
所述钱包地址是区块链网络用户的账号。比如,第一钱包地址是资源提供者的钱包地址,第二钱包地址是资源使用者的钱包地址。钱包地址至少对应保存在区块链中的通证值,钱包地址还可以对应有其它账户值。所述钱包地址的账户值,是指钱包地址对应的资产值,例如货币、虚拟货币、银行账户值、股票、期货、基金、股权、积分等。The wallet address is the account number of the blockchain network user. For example, the first wallet address is the wallet address of the resource provider, and the second wallet address is the wallet address of the resource user. The wallet address at least corresponds to the token value stored in the blockchain, and the wallet address can also correspond to other account values. The account value of the wallet address refers to the asset value corresponding to the wallet address, such as currency, virtual currency, bank account value, stocks, futures, funds, equity, points, etc.
在服务共享节点中,包含服务资源,例如包含于一服务共享节点10E的电子邮件服务器、电子商务服务器、代理服务器、包含于一服务共享节点10F的实时通信服务器、移动信息服务器、流化媒体服务器等,通过访问控制服务器连接到网络中。访问控制是按用户身份及其所归属的某项定义组来限制用户对某些信息项的访问,或限制对某些控制功能的使用的一种技术,如UniNAC网络准入控制系统的原理就是基于此技术之上。访问控制通常用于系统管理员控制用户对服务器、目录、文件等网络资源的访问。The service sharing node includes service resources, such as an email server, an e-commerce server, a proxy server, and a real-time communication server, a mobile information server, and a streaming media server included in a
智能合约模块20,用于按照智能合约,对所述服务共享节点的资源数据做运算,获得对应的通证值。所述智能合约,包含用所述服务共享节点的资源数据、钱包地址计算对应的通证值的规则。The
智能合约模块接收到服务共享节点的资源数据,触发智能合约执行,按照智能合约规则,计算对应于服务共享节点的资源数据的通证值。The smart contract module receives the resource data of the service sharing node, triggers the execution of the smart contract, and calculates the token value corresponding to the resource data of the service sharing node in accordance with the rules of the smart contract.
所述资源数据,包含表示共享资源参数的信息,例如表示开放或访问的标识信息、表示服务资源的资源种类、资源数量的信息。The resource data includes information indicating shared resource parameters, such as identification information indicating openness or access, information indicating the resource type and resource quantity of the service resource.
资源数量,包含服务资源开放量和服务资源访问量。The quantity of resources includes the open quantity of service resources and the access quantity of service resources.
资源提供者开放资源时,服务资源开放量可以包含服务资源的可执行代码规模、开放时间、开放的功能项数量。When a resource provider opens up resources, the open amount of service resources may include the executable code size, opening time, and number of open function items of the service resources.
资源使用者访问资源时,服务资源访问量包含所开放或访问的服务资源的访问次数、访问时长、访问者数量、访问的功能项数量、运行的可执行代码规模等直接相关,比如:访问邮件服务系统1次和100次,获得或需要支付的通证值是不同的。资源提供者开放服务资源的访问量越大,资源提供者所获得的通证值越多;资源使用者对服务资源的访问量越大,所支付的通证值越多。When a resource user accesses a resource, the amount of service resource visits includes the number of visits to the open or accessed service resource, the length of the visit, the number of visitors, the number of accessed function items, and the size of executable code that are directly related, such as: access to mail
服务资源种类包含以下至少一种:平台资源、工具资源;所述平台资源, 是指基于平台的服务;所述工具资源,是指提供特定功能的服务。The types of service resources include at least one of the following: platform resources and tool resources; the platform resources refer to platform-based services; and the tool resources refer to services that provide specific functions.
比如,电商平台(网上商城、网上图书馆、网上游戏厅等)、政务平台、邮件服务、函数库,算法库,数据库查询,搜索引擎、导航服务等。对于不同种类的服务,获得或需支付不同的通证值。For example, e-commerce platforms (online shopping malls, online libraries, online game halls, etc.), government affairs platforms, mail services, function libraries, algorithm libraries, database queries, search engines, navigation services, etc. For different types of services, different token values may be obtained or paid.
例如,资源提供者在服务共享节点向服务器开放网上图书馆的服务资源。当有资源使用者访问这个网上图书馆时,触发智能合约模块计算出对应于该网上图书馆资源的通证值。此通证值为本次资源使用者访问该服务资源后,对资源提供者开放资源的激励值。资源提供者获得了提供资源的回报,以通证值体现,对应于所述资源提供者的钱包地址,即为第一钱包地址。For example, the resource provider opens the service resources of the online library to the server at the service sharing node. When a resource user visits the online library, the smart contract module is triggered to calculate the token value corresponding to the online library resource. The token value is the incentive value for the resource provider to open the resource after the resource user accesses the service resource. The resource provider obtains the reward for providing the resource, which is represented by the token value, and corresponds to the wallet address of the resource provider, which is the first wallet address.
再例如,资源使用者在服务共享节点向服务器请求算法库的服务资源,智能合约模块根据所请求的资源,计算出访问该算法库对应的通证值。此通证值为资源使用者访问资源支付的消费值。资源使用者消费通证值,对应于资源使用者的钱包地址,即第二钱包地址,获得了资源的访问权。For another example, the resource user requests the service resource of the algorithm library from the server at the service sharing node, and the smart contract module calculates the token value corresponding to the access to the algorithm library according to the requested resource. This token value is the consumption value paid by resource users for accessing resources. The resource user consumes the token value, which corresponds to the resource user's wallet address, that is, the second wallet address, and obtains access to the resource.
按照资源计算通证值的规则,即智能合约的规则,记录在区块链智能合约模块中。The rules for calculating the token value according to resources, that is, the rules of smart contracts, are recorded in the blockchain smart contract module.
共享服务资源时,即开放和或访问服务资源,都会触发智能合约的执行,并按照合约的规则计算相应的通证值。When sharing service resources, that is, opening or accessing service resources, the execution of the smart contract will be triggered, and the corresponding token value will be calculated according to the rules of the contract.
存储器30,用于区块链方式存储所述智能合约、钱包地址、通证值。The
例如,资源提供者在服务共享节点向外开放搜索引擎的服务资源。当有资源使用者访问这搜索引擎的服务资源时,触发智能合约模块计算出对应于该搜索引擎的服务资源的奖励值,即通证值,并在区块链存储器中,将标识资源提供者的第一钱包地址对应的通证值进行更新并存储。资源使用者在服务共享节点向服务器请求该搜索引擎的服务资源,智能合约模块根据所请求的资源,计算出该搜索引擎的服务资源对应的通证值,并在区块链存储器中,将标识资源使用者的第二钱包地址对应的通证值进行更新并存储。For example, resource providers open up the service resources of search engines at the service sharing node. When a resource user accesses the service resource of the search engine, the smart contract module is triggered to calculate the reward value corresponding to the service resource of the search engine, that is, the token value, and in the blockchain memory, the resource provider will be identified The token value corresponding to the first wallet address is updated and stored. The resource user requests the service resource of the search engine from the server at the service sharing node, and the smart contract module calculates the token value corresponding to the service resource of the search engine according to the requested resource, and in the blockchain memory, will identify The token value corresponding to the second wallet address of the resource user is updated and stored.
作为本发明进一步优化的实施例,还包括第一服务模块12,即控制器,对应于第一钱包地址,用于改变服务资源的配置。As a further optimized embodiment of the present invention, it also includes a
例如,在图9所示实施例中,资源提供者提供网上商城的服务资源,第一服务模块确认第一钱包地址,接受并处理这个申请,并通过改变服务器10的配置,将网上商城的入口接入到服务共享网络,增加了服务资源开放量。智能合约模块接收包含增加网上商城服务的资源数据,在资源使用者访问网上商城 时触发执行智能合约,给资源提供者对应的钱包地址(第一钱包地址)发放对应网上商城服务资源的通证值。For example, in the embodiment shown in Figure 9, the resource provider provides the service resources of the online mall, the first service module confirms the first wallet address, accepts and processes this application, and changes the configuration of the
再例如,如果资源提供者要求将网上商城服务资源改变成搜索引擎服务资源,第一服务模块确认第一钱包地址,接受并处理这个申请,并通过改变服务器10的配置,将网上商城服务资源从服务共享网络去除,将搜索引擎服务资源增加到服务共享网络,在服务资源的共享中,资源使用者访问服务资源时,触发智能合约的执行,根据所服务资源访问量,改变资源提供者对应的钱包地址(第一钱包地址)的通证值。For another example, if the resource provider requests to change the online mall service resources to search engine service resources, the first service module confirms the first wallet address, accepts and processes this application, and changes the online mall service resources from the
作为本发明进一步优化的实施例,还包含第二服务模块13,即控制器,对应于第二钱包地址,用于访问所述服务资源。As a further optimized embodiment of the present invention, it also includes a
第二服务模块接收并处理资源使用者在服务共享节点的数据,访问网络资源节点的资源。The second service module receives and processes the data of the resource user in the service sharing node, and accesses the resources of the network resource node.
例如,在图9所示实施例中,资源使用者访问网上商城的服务资源,第二服务模块确认第二钱包地址,接受并处理这个申请,并通过访问服务器10E的配置,将网上商城的服务资源送入网络汇聚节点,访问了服务资源。智能合约模块接收包含访问网上商城的资源数据,触发执行智能合约,在资源使用者对应的钱包地址(第一钱包地址)减少对应网上商城服务的通证值。For example, in the embodiment shown in FIG. 9, the resource user accesses the service resources of the online mall, the second service module confirms the second wallet address, accepts and processes this application, and accesses the configuration of the
进一步优化地,在图6~9所表示的实施例中,所述规则包含:所述通证值的变化量,根据所述资源汇聚节点的共享时间进行累加。所述规则是智能合约规则,按照区块链智能合约进行执行。对通证值的计算,还可以根据时间的累积对单位时间获取或减少通证值进行累加,即PD(例如图7);也可以分别按照不同的资源种类对单位时间获取或减少通证值进行累加,即PD i(例如图6,8~9)。 Optimally, in the embodiments shown in FIGS. 6-9, the rule includes: the amount of change of the token value is accumulated according to the sharing time of the resource aggregation node. The rules are smart contract rules, which are executed in accordance with the blockchain smart contract. The calculation of the token value can also accumulate the acquisition or reduction of the token value per unit time according to the accumulation of time, that is, PD (for example, Figure 7); it can also obtain or reduce the token value per unit time according to different resource types. Perform accumulation, namely PD i (for example, Figure 6, 8-9).
例如,资源提供者供应的100G存储空间,在单位时间所获得的通证值是D 1,如果资源提供者一共供应了10个单位时间,则相应的通证值PD 1=10×D 1。资源使用者使用100G存储空间,如果在单位时间所获得的通证值是D 2,则相应的通证值PD 2=10×D 2。 For example, if the 100G storage space provided by the resource provider, the token value obtained per unit time is D 1 , if the resource provider provides a total of 10 unit times, the corresponding token value PD 1 =10×D 1 . The resource user uses 100G of storage space. If the token value obtained per unit time is D 2 , the corresponding token value PD 2 =10×D 2 .
作为本发明进一步优化的实施例,所述智能合约模块包含乘法器,用于对所述资源数据做运算获得所述通证值的变化量;所述乘法器的系数从所述存储器中读取,或由智能合约模块生成。As a further optimized embodiment of the present invention, the smart contract module includes a multiplier for performing operations on the resource data to obtain the change in the token value; the coefficient of the multiplier is read from the memory , Or generated by the smart contract module.
例如,乘法器的转换系数表示为T。T可以是一个系数值,也可以是一个 算符,这里不做具体限定。For example, the conversion coefficient of the multiplier is represented as T. T can be a coefficient value or an operator, and there is no specific limitation here.
例如,资源提供者提供虚拟网络资源:100M带宽的VPN服务。根据资源提供者提供的资源的种类、质量和或时间等,资源汇聚节点送出的数据R作为乘法器的送入。经过乘法运算,得到钱包地址相对应的通证值D=T×R。For example, resource providers provide virtual network resources: VPN services with 100M bandwidth. According to the type, quality and/or time of the resource provided by the resource provider, the data R sent by the resource aggregation node is sent as the multiplier. After multiplication, the token value D=T×R corresponding to the wallet address is obtained.
作为本发明进一步优化的实施例,所述规则包含确定所述乘法器的系数方法有:As a further optimized embodiment of the present invention, the rules include methods for determining the coefficients of the multiplier:
例如,所述乘法器的系数是资源种类的变量;资源种类不同,乘法器的系数也不同。例如,资源提供者供应的磁盘空间,与供应的VPN服务,对这两类资源的通证值计算是不同的:即乘法器的系数是不同的。同样,资源使用者使用的磁盘空间与VPN服务,这两类资源的通证值计算也是不同的。For example, the coefficient of the multiplier is a variable of the resource type; the coefficient of the multiplier is different for different resource types. For example, the disk space provided by the resource provider and the VPN service provided are different in the calculation of the token value of these two types of resources: that is, the coefficients of the multipliers are different. Similarly, the disk space used by resource users and VPN services are calculated differently for these two types of resources.
资源种类为传送容量时,使用系数为T 1,当资源数量表示为R 1时,对应的通证值变化量为D 1=T 1×R 1;资源种类为交换容量时,使用系数为T 2,当资源数量表示为R 2时,对应的通证值变化量为D 2=T 2×R 2。 When the resource type is the transmission capacity, the usage coefficient is T 1. When the resource quantity is expressed as R 1 , the corresponding token value change is D 1 = T 1 × R 1 ; when the resource type is the exchange capacity, the usage coefficient is T 2. When the number of resources is expressed as R 2 , the corresponding token value change is D 2 =T 2 ×R 2 .
再例如,所述乘法器的系数是资源数量的变量;例如,资源提供者供应的磁盘空间,100G空间和500G空间,乘法器的系数不同,相对应的通证值也就不同。同样,资源使用者使用的磁盘空间,100G空间和500G空间,乘法器的系数不同,相对应的通证值也是不同的。For another example, the coefficient of the multiplier is a variable of the number of resources; for example, the disk space provided by the resource provider, 100G space and 500G space, the coefficient of the multiplier is different, the corresponding token value is also different. Similarly, the disk space used by resource users, 100G space and 500G space, and the coefficient of the multiplier are different, and the corresponding token value is also different.
再例如,所述乘法器的系数是钱包地址的变量;不同的资源提供者供应相同的磁盘空间,乘法器的系数可以不同,因而会获得不同的通证值。例如,对于长期稳定合作的资源提供者给予更大回馈,或者加入会员的提供者获得更好奖励。同样的,不同的资源使用者使用相同的磁盘空间,也可获得不同的通证值。For another example, the coefficient of the multiplier is a variable of the wallet address; different resource providers supply the same disk space, the coefficient of the multiplier can be different, and thus different token values will be obtained. For example, provide greater rewards to resource providers who have long-term stable cooperation, or providers who join members to get better rewards. Similarly, different resource users can obtain different token values using the same disk space.
再例如,所述乘法器的系数是共享时间的变量;例如,资源提供者供应的磁盘空间,或者资源使用者使用的磁盘空间,不同的供应或使用时间,乘法器对通证值的计算系数也不同。For another example, the coefficient of the multiplier is a variable of shared time; for example, the disk space supplied by the resource provider, or the disk space used by the resource user, different supply or use times, the multiplier's calculation coefficient for the token value Also different.
再例如,所述乘法器的系数是通证值的变量。例如,资源使用者换取的资源价值多时,对资源所需通证值的计算也会有折扣;或者资源提供者有更多通证值时,系统运营商会主动给予一些折扣,让其提供更多资源。For another example, the coefficient of the multiplier is a variable of the token value. For example, when the value of the resource exchanged by the resource user is large, there will be a discount for the calculation of the required token value of the resource; or when the resource provider has more token value, the system operator will actively give some discounts to let them provide more Resources.
需要说明的是,在本申请文件中所说的“乘法器的系数是x(x为另一参数)的变量”,是指乘法器的系数随x变化。It should be noted that "the coefficient of the multiplier is a variable of x (x is another parameter)" in this application document means that the coefficient of the multiplier changes with x.
以上只是几个例子。在商业活动中,商家和客户之间还会有很多复杂的合 作的方式,因此智能合约对系数值的定义,为达到解决本发明技术问题的目的,凡本领域技术人员基于本申请文件能够实现的其他并列等同方案和明显变型的方案,都在本申请的保护范围之内。The above are just a few examples. In commercial activities, there are still many complicated ways of cooperation between merchants and customers. Therefore, the definition of coefficient values in smart contracts can achieve the purpose of solving the technical problems of the present invention by those skilled in the art based on this application document. Other parallel, equivalent solutions and obvious variants are all within the protection scope of this application.
作为本发明进一步优化的实施例,还包含多个网络设备(例如资源汇聚节点、数据共享节点、服务共享节点),分别对应于1个或多个、相同或不同的钱包地址。As a further optimized embodiment of the present invention, it also includes multiple network devices (for example, a resource aggregation node, a data sharing node, and a service sharing node), respectively corresponding to one or more, same or different wallet addresses.
系统具有连接或支持多个网络设备节点的能力。The system has the ability to connect or support multiple network device nodes.
同一个资源提供者或资源使用者会拥有一个或者多个网络设备节点,在不同的节点提供或申请不同的资源;每个资源提供者或资源使用者还可以有一个或者多个钱包地址,他们可以在自己的资源汇聚节点使用任意一个自己的钱包地址登录,进行资源的远程供应和使用。The same resource provider or resource user will have one or more network device nodes, which provide or apply for different resources at different nodes; each resource provider or resource user can also have one or more wallet addresses. You can use any one of your own wallet addresses to log in at your own resource aggregation node to remotely supply and use resources.
多个网络设备节点可以对应于相同的钱包地址,例如在图7的网络中,多个物理的资源汇聚节点对应于一个资源提供者;构建VPN1的多个节点对应于一个资源使用者;构建VPN2的多个节点对应于另一个资源使用者。Multiple network device nodes can correspond to the same wallet address. For example, in the network of Figure 7, multiple physical resource aggregation nodes correspond to one resource provider; multiple nodes that construct VPN1 correspond to one resource user; construct VPN2 The multiple nodes correspond to another resource user.
或者,同一个资源汇聚节点包含多个资源提供者的设备、或有多个资源使用者进行访问。此时,1个资源汇聚节点可以对应于多个不同的钱包地址,例如在图1的网络中,1个终端节点10A的设备包含的设施中,一部分传送容量属于一个资源提供者,另一部分传送容量属于另一个资源提供者,则这个终端节点10A对应于两个不同的第一钱包地址。或者,在交换节点10B的设备包含的设施中,一部分交换容量由一个使用者使用,另一部分交换容量由另一个使用者使用,则这个交换节点10B对应于两个不同的第二钱包地址。Or, the same resource aggregation node includes equipment from multiple resource providers, or multiple resource users access it. At this time, one resource aggregation node can correspond to multiple different wallet addresses. For example, in the network of Figure 1, one
每个资源提供者或使用者,也可以拥有多个钱包地址,用于区分资源汇聚节点类型。例如,资源提供者或资源使用者可以用一个钱包地址登录两个资源汇聚节点,比如一个用来供应或调用100G磁盘空间,另一个用来供应或调用VPN服务。此时,对这两个资源汇聚节点上的资源的供应或使用,通证值都从该钱包地址中做相应改变。Each resource provider or user can also have multiple wallet addresses to distinguish resource aggregation node types. For example, a resource provider or resource user can use one wallet address to log in to two resource aggregation nodes, such as one for supplying or invoking 100G disk space, and the other for supplying or invoking VPN services. At this time, for the supply or use of resources on the two resource aggregation nodes, the token value is changed from the wallet address accordingly.
再例如,资源提供者或资源使用者拥有2个钱包地址,ID 1和ID 2。ID 1对应于提供或调用100G磁盘空间的资源汇聚节点,ID 2对应于提供或调用VPN服务的资源汇聚节点。此时,对100G磁盘空间的资源的供应或调用,与ID 1相对应的通证值根据100G磁盘空间的资源汇聚节点做改变;对VPN服务资源的供应或调用,与ID 2相对应的通证值根据VPN服务资源的资源汇聚节点 做改变。 For another example, the resource provider or resource user has two wallet addresses, ID 1 and ID 2 . ID 1 corresponds to the resource aggregation node that provides or invokes 100G disk space, and ID 2 corresponds to the resource aggregation node that provides or invokes VPN services. At this time, for the supply or call of resources of 100G disk space, the token value corresponding to ID 1 is changed according to the resource aggregation node of 100G disk space; for the supply or call of VPN service resources, the communication value corresponding to ID 2 is changed. The certificate value is changed according to the resource convergence node of the VPN service resource.
本申请还提供一种资源交易方法,用本申请任意一项实施例所述网络实现资源通证交易,以下给出实施例。需要说明,在以下实施例的方法中,所述资源包含以下至少一种:物理网络资源、虚拟网络资源、数据资源、服务资源。This application also provides a resource transaction method, which uses the network described in any one of the embodiments of this application to implement resource token transactions. Examples are given below. It should be noted that in the method of the following embodiment, the resource includes at least one of the following: physical network resource, virtual network resource, data resource, and service resource.
实施例1)改变与第一钱包地址对应的资源,按规则改变与第一钱包地址对应的通证值。Embodiment 1) Change the resource corresponding to the first wallet address, and change the token value corresponding to the first wallet address according to the rules.
例如,改变与第一钱包地址对应的物理网络资源,根据所述物理网络资源改变量,按照智能合约的规则改变与第一钱包地址对应的通证值。For example, the physical network resource corresponding to the first wallet address is changed, and the token value corresponding to the first wallet address is changed according to the change amount of the physical network resource according to the rules of the smart contract.
例如,当资源提供者在资源汇聚节点供应100G磁盘空间时,智能合约模块按照智能合约规则计算100G磁盘空间相对应的通证值,在区块链存储器中更新并存储第一钱包地址相对应的通证值。For example, when the resource provider supplies 100G of disk space at the resource aggregation node, the smart contract module calculates the token value corresponding to the 100G disk space according to the smart contract rules, and updates and stores the first wallet address in the blockchain memory. Token value.
实施例2)根据与第一钱包地址对应的通证值,改变与第一钱包地址对应的资源。Embodiment 2) According to the token value corresponding to the first wallet address, the resource corresponding to the first wallet address is changed.
例如,根据与第一钱包地址对应的通证值,改变与第一钱包地址对应的物理网络资源。For example, according to the token value corresponding to the first wallet address, the physical network resource corresponding to the first wallet address is changed.
例如,系统根据资源提供者第一钱包地址下的通证值,当通证值与资源数据关系与智能合约规定的规则不相符时,资源提供者根据通证值调整资源的供应量。当通证值变化时,向资源提供者提出增加或减少资源供应的要求,资源提供者在资源汇聚节点增加或减少资源的供应。另外,在智能合约模块中,按照增加或减少的资源计算相对应的通证值,以确认在区块链存储器中更新并存储第一钱包地址相对应的通证值的存量是否符合智能合约规则,如果不符合,则继续改变网络资源,直至通证值的存量与资源数据关系符合智能合约规则。For example, the system according to the token value under the first wallet address of the resource provider, when the relationship between the token value and resource data does not conform to the rules stipulated by the smart contract, the resource provider adjusts the supply of resources according to the token value. When the value of the token changes, the resource provider is asked to increase or decrease the supply of resources, and the resource provider increases or decreases the supply of resources at the resource convergence node. In addition, in the smart contract module, the corresponding token value is calculated according to the increased or decreased resources to confirm whether the stock of the token value corresponding to the first wallet address is updated and stored in the blockchain memory is in compliance with the smart contract rules If it does not comply, continue to change the network resources until the relationship between the stock of the token value and the resource data conforms to the smart contract rules.
实施例3)调用与第一钱包地址对应的资源,改变与第一钱包地址对应的通证值。Embodiment 3) Invoke the resource corresponding to the first wallet address, and change the token value corresponding to the first wallet address.
例如,对应于第二钱包地址的资源使用者向系统申请并获得资源使用;在智能合约模块中,按照智能合约规则,计算资源提供者所提供的资源相对应的通证值,并在区块链存储器中更新并存储第一钱包地址相对应的通证值。For example, the resource user corresponding to the second wallet address applies to the system and obtains resource usage; in the smart contract module, according to the rules of the smart contract, the token value corresponding to the resource provided by the resource provider is calculated and stored in the block The chain memory updates and stores the token value corresponding to the first wallet address.
实施例4)根据与第一钱包地址对应的通证值,调用与第一钱包地址对应的资源。Embodiment 4) According to the token value corresponding to the first wallet address, the resource corresponding to the first wallet address is called.
例如,系统可以根据资源提供者第一钱包地址下的通证值,主动给对应于第二钱包地址的资源使用者提供资源供应信息,鼓励资源使用者调用第一钱包 地址下的资源。与第二钱包地址对应的资源内使用者,通过第二服务器调用与第一钱包地址对应的资源。另外,当资源使用者调用第一钱包地址下的资源时,在智能合约模块中,计算调用的资源相对应的通证值:对于第一钱包地址和第二钱包地址下的通证值计算系数可以同,也可以不同,在区块链存储器中更新并存储第一钱包地址、第二钱包地址相对应的通证值。For example, the system can actively provide resource supply information to resource users corresponding to the second wallet address according to the token value under the first wallet address of the resource provider, and encourage resource users to call the resources under the first wallet address. The user in the resource corresponding to the second wallet address calls the resource corresponding to the first wallet address through the second server. In addition, when the resource user calls the resource under the first wallet address, in the smart contract module, calculate the token value corresponding to the resource called: the calculation coefficient for the token value under the first wallet address and the second wallet address It can be the same or different. The token value corresponding to the first wallet address and the second wallet address is updated and stored in the blockchain memory.
实施例5)调用与第一钱包地址对应的资源,改变与第二钱包地址对应的通证值。Embodiment 5) Invoke the resource corresponding to the first wallet address, and change the token value corresponding to the second wallet address.
例如,对应于第二钱包地址的资源使用者向系统申请并获得与第一钱包地址对应的资源;在智能合约模块中,按照智能合约规则,计算所请求的资源相对应的通证值,并在区块链存储器中更新并存储资源使用者第二钱包地址相对应的通证值。For example, the resource user corresponding to the second wallet address applies to the system and obtains the resource corresponding to the first wallet address; in the smart contract module, according to the smart contract rules, calculate the token value corresponding to the requested resource, and Update and store the token value corresponding to the second wallet address of the resource user in the blockchain memory.
实施例6)根据与第二钱包地址对应的通证值,调用与第一钱包地址对应的资源。Embodiment 6) According to the token value corresponding to the second wallet address, the resource corresponding to the first wallet address is called.
使用者例如,根据资源使用者第二钱包地址中的通证值,系统向资源使用者提供通证值能够支持的资源供应信息,资源使用者可以据此选择并调用资源。此时,在智能合约模块中,按照智能合约规则,计算所调用资源相对应的通证值,并确认在区块链存储器中存储的使用者第二钱包地址相对应的通证值的存量是否符合智能合约规则,如果不符合,则使用网络资源,直至通证值的存量与资源数据关系符合智能合约规则。For example, according to the token value in the second wallet address of the resource user, the system provides the resource user with resource supply information that the token value can support, and the resource user can select and call resources accordingly. At this point, in the smart contract module, according to the rules of the smart contract, calculate the token value corresponding to the called resource, and confirm whether the token value corresponding to the user's second wallet address stored in the blockchain memory is stored Comply with smart contract rules, if not, use network resources until the relationship between the stock of token value and resource data complies with smart contract rules.
作为本发明进一步优化的实施例,用本申请任意一项实施例所述网络实现通证账户交易,以下给出实施例:As a further optimized embodiment of the present invention, the network described in any one of the embodiments of the present application is used to implement token account transactions. The following examples are given:
实施例7)增加第一钱包地址对应的通证值、减少第一钱包地址对应的账户值。所述钱包地址的账户值,是指钱包地址对应的资产,包括货币、虚拟货币、银行账户值、股票、期货、基金、股权等,也包括通证值。Embodiment 7) Increase the token value corresponding to the first wallet address and decrease the account value corresponding to the first wallet address. The account value of the wallet address refers to the assets corresponding to the wallet address, including currency, virtual currency, bank account value, stocks, futures, funds, equity, etc., as well as token value.
可以使用第一钱包地址的账户值购买或交换通证值。例如,资源提供者通过货币支付,在智能合约模块,触发相应的智能合约被执行,通过智能合约规则计算所购买的通证值,并更新第一钱包地址对应的通证值,将其存储在区块链存储器里。The account value of the first wallet address can be used to purchase or exchange the token value. For example, the resource provider pays by currency, in the smart contract module, triggers the corresponding smart contract to be executed, calculates the value of the purchased token through the smart contract rules, and updates the token value corresponding to the first wallet address, and stores it in In the blockchain memory.
实施例8)减少第一钱包地址对应的通证值、增加第一钱包地址对应的账户值。Embodiment 8) Reduce the token value corresponding to the first wallet address and increase the account value corresponding to the first wallet address.
可以使用第一钱包地址的通证值交换账户值。例如,资源提供者使用通证 值兑换货币或者股票,在智能合约模块,触发相应的智能合约被执行,通过智能合约规则,根据第一钱包地址中所要使用的通证值,计算相应的货币或股票,然后将第一钱包地址对应的通证值减掉所要使用的通证值,更新的通证值存储在区块链存储器里。此时,增加的货币或股票信息也记录在区块链的存储器里。The token value of the first wallet address can be used to exchange the account value. For example, the resource provider uses the token value to exchange currency or stock, in the smart contract module, triggers the corresponding smart contract to be executed, and through the smart contract rules, according to the token value to be used in the first wallet address, the corresponding currency or For stocks, the token value corresponding to the first wallet address is subtracted from the token value to be used, and the updated token value is stored in the blockchain memory. At this time, the added currency or stock information is also recorded in the memory of the blockchain.
实施例9)增加第二钱包地址对应的通证值、减少第二钱包地址对应的账户值。Embodiment 9) Increase the token value corresponding to the second wallet address and decrease the account value corresponding to the second wallet address.
可以使用第二钱包地址的账户值交换通证值。例如,资源使用者通过货币支付,在智能合约模块,触发相应的智能合约被执行,通过智能合约规则计算所购买的通证值,并更新第二钱包地址对应的通证值,将其存储在区块链存储器里。The account value of the second wallet address can be used to exchange the token value. For example, a resource user pays by currency, in the smart contract module, triggers the corresponding smart contract to be executed, calculates the purchased token value through the smart contract rules, and updates the token value corresponding to the second wallet address, and stores it in In the blockchain memory.
实施例10)减少第二钱包地址对应的通证值、增加第二钱包地址对应的账户值。Embodiment 10) Decrease the token value corresponding to the second wallet address and increase the account value corresponding to the second wallet address.
可以使用第二钱包地址的通证值交换账户值。例如,资源使用者使用通证值兑换货币或者股票,在智能合约模块,触发相应的智能合约被执行,通过智能合约规则,根据第二钱包地址中所要使用的通证值,计算相应的货币或股票,然后将第二钱包地址对应的通证值减掉所要使用的通证值,更新的通证值存储在区块链存储器里。此时,增加的货币或股票信息也记录在区块链的存储器里。The token value of the second wallet address can be used to exchange the account value. For example, the resource user uses the token value to exchange currency or stocks, in the smart contract module, triggers the corresponding smart contract to be executed, through the smart contract rules, according to the token value to be used in the second wallet address, the corresponding currency or Stock, and then subtract the token value corresponding to the second wallet address from the token value to be used, and store the updated token value in the blockchain memory. At this time, the added currency or stock information is also recorded in the memory of the blockchain.
过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台终端设备(可以是手机,个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. the way. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to make a A terminal device (which can be a mobile phone, a personal computer, a server, or a network device, etc.) executes the methods described in the various embodiments of the present invention.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技 术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视本发明的保护范围。The above descriptions are only examples of this application, and are not intended to limit this application. For those skilled in the art, this application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the scope of the claims of this application. The above are only the preferred embodiments of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications are also The protection scope of the present invention should be considered.
Claims (26)
Applications Claiming Priority (10)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910055417.0 | 2019-01-21 | ||
| CN201910055429.3A CN109639832B (en) | 2019-01-21 | 2019-01-21 | Service sharing network and method |
| CN201910055250.8 | 2019-01-21 | ||
| CN201910054782.XA CN109615352B (en) | 2019-01-21 | 2019-01-21 | Resource convergence network and method |
| CN201910055429.3 | 2019-01-21 | ||
| CN201910055417.0A CN109672753B (en) | 2019-01-21 | 2019-01-21 | Data sharing network and method |
| CN201910055361.9 | 2019-01-21 | ||
| CN201910055250.8A CN109583863B (en) | 2019-01-21 | 2019-01-21 | Block chain resource transaction network and transaction method |
| CN201910055361.9A CN109688228A (en) | 2019-01-21 | 2019-01-21 | A kind of network and network node of logical card control |
| CN201910054782.X | 2019-01-21 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020150919A1 true WO2020150919A1 (en) | 2020-07-30 |
Family
ID=71735848
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/072817 Ceased WO2020150919A1 (en) | 2019-01-21 | 2019-01-23 | Blockchain resource transaction network, network node, and transaction method |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2020150919A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12401517B2 (en) | 2023-02-15 | 2025-08-26 | T-Mobile Usa, Inc. | Dynamic, comprehensive, and intelligent integration of telecommunication network resources for blockchain operations |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100094674A1 (en) * | 2008-10-14 | 2010-04-15 | Michael Marriner | Supply Chain Management Systems and Methods |
| CN109064167A (en) * | 2018-07-27 | 2018-12-21 | 烨链(上海)科技有限公司 | Data processing method and device based on block chain |
| CN109074565A (en) * | 2016-04-11 | 2018-12-21 | 区块链控股有限公司 | Computer-implemented method and system for verifying a pass-through for blockchain based cryptocurrency |
-
2019
- 2019-01-23 WO PCT/CN2019/072817 patent/WO2020150919A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100094674A1 (en) * | 2008-10-14 | 2010-04-15 | Michael Marriner | Supply Chain Management Systems and Methods |
| CN109074565A (en) * | 2016-04-11 | 2018-12-21 | 区块链控股有限公司 | Computer-implemented method and system for verifying a pass-through for blockchain based cryptocurrency |
| CN109064167A (en) * | 2018-07-27 | 2018-12-21 | 烨链(上海)科技有限公司 | Data processing method and device based on block chain |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12401517B2 (en) | 2023-02-15 | 2025-08-26 | T-Mobile Usa, Inc. | Dynamic, comprehensive, and intelligent integration of telecommunication network resources for blockchain operations |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10057186B2 (en) | Service broker for computational offloading and improved resource utilization | |
| US20180349991A1 (en) | System and method for issuing a loan to a consumer determined to be creditworthy and generating a behavioral profile of that consumer | |
| US10628807B2 (en) | Techniques for transaction management | |
| US20110138047A1 (en) | Provisioning services using a cloud services catalog | |
| CN109615352B (en) | Resource convergence network and method | |
| CN111737322B (en) | A data sharing method, device and device | |
| CN108647958A (en) | A blockchain-based digital asset transaction method and system | |
| US10924361B2 (en) | Decentralized data analytics management | |
| US11810186B2 (en) | Method and system for providing an interactive spending analysis display | |
| KR20000050076A (en) | Method for Serving Finance Loan Appliance using Internet | |
| CN113159956A (en) | Account data processing method, device, equipment and storage medium | |
| CN109583863B (en) | Block chain resource transaction network and transaction method | |
| US9773282B1 (en) | Method and system for providing a spending analysis display dynamically adapted to defined categories of day and/or date | |
| CN109639832B (en) | Service sharing network and method | |
| CN114372788A (en) | Third party payment cloud account member system | |
| US11171839B2 (en) | Dynamic engine for matching computing devices based on user profiles and machine learning | |
| CN109672753B (en) | Data sharing network and method | |
| WO2020150919A1 (en) | Blockchain resource transaction network, network node, and transaction method | |
| CN115099924A (en) | Financial wind control management method and system, equipment and storage medium | |
| CN210295189U (en) | Block chain resource transaction network | |
| CN118394508A (en) | Data resource allocation method, device, equipment, medium and program product | |
| CN210295188U (en) | Resource convergence network | |
| US11658942B2 (en) | Maintaining security in digital electronic transfers through use of a label tracking system | |
| US11468451B2 (en) | Leveraging sensor data valuation | |
| Luo | Design and Implementation of Decentralized Swarm Intelligence E‐Commerce Model Based on Regional Chain and Edge Computing |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19911681 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19911681 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19911681 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21.01.2022) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19911681 Country of ref document: EP Kind code of ref document: A1 |