Multi-party spectrum real-time trading method, system and storage medium based on blockchain

Through blockchain technology and intelligent agent games, a blockchain consensus reached by spectrum transaction participants is constructed, which solves the problem of low security of centralized spectrum sharing technology, realizes the security and real-time nature of spectrum transactions, and satisfies the needs of spectrum transactions. millisecond level uplink requirements.

CN112200677BActive Publication Date: 2024-09-24PENG CHENG LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011162215.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-27
Publication Date
2024-09-24
Estimated Expiration
2040-10-27

AI Technical Summary

Technical Problem

The existing centralized spectrum sharing technology has low security and cannot effectively guarantee the security and real-time nature of spectrum transactions.

Method used

Adopt a blockchain-based multi-party spectrum real-time trading method, determine the target transaction data of spectrum transactions through intelligent agent games, and build a blockchain that is reached by consensus among spectrum transaction participants, using the characteristics of the blockchain to achieve secure transactions and reduce consensus time .

Benefits of technology

It achieves the security and real-time nature of spectrum transactions. Through smart contracts and blockchain consensus, it meets the millisecond-level on-chain requirements of spectrum transactions and improves the reliability and efficiency of transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112200677B
    Figure CN112200677B
Patent Text Reader

Abstract

The present invention discloses a multi-party spectrum real-time transaction method, system and storage medium based on blockchain. The method includes: a first intelligent agent and a second intelligent agent determine the target transaction data of the spectrum transaction through game theory, and then generate a spectrum transaction instruction and send it to a server; the server builds a blockchain, and the consensus of the blockchain is reached by each intelligent agent of the participants of the spectrum transaction; each intelligent agent respectively calls the smart contract deployed on the blockchain to process the spectrum transaction data. In the method provided by the present invention, the intelligent agents of the buyer and seller of the spectrum transaction first determine the target transaction data through game theory, and construct a blockchain that only requires the intelligent agents of the spectrum transaction participants to reach a consensus, and use the characteristics of the blockchain to achieve secure transactions. Since only the spectrum transaction participants need to reach a consensus, the consensus time can be greatly reduced, and millisecond-level chaining can be achieved to meet the real-time requirements of spectrum transactions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of spectrum trading technology, and in particular to a blockchain-based multi-party spectrum real-time trading method, system and storage medium. Background Art

[0002] As a natural resource, wireless spectrum is an important foundation for supporting wireless communications. Spectrum sharing technology is a technology that improves spectrum utilization. Currently, there is a centralized spectrum sharing technology. In the centralized framework, there is a spectrum middleman to allocate spectrum, which involves security and trustworthiness issues.

[0003] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0004] In view of the above-mentioned defects of the prior art, a blockchain-based multi-party spectrum real-time transaction method, system and storage medium are provided, aiming to solve the problem of low security of centralized spectrum sharing technology in the prior art.

[0005] The first aspect of the present invention provides a multi-party spectrum real-time trading method based on blockchain, comprising:

[0006] The first intelligent agent and the second intelligent agent determine the target transaction data of the spectrum transaction through game theory, and then generate a spectrum transaction instruction and send it to the server;

[0007] The server constructs a blockchain, and the consensus of the blockchain is reached by various intelligent agents of the participants of the spectrum transaction;

[0008] Each of the intelligent agents respectively calls the intelligent contract deployed on the blockchain to process spectrum transaction data.

[0009] The multi-party real-time spectrum transaction method based on blockchain, wherein the first intelligent agent and the second intelligent agent determine the target transaction data of the spectrum transaction through game theory, includes:

[0010] When the game starts, the first intelligent agent sends out first transaction data;

[0011] The second intelligent agent determines and issues second transaction data based on the first transaction data;

[0012] The first intelligent agent updates the first transaction data according to the second transaction data;

[0013] The first intelligent agent determines whether the game converges. If so, the first intelligent agent determines that the updated first transaction data and the 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 converges.

[0014] The first transaction data is the spectrum price, and the second transaction data is the bandwidth demand.

[0015] In the multi-party real-time spectrum trading method based on blockchain, the first intelligent agent determines whether the game converges, including:

[0016] The first intelligent agent determines whether the updated first transaction data and the first transaction data sent last time are less than a preset threshold;

[0017] If so, the game is determined to have converged, and if not, the game is determined to have not converged.

[0018] The multi-party spectrum real-time trading method based on blockchain, wherein the second intelligent agent determines the second transaction data according to the first transaction data, including:

[0019] The second intelligent agent obtains the load data of the network operator, and determines the second transaction data according to the first transaction data and the load data.

[0020] The blockchain-based multi-party spectrum real-time trading method, wherein the load data is calculated based on the number of access requests from cellular users and IoT devices within the service range of the network operator.

[0021] The multi-party spectrum real-time trading method based on blockchain, wherein the first intelligent agent updates the first transaction data according to the second transaction data, comprises:

[0022] The first intelligent agent updates the first transaction data through a preset function according to the second transaction data.

[0023] The blockchain-based multi-party spectrum real-time trading method, wherein the smart contract is deployed on the blockchain by the first smart agent.

[0024] The multi-party spectrum real-time trading method based on blockchain, wherein the block packaging party of the blockchain is the server.

[0025] The second aspect of the present invention provides a multi-party spectrum real-time trading system based on blockchain, comprising:

[0026] A server, the server is used to receive spectrum trading instructions and build a blockchain, the consensus of the blockchain is reached by various intelligent agents of spectrum trading participants;

[0027] A first intelligent agent and a second intelligent agent, wherein the first intelligent agent and the second intelligent agent are used to determine target transaction data of spectrum transaction through game theory and generate spectrum transaction instructions and send them to the server.

[0028] According to a third aspect of the present invention, a storage medium is provided, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any of the above-mentioned blockchain-based multi-party spectrum real-time trading methods.

[0029] Beneficial effect: Compared with the prior art, the present invention provides a blockchain-based multi-party spectrum real-time trading method, system and storage medium. In the blockchain-based multi-party spectrum real-time trading method provided by the present invention, the intelligent agents of the buyer and seller of the spectrum transaction first determine the target transaction data through game theory, and construct a blockchain that only requires the intelligent agents of the spectrum transaction participants to reach a consensus, and uses the characteristics of the blockchain to achieve secure transactions. At the same time, since only the spectrum transaction participants need to reach a consensus and no network-wide consensus is required, the consensus time can be greatly reduced, and millisecond-level chain-up can be achieved, meeting the real-time requirements of spectrum transactions. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A flowchart of an embodiment of a multi-party spectrum real-time trading method based on blockchain provided by the present invention;

[0031] Figure 2 A schematic diagram of an application scenario of an embodiment of a multi-party spectrum real-time trading method based on blockchain provided by the present invention;

[0032] Figure 3 A flowchart of a game in an embodiment of a multi-party spectrum real-time trading method based on blockchain provided by the present invention;

[0033] Figure 4 A schematic diagram of the multi-party spectrum real-time trading system based on blockchain provided by the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0035] Embodiment 1

[0036] like Figure 1 As shown, the multi-party spectrum real-time trading method based on blockchain provided in this embodiment includes the following steps:

[0037] S100, the first intelligent agent and the second intelligent agent determine the target transaction data of the spectrum transaction through game theory, and then generate a spectrum transaction instruction and send it to the server.

[0038] The first intelligent agent and the second intelligent agent are the intelligent agents of the spectrum owner and the spectrum demander (generally the network operator) respectively. The intelligent agent is a program that regularly collects information or performs services. It does not require human intervention and is highly intelligent and self-learning. It can actively collect the most interesting information for users through the intelligent agent server according to the user-defined criteria, and then use the agent communication protocol to push the processed information to the user on time, and can infer the user's intention, and independently formulate, adjust and execute the work plan. In this embodiment, the spectrum transaction participants submit service content and business requirements through their respective intelligent agents. Each spectrum transaction participant will define the relevant criteria for spectrum trading, and the corresponding intelligent agent will process the spectrum transaction data according to the criteria.

[0039] The first intelligent agent and the second intelligent agent may find each other through a trading platform. For example, the first intelligent agent may publish its own spectrum resource data through the trading platform, and the second intelligent agent may search for spectrum resource data on the trading platform to find the first intelligent agent. The second intelligent agent may initiate a spectrum resource purchase request to the first intelligent agent. After the second intelligent agent receives the purchase request from the first intelligent agent, it constructs a game. In this embodiment, it may be a Stackelberg game. The Stackelberg game is a classic economic game that has certain advantages in solving resource scheduling problems. The participants in the game are divided into two types: leaders and followers, and the two compete for asymmetric output. In this embodiment, the first intelligent agent is a leader and the second intelligent agent is a follower.

[0040] The target transaction data includes spectrum price and bandwidth demand. The first intelligent agent and the second intelligent agent determine the target transaction data of spectrum transaction through game theory, including:

[0041] S110, when the game starts, the first intelligent agent sends first transaction data;

[0042] S120, the second intelligent agent calculates and sends second transaction data based on the first transaction data;

[0043] S130, the first intelligent agent updates the first transaction data according to the second transaction data;

[0044] S140. The first intelligent agent determines whether the game converges. If so, the first intelligent agent determines that the updated first transaction data and the 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 based on the first transaction data sent by the first intelligent agent until the game converges.

[0045] The target transaction data includes first transaction data and second transaction data, wherein the first transaction data is the spectrum price and the second transaction data is the bandwidth requirement. Figure 2 As shown, there may be multiple network operators sending demands for spectrum purchase to the same spectrum owner at the same time. The first intelligent agent dynamically adjusts the unit bandwidth price by bargaining with the intelligent agents of each network operator to achieve reasonable allocation of spectrum resources. At the beginning of the game, the first intelligent agent first sends a preset first transaction data, that is, a preset initial spectrum pricing. The second intelligent agent calculates and sends the second transaction data based on the first transaction data, which specifically includes:

[0046] The second intelligent agent obtains the load data of the network operator, and determines the second transaction data according to the first transaction data and the load data.

[0047] The network operator is the network operator corresponding to the second intelligent agent. The calculation of the second transaction data based on the first transaction data and the load data can be regarded as a sub-game process, which is to select the optimal amount of bandwidth required for purchase based on the purpose of maximizing its own interests. The load data is calculated based on the number of access requests from cellular users and IoT devices within the service range of the network operator. Specifically, within the service range of each network operator, cellular users and IoT devices can use the licensed frequency band for uplink transmission at the same time, but must follow the coexistence access principle: each cellular user uses orthogonal signals that do not interfere with each other, and IoT devices randomly reuse some sub-channels for transmission. After cellular users and IoT devices access the network operator, they will only be charged when the transmission rate exceeds a specific threshold. The network operator will guarantee the access and transmission of cellular users to a limited extent, and will only consider IoT devices after satisfying all cellular users. In the process of spectrum sharing, the network operator announces the access fee and rate threshold, and the subordinate cellular users and IoT devices decide whether to send access requests according to their own needs. The network operator obtains the load data based on the received access requests.

[0048] Specifically, a correspondence between load data, spectrum price and bandwidth demand can be established in advance. After obtaining the load data and the first transaction data, the corresponding second transaction data can be determined based on the correspondence. The correspondence can be established through big data analysis, historical data summary and other means.

[0049] After determining the second transaction data, the second intelligent agent can also determine the benefit corresponding to the current second transaction data based on the 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^*. Therefore, the benefit U_m can be calculated through the benefit function, such as U_m=P*N_m^*-P_t*B_m^*, where P is the user's access price charge and P_t is the current spectrum price (i.e., the first transaction data).

[0050] After the first intelligent agent receives the second transaction data sent by the second intelligent agent, the first intelligent agent updates the first transaction data according to the second transaction data, and the first intelligent agent updates the first transaction data according to the second transaction data, specifically including:

[0051] The first intelligent agent updates the first transaction data through a preset function according to the second transaction data.

[0052] After the first intelligent agent receives the second transaction data, it first calculates the revenue corresponding to the second transaction data based on the second transaction data. The revenue corresponding to the second transaction data calculated based on the second transaction data can be obtained through a preset benefit function. The benefit function can be but is not limited to the common benefit functions in the prior art. For example, the revenue corresponding to the second transaction data can be calculated through the preset benefit function: U_w=P_t*max(∑_(m=1)^M(B_m^*),B^tol)-C, where ∑_(m=1)^M(B_m^*) is the total bandwidth demand of the 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. Then, according to the income corresponding to the second transaction data, the first transaction data is updated through a preset function. The preset function may be but is not limited to a common price iteration formula in the prior art, for example: P_(t+1)=P_t+δ_t(∑_(m=1)^M(B_m^*)-B^tol), wherein P_(t+1) is the updated first transaction data, and δ_t is the step size parameter of the tth iteration, which is used to control the amplitude of price changes.

[0053] The first intelligent agent determines whether the game converges, including:

[0054] The first intelligent agent determines whether the updated first transaction data and the first transaction data sent last time are less than a preset threshold;

[0055] If so, the game is determined to have converged, and if not, the game is determined to have not converged.

[0056] In this embodiment, specifically, if |P_(t+1)-P_t|≤∈ holds, the game is considered to have reached convergence, the first intelligent agent will no longer calculate the new price, and the game ends; otherwise, the first intelligent agent announces the new price P_(t+1) to the second intelligent agent, and the game continues for the t+1th iteration. Among them, P_(t+1) is the updated first transaction data, P_t is the first transaction data most recently sent by the first intelligent agent, and ∈ is a preset threshold.

[0057] After the game converges, the first transaction data and the second transaction data no longer change, that is, the target transaction data is determined. If the game does not converge, the first intelligent agent sends the updated first transaction data, and the second intelligent agent continues to determine the new second transaction data based on the first transaction data sent by the first intelligent agent. For ease of understanding, the game process can be referred to Figure 3 .

[0058] After determining the target transaction data, the first intelligent agent and the second intelligent agent reach a transaction intention. In order to ensure the security of the transaction, in this embodiment, the transaction between the first intelligent agent and the second intelligent agent is carried out on a blockchain constructed by a third party. Specifically, after the first intelligent agent and the second intelligent agent determine the target transaction data, they generate a spectrum transaction instruction and send it to the server. The server can be the server of the transaction platform. The server acts as a trusted third party to build a blockchain and perform block packaging.

[0059] Please refer again Figure 1 The multi-party spectrum real-time trading method based on blockchain provided in this embodiment also includes the following steps:

[0060] S200. The server constructs a blockchain, and the consensus of the blockchain is reached by each intelligent agent of the participants in the spectrum transaction.

[0061] The intelligent agents of the participants in the spectrum transaction include the first intelligent agent and the second intelligent agent. In a possible implementation, in order to ensure the safety of spectrum transactions, the spectrum transaction parties also include radio management parties and financial parties. The intelligent agents of the spectrum transaction parties corresponding to the spectrum transaction instructions also include a third intelligent agent and a fourth intelligent agent. The third intelligent agent and the fourth intelligent agent are intelligent agents of the radio management party and the financial party, respectively. The target transaction data also includes the value of regulatory fees, the value of financial guarantee fees, the value of margin, etc. The third intelligent agent and the fourth intelligent agent can also publish spectrum transaction service data on the transaction platform. The second intelligent agent or the first intelligent agent can also search for spectrum transaction service data on the transaction platform, and determine the target transaction data after determining the third intelligent agent and the fourth intelligent agent participating in this spectrum transaction.

[0062] All parties involved in spectrum trading need to access the trading platform after identity authentication and submit service provision and business demand information to their respective intelligent agents. The trading platform can also conduct credit assessments on the parties on the trading platform based on their historical transaction data.

[0063] The trading platform can provide trading templates and set different processes for different specific transaction types. Each intelligent agent can call different trading templates according to its own needs to reach a trading intention and generate the spectrum trading instruction.

[0064] S300. Each of the intelligent agents respectively calls the intelligent contract deployed on the blockchain to process spectrum transaction data.

[0065] After the server creates the blockchain, one of the smart agents deploys the smart contract on the blockchain. In this embodiment, since the load of the smart agent corresponding to the spectrum owner, that is, the first smart agent, is relatively light, the first smart agent deploys the smart contract on the blockchain. Of course, it is understandable that in the case of meeting its own business needs, any one of the smart agents can deploy the smart contract on the blockchain.

[0066] Each of the intelligent agents respectively calls the intelligent contract deployed on the blockchain to process spectrum transaction data, including:

[0067] S310, one of the smart agents inputs transaction data when deploying the smart contract, and the other smart agents in the smart agents respectively call the corresponding contract function in the smart contract and input the corresponding transaction data;

[0068] S320: After the transaction is completed, the smart contract adjusts the token amount in the account of each smart agent according to the transaction data input by each smart agent.

[0069] Specifically, each function of the smart contract has been pre-set, such as Figure 3 As shown, one of the smart agents inputs transaction data when deploying the smart contract. In this embodiment, the first smart agent (the smart agent of the spectrum owner) creates the smart contract and inputs corresponding transaction data, such as the spectrum transaction price and the margin value. The other smart agents in the smart agents respectively call the corresponding contract functions in the smart contract and input transaction data. For example, the second smart agent (the smart agent of the spectrum demander) calls the Spectrum_buy() function and inputs the margin value. The third smart agent (the smart agent of the radio management party) calls the confirm_Regulate() function and inputs the regulatory fee value and the margin value. The fourth smart agent (the smart agent of the financial party) calls the confirm_vouch() function and inputs the financial guarantee fee value and the margin value. Of course, it can be understood that the above functions are just examples, and the present invention is not limited to the above function names.

[0070] In a blockchain-based transaction, settlement is performed through tokens. The first smart agent or the second smart agent may borrow the corresponding tokens from the fourth smart agent in advance and store them in the corresponding account. After the transaction is completed, the first smart agent or the second smart agent may detect the transaction result and call the corresponding contract function to enable the smart contract to adjust the token amount in the account of each smart agent according to the transaction data input by each smart agent. In this embodiment, in order to ensure transaction security, the smart contract adjusts the token amount in the account of each smart agent according to the transaction data input by each smart agent, including:

[0071] The third smart agent calls the corresponding contract function according to the transaction result, so that the smart contract adjusts the token amount in the account of each smart agent according to the preset rules and the transaction data input by each smart agent.

[0072] The third intelligent agent calls the corresponding contract function according to the transaction result, including:

[0073] The third intelligent agent detects whether the spectrum owner corresponding to the first intelligent agent releases the spectrum according to the spectrum trading instruction;

[0074] If so, call the contract function corresponding to the successful transaction;

[0075] If not, the contract function corresponding to the transaction failure is called.

[0076] The radio regulator can detect whether the spectrum owner corresponding to the first smart agent releases the spectrum according to the spectrum trading instruction, that is, whether the spectrum resource of the agreed bandwidth is released according to the spectrum release time agreed with the second smart agent. If so, the third smart agent calls the contract function corresponding to the successful transaction, and if not, the third smart agent calls the contract function corresponding to the failed transaction. The contract function corresponding to the successful transaction and the contract function corresponding to the failed transaction are pre-set, and correspond to different token amount adjustment rules respectively. For example, when the transaction is successful, the token amount corresponding to the spectrum transaction price, the token amount corresponding to the spectrum regulatory fee value, and the token amount corresponding to the financial guarantee fee value are transferred from the account of the second smart agent, and the token amount corresponding to the margin value is transferred to the account of the second smart agent, and the spectrum transaction price in the transaction data is transferred to the account of the first smart agent; when the transaction fails, the token amount corresponding to the margin value is transferred from the account of the first smart agent, etc. The preset rules for adjusting the token amount after the transaction is completed can be set according to actual applications, and examples are not given one by one here.

[0077] After the smart contract adjusts the token amount in the account of each smart agent according to the transaction data, it includes:

[0078] The accounts of the first smart agent, the second smart agent and the third smart agent send the address of the smart contract to the fourth smart agent, so that the spectrum trading participants corresponding to the fourth smart agent can perform token settlement.

[0079] After the transaction is completed, the accounts of the first smart agent, the second smart agent and the third smart agent will send the address of the smart contract to the fourth smart agent. The spectrum transaction participant (financial party) corresponding to the fourth smart agent can determine the authenticity of the account balance based on the address of the smart contract, and convert the tokens in each account into funds through bank transfer to complete the transaction settlement.

[0080] In the above-mentioned spectrum trading process conducted on the blockchain, the block packaging party of the blockchain is the server, that is, the server acts as a trusted third party to perform block packaging, and the consensus before block packaging only needs to be reached by the intelligent agents of the participants in the spectrum transaction. Therefore, the consensus time in this embodiment is very short, and millisecond-level chain-up can be achieved.

[0081] In summary, this embodiment provides a multi-party spectrum real-time trading method based on blockchain. In the method, the intelligent agents of the buyer and seller of the spectrum transaction first determine the target transaction data through game theory to ensure the maximization of benefits for both parties, and construct a blockchain that only requires the intelligent agents of the spectrum transaction participants to reach a consensus, and uses the characteristics of blockchain to achieve secure transactions. At the same time, since only the spectrum transaction participants need to reach a consensus and no consensus is required for the entire network, the consensus time can be greatly reduced, and millisecond-level chain-up can be achieved, meeting the real-time requirements of spectrum transactions.

[0082] It should be understood that, although the various steps in the flowcharts given in the accompanying drawings of the present invention are displayed in sequence according to the indications of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of the steps in the present invention is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps of the present invention may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0083] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile 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. As an illustration and not limitation, RAM is available in many 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).

[0084] Embodiment 2

[0085] Based on the above embodiments, the present invention also provides a multi-party spectrum real-time trading system based on blockchain, the schematic diagram of which can be shown as follows: Figure 4 The system includes:

[0086] A server, the server is used to receive spectrum trading instructions and build a blockchain, the consensus of the blockchain is reached by various intelligent agents of spectrum trading participants, as described in the first embodiment;

[0087] A first intelligent agent and a second intelligent agent, wherein the first intelligent agent and the second intelligent agent are used to determine target transaction data of spectrum transaction through game theory and generate spectrum transaction instructions and send them to the server, as specifically described in Example 1.

[0088] Embodiment 3

[0089] The present invention also provides a storage medium storing one or more programs, which can be executed by one or more processors to implement the steps of the blockchain-based multi-party spectrum real-time trading method described in the above embodiment.

[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multi-party spectrum real-time trading method based on blockchain, characterized in that: include: The first intelligent agent and the second intelligent agent determine the target transaction data of the spectrum transaction through game theory, and then generate a spectrum transaction instruction and send it to the server; The first intelligent agent and the second intelligent agent determine target transaction data of spectrum transaction through game theory, including: When the game starts, the first intelligent agent sends out first transaction data; The second intelligent agent determines and issues second transaction data based on the first 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 converges. If so, the first intelligent agent determines that the updated first transaction data and the 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 converges. The first transaction data is the spectrum price, and the second transaction data is the bandwidth demand; The first intelligent agent updates the first transaction data according to the second transaction data, including: After receiving the second transaction data, the first intelligent agent first calculates the income corresponding to the second transaction data according to the second transaction data, and then updates the first transaction data through a preset function according to the income corresponding to the second transaction data; After determining the second transaction data, the second intelligent agent determines the benefit corresponding to the current second transaction data according to the preset first benefit function. Under the bandwidth B_m^*, the maximum number of users that the network operator can serve is N_m^*. The first benefit function U_m=P×N_m^*-P_t×B_m^* is used to calculate its own benefit U_m, where P is the access price charged to the user; The income corresponding to the second transaction data is calculated by a preset benefit function: U_w=P_t×max(∑_(m=1)^M(B_m^*),B^tol)-C, where ∑_(m=1)^M(B_m^*) is the total bandwidth demand of M network operators in the region, 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 updates the first transaction data according to the second transaction data, including: The first intelligent agent updates the first transaction data through a preset function according to the second transaction data; The first transaction data is updated by a preset function, wherein the preset function is: P_(t+1)=P_t+δ_t(∑_(m=1)^M(B_m^*)-B^tol), wherein P_(t+1) is the updated first transaction data, wherein δ_t is the step size parameter of the t-th iteration, which is used to control the amplitude of the price change; The server constructs a blockchain, and the consensus of the blockchain is reached by various intelligent agents of the participants of the spectrum transaction; The intelligent agents of the spectrum transaction participants include the first intelligent agent and the second intelligent agent; the intelligent agents of the spectrum transaction parties corresponding to the spectrum transaction instruction also include a third intelligent agent and a fourth intelligent agent, the third intelligent agent is the intelligent agent of the radio management party, and the fourth intelligent agent is the intelligent agent of the financial party; the intelligent agents respectively call the intelligent contract deployed on the blockchain to process the spectrum transaction data; The smart contract is deployed on the blockchain by the first smart agent.

2. The multi-party spectrum real-time trading method based on blockchain according to claim 1 is characterized in that: The first intelligent agent determines whether the game converges, including: The first intelligent agent determines whether an absolute value of a difference between the updated first transaction data and the first transaction data sent last time is less than a preset threshold; If so, the game is determined to have converged, and if not, the game is determined to have not converged.

3. The multi-party spectrum real-time trading method based on blockchain according to claim 1 is characterized in that: The second intelligent agent determines second transaction data according to the first transaction data, including: The second intelligent agent obtains the load data of the network operator, and determines the second transaction data according to the first transaction data and the load data.

4. The multi-party spectrum real-time trading method based on blockchain according to claim 3 is characterized in that: The load data is calculated based on the number of access requests from cellular users and IoT devices within the service range of the network operator.

5. The multi-party spectrum real-time trading method based on blockchain according to any one of claims 1 to 4, characterized in that: The block packaging party of the blockchain is the server.

6. A multi-party spectrum real-time trading system based on blockchain, used to implement the multi-party spectrum real-time trading method based on blockchain as described in any one of claims 1 to 5, characterized in that: include: A server, the server is used to receive spectrum trading instructions and build a blockchain, the consensus of the blockchain is reached by various intelligent agents of spectrum trading participants; A first intelligent agent and a second intelligent agent, wherein the first intelligent agent and the second intelligent agent are used to determine target transaction data of spectrum transaction through game theory and generate spectrum transaction instructions and send them to the server.

7. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the blockchain-based multi-party spectrum real-time trading method as described in any one of claims 1-5.