CN111970123B - Wireless resource transaction method, terminal and system based on blockchain network - Google Patents

Wireless resource transaction method, terminal and system based on blockchain network Download PDF

Info

Publication number
CN111970123B
CN111970123B CN202010795918.5A CN202010795918A CN111970123B CN 111970123 B CN111970123 B CN 111970123B CN 202010795918 A CN202010795918 A CN 202010795918A CN 111970123 B CN111970123 B CN 111970123B
Authority
CN
China
Prior art keywords
resource
transaction
yielding
terminal
request
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
Application number
CN202010795918.5A
Other languages
Chinese (zh)
Other versions
CN111970123A (en
Inventor
张伦泳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010795918.5A priority Critical patent/CN111970123B/en
Publication of CN111970123A publication Critical patent/CN111970123A/en
Application granted granted Critical
Publication of CN111970123B publication Critical patent/CN111970123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The invention discloses a wireless resource transaction method, a terminal and a system based on a blockchain network. The method comprises the following steps: acquiring resource request transaction generated by a resource request terminal and broadcasted in a block chain network; the resource request transaction includes a set first wireless resource amount; acquiring a resource yielding transaction generated and transmitted by a resource yielding terminal based on a resource request transaction; the resource yielding transaction includes a set second wireless resource amount; after the accumulated values of the second wireless resource amounts corresponding to the plurality of resource yielding terminals meet the preset conditions, recovering the wireless resources of the second wireless resource amounts calculated in the accumulated values from the resource pools corresponding to the corresponding resource yielding terminals based on the resource yielding transaction; and allocating the radio resources of the first radio resource amount set in the resource request transaction to the resource request terminal for use based on the resource request transaction. The method can improve the utilization rate of wireless resources and the user experience.

Description

Wireless resource transaction method, terminal and system based on blockchain network
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a wireless resource transaction method, terminal, and system based on a blockchain network.
Background
When the load of the base station is high, there often occur situations such as that a user who needs the radio resource urgently cannot acquire the radio resource, that the user who acquires the radio resource wants to let the radio resource out, but does not have a channel to let the radio resource out, and the like. In order to improve the radio resource utilization efficiency, the related art proposes to temporarily allocate radio resources, which are obtained by a user and are temporarily not required to be used, to other users. However, the current lack of a reliable wireless resource transaction method makes it difficult for users with sufficient wireless resources and users with urgent need of wireless resources to conduct transactions, resulting in low wireless resource utilization rate and poor user experience.
Disclosure of Invention
Therefore, the invention provides a wireless resource transaction method, a terminal and a system based on a blockchain network, so as to solve the problems of low wireless resource utilization rate and poor user experience caused by the lack of a reliable wireless resource transaction method in the prior art.
In order to achieve the above object, a first aspect of the present invention provides a wireless resource transaction method based on a blockchain network, which is applied to a mobile communication network system, the method comprising:
acquiring resource request transaction generated by a resource request terminal and broadcasted in the blockchain network; the resource request transaction includes a set first amount of wireless resources;
Acquiring a resource yielding transaction generated and transmitted by the resource yielding terminal based on the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount; the resource allocation area corresponding to the resource request terminal is the same as the resource allocation area corresponding to the resource yielding terminal;
after the accumulated values of the second wireless resource amounts corresponding to the plurality of resource yielding terminals meet a preset condition, recovering the wireless resources of the second wireless resource amounts calculated in the accumulated values from the corresponding resource pools corresponding to the resource yielding terminals based on the resource yielding transaction;
and allocating the wireless resources of the first wireless resource amount set in the resource request transaction to the resource request terminal for use based on the resource request transaction.
Preferably, before allocating the radio resources of the first radio resource amount set in the resource request transaction to the resource request terminal for use based on the resource request transaction, the method further includes:
generating a resource settlement transaction based on the resource request transaction and the accumulated value;
and performing system signature on the resource settlement transaction, and sending the resource settlement transaction signed by the system to a resource request terminal so that the resource request terminal can perform terminal signature on the resource settlement transaction signed by the system, and broadcasting the resource settlement transaction signed by the terminal to a blockchain network.
Preferably, the preset conditions include: the accumulated value of the second radio resource amount is greater than or equal to the first radio resource amount; the generating a resource settlement transaction based on the resource request transaction and the accumulated value includes:
when the difference value between the accumulated value of the second wireless resource quantity and the first wireless resource quantity is smaller than or equal to a preset value, generating the resource settlement transaction according to the accumulated value and the resource request transaction; wherein the preset value is the product of the first wireless resource quantity and the preset percentage;
and when the difference value between the accumulated value of the second wireless resource quantity and the first wireless resource quantity is larger than a preset value, generating the resource settlement transaction according to the sum of the first wireless resource quantity and the preset value and the resource request transaction.
Preferably, after the system signing the resource settlement transaction and broadcasting the resource settlement transaction after the system signing to the blockchain network, the method further includes:
and if the terminal-signed resource settlement transaction broadcasted by the resource request terminal is not acquired in the blockchain network at the preset moment, recovering the wireless resources of the first wireless resource quantity allocated to the resource request terminal.
Preferably, before recovering the radio resource of the second radio resource amount calculated in the integrated value from the resource pool corresponding to the corresponding resource yielding terminal, the radio resource recovery method further includes:
and performing system signature on the resource yielding transaction, broadcasting the resource yielding transaction subjected to the system signature to a blockchain network, so that the resource yielding terminal obtains the resource yielding transaction subjected to the system signature, and releasing the wireless resource of the second wireless resource amount based on the resource yielding transaction after verifying that the system signature is correct.
Preferably, before the system signing the resource yielding transaction, the method further includes:
acquiring wireless resources of a third wireless resource amount released by a third party terminal in the resource allocation area;
after the accumulated values of the second radio resource amounts corresponding to the plurality of resource yielding terminals meet a preset condition, based on the resource yielding transaction, recovering the radio resource of the second radio resource amount calculated in the accumulated value from the resource pool corresponding to the resource yielding terminal includes:
and after the sum of the cumulative value and the third radio resource amount is greater than or equal to the first radio resource amount, recovering the radio resource of the second radio resource amount calculated in the cumulative value from the resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction.
The second aspect of the present invention provides a wireless resource transaction method based on a blockchain network, applied to a resource request terminal, the method comprising:
generating a resource request transaction; the resource request transaction includes a set first amount of wireless resources;
broadcasting the resource request transaction to the blockchain network so that after the mobile communication network system obtains the resource request transaction, a resource yielding terminal obtains a resource yielding transaction generated and transmitted based on the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount;
acquiring wireless resources of a first wireless resource amount allocated by the mobile communication network system; the radio resource of the first radio resource amount is a radio resource allocated by the mobile communication network system based on the resource request transaction after the cumulative value of the second radio resource amount corresponding to the plurality of resource yielding terminals satisfies a preset condition and the radio resource of the second radio resource amount calculated in the cumulative value is recovered from a resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction.
Preferably, after the acquiring the radio resource of the first radio resource amount allocated by the mobile communication network system, the method further includes:
Receiving a resource settlement transaction which is generated by the mobile communication network system based on the resource request transaction and is signed by the system and is sent by the mobile communication network system;
and carrying out terminal signature on the resource settlement transaction signed by the system, and broadcasting the resource settlement transaction signed by the terminal to the blockchain network.
The third aspect of the present invention provides a wireless resource transaction method based on a blockchain network, which is applied to a resource yielding terminal, and the method comprises:
acquiring resource request transaction generated by a resource request terminal and broadcasted in the blockchain network; the resource request transaction includes a set first amount of wireless resources;
generating a resource yielding transaction based on the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount;
and sending the resource yielding transaction to a mobile communication network system, so that after the cumulative values of the second wireless resource amounts corresponding to a plurality of resource yielding terminals meet a preset condition, the mobile communication network system recovers the wireless resources of the second wireless resource amounts calculated in the cumulative values from a resource pool corresponding to the resource yielding terminals based on the resource yielding transaction, and distributes the wireless resources of the first wireless resource amounts set in the resource request transaction to the resource request terminal for use based on the resource request transaction.
Preferably, after the resource yielding transaction is sent to the mobile communication network system, the method further includes:
acquiring the system signed resource yielding transaction broadcasted in the blockchain network by the mobile communication network system;
and after verifying that the system signature is correct, releasing the wireless resources of the second wireless resource amount based on the resource yielding transaction.
A fourth aspect of the present invention provides a mobile communication network system including:
the first system acquisition module is used for acquiring resource request transactions generated by the resource request terminal and broadcasted in the blockchain network; the resource request transaction includes a set first amount of wireless resources;
the second system acquisition module is used for acquiring a resource yielding terminal to generate a transmitted resource yielding transaction based on the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount; the resource allocation area corresponding to the resource request terminal is the same as the resource allocation area corresponding to the resource yielding terminal;
a first system recovery module, configured to recover, based on the resource yielding transaction, wireless resources of the second wireless resource amount calculated in the accumulated value from a resource pool corresponding to the corresponding resource yielding terminal after the accumulated values of the second wireless resource amounts corresponding to the plurality of resource yielding terminals satisfy a preset condition;
And the first system allocation module is used for allocating the wireless resources of the first wireless resource amount set in the resource request transaction to the resource request terminal for use based on the resource request transaction.
A fifth aspect of the present invention provides a resource request terminal, comprising:
the first request terminal generation module is used for generating a resource request transaction; the resource request transaction includes a set first amount of wireless resources;
the first request terminal broadcasting module is used for broadcasting the resource request transaction to the blockchain network so that after the mobile communication network system obtains the resource request transaction, the resource issuing terminal obtains the resource issuing transaction generated and transmitted based on the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount;
a first request terminal acquisition module, configured to acquire radio resources of a first radio resource amount allocated by the mobile communication network system; the radio resource of the first radio resource amount is a radio resource allocated by the mobile communication network system based on the resource request transaction after the cumulative value of the second radio resource amount corresponding to the plurality of resource yielding terminals satisfies a preset condition and the radio resource of the second radio resource amount calculated in the cumulative value is recovered from a resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction.
A sixth aspect of the present invention provides a resource yielding terminal, including:
the first yielding terminal acquisition module is used for acquiring resource request transactions generated by the resource request terminal and broadcasted in the blockchain network; the resource request transaction includes a set first amount of wireless resources;
the first yielding terminal generation module is used for generating a resource yielding transaction based on the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount;
and the first yielding terminal sending module is used for sending the resource yielding transaction to the mobile communication network system so that after the accumulated values of the second wireless resource amounts corresponding to the plurality of resource yielding terminals meet the preset condition, the mobile communication network system recovers the wireless resources of the second wireless resource amounts calculated in the accumulated values from the corresponding resource pools corresponding to the resource yielding terminals based on the resource yielding transaction, and distributes the wireless resources of the first wireless resource amounts set in the resource request transaction to the resource request terminal for use based on the resource request transaction.
The invention has the following advantages:
The invention provides a wireless resource transaction method, a terminal and a system based on a block chain network, wherein firstly, a resource request transaction generated by a resource request terminal and broadcasted in the block chain network is obtained, and the resource request transaction comprises a set first wireless resource amount; secondly, acquiring a resource yielding transaction generated and transmitted by a resource yielding terminal based on a resource request transaction, wherein the resource yielding transaction comprises a set second wireless resource amount; then, after the accumulated value of the second radio resource amount corresponding to the plurality of resource yielding terminals meets the preset condition, recovering the radio resource of the second radio resource amount calculated in the accumulated value from the resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction; and finally, based on the resource request transaction, the wireless resources of the first wireless resource amount set in the resource request transaction are distributed to the resource request terminal for use, so that the user with the wireless resources and the user with the urgent need of the wireless resources can conduct the wireless resource transaction, the utilization rate of the wireless resources is improved, and the user experience is improved.
Drawings
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate the invention and together with the description serve to explain, without limitation, the invention.
Fig. 1 is a flowchart of a wireless resource transaction method based on a blockchain network according to an embodiment of the present invention;
fig. 2 is a flowchart of another wireless resource transaction method based on a blockchain network according to an embodiment of the present invention;
fig. 3 is a flowchart of another wireless resource transaction method based on a blockchain network according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile communication network system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a resource request terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a resource yielding terminal according to an embodiment of the present invention;
fig. 7 is a flowchart of another wireless resource transaction method based on a blockchain network according to an embodiment of the present invention.
In the drawings:
41: first system acquisition module 42: second system acquisition module
43: first system recovery module 44: first system allocation module
51: the first request terminal generation module 52: first request terminal broadcasting module
53: the first request terminal acquisition module 61: first yielding terminal acquisition module
62: the first yielding terminal generating module 63: first let-off terminal sending module
Detailed Description
The following describes specific embodiments of the present invention in detail with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the invention, are not intended to limit the invention.
When the load of the base station is high, there often occur situations such as that a user who needs the radio resource urgently cannot acquire the radio resource, that the user who acquires the radio resource wants to let the radio resource out, but does not have a channel to let the radio resource out, and the like. In order to improve the radio resource utilization efficiency, the related art proposes to temporarily allocate radio resources, which are obtained by a user and are temporarily not required to be used, to other users. However, the current lack of a reliable wireless resource transaction method makes it difficult for users with sufficient wireless resources and users with urgent need of wireless resources to conduct transactions, resulting in low wireless resource utilization rate and poor user experience.
In order to solve the above-mentioned problems, an embodiment of the present invention provides a wireless resource transaction method based on a blockchain network, which is applied to a mobile communication network system, as shown in fig. 1, and the method includes:
step S101, the acquiring resource request terminal generates and broadcasts a resource request transaction in the blockchain network.
The nodes of the block chain network comprise a mobile communication network system, a resource yielding terminal and a resource requesting terminal. The resource request transaction includes a set first amount of radio resources, which is the amount of radio resources requested by the resource requesting terminal.
In one embodiment, the resource request transaction is a request transaction generated and broadcast by the resource requesting terminal based on a request transaction settlement function broadcast by the mobile communication network system in the blockchain network. The request transaction settlement function is a function which is generated and signed by the mobile communication network system, for example, is broadcasted in the blockchain network after being signed by a private key of the mobile communication network system, so as to be selected by the resource request terminal and used for requesting transaction settlement. It should be noted that, the mobile communication network system may generate a plurality of request transaction settlement functions, and broadcast the plurality of request transaction settlement functions to the blockchain network after signing, so that the resource request terminal may select an appropriate request transaction settlement function.
For example, the mobile communication network system generates and broadcasts a request transaction settlement function f (R 1 ) Into the blockchain network for the resource requesting terminal to settle the function f (R 1 ) Generating resource request transactionsAnd the resource request transaction is signed and then broadcast to the blockchain network. Wherein R is 1 A first radio resource amount set; UE (user Equipment) 1 For resource requesting terminals, UE 1 May be identified by a terminal identity, which may be, for example, an international mobile subscriber identity (International Mobile Subscriber Identity, IMSI), a temporary mobile subscriber identity (Temporary Mobile Subscriber Identity, TMSI) or a subscriber unique permanent identity (Subscript ion Permanent Ident ifier, SUPI). / >Is UE (user equipment) 1 The resource allocation region in which the mobile country code (Mobile Country Code, MCC), mobile network code (Mobile Network Code, MNC), location area code (location area code, LAC) and Cell Identifier (CI) are located can be expressed in combination. "[ O ]]"represents the input of resource request transaction, O is the current subordinate resource pool of the mobile communication network system; "[ R ] 1 →UE 1 ]"means output of resource request transaction; the input corresponds to the output, i.e. [ R ] 1 →UE 1 ]The number of the expression is R 1 Is transferred from the current subordinate resource pool of the mobile communication network system to the UE 1 Currently subordinate to the resource pool.
In one embodiment, to prevent rogue node spoofing, the mobile communication network system verifies that the signature in a resource request transaction generated by and broadcast by a resource request terminal in the blockchain network is correct after the resource request transaction. Specifically, the mobile communication network system uses the pre-stored public key of the resource request terminal, or uses the public key of the resource request terminal obtained by inquiring the blockchain account book of the blockchain network to verify whether the signature contained in the resource request transaction is correct, namely whether the signature of the resource request terminal is the signature of the resource request terminal. After verifying that the signature in the resource request transaction is correct, the mobile communication network system performs step S102 described below.
Step S102, the resource yielding terminal obtains the resource yielding transaction generated and transmitted based on the resource request transaction.
Wherein the resource yielding transaction includes a set second amount of radio resources. The second radio resource amount is the amount of radio resources that the resource yielding terminal yields.
In one embodiment, the resource yielding transaction is a yielding transaction generated and transmitted by the resource yielding terminal based on a yielding transaction settlement function broadcast by the mobile communication network system in the blockchain network and a resource request transaction broadcast by the resource requesting terminal in the blockchain network. The yielding transaction settlement function is a function which is selected by the resource yielding terminal and used for yielding transaction settlement after the mobile communication network system generates and signs the yielding transaction settlement function, for example, after the mobile communication network system private key is used for signing the yielding transaction settlement function, the yielding transaction settlement function is broadcasted in the blockchain network. It should be noted that, the mobile communication network system may generate a plurality of let-off transaction settlement functions, and broadcast the plurality of let-off transaction settlement functions to the blockchain network after signing, so that the resource let-off terminal may select a suitable function easy to settle. The function value of the let-off transaction settlement function may be 0, for example, when the terminal number of the resource request terminal and the terminal number of the resource let-off terminal are related numbers, the resource let-off terminal voluntarily selects the let-off transaction settlement function with the function value of 0, and performs free resource transaction with the resource request terminal.
For example, the mobile communication network system generates and broadcasts a let-off transaction settlement function g (R k ) To the blockchain network for the resource yielding terminal to trade the resource request based on the resource request terminalAnd an let-off transaction settlement function g (R k ) Generating resource yielding transactions>And transmitting the resource yielding transaction to the mobile communication network system. Wherein R is k For UE k A second radio resource amount set; UE (user Equipment) k A terminal is let out for the Kth resource; />Is UE (user equipment) k The resource allocation area is located; />Input representing a resource yielding transaction, +.>The terminal is led out of the current subordinate resource pool for the Kth resource; "|" is a separator; "[ O.fwdarw.O+ (R) k →O)]"represents the output of the resource yielding transaction, O is the current subordinate resource pool of the mobile communication network system; the input corresponds to the output, i.e. [ O.fwdarw.O+ (R) k →O)]The number of the K-th resource yielding terminals is represented as R k The radio resource of the mobile communication network system is transferred to the current subordinate resource pool of the mobile communication network system by the Kth resource outlet terminal, and is accumulated with the radio resource in the current subordinate resource pool of the mobile communication network system.
In one embodiment, after the mobile communication network system obtains the resource yielding transaction generated and transmitted by the resource yielding terminal based on the resource request transaction, in order to prevent malicious fraud by an illegal node, whether the signature in the resource yielding transaction is correct is also verified. Specifically, the mobile communication network system verifies whether the signature included in the resource yielding transaction is correct, that is, whether the signature is the signature of the resource yielding terminal, by using a pre-stored public key of the resource yielding terminal of the resource yielding transaction or a public key of the resource yielding terminal obtained by querying a blockchain account book of the blockchain network. After the mobile communication network system verifies that the signature in the resource request transaction is correct, the following step of accumulating the acquired second radio resource amount is performed.
In one embodiment, after acquiring a resource yielding transaction generated and transmitted by a resource yielding terminal based on a resource request transaction and a yielding transaction settlement function, the mobile communication network system accumulates the acquired second wireless resource amounts corresponding to the plurality of resource yielding terminals, and determines whether the accumulated values of the second wireless resource amounts corresponding to the plurality of resource yielding terminals satisfy a preset condition. The accumulated value refers to the sum of the second wireless resource amounts corresponding to the plurality of resource yielding terminals. If the accumulated value of the second radio resource amounts corresponding to the plurality of resource yielding terminals does not meet the preset condition, the mobile communication network system continues to execute step S102, and accumulates the acquired second radio resource amounts until it is determined that the accumulated value of the second radio resource amounts corresponding to the plurality of resource yielding terminals meets the preset condition, and then execute step S103 described below.
Step S103, after the accumulated value of the second wireless resource quantity corresponding to the plurality of resource yielding terminals meets the preset condition, the wireless resources of the second wireless resource quantity calculated in the accumulated value are recovered from the resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction.
In one embodiment, the mobile communication network system sets the preset condition that the cumulative value of the second radio resource amount is greater than or equal to the first radio resource amount, that is, after the cumulative value of the second radio resource amounts corresponding to the plurality of resource yielding terminals is greater than or equal to the first radio resource amount, the mobile communication network system recovers the radio resources of the second radio resource amount calculated in the cumulative value from the resource pool corresponding to the corresponding resource yielding terminal. It should be noted that, the resource pool corresponding to the resource yielding terminal is the resource pool to which the resource yielding terminal currently belongs.
In another embodiment, in the resource allocation region corresponding to the resource request terminalIf a third party terminal releases the third radio resource (e.g. a third party terminal having radio resourcesThe terminal leaves the area, or the third party terminal with the wireless resource is powered off, or the third party terminal with the wireless resource ends the service, and the mobile communication network system obtains the wireless resource of the third wireless resource amount released by the third party terminal in the resource allocation area. At this time, in order to accelerate the wireless resource transaction speed and improve the user experience, the mobile communication network system does not need to wait for the accumulated value of the second wireless resource amount to be greater than or equal to the first wireless resource amount, but sets the preset condition that the accumulated value of the second wireless resource amount is greater than or equal to the difference value between the first wireless resource amount and the third wireless resource amount. That is, after the sum of the second radio resource amount and the third radio resource amount corresponding to the plurality of resource yielding terminals is greater than or equal to the first radio resource amount, the mobile communication network system recovers the radio resource of the second radio resource amount calculated in the sum from the resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction. In some embodiments, the mobile communication network system may also not consider that the situation that the third party terminal releases the radio resource of the third radio resource amount occurs in the resource allocation area where the resource request terminal is located, and the preset condition is still set so that the cumulative value of the second radio resource amount is greater than or equal to the first radio resource amount.
In one embodiment, in order to prevent the illegal node from impersonating the mobile communication network system to make the resource yielding terminal release the wireless resource, before the mobile communication network system recovers the wireless resource of the second wireless resource amount calculated in the accumulated value from the resource pool corresponding to the corresponding resource yielding terminal, the mobile communication network system performs a system signature on the resource yielding transaction, for example, performs a system signature on the resource yielding transaction by using a private key of the mobile communication network system, and broadcasts the resource yielding transaction signed by the system to the blockchain network, so that the resource yielding terminal obtains the resource yielding transaction signed by the system, and releases the wireless resource of the second wireless resource amount based on the resource yielding transaction after verifying that the system signature is correct, so that the mobile communication network system can recover the wireless resource of the second wireless resource amount calculated in the accumulated value.
Step S104, based on the resource request transaction, the wireless resources of the first wireless resource amount set in the resource request transaction are allocated to the resource request terminal for use.
In one embodiment, before executing step 104, the mobile communication network system further needs to enable the resource request terminal to obtain the usage condition of the radio resource using the first radio resource amount set in the resource request transaction, and the specific steps include:
First, the mobile communication network system generates a resource settlement transaction based on the resource request transaction and the accumulated value. Secondly, the mobile communication network system carries out system signature on the resource settlement transaction, and sends the resource settlement transaction signed by the system to the resource request terminal so that the resource request terminal carries out terminal signature on the resource settlement transaction signed by the system, and broadcasts the resource settlement transaction signed by the terminal to the blockchain network.
In addition, even if the resource requesting terminal requests only the radio resources of the first radio resource amount, the mobile communication network system recovers the radio resources of the accumulated value from the plurality of resource yielding terminals in order to allocate the radio resources of the first radio resource amount to the resource requesting terminal, and therefore, in order to secure the own benefit, the mobile communication network system generates the resource settlement transaction based on the resource requesting transaction and the accumulated value when generating the resource settlement transaction.
It should be further noted that, if the cumulative value satisfies the preset condition: the cumulative value of the second amount of radio resources is greater than or equal to the first amount of radio resources. The mobile communication network system needs to consider not only the own interests but also the interests of the resource requesting terminal, avoiding the situation that the resource requesting terminal needs to pay too much fees due to too much radio resources of the second radio resource amount calculated in the accumulated value.
Therefore, the step of generating the resource settlement transaction based on the resource request transaction and the accumulated value in the mobile communication network system includes: when the difference value between the accumulated value of the second wireless resource quantity and the first wireless resource quantity is smaller than or equal to a preset value, generating a resource settlement transaction according to the accumulated value and the resource request transaction; when the difference value between the accumulated value of the second wireless resource quantity and the first wireless resource quantity is larger than a preset value, generating a resource settlement transaction according to the sum of the first wireless resource quantity and the preset value and the resource request transaction; the preset value is the product of the first radio resource amount and a preset percentage.
For example, the second radio resource amount has an accumulated value of R, and the resource request transaction isThe preset value is X.
If R-R 1 Less than or equal to X, the mobile communication network system transacts according to the resource requestAnd the accumulated value R, generating a resource settlement transactionI.e. the mobile communication network system will request f (R 1 ) Modified to f (R) and the time condition before t is added therein, t being a preset time. Wherein "|" is a separator;use condition of radio resource for the first radio resource amount set in the resource request transaction for the resource request terminal, +. >Indicating that the resource request terminal needs to be always in the resource allocation region when using wireless resources; f (R) represents the cost of the wireless resources with the quantity of R according to a transaction settlement function when the resource request terminal performs transaction settlement; before the preset time t, before the resource request terminal needs to respond to the resource settlement transaction, the before of the preset time t is indicated by before.
If R-R 1 Greater than X, the mobile communication network system is based on the first radio resource quantity R 1 Sum of the sum and the preset value X, and resource request transactionGenerating resource settlement transactionsI.e. the mobile communication network system will request f (R 1 ) Modified to f (R) 1 +x), and the time condition before is added thereto. Wherein f (R) 1 +X) means that the resource request terminal needs to pay R according to the request transaction settlement function when performing transaction settlement 1 Cost of radio resource of +x. It should be noted that, the preset value is a product of the first radio resource amount and a preset percentage, and the preset percentage is less than or equal to 10%.
In this embodiment, the mobile communication network system performs the above-described step 104 after performing the system signature on the resource settlement transaction and transmitting the resource settlement transaction subjected to the system signature to the resource request.
In one embodiment, after allocating the radio resources of the first radio resource amount set in the resource request transaction to the resource request terminal for use based on the resource request transaction, the mobile communication network system further includes:
the mobile communication network system acquires the terminal-signed resource settlement transaction broadcasted by the resource request terminal in the blockchain network, and verifies whether the terminal signature contained in the terminal-signed resource settlement transaction is correct, namely whether the terminal signature contained in the resource settlement transaction is the signature of the resource request terminal. Specifically, the mobile communication network system verifies whether the terminal signature included in the terminal-signed resource settlement transaction is correct, that is, whether the terminal signature is the signature of the resource requesting terminal, by using a pre-stored resource requesting terminal public key of the resource requesting terminal or a resource requesting terminal public key obtained by querying a blockchain ledger of the blockchain network. After verifying that the terminal signature included in the terminal-signed resource settlement transaction is correct, the mobile communication network system confirms that the wireless resource transaction between the resource request terminal and the resource release terminal is established.
In one embodiment, in order to ensure that the legal benefit of the resource yielding terminal is not compromised, if the terminal-signed resource settlement transaction broadcast by the resource requesting terminal is not acquired in the blockchain network beyond a preset time, the mobile communication network system recovers the radio resources of the first radio resource amount allocated to the resource requesting terminal in step 104.
The embodiment of the invention provides a wireless resource transaction method based on a blockchain network, which is applied to a mobile communication network system, and comprises the steps of firstly, acquiring a resource request transaction generated by a resource request terminal and broadcasted in the blockchain network, wherein the resource request transaction comprises a set first wireless resource amount; secondly, acquiring a resource yielding terminal to generate a transmitted resource yielding transaction based on the resource request transaction, wherein the resource yielding transaction comprises a set second wireless resource amount; then, after the accumulated value of the second radio resource amount corresponding to the plurality of resource yielding terminals meets the preset condition, recovering the radio resource of the second radio resource amount calculated in the accumulated value from the resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction; and finally, based on the resource request transaction, the wireless resources of the first wireless resource amount set in the resource request transaction are distributed to the resource request terminal for use, so that the user with the wireless resources and the user with the urgent need of the wireless resources can conduct the wireless resource transaction, the utilization rate of the wireless resources is improved, and the user experience is improved.
The embodiment of the invention also provides another wireless resource transaction method based on the blockchain network, which is applied to the resource request terminal, as shown in fig. 2, and comprises the following steps:
Step S201, a resource request transaction is generated.
Wherein the resource request transaction includes a set first radio resource amount, which is the amount of radio resources requested by the resource requesting terminal.
In one application scenario, a resource request terminal initiates a communication service (e.g., a voice call), receives local link resource deficiency information fed back by a mobile communication network system, responds to the local link resource deficiency information, sends a resource shortage query request to the mobile communication network system, and then receives resource shortage information returned by the mobile communication network system based on the resource shortage query request. The resource request terminal knows the amount of radio resources required to be requested based on the resource shortage information, and then performs the step of generating a resource request transaction. For example, the resource request terminal needs to make a voice call of 64kbps, but when it dials, it receives a signaling fed back by the mobile communication network system, where the signaling indicates that the local link is not enough, and then, the resource request terminal interacts with the mobile communication network system to know that the wireless resource amount capable of bearing the bandwidth of 30kbps (i.e. the wireless resource amount required to be requested) is required to make the required voice call.
In one embodiment, the step of the resource requesting terminal generating the resource request transaction includes: the resource request terminal generates a resource request transaction based on a request transaction settlement function broadcast by the mobile communication network system in the blockchain network. Specifically, the resource request terminal acquires a request transaction settlement function from the blockchain network, verifies whether the signature in the resource request transaction is correct or not based on a pre-stored resource request terminal public key of the resource request terminal or a resource request terminal public key obtained by inquiring a blockchain account book of the blockchain network, and generates the resource request transaction based on the request transaction settlement function after verifying that the signature in the resource request transaction is correct.
Step S202, broadcasting a resource request transaction to a blockchain network, so that after the mobile communication network system obtains the resource request transaction, the resource issuing terminal obtains a resource issuing transaction generated and transmitted based on the resource request transaction.
Wherein the resource yielding transaction includes a set second amount of radio resources.
In one embodiment, to prevent an illegal node from impersonating itself to conduct a resource request transaction, the resource request transaction is signed prior to broadcasting the resource request transaction to the blockchain network, for example, by signing the resource request transaction with the private key of the resource request terminal, and then broadcasting the signed resource request transaction to the blockchain network.
Step S203, acquiring radio resources of a first radio resource amount allocated by the mobile communication network, where the radio resources of the first radio resource amount are radio resources allocated by the mobile communication network system after the cumulative values of the second radio resource amounts corresponding to the plurality of resource yielding terminals meet the preset condition, and based on the resource yielding transaction, recovering the radio resources of the second radio resource amount calculated in the cumulative values from the resource pool corresponding to the corresponding resource yielding terminal, and then requesting the transaction allocation based on the resources.
In one embodiment, after the resource request terminal acquires the radio resource of the first radio resource amount set in the resource request transaction allocated by the mobile communication network system, the method further includes: the resource request terminal obtains the resource settlement transaction which is generated based on the resource request transaction and signed by the system and sent by the mobile communication network system, then carries out terminal signature on the resource settlement transaction signed by the system, and broadcasts the resource settlement transaction signed by the terminal to the blockchain network.
In one embodiment, the resource requesting terminal broadcasts the terminal-signed resource settlement transaction to the blockchain network between preset moments to avoid that the mobile communication network system recovers the allocated wireless resources without acquiring the terminal-signed resource settlement transaction in the blockchain network beyond the preset moments.
In one embodiment, to prevent the illegal node from impersonating the mobile communication network system and causing the benefit of the resource request terminal to be impaired, after the resource request terminal acquires the resource settlement transaction signed by the system, verifying whether the system signature in the resource settlement transaction signed by the system is correct, after verifying that the system signature in the resource settlement transaction signed by the system is correct, signing the resource settlement transaction signed by the system, and broadcasting the resource settlement transaction signed by the terminal to the blockchain network. In this case, the terminal signature of the resource request terminal is included in the terminal-signed resource settlement transaction, and the system signature of the mobile communication network system is also included, so that the mobile communication network system can confirm that the wireless resource transaction, in which the resource request terminal requested the resource, is established at the time based on the terminal-signed resource settlement transaction.
The wireless resource transaction method based on the blockchain network, which is applied to the resource request terminal, is provided in the embodiment, firstly, a resource request transaction is generated, and the resource request transaction comprises a set first wireless resource amount; then broadcasting a resource request transaction to a blockchain network so that after the mobile communication network system obtains the resource request transaction, obtaining a resource yielding transaction generated and transmitted by a resource yielding terminal based on the resource request transaction, wherein the resource yielding transaction comprises a set second wireless resource amount; and finally, acquiring the wireless resources of the first wireless resource quantity allocated by the mobile communication network, wherein the wireless resources of the first wireless resource quantity are wireless resources allocated by the mobile communication network system after the accumulated values of the second wireless resource quantity corresponding to the plurality of resource yielding terminals meet the preset condition, and the wireless resources of the second wireless resource quantity calculated in the accumulated values are recovered from the resource pools corresponding to the corresponding resource yielding terminals based on the resource yielding transaction, namely, the wireless resources allocated by the resource request transaction, namely, the users with the wireless resources and the users with the urgent need of the wireless resources can conduct the wireless resource transaction, thereby improving the utilization rate of the wireless resources and improving the user experience.
The embodiment of the invention provides a wireless resource transaction method based on a blockchain network, which is applied to a resource yielding terminal, as shown in fig. 3, and comprises the following steps:
step S301, the acquire resource request terminal generates and broadcasts a resource request transaction in the blockchain network.
Wherein the resource request transaction includes a set first radio resource amount, which is the amount of radio resources requested by the resource requesting terminal.
In one embodiment, in order to prevent an illegal node from impersonating a resource request terminal to request a wireless resource, the resource yielding terminal verifies whether a signature contained in a resource request transaction is correct after acquiring the resource request transaction generated by the resource request terminal and broadcast in a blockchain network, that is, verifies whether the signature contained in the resource request transaction is the signature of the resource request terminal. Specifically, the resource issuing terminal verifies whether the signature included in the resource request transaction is correct or not, that is, whether the signature is of the resource requesting terminal, by using a pre-stored resource requesting terminal public key of the resource requesting terminal or a resource requesting terminal public key obtained by querying a blockchain ledger of a blockchain network.
In one embodiment, after acquiring a resource request transaction generated and broadcast by a resource request terminal in a blockchain network and verifying that a signature included in the resource request transaction is correct, the resource issuing terminal determines whether the resource issuing terminal and the resource request terminal broadcasting the resource request transaction are in the same resource allocation area. If the resource yielding terminal and the resource request terminal broadcasting the resource request transaction are not in the same resource allocation area, the resource yielding terminal ignores the resource request transaction. If the resource yielding terminal and the resource requesting terminal broadcasting the resource request transaction are in the same resource allocation area, the resource yielding terminal executes step S302.
Step S302, generating a resource yielding transaction based on the resource request transaction.
The resource yielding transaction includes a set second radio resource amount, where the second radio resource amount is the amount of radio resources that are yielding by the resource yielding terminal.
In one embodiment, before the resource yielding terminal generates the resource yielding transaction based on the resource request transaction, the yielding transaction settlement function after the signature broadcasted by the mobile communication network system in the blockchain network is obtained, and the signature included in the yielding transaction settlement function is verified. Specifically, the resource issuing terminal verifies whether the signature included in the issuing transaction settlement function is correct or not, that is, whether the signature is of the mobile communication network system or not, by using a pre-stored mobile communication network system public key of the mobile communication network system or a mobile communication network system public key obtained by querying a blockchain ledger of a blockchain network. After the resource yielding terminal verifies that the signature contained in the yielding transaction settlement function is correct, generating a resource yielding transaction based on the resource request transaction and the yielding transaction settlement function.
Step S303, the resource yielding transaction is sent to the mobile communication network system, so that after the cumulative value of the second wireless resource amount corresponding to the plurality of resource yielding terminals meets the preset condition, the mobile communication network system recovers the wireless resource of the second wireless resource amount calculated in the cumulative value from the resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction, and distributes the wireless resource of the first wireless resource amount set in the resource request transaction to the resource request terminal for use based on the resource request transaction.
In one embodiment, the resource release terminal prevents the illegal node from impersonating the terminal and causing the benefit of the mobile communication network system to be compromised, and the resource release transaction is signed before being sent to the mobile communication network system. For example, the resource yielding terminal signs the resource yielding transaction using the private key of the resource yielding terminal, and transmits the signed resource yielding transaction to the mobile communication network system.
In one embodiment, after the resource yielding terminal sends the resource yielding transaction to the mobile communication network system, the method further includes: and acquiring a system-signed resource yielding transaction broadcasted in the blockchain network by the mobile communication network system, and releasing the wireless resource of the second wireless resource amount based on the resource yielding transaction after verifying that the system signature is correct, so that the mobile communication network system can recover the wireless resource of the second wireless resource amount calculated in the accumulated value.
The wireless resource transaction method based on the blockchain network, which is applied to the resource yielding terminal, is provided by the embodiment of the invention, firstly, a resource request transaction generated by a resource request terminal and broadcasted in the blockchain network is obtained, and the resource request transaction comprises a set first wireless resource amount; then, generating a resource yielding transaction based on the resource request transaction, the resource yielding transaction comprising a set second amount of wireless resources; and finally, sending the resource yielding transaction to the mobile communication network system so that the mobile communication network system can recover the wireless resources of the second wireless resource quantity calculated in the accumulated value from the resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction after the accumulated values of the second wireless resource quantity corresponding to the plurality of resource yielding terminals meet the preset condition, and allocate the wireless resources of the first wireless resource quantity set in the resource request transaction to the resource request terminal for use based on the resource request transaction, thereby enabling users with the wireless resources and users needing the wireless resources to conduct wireless resource transaction, improving the utilization rate of the wireless resources and improving user experience.
An embodiment of the present invention provides a mobile communication network system, as shown in fig. 4, including: a first system acquisition module 41, a second system acquisition module 42, a first system recovery module 43, and a first system allocation module 44.
The first system acquisition module 41 is configured to acquire a resource request transaction generated by a resource request terminal and broadcast in a blockchain network. Wherein the resource request transaction includes a set first radio resource amount, which is the amount of radio resources requested by the resource requesting terminal.
In one embodiment, to prevent rogue node spoofing, the mobile communication network system further comprises a first system signature verification module. After the first system acquisition module 41 acquires the resource request transaction generated by the resource request terminal and broadcast in the blockchain network, the first system signature verification module verifies whether the signature in the resource request transaction is correct. Specifically, the first system signature verification module verifies whether the signature included in the resource request transaction is correct or not, that is, whether the signature is the signature of the resource request terminal, by using a pre-stored resource request terminal public key of the resource request terminal or a resource request terminal public key obtained by querying a blockchain ledger of a blockchain network.
In one embodiment, the mobile communication network system further comprises a first system generation module, a first system signature module, and a first system broadcast module. The first system generating module is configured to generate a transaction settlement function before the first system acquiring module 41 acquires a resource request transaction generated by the resource request terminal and broadcasted in the blockchain network, where the transaction settlement function includes a request transaction settlement function and an let-off transaction settlement function; the first system signature module is used for signing the transaction settlement function, for example, signing the transaction settlement function by utilizing a private key of the mobile communication network system; the first system broadcasting module is used for broadcasting the transaction settlement function signed by the first system signing module to the blockchain network so that the resource request terminal and the resource issuing terminal can respectively generate a resource request transaction and a resource issuing transaction based on the transaction settlement function.
The second system acquisition module 42 is configured to acquire a resource yielding transaction generated and sent by the resource yielding terminal based on the resource request transaction. The resource yielding transaction includes a set second radio resource amount, where the second radio resource amount is the amount of radio resources that are yielding by the resource yielding terminal. The resource yielding terminal and the resource allocation area corresponding to the resource request terminal are the same.
In one embodiment, to prevent rogue node spoofing, the mobile communication network system further comprises a second system signature verification module. After the second system acquisition module 42 acquires the resource deposit transaction generated and transmitted by the resource deposit terminal based on the resource request transaction, the second system signature verification module verifies whether the signature in the resource deposit transaction is correct. Specifically, the second system signature verification module verifies whether the signature included in the resource issuing transaction is correct or not, namely whether the signature is the signature of the resource issuing terminal or not by using a pre-stored public key of the resource issuing terminal or a public key of the resource issuing terminal obtained by inquiring a blockchain account book of a blockchain network.
In one embodiment, the mobile communication network system further includes a first system accumulation module and a first system determination module. The first system accumulation module is configured to accumulate the second wireless resource amount after the second system acquisition module 42 acquires the resource let-off transaction generated and transmitted by the resource let-off terminal based on the resource request transaction and the let-off transaction settlement function. The first system judging module judges whether the accumulated value of the second wireless resource quantity corresponding to the plurality of resource yielding terminals meets the preset condition. If the first system judging module judges that the accumulated values of the second radio resource amounts corresponding to the plurality of resource yielding terminals do not meet the preset condition, the second system acquiring module 42 continues to acquire the resource yielding transaction generated by the resource yielding terminal based on the resource request transaction and broadcasted in the blockchain network, and the first system accumulating module continues to accumulate the acquired second radio resource amounts until the first system judging module judges that the accumulated values of the second radio resource amounts corresponding to the plurality of resource yielding terminals meet the preset condition, and the first system recovering module 43 recovers the radio resources of the second radio resource amounts calculated in the accumulated values.
The first system recycling module 43 is configured to recycle, based on the resource yielding transaction, the radio resources of the second radio resource amount calculated in the accumulated value from the resource pool corresponding to the corresponding resource yielding terminal after the accumulated values of the second radio resource amounts corresponding to the plurality of resource yielding terminals satisfy the preset condition.
In one embodiment, the mobile communication network system further comprises a third system acquisition module. In the area covered by the mobile communication network system, if the third party terminal releases the third radio resource (for example, the third party terminal with radio resource leaves the area, or the third party terminal with radio resource is turned off, or the third party terminal with radio resource ends the service), the third system acquisition module acquires the radio resource of the third radio resource amount released by the third party terminal. At this time, in order to accelerate the wireless resource transaction speed and improve the user experience, the first system recycling module 43 recycles the wireless resources of the second wireless resource amount calculated in the accumulated value from the resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction after the sum of the accumulated value of the second wireless resource amount and the third wireless resource amount corresponding to the plurality of resource yielding terminals is greater than or equal to the first wireless resource amount.
In one embodiment, the mobile communication network system further includes a second system signature module and a second system broadcast module. In order to avoid that the illegal node impersonates the mobile communication network system to make the resource yielding terminal release the wireless resource, the first system recycling module 43 performs a system signature on the resource yielding transaction before recycling the wireless resource of the second wireless resource amount calculated in the accumulated value from the resource pool corresponding to the resource yielding terminal, for example, performs the system signature on the resource yielding transaction by using the private key of the mobile communication network system, and the second system broadcasting module broadcasts the resource yielding transaction signed by the system to the blockchain network for the resource yielding terminal to obtain the resource yielding transaction signed by the system signature, and releases the wireless resource of the second wireless resource amount based on the resource yielding transaction after verifying that the system signature is correct.
The first system allocation module 44 is configured to allocate, based on the resource request transaction, radio resources of the first radio resource amount set in the resource request transaction to the resource request terminal for use.
In one embodiment, the mobile communication network system further includes a second system generation module, a third system signature module, and a first system transmission module. The first system allocation module 44 also needs to make the resource request terminal know the usage condition of the radio resource using the first radio resource amount set in the resource request transaction, specifically, before allocating the radio resource of the first radio resource amount set in the resource request transaction to the resource request terminal for use based on the resource request transaction: the second system generation module generates a resource settlement transaction based on the resource request transaction and the accumulated value. The third system signature module carries out system signature on the resource settlement transaction, the first system sending module sends the resource settlement transaction signed by the system to the resource request terminal so that the resource request terminal carries out terminal signature on the resource settlement transaction signed by the system, and broadcasts the resource settlement transaction signed by the terminal to the blockchain network.
In one embodiment, the mobile communication network system further includes a fourth system acquisition module and a third system signature verification module, and the first system allocation module 44 allocates, based on the resource request transaction, the radio resources of the first radio resource amount set in the resource request transaction to the resource request terminal for use, further includes:
the fourth system acquisition module acquires the resource settlement transaction which is sent by the resource request terminal and is signed by the terminal, and the third system signature verification module verifies whether the terminal signature contained in the resource settlement transaction which is signed by the terminal is correct, namely whether the terminal signature contained in the resource settlement transaction is the signature of the resource request terminal. Specifically, the third system signature verification module verifies whether the terminal signature included in the resource settlement transaction signed by the terminal is correct, that is, whether the terminal signature is the signature of the resource request terminal, by using a pre-stored resource request terminal public key of the resource request terminal or a resource request terminal public key obtained by querying a blockchain account book of a blockchain network. And the third system signature verification module verifies that the wireless resource transaction of the resource request terminal and the resource yielding terminal is established after verifying that the terminal signature contained in the resource settlement transaction signed by the terminal is correct.
In one embodiment, the mobile communication network system further comprises a second system reclamation module. In order to ensure that the legal benefits of the resource yielding terminal are not damaged, if the fourth system acquisition module does not acquire the terminal-signed resource settlement transaction broadcasted by the resource request terminal in the blockchain network at a preset moment, the second system recycling module recycles the wireless resources of the first wireless resource quantity allocated to the resource request terminal by the first system allocation module 44.
The working modes of the modules of the mobile communication network system provided by the embodiment of the invention correspond to the steps in the method of the wireless resource transaction method based on the blockchain network applied to the mobile communication network system, so that the detailed working modes of the modules in the mobile communication network system can be seen from the wireless resource transaction method based on the blockchain network applied to the mobile communication network system provided by the embodiment.
The mobile communication network system provided by the embodiment of the invention is characterized in that a first system acquisition module is used for acquiring a resource request transaction generated by a resource request terminal and broadcasted in a blockchain network, wherein the resource request transaction comprises a set first wireless resource amount; the second system acquisition module is used for acquiring a resource yielding transaction generated and transmitted by the resource yielding terminal based on the resource request transaction, wherein the resource yielding transaction comprises a set second wireless resource amount; the first system recycling module is used for recycling wireless resources of the second wireless resource amount calculated in the accumulated value from the resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction after the accumulated value of the second wireless resource amount corresponding to the plurality of resource yielding terminals meets the preset condition; the first system allocation module is used for allocating the wireless resources of the first wireless resource amount set in the resource request transaction to the resource request terminal for use based on the resource request transaction, so that a user with the wireless resources and a user with urgent need of the wireless resources can conduct the wireless resource transaction, the utilization rate of the wireless resources is improved, and the user experience is improved.
An embodiment of the present invention provides a resource request terminal, as shown in fig. 5, where the resource request terminal includes: a first requesting terminal generating module 51, a first requesting terminal broadcasting module 52, and a first requesting terminal acquiring module 53.
Wherein, the first request terminal generating module 51 is configured to generate a resource request transaction. Wherein the resource request transaction includes a set first radio resource amount, which is the amount of radio resources requested by the resource requesting terminal.
In one embodiment, the resource request terminal further includes a second request terminal acquisition module and a first request terminal signature verification module. The second request terminal is used for acquiring a request transaction settlement function from the blockchain network by the acquisition module; the first request terminal signature verification module verifies whether the signature in the resource request transaction is correct or not based on a pre-stored resource request terminal public key of the resource request terminal or a resource request terminal public key obtained by inquiring a blockchain account book of a blockchain network; after the first request terminal signature verification module verifies that the signature in the resource request transaction is correct, the first request terminal generation module 51 generates a resource request transaction based on a request transaction settlement function broadcast in the blockchain network by the mobile communication network system.
The first request terminal broadcasting module 52 is configured to broadcast a resource request transaction to the blockchain network, so that after the mobile communication network system obtains the resource request transaction, the resource yielding terminal obtains a resource yielding transaction generated and transmitted based on the resource request transaction. Wherein the resource yielding transaction includes a set second amount of radio resources.
In one embodiment, the resource requesting terminal further comprises a first requesting terminal signature module. In order to prevent an illegal node from impersonating itself to perform a resource request transaction, the first request terminal signing module signs the resource request transaction, and then the first request terminal broadcasting module 52 broadcasts the signed resource request transaction into the blockchain network.
A first request terminal obtaining module 53, configured to obtain radio resources of a first radio resource amount allocated by the mobile communication network, where the radio resources of the first radio resource amount are radio resources allocated by the mobile communication network system based on resource request transaction after an accumulated value of second radio resource amounts corresponding to a plurality of resource yielding terminals satisfies a preset condition and based on resource yielding transaction, radio resources of the second radio resource amount calculated in the accumulated value are recovered from a resource pool corresponding to the corresponding resource yielding terminal.
In one embodiment, the resource request terminal further includes a third request terminal acquisition module, a second request terminal signature module, and a second request terminal broadcast module. The third request terminal obtaining module is configured to obtain, after the first request terminal obtaining module 53 obtains a radio resource of a first radio resource amount set in a resource request transaction allocated by the mobile communication network, a resource settlement transaction generated based on the resource request transaction and signed by the system and sent by the mobile communication network system; the second request terminal signature module performs terminal signature on the resource settlement transaction signed by the system, and the second request terminal broadcasting module broadcasts the resource settlement transaction signed by the terminal to the blockchain network.
In one embodiment, the resource requesting terminal further comprises a second requesting terminal signature verification module. In order to prevent the illegal node from impersonating the mobile communication network system to cause the benefit of the resource request terminal to be damaged, the second request terminal signature verification module verifies whether the system signature in the system signed resource settlement transaction is correct after the third request terminal acquisition module acquires the system signed resource settlement transaction, the second request terminal signature module performs terminal signature on the system signed resource settlement transaction after the second request terminal signature verification module verifies that the system signature in the system signed resource settlement transaction is correct, and the second request terminal broadcasting module broadcasts the terminal signed resource settlement transaction to the blockchain network.
The working mode of each module of the resource request terminal provided by the embodiment of the invention corresponds to each step in the method of the wireless resource transaction method based on the blockchain network applied to the resource request terminal, so that the detailed working mode of each module in the resource request terminal can be referred to the wireless resource transaction method based on the blockchain network applied to the resource request terminal provided by the embodiment.
The resource request terminal provided by the embodiment, the first request terminal generating module is configured to generate a resource request transaction, where the resource request transaction includes a set first wireless resource amount; the first request terminal broadcasting module is used for broadcasting a resource request transaction to the blockchain network so that after the mobile communication network system obtains the resource request transaction, the resource yielding terminal obtains a resource yielding transaction generated and transmitted based on the resource request transaction, and the resource yielding transaction comprises a set second wireless resource amount; the first request terminal obtaining module is configured to obtain radio resources of a first radio resource amount allocated by the mobile communication network, where the radio resources of the first radio resource amount are radio resources allocated by the mobile communication network system when the cumulative value of the second radio resource amounts corresponding to the plurality of resource yielding terminals meets a preset condition, and based on a resource yielding transaction, after recovering the radio resources of the second radio resource amount calculated in the cumulative value from a resource pool corresponding to the corresponding resource yielding terminal, the radio resources allocated based on the resource request transaction, that is, a user having radio resources and a user having urgent need of radio resources can perform radio resource transaction, thereby improving the utilization rate of the radio resources and improving user experience.
The embodiment of the invention provides a resource yielding terminal, as shown in fig. 6, which comprises: a first yielding terminal acquisition module 61, a first yielding terminal generation module 62 and a first yielding terminal transmission module 63.
The first yielding terminal obtaining module 61 is configured to obtain a resource request transaction generated by a resource request terminal and broadcasted in a blockchain network. Wherein the resource request transaction includes a set first radio resource amount, which is the amount of radio resources requested by the resource requesting terminal.
In one embodiment, the resource yielding terminal further comprises a first yielding terminal signature verification module. In order to prevent an illegal node from impersonating a resource request terminal to request wireless resources, the first yielding terminal signature verification module verifies whether the signature contained in the resource request transaction is correct, i.e. verifies whether the signature contained in the resource request transaction is the signature of the resource request terminal after the first yielding terminal acquisition module 61 acquires the resource request transaction generated by the resource request terminal and broadcasted in the blockchain network. Specifically, the first issuing terminal signature verification module verifies whether the signature included in the resource request transaction is correct or not, namely whether the signature is the signature of the resource request terminal or not by using a pre-stored resource request terminal public key of the resource request terminal or a resource request terminal public key obtained by inquiring a blockchain account book of a blockchain network.
In one embodiment, the resource yielding terminal further includes a first yielding terminal judging module. The first yielding terminal judging module is configured to judge whether the resource yielding terminal and the resource requesting terminal broadcasting the resource request transaction are in the same resource allocation area after the first yielding terminal acquiring module 61 acquires the resource request transaction generated by the resource requesting terminal and broadcasted in the blockchain network and the first yielding terminal signature verifying module verifies that the signature contained in the signature is correct. If the first yielding terminal judging module judges that the resource yielding terminal and the resource request terminal broadcasting the resource request transaction are not in the same resource allocation area, the resource yielding terminal ignores the resource request transaction. If the first yielding terminal determining module determines that the present resource yielding terminal and the resource requesting terminal broadcasting the resource request transaction are in the same resource allocation area, the first yielding terminal generating module 62 generates a resource yielding transaction based on the resource request transaction. The resource yielding transaction includes a set second radio resource amount, where the second radio resource amount is the amount of radio resources that are yielding by the resource yielding terminal.
In one embodiment, the resource yielding terminal further comprises a second yielding terminal acquisition module and a second yielding terminal signature verification module. The second yielding terminal obtaining module obtains a signed yielding transaction settlement function broadcasted by the mobile communication network system in the blockchain network before the first yielding terminal generating module 62 generates a resource yielding transaction based on the resource request transaction; and the second yielding terminal signature verification module verifies the signature contained in the yielding transaction settlement function. Specifically, the second yielding terminal signature verification module verifies whether the signature included in the yielding transaction settlement function is correct or not, that is, whether the signature is the signature of the mobile communication network system, by using a pre-stored mobile communication network system public key of the mobile communication network system or a mobile communication network system public key obtained by querying a blockchain account book of the blockchain network. After the second yielding terminal signature verification module verifies that the signature included in the yielding transaction settlement function is correct, the first yielding terminal generation module 62 generates a resource yielding transaction based on the resource request transaction and the yielding transaction settlement function.
The first yielding terminal sending module 63 is configured to send a resource yielding transaction to the mobile communication network system, so that after the cumulative values of the second radio resource amounts corresponding to the plurality of resource yielding terminals meet the preset condition, the mobile communication network system retrieves, based on the resource yielding transaction, the radio resources of the second radio resource amounts calculated in the cumulative values from the resource pool corresponding to the corresponding resource yielding terminal, and allocates, based on the resource request transaction, the radio resources of the first radio resource amounts set in the resource request transaction to the resource request terminal for use.
In one embodiment, the resource yielding terminal further comprises a first yielding terminal signature module. In order to prevent the illegal node from masquerading as the own terminal and causing other blockchain node benefits to be impaired, the first yielding terminal signature module signs the resource yielding transaction before the first yielding terminal broadcast module 63 sends the resource yielding transaction to the mobile communication network system. For example, the first yielding terminal signing module signs the resource yielding transaction using the private key of the resource yielding terminal, and the first yielding terminal sending module 63 sends the signed resource yielding transaction to the mobile communication network system.
In one embodiment, the resource yielding terminal further includes: the system comprises a third yielding terminal acquisition module, a third yielding terminal signature verification module and a first yielding terminal execution module. The third yielding terminal obtaining module obtains the system-signed resource yielding transaction broadcasted in the blockchain network by the mobile communication network system after the first yielding terminal sending module 63 sends the resource yielding transaction to the mobile communication network system, and the first yielding terminal executing module releases the wireless resource of the second wireless resource amount based on the resource yielding transaction after the third yielding terminal signature verifying module verifies that the system signature is correct, so that the mobile communication network system recovers the wireless resource of the second wireless resource amount calculated in the accumulated value.
The working mode of each module of the resource yielding terminal provided by the embodiment of the invention corresponds to each step in the method of the wireless resource transaction method based on the blockchain network applied to the resource yielding terminal, so that the detailed working mode of each module in the resource yielding terminal can be seen from the wireless resource transaction method based on the blockchain network applied to the resource yielding terminal provided by the embodiment.
The resource yielding terminal provided by the embodiment of the invention, the first yielding terminal acquisition module is used for acquiring a resource request transaction generated by a resource request terminal and broadcasted in a block chain network, wherein the resource request transaction comprises a set first wireless resource amount; the first yielding terminal generation module is used for generating a resource yielding transaction based on the resource request transaction, wherein the resource yielding transaction comprises a set second wireless resource amount; the first yielding terminal sending module is used for sending the resource yielding transaction to the mobile communication network system, so that after the accumulated values of the second wireless resource amounts corresponding to the plurality of resource yielding terminals meet the preset condition, the mobile communication network system recovers the wireless resources of the second wireless resource amounts calculated in the accumulated values from the resource pools corresponding to the corresponding resource yielding terminals based on the resource yielding transaction, and distributes the wireless resources of the first wireless resource amounts set in the resource request transaction to the resource request terminal for use based on the resource request transaction, thereby enabling users with wireless resources and users with urgent need of wireless resources to conduct wireless resource transaction, improving the utilization rate of the wireless resources and improving user experience.
The embodiment of the invention also provides a block chain network system, which comprises the mobile communication network system provided by any embodiment, the resource request terminal provided by any embodiment and the resource yielding terminal provided by any embodiment.
The description of the mobile communication network system, the resource request terminal, and the resource release terminal can be found in the foregoing embodiments, and will not be repeated here.
The embodiment of the invention also provides a wireless resource transaction method based on a block chain network, which is applied to a block chain network system, wherein the block chain network system comprises a mobile communication network system, a resource request terminal and a resource yielding terminal, as shown in fig. 7, and the method comprises the following steps:
in step S701, the mobile communication network system generates a transaction settlement function, and broadcasts the signed transaction settlement function to the blockchain network. Wherein the transaction settlement function comprises a let-off transaction settlement function g and a request transaction settlement function f.
In one embodiment, the mobile communication network system may generate a plurality of different transaction settlement functions, that is, a plurality of different let-off transaction settlement functions g and a plurality of different request transaction settlement functions f, and sign the different request transaction settlement functions and broadcast the different request transaction settlement functions to the blockchain network, so as to facilitate the resource request terminal to select a suitable request transaction settlement function g and the resource let-off terminal to select a suitable let-off transaction settlement function f. Where f and g are functions related to the amount of radio resources r. The f value indicates the telephone charge required by the resource request terminal to acquire the r-number of resources, and the g value indicates the telephone charge that the resource yielding terminal can reduce because the r-number of resources are yielding. For example, the expression of the request transaction settlement function f may be that the resource requesting terminal increases the monthly telephone bill of the resource requesting terminal by 1 element per 1000 units of radio resource amount requested by the resource requesting terminal. The expression of the let-off transaction settlement function g can be that the radio resource amount of 1000 units is given off by the resource let-off terminal, and the current telephone bill of the resource let-off terminal is reduced by 0.5 yuan.
In step S702, when the resource request terminal initiates a communication service, the information of insufficient local link resources fed back by the mobile communication network system is received.
In step S703, the resource request terminal transmits a resource shortage query request to the mobile communication network system in response to the local link resource shortage information.
In step S704, the resource request terminal receives resource shortage information returned by the mobile communication network system based on the resource shortage inquiry request, and learns the amount of radio resources required to be requested based on the resource shortage information.
For example, the resource request terminal knows the amount of radio resources that need to be requested is 3000 units.
In step S705, the resource request terminal acquires a transaction settlement function broadcasted by the mobile communication network system in the blockchain network.
In step S706, the resource request terminal generates a resource request transaction based on the request transaction settlement function f in the transaction settlement function, and broadcasts the signed resource request transaction to the blockchain network.
For example, when a resource request terminal needs to request 3000 units of radio resources, the generated resource request transaction T 11 {[O],[3000→TMSI 1 ]|[00101ABCD5123,f(3000)]}. Wherein, "TMSI 1 "terminal identity of the resource request terminal," 00101ABCD5123 "is a resource allocation area where the resource request terminal is located, and" 3000 "is a set first radio resource amount.
Step S707, the resource yielding terminal obtains the resource request transaction and transaction settlement function from the blockchain network.
It should be noted that, the resource yielding terminal may obtain the resource request transaction and the transaction settlement function from the blockchain network at the same time, or may obtain the transaction settlement function from the blockchain network first, and then obtain the resource request transaction from the blockchain network; or firstly obtaining the resource request transaction from the blockchain network, and then obtaining the transaction settlement function from the blockchain network.
Step S708, after the resource yielding terminal verifies that the signature in the transaction settlement function and the signature in the resource request transaction are correct, it is determined whether the resource yielding terminal and the resource request terminal broadcasting the resource request transaction are in the same resource allocation region, and if the resource yielding terminal determines that the resource yielding terminal and the resource request terminal broadcasting the resource request transaction are in the same resource allocation region, the resource yielding terminal generates a resource yielding transaction based on the yielding transaction settlement function g in the resource request transaction and the transaction settlement function.
For example, the first resource yielding terminal is in the same resource allocation region as the resource requesting terminal broadcasting the resource request transaction, and the first resource yielding terminal is based on the yielding transaction settlement function g and the resource request transaction T 11 {[O],[3000→TMSI 1 ]|[00101ABCD5123,f(3000)]Generating resource yielding transactionsWherein "1800" is a second set radio resource amount, that is, a radio resource amount that the first resource yielding terminal can yield, and indicates that the first resource yielding terminal can yield 1800 units of radio resources; />And outputting the current subordinate resource pool of the terminal for the first resource.
The second resource yielding terminal and the resource request terminal broadcasting the resource request transaction are also in the same resource allocation area, and the second resource yielding terminal is based on the yielding transaction settlement function g and the resource request transaction T 11 {[O],[3000→TMSI 1 ]|[00101ABCD5123,f(3000)]Generating resource yielding transactionsWherein "1500" is the set second radio resource amountNamely, the radio resource amount which can be let out by the second resource let-out terminal represents the radio resource which can be let out by the second resource let-out terminal by 1500 units; />And outputting the current subordinate resource pool of the terminal for the second resource.
Step S709, the resource yielding terminal signs the resource yielding transaction and sends the signed resource yielding transaction to the mobile communication network system.
In step S710, the mobile communication network system acquires a resource yielding transaction sent by the resource yielding terminal.
In step S711, after the mobile communication network system determines that the accumulated values of the second wireless resource amounts corresponding to the plurality of resource yielding terminals meet the preset conditions, the mobile communication network system performs a system signature on the plurality of resource yielding transactions, and broadcasts the resource yielding transactions with the system signature to the blockchain network.
For example, the mobile communication network system acquires the broadcast of the first resource yielding terminalAnd a second resource yielding terminal broadcastThe preset condition is that the cumulative value of the second radio resource amount is greater than or equal to the first radio resource amount. The second radio resource amount obtained by the resource yielding terminal in an accumulated manner, that is, the accumulated value of the second radio resource amounts corresponding to the plurality of resource yielding terminals is 1800+1500=3300, and the accumulated value is larger than the first radio resource amount (3000). At this time, the cumulative value of the second radio resource amount corresponding to the plurality of resource yielding terminals satisfies the preset condition. />
Step S712, the resource yielding terminal obtains the resource yielding transaction which is broadcasted in the block chain network by the mobile communication network system and is signed by the system, and after verifying that the system signature is correct, the wireless resource of the second wireless resource amount is released based on the resource yielding transaction.
In step S713, the mobile communication network system recovers the radio resources of the second radio resource amount calculated in the integrated value from the resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction.
In step S714, the mobile communication network system generates a resource settlement transaction based on the resource request transaction and the accumulated value, and performs a system signature on the resource settlement transaction, and transmits the resource settlement with the system signature to the resource request terminal.
For example, the cumulative value of the second radio resource amounts corresponding to the plurality of resource giving terminals is 3300, and the mobile communication network system requests the transaction T based on the cumulative value and the resources 11 {[O],[3000→TMSI 1 ]|[00101ABCD5123,f(3000)]Generating a resource settlement transaction T 2 {[O],[3000→TMSI 1 ]|[00101ABCD5123,f(3300),before 2020-09-10:13:02:15]}. Wherein f (3300) represents that the resource requesting terminal needs to pay for 3300 units of wireless resources according to the request settlement function f; before 2020-09-10:13:02:15 indicates that the resource requesting terminal needs to respond to the resource settlement transaction before time 13:02:15 of 10.09 in 2020.
In step S715, the mobile communication network system allocates, based on the resource request transaction, the radio resources of the first radio resource amount set in the resource request transaction to the resource request terminal for use.
In step S716, the resource request terminal acquires radio resources of the first radio resource amount allocated by the mobile communication network.
In step S717, the resource request terminal acquires the system-signed resource settlement transaction transmitted by the mobile communication network system.
In step S718, the resource request terminal signs the system-signed resource settlement transaction, and broadcasts the terminal-signed resource settlement transaction to the blockchain network.
In step S719, the mobile communication network system obtains the resource settlement transaction broadcasted by the resource request terminal and signed by the terminal, and after verifying that the terminal signature is correct, confirms that the wireless resource transaction of the resource request terminal and the resource giving-out terminal is established, and respectively settles the telephone bill of the resource request terminal and the resource giving-out terminal when the telephone bill settlement is performed in the current month.
For example, in this time of radio resource transaction, the resource requesting terminal requests 3000 units of radio resources, but the mobile communication network system recovers 3300 units of radio resources from the plurality of resource giving terminals in order to allocate 3000 units of radio resources to the resource requesting terminal, and therefore the resource requesting terminal needs to pay 3300 units of radio resources according to the request transaction settlement function f. When the mobile communication network system performs the monthly call charge settlement, the monthly call charge bill of the resource request terminal is increased by 3.3 yuan. In this wireless resource transaction, the mobile communication network system recovers 1800 units from the first resource yielding terminal and recovers 1500 units of wireless resources from the second resource yielding terminal, so that when the mobile communication network system performs the monthly call fee settlement, the mobile communication network system requests the yielding settlement function g to reduce the monthly call fee bill of the first resource yielding terminal by 0.9 yuan and reduce the monthly call fee bill of the second resource yielding terminal by 0.75 yuan. If the request giving and settling functions selected by different resource giving and settling terminals are different, the mobile communication network system performs the settlement of the telephone bill according to the request giving and settling functions selected by the resource giving and settling terminals when the telephone bill is settled in the month.
If the mobile communication network system does not acquire the terminal-signed resource settlement transaction broadcasted by the resource request terminal in the blockchain network at a time exceeding the preset time, the mobile communication network system recovers the wireless resources of the first wireless resource amount allocated to the resource request terminal.
In addition, for a specific description of the radio resource transaction method in the embodiment shown in fig. 7, reference may be made to the corresponding description of the foregoing embodiment, which is not repeated here.
It is to be understood that the above embodiments are merely illustrative of the application of the principles of the present invention, but not in limitation thereof. Various modifications and improvements may be made by those skilled in the art without departing from the spirit and substance of the invention, and are also considered to be within the scope of the invention.

Claims (10)

1. A wireless resource transaction method based on a blockchain network, which is applied to a mobile communication network system, characterized in that the method comprises the following steps:
the resource request terminal is used for generating and broadcasting resource request transactions in the blockchain network based on the corresponding request transaction settlement function; the resource request transaction comprises a set first wireless resource amount, the request transaction settlement function is a request transaction settlement function which is pre-generated by the mobile communication network system, signed and broadcasted to a plurality of request transaction settlement functions in the blockchain network and is used for adapting the resource request transaction, and the request transaction settlement function is used for request transaction settlement;
Acquiring a resource yielding transaction generated and transmitted by a resource yielding terminal based on a corresponding yielding transaction settlement function and the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount; the resource allocation area corresponding to the resource request terminal is the same as the resource allocation area corresponding to the resource yielding terminal, the yielding transaction settlement function is a yielding transaction settlement function which is matched with the resource request transaction in a plurality of yielding transaction settlement functions in the blockchain network and is generated in advance and signed by the mobile communication network system, and the yielding transaction settlement function is used for yielding transaction settlement;
after the accumulated values of the second wireless resource amounts corresponding to the plurality of resource yielding terminals meet a preset condition, recovering the wireless resources of the second wireless resource amounts calculated in the accumulated values from the corresponding resource pools corresponding to the resource yielding terminals based on the resource yielding transaction;
performing system signature on the resource yielding transaction, broadcasting the resource yielding transaction subjected to the system signature to a blockchain network, so that the resource yielding terminal obtains the resource yielding transaction subjected to the system signature, and releasing the wireless resource of the second wireless resource amount based on the resource yielding transaction after verifying that the system signature is correct;
Generating a resource settlement transaction based on the resource request transaction and the accumulated value;
performing system signature on the resource settlement transaction, and sending the resource settlement transaction signed by the system to a resource request terminal so that the resource request terminal can perform terminal signature on the resource settlement transaction signed by the system, and broadcasting the resource settlement transaction signed by the terminal to a blockchain network;
based on the resource request transaction, allocating the wireless resources of the first wireless resource amount set in the resource request transaction to the resource request terminal for use;
and if the terminal-signed resource settlement transaction broadcasted by the resource request terminal is not acquired in the blockchain network at the preset moment, recovering the wireless resources of the first wireless resource quantity allocated to the resource request terminal.
2. The method of claim 1, wherein the preset conditions include: the accumulated value of the second radio resource amount is greater than or equal to the first radio resource amount; the generating a resource settlement transaction based on the resource request transaction and the accumulated value includes:
when the difference value between the accumulated value of the second wireless resource quantity and the first wireless resource quantity is smaller than or equal to a preset value, generating the resource settlement transaction according to the accumulated value and the resource request transaction; wherein the preset value is the product of the first wireless resource quantity and the preset percentage;
And when the difference value between the accumulated value of the second wireless resource quantity and the first wireless resource quantity is larger than a preset value, generating the resource settlement transaction according to the sum of the first wireless resource quantity and the preset value and the resource request transaction.
3. The method of claim 1, wherein prior to systematically signing the resource yielding transaction, further comprising:
acquiring wireless resources of a third wireless resource amount released by a third party terminal in the resource allocation area;
after the accumulated values of the second radio resource amounts corresponding to the plurality of resource yielding terminals meet a preset condition, based on the resource yielding transaction, recovering the radio resource of the second radio resource amount calculated in the accumulated value from the resource pool corresponding to the resource yielding terminal includes:
and after the sum of the cumulative value and the third radio resource amount is greater than or equal to the first radio resource amount, recovering the radio resource of the second radio resource amount calculated in the cumulative value from the resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction.
4. A wireless resource transaction method based on a blockchain network, which is applied to a resource request terminal, the method is characterized by comprising the following steps:
generating a resource request transaction based on the corresponding request transaction settlement function; the resource request transaction comprises a set first wireless resource amount, the request transaction settlement function is a request transaction settlement function which is pre-generated by a mobile communication network system, signed and broadcasted to a plurality of request transaction settlement functions in the blockchain network and is used for adapting the resource request transaction, and the request transaction settlement function is used for request transaction settlement;
broadcasting the resource request transaction to the blockchain network so that after the mobile communication network system obtains the resource request transaction, a resource yielding terminal obtains a resource yielding transaction generated and transmitted based on a corresponding yielding transaction settlement function and the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount, the yielding transaction settlement function is a yielding transaction settlement function which is matched with the resource request transaction in a plurality of yielding transaction settlement functions in the blockchain network after being pre-generated and signed by the mobile communication network system, and the yielding transaction settlement function is used for yielding transaction settlement;
Acquiring wireless resources of a first wireless resource amount allocated by the mobile communication network system; the radio resource of the first radio resource amount is a radio resource allocated by the mobile communication network system based on the resource request transaction after the cumulative value of the second radio resource amount corresponding to the plurality of resource yielding terminals satisfies a preset condition and the radio resource of the second radio resource amount calculated in the cumulative value is recovered from a resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction.
5. The method according to claim 4, wherein after the obtaining radio resources of the first radio resource amount allocated by the mobile communication network system, further comprises:
receiving a resource settlement transaction which is generated by the mobile communication network system based on the resource request transaction and is signed by the system and is sent by the mobile communication network system;
and carrying out terminal signature on the resource settlement transaction signed by the system, and broadcasting the resource settlement transaction signed by the terminal to the blockchain network.
6. A wireless resource transaction method based on a blockchain network, which is applied to a resource yielding terminal, the method is characterized by comprising the following steps:
The resource request terminal is used for generating and broadcasting resource request transactions in the blockchain network based on the corresponding request transaction settlement function; the resource request transaction comprises a set first wireless resource amount, the request transaction settlement function is a request transaction settlement function which is pre-generated by a mobile communication network system, signed and broadcasted to a plurality of request transaction settlement functions in the blockchain network and is used for adapting the resource request transaction, and the request transaction settlement function is used for request transaction settlement;
generating a resource yielding transaction based on the corresponding yielding transaction settlement function and the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount, the yielding transaction settlement function is a yielding transaction settlement function which is matched with the resource request transaction in a plurality of yielding transaction settlement functions in the blockchain network after being pre-generated and signed by the mobile communication network system, and the yielding transaction settlement function is used for yielding transaction settlement;
and sending the resource yielding transaction to a mobile communication network system, so that after the cumulative values of the second wireless resource amounts corresponding to a plurality of resource yielding terminals meet a preset condition, the mobile communication network system recovers the wireless resources of the second wireless resource amounts calculated in the cumulative values from a resource pool corresponding to the resource yielding terminals based on the resource yielding transaction, and distributes the wireless resources of the first wireless resource amounts set in the resource request transaction to the resource request terminal for use based on the resource request transaction.
7. The method of claim 6, wherein after said sending the resource yielding transaction to the mobile communication network system, further comprising:
acquiring the system signed resource yielding transaction broadcasted in the blockchain network by the mobile communication network system;
and after verifying that the system signature is correct, releasing the wireless resources of the second wireless resource amount based on the resource yielding transaction.
8. A mobile communication network system, the mobile communication network system comprising:
the first system acquisition module is used for acquiring resource request transactions generated and broadcasted in the blockchain network by the resource request terminal based on the corresponding request transaction settlement function; the resource request transaction comprises a set first wireless resource amount, the request transaction settlement function is a request transaction settlement function which is pre-generated by the mobile communication network system, signed and broadcasted to a plurality of request transaction settlement functions in the blockchain network and is used for adapting the resource request transaction, and the request transaction settlement function is used for request transaction settlement;
the second system acquisition module is used for acquiring a resource yielding terminal to generate a transmitted resource yielding transaction based on a corresponding yielding transaction settlement function and the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount; the resource allocation area corresponding to the resource request terminal is the same as the resource allocation area corresponding to the resource yielding terminal, the yielding transaction settlement function is a yielding transaction settlement function which is matched with the resource request transaction in a plurality of yielding transaction settlement functions in the blockchain network and is generated in advance and signed by the mobile communication network system, and the yielding transaction settlement function is used for yielding transaction settlement;
A first system recovery module, configured to recover, based on the resource yielding transaction, wireless resources of the second wireless resource amount calculated in the accumulated value from a resource pool corresponding to the corresponding resource yielding terminal after the accumulated values of the second wireless resource amounts corresponding to the plurality of resource yielding terminals satisfy a preset condition;
the second system signature module is used for carrying out system signature on the resource yielding transaction;
the second system broadcasting module is used for broadcasting the resource yielding transaction signed by the system to a blockchain network so that the resource yielding terminal obtains the resource yielding transaction signed by the system, and after verifying that the system signature is correct, the wireless resource of the second wireless resource amount is released based on the resource yielding transaction;
a second system generation module for generating a resource settlement transaction based on the resource request transaction and the accumulated value;
the third system signature module is used for carrying out system signature on the resource settlement transaction, sending the resource settlement transaction signed by the system to a resource request terminal, so that the resource request terminal can carry out terminal signature on the resource settlement transaction signed by the system, and broadcasting the resource settlement transaction signed by the terminal to a blockchain network;
A first system allocation module, configured to allocate, based on the resource request transaction, radio resources of a first radio resource amount set in the resource request transaction to the resource request terminal for use;
and the second system recycling module is used for recycling the wireless resources of the first wireless resource quantity distributed to the resource request terminal if the terminal-signed resource settlement transaction broadcasted by the resource request terminal is not acquired in the blockchain network at a preset time.
9. A resource requesting terminal, characterized in that the resource requesting terminal comprises:
the first request terminal generation module is used for generating a resource request transaction based on a corresponding request transaction settlement function; the resource request transaction comprises a set first wireless resource amount, the request transaction settlement function is a request transaction settlement function which is pre-generated by a mobile communication network system, signed and broadcasted to a plurality of request transaction settlement functions in a blockchain network and is used for adapting the resource request transaction, and the request transaction settlement function is used for request transaction settlement;
the first request terminal broadcasting module is used for broadcasting the resource request transaction to a blockchain network so that after the mobile communication network system obtains the resource request transaction, the resource issuing terminal obtains a resource issuing transaction generated and transmitted based on a corresponding issuing transaction settlement function and the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount, the yielding transaction settlement function is a yielding transaction settlement function which is matched with the resource request transaction in a plurality of yielding transaction settlement functions in the blockchain network after being pre-generated and signed by the mobile communication network system, and the yielding transaction settlement function is used for yielding transaction settlement;
A first request terminal acquisition module, configured to acquire radio resources of a first radio resource amount allocated by the mobile communication network system; the radio resource of the first radio resource amount is a radio resource allocated by the mobile communication network system based on the resource request transaction after the cumulative value of the second radio resource amount corresponding to the plurality of resource yielding terminals satisfies a preset condition and the radio resource of the second radio resource amount calculated in the cumulative value is recovered from a resource pool corresponding to the corresponding resource yielding terminal based on the resource yielding transaction.
10. A resource yielding terminal, characterized in that the resource yielding terminal comprises:
the first yielding terminal acquisition module is used for acquiring resource request transactions generated and broadcasted in the blockchain network by the resource request terminal based on the corresponding request transaction settlement function; the resource request transaction comprises a set first wireless resource amount, the request transaction settlement function is a request transaction settlement function which is pre-generated by a mobile communication network system, signed and broadcasted to a plurality of request transaction settlement functions in the blockchain network and is used for adapting the resource request transaction, and the request transaction settlement function is used for request transaction settlement;
The first yielding terminal generation module is used for generating a resource yielding transaction based on the corresponding yielding transaction settlement function and the resource request transaction; the resource yielding transaction comprises a set second wireless resource amount, the yielding transaction settlement function is a yielding transaction settlement function which is matched with the resource request transaction in a plurality of yielding transaction settlement functions in the blockchain network after being pre-generated and signed by the mobile communication network system, and the yielding transaction settlement function is used for yielding transaction settlement;
and the first yielding terminal sending module is used for sending the resource yielding transaction to the mobile communication network system so that after the accumulated values of the second wireless resource amounts corresponding to the plurality of resource yielding terminals meet the preset condition, the mobile communication network system recovers the wireless resources of the second wireless resource amounts calculated in the accumulated values from the corresponding resource pools corresponding to the resource yielding terminals based on the resource yielding transaction, and distributes the wireless resources of the first wireless resource amounts set in the resource request transaction to the resource request terminal for use based on the resource request transaction.
CN202010795918.5A 2020-08-10 2020-08-10 Wireless resource transaction method, terminal and system based on blockchain network Active CN111970123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010795918.5A CN111970123B (en) 2020-08-10 2020-08-10 Wireless resource transaction method, terminal and system based on blockchain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010795918.5A CN111970123B (en) 2020-08-10 2020-08-10 Wireless resource transaction method, terminal and system based on blockchain network

Publications (2)

Publication Number Publication Date
CN111970123A CN111970123A (en) 2020-11-20
CN111970123B true CN111970123B (en) 2023-07-25

Family

ID=73364969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010795918.5A Active CN111970123B (en) 2020-08-10 2020-08-10 Wireless resource transaction method, terminal and system based on blockchain network

Country Status (1)

Country Link
CN (1) CN111970123B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637896B (en) * 2020-12-10 2023-04-07 中国联合网络通信集团有限公司 Maximum aggregation rate allocation method, session management function entity and terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464538A (en) * 2020-03-31 2020-07-28 中国联合网络通信集团有限公司 Asset transaction method and system, storage medium and asset transaction background

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011709A (en) * 2016-12-27 2018-05-08 北京量子保科技有限公司 A kind of data trade method based on block chain
CN108009441B (en) * 2017-11-23 2023-05-30 创新先进技术有限公司 Method and apparatus for resource transfer and funds transfer
WO2019139237A1 (en) * 2018-01-12 2019-07-18 인제대학교 산학협력단 System for block chain participation control through transaction value estimation
CN108650647A (en) * 2018-04-27 2018-10-12 深圳市元征科技股份有限公司 A kind of wireless network resource sharing method and wireless network resource sharing means
CN109447740A (en) * 2018-10-10 2019-03-08 南京邮电大学 Radio Spectrum Resource method of commerce, readable storage medium storing program for executing and terminal
CN109300038B (en) * 2018-10-11 2020-12-08 合肥达朴汇联科技有限公司 Resource flow transaction system
US10785168B2 (en) * 2019-07-15 2020-09-22 Alibaba Group Holding Limited Allocating virtual resource based on block chain
MY192336A (en) * 2019-07-23 2022-08-17 Advanced New Technologies Co Ltd Managing transactions on blockchain networks

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464538A (en) * 2020-03-31 2020-07-28 中国联合网络通信集团有限公司 Asset transaction method and system, storage medium and asset transaction background

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于区块链的网络边缘资源分配方法;戴俊杰;沈苏彬;;计算机工程(08);全文 *

Also Published As

Publication number Publication date
CN111970123A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN1262140C (en) Method and system for charging communication systems
CN105557000B (en) wireless spectrum resource charging equipment, system and method
CN103220672A (en) Telecommunications network and method for time-based network access
CN111970123B (en) Wireless resource transaction method, terminal and system based on blockchain network
CN113543054B (en) Relay service method and device
CN103501493A (en) Method, device and system for on-line number allocation
JP4128881B2 (en) Radio channel allocation method, base station apparatus, and mobile communication terminal
CN113473537B (en) Micro base station traffic sharing method, node, equipment and medium based on block chain
CN111970350B (en) Wireless resource transaction method, terminal and system based on block chain network
CN112333650B (en) Roaming charge adjustment method, device and system based on block chain network
CN103716790A (en) D2D communication processing method, D2D communication method and D2D communication processing apparatus
CN103888927A (en) Bandwidth cost determination method, device, server and system
CN105827425B (en) Network control method and device
CN112637831B (en) Number portability method and system based on block chain network and user terminal
CN1842998A (en) Method and apparatus for enabling access in a wlan environment
CN114845382A (en) Networking method for 5G private network and public network
CN109447766B (en) Charging pile system for balanced charging and method thereof
CN113709725A (en) Number portability method, operator node and computer readable medium
CN102572763B (en) Billing processing method, device and system
CN103379547B (en) A kind of shunting connects method for building up and equipment
CN107305731B (en) Wireless data transmission method and device
CN1315356C (en) Method for accessing mobile virtual operator per-to-per network
CN101400152B (en) Method, system and apparatus for controlling related information using transmission policy
CN112291792B (en) Radio resource acquisition method and session management functional entity
KR20140075567A (en) Mobile communicationcore system and method for balancing transaction load

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