CN116997003A - Resource allocation method, device, terminal equipment and storage medium - Google Patents

Resource allocation method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN116997003A
CN116997003A CN202210971430.2A CN202210971430A CN116997003A CN 116997003 A CN116997003 A CN 116997003A CN 202210971430 A CN202210971430 A CN 202210971430A CN 116997003 A CN116997003 A CN 116997003A
Authority
CN
China
Prior art keywords
resource allocation
block
time
node
resource
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.)
Pending
Application number
CN202210971430.2A
Other languages
Chinese (zh)
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 Mobile Communications Group Co Ltd
China Mobile Group Design Institute Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Design Institute 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 Mobile Communications Group Co Ltd, China Mobile Group Design Institute Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210971430.2A priority Critical patent/CN116997003A/en
Publication of CN116997003A publication Critical patent/CN116997003A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a resource allocation method, a device, terminal equipment and a storage medium, wherein the method comprises the following steps: when receiving time-frequency resource application information sent by a node, determining a benefit value of the node according to the time-frequency resource application information, wherein the time-frequency resource application information comprises service quality of service of the node, a buffer status report and waiting time for waiting for resource allocation; determining resource allocation information according to the rights and interests value, and carrying out resource transaction according to the resource allocation information; packaging the resource allocation information and the transaction data of the resource transaction into blocks, and sending the blocks to the node; and when the broadcast signal of the block is received and the block is successfully verified according to a preset consensus algorithm, the block is added to the block chain technical scheme, so that the aim of time-frequency resource coordination to solve the resource use conflict is fulfilled.

Description

Resource allocation method, device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a resource allocation method, a device, a terminal device, and a storage medium.
Background
The resource allocation scheme of the physical direct communication (Sidelink) technology supports that when a terminal is in an area without coverage of a base station signal, the terminal can perform resource allocation autonomously, however, in a mode that the terminal performs resource allocation autonomously, the same spectrum resource is selected between two terminals of different groups or between two terminals which are adjacent and are in communication, so that the problems of resource use conflict and communication failure are caused.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The embodiment of the invention provides a resource allocation method, a device, terminal equipment and a storage medium, which aim to solve the technical problems that in a mode that a terminal autonomously performs resource allocation, two terminals in different groups or adjacent terminals in communication select the same frequency spectrum resource, so that resource utilization conflicts and communication failures are caused.
The embodiment of the invention provides a resource allocation method, which comprises the following steps:
when receiving time-frequency resource application information sent by a node, determining a benefit value of the node according to the time-frequency resource application information, wherein the time-frequency resource application information comprises service quality of service of the node, a buffer status report and waiting time for waiting for resource allocation;
determining resource allocation information according to the rights and interests value, and carrying out resource transaction according to the resource allocation information;
packaging the resource allocation information and the transaction data of the resource transaction into blocks, and sending the blocks to the node;
and when the broadcast signal of the block is received and the block is successfully verified according to a preset consensus algorithm, adding the block to the block chain.
Optionally, the step of determining the benefit value of the node according to the time-frequency resource application information includes:
determining a token value according to the service quality and the buffer status report in the time-frequency resource application information;
and determining the benefit value of the node according to the token value and the waiting time length for waiting for resource allocation in the time-frequency resource application information, wherein the larger the waiting time length is, the larger the benefit value is.
Optionally, the larger the benefit value is, the larger the probability that the node acquires the time-frequency resource in the resource allocation information is.
The embodiment of the invention also provides a resource allocation method, which comprises the following steps:
when a target node is determined according to the monitored signal intensity of the node, time-frequency resource application information is sent to the target node, wherein the time-frequency resource application information comprises service quality of service of the node, a buffer status report and waiting time for waiting for resource allocation;
when receiving a block fed back by the target node based on the time-frequency resource application, calculating the block according to a preset algorithm to obtain the release right of the block, and broadcasting the block in a block chain;
the block is added to the blockchain, and the block stores resource allocation information and transaction data of resource transactions.
Optionally, the step of determining the target node according to the monitored signal strength of the node comprises:
and acquiring the node corresponding to the maximum signal intensity in the monitored nodes, and determining the node as a target node.
Optionally, after the step of adding the block to the blockchain, further comprising:
and broadcasting the resource allocation information stored in the block, and selecting time-frequency resources to send service data according to the resource allocation information.
Optionally, the resource allocation method further includes:
and when the target node cannot be determined according to the monitored signal strength of the node, determining a resource pool corresponding to the current position information, and selecting a transmission resource from the resource pool.
In addition, to achieve the above object, the present invention also provides a resource allocation apparatus, including:
the system comprises a determining module, a processing module and a processing module, wherein the determining module is used for determining the benefit value of a node according to time-frequency resource application information when receiving the time-frequency resource application information sent by the node, and the time-frequency resource application information comprises the service quality of the service of the node, a buffer status report and the waiting time for waiting for resource allocation;
the transaction module is used for determining resource allocation information according to the rights and interests value and carrying out resource transaction according to the resource allocation information;
the sending module is used for packaging the resource allocation information and the transaction data of the resource transaction into blocks and sending the blocks to the node;
the first adding module is used for receiving the broadcast signal of the block and adding the block to the block chain when the block is successfully verified according to a preset consensus algorithm; or alternatively, the process may be performed,
the determining and sending module is used for determining a target node according to the monitored signal strength of the node, and sending time-frequency resource application information to the target node, wherein the time-frequency resource application information comprises service quality of the service of the node, a buffer status report and waiting time length for waiting for resource allocation;
the calculation broadcasting module is used for calculating the block according to a preset algorithm to obtain the release right of the block when receiving the block which is fed back by the target node based on the time-frequency resource application, and broadcasting the block in a block chain;
and the second adding module is used for adding the block to the block chain, and the block stores resource allocation information and transaction data of resource transactions.
In addition, to achieve the above object, the present invention also provides a terminal device including: the resource allocation method comprises the steps of a memory, a processor and a resource allocation program which is stored in the memory and can run on the processor, wherein the resource allocation program is executed by the processor to realize the resource allocation method.
In addition, in order to achieve the above object, the present invention also provides a storage medium having stored thereon a resource allocation program which, when executed by a processor, implements the steps of the above-described resource allocation method.
The technical scheme of the resource allocation method, the device, the terminal equipment and the storage medium provided by the embodiment of the invention has at least the following technical effects or advantages:
when time-frequency resource application information sent by a receiving node is adopted, determining a benefit value of the node according to the time-frequency resource application information, wherein the time-frequency resource application information comprises service quality of service of the node, a buffer status report and waiting time for waiting for resource allocation; determining resource allocation information according to the rights and interests value, and carrying out resource transaction according to the resource allocation information; packaging the resource allocation information and the transaction data of the resource transaction into blocks, and sending the blocks to the node; and when the broadcast signal of the block is received and the block is successfully verified according to a preset consensus algorithm, adding the block to the block chain technical scheme. According to the technical scheme, the problem of communication failure caused by resource use conflict in a mode that the terminal autonomously performs resource allocation is solved, and the purpose of time-frequency resource coordination to solve the resource use conflict is achieved.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device according to various embodiments of a resource allocation method of the present invention;
fig. 2 is a schematic flow chart of the resource allocation method applied to the first terminal;
FIG. 3 is a flow chart illustrating the determination of node benefit values in the resource allocation method of the present invention;
FIG. 4 is a block chain workflow diagram;
fig. 5 is a schematic flow chart of the resource allocation method applied to the second terminal;
FIG. 6 is a schematic diagram of interactions between a first terminal and a second terminal;
fig. 7 is a schematic diagram of a first module of a resource allocation device according to the present invention;
fig. 8 is a schematic diagram of a second module of the resource allocation device provided by the present invention.
Detailed Description
In order that the above-described aspects may be better understood, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
In the following description, suffixes such as "module", "part" or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device according to various embodiments of a resource allocation method of the present invention. The terminal device related to the resource allocation method of the present invention may include a terminal device such as a mobile phone, a tablet computer, a notebook computer, a palm computer, and a personal digital assistant (Personal Digital Assistant, PDA).
As shown in fig. 1, the terminal device may include: a memory 101 and a processor 102. It will be appreciated by those skilled in the art that the block diagram of the terminal shown in fig. 1 is not limiting of the terminal, and that the terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. The memory 101 stores therein an operating system and a resource allocation program. The processor 102 is a control center of the terminal device, and the processor 102 executes a resource allocation program stored in the memory 101 to implement the steps of the embodiments of the resource allocation method of the present invention.
Optionally, the terminal device may further include a communication unit 103, where the communication unit 103 establishes data communication with other terminal devices such as a computer (the data communication may be IP communication or bluetooth channel) through a network protocol, so as to implement data transmission with the other terminal devices.
It should be noted that, when the terminal device is a first terminal, the first terminal is, for example, a terminal device in a blockchain network for allocating time-frequency resources, and the resource allocation program in the memory 101 of the first terminal is executed by the processor 102 to implement the following steps:
when receiving time-frequency resource application information sent by a node, determining a benefit value of the node according to the time-frequency resource application information, wherein the time-frequency resource application information comprises service quality of service of the node, a buffer status report and waiting time for waiting for resource allocation;
determining resource allocation information according to the rights and interests value, and carrying out resource transaction according to the resource allocation information;
packaging the resource allocation information and the transaction data of the resource transaction into blocks, and sending the blocks to the node;
and when the broadcast signal of the block is received and the block is successfully verified according to a preset consensus algorithm, adding the block to the block chain.
Further, the processor 102 may be configured to invoke a resource allocation program stored in the memory 101, and perform the following operations, where the step of determining the benefit value of the node according to the time-frequency resource application information includes:
determining a token value according to the service quality and the buffer status report in the time-frequency resource application information;
and determining the benefit value of the node according to the token value and the waiting time length for waiting for resource allocation in the time-frequency resource application information, wherein the larger the waiting time length is, the larger the benefit value is.
Further, the processor 102 may be configured to call a resource allocation program stored in the memory 101, and perform the following operations: the larger the benefit value is, the larger the probability that the node obtains the time-frequency resource in the resource allocation information is.
Correspondingly, when the terminal device is a second terminal, the second terminal, such as a terminal device in a blockchain network, for applying for time-frequency resources, the resource allocation program in the memory 101 of the second terminal is executed by the processor 102 to implement the following steps:
when a target node is determined according to the monitored signal intensity of the node, time-frequency resource application information is sent to the target node, wherein the time-frequency resource application information comprises service quality of service of the node, a buffer status report and waiting time for waiting for resource allocation;
when receiving a block fed back by the target node based on the time-frequency resource application, calculating the block according to a preset algorithm to obtain the release right of the block, and broadcasting the block in a block chain;
the block is added to the blockchain, and the block stores resource allocation information and transaction data of resource transactions.
Further, the processor 102 may be configured to invoke a resource allocation program stored in the memory 101, and perform operations for determining the target node according to the monitored signal strength of the node, where the steps include:
and acquiring the node corresponding to the maximum signal intensity in the monitored nodes, and determining the node as a target node.
Further, the processor 102 may be configured to invoke a resource allocation procedure stored in the memory 101, and perform operations of, after the step of adding the block to the blockchain, further including:
and broadcasting the resource allocation information stored in the block, and selecting time-frequency resources to send service data according to the resource allocation information.
Further, the processor 102 may be configured to invoke a resource allocation procedure stored in the memory 101, and perform operations of, after the step of adding the block to the blockchain, further including:
and broadcasting the resource allocation information stored in the block, and selecting time-frequency resources to send service data according to the resource allocation information.
Further, the processor 102 may be configured to call a resource allocation program stored in the memory 101, and perform the following operations, where the resource allocation method further includes:
and when the target node cannot be determined according to the monitored signal strength of the node, determining a resource pool corresponding to the current position information, and selecting a transmission resource from the resource pool.
Embodiments of the present invention provide embodiments of a resource allocation method, it being noted that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in a different order than that illustrated herein.
Optionally, exemplarily, the method for allocating resources provided by the embodiment of the present invention may be applied to a plurality of different groups of terminal devices in a coverage area completely without a base station signal, where in a direct communication scenario, if an a terminal device occupies a spectrum resource pool, and the rest of the resource pools are idle, different groups of B terminal devices and C terminal devices desiring to send a service have a situation that when the same spectrum resource pool is selected simultaneously to send the service, a frequency resource conflict may be caused.
Alternatively, exemplarily, the method for allocating resources provided in the embodiment of the present invention may be applied to a terminal device at a cell edge, where in a mode that a terminal autonomously allocates resources, a terminal device in the same group as the terminal device may instruct resources to perform communication at a service gNB, but a terminal device that is in a coverage area of no base station signal and is adjacent to the group of terminal devices may also have a frequency resource conflict during the performing of the present group communication.
When the number of terminal devices requiring direct communication services increases in an area where the base station cannot cover, the probability of communication failure increases rapidly due to frequency overlapping and signal interference.
Based on the above-mentioned block diagram of the terminal device, various embodiments of the resource allocation method of the present invention are presented. In an embodiment, the present invention provides a resource allocation method, which is applied to a first terminal, please refer to fig. 2, fig. 2 is a flow chart of the resource allocation method applied to the first terminal. In this embodiment, the resource allocation method includes the steps of:
step S10, when receiving time-frequency resource application information sent by a node, determining a benefit value of the node according to the time-frequency resource application information, wherein the time-frequency resource application information comprises service quality of service of the node, a buffer status report and waiting time for waiting for resource allocation;
step S20, determining resource allocation information according to the rights and interests value, and carrying out resource transaction according to the resource allocation information;
the time-frequency resource application information comprises service quality of the service of the node, a buffer status report and waiting time for waiting for resource allocation. The QoS is an abbreviation of Quality of Service, namely, quality of service, which means that a network can provide better service capability for specified network communication by using various basic technologies, and is a security mechanism of the network, and is a technology for solving the problems of network delay, blocking and the like. BSR is an abbreviation of Buffer Status Report, namely buffer status report, and in an LTE communication system, a buffer status reporting procedure is used to provide a serving eNB with information about how much data the UE has in common and needs to send in an uplink buffer. The waiting time for waiting for resource allocation refers to the waiting time for the terminal to successfully apply for the time-frequency resource. The resource allocation information comprises a terminal device which successfully applies for the time-frequency resource and a frequency band where the time-frequency resource in the idle unoccupied state is located.
As an optional implementation manner, referring to fig. 3, fig. 3 is a schematic flow chart of determining a node benefit value in the resource allocation method of the present invention, and the step of determining the node benefit value in step S10 according to the time-frequency resource application information includes:
step S11, determining a token value according to the service quality and the buffer status report in the time-frequency resource application information;
and step S12, determining the benefit value of the node according to the token value and the waiting time length for waiting for resource allocation in the time-frequency resource application information, wherein the larger the waiting time length is, the larger the benefit value is.
In this embodiment, the token scheme is used to define the node's equity value in the blockchain network as determined by the number of tokens it occupies and the time taken, as characterized by the product of the number of tokens occupied and the time taken. When the UE applies for the time-frequency resource, a certain number of medal quantity is generated according to the QoS value corresponding to different services and the data quantity in the BSR, and the medal value is used as a part of the time-frequency resource application information to be sent to the nearest time-frequency resource control UE.
When the request for time-frequency resource application information is authorized, the corresponding token is consumed, so that the rights value is cleared, and if not authorized, the token value is kept. Since the token value corresponds to an extended local retention time of data, the benefit value will increase over time.
Alternatively, the greater the benefit value the greater the probability that a node is selected to become a new block for release.
Optionally, for UEs forming a blockchain, some UEs at the cell edge use time-frequency resources determined by the base station, but the UEs can still transmit the time-frequency resources used by the UEs in the block, and by the resource allocation method of the invention, reliable time-frequency resource coordination is realized with different groups of terminals not in the coverage area of the base station, so that the terminals outside the coverage area can realize efficient dynamic spectrum access.
Optionally, the larger the benefit value, the larger the probability that the node acquires the time-frequency resource in the resource allocation information.
In this embodiment, the benefit value for competing for the time-frequency resource is also related to the waiting time period for the terminal to wait for the allocated time-frequency resource. If the terminal does not compete for the time-frequency resource of the next period, the benefit value of the terminal is returned and the benefit value is incremented as the time the benefit value is stored in the terminal is extended. The greater the terminal benefit value, the greater the probability that the terminal will compete for the time-frequency resource for the next period. Therefore, even in a period in which the time-frequency resources are relatively short, the waiting time for each terminal to wait for transmitting the service data is not long.
Step S30, packaging the resource allocation information and the transaction data of the resource transaction into blocks, and sending the blocks to the node;
step S40, the broadcast signal of the block is received, and the block is added to the block chain when the block is successfully verified according to a preset consensus algorithm.
In the present invention, the time-frequency resource usage of a certain area is managed by constructing a blockchain network, and the blockchain is used to coordinate time and frequency resources for a certain number of terminals in the area that communicate with different groups, i.e., the nodes that form the blockchain network.
Referring to fig. 4, fig. 4 is a block chain workflow diagram. It should be noted that (1) indicates that the UE currently transmitting the service will periodically broadcast and transmit a new "dynamic spectrum access resource allocation information block" in the downlink channel.
(2) Indicating that the whole network enters the next resource time slot, and in the time slot, all terminals start to transmit own data according to the time-frequency resource allocation mode carried by the block in the step (1). (2) Each UE that is transmitting for a period will periodically broadcast a "dynamic spectrum access resource allocation information block" in the downlink channel. If the transmission period of one terminal is completed in (1), it does not continue to transmit in (2).
(3) The UE that is transmitting traffic at this stage will begin to receive applications from UEs desiring to acquire time-frequency resources
(4) The UE receiving the application adopts algorithms such as optimization and the like to make a decision of a resource allocation scheme according to the bidding conditions fed back by each UE
(5) And the UE encapsulates the new time-frequency resource allocation scheme into candidate blocks and sends the candidate blocks to each node user applying for resources currently. And each user adopts a preset algorithm, and in the determined time, when the node UE obtains the new block release right based on the preset algorithm, the UE broadcasts the new block, and when the UE_B receives the new block, the new block is also forwarded to other node users. After receiving the information, other node users check and verify that the information is legal blocks through a consensus algorithm, and then add the blocks into a local block chain.
When the time arrives at (1) period, all nodes transmitting traffic in the current resource slot τ will broadcast and transmit new "dynamic spectrum access resource allocation information blocks" periodically in the downlink channel. Terminals that currently do not have time-frequency resource grants cannot transmit.
By applying the blockchain, the UE outside the coverage area of the base station can efficiently cooperate with the adjacent UE to perform time-frequency resource, on one hand, the time-frequency resource of the area is fully utilized to perform communication, and on the other hand, the blockchain information record enables the direct communication process of the UE to be a recordable traceable process, so that the user rights and interests and information safety are ensured. Illustratively, blockchain information such as transaction data for resource allocation.
In the technical scheme disclosed in the embodiment, when time-frequency resource application information sent by a node is received, determining a benefit value of the node according to the time-frequency resource application information, wherein the time-frequency resource application information comprises service quality of service of the node, a buffer status report and waiting time for waiting for resource allocation; determining resource allocation information according to the rights and interests value, and carrying out resource transaction according to the resource allocation information; packaging the resource allocation information and the transaction data of the resource transaction into blocks, and sending the blocks to the node; and when the broadcast signal of the block is received and the block is successfully verified according to a preset consensus algorithm, adding the block to the block chain technical scheme. According to the technical scheme, the problem of communication failure caused by resource use conflict in a mode that the terminal autonomously performs resource allocation is solved, and the purpose of time-frequency resource coordination to solve the resource use conflict is achieved.
Correspondingly, the invention also provides a resource allocation method, which is applied to the second terminal, please refer to fig. 5, fig. 5 is a flow chart of the resource allocation method applied to the second terminal. In this embodiment, the resource allocation method includes the steps of:
step S50, when a target node is determined according to the monitored signal intensity of the node, time-frequency resource application information is sent to the target node, wherein the time-frequency resource application information comprises service quality of service of the node, a buffer status report and waiting time length for waiting for resource allocation;
step S60, when receiving the block which is fed back by the target node based on the time-frequency resource application, calculating the block according to a preset algorithm to obtain the release right of the block, and broadcasting the block in a block chain;
step S70, adding the block to the block chain, wherein the block stores resource allocation information and transaction data of resource transactions.
And determining the target node according to the signal intensity of the monitored node, and acquiring channel state information by signal detection, so as to acquire the signal intensity of the monitored node according to the channel state information, thereby determining the target node according to the signal intensity.
It is easily understood that the number of detected nodes may be one or at least two.
Optionally, determining the target node according to the monitored signal strength of the node in step S50 includes:
and acquiring the node corresponding to the maximum signal intensity in the monitored nodes, and determining the node as a target node.
In this embodiment, the terminal, that is, the terminal device applying for the time-frequency resource, monitors the signal intensity of the adjacent terminal device in the current period, and in the request sending period of the current period, sends the time-frequency resource application to the terminal device with the maximum signal intensity.
Optionally, each terminal, that is, the terminal device applying for the time-frequency resource, sends the time-frequency resource application to the terminal with the largest signal strength, so that a plurality of terminal devices in one area naturally form a resource allocation group, and the time-frequency resource is allocated to each terminal in the resource allocation group by the terminal with the largest signal strength, so that the time-frequency resource conflict among the plurality of terminals in one area can not occur.
Correspondingly, time-frequency resource application information is sent to the target node, wherein the time-frequency resource application information comprises service quality of a service of the node, a buffer status report and waiting time for waiting for resource allocation, so that when the target node, namely the first terminal, receives the time-frequency resource application information, the benefit value of the node is determined according to the time-frequency resource application information, and further, the resource allocation information of the application time-frequency resource node, namely the second terminal, is determined according to the benefit value.
Optionally, after the block is added to the blockchain in step S70, the method further includes:
and broadcasting the resource allocation information stored in the block, and selecting time-frequency resources to send service data according to the resource allocation information.
Optionally, the resource allocation method further includes:
and when the target node cannot be determined according to the monitored signal strength of the node, determining a resource pool corresponding to the current position information, and selecting a transmission resource from the resource pool.
It should be noted that, when the target node cannot be determined according to the monitored signal strength of the node, it indicates that the resource pool corresponding to the current location information is unoccupied, and the channel is idle, and when the terminal needs to directly communicate by using the sidelink technology, for the UE in the coverage area without the base station signal, such as ue_a, default resource configuration is used, and a transmission resource is selected from the preconfigured resource pool, for example, one resource pool is selected from 8 preconfigured resource pools to transmit the sidelink signal.
Optionally, before transmitting the sidelink PSSS/SSSS sidelink synchronization signal, the UE without the coverage area of the base station needs to monitor channels of the locally configured 8 resource pools, and if no other UE signals exceeding the threshold are detected, the UE selects a transmission resource from the resource pools to be directly established.
For example, for easy understanding of the interaction between the first terminal and the second terminal in the present invention, refer to fig. 6 specifically, fig. 6 is a schematic diagram of the interaction between the first terminal and the second terminal, where the first terminal is a calling ue_b, the second terminal may be a ue_a requesting to newly initiate a call, and the second terminal may also be a calling ue_c, for example, a UE having a distance similar to that of the ue_b and requesting to adjust the current time-frequency resource.
It should be noted that, the description of the interaction flow between the first terminal and the second terminal is specifically as follows:
first, as shown in part (1) of fig. 2, based on the three-dimensional geographical area distribution, ue_a applying for transmitting data performs channel monitoring:
case one: the channel is idle and ue_a walks through the initial setup procedure. When the terminal is to use the sidelink technology to perform direct communication, for the UE in the coverage area without base station signal in the "scene one", set as ue_a here, a default resource configuration is used, and one of 8 resource pools is selected to perform sidelink signal transmission. The terminal needs to monitor channels of 8 resource pools configured locally before transmitting the sidelink PSSS/SSSS sidelink synchronous signals, and if no other UE signals exceeding a threshold are detected, the terminal is directly established.
And a second case: there are neighboring terminals transmitting traffic. If a signal exceeding a threshold is detected in any one of 8 resource pools, signal measurement is carried out, queuing is carried out according to the received signal strength, firstly, one signal source closest to the user is determined, namely, the UE which is subjected to the sidelink transmission and has the greatest influence on the user is set as UE_B, and the situation of the frequency resource pool used by the UE is determined by receiving SCI sent by the UE_B; if other transmitting terminals, e.g. ue_ C, UE _d … …, can also be detected above a certain threshold, reception and recording is also performed. At this time, ue_b will periodically broadcast the "dynamic spectrum access resource allocation information block" in the sidelink channel.
And a third case: there is a terminal sending traffic. But at this point ue_b does not send the "dynamic spectrum access resource allocation information block".
In the second step, as shown in part (2) of fig. 2, the UE occupying the channel transmission in this process enters a new transmission slot, and starts transmission of data traffic in the new slot. The UE_A desiring to establish a new transmission (sidelink) service still monitors the channel in the period, establishes connection with the UE_B after synchronizing with the UE_B, receives the related information sent by the UE_B, and determines the time when the UE_B starts to receive the application of the time-frequency resource.
Third, as shown in part (3) of fig. 2, ue_a sends a time-frequency resource application, and a "non-homogeneous group time-frequency resource request" to ue_b. Other UEs, which are close to the ue_b in distance, that wish to adjust the current time-frequency resources will also send requests to the ue_b.
Fourth, as shown in part (4) of fig. 2, when ue_b receives multiple time-frequency resource adjustment requests, it determines that it is the current area time-frequency resource control node, and performs time-frequency resource planning of the next transmission time slot according to the bidding condition in the received request information.
Fifth, as shown in part (5) of fig. 2, ue_b uses a "dynamic spectrum access resource allocation" method to load the time-frequency resource planning information of the next "transmission slot window" into a new block. The block contains which UEs will occupy which time-frequency resources for the next time slot, and which time-frequency resources are in idle state.
The UEs granted with time-frequency resources in the block established by ue_b include some or all UEs that send a "non-uniform group time-frequency resource request" to ue_b in the third step.
When ue_b stops transmitting in the next slot, ue_b will not be included in this block.
After the UE receiving the block verifies the digital signature, the block is stored locally and is subjected to preset algorithm operation. When the node UE obtains the new block release right based on a preset algorithm, the UE broadcasts the new block, and when the UE_B receives the new block, the new block is also forwarded to other node users. After other node users receive the block, the block is added into the local block chain after checking and verifying the block to be a legal block through a consensus algorithm. And performs approximate transmission in the next time slot according to the time-frequency resource allocation mode in the new block.
When a new block gets consensus and is confirmed by all UEs currently to be stored in the local blockchain, the block takes effect.
Before the end of the data transmission in the current slot, ue_b starts to transmit the block of the next slot of the new acknowledgement, and goes to part (1) in fig. 2, and returns to step one.
The UE acquiring the transmission time-frequency resource needs to periodically transmit the acquired common block information under the condition of acquiring the transmission authority by itself in the time periods of (1) to (5) above.
Alternatively, for a UE newly acquiring transmission time-frequency resources, periodic transmission should be performed again from the stage (2) to acquire information stored in the common block, such as resource allocation information.
As shown in fig. 7, fig. 7 is a first module schematic diagram of a resource allocation device provided by the present invention, and the resource allocation device 100 provided by the present invention includes:
the determining module 110 is configured to determine, when receiving time-frequency resource application information sent by a node, a benefit value of the node according to the time-frequency resource application information, where the time-frequency resource application information includes a service quality of a service of the node, a buffer status report, and a waiting duration for waiting for resource allocation;
the transaction module 120 is configured to determine resource allocation information according to the benefit value, and perform resource transaction according to the resource allocation information;
a sending module 130, configured to package the resource allocation information and the transaction data of the resource transaction into blocks, and send the blocks to the node;
the first adding module 140 is configured to receive the broadcast signal of the block, and add the block to the blockchain when the block is successfully verified according to a preset consensus algorithm.
Or alternatively, the process may be performed,
as shown in fig. 8, fig. 8 is a second module schematic diagram of a resource allocation device provided by the present invention, and a resource allocation device 200 provided by the present invention includes:
a determining and sending module 210, configured to determine a target node according to the monitored signal strength of the node, and send time-frequency resource application information to the target node, where the time-frequency resource application information includes a service quality of a service of the node, a buffer status report, and a waiting duration for waiting for resource allocation;
the calculation broadcast module 220 is configured to calculate the block according to a preset algorithm to obtain a release right of the block when receiving the block that is fed back by the target node based on the time-frequency resource application, and broadcast the block in a blockchain;
a second adding module 230, configured to add the block to the blockchain, where the block stores resource allocation information and transaction data of a resource transaction.
The specific implementation manner of the resource allocation system of the present invention is basically the same as the above embodiments of the resource allocation method, and will not be repeated here.
The invention also provides a terminal device, which is a first terminal or a second terminal, and comprises: the method comprises a memory, a processor and a resource allocation program stored in the memory and capable of running on the processor, wherein when the terminal equipment is a first terminal, the resource allocation program is executed by the processor of the first terminal to realize the steps of the resource allocation method applied to the first terminal in any embodiment, and when the terminal equipment is a second terminal, the resource allocation program is executed by the processor of the second terminal to realize the steps of the resource allocation method applied to the second terminal in any embodiment.
The present invention also proposes a storage medium having stored thereon a resource allocation program which, when executed by a processor, implements the steps of the resource allocation method according to any of the embodiments above.
The embodiments of the terminal device and the storage medium provided by the present invention include all technical features of each embodiment of the above-mentioned resource allocation method, and the expansion and explanation contents of the description are basically the same as those of each embodiment of the above-mentioned resource allocation method, and are not repeated here.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. A resource allocation method, characterized in that the resource allocation method comprises:
when receiving time-frequency resource application information sent by a node, determining a benefit value of the node according to the time-frequency resource application information, wherein the time-frequency resource application information comprises service quality of service of the node, a buffer status report and waiting time for waiting for resource allocation;
determining resource allocation information according to the rights and interests value, and carrying out resource transaction according to the resource allocation information;
packaging the resource allocation information and the transaction data of the resource transaction into blocks, and sending the blocks to the node;
and when the broadcast signal of the block is received and the block is successfully verified according to a preset consensus algorithm, adding the block to the block chain.
2. The method of claim 1, wherein the step of determining the benefit value of the node based on the time-frequency resource application information comprises:
determining a token value according to the service quality and the buffer status report in the time-frequency resource application information;
and determining the benefit value of the node according to the token value and the waiting time length for waiting for resource allocation in the time-frequency resource application information, wherein the larger the waiting time length is, the larger the benefit value is.
3. The method of claim 1, wherein the greater the benefit value, the greater the probability of the node acquiring time-frequency resources in the resource allocation information.
4. A resource allocation method, characterized in that the resource allocation method comprises:
when a target node is determined according to the monitored signal intensity of the node, time-frequency resource application information is sent to the target node, wherein the time-frequency resource application information comprises service quality of service of the node, a buffer status report and waiting time for waiting for resource allocation;
when receiving a block fed back by the target node based on the time-frequency resource application, calculating the block according to a preset algorithm to obtain the release right of the block, and broadcasting the block in a block chain;
the block is added to the blockchain, and the block stores resource allocation information and transaction data of resource transactions.
5. The method of claim 4, wherein the step of determining the target node based on the monitored signal strength of the node comprises:
and acquiring the node corresponding to the maximum signal intensity in the monitored nodes, and determining the node as a target node.
6. The method of claim 4, wherein after the step of adding the block to the blockchain, further comprising:
and broadcasting the resource allocation information stored in the block, and selecting time-frequency resources to send service data according to the resource allocation information.
7. The method of claim 4, wherein the resource allocation method further comprises:
and when the target node cannot be determined according to the monitored signal strength of the node, determining a resource pool corresponding to the current position information, and selecting a transmission resource from the resource pool.
8. A resource allocation apparatus, characterized in that the resource allocation apparatus comprises:
the system comprises a determining module, a processing module and a processing module, wherein the determining module is used for determining the benefit value of a node according to time-frequency resource application information when receiving the time-frequency resource application information sent by the node, and the time-frequency resource application information comprises the service quality of the service of the node, a buffer status report and the waiting time for waiting for resource allocation;
the transaction module is used for determining resource allocation information according to the rights and interests value and carrying out resource transaction according to the resource allocation information;
the sending module is used for packaging the resource allocation information and the transaction data of the resource transaction into blocks and sending the blocks to the node;
the first adding module is used for receiving the broadcast signal of the block and adding the block to the block chain when the block is successfully verified according to a preset consensus algorithm; or alternatively, the process may be performed,
the determining and sending module is used for determining a target node according to the monitored signal strength of the node, and sending time-frequency resource application information to the target node, wherein the time-frequency resource application information comprises service quality of the service of the node, a buffer status report and waiting time length for waiting for resource allocation;
the calculation broadcasting module is used for calculating the block according to a preset algorithm to obtain the release right of the block when receiving the block which is fed back by the target node based on the time-frequency resource application, and broadcasting the block in a block chain;
and the second adding module is used for adding the block to the block chain, and the block stores resource allocation information and transaction data of resource transactions.
9. A terminal device, characterized in that the terminal device comprises: memory, a processor and a resource allocation program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the resource allocation method according to any of claims 1-7.
10. A storage medium having stored thereon a resource allocation program which when executed by a processor implements the steps of the resource allocation method of any of claims 1-7.
CN202210971430.2A 2022-08-12 2022-08-12 Resource allocation method, device, terminal equipment and storage medium Pending CN116997003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210971430.2A CN116997003A (en) 2022-08-12 2022-08-12 Resource allocation method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210971430.2A CN116997003A (en) 2022-08-12 2022-08-12 Resource allocation method, device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116997003A true CN116997003A (en) 2023-11-03

Family

ID=88520073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210971430.2A Pending CN116997003A (en) 2022-08-12 2022-08-12 Resource allocation method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116997003A (en)

Similar Documents

Publication Publication Date Title
CN104869526B (en) A kind of communication of device-to-device and its resource allocation methods, equipment
KR101002909B1 (en) Resource exchange discovery in a cellular communication system
JP5104769B2 (en) Communications system
US9191987B2 (en) Determining “fair share” of radio resources in radio access system with contention-based spectrum sharing
WO2017148205A1 (en) Data transmission method and apparatus
CN111757291B (en) Communication method and device
JP4824772B2 (en) Resource scheduling in cellular systems
CN110381602A (en) Method, the network equipment and the user equipment of random access
JP6438132B2 (en) Data transmission method, resource measurement method, apparatus, and device
US10601619B2 (en) Method and device for processing unauthorized carrier
WO2015062507A1 (en) Method and device for transmission of d2d resource configuration information
JP7482236B2 (en) Resource exclusion method, apparatus, device and storage medium
CN108055703B (en) Channel occupation method, master device and slave device
CN109756986B (en) Uplink data packet resource allocation method and user terminal
CN108282905B (en) Random access method and network element thereof
CN110913485A (en) Resource allocation method, resource competition method and related device
JP6851537B2 (en) Systems and methods for high bandwidth UE random access with subset limitations
CN109151832B (en) Authorization-free resource access method, scheduling method and device, storage medium, terminal and base station
US20170245283A1 (en) Method and Network Node for Dynamic Resource Allocation for Control Channels
KR102049047B1 (en) Method of data transmitting and receiving in the talk-around direct communication network
CN105813087A (en) Data transmission method and frequency spectrum resource sharing method and device
WO2012174912A1 (en) Method and device for sending interference coordination request
CN105981469B (en) Data transmission processing method and device
CN116997003A (en) Resource allocation method, device, terminal equipment and storage medium
CN110972280A (en) Resource allocation method, information sending method and device

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