CN112200677B - Multi-party frequency spectrum real-time transaction method, system and storage medium based on block chain - Google Patents
Multi-party frequency spectrum real-time transaction method, system and storage medium based on block chain Download PDFInfo
- Publication number
- CN112200677B CN112200677B CN202011162215.5A CN202011162215A CN112200677B CN 112200677 B CN112200677 B CN 112200677B CN 202011162215 A CN202011162215 A CN 202011162215A CN 112200677 B CN112200677 B CN 112200677B
- Authority
- CN
- China
- Prior art keywords
- transaction
- intelligent agent
- transaction data
- spectrum
- 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.)
- Active
Links
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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Economics (AREA)
- Technology Law (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Computing Systems (AREA)
- Strategic Management (AREA)
- Data Mining & Analysis (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a multi-party frequency spectrum real-time transaction method, a multi-party frequency spectrum real-time transaction system and a storage medium based on a blockchain. The method comprises the following steps: the first intelligent agent and the second intelligent agent determine target transaction data of spectrum transaction through games, generate spectrum transaction instructions and send the spectrum transaction instructions to the server; the server builds a blockchain, the consensus of which is achieved by the respective intelligent agents of the participants of the spectrum transaction; and each intelligent agent respectively calls the intelligent contracts deployed on the blockchain to process spectrum transaction data. According to the method provided by the invention, the intelligent agents of the buyers and sellers of the spectrum transaction firstly determine target transaction data through games, and build the blockchain which only needs to be agreed by the intelligent agents of the spectrum transaction participants, and the safe transaction is realized by utilizing the characteristics of the blockchain.
Description
Technical Field
The invention relates to the technical field of spectrum transaction, in particular to a multi-party spectrum real-time transaction method, a multi-party spectrum real-time transaction system and a storage medium based on blockchain.
Background
The wireless spectrum is an important basis for supporting wireless communication as a natural resource, and the spectrum sharing technology is a technology for improving the spectrum utilization rate. There is currently a central spectrum sharing technology, and in the central framework, there is a spectrum intermediate quotient to allocate spectrum, which involves a problem of security and reliability.
Accordingly, there is a need for improvement and advancement in the art.
Disclosure of Invention
Aiming at the defects in the prior art, the multi-party frequency spectrum real-time transaction method, system and storage medium based on the blockchain are provided, and the problem that the security of the central frequency spectrum sharing technology in the prior art is low is solved.
In a first aspect of the present invention, there is provided a blockchain-based multi-party spectrum real-time transaction method, comprising:
the first intelligent agent and the second intelligent agent determine target transaction data of spectrum transaction through games, generate spectrum transaction instructions and send the spectrum transaction instructions to the server;
the server builds a blockchain, the consensus of which is achieved by the respective intelligent agents of the participants of the spectrum transaction;
And each intelligent agent respectively calls the intelligent contracts deployed on the blockchain to process spectrum transaction data.
The multi-party frequency spectrum real-time transaction method based on the blockchain, wherein the first intelligent agent and the second intelligent agent determine target transaction data of frequency spectrum transaction through game, and the method comprises the following steps:
when a game starts, the first intelligent agent sends out first transaction data;
the second intelligent agent determines second transaction data according to the first transaction data and sends the second transaction data;
The first intelligent agent updates the first transaction data according to the second transaction data;
The first intelligent agent determines whether the game is converged, if so, the first intelligent agent determines that the updated first transaction data and the updated second transaction data are the target transaction data, if not, the first intelligent agent sends the updated first transaction data, and the second intelligent agent continues to execute the steps of calculating and sending the second transaction data according to the first transaction data sent by the first intelligent agent until the game is converged;
wherein the first transaction data is a frequency spectrum price and the second transaction data is a bandwidth demand.
The multi-party frequency spectrum real-time transaction method based on the blockchain, wherein the first intelligent agent determines whether the game converges or not, comprises the following steps:
the first intelligent agent determines whether the updated first transaction data and the last sent first transaction data are smaller than a preset threshold value;
if yes, determining that the game is converged, and if not, determining that the game is not converged.
The multi-party frequency spectrum real-time transaction method based on the blockchain, wherein the second intelligent agent determines second transaction data according to the first transaction data, comprises the following steps:
the second intelligent agent acquires load data of a network operator, and determines the second transaction data according to the first transaction data and the load data.
According to the multi-party frequency spectrum real-time transaction method based on the blockchain, the load data is obtained by calculating the number of access requests of the cellular users and the Internet of things equipment within the service range of the network operator.
The multi-party frequency spectrum real-time transaction method based on the blockchain, wherein the first intelligent agent updates the first transaction data according to the second transaction data, comprises the following steps:
and the first intelligent agent updates the first transaction data through a preset function according to the second transaction data.
The multi-party spectrum real-time transaction method based on the blockchain, wherein the intelligent contract is deployed on the blockchain by the first intelligent agent.
The multi-party frequency spectrum real-time transaction method based on the blockchain comprises the step of enabling a block packaging party of the blockchain to be the server.
In a second aspect of the present invention, there is provided a blockchain-based multi-party spectrum real-time transaction system, comprising:
The server is used for receiving the spectrum transaction instruction and constructing a blockchain, and the consensus of the blockchain is achieved by each intelligent agent of the spectrum transaction participant;
The system comprises a server, a first intelligent agent and a second intelligent agent, wherein the first intelligent agent and the second intelligent agent are used for determining target transaction data of spectrum transaction through games, generating a spectrum transaction instruction and sending the spectrum transaction instruction to the server.
In a third aspect of the present invention, there is provided a storage medium storing one or more programs executable by one or more processors to implement the steps of the blockchain-based multi-party spectrum real-time transaction method of any of the above.
The beneficial effects are that: compared with the prior art, the invention provides a multi-party frequency spectrum real-time transaction method, a system and a storage medium based on the blockchain, and the intelligent agents of buyers and sellers of frequency spectrum transaction in the multi-party frequency spectrum real-time transaction method based on the blockchain firstly determine target transaction data through games, construct the blockchain which only needs the intelligent agents of frequency spectrum transaction participants to achieve consensus, and realize safe transaction by utilizing the characteristics of the blockchain.
Drawings
FIG. 1 is a flow chart of an embodiment of a blockchain-based multi-party spectrum real-time transaction method provided by the invention;
fig. 2 is a schematic diagram of an application scenario of an embodiment of a multi-party spectrum real-time transaction method based on blockchain provided by the present invention;
FIG. 3 is a block diagram of a gaming flow in an embodiment of a blockchain-based multi-party spectrum real-time transaction method provided by the present invention;
Fig. 4 is a schematic diagram of a multi-party spectrum real-time transaction system based on blockchain according to the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and more specific, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Example 1
As shown in fig. 1, the multi-party frequency spectrum real-time transaction method based on blockchain provided in this embodiment includes the steps of:
S100, the first intelligent agent and the second intelligent agent determine target transaction data of spectrum transaction through game, generate a spectrum transaction instruction and send the spectrum transaction instruction to the server.
The first intelligent agent and the second intelligent agent are intelligent agents of a spectrum owner and a spectrum demander (generally, a network operator), respectively, the intelligent agent (INTELLIGENT AGENT) is a program for periodically collecting information or executing service, does not need manual intervention, has high intelligence and autonomous learning, can actively collect information of most interest for a user through an intelligent agent server according to user-defined criteria, and then pushes processed information to the user on time by using an agent communication protocol, and can infer the intention of the user, autonomously make, adjust and execute a work plan. In this embodiment, the spectrum trade participants submit service contents and service demands through respective intelligent agents, each spectrum trade participant defines respective related criteria of spectrum trade, and the corresponding intelligent agents perform criteria to perform spectrum trade data processing.
The first intelligent agent and the second intelligent agent may search each other through a transaction platform, for example, the first intelligent agent may issue spectrum resource data of the first intelligent agent through the transaction platform, the second intelligent agent searches spectrum resource data on the transaction platform to find the first intelligent agent, the second intelligent agent may initiate a spectrum resource purchase request to the first intelligent agent, and the second intelligent agent may establish a game after receiving the purchase request sent by the first intelligent agent, in this embodiment, the game may be a stabellberg game, where the stabellberg game is a classical economic game, and has a certain advantage in solving the resource scheduling problem, and participants of the game are classified into a leader and a follower, where the two perform asymmetric yield competition. In this embodiment, the first intelligent agent is a leader and the second intelligent agent is a follower.
The target transaction data comprises a frequency spectrum price and a bandwidth demand, the first intelligent agent and the second intelligent agent determine the target transaction data of the frequency spectrum transaction through game, and the target transaction data comprises:
s110, when a game starts, the first intelligent agent sends out first transaction data;
S120, the second intelligent agent calculates second transaction data according to the first transaction data and sends the second transaction data;
S130, the first intelligent agent updates the first transaction data according to the second transaction data;
and S140, the first intelligent agent determines whether the game is converged, if so, the first intelligent agent determines that the updated first transaction data and the updated second transaction data are the target transaction data, if not, the first intelligent agent sends out the updated first transaction data, and the second intelligent agent continues to execute the steps of calculating and sending out the second transaction data according to the first transaction data sent out by the first intelligent agent until the game is converged.
The target transaction data includes first transaction data and second transaction data, the first transaction data is a spectrum price, and the second transaction data is a bandwidth requirement. As shown in fig. 2, there may be a plurality of network operators simultaneously sending a demand for purchasing a spectrum to the same spectrum owner, where the first intelligent agent dynamically adjusts the price of a unit bandwidth by performing a game with the intelligent agents of the respective network operators, so as to realize reasonable allocation of spectrum resources, and when the game starts, the first intelligent agent sends out preset first transaction data, that is, preset initial spectrum pricing, and the second intelligent agent calculates and sends out second transaction data according to the first transaction data, which specifically includes:
the second intelligent agent acquires load data of a network operator, and determines the second transaction data according to the first transaction data and the load data.
The network operator is a network operator corresponding to the second intelligent agent, and calculating the second transaction data according to the first transaction data and the load data can be regarded as a sub-game process, and the optimal amount of the required purchase bandwidth is selected based on the purpose of maximizing the benefit of the network operator. The load data is calculated according to the number of requested access of cellular users and internet of things equipment within the service range of the network operators, specifically, in the service range of each network operator, the cellular users and the internet of things equipment can use the licensed frequency bands to perform uplink transmission at the same time, but the coexistence access principle is required to be followed: each cellular user uses orthogonal signals which do not interfere with each other, and the internet of things equipment randomly multiplexes a plurality of sub-channels for transmission, after the cellular user and the internet of things equipment are accessed to a network operator, the network operator can only charge fees when the transmission rate exceeds a specific threshold value, and the network operator can only consider the internet of things equipment after meeting all the cellular users by guaranteeing the access and transmission of the cellular user. In the spectrum sharing process, the network operator publishes access cost and rate threshold, subordinate cellular users and Internet of things equipment decide whether to send an access request according to own needs, and the network operator acquires the load data according to the received access request.
Specifically, a corresponding relationship between load data, spectrum price and bandwidth demand may be pre-established, after the load data and the first transaction data are obtained, the corresponding second transaction data may be determined according to the corresponding relationship, and the corresponding relationship may be established through big data analysis, historical data summarization, and other means.
After determining the second transaction data, the second intelligent agent may further determine a benefit corresponding to the current second transaction data according to a preset first benefit function, for example, under the bandwidth b_m, the maximum number of users that the network operator can serve is n_m, so that the benefit u_m may be calculated by a benefit function, for example, u_m=p_m-p_t_b_m, where P is the access price charge of the user and p_t is the current spectrum price (i.e. the first transaction data).
After the first intelligent agent receives the second transaction data sent by the second intelligent agent, the first transaction data is updated according to the second transaction data, and the first intelligent agent updates the first transaction data according to the second transaction data, specifically including:
and the first intelligent agent updates the first transaction data through a preset function according to the second transaction data.
After the first intelligent agent receives the second transaction data, firstly calculating the benefit corresponding to the second transaction data according to the second transaction data, wherein the benefit corresponding to the second transaction data is calculated according to the second transaction data, and the benefit corresponding to the second transaction data can be obtained through a preset benefit function, and the benefit function can be, but is not limited to, a benefit function common in the prior art, for example, the benefit function can be obtained through the preset benefit function: u_w=p_t max (Σ_ (m=1) ≡m (b_m+), b++tol) -C to calculate the corresponding benefit of the second transaction data, where Σ_ (m=1) ≡m (b_m+) is the total bandwidth requirement of M network operators in the area, p_t is the current spectrum price (i.e. the first transaction data), b++tol is the total bandwidth owned by the spectrum provider, and C is the cost. And updating the first transaction data through a preset function according to the corresponding benefits of the second transaction data, wherein the preset function can be, but is not limited to, a price iteration formula common in the prior art, such as: p_ (t+1) =p_t+δ_t (Σ_ (m=1) ≡m (b_m+) -b+_), wherein p_ (t+1) is the updated first transaction data, wherein δ_t is the step size parameter of the t-th iteration for controlling the magnitude of the price change.
The first intelligent agent determining whether the game converges, comprising:
the first intelligent agent determines whether the updated first transaction data and the last sent first transaction data are smaller than a preset threshold value;
if yes, determining that the game is converged, and if not, determining that the game is not converged.
In this embodiment, specifically, if |p_ (t+1) -p_t|++_e holds, then the game is considered to have reached convergence, the first intelligent agent will not calculate new pricing any more, and the game ends; otherwise, the first intelligent agent publishes new pricing p_ (t+1) to the second intelligent agent and gaming proceeds through the t+1 iteration. Wherein p_ (t+1) is the updated first transaction data, p_ t is the first transaction data sent by the first intelligent agent last time, and e is a preset threshold.
After the game converges, the first transaction data and the second transaction data are not changed, namely target transaction data are determined, if the game does not converge, the first intelligent agent sends out updated first transaction data, and the second intelligent agent continues to determine new second transaction data according to the first transaction data sent out by the first intelligent agent. For ease of understanding, the process of gaming may be referred to in FIG. 3.
After the target transaction data is determined, the first intelligent agent and the second intelligent agent achieve transaction intention, in order to ensure transaction safety, in this embodiment, the transactions of the first intelligent agent and the second intelligent agent are performed on a blockchain constructed by a third party, specifically, after the first intelligent agent and the second intelligent agent determine the target transaction data, a spectrum transaction instruction is generated and sent to a server, and the server can be a server of the transaction platform, and the server is used as a trusted third party to construct the blockchain and perform block packing.
Referring to fig. 1 again, the multi-party frequency spectrum real-time transaction method based on blockchain provided in this embodiment further includes the steps of:
S200, the server builds a blockchain, the consensus of which is reached by the respective intelligent agents of the participants of the spectrum transaction.
In one possible implementation manner, in order to ensure the safety of the spectrum transaction, the spectrum transaction party further comprises a radio manager and a finance party, each intelligent agent of the spectrum transaction party corresponding to the spectrum transaction instruction further comprises a third intelligent agent and a fourth intelligent agent, the third intelligent agent and the fourth intelligent agent are respectively intelligent agents of the radio manager and the finance party, and the target transaction data further comprises a supervision fee value, a finance guarantee fee value, a guarantee fee value and the like. The third intelligent agent and the fourth intelligent agent can also issue spectrum transaction service data on the transaction platform, the second intelligent agent or the first intelligent agent can search spectrum transaction service data on the transaction platform, and the target transaction data is determined after the third intelligent agent and the fourth intelligent agent which participate in the spectrum transaction are determined.
The participants of the spectrum transaction all need to access the transaction platform after identity authentication, service providing and business demand information is submitted to respective intelligent agents, and the transaction platform can also carry out credit evaluation and the like on the participants on the transaction platform according to historical transaction data of the participants of the spectrum transaction.
The transaction platform can provide transaction templates, different processes are set for different specific transaction types, and each intelligent agent can call different transaction templates to achieve transaction intention according to own requirements, so that the spectrum transaction instruction is generated.
S300, each intelligent agent respectively calls the intelligent contracts deployed on the blockchain to process spectrum transaction data.
After the server creates a blockchain, one of the individual intelligent agents deploys an intelligent contract on the blockchain. In this embodiment, since the intelligent agent corresponding to the spectrum owner, that is, the first intelligent agent is lightly loaded, the first intelligent agent deploys an intelligent contract on the blockchain. Of course, it will be appreciated that where self business requirements are met, intelligent contracts may be deployed on the blockchain by any of the various intelligent agents.
Each intelligent agent respectively calls an intelligent contract deployed on the blockchain to process spectrum transaction data, and the intelligent agent comprises the following components:
S310, one intelligent agent in each intelligent agent inputs transaction data when deploying the intelligent contract, and other intelligent agents in each intelligent agent respectively call corresponding contract functions in the intelligent contract and input corresponding transaction data;
and S320, after the transaction is finished, the intelligent contract adjusts the amount of the medal in the account of each intelligent agent according to the transaction data input by each intelligent agent.
Specifically, each function of the smart contract has been previously set to be completed, as shown in fig. 3, one of the smart agents inputs transaction data when the smart contract is deployed, in this embodiment, the first smart agent (the smart agent of the Spectrum owner) creates the smart contract, inputs corresponding transaction data, such as a Spectrum transaction price and a guarantee value, the other smart agents in each smart agent call a corresponding contract function in the smart contract, input transaction data, such as the second smart agent (the smart agent of the Spectrum demander) calls a spectrum_buy () function, inputs a guarantee value, the third smart agent (the smart agent of the radio manager) calls a confirm_ Regulate () function, inputs a supervision fee value and a guarantee value, and the fourth smart agent (the smart agent of the financer) calls a confirm_ vouch () function, and the like, inputs a financial guarantee value and a guarantee value. Of course, it is to be understood that the above functions are merely examples, and the present invention is not limited to the names of the functions.
In a blockchain-based transaction, the first intelligent agent or the second intelligent agent may debit and credit the fourth intelligent agent in advance to acquire corresponding tokens and store the corresponding tokens in corresponding accounts, and after the transaction is finished, the first intelligent agent or the second intelligent agent may detect a transaction result and call a corresponding contract function to enable the intelligent contract to adjust the amount of the tokens in the accounts of the intelligent agents according to the transaction data input by the intelligent agents, in this embodiment, in order to ensure transaction security, the intelligent contract adjusts the amount of the tokens in the accounts of the intelligent agents according to the transaction data input by the intelligent agents, including:
And the third intelligent agent calls a corresponding contract function according to the transaction result so that the intelligent contract adjusts the amount of the medal in the account of each intelligent agent according to the preset rule and the transaction data input by each intelligent agent.
The third intelligent agent calls a corresponding contract function according to the transaction result, and the third intelligent agent comprises:
The third intelligent agent detects whether a spectrum owner corresponding to the first intelligent agent releases spectrum according to the spectrum transaction instruction;
If yes, calling a contract function corresponding to successful transaction;
if not, calling a contract function corresponding to transaction failure.
The radio supervisor can detect whether the spectrum owner corresponding to the first intelligent agent releases the spectrum according to the spectrum transaction instruction, namely whether the spectrum resource of the appointed bandwidth is released according to the spectrum release time appointed by the second intelligent agent, if yes, the third intelligent agent calls a contract function corresponding to successful transaction, and if not, the third intelligent agent calls a contract function corresponding to failed transaction. The contract function corresponding to the successful transaction and the contract function corresponding to the failed transaction are preset and respectively correspond to different token amount adjustment rules, for example, when the transaction is successful, the token amount corresponding to the spectrum transaction price, the token amount corresponding to the spectrum supervision fee value and the token amount corresponding to the financial guarantee fee value are transferred from the account of the second intelligent agent, the token amount corresponding to the guarantee fee value is transferred from the account of the first intelligent agent, the spectrum transaction price in the transaction data is transferred from the account of the second intelligent agent; and when the transaction fails, transmitting a token amount corresponding to the deposit value from the account of the first intelligent agent, and the like. The preset rules for adjusting the amount of tokens after the transaction is completed can be set according to the actual application, and are not exemplified here.
After the smart contract adjusts the amount of tokens in the accounts of the respective smart agents according to the transaction data, the smart contract includes:
The accounts of the first intelligent agent, the second intelligent agent and the third intelligent agent send the address of the intelligent contract to the fourth intelligent agent so that the spectrum transaction participants corresponding to the fourth intelligent agent can conduct token clearing.
After the transaction is finished, the accounts of the first intelligent agent, the second intelligent agent and the third intelligent agent send the address of the intelligent contract to the fourth intelligent agent, and the spectrum transaction participant (financial party) corresponding to the fourth intelligent answer can determine the account balance authenticity according to the address of the intelligent contract, and convert the tokens in each account into funds through bank remittance, so that transaction clearing is completed.
In the above spectrum transaction process performed on the blockchain, the block packer of the blockchain is the server, that is, the server is used as a trusted third party to perform block packing, and the consensus before block packing is achieved only by the intelligent agent of the participant in the spectrum transaction, so that the consensus time in the embodiment is very short, and millisecond uplink can be realized.
In summary, the present embodiment provides a multi-party spectrum real-time transaction method based on blockchain, in which the intelligent agents of buyers and sellers of spectrum transaction determine target transaction data through game, so as to ensure the maximization of benefits of both parties, construct a blockchain which only needs to be agreed by the intelligent agents of spectrum transaction participants, and realize safe transaction by utilizing the characteristics of the blockchain.
It should be understood that, although the steps in the flowcharts shown in the drawings of the present specification are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps of the present invention are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps of the present invention may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order in which the sub-steps or stages are performed is not necessarily sequential, and may be performed in turn or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
Example two
Based on the above embodiment, the present invention further provides a multi-party spectrum real-time transaction system based on blockchain, and a schematic diagram thereof may be shown in fig. 4. The system comprises:
The server is used for receiving the spectrum transaction instruction and constructing a blockchain, and the consensus of the blockchain is achieved by each intelligent agent of the spectrum transaction participant, as in the first embodiment;
The first intelligent agent and the second intelligent agent are used for determining target transaction data of the spectrum transaction through gaming and generating a spectrum transaction instruction to send to the server, and the spectrum transaction instruction is specifically described in the first embodiment.
Example III
The present invention also provides a storage medium storing one or more programs executable by one or more processors to implement the steps of the blockchain-based multi-party spectrum real-time transaction method described in the above embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (7)
1. A blockchain-based multi-party spectrum real-time transaction method, comprising:
the first intelligent agent and the second intelligent agent determine target transaction data of spectrum transaction through games, generate spectrum transaction instructions and send the spectrum transaction instructions to the server;
the first intelligent agent and the second intelligent agent determine target transaction data of the spectrum transaction through gaming, and the method comprises the following steps:
when a game starts, the first intelligent agent sends out first transaction data;
the second intelligent agent determines second transaction data according to the first transaction data and sends the second transaction data;
The first intelligent agent updates the first transaction data according to the second transaction data;
The first intelligent agent determines whether the game is converged, if so, the first intelligent agent determines that the updated first transaction data and the updated second transaction data are the target transaction data, if not, the first intelligent agent sends the updated first transaction data, and the second intelligent agent continues to execute the steps of calculating and sending the second transaction data according to the first transaction data sent by the first intelligent agent until the game is converged;
wherein the first transaction data is a frequency spectrum price, and the second transaction data is a bandwidth demand;
the first intelligent agent updating the first transaction data according to the second transaction data, comprising:
After the first intelligent agent receives the second transaction data, firstly calculating the benefits corresponding to the second transaction data according to the second transaction data, and then updating the first transaction data through a preset function according to the benefits corresponding to the second transaction data;
After the second intelligent agent determines the second transaction data, the second intelligent agent determines the benefit corresponding to the current second transaction data according to a preset first benefit function, under the condition that the bandwidth is B_m, the maximum number of users which can be served by a network operator is N_m, and the self benefit U_m is calculated through the first benefit function U_m=P×N_m-P_t×B_m, wherein P is the access price charge of the user;
through a preset benefit function: u_w=p_t×max (Σ_ (m=1) ≡m (b_m+), b+tol) -C to calculate the corresponding benefit of the second transaction data, where Σ_ (m=1) ≡m (b_m+) is the total bandwidth demand of M network operators in the area, p_t is the current spectrum price, b+tol is the total bandwidth owned by the spectrum provider, and C is the cost;
the first intelligent agent updating the first transaction data according to the second transaction data, comprising:
the first intelligent agent updates the first transaction data through a preset function according to the second transaction data;
Updating the first transaction data by a preset function, wherein the preset function is as follows: p_ (t+1) =p_t+δ_t (Σ_ (m=1) ≡m (b_m+) -b+_), wherein p_ (t+1) is the updated first transaction data, wherein δ_t is the step size parameter of the t-th iteration for controlling the magnitude of price change;
the server builds a blockchain, the consensus of which is achieved by the respective intelligent agents of the participants of the spectrum transaction;
Each intelligent agent of the participant of the spectrum transaction includes the first intelligent agent and a second intelligent agent; each intelligent agent of the spectrum transaction party corresponding to the spectrum transaction instruction further comprises a third intelligent agent and a fourth intelligent agent, wherein the third intelligent agent is an intelligent agent of the radio manager, and the fourth intelligent agent is an intelligent agent of the financial party; each intelligent agent respectively calls intelligent contracts deployed on the blockchain to process spectrum transaction data;
The smart contract is deployed on the blockchain by the first smart agent.
2. The blockchain-based multiparty spectrum real-time transaction method according to claim 1, wherein the first intelligent agent determines if gaming converges, comprising:
The first intelligent agent determines whether the absolute value of the difference between the updated first transaction data and the first transaction data sent last time is smaller than a preset threshold value;
if yes, determining that the game is converged, and if not, determining that the game is not converged.
3. The blockchain-based multiparty spectrum real-time transaction method according to claim 1, wherein the second intelligent agent determines second transaction data from the first transaction data, comprising:
the second intelligent agent acquires load data of a network operator, and determines the second transaction data according to the first transaction data and the load data.
4. The blockchain-based multiparty spectrum real-time transaction method according to claim 3, wherein the load data is calculated according to the number of requested accesses of cellular users and internet of things devices within the service range of the network operator.
5. The blockchain-based multi-party spectrum real-time transaction method of any of claims 1-4, wherein a blockpacker of the blockchain is the server.
6. A blockchain-based multi-party spectrum real-time transaction system for implementing a blockchain-based multi-party spectrum real-time transaction method as claimed in any of claims 1-5, comprising:
The server is used for receiving the spectrum transaction instruction and constructing a blockchain, and the consensus of the blockchain is achieved by each intelligent agent of the spectrum transaction participant;
The system comprises a server, a first intelligent agent and a second intelligent agent, wherein the first intelligent agent and the second intelligent agent are used for determining target transaction data of spectrum transaction through games, generating a spectrum transaction instruction and sending the spectrum transaction instruction to the server.
7. A storage medium storing one or more programs executable by one or more processors to implement the blockchain-based multi-party spectrum real-time transaction method of any of claims 1-5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011162215.5A CN112200677B (en) | 2020-10-27 | 2020-10-27 | Multi-party frequency spectrum real-time transaction method, system and storage medium based on block chain |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011162215.5A CN112200677B (en) | 2020-10-27 | 2020-10-27 | Multi-party frequency spectrum real-time transaction method, system and storage medium based on block chain |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112200677A CN112200677A (en) | 2021-01-08 |
| CN112200677B true CN112200677B (en) | 2024-09-24 |
Family
ID=74011501
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011162215.5A Active CN112200677B (en) | 2020-10-27 | 2020-10-27 | Multi-party frequency spectrum real-time transaction method, system and storage medium based on block chain |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112200677B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113784238B (en) * | 2021-06-30 | 2023-04-18 | 北京邮电大学 | Spectrum resource transaction method and system based on block chain network |
| CN116095691A (en) * | 2021-11-05 | 2023-05-09 | 索尼集团公司 | Electronic device, spectrum management device, system, method and storage medium |
| CN116801261A (en) * | 2022-03-15 | 2023-09-22 | 索尼集团公司 | Electronic device, method and storage medium for spectrum sharing system |
| CN119693144B (en) * | 2024-01-26 | 2025-08-12 | 国金证券股份有限公司 | Multi-mode large model construction method for security industry of information creation executable environment |
| CN120238874A (en) * | 2025-02-28 | 2025-07-01 | 润建股份有限公司 | Dynamic spectrum allocation method based on blockchain |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108062671A (en) * | 2017-11-03 | 2018-05-22 | 深圳市轱辘车联数据技术有限公司 | Data trade method, block chain node server and data submit terminal |
| CN109242498A (en) * | 2018-09-19 | 2019-01-18 | 清华大学 | A kind of the block chain method of commerce and device of decentralization |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7958041B2 (en) * | 2007-03-06 | 2011-06-07 | Spectrum Bridge, Inc. | Spectrum management system |
-
2020
- 2020-10-27 CN CN202011162215.5A patent/CN112200677B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108062671A (en) * | 2017-11-03 | 2018-05-22 | 深圳市轱辘车联数据技术有限公司 | Data trade method, block chain node server and data submit terminal |
| CN109242498A (en) * | 2018-09-19 | 2019-01-18 | 清华大学 | A kind of the block chain method of commerce and device of decentralization |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112200677A (en) | 2021-01-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112200677B (en) | Multi-party frequency spectrum real-time transaction method, system and storage medium based on block chain | |
| Wright et al. | SmartEdge: A smart contract for edge computing | |
| CN105487816B (en) | A kind of method and device of data transfer | |
| US20220358590A1 (en) | Fractional shares order execution methods | |
| CN109087208A (en) | Data processing method, device, computer equipment and storage medium before borrowing | |
| US20200014632A1 (en) | Resource path monitoring | |
| CN111681053A (en) | Receiving and paying chain construction method and device, computer equipment and readable storage medium | |
| CN109493040A (en) | A kind of anti-honeysuckle attack processing method and device based on block chain | |
| CN112085599A (en) | Method, device, storage medium and computing device for processing block chain transaction input | |
| CN111353855B (en) | Method, device, system and storage medium for processing bulk commodity transaction | |
| US20200211112A1 (en) | Wireless Base Station Crowdfunding | |
| CN112184452A (en) | Multi-party spectrum transaction platform, transaction method and storage medium based on block chain | |
| EP4266234A1 (en) | Method and apparatus for facilitating onboarding of merchants into an online commercial ecosystem | |
| CN111311102A (en) | Resource ratio adjusting method, device, equipment and computer readable storage medium | |
| CN110473110A (en) | A kind of data processing method, device, readable storage medium storing program for executing and terminal device | |
| US12437305B2 (en) | Computer implemented method and system for requesting consent from a consumer to complete an action | |
| Cruz et al. | AMM-based DEX on the XRP Ledger | |
| WO2014023365A1 (en) | Pre-match risk validation of orders | |
| TWI665634B (en) | Exchange transaction management system and a management method thereof | |
| CN112749338A (en) | Information processing method and device | |
| Ahmadi et al. | Locality and priority in auction-based resource allocation in blockchain network | |
| KR20200048527A (en) | Method for controlling reserve ratio of cryptocurrency based on block chain, server and computer program using it | |
| KR20200048530A (en) | System for controlling reserve ratio of cryptocurrency based on block chain | |
| CN111194441A (en) | Data management method based on block chain and related system | |
| KR20230068806A (en) | Service providing apparatus and method for step by step investment based on virtual currency |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |