CN116437480A - Resource allocation method and device for D2D communication, medium and program product - Google Patents

Resource allocation method and device for D2D communication, medium and program product Download PDF

Info

Publication number
CN116437480A
CN116437480A CN202111669745.3A CN202111669745A CN116437480A CN 116437480 A CN116437480 A CN 116437480A CN 202111669745 A CN202111669745 A CN 202111669745A CN 116437480 A CN116437480 A CN 116437480A
Authority
CN
China
Prior art keywords
user equipment
channel
service
resource
time domain
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
CN202111669745.3A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111669745.3A priority Critical patent/CN116437480A/en
Priority to PCT/CN2022/135612 priority patent/WO2023124731A1/en
Publication of CN116437480A publication Critical patent/CN116437480A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/02Selection of wireless resources by user or terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/40Resource management for direct mode communication, e.g. D2D or sidelink
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies

Landscapes

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

Abstract

The application discloses a method and device for allocating resources for D2D communication, a medium and a program product. The method comprises the following steps: when first user equipment is accessed to second user equipment, the second user equipment receives a link establishment request message from the first user equipment, wherein the link establishment request message comprises a first channel interception result of the first user equipment; the second user equipment sends a link establishment response to the first user equipment, wherein the link establishment response comprises first service resource information which is determined according to a first channel interception result and a second channel interception result of the second user equipment; and the second user equipment transmits service data with the first user equipment at the service resource position indicated by the first service resource information. By adopting the scheme of the application, the service resources can be accurately determined, the transmission of service data can be reliably realized, and the service resource conflict when a plurality of user equipment are accessed simultaneously is avoided.

Description

Resource allocation method and device for D2D communication, medium and program product
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for allocating resources in device-to-device (D2D) communications, a medium, and a program product.
Background
The centralized network includes a management device and a plurality of member devices. As shown in the flow chart of the member device accessing the network with the center in fig. 1, when the member device needs to join the network with the center, it is necessary to search for the management device and send a message1 (MSG 1) to the management device at a specific time domain location. After receiving the MSG1, the management device sends a message2 (MSG 2) to the member device, and allocates an access resource candidate table to the member device. The member device, after receiving the MSG2 sent by the management device, sends a message3 (message 3, MSG 3). After receiving the MSG3 of the member device, the management device authenticates the member device and sends the authentication result to the member device through message4 (MSG 4). If the authentication is passed, the service resource is allocated to the member equipment, and the member equipment can transmit the service data only when the member equipment has the service resource.
The cellular network allocates service resources to the user equipment by indicating the service resources in downlink control information (downlink control information, DCI), and the user equipment can transmit data after receiving the DCI of the access network equipment. The access network equipment is required to issue DCI to allocate service resources each time the user equipment transmits data, and the mechanism can cause the increase of the power consumption of the user equipment and the increase of the consumption of air interface resources when being used for a network with a center.
Long term evolution (long term evolution, LTE) vehicular wireless communication technology (V2X) interception and resource reservation are user equipment autonomous resource allocation schemes based on a centerless network. Before the user equipment needs to send service data, firstly interception is carried out for a period of time, the resources used by other user equipment are eliminated according to the lateral control information (sidelink control information, SCI) and signal energy which are heard, and then the service resources of the user equipment are obtained by random selection in the rest resource set. As shown in the LTE V2X interception and resource reservation schematic diagram of fig. 2, before the user equipment 2 sends service data in the resource interception window, excluding the resources already used by the user equipment 1, and performing random selection in the remaining resource set to obtain the service resources of the user equipment; similarly, before the user equipment 3 sends service data, the resources used by the user equipment 1 and the user equipment 2 are removed, and the service resources of the user equipment are obtained by randomly selecting in the rest resource set. However, since the user equipment firstly excludes the resources already occupied by other user equipment when selecting the resources, and then randomly selects the resources from the rest idle resources, when a plurality of user equipment simultaneously select the resources, the same service resources can be selected with a certain probability.
In particular, as shown in the schematic diagram of the hidden user equipment in fig. 3, the user equipment has a problem of the hidden user equipment when performing autonomous resource selection. The ue 2 and the ue 3 need to send data at the same time, and the ue 2 and the ue 3 cannot hear each other due to the long distance between the ue 2 and the ue 3, so that the service resources selected by the ue 2 and the ue 3 may be the same resource, and the ue 1 located between the ue 2 and the ue 3 cannot normally receive the data of the ue 2 and the ue 3.
In addition, the third generation partnership project (3 rd generation partnership project,3 GPP) defined D2D network-free coverage resource selection is based on random resource selection, the user equipment randomly selecting transmission resources for transmission when data needs to be transmitted. However, when a plurality of user equipments transmit data at the same time, transmission resource collision occurs, and reliability of resource allocation cannot be ensured.
In view of this, how to reliably allocate resources for D2D communication for a network with a center, and avoid traffic resource collision when a plurality of user equipments are simultaneously accessed, is a problem to be solved in the present application.
Disclosure of Invention
The application provides a resource allocation method and device for D2D communication, a medium and a program product, so as to realize reliable resource allocation for D2D communication and avoid business resource conflict when a plurality of user equipment are accessed simultaneously.
In a first aspect, a method for allocating resources for D2D communication is provided, where the method includes: when first user equipment is accessed to second user equipment, the second user equipment receives a link establishment request message from the first user equipment, wherein the link establishment request message comprises a first channel interception result of the first user equipment; the second user equipment sends a link establishment response to the first user equipment, wherein the link establishment response comprises first service resource information which is determined according to the first channel interception result and a second channel interception result of the second user equipment; and the second user equipment transmits service data with the first user equipment at the service resource position indicated by the first service resource information. In the aspect, the second user equipment determines the first service resource information according to the first channel interception result and the second channel interception result of the second user equipment by receiving the first channel interception result of the first user equipment, and the first user equipment transmits service data according to the first service resource information, so that service resources can be accurately determined, the first user equipment can reliably realize the transmission of the service data, and the service resource conflict when a plurality of user equipment are accessed simultaneously is avoided.
In one possible implementation, the first service resource information includes at least one of the following information: the service resource identification, service resource location, service resource period, number of service resources allocated in each period, transmission interval between service resources allocated in each period, and number of service resource reservations. In the implementation, the information of the service resources reserved by the second user equipment for the first user equipment is accurately described, so that the first user equipment can accurately transmit service data according to the first service resource information.
In another possible implementation, the first channel listening result is a listening result of the first user equipment to a channel between at least one third user equipment within communication range with the first user equipment; and the second channel interception result is a result of interception of a channel between the second user equipment and at least one fourth user equipment within a communication range of the second user equipment. In this implementation, the communication range of the first user equipment may be the same as or different from the communication range of the second user equipment, so that it may be avoided that a channel condition between the first user equipment and the hidden user equipment cannot be detected, resulting in a collision of allocated service resources.
In yet another possible implementation, the method further includes: the second user equipment receives a third channel interception result from at least one fifth user equipment, wherein the third channel interception result is a interception result of a channel between the at least one fifth user equipment and at least one sixth user equipment in a communication range of the at least one fifth user equipment; the first service resource information is determined according to the second channel interception result, the first channel interception result and the third channel interception result. In this implementation, the first service resource information may be further determined according to a channel interception result of the second user equipment and a channel interception result of the at least one fifth user equipment. At least one fifth user equipment is a user equipment other than the first user equipment in the network managed by the second user equipment. The at least one fifth user equipment can perform channel interception in the communication range of the at least one fifth user equipment, and the communication range of the at least one fifth user equipment can be the same as or different from the communication range of the first user equipment and the second user equipment, so that channel conditions between the at least one fifth user equipment and the hidden user equipment can be avoided from being intercepted, and the allocated access resource conflicts can be avoided.
In yet another possible implementation, the method further includes: the second user equipment monitors the channel intensity of any sub-band of the data channel at least at one time domain resource position to obtain a second channel monitoring result; the second user equipment monitors that the signal strength of any sub-band of a data channel at any time domain resource position is larger than or equal to a first threshold value, and updates any time domain resource position to be busy; and the second user equipment continuously monitors that the signal strength of any sub-band of the data channel at any time domain resource position for a set number of times is smaller than or equal to a second threshold value, and updates any time domain resource position to be free of the channel, wherein the second threshold value is smaller than the first threshold value. In this implementation, the second user equipment may update the second channel interception result in real time according to the current channel interception result, so as to accurately allocate the service resource.
In yet another possible implementation, the second ue listens to any subband of the data channel at any time domain resource location for a signal strength greater than or equal to a first threshold, and updates the any time domain resource location to be busy, including: and the second user equipment monitors that the signal strength of any sub-band of the data channel at any time domain resource position r is greater than or equal to the first threshold value, and sets the ith bit in a second resource bitmap as a first value, wherein i=r% q, wherein the second resource bitmap comprises q bits, and% represents remainder operation.
In another possible implementation, the second ue continuously listens to the set times that the signal strength of any subband of the data channel at any time domain resource location is less than or equal to a second threshold value, and updating the any time domain resource location to be idle includes: and the second user equipment continuously detects that the signal strength of any sub-band of the data channel on the s time domain resource positions corresponding to the ith bit of the set times is smaller than or equal to the second threshold value, and the ith bit in the second resource bitmap is set to be a second value.
In yet another possible implementation, the first channel listening result includes a first resource bitmap or first idle time domain resource information; the second channel interception result includes the second resource bitmap or second idle time domain resource information.
In yet another possible implementation, the method further includes: and when the second user equipment monitors that the number of times that the first user equipment uses the service resources to carry out service data transmission reaches the reserved number of times of the service resources, the second user equipment sends second service resource information. In this implementation, the second ue initially reserves a certain number of service resources for the first ue, and when it is monitored that the number of times that the first ue uses the service resources to perform service data transmission reaches the reserved number of times of service resources, the second ue allocates service resources to the first ue again, where the second service resource information may be completely the same as, partially the same as, or completely different from the first service resource information.
In a second aspect, there is provided a method for allocating resources for D2D communication, the method comprising: when first user equipment accesses second user equipment, the first user equipment sends a link establishment request message to the second user equipment, wherein the link establishment request message comprises a first channel interception result of the first user equipment; the first user equipment receives a link establishment response from the second user equipment, wherein the link establishment response comprises first service resource information which is determined according to the first channel interception result and a second channel interception result of the second user equipment; and the first user equipment transmits service data at the service resource position indicated by the first service resource information. In the aspect, the first user equipment receives first service resource information sent by the second user equipment, the first service resource information is determined by the second user equipment according to a first channel interception result and a second channel interception result of the second user equipment, and the first user equipment transmits service data according to the first service resource information, so that the first user equipment can reliably realize transmission of the service data and avoid service resource conflict when a plurality of user equipment are accessed simultaneously.
In one possible implementation, the first service resource information includes at least one of the following information: the service resource identification, service resource location, service resource period, number of service resources allocated in each period, transmission interval between service resources allocated in each period, and number of service resource reservations.
In another possible implementation, the first channel listening result is a listening result of the first user equipment to a channel between at least one third user equipment within communication range with the first user equipment; the second channel interception result is a result of interception of a channel between the second user equipment and at least one fourth user equipment within a communication range of the second user equipment.
In yet another possible implementation, the method further includes: the first user equipment monitors the channel intensity of any sub-band of the data channel at least at one time domain resource position to obtain the first channel monitoring result; the first user equipment monitors that the signal strength of any sub-band of a data channel at any time domain resource position is larger than or equal to a first threshold value, and updates any time domain resource position to be busy; and the first user equipment continuously monitors that the signal strength of any sub-band of the data channel at any time domain resource position for a set number of times is smaller than or equal to a second threshold value, and updates any time domain resource position to be free of the channel, wherein the second threshold value is smaller than the first threshold value.
In another possible implementation, the first user equipment listens to any subband of the data channel at any time domain resource location that the signal strength of any subband is greater than or equal to a first threshold value, and updates the any time domain resource location to be busy, including: the first user equipment monitors that the signal strength of any sub-band of the data channel at any time domain resource position n is greater than or equal to the first threshold value, and the j-th bit in the first resource bitmap is set to be a first value, wherein j=n% p, wherein the resource bitmap comprises p bits, and% represents remainder operation.
In another possible implementation, the first ue continuously listens to the set times that the signal strength of any subband of the data channel at any time domain resource location is less than or equal to a second threshold value, and updating the any time domain resource location to be idle includes: and the first user equipment continuously detects that the signal strength of any sub-band of the data channel on m time domain resource positions corresponding to the j-th bit of the set times is smaller than or equal to a second threshold value, and the j-th bit in the second resource bitmap is set to be a second value.
In yet another possible implementation, the first channel listening result includes the first resource bitmap or first idle time domain resource information; the second channel interception result includes a second resource bitmap or second idle time domain resource information.
In yet another possible implementation, the method further includes: and when the number of times of service data transmission by the first user equipment using the service resources reaches the reserved number of times of the service resources, receiving second service resource information from the second user equipment.
In a third aspect, a resource allocation apparatus for D2D communication is provided. The resource allocation apparatus for D2D communication may implement the method in the first aspect. The resource allocation means of the D2D communication may be, for example, a chip or a terminal. The method can be realized by software, hardware and corresponding software executed by hardware.
In one possible implementation, the apparatus includes: a transmitting/receiving unit; wherein: the receiving and transmitting unit is configured to receive a link establishment request message from a first user equipment when the first user equipment accesses the device, where the link establishment request message includes a first channel interception result of the first user equipment; the receiving and transmitting unit is further configured to send a link establishment response to the first user equipment, where the link establishment response includes first service resource information, and the first service resource information is determined according to the first channel interception result and a second channel interception result of the device itself; and the receiving and transmitting unit is further configured to transmit service data with the first user equipment at the service resource location indicated by the first service resource information.
Optionally, the first service resource information includes at least one of the following information: the service resource identification, service resource location, service resource period, number of service resources allocated in each period, transmission interval between service resources allocated in each period, and number of service resource reservations.
Optionally, the first channel interception result is an interception result of a channel between the first user equipment and at least one third user equipment within a communication range of the first user equipment; the second channel listening result is a listening result of the apparatus to a channel between at least one fourth user equipment within communication range with the apparatus.
Optionally, the transceiver unit is further configured to receive a third channel interception result from at least one fifth user equipment, where the third channel interception result is a result of interception of a channel between the at least one fifth user equipment and at least one sixth user equipment within a communication range of the at least one fifth user equipment; the first service resource information is determined according to the second channel interception result, the first channel interception result and the third channel interception result.
Optionally, the apparatus further comprises: a processing unit; wherein: the processing unit is used for monitoring the channel intensity of any sub-band of the data channel at least at one time domain resource position to obtain the second channel monitoring result; the processing unit is further configured to monitor that a signal strength of any subband of the data channel at any time domain resource location is greater than or equal to a first threshold value, and update the any time domain resource location to be channel busy; and the processing unit is further configured to continuously monitor that the signal strength of any subband of the data channel at the resource position of any time domain for a set number of times is less than or equal to a second threshold value, and update the resource position of any time domain to be free of the channel, where the second threshold value is less than the first threshold value.
Optionally, the processing unit is further configured to monitor that a signal strength of any subband of the data channel at any time domain resource location r is greater than or equal to the first threshold, and set an i-th bit in a second resource bitmap as a first value, where i=r% q, where the second resource bitmap includes q bits, and% represents a remainder operation.
Optionally, the processing unit is further configured to continuously hear that the signal strength of any subband of the data channel at s time domain resource positions corresponding to the ith bit of the set number of times is less than or equal to the second threshold value, and set the ith bit in the second resource bitmap as a second value.
Optionally, the first channel interception result includes a first resource bitmap or first idle time domain resource information; the second channel interception result includes the second resource bitmap or second idle time domain resource information.
Optionally, the transceiver unit is further configured to send second service resource information when it is monitored that the number of times of service data transmission performed by the device using the service resource reaches the reserved number of times of the service resource.
In another possible implementation manner, the resource allocation apparatus for D2D communication is configured to perform the method in the first aspect and its various possible implementations.
In a fourth aspect, a resource allocation apparatus for D2D communication is provided. The resource allocation apparatus for D2D communication may implement the method in the second aspect described above. The resource allocation means of the D2D communication may be, for example, a chip or a terminal. The method can be realized by software, hardware and corresponding software executed by hardware.
In one possible implementation, the apparatus includes: a transmitting/receiving unit; wherein: the receiving and transmitting unit is configured to send a link establishment request message to a second user equipment when the device accesses the second user equipment, where the link establishment request message includes a first channel interception result of the device; the receiving and transmitting unit is further configured to receive a link establishment response from the second user equipment, where the link establishment response includes first service resource information, and the first service resource information is determined according to the first channel interception result and a second channel interception result of the second user equipment; and the receiving and transmitting unit is further configured to transmit service data at a service resource location indicated by the first service resource information.
Optionally, the first service resource information includes at least one of the following information: the service resource identification, service resource location, service resource period, number of service resources allocated in each period, transmission interval between service resources allocated in each period, and number of service resource reservations.
Optionally, the first channel interception result is a result of interception by the apparatus of a channel between at least one third user equipment within communication range with the apparatus; the second channel interception result is a result of interception of a channel between the second user equipment and at least one fourth user equipment within a communication range of the second user equipment.
Optionally, the apparatus further comprises: a processing unit; wherein: the processing unit is configured to monitor a channel strength of any subband of the data channel at the at least one time domain resource location, so as to obtain the first channel monitoring result; the processing unit is further configured to monitor that a signal strength of any subband of the data channel at any time domain resource location is greater than or equal to a first threshold value, and update the any time domain resource location to be channel busy; and the processing unit is further configured to continuously monitor that the signal strength of any subband of the data channel at the resource position of any time domain for a set number of times is less than or equal to a second threshold value, and update the resource position of any time domain to be free of the channel, where the second threshold value is less than the first threshold value.
Optionally, the processing unit is further configured to monitor that a signal strength of any subband of the data channel at any time domain resource location n is greater than or equal to the first threshold, and set a j-th bit in the first resource bitmap to be a first value, where j=n% p, where the resource bitmap includes p bits, and% represents a remainder operation.
Optionally, the processing unit is further configured to continuously detect that the signal strength of any subband of the data channel at m time domain resource positions corresponding to the jth bit of the set number of times is less than or equal to a second threshold, and set the jth bit in the second resource bitmap to a second value.
Optionally, the first channel interception result includes the first resource bitmap or first idle time domain resource information; the second channel interception result includes a second resource bitmap or second idle time domain resource information.
Optionally, the transceiver unit is further configured to receive second service resource information from the second user equipment when the number of times of service data transmission using the service resource reaches the reserved number of times of the service resource.
In another possible implementation manner, the resource allocation device for D2D communication is configured to perform the method in the second aspect and its various possible implementations.
In a further possible implementation manner, the resource allocation device for D2D communication in the third or fourth aspect includes a processor coupled to the memory; the processor is configured to support the apparatus to perform corresponding functions in the above-described resource allocation method for D2D communication. The memory is used to couple with the processor, which holds the computer program (or computer-executable instructions) and/or data necessary for the device. Optionally, the resource allocation device of D2D communication may further comprise a communication interface for supporting communication between the device and other network elements, such as transmission or reception of data and/or signals. By way of example, the communication interface may be a transceiver, circuit, bus, module, or other type of communication interface. Alternatively, the memory may be located within the resource allocation device of the D2D communication, integrated with the processor; or may be located outside the resource allocation device of the D2D communication.
In a further possible implementation manner, the resource allocation device for D2D communication in the third aspect or the fourth aspect includes a processor and a transceiver device, where the processor is coupled to the transceiver device, and the processor is configured to execute a computer program or instructions to control the transceiver device to receive and send information; the processor is also adapted to implement the above-described methods by logic circuits or executing code instructions when the processor executes the computer program or instructions. The transceiver may be a transceiver, a transceiver circuit, or an input/output interface, and is configured to receive signals from a resource allocation device of D2D communication other than the resource allocation device of D2D communication and transmit the signals to the processor or send the signals from the processor to a resource allocation device of D2D communication other than the resource allocation device of D2D communication. When the resource allocation device for D2D communication is a chip, the transceiver is a transceiver circuit or an input/output interface.
When the resource allocation device for D2D communication in the above third or fourth aspect is a chip, the transmission unit may be an output unit, such as an output circuit or a communication interface; the receiving unit may be an input unit such as an input circuit or a communication interface. When the resource allocation device of D2D communication is a terminal, the transmitting unit may be a transmitter or a transmitter; the receiving unit may be a receiver or a receiver.
In a fifth aspect, a communication system is provided, the communication system comprising a resource allocation device implementing the D2D communication as in any of the third or third aspects, and at least one resource allocation device implementing the D2D communication as in any of the fourth or fourth aspects.
In a sixth aspect, there is provided a computer readable storage medium having stored thereon a computer program or instructions which, when executed by a processor, is executed by a method as described in the first aspect or any implementation of the first aspect, or is executed by a method as described in the second aspect or any implementation of the second aspect.
In a seventh aspect, there is provided a computer program product which, when executed on a computing device, causes the method as described in the first aspect or any implementation of the first aspect to be performed or the method as described in the second aspect or any implementation of the second aspect to be performed.
Drawings
Fig. 1 is a schematic flow chart of a member device accessing a central network;
fig. 2 is a schematic diagram of LTE V2X interception and resource reservation;
FIG. 3 is a schematic diagram of a hidden user device;
fig. 4 is a schematic diagram of a communication system according to an embodiment of the present application;
fig. 5 is a flow chart of a resource allocation method for D2D communication according to an embodiment of the present application;
fig. 6 is a flowchart of another method for allocating resources in D2D communication according to an embodiment of the present application;
fig. 7 is a schematic diagram of at least one first idle time domain resource indicated by the first idle time domain resource information illustrated in the present application;
fig. 8 is a schematic structural diagram of a resource allocation device for D2D communication according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another resource allocation apparatus for D2D communication according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below with reference to the accompanying drawings in the embodiments of the present application.
The present application proposes a centered communication system architecture under no cellular network coverage. As shown in fig. 4, a schematic structural diagram of a communication system provided in the present application, where the communication system 4000 is located in a first network, the communication system 4000/the first network includes a second User Equipment (UE) 401 and a first UE 402. The communication system 4000 may further comprise at least one fifth user equipment 403 (3 fifth user equipments and connections between the 3 fifth user equipments and the first user equipment and the second user equipment are illustrated in dotted lines in the figure), and the number of the fifth user equipments is not limited in this application, and may be a non-negative integer number). The second user device 401 is the center of the first network and is responsible for the establishment and management of the network, and may therefore also be referred to as a management device. Each network with a center has only one management device, but the management device may be changed. The first user equipment 402 and at least one fifth user equipment 403 become member equipment of the management device after being synchronized to the second user equipment 401. The first user device 402 needs to synchronize to the second user device 401 and access the network before it can communicate with other member devices. A centralized network may have multiple member devices.
Wherein the second user equipment 401: and the method is responsible for synchronous information transmission in the first network, member equipment access management and equipment identification allocation, member list maintenance, communication resource allocation and recovery in the first network, message transfer in the first network, inter-network identification conflict detection and update and the like.
First user device 402: and after the management equipment is synchronized with the first network created by the management equipment, the management equipment sends the state of the management equipment through heartbeat messages at regular intervals. The first user device 402 may communicate with any member device in the first network, or may select a portion of the member devices to form a multicast group for communication.
The second user device 401, the first user device 402, the at least one fifth user device 403 may be D2D devices. By way of example, a D2D device may refer to a terminal in D2D communication. The terminal is a node with a wireless receiving and transmitting function, can be deployed on land, and comprises an indoor or outdoor, handheld, wearable or vehicle-mounted; the device can also be deployed on the water surface, such as a ship, etc.; but also can be deployed in the air, such as on an airplane, an unmanned plane, a balloon, a satellite and the like. The D2D device may be a mobile phone (mobile phone), a tablet (pad), a computer with a wireless transceiving function, a terminal in a car-to-everything (vehicle to everything, V2X), a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in an industrial control (industrial control), a wireless terminal in an unmanned (self-driving), a wireless terminal in a telemedicine (remote medium), a wireless terminal in a smart grid (smart grid), a wireless terminal in a transportation security (transportation safety), a wireless terminal in a smart city (smart city), a wireless terminal in a smart home (smart home), or the like. The embodiments of the present application are not limited to application scenarios. A terminal may also be referred to as a User Equipment (UE), an access terminal device, a UE unit, a mobile station, a remote terminal device, a mobile device, a wireless communication device, a UE agent, a UE apparatus, or the like.
The problem of resource conflict may exist when service resources are allocated to a plurality of user equipments according to the background art. The application provides a resource allocation scheme of D2D communication, a second user equipment acquires a first channel interception result of a first user equipment, determines service resource information according to the first channel interception result and a second channel interception result of the second user equipment, and the first user equipment transmits service data according to a service resource position indicated by the service resource information. Therefore, the service resource can be accurately determined, the transmission of service data is reliably realized, and the service resource conflict when a plurality of user equipment are accessed simultaneously is avoided.
The scheme can be further applied to a cellular network, and for the scene that a plurality of user equipment in the cellular network are simultaneously accessed to a base station, the scheme can be used for solving the problem of business resource conflict among the plurality of user equipment.
Based on the architecture of the communication system shown in fig. 4, the following describes in detail the resource allocation scheme of D2D communication provided in the embodiment of the present application:
as shown in fig. 5, a flow chart of a method for allocating resources for D2D communication according to an embodiment of the present application may include the following steps:
S501, when the first user equipment is accessed to the second user equipment, the first user equipment sends a link establishment request message to the second user equipment. The link establishment request message includes a first channel interception result of the first user equipment.
Correspondingly, the second user equipment receives the link establishment request message.
For a network with a center, first one user equipment is selected as a management device, for example, the second user equipment is selected as a management device in this embodiment. The management device provides a synchronization source. And the other user equipment performs synchronous discovery by taking the synchronous signal of the second user equipment as a target, and performs random access processing after the synchronous discovery is completed to form a network with a center. The present embodiment is described taking the first ue randomly accessing the network with center as an example.
When the first user equipment needs to join the network with the center, the synchronous signal broadcasted by the second user equipment needs to be searched first. And after the first user equipment searches the synchronous signal, sending an access request to the second user equipment. The access request is for requesting access to the network. The access request may be referred to as a random access request, a random access preamble, a message 1, etc. The second user equipment receives the access request.
For example, there may be multiple first user devices accessing the network at the same time. The second user equipment receives the access requests of the plurality of first user equipment.
And after receiving the access request sent by the first user equipment, the second user equipment sends an access response to the first user equipment. The access response is a response to the access request. This access response may be referred to as a random access response (random access response, RAR), message 2, etc. The first user equipment receives the access response.
And after receiving the access response, the first user equipment sends a link establishment request message to the second user equipment. The link establishment request message is for requesting establishment of a link with the network or the second user equipment. This chaining request message may also be referred to as message 3.
In this embodiment, when the first ue searches for the synchronization signal broadcasted by the second ue, channel interception is performed to obtain a first channel interception result. The first user device listens to a channel between itself and at least one third user device within communication range. The first channel listening result is a listening result of the first user equipment to a channel between at least one third user equipment within communication range with the first user equipment. The link establishment request message includes a first channel interception result of the first user equipment.
S502, the second user equipment sends a link establishment response to the first user equipment.
Correspondingly, the first user equipment receives the link establishment response.
The second user equipment may perform channel listening after creating the centered network. The second user equipment may be configured to monitor a channel between the second user equipment and at least one fourth user equipment within communication range of the second user equipment. I.e. the second channel interception result is the result of interception of the channel by the second user equipment between at least one fourth user equipment within communication range with the second user equipment. For example, the communication range of the second user device may be the same as or different from the communication range of the first user device.
And the second user equipment authenticates the first user equipment after receiving the link establishment request of the first user equipment, and sends a link establishment response to the first user equipment. And if the authentication is passed, distributing service resources to the first user equipment. The first user equipment can transmit service data only when service resources are available.
And the second user equipment determines the first service resource information according to the received first channel interception result and the second channel interception result of the second user equipment. The first service resource information is used for indicating a service resource position of the first user equipment for service data transmission.
And the second user equipment sends a link establishment response to the first user equipment after determining the first service resource information. The link establishment response comprises the first service resource information.
S503, the first user equipment transmits service data at the service resource position indicated by the first service resource information.
Correspondingly, the second user equipment transmits service data with the first user equipment at the service resource position indicated by the first service resource information.
After the first user equipment receives the first service resource information, the service data can be transmitted between the service resource position indicated by the first service resource information and the second user equipment or other user equipment. Because the first service resource information is determined by the second user equipment according to the first channel interception result and the second channel interception result of the second user equipment, the service resource conflict when a plurality of user equipment are accessed simultaneously can be avoided, and therefore the first user equipment can reliably realize the transmission of service data.
According to the resource allocation method for D2D communication, the second user equipment receives the first channel interception result of the first user equipment, determines first service resource information according to the first channel interception result and the second channel interception result of the second user equipment, and the first user equipment transmits service data according to the first service resource information, so that service resources can be accurately determined, the first user equipment can reliably realize transmission of service data, and service resource conflicts when a plurality of user equipment are accessed simultaneously are avoided.
As shown in fig. 6, a flow chart of another method for allocating resources for D2D communication according to an embodiment of the present application may include the following steps:
s601, the first user equipment monitors the channel intensity of any sub-band of the data channel at least at one time domain resource position to obtain a first channel monitoring result.
For a network with a center, first one user equipment is selected as a management device, for example, the second user equipment is selected as a management device in this embodiment. The management device provides a synchronization source. And the other user equipment performs synchronous discovery by taking the synchronous signal of the second user equipment as a target, and performs random access processing after the synchronous discovery is completed to form a network with a center. The present embodiment is described taking the first ue randomly accessing the network with center as an example.
When the first user equipment needs to join the network with the center, the synchronous signal broadcasted by the second user equipment needs to be searched first. After the first user equipment searches the synchronization signal, the first user equipment becomes a member equipment of the network.
And when the first user equipment searches the synchronous signal broadcasted by the second user equipment, channel interception is carried out to obtain a first channel interception result. The first user device listens to a channel between itself and at least one third user device within communication range. The first channel listening result is a listening result of the first user equipment to a channel between at least one third user equipment within communication range with the first user equipment.
The first user equipment illustratively performs channel listening on at least one time domain resource when searching for a synchronization signal broadcast by the second user equipment. The units of the time domain resource may be subframes, slots, minislots, etc. The present embodiment is described taking a unit of time domain resource as a subframe as an example. The first user equipment may perform channel sensing on 0 to 10239 subframes. The channel listening result may be characterized by a first resource bitmap. For example, the first resource bitmap may include 160 bits. The first resource bitmap initially being all 0's indicates that all subframes are idle.
S602, the first user equipment monitors that the signal strength of any sub-band of a data channel at any time domain resource position is larger than or equal to a first threshold value, and updates any time domain resource position to be busy.
The first user equipment maintains the first resource bitmap in real time. When the first user equipment listens, if the received signal strength indication (received signal strength indication, RSSI) on any sub-band of the physical sidelink shared channel (physical sidelink shared channel, PSSCH) on the current sub-frame r (0.ltoreq.r.ltoreq.10239) is found to be greater than or equal to a first threshold value, the sub-frame r is considered to be occupied, and therefore the j-th bit on the first resource bitmap is set to the first value. Where j=n% 160.% represents the remainder.
S603, the first user equipment continuously monitors that the signal strength of any sub-band of the data channel at any time domain resource position of set times is smaller than or equal to a second threshold value, and updates any time domain resource position to be free, wherein the second threshold value is smaller than the first threshold value.
Further, the first user equipment may record the time when the j-th bit is set to the first value. And the first user equipment continues to perform channel interception, and if the RSSI of all sub-bands on the sub-frame corresponding to the j-th bit for p times is smaller than or equal to a second threshold value, the j-th bit is set to a second value.
Wherein the second threshold value is smaller than the first threshold value. The initial values of the first threshold value and the second threshold value may be configured in advance by the second user equipment, and notify each member device. The first threshold value and the second threshold value may also be factory set.
The first value may be "1" to indicate that the channel on the time domain resource is busy, and the corresponding second value may be "0" to indicate that the channel on the time domain resource is idle. Alternatively, the first value may be "0" to indicate that the channel on the time domain resource is busy, and the corresponding second value may be "1" to indicate that the channel on the time domain resource is idle.
For example, the initial value of the first resource bitmap is (in hexadecimal notation): 0x0000000000000000000000000000000000000000.
Assuming that the RSSI of the PSSCH channel detected on subframe 20 is greater than or equal to the first threshold, the first resource bitmap is updated to: 0x0000800000000000000000000000000000000000 (i.e., bit 20 takes a "1").
Assuming that the RSSI of the PSSCH channel detected on subframe 210# is greater than or equal to the first threshold, the first resource bitmap is updated to: 0x0000800000004000000000000000000000000000 (i.e., 210% 160=50 bits take a "1").
Assuming that the RSSI of the PSSCH channel detected on subframes 180#, 340#, 500#, 660#, … 1620# is less than or equal to the second threshold value, the first resource bitmap is updated as follows: 0x0000000000004000000000000000000000000000 (i.e., bit 20 takes a "0").
S604, the second user equipment monitors the channel intensity of any sub-band of the data channel at least at one time domain resource position to obtain a second channel monitoring result.
S605, the second user equipment monitors that the signal intensity of any sub-band of the data channel at any time domain resource position is larger than or equal to a third threshold value, and updates any time domain resource position to be busy.
S606, the second user equipment continuously monitors that the signal intensity of any sub-band of the data channel at any time domain resource position of set times is smaller than or equal to a fourth threshold value, and updates any time domain resource position to be free, wherein the fourth threshold value is smaller than a third threshold value.
The second ue may also refer to the first ue in steps S601 to S603 to maintain the second resource bitmap of the second ue in a manner that the first ue maintains the first resource bitmap, so as to obtain the second channel listening result.
The second channel listening result may be an entire second resource bitmap, or may be a bitmap bit value in the second resource bitmap that is a second value (i.e. the channel is idle).
S607, when the first user equipment accesses the second user equipment, the first user equipment sends a link establishment request message to the second user equipment. The link establishment request message includes a first channel interception result of the first user equipment.
Correspondingly, the second user equipment receives the link establishment request message.
The specific implementation of this step may refer to step S501 of the above-described embodiment.
Illustratively, the first and second modules are connected to one another. The first channel listening result is carried in a medium access control-control element (MAC-CE) of the chaining request message.
The first channel listening result may be an entire first resource bitmap; or the first idle time domain resource information, for example, a bitmap bit value with a second value (i.e. a channel is idle) in the first resource bitmap; or may be a bitmap bit value in the first resource bitmap that is a first value (i.e., the channel is busy).
For example, the first resource bitmap is 0xffffffffffffffffff 01000800000000000000, that is, the channel on the sub-frame corresponding to bits 0 to 79, 87, and 100 is busy, and the channels on the sub-frames corresponding to the remaining bits (bits 80 to 86, 88 to 99, and 101 to 159) are idle. The first user equipment may report the first resource bitmap to the second user equipment, or report 80-86, 88-99, 101-159, or report 0-79 and 87, 100.
S608, at least one fifth user equipment sends a third channel interception result to the second user equipment.
Accordingly, the second user equipment receives the third channel interception result.
The third channel listening result is a listening result of at least one fifth user equipment to a channel between at least one sixth user equipment within communication range with the at least one fifth user equipment.
In this embodiment, the second ue may further receive a third channel listening result of the at least one fifth ue. The at least one fifth user device may be a member device that has access to the network. Each fifth user equipment can monitor the channel between the fifth user equipment and at least one sixth user equipment in the communication range of the fifth user equipment to obtain respective channel monitoring results. The at least one fifth user equipment may respectively transmit respective third channel listening results to the second user equipment.
Each fifth user device may also maintain its own third resource bitmap. The third channel listening result may be an entire third resource bitmap; or third idle time domain resource information, for example, a bitmap bit value with a second value (i.e. a channel is idle) in a third resource bitmap; or may be a bitmap bit value that is valued as the first value (i.e., channel busy) in the third resource bitmap.
The communication range of each fifth user device may be the same or different. The communication range of the at least one fifth user equipment and the first user equipment and the second user equipment may be the same or different.
Assuming that the user equipment 3 and the user equipment 4 have accessed the user equipment 2, the user equipment 3 and the user equipment 4 are separated by a long distance, and the user equipment 3 and the user equipment 4 cannot hear each other. Both the user equipment 3 and the user equipment 4 send respective channel interception results to the user equipment 2. The user equipment 2 can obtain the channel interception results of the user equipment 3 and the user equipment 4, and the channel interception range is enlarged.
S609, the second user equipment sends a link establishment response to the first user equipment.
Correspondingly, the first user equipment receives the link establishment response.
The link establishment response includes first service resource information.
The specific implementation of this step may refer to step S502 of the above embodiment. The first traffic resource information is determined according to a first channel interception result, a second channel interception result of the second user equipment itself, and a third channel interception result.
For example, the communication ranges of the first user device, the second user device and the at least one fifth user device may be the same or different. Assuming that the user equipment 1 and the user equipment 3 simultaneously request to access the user equipment 2, the user equipment 1 and the user equipment 3 are far apart, and the user equipment 1 and the user equipment 3 cannot hear each other. The user equipment 2 needs to allocate service resources to the user equipment 1 and the user equipment 3. In this embodiment, when the ue 2 allocates the service resource to the ue 1, it receives the first channel interception result from the first ue and the third channel interception result from at least one fifth ue, and determines the first service resource information according to the first channel interception result, the second channel interception result of the second ue itself, and the third channel interception result, thereby expanding the range of channel interception. Therefore, the problem of service resource conflict brought by the hidden user equipment is solved, the resource allocation of D2D communication can be reliably realized, and the service resource conflict when a plurality of user equipment are accessed simultaneously is avoided.
Illustratively, the second ue carries the first service resource information in the MAC CE of the chaining response. The first service resource information includes at least one of: the identity of the traffic resource (res_idx), the traffic resource location (RES), the PERIOD of the traffic resource (PERIOD, p), the number of traffic resources allocated per PERIOD (res_cnt), the transmission interval between the traffic resources allocated per PERIOD (time_gap), the number of reservations of the traffic resource (resv_cnt). The format of the MAC CE is shown in table 1 below:
table 1 format of MAC CE
Cell unit Length (byte)
RES_IDX 1
RES 1
PERIOD 1
RES_CNT 1
TIME_GAP 1
RESV_CNT 1
Wherein res_idx is an identifier of a service resource, and may be, for example, an index of the service resource. The first user equipment stores the index when receiving the link establishment response, and when subsequently receiving the second service resource information, the first user equipment needs to compare the RES_IDX in the second service resource information with the previously stored service resource, and considers the service resource allocated to the first user equipment when the RES_IDX is the same as the previously stored service resource, and needs to be ignored when the RES_IDX is not the same as the previously stored service resource.
RES is the traffic resource location. Illustratively, RES is the initial traffic resource location allocated.
PERIOD is the PERIOD of the traffic resource. For example, the service resources allocated by the second user equipment to the first user equipment may be periodic.
Res_cnt is the amount of traffic resources allocated per cycle (including for initial and retransmission).
Time_gap is the transmission interval between allocated traffic resources in each period.
Resv_cnt is the number of reservations of traffic resources. The second user equipment may reserve service resources for the first user equipment for one or more periods according to the need for service data transmission of the first user equipment. Each cycle corresponds to a reservation of traffic resources.
As shown in fig. 7, which is a schematic diagram of at least one first idle time domain resource indicated by the first idle time domain resource information in the example of the present application, the second ue sends a link establishment response in subframe m. The link establishment response includes first service resource information. The first service resource information is used to indicate at least one available/idle service resource location. The second user equipment reserves RESV_CNT sub-service resources for the first user equipment. In the first period, the location of the service resource includes: the initial service resource position b+res, and the subsequent res_cnt service resource positions in the period are: b+res+time_gap, … b+res+time_gap res_cnt, time_gap being spaced between each service resource location; in the resv_cnt cycle, the location of the service resource includes: the initial service resource positions b+res+p are resv_cnt, and the subsequent service resource positions res_cnt in the period are: b+res+time_gap+p res_cnt, … b+res+time_gap res_cnt+p resv_cnt, time_gap is spaced between each service resource location.
The first service resource information is described below by way of two examples:
in one example, assume that the current listening result resource bitmap of the second user equipment is: 0xffffffffffffffff 00000000000000000000, and assuming that the first channel listening result and the third channel listening result are the same as the resource bitmap, i.e. there is no collision with the current channel listening result of the second user equipment. According to the resource bitmap, it can be known that the channels on the time domain resources corresponding to the 0 th to 79 th bits are occupied. The second ue allocates a service resource for the first ue with a period of 160ms, and the second ue randomly selects one resource, which is assumed to be 83, in the range of 80-159.
Assuming that the current subframe is 200, the second ue sends a link establishment response at 200#, where the time_gap of the allocated service resource is 0, the res_cnt is 1, and the resv_cnt is 5, and the service resource location may be obtained as follows: 243 =200/160×160+83, 403, 563, 723, 883.
In another example, assume that the current listening result resource bitmap of the second user equipment is: 0xE000010000000000000000000100000000000000, and assuming that the first channel interception result and the third channel interception result are the same as the resource bitmap, i.e., there is no collision with the current channel interception result of the second user equipment. Assuming that the service data of the first user equipment is frequently transmitted, the service resource period allocated by the second user equipment to the first user equipment is 20ms, dividing the resource bitmap into 160/20=8 parts, and performing or operation to obtain a resource bitmap with the size of 20: 0xF0000. One resource is randomly selected in the range of 4-19, say 5.
Assuming that the current subframe is 300, the second ue sends a link establishment response at 300#, where the time_gap of the allocated service resource is 2, the res_cnt is 3, and the resv_cnt is 4, and the service resource location may be obtained as follows:
when resv_cnt=1, i.e. in the first period, the service resource location is: 305 =300/20×20+5, 307=305+2, 309=307+2;
when resv_cnt=2, i.e. in the second period, the service resource positions are: 325,327,329;
when resv_cnt=3, i.e. in the third period, the service resource positions are: 345,347,349;
when resv_cnt=4, i.e. in the fourth period, the service resource positions are: 365,367,369.
S610, the first user equipment transmits service data at the service resource position indicated by the first service resource information.
Correspondingly, the second user equipment transmits service data with the first user equipment at the service resource position indicated by the first service resource information.
Specific implementation of this step may refer to step S503 of the above-described embodiment.
After the first user equipment receives the first service resource information, the first user equipment analyzes the available service resource positions according to the description. Traffic data may be sent at the current location when t% period= = res+i time_gap and t < m/period+period+period_cnt+time_gap res_cnt. Wherein t is the current frame number 10+ sub-frame number, i is any one value from 0 to RES_CNT, and m is the frame number 10+ sub-frame number when MSG4 is received.
S611, when the second user equipment monitors that the number of times of service data transmission by using the service resources by the first user equipment reaches the reserved number of times of the service resources, second service resource information is sent.
Correspondingly, the first user equipment receives the second service resource information.
In the above service resource allocation process, the second ue reserves a certain number of service resources (specifically indicated by resv_cnt) in order to improve the service resource utilization rate. The second user equipment monitors the number of times that the first user equipment uses the service resource to perform service data transmission, or may be the number of times that the first user equipment reports that the first user equipment uses the service resource to perform service data transmission, and when the second user equipment monitors that the number of times that the first user equipment uses the service resource to perform service data transmission reaches the reserved number of times of the service resource, the second user equipment allocates the service resource again. For example, the second user equipment may determine the second service resource information according to the updated first channel interception result, the updated second channel interception result of the second user equipment itself, and the updated third channel interception result, and the specific determination procedure may refer to the above description. And then, the second user equipment sends second service resource information to the first user equipment.
The second service resource information includes at least one of the following information: the service resource identification, service resource location, service resource period, number of service resources allocated in each period, transmission interval between service resources allocated in each period, and number of service resource reservations.
The second service resource information may be identical to, partially identical to, or completely different from the first service resource information described above.
According to the resource allocation method for D2D communication provided by the embodiment of the application, the second user equipment receives the first channel interception result of the first user equipment and the third channel interception result of at least one fifth user equipment, and determines first service resource information according to the first channel interception result, the second channel interception result of the second user equipment and the third channel interception result, and the first user equipment transmits service data according to the first service resource information, so that service resources can be accurately determined, the first user equipment can reliably realize transmission of service data, and service resource conflicts when a plurality of user equipment are accessed simultaneously are avoided;
the communication ranges of the first user equipment, the second user equipment and at least one fifth user equipment are the same or different, so that the condition that a channel between the first user equipment and the hidden user equipment cannot be detected and the allocated service resources are prevented from being conflicted;
The second user equipment can update the second channel interception result in real time according to the current channel interception result so as to accurately allocate service resources;
when the frequency of the service data transmission by the first user equipment using the service resource is monitored to reach the reserved frequency of the service resource, the second user equipment allocates the service resource to the first user equipment again, and the second service resource information can be the same as or different from the first service resource information.
Illustratively, in an embodiment of the present application, the first user device or the second user device includes a hardware layer, an operating system layer running above the hardware layer, and an application layer running above the operating system layer. The hardware layer includes hardware such as a central processing unit (central processing unit, CPU), a memory management unit (memory management unit, MMU), and a memory (also referred to as a main memory). The operating system may be any one or more computer operating systems that implement business processes through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer comprises applications such as a browser, an address book, word processing software, instant messaging software and the like. The embodiment of the present application is not particularly limited to a specific structure of the execution body of the method provided in the embodiment of the present application, as long as the execution body of the method provided in the embodiment of the present application can communicate with the method provided in the embodiment of the present application by executing a program recorded with a code of the method provided in the embodiment of the present application, and for example, the execution body of the method provided in the embodiment of the present application may be a terminal, or a functional module capable of calling the program and executing the program in the first user device or the second user device.
In other words, the related functions of the first user equipment or the second user equipment in the embodiments of the present application may be implemented by one device, or may be implemented by multiple devices together, or may be implemented by one or more functional modules in one device, which is not specifically limited in the embodiments of the present application. It will be appreciated that the above described functionality may be either a network element in a hardware device, or a software functionality running on dedicated hardware, or a combination of hardware and software, or a virtualized functionality instantiated on a platform (e.g., a cloud platform).
It will be appreciated that, in order to implement the functions in the above embodiments, the first user device or the second user device includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and method steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application scenario and design constraints imposed on the solution.
Fig. 8 and fig. 9 are schematic structural diagrams of a possible D2D communication resource allocation device according to an embodiment of the present application. The resource allocation device for D2D communication may also be a communication device. The resource allocation device for D2D communication may be configured to implement the functions of the first user equipment or the second user equipment in the above method embodiment, so that the beneficial effects of the above method embodiment can also be implemented. In the embodiment of the present application, the resource allocation device for D2D communication may be a first user equipment or a second user equipment, or may be a module (such as a chip) applied to the first user equipment or the second user equipment.
As shown in fig. 8, the resource allocation apparatus 800 for D2D communication includes a processing unit 810 and a transceiving unit 820. The resource allocation apparatus 800 for D2D communication is configured to implement the functions of the first user equipment or the second user equipment in the method embodiments shown in fig. 5 and fig. 6.
When the resource allocation apparatus 800 for D2D communication is used to implement the function of the first user equipment in the method embodiment shown in fig. 5 or fig. 6: the transceiver unit 820 is configured to receive a link establishment request message from a first user equipment when the first user equipment accesses the device, where the link establishment request message includes a first channel interception result of the first user equipment; the transceiver unit 820 is further configured to send a link establishment response to the first user equipment, where the link establishment response includes first service resource information, and the first service resource information is determined according to the first channel interception result and a second channel interception result of the device itself; and the transceiver unit 820 is further configured to transmit service data with the first user equipment at the service resource location indicated by the first service resource information.
Optionally, the first service resource information includes at least one of the following information: the service resource identification, service resource location, service resource period, number of service resources allocated in each period, transmission interval between service resources allocated in each period, and number of service resource reservations.
Optionally, the first channel interception result is an interception result of a channel between the first user equipment and at least one third user equipment within a communication range of the first user equipment; the second channel listening result is a listening result of the apparatus to a channel between at least one fourth user equipment within communication range with the apparatus.
Optionally, the transceiver unit 820 is further configured to receive a third channel interception result from at least one fifth user equipment, where the third channel interception result is a result of interception of a channel between the at least one fifth user equipment and at least one sixth user equipment within a communication range of the at least one fifth user equipment; the first service resource information is determined according to the second channel interception result, the first channel interception result and the third channel interception result.
Optionally, the processing unit 810 is configured to monitor a channel strength of any subband of the data channel at the at least one time domain resource location, to obtain the second channel monitoring result; the processing unit 810 is further configured to monitor that a signal strength of any subband of the data channel at any time domain resource location is greater than or equal to a first threshold value, and update the any time domain resource location to be channel busy; and the processing unit 810 is further configured to continuously hear that the signal strength of any subband of the data channel at any time domain resource location is less than or equal to a second threshold, and update the any time domain resource location to be free, where the second threshold is less than the first threshold.
Optionally, the processing unit 810 is further configured to sense that the signal strength of any subband of the data channel at any time domain resource location n is greater than or equal to the first threshold, and set a j-th bit in the first resource bitmap to be a first value, where j=n% p, where the resource bitmap includes p bits, and% represents a remainder operation.
Optionally, the processing unit 810 is further configured to continuously detect that the signal strength of any subband of the data channel at m time domain resource positions corresponding to the jth bit of the set number of times is less than or equal to a second threshold, and set the jth bit in the second resource bitmap to a second value.
Optionally, the first channel interception result includes the first resource bitmap or first idle time domain resource information; the second channel interception result includes a second resource bitmap or second idle time domain resource information.
Optionally, the transceiver unit 820 is further configured to send second service resource information when it is monitored that the number of times of service data transmission performed by the device using the service resource reaches the reserved number of times of service resource.
When the resource allocation apparatus 800 for D2D communication is used to implement the functionality of the second user equipment in the method embodiment shown in fig. 5 or fig. 6: the transceiver unit 820 is configured to send a link establishment request message to a second user equipment when the apparatus accesses the second user equipment, where the link establishment request message includes a first channel interception result of the apparatus; the transceiver unit 820 is further configured to receive a link establishment response from the second user equipment, where the link establishment response includes first service resource information, and the first service resource information is determined according to the first channel interception result and a second channel interception result of the second user equipment; and the transceiver unit 820 is further configured to transmit service data at the service resource location indicated by the first service resource information.
Optionally, the first service resource information includes at least one of the following information: the service resource identification, service resource location, service resource period, number of service resources allocated in each period, transmission interval between service resources allocated in each period, and number of service resource reservations.
Optionally, the first channel interception result is a result of interception by the apparatus of a channel between at least one third user equipment within communication range with the apparatus; the second channel interception result is a result of interception of a channel between the second user equipment and at least one fourth user equipment within a communication range of the second user equipment.
Optionally, the processing unit 810 is configured to monitor a channel strength of any subband of the data channel at the at least one time domain resource location, to obtain the first channel monitoring result; the processing unit 810 is further configured to monitor that a signal strength of any subband of the data channel at any time domain resource location is greater than or equal to a first threshold value, and update the any time domain resource location to be channel busy; and the processing unit 810 is further configured to continuously hear that the signal strength of any subband of the data channel at any time domain resource location is less than or equal to a second threshold, and update the any time domain resource location to be free, where the second threshold is less than the first threshold.
Optionally, the processing unit 810 is further configured to sense that the signal strength of any subband of the data channel at any time domain resource location r is greater than or equal to the first threshold, and set an i-th bit in a second resource bitmap to be a first value, where i=r% q, where the second resource bitmap includes q bits, and% represents a remainder operation.
Optionally, the processing unit 810 is further configured to continuously hear that the signal strength of any subband of the data channel at s time domain resource positions corresponding to the ith bit of the set number of times is less than or equal to the second threshold value, and set the ith bit in the second resource bitmap as a second value.
Optionally, the first channel interception result includes the first resource bitmap or first idle time domain resource information; the second channel interception result includes a second resource bitmap or second idle time domain resource information.
Optionally, the transceiver unit 820 is further configured to receive second service resource information from the second user equipment when the number of service data transmissions using the service resource reaches the reserved number of service resources.
The above-mentioned more detailed descriptions of the processing unit 810 and the transceiver unit 820 may be directly obtained by referring to the related descriptions in the method embodiments shown in fig. 5 and fig. 6, which are not repeated herein.
As shown in fig. 9, the resource allocation apparatus 900 for D2D communication includes a processor 910 and an interface circuit 920. The processor 910 and the interface circuit 920 are coupled to each other. It is understood that the interface circuit 920 may be a transceiver or an input-output interface. Illustratively, the resource allocation device 900 for D2D communication may further include a memory 930 for storing instructions executed by the processor 910 or for storing input data required by the processor 910 to execute the instructions or for storing data generated after the processor 910 executes the instructions.
When the resource allocation device 900 for D2D communication is used to implement the methods shown in fig. 5 and 6, the processor 910 is configured to implement the functions of the processing unit 810, and the interface circuit 920 is configured to implement the functions of the transceiver unit 820.
When the above-mentioned D2D communication resource allocation apparatus is a chip applied to the first ue/second ue, the chip implements the functions of the first ue/second ue in the above-mentioned method embodiment. The chip receives information from other modules (such as radio frequency modules or antennas) in the first user equipment/second user equipment, the information being sent to the first user equipment/second user equipment by the other user equipment; alternatively, the chip sends information to other modules (e.g., radio frequency modules or antennas) in the first user device/second user device, which information is sent by the first user device/second user device to the other user devices.
It is to be appreciated that the processor in embodiments of the present application may be a central processing unit (central processing unit, CPU), but may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate arrays (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general purpose processor may be a microprocessor, but in the alternative, it may be any conventional processor.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
The method steps in the embodiments of the present application may be implemented by hardware, or may be implemented by a processor executing software instructions. The software instructions may be comprised of corresponding software modules that may be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, registers, hard disk, removable disk, compact disc read-only memory (compact disc read-only memory), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. In addition, the ASIC may reside in a base station or terminal. The processor and the storage medium may reside as discrete components in a base station or terminal.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a base station, a user equipment, or other programmable apparatus. The computer program or instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer program or instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired or wireless means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The usable medium may be a magnetic medium, e.g., floppy disk, hard disk, tape; but also optical media such as digital video discs; but also semiconductor media such as solid state disks.
In the various embodiments of the application, if there is no specific description or logical conflict, terms and/or descriptions between the various embodiments are consistent and may reference each other, and features of the various embodiments may be combined to form new embodiments according to their inherent logical relationships.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. In the text description of the present application, the character "/", generally indicates that the associated object is an or relationship.
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application. The sequence number of each process does not mean the sequence of the execution sequence, and the execution sequence of each process should be determined according to the function and the internal logic. It should be further understood that reference to "first," "second," etc. ordinal words of the embodiments herein are used for distinguishing between multiple objects, and are not used for limiting the size, content, order, timing, priority, importance, etc. of the multiple objects.

Claims (29)

1. A method for allocating resources for D2D communication, the method comprising:
when first user equipment is accessed to second user equipment, the second user equipment receives a link establishment request message from the first user equipment, wherein the link establishment request message comprises a first channel interception result of the first user equipment;
the second user equipment sends a link establishment response to the first user equipment, wherein the link establishment response comprises first service resource information which is determined according to the first channel interception result and a second channel interception result of the second user equipment;
and the second user equipment transmits service data with the first user equipment at the service resource position indicated by the first service resource information.
2. The method of claim 1, wherein the first service resource information comprises at least one of: the service resource identification, service resource location, service resource period, number of service resources allocated in each period, transmission interval between service resources allocated in each period, and number of service resource reservations.
3. The method according to claim 1 or 2, wherein the first channel listening result is a listening result of the first user equipment to a channel between at least one third user equipment within communication range with the first user equipment;
the second channel interception result is a result of interception of a channel between the second user equipment and at least one fourth user equipment within a communication range of the second user equipment.
4. A method according to any one of claims 1-3, characterized in that the method further comprises:
the second user equipment receives a third channel interception result from at least one fifth user equipment, wherein the third channel interception result is a interception result of a channel between the at least one fifth user equipment and at least one sixth user equipment in a communication range of the at least one fifth user equipment;
the first service resource information is determined according to the second channel interception result, the first channel interception result and the third channel interception result.
5. The method according to any one of claims 1-4, further comprising:
The second user equipment monitors the channel intensity of any sub-band of the data channel at least at one time domain resource position to obtain a second channel monitoring result;
the second user equipment monitors that the signal strength of any sub-band of a data channel at any time domain resource position is larger than or equal to a first threshold value, and updates any time domain resource position to be busy;
and the second user equipment continuously monitors that the signal strength of any sub-band of the data channel at any time domain resource position for a set number of times is smaller than or equal to a second threshold value, and updates any time domain resource position to be free of the channel, wherein the second threshold value is smaller than the first threshold value.
6. The method of claim 5, wherein the second ue listens to any subband of the data channel at any time domain resource location for a signal strength greater than or equal to a first threshold, and updating the any time domain resource location to be channel busy comprises: and the second user equipment monitors that the signal strength of any sub-band of the data channel at any time domain resource position r is greater than or equal to the first threshold value, and sets the ith bit in a second resource bitmap as a first value, wherein i=r% q, wherein the second resource bitmap comprises q bits, and% represents remainder operation.
7. The method according to any one of claims 2-6, further comprising:
and when the second user equipment monitors that the number of times of service data transmission by using the service resources by the first user equipment reaches the reserved number of times of the service resources, second service resource information is sent.
8. A method for allocating resources for D2D communication, the method comprising:
when first user equipment accesses second user equipment, the first user equipment sends a link establishment request message to the second user equipment, wherein the link establishment request message comprises a first channel interception result of the first user equipment;
the first user equipment receives a link establishment response from the second user equipment, wherein the link establishment response comprises first service resource information which is determined according to the first channel interception result and a second channel interception result of the second user equipment;
and the first user equipment transmits service data at the service resource position indicated by the first service resource information.
9. The method of claim 8, wherein the first service resource information comprises at least one of: the service resource identification, service resource location, service resource period, number of service resources allocated in each period, transmission interval between service resources allocated in each period, and number of service resource reservations.
10. The method according to claim 8 or 9, wherein the first channel listening result is a listening result of the first user equipment to a channel between at least one third user equipment within communication range with the first user equipment;
the second channel interception result is a result of interception of a channel between the second user equipment and at least one fourth user equipment within a communication range of the second user equipment.
11. The method according to any one of claims 8-10, further comprising:
the first user equipment monitors the channel intensity of any sub-band of the data channel at least at one time domain resource position to obtain the first channel monitoring result;
the first user equipment monitors that the signal strength of any sub-band of a data channel at any time domain resource position is larger than or equal to a first threshold value, and updates any time domain resource position to be busy;
and the first user equipment continuously monitors that the signal strength of any sub-band of the data channel at any time domain resource position for a set number of times is smaller than or equal to a second threshold value, and updates any time domain resource position to be free of the channel, wherein the second threshold value is smaller than the first threshold value.
12. The method of claim 11, wherein the first user equipment listening to any subband of the data channel at any time domain resource location for a signal strength greater than or equal to a first threshold value, updating the any time domain resource location to be channel busy comprises: the first user equipment monitors that the signal strength of any sub-band of the data channel at any time domain resource position n is greater than or equal to the first threshold value, and the j-th bit in the first resource bitmap is set to be a first value, wherein j=n% p, wherein the resource bitmap comprises p bits, and% represents remainder operation.
13. The method according to any one of claims 9-12, wherein the method further comprises:
and when the number of times of service data transmission by the first user equipment using the service resources reaches the reserved number of times of the service resources, receiving second service resource information from the second user equipment.
14. A resource allocation apparatus for D2D communication, the apparatus comprising: a transmitting/receiving unit; wherein:
the receiving and transmitting unit is configured to receive a link establishment request message from a first user equipment when the first user equipment accesses the device, where the link establishment request message includes a first channel interception result of the first user equipment;
The receiving and transmitting unit is further configured to send a link establishment response to the first user equipment, where the link establishment response includes first service resource information, and the first service resource information is determined according to the first channel interception result and a second channel interception result of the device itself;
the receiving and transmitting unit is further configured to transmit service data with the first user equipment at the service resource location indicated by the first service resource information.
15. The apparatus of claim 14, wherein the first service resource information comprises at least one of: the service resource identification, service resource location, service resource period, number of service resources allocated in each period, transmission interval between service resources allocated in each period, and number of service resource reservations.
16. The apparatus according to claim 14 or 15, wherein the first channel listening result is a listening result of the first user equipment to a channel between at least one third user equipment within communication range with the first user equipment;
the second channel listening result is a listening result of the apparatus to a channel between at least one fourth user equipment within communication range with the apparatus.
17. The apparatus according to any of claims 14-16, wherein the transceiver unit is further configured to receive a third channel listening result from at least one fifth user equipment, the third channel listening result being a result of the at least one fifth user equipment listening to a channel between at least one sixth user equipment within communication range with the at least one fifth user equipment;
the first service resource information is determined according to the second channel interception result, the first channel interception result and the third channel interception result.
18. The apparatus according to any one of claims 14-17, wherein the apparatus further comprises: a processing unit; wherein:
the processing unit is used for monitoring the channel intensity of any sub-band of the data channel at least at one time domain resource position to obtain the second channel monitoring result;
the processing unit is further configured to monitor that a signal strength of any subband of the data channel at any time domain resource location is greater than or equal to a first threshold value, and update the any time domain resource location to be channel busy;
the processing unit is further configured to continuously monitor that the signal strength of any subband of the data channel at the resource location of any time domain for a set number of times is less than or equal to a second threshold, and update the resource location of any time domain to be idle, where the second threshold is less than the first threshold.
19. The apparatus of claim 18, wherein the processing unit is further configured to sense that a signal strength of any subband of the data channel at any time domain resource location r is greater than or equal to the first threshold, and set an i-th bit in a second resource bitmap to a first value, where i=r% q, where the second resource bitmap includes q bits and% represents a remainder operation.
20. The apparatus according to any one of claims 15-19, wherein the transceiver unit is further configured to send second service resource information when it is monitored that the number of times the apparatus uses a service resource for service data transmission reaches the reserved number of times of the service resource.
21. A resource allocation apparatus for D2D communication, the apparatus comprising: a transmitting/receiving unit; wherein:
the receiving and transmitting unit is configured to send a link establishment request message to a second user equipment when the device accesses the second user equipment, where the link establishment request message includes a first channel interception result of the device;
the receiving and transmitting unit is further configured to receive a link establishment response from the second user equipment, where the link establishment response includes first service resource information, and the first service resource information is determined according to the first channel interception result and a second channel interception result of the second user equipment;
The transceiver unit is further configured to transmit service data at a service resource location indicated by the first service resource information.
22. The apparatus of claim 21, wherein the first service resource information comprises at least one of: the service resource identification, service resource location, service resource period, number of service resources allocated in each period, transmission interval between service resources allocated in each period, and number of service resource reservations.
23. The apparatus according to claim 21 or 22, wherein the first channel listening result is a listening result of the apparatus to a channel between at least one third user equipment within communication range with the apparatus;
the second channel interception result is a result of interception of a channel between the second user equipment and at least one fourth user equipment within a communication range of the second user equipment.
24. The apparatus according to any one of claims 21-23, wherein the apparatus further comprises: a processing unit; wherein:
the processing unit is configured to monitor a channel strength of any subband of the data channel at the at least one time domain resource location, so as to obtain the first channel monitoring result;
The processing unit is further configured to monitor that a signal strength of any subband of the data channel at any time domain resource location is greater than or equal to a first threshold value, and update the any time domain resource location to be channel busy;
the processing unit is further configured to continuously monitor that the signal strength of any subband of the data channel at the resource location of any time domain for a set number of times is less than or equal to a second threshold, and update the resource location of any time domain to be idle, where the second threshold is less than the first threshold.
25. The apparatus of claim 24, wherein the processing unit is further configured to sense that a signal strength of any subband of the data channel at any time domain resource location n is greater than or equal to the first threshold, and set a j-th bit in the first resource bitmap to a first value, where j = n% p, where the resource bitmap includes p bits and% represents a remainder operation.
26. The apparatus according to any one of claims 22-25, wherein the transceiver unit is further configured to receive second service resource information from the second user equipment when a number of service data transmissions using a service resource reaches a reserved number of service resources.
27. A resource allocation device for D2D communication, comprising a processor coupled to a memory, the processor configured to read instructions in the memory to implement the method of any of claims 1-7 or to implement the method of any of claims 8-13.
28. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-7 or the method according to any one of claims 8-13.
29. A computer program product for performing the method of any of claims 1-7, or for performing the method of any of claims 8-13, when executed on a computing device.
CN202111669745.3A 2021-12-31 2021-12-31 Resource allocation method and device for D2D communication, medium and program product Pending CN116437480A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111669745.3A CN116437480A (en) 2021-12-31 2021-12-31 Resource allocation method and device for D2D communication, medium and program product
PCT/CN2022/135612 WO2023124731A1 (en) 2021-12-31 2022-11-30 Resource allocation method and apparatus for d2d communication, medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111669745.3A CN116437480A (en) 2021-12-31 2021-12-31 Resource allocation method and device for D2D communication, medium and program product

Publications (1)

Publication Number Publication Date
CN116437480A true CN116437480A (en) 2023-07-14

Family

ID=86997574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111669745.3A Pending CN116437480A (en) 2021-12-31 2021-12-31 Resource allocation method and device for D2D communication, medium and program product

Country Status (2)

Country Link
CN (1) CN116437480A (en)
WO (1) WO2023124731A1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966355B (en) * 2017-05-24 2021-06-08 华为技术有限公司 Channel interception method, network side equipment and terminal
CN109152029B (en) * 2017-06-16 2024-04-16 华为技术有限公司 Communication method, network equipment and user equipment
WO2019090522A1 (en) * 2017-11-08 2019-05-16 Oppo广东移动通信有限公司 Method for allocating resources in d2d communication, terminal device and network device

Also Published As

Publication number Publication date
WO2023124731A1 (en) 2023-07-06

Similar Documents

Publication Publication Date Title
US11653332B2 (en) Resource allocation method and communications device
US10887867B2 (en) Resource allocation method and apparatus
US10531435B2 (en) Resource processing method and device
US10420009B2 (en) Methods and devices for determining and using Device-to-Device relay node
CN105934984B (en) Inter-group control of semi-persistent channel occupancy for device-to-device (D2D) wireless communications
US10624115B2 (en) Radio resource scheduling method, device and system
JP2015529425A5 (en)
US11974317B2 (en) Data transmission method and apparatus, computer device, and system
CN111901866A (en) Paging method, device, equipment and storage medium
WO2021218960A1 (en) Method, device, and system for multicast communication
US20230164827A1 (en) Communications method and apparatus
CN108282905B (en) Random access method and network element thereof
WO2018014793A1 (en) Positioning method and apparatus
CN104956750A (en) Resource indication method, apparatus and system
CN111106863B (en) Method and device for signal transmission
US11109347B2 (en) Base station device and method for performing paging by same base station device, and terminal device and method for supporting paging by same terminal device
US20240057127A1 (en) Pscch detection method and communication apparatus
KR20210018023A (en) Method and apparatus for transmitting aperiodic data in sidelink communication
JP2023159308A (en) Feedback information transmission method and terminal device
CN111418164A (en) Method and apparatus for beam failure recovery in a wireless communication system
CN116437480A (en) Resource allocation method and device for D2D communication, medium and program product
WO2019028841A1 (en) Terminal communication method and user equipment
WO2023124753A1 (en) Resource allocation method and apparatus for d2d communication, and medium and program product
JP2023526470A (en) Uplink signal transmission method, device, communication node and storage medium
KR101628627B1 (en) System and metheod for transmitting vechcle terminal safty data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication