A method and apparatus for resource selection
By allowing terminal devices to select alternative resources when latency thresholds are exceeded, the method improves the reliability and efficiency of device-to-device communication in SL by addressing the latency issues in periodic resource allocation.
Patent Information
- Application Number
- CN202110794031.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-06-04
- Filing Date
- 2021-07-14
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2041-07-14
AI Technical Summary
During the group-based resource allocation process, when the burst services of terminal devices use periodic resource transmission, additional delays may be caused, affecting the reliability of service transmission.
The terminal device independently selects a second resource different from the resources indicated by the second terminal device to conduct service transmission, and determines resource selection based on service delay and priority, reducing delay and improving reliability.
By independently selecting resources, the transmission delay of burst services is reduced, and the service transmission reliability of terminal equipment is improved, especially the timely transmission of high-priority services.
Smart Images

Figure CN115442774B_ABST
Abstract
Description
[0001] This application claims the priority of a Chinese patent application with an application date of June 4, 2021, an application number of 202110626104.3, and an application title of "A Resource Allocation Method for SL", the entire content of which is incorporated herein by reference. Technical Field
[0002] This application relates to the field of communications, and more particularly, to a method and apparatus for resource selection. Background Art
[0003] The side link (SL) is a device-to-device (D2D) communication mode, which, as an important branch of cellular Internet of Things technology, creates a broad application prospect for Internet of Things applications. Typical application scenarios of SL include vehicle to everything (V2X), home scenarios, conference scenarios, team game scenarios, etc.
[0004] In the above typical application scenarios, multiple SL user equipment (UE) can be resource-configured in groups. Multiple terminal devices within a group can be divided into a group header (GH) and group members (GM). The GH can perform centralized and unified resource allocation for the GM to ensure that there is no interference in the SL transmission within the group. In this way, the information interaction between the terminal device and the network device can be reduced, and the air interface delay can be reduced.
[0005] In the current group-based resource allocation process, in order to reduce the power consumption of GM resource selection, the GH can periodically allocate SL resources to the GM, or the GH can allocate periodic resources to the GM, and the GM uses the resources allocated by the GH to transmit periodic services. However, when the GM has other services (e.g., burst services) to transmit, using the resources allocated by the GH to transmit these services may bring additional delays, resulting in the inability to guarantee the reliability of the GM's service transmission. Summary of the Invention
[0006] This application provides a method and apparatus for resource selection, which can improve the reliability of service transmission of terminal devices.
[0007] In a first aspect, a method for resource selection is provided. The method includes: a first terminal device determines a first service to be sent; the first terminal device determines that the delay of using a first resource to transmit the first service is greater than a first threshold, where the first resource is the resource indicated by a second terminal device; the first terminal device selects a second resource, where the second resource is used to transmit the first service, and the second resource is different from the first resource.
[0008] In this application, when the first terminal device determines a first service to be sent, if the first terminal device determines that the latency caused by using the first resource allocated by the second terminal device to transmit the first service is greater than a first threshold, it selects a second resource, which is used to transmit the first service. In other words, in this application, the first terminal device can, based on its own service transmission requirements, select a second resource for the first service when the first resource fails to meet the latency requirement, thereby reducing the latency of transmitting the first service and improving the reliability of service transmission of the terminal device.
[0009] In combination with the first aspect, in some implementation manners of the first aspect, the first resource is a periodic resource. The first terminal device determines that the latency caused by using the first resource to transmit the first service is greater than the first threshold, including: the first terminal device determines that the latency caused by using the first resource to transmit the first service is greater than the first threshold according to the period of the first resource and / or the size of the first resource.
[0010] In this application, the first terminal device determines that the first resource allocated by the second terminal device is a periodic resource. The first terminal device can determine the latency of using the first resource to transmit the first service according to the period of the periodic resource and / or the resource size. When the latency is greater than the first threshold, it selects a second resource for the first service to reduce the latency of transmitting the first service.
[0011] In combination with the first aspect, in some implementation manners of the first aspect, the method further includes: when the first terminal device determines that the priority of the first service is greater than a second threshold, it selects a second resource.
[0012] In this application, the first terminal device can determine whether to select a second resource for the first service according to the priority of the first service. When the priority of the first service is greater than the second threshold, it selects the second resource. In this way, the transmission of high-priority services can be ensured.
[0013] In combination with the first aspect, in some implementation manners of the first aspect, the method further includes: the first terminal device determines a first time region according to the priority of the first service; the first terminal device receives resource information from the second terminal device, where the resource information includes the usage of resources not configured for the first terminal device in the first time region; the first terminal device determines a first candidate resource set according to the resource information. Among them, the first terminal device selects a second resource, including: the first terminal device selects a second resource from the first candidate resource set within the first time region.
[0014] In view of this, the first terminal device can receive resource information sent by the second terminal device. The resource information includes the usage of resources that are not configured for the first terminal device in the first time region. The first terminal device can determine an available first candidate resource set according to the resource information, and thus select a second resource from the first candidate resource set within the first time region, ensuring the timely transmission of the first service and reducing the latency of transmitting the first service.
[0015] In combination with the first aspect, in some implementation manners of the first aspect, it further includes: the first terminal device performs resource sensing on all or part of the resources within the first time region; the first terminal device selects a second candidate resource set within the second time region according to the resource sensing result within the first time region, and the resource sensing result is used to indicate the usage of resources within the second time region. Wherein, the first terminal device selects the second resource, including: the first terminal device selects the second resource from the first candidate resource set and / or the second candidate resource set within the second time region.
[0016] In view of this, the first terminal device can perform resource sensing within the first time region, and then select an available second candidate resource set within the second time region according to the sensing result within the first time region. Further, the first terminal device selects the second resource from the first candidate resource set and / or the second candidate resource set within the second time region. Since the second candidate resource set is determined according to the sensing result, selecting the second resource from the second candidate resource set and the first candidate resource set can improve the transmission quality of the first service.
[0017] In combination with the first aspect, in some implementation manners of the first aspect, the method further includes: the first terminal device uses the second resource to transmit the first service.
[0018] In combination with the first aspect, in some implementation manners of the first aspect, the method further includes: the first terminal device sends first indication information to the second terminal device, and the first indication information is used to indicate that the first terminal device uses the second resource to transmit the first service.
[0019] In this application, the first terminal device can send the usage of the second resource, that is, the selected resource reservation information, to the second terminal device, so that the second terminal device can allocate resources for other terminal devices in the group according to the resource reservation situation of the first terminal device, or indicate the resource reservation situation of the first terminal device to other terminal devices in the group, which helps the resource configuration of the second terminal device and also helps to reduce interference.
[0020] In combination with the first aspect, in some implementation manners of the first aspect, the first terminal device and the second terminal device belong to the first sidelink SL device group.
[0021] In this application, the first terminal device and the second terminal device may be terminal devices belonging to the same SL device group. Further, the first terminal device is the group member GM, and the second terminal device is the group head GH.
[0022] Optionally, the first terminal device and the second terminal device are the same device, that is, the first terminal device is the group head GH.
[0023] In a second aspect, there is provided a resource selection apparatus, the apparatus includes: a processing unit, configured to determine a first service to be sent. The processing unit is further configured to: determine that the latency of using a first resource to transmit the first service is greater than a first threshold, where the first resource is a resource indicated by the second terminal device; the processing unit is further configured to: select a second resource, where the second resource is used to transmit the first service, and the second resource is different from the first resource.
[0024] In combination with the second aspect, in some implementation manners of the second aspect, the first resource is a periodic resource, and the processing unit is specifically configured to: determine that the latency of using the first resource to transmit the first service is greater than the first threshold according to the period and / or the size of the first resource.
[0025] In combination with the second aspect, in some implementation manners of the second aspect, the processing unit is further configured to: select the second resource when determining that the priority of the first service is greater than a second threshold.
[0026] In combination with the second aspect, in some implementation manners of the second aspect, the processing unit is further configured to: determine a first time region according to the priority of the first service. The apparatus further includes: a transceiver unit, configured to receive resource information from the second terminal device, where the resource information includes the usage of resources not configured for the apparatus in the first time region. Wherein, the processing unit is further configured to: determine a first candidate resource set according to the resource information. The processing unit is specifically configured to: select the second resource from the first candidate resource set within the first time region.
[0027] In combination with the second aspect, in some implementation manners of the second aspect, the processing unit is further configured to: perform resource sensing on all or part of the resources within the first time region, and according to the resource sensing result within the first time region, select a second candidate resource set within a second time region, where the resource sensing result is used to indicate the usage of resources within the second time region. Wherein, the processing unit is specifically configured to: select the second resource from the first candidate resource set and / or the second candidate resource set within the second time region.
[0028] In combination with the second aspect, in some implementation manners of the second aspect, the transceiver unit is further configured to: transmit the first service using the second resource.
[0029] In combination with the second aspect, in some implementation manners of the second aspect, the transceiver unit is further configured to: send first indication information to a second terminal device, where the first indication information is used to indicate that the first terminal device uses a second resource to transmit a first service.
[0030] In combination with the second aspect, in some implementation manners of the second aspect, the device and the second terminal device belong to a first sidelink (SL) device group.
[0031] In a third aspect, the present application provides a resource selection device, including: at least one processor, where the at least one processor is coupled to at least one memory, and the at least one processor is configured to execute a computer program or instruction stored in the at least one memory, so that the device executes the method in the first aspect or any possible implementation manner in the first aspect.
[0032] In a fourth aspect, a processor is provided, including: an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method in the first aspect or any possible implementation manner in the first aspect.
[0033] In a specific implementation process, the above-mentioned processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be transistors, gate circuits, flip-flops, and various logic circuits, etc. The input signal received by the input circuit may be received and input by, for example, but not limited to, a receiver, and the output signal output by the output circuit may be output to, for example, but not limited to, a transmitter and transmitted by the transmitter, and the input circuit and the output circuit may be the same circuit, and this circuit is used as the input circuit and the output circuit at different times respectively. The embodiments of the present application do not limit the specific implementation manners of the processor and various circuits.
[0034] In a fifth aspect, a processing device is provided, including a communication interface and a processor. The communication interface is coupled to the processor. The communication interface is configured to input and / or output information. The information includes at least one of instructions and data. The processor is configured to execute a computer program, so that the processing device executes the method in the first aspect or any possible implementation manner in the first aspect.
[0035] Optionally, the processor is one or more, and the memory is one or more.
[0036] In a sixth aspect, a processing device is provided, including a processor and a memory. The processor is configured to read an instruction stored in the memory, and may receive a signal through a receiver and transmit a signal through a transmitter, so that the processing device executes the method in the first aspect or any possible implementation manner in the first aspect.
[0037] Optionally, there is one or more of the processors, and one or more of the memories.
[0038] Optionally, the memory may be integrated with the processor, or the memory and the processor are separately arranged.
[0039] In a specific implementation process, the memory may be a non-transitory memory, such as a read only memory (ROM), which may be integrated with the processor on the same chip, or may be separately arranged on different chips. The embodiments of the present application do not limit the type of the memory and the setting manner of the memory and the processor.
[0040] It should be understood that for related information interaction processes, for example, sending indication information may be a process of outputting indication information from the processor, and receiving indication information may be a process of inputting the received indication information to the processor. Specifically, the processed output information may be output to a transmitter, and the input information received by the processor may come from a receiver. Among them, the transmitter and the receiver may be collectively referred to as a transceiver.
[0041] In a seventh aspect, the present application provides a computer-readable medium storing a computer program (which may also be referred to as code or instruction), and when the computer program runs on a computer, it causes the computer to execute the method in the first aspect or any possible implementation manner in the first aspect.
[0042] In an eighth aspect, a computer program product is provided, including: a computer program (which may also be referred to as code or instruction), and when the computer program runs, it causes the computer to execute the method in the first aspect or any possible implementation manner in the first aspect.
[0043] In a ninth aspect, the present application provides a chip system, including: a processor, and the processor is used to execute the computer program or instruction in the memory, so that the chip system implements the method in the first aspect or any possible implementation manner in the first aspect. Description of the Drawings
[0044] Figure 1 is a schematic diagram of a communication system applicable to the embodiments of the present application.
[0045] Figure 2 is a schematic diagram of a group-based communication method provided by the embodiments of the present application.
[0046] Figure 3 is a schematic block diagram of a method for resource selection in the present application.
[0047] Figure 4 It is a schematic diagram of a resource selection method provided by this application.
[0048] Figure 5 It is a schematic block diagram of a resource selection device provided by an embodiment of this application.
[0049] Figure 6 It is a schematic block diagram of a resource selection device provided by an embodiment of this application. Detailed implementation manners
[0050] The technical solutions of the embodiments of this application can be applied to various communication systems, such as: Long Term Evolution (LTE) systems, LTE Frequency Division Duplex (FDD) systems, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication systems, 5th generation (5G) systems, or New Radio (NR), etc.
[0051] Figure 1 It is a schematic diagram of a wireless communication system 100 applicable to the embodiments of this application. As Figure 1 shown, the wireless communication system 100 may include one or more network devices. For example, Figure 1 the network device 10 shown. The wireless communication system 100 may further include one or more terminal devices (which may also be referred to as user equipment (UE)). For example, Figure 1 the terminal device 20, terminal device 30, terminal device 40, etc. shown. Among them, the three terminal devices, namely terminal device 20, terminal device 30, and terminal device 40, can communicate with each other.
[0052] It should be understood that Figure 1 it is only a schematic diagram, and other network devices may also be included in this communication system. For example, core network devices, wireless relay devices, and wireless backhaul devices may also be included, which are not drawn in Figure 1 . The embodiments of this application do not limit the number of network devices and terminal devices included in this mobile communication system.
[0053] In the mobile communication system 100, the terminal devices 20, 30, and 40 in the embodiments of the present application may also be referred to as: mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile platform, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user equipment, etc.
[0054] The terminal device in the present application may be a device that provides voice / data connectivity to users. For example, it may be a handheld device with wireless connection capabilities, a vehicle-mounted device, etc. Currently, some examples of terminals are: mobile phone, tablet computer, laptop computer, palmtop computer, mobile internet device (MID), virtual reality (VR) device, augmented reality (AR) device, wireless terminals in industrial control (such as cameras, customer premise equipment (CPE)), wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grid, wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home (such as smart home appliances like televisions, smart boxes, game consoles, smart home products), cellular phone, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, personal digital assistant (PDA), a handheld device with wireless communication capabilities, a computing device, or other processing devices connected to a wireless modem, vehicle-mounted device, wearable device, terminal device in a 5G network, or terminal device in a future evolved public land mobile network (PLMN). The embodiments of the present application are not limited thereto.
[0055] By way of example and not limitation, in the embodiments of the present application, the terminal device may also be a wearable device. A wearable device, also known as a wearable intelligent device, is a general term for devices developed by applying wearable technology to the intelligent design of daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. A wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable intelligent devices include those with complete functions and large sizes that can achieve complete or partial functions without relying on a smart phone, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to cooperate with other devices such as smart phones, such as various smart bracelets and smart jewelry for physical sign monitoring.
[0056] In addition, in the embodiments of the present application, the terminal device may also be a terminal device in an Internet of Things (IoT) system. The IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-object interconnection.
[0057] In the embodiments of the present application, the terminal device may also be a vehicle or a whole vehicle, and communication can be achieved through a vehicle network, or it may be a component located inside the vehicle (for example, placed inside the vehicle or installed inside the vehicle), that is, an on-vehicle terminal device, an on-vehicle module, or an on-board unit (OBU).
[0058] The network device 10 in the embodiments of the present application may be a device used to communicate with the terminal device. The network device may be a base station, an evolved node B (eNB), a home base station, an access point (AP) in a wireless fidelity (WIFI) system, a wireless relay node, a wireless backhaul node, a transmission point (TP), or a transmission and reception point (TRP), etc. It may also be a gNB in an NR system, or it may be a component or part of a device that constitutes a base station, such as a central unit (CU), a distributed unit (DU), or a baseband unit (BBU). It should be understood that in the embodiments of the present application, the specific technologies and specific device forms adopted by the network device are not limited. In the present application, the network device may refer to the network device itself or a chip applied to the network device to complete the wireless communication processing function.
[0059] In the embodiments of the present application, a terminal device or a network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also referred to as main memory). The operating system can be any one or more computer operating systems that implement service processing through processes. For example, the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the Windows operating system, etc. The application layer includes applications such as a browser, an address book, a word processing software, and an instant messaging software. Moreover, the embodiments of the present application do not particularly limit the specific structure of the execution subject of the method provided by the embodiments of the present application. As long as it can communicate according to the method provided by the embodiments of the present application by running a program that records the code of the method provided by the embodiments of the present application. For example, the execution subject of the method provided by the embodiments of the present application can be a terminal device or a network device, or a functional module in the terminal device or the network device that can call and execute the program.
[0060] In addition, various aspects or features of the present application can be implemented as a method, an apparatus, or an article of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" used in the present application covers a computer program accessible from any computer-readable device, carrier, or medium. For example, the computer-readable medium can include, but is not limited to: magnetic storage devices (such as hard disks, floppy disks, or magnetic tapes, etc.), optical discs (such as compact discs (CDs), digital versatile discs (DVDs), etc.), smart cards, and flash memory devices (such as erasable programmable read-only memories (EPROMs), cards, sticks, or key drives, etc.). In addition, the various storage media described herein can represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" can include, but is not limited to, wireless channels and various other media that can store, contain, and / or carry instructions and / or data.
[0061] In the above communication system, the communication link between terminal devices can be referred to as a sidelink (SL). SL is a device-to-device (D2D) communication method. As an important branch of cellular Internet of Things technology, it creates a broad application prospect for Internet of Things applications. Typical application scenarios of SL include vehicle to everything (V2X), home scenarios, conference scenarios, team game scenarios, etc.
[0062] In the above typical application scenarios, multiple SL user equipment (UE) can be resource-configured in units of groups. Multiple terminal devices within a group can be divided into a group header (GH) and group members (GM). The terminal device acting as the GH can play the role of a master scheduler to overall coordinate the management of the entire group. It can possess some capabilities of a base station, be a device with central control functions, and be able to configure resources and receive data. Thus, the GH can perform centralized and unified resource allocation for the GM, ensuring that there is no interference in the SL transmission within the group. In this way, the information interaction between terminal devices and network devices can be reduced, and the air interface delay can be decreased.
[0063] Figure 2 It is a schematic diagram of a group-based communication method provided by an embodiment of this application. As Figure 2 shown, group A includes 6 terminal devices. Terminal devices 210, 220, 230, 240, and 250 are respectively group members, namely GM1, GM2, GM3, GM4, and GM5. Terminal device 260 is the group header GH, which can allocate transmission resources for GM1, GM2, GM3, GM4, and GM5. Each GM uses the resources allocated by the GH for sidelink SL transmission.
[0064] In the current group-based resource allocation process, in order to reduce the power consumption of GM resource selection, the GH can periodically allocate SL resources for the GM. Within each resource allocation period, the GM uses the resources allocated by the GH for SL communication, or the GH can allocate periodic resources for the GM, and the GM uses the periodic resources allocated by the GH for the transmission of periodic services. However, when the GM has other services (for example, burst services) that need to be transmitted, using the resources allocated by the GH to transmit these services may bring additional delays, resulting in the reliability of the GM's service transmission not being guaranteed.
[0065] In view of this, this application provides a resource selection method and device, which can improve the reliability of service transmission of terminal devices.
[0066] The following describes the resource selection method provided by this application in conjunction with Figures 3 to 4 the resource selection method provided by this application.
[0067] Figure 3 FIG. 300 is a schematic block diagram of a resource selection method 300 of this application. This method can be executed by Figure 1 or Figure 2 any one of the terminal devices, or can be executed by components (such as units, modules, chips, or chip systems) configured in the terminal device.
[0068] S310, the first terminal device determines the first service to be sent.
[0069] Specifically, the first terminal device determining the first service to be sent may mean that the first terminal device determines that a burst service has arrived, or the first terminal device has a need to send a service. Among them, a burst service can be understood as a non-periodic service, which has no regularity in transmission time.
[0070] S320, the first terminal device determines that the delay of using the first resource to transmit the first service is greater than the first threshold, and the first resource is the resource indicated by the second terminal device.
[0071] In a possible implementation manner, the first resource is a periodic resource. The first terminal device determines that the delay of using the first resource to transmit the first service is greater than the first threshold, including: the first terminal device determines that the delay of using the first resource to transmit the first service is greater than the first threshold according to the period of the first resource and / or the size of the first resource.
[0072] It should be noted that the first resource indicated by the second terminal device may be a periodic resource, including but not limited to the following two cases:
[0073] Case 1: The second terminal device periodically indicates the first resource to the first terminal device, and the time-frequency resources indicated each time may be the same or different. For example, the second terminal device indicates to the first terminal device every t milliseconds, and the time-frequency resources indicated each time may be different from the previous time.
[0074] Case 2: The second terminal device indicates the size and period of the first resource, that is, indicates once, and the size of the first resource is the same in each period.
[0075] For the above two cases, the first terminal device may determine the latency of transmitting the first service using the first resource based on the arrival time of the periodic resource. For example, the first terminal device determines that the currently indicated first resource is being used to transmit a periodic service, and the first service may only be transmitted in the next period. The first terminal device determines that the transmission latency caused by this inter-period interval exceeds the first threshold. Or, the first terminal device determines that the first service needs to be sent currently, but it is not at the time of resource allocation, that is, the first resource indicated by the second terminal device will only arrive in the next period, resulting in the transmission latency of the first service being greater than the first threshold. Or, the first terminal device determines that the size of the currently indicated first resource is insufficient to transmit the first service within one period. Furthermore, the first terminal device determines that the latency is greater than the first threshold based on the size of the period.
[0076] In this application, the first terminal device may determine that the first resource allocated by the second terminal device is a periodic resource. The first terminal device may determine the latency of transmitting the first service using the first resource according to the period of the periodic resource. When the latency is greater than the first threshold, the first terminal device selects a second resource for the first service to reduce the latency of transmitting the first service.
[0077] In a possible implementation, the first resource indicated by the second terminal device may also be aperiodic. When the first terminal device receives the first service, it may send a request message to the second terminal device, requesting the second terminal device to configure a first resource suitable for the first service. To ensure the transmission reliability of the first service, before sending the request message, the first terminal device may estimate the arrival time of the first resource based on factors such as the transmission conditions and network environment between the first terminal device and the second terminal device, that is, the first terminal device determines the time required for the second device to configure the first resource, so as to determine that the latency of transmitting the first service using the first resource is greater than the first threshold.
[0078] As an example, the first threshold may be the packet delay budget (PDB) information of the first service. This PDB information is used to indicate the latency requirement of the first service, that is, within how much time the first service should be transmitted. Furthermore, the first terminal device may determine that the latency of transmitting the first service using the first resource is greater than the first threshold based on this PDB information and the situation of the first resource.
[0079] In a possible implementation, the first terminal device may also determine that the size of the first resource indicated by the second terminal device is insufficient to transmit the first service, such that the latency requirement of the first service cannot be met (for example, exceeding the maximum latency requirement), thereby determining that the latency of transmitting the first service using the first resource is greater than the first threshold.
[0080] S330, the first terminal device selects a second resource for transmitting a first service, where the second resource is different from the first resource.
[0081] Exemplarily, the first threshold may also be a preset value locally configured by the first terminal device. When the first terminal device determines that the latency of transmitting the first service using the first resource is greater than the first threshold, it spontaneously selects the second resource and further uses the second resource to transmit the first service, thereby reducing the latency of transmitting the first service.
[0082] Optionally, the first threshold may also be indicated to the first terminal device by the second terminal device or the network device in a static, semi-static, or dynamic manner. The above are only examples, and this application does not limit this.
[0083] In this application, the first terminal device may locally configure a resource selection mechanism. When it determines that the latency of transmitting the first service using the first resource is greater than the first threshold, it starts to select the second resource.
[0084] Optionally, the second terminal device or the network device may configure the above resource selection mechanism for the first terminal device in a static, semi-static, or dynamic manner. When the first terminal device determines that the latency of transmitting the first service using the first resource indicated by the second terminal device is greater than the first threshold, the first terminal device may activate the resource selection mechanism and select the second resource.
[0085] Therefore, in this application, when the first terminal device determines that there is a first service to be sent, the first terminal device determines that the latency of transmitting the first service using the first resource allocated by the second terminal device is greater than the first threshold, and thus selects the second resource for transmitting the first service. In other words, in this application, the first terminal device can, based on its own service transmission requirements, select the second resource for the first service when the first resource cannot meet the latency requirement, thereby reducing the latency of transmitting the first service and improving the reliability of the service transmission of the terminal device.
[0086] On the other hand, in this application, when the first resource can meet the latency requirement of the first service, the first terminal device does not need to select a resource, thereby reducing the power consumption caused by continuous resource selection.
[0087] Optionally, the method 200 further includes: S340, when the first terminal device determines that the priority of the first service is greater than the second threshold, the second resource is selected. It can be understood that the first terminal device may select the second resource when determining that the latency of transmitting the first service using the first resource is greater than the first threshold, or when determining that the priority of the first service is greater than the second threshold, or when determining that the latency of transmitting the first service using the first resource is greater than the first threshold and the priority of the first service is greater than the second threshold. That is to say, either S320 or S340 can be satisfied, or both can be satisfied simultaneously, and the order of S320 and S340 is not limited.
[0088] It should be understood that the second threshold may also be a preset value configured locally by the first terminal device, or may be indicated to the first terminal device by the second terminal device or the network device in a static, semi-static or dynamic manner, and the present application does not limit this.
[0089] In the present application, the first terminal device may obtain the priority of the first service through its application layer, and when the priority of the first service is greater than the second threshold, select the second resource. In this way, the priority transmission of high-priority services can be ensured.
[0090] Optionally, the method further includes: the first terminal device determines a first time region according to the priority of the first service.
[0091] Specifically, the first terminal device may first determine a first parameter according to the priority. The first parameter is the proportion of the first data in the first service, and the first data is part of the data in the first service. The first data may be transmitted using a first part of the second resource selected within the first time region. In this way, it can be ensured that the first data in the first service is transmitted in a timely manner and the communication latency is reduced.
[0092] As an example, the first parameter y can be determined by formula (1).
[0093] y = n - m * p (1)
[0094] In formula (1), n is a constant representing the highest proportion of the traffic volume that can be used to select the second resource within the first time region, m is a weighting constant, and p is the priority of the first service. The lower the p value, the higher the service priority. Among them, the parameters n and m are both real numbers not less than 0, which may be pre-configured in the first terminal device, or may be configured for the first terminal device by the network device or the second terminal device. Therefore, when the service priority is higher, the proportion of the first data in the first service is correspondingly higher, and the duration of the determined first time region is shorter.
[0095] Further, the first terminal device may determine the first time region according to the first parameter and the priority of the first service.
[0096] As an example, the first time region W can be determined by formula (2).
[0097] W = c * p + b * d * (1 - y) (2)
[0098] In formula (2), c and b are weighting constants, and d is the data volume size of the first service. Among them, both parameters c and b are real numbers not less than 0, which can be pre-configured by the first terminal device, or configured for the first terminal device by the network device or the second terminal device.
[0099] It should be understood that the above formula (1) and formula (2) are only examples, and this application is not limited thereto.
[0100] In the embodiment of this application, before the first terminal device determines to select the second resource, it is in an energy-saving state and does not receive the physical sidelink control channel (PSCCH). Therefore, it cannot immediately start resource sensing. It needs to first receive and cache data for a period of time within the first time region, and then decode the PSCCH according to the cached data, so as to perform resource sensing on all or part of the resources within the first time region.
[0101] As a possible implementation, the first terminal device receives resource information from the second terminal device. The resource information includes the usage of resources in the first time region that are not configured for the first terminal device. Then, the first terminal device determines the first candidate resource set according to the resource information. Among them, the first terminal device selects the second resource, including: the first terminal device selects the second resource from the first candidate resource set within the first time region.
[0102] In other words, in this application, the first terminal device will receive the resource information sent by the second terminal device. The resource information includes the usage of resources in the first time region that are not configured for the first terminal device, that is, includes the usage of resources of other terminal devices in the group. The first terminal device can exclude the resources used by other terminal devices in the group and the resources reserved for other terminal devices according to the resource information, determine the available first candidate resource set, and then select the second resource from the first candidate resource set within the first time region.
[0103] It should be understood that the first candidate resource set may also include resources that are known by the second terminal device and are not reserved or used, that is, idle resources.
[0104] Optionally, the resource information sent by the second terminal device to the first terminal device may also include the usage of resources outside the group, and this application is not limited thereto.
[0105] It should be understood that if there are no available resources after the first terminal device excludes the resources used by other terminal devices in the exclusion group and the resources reserved for other terminal devices, the first terminal device can also detect second parameters such as the reference signal receiving power (RSRP) and / or reference signal receiving quality (RSRQ) between the first terminal device and each terminal device. If the value of the second parameter is less than the second parameter threshold, it is considered that the interference is small. Therefore, these resources with small interference can be used as the resources in the first candidate resource set. In other words, when the first terminal device transmits the first data, it can reuse resources with other terminal devices, thereby improving resource utilization.
[0106] When the first terminal device selects a second resource from the first candidate resource set in the first time region, the first terminal device can transmit the first data using the selected resources in the first time region. The first terminal device can also select a second candidate resource set in the second time region, and then select a second resource from the first candidate resource set and / or the second candidate resource set for transmitting the second data, where the second data is the data other than the first data in the first service.
[0107] In other words, in this application, the second resources for transmitting the first data and the second data can be selected from the first candidate resource set and the second candidate resource set respectively, or both can be selected from the first candidate resource set, or the second resource for transmitting the first data can be selected from the first candidate resource set, and the second resource for transmitting the second data can be selected from the resource set composed of the first candidate resource set and the second candidate resource set. This application does not make any limitations. When both are selected from the first candidate resource set, it can be understood that the first data is all the data of the first service.
[0108] It should also be understood that the first data and the second data in this application represent partial data of the first service, which means that the first service is transmitted step by step. First, a part of the resources is selected to transmit a part of the first service, that is, the first data, and then a part of the resources is selected to transmit another part of the first service, that is, the second data. When the transmission of the second data is completed, the transmission of the first data is completed.
[0109] Optionally, the method further includes: the first terminal device performs resource sensing on all or part of the resources in the first time region, and then selects a second candidate resource set in the second time region according to the resource sensing result in the first time region, where the resource sensing result is used to indicate the usage or reservation status of the resources in the second time region. Among them, the first terminal device selects the second resource, including: the first terminal device selects the second resource from the first candidate resource set and / or the second candidate resource set in the second time region.
[0110] Specifically, the first terminal device can determine a second candidate resource set through a resource sensing process in a first time region. That is, the first terminal device continuously receives the physical sidelink control channel (PSCCH) of other terminals for all or part of the resources in the first time region, so as to determine the resource usage of other terminals, and further exclude the unavailable resources in the second time region to determine the available second candidate resource set. It should be understood that the resource selection mechanism based on resource sensing needs to determine a resource sensing window and a resource selection window, where the resource sensing window is used to obtain the sensing result, and the resource selection window is used to select resources according to the sensing result. In this application, the resource sensing window can be the time domain range where the first time region is located, and the resource selection window can be the time domain range where the second time region is located.
[0111] As an example, the unavailable resources in the second time region can be determined by at least one of the following methods:
[0112] Method 1: According to the resource information sent by the second terminal device, when the resources used by other terminal devices in the group or the resources reserved for other terminal devices fall within the resource selection window, they are regarded as unavailable resources.
[0113] Method 2: If the resources used by other terminal devices in the group or outside the group or the resources reserved for other terminal devices overlap with the resources in the resource selection window, including partial overlap or complete overlap, then further judgment is made through a second parameter such as RSRP and / or RSRQ. If the value of the second parameter measured on the overlapping resources is greater than the threshold of the second parameter, then the resource is regarded as an unavailable candidate resource.
[0114] By excluding the unavailable resources from the resource selection window according to the sensing result, the second candidate resource set can be determined.
[0115] It should be understood that after excluding the unavailable resources, the remaining available candidate resources in the resource selection window can also be counted. If the ratio between the resources required in the second time region and the remaining candidate resources in the resource selection window is less than a third threshold, then the size of the threshold of the second parameter can be adjusted. For example, the RSRP threshold is increased by 3 dB, that is, the excluded unavailable resources are reduced, so that the ratio between the resources required in the second time region and the remaining candidate resources reaches the third threshold.
[0116] As an example, the third threshold can be values such as 20%, 35%, 50%, etc. It should be understood that the above are only examples, and this application does not make any limitations in this regard.
[0117] Optionally, the method further includes: the first terminal device uses the second resource to transmit the first service.
[0118] In a possible implementation, the method further includes: the first terminal device may select first data from the first service according to a first parameter. The first terminal device using the second resource to transmit the first service may include: the first terminal device uses a first part of the second resource selected within a first time region to transmit the first data within the first time region. That is to say, the first terminal device can first determine part of the resources for transmitting part of the first service. In this way, it can ensure that the data in the first service is transmitted in time and reduce the communication delay.
[0119] In a possible implementation, the data in the first service other than the first data may be referred to as second data. The first terminal device using the second resource to transmit the first service may include: the first terminal device uses a second part of the second resource selected within a second time region to transmit the second data within the second time region. Since the second candidate resource set is determined according to the sensing result and has higher accuracy, the first terminal device selecting the second resource from the second candidate resource set and the first candidate resource set can improve the transmission quality of the first service.
[0120] In other embodiments, the first service includes multiple services. The first terminal device may select a first part of the services from the first service according to a first parameter. The first terminal device uses a first part of the second resource selected within a first time region to transmit the first part of the services. The services in the first service other than the first part of the services may be referred to as a second part of the services. The first terminal device uses a second part of the second resource selected within a second time region to transmit the second part of the services.
[0121] In a possible implementation, the method further includes: the first terminal device sends first indication information to the second terminal device, and the first indication information is used to indicate that the first terminal device uses the second resource to transmit the first service.
[0122] In this application, the first terminal device may send the usage situation of the second resource, that is, the selected resource reservation information, to the second terminal device, so that the second terminal device can allocate resources for other terminal devices in the group according to the resource reservation situation of the first terminal device, or indicate the resource reservation situation of the first terminal device to other terminal devices in the group, which is helpful for the resource configuration of the second terminal device and also helpful for reducing interference.
[0123] In a possible implementation, the first terminal device and the second terminal device belong to a first sidelink SL device group.
[0124] In this application, the first terminal device and the second terminal device can be terminal devices belonging to the same SL device group. Further, the first terminal device is the group member GM, and the second terminal device is the group head GH.
[0125] It should be understood that the first terminal device and the second terminal device can also be the same, that is, the first terminal device is the group head GH, and it uses the resource selection method 300 in this application for resource selection.
[0126] The following combines Figure 4 to give an example of the resource selection method of this application.
[0127] Figure 4 is a schematic diagram of a resource selection method provided by this application. As Figure 4 shown, the terminal device #A (an example of the first terminal device) determines to send service #A (an example of the first service) at time t0. The terminal device #A starts the sensing process and calculates the time length of the sensing window (an example of the first time region) according to the priority of service #A, that is, the time period from t0 to t1. In the sensing window, the terminal device #A determines, according to the resource information sent by the terminal device #B (an example of the second terminal device), where the resource information includes the usage of the resources not configured for the terminal device #A in the sensing window, or rather, includes the resource usage of group #1 (an example of the first SL device group) where the terminal device #A and the terminal device #B are located in the sensing window. Specifically, in Figure 4 it, the terminal device #A learns that resources 2, 3, 4, 10, 13, 14, 16, 20, 22 are resources occupied by transmissions within group #1. The terminal device #A can exclude the occupied resources within group #1 according to this resource information, so as to determine the candidate resource set #1 (an example of the first candidate resource set), including resources 1, 5, 7, 8, 9, 11, 12, 15, 17, 18, 19, 21, 23, 24, where resources 5, 15, 17 are resources occupied by transmissions of the same or different terminal devices outside group #1. When the terminal device #A cannot learn the resource usage outside group #1, these resources are also used as elements of the candidate resource set #1. It should be understood that in this case, the resources selected by the terminal device #A may overlap with the occupied resources outside group #1, that is, resource conflicts occur.
[0128] Optionally, the resource information sent by terminal device #B to terminal device #A may also include the resource usage outside group #1, that is, resources 5, 15, and 17 are the resources occupied by the transmissions of terminal devices outside group #1. Further, the terminal device may exclude the resources occupied within group #1 and the resources occupied outside group #1 according to this resource information, so as to determine candidate resource set #1 (another example of the first candidate resource set), including resources 1, 7, 8, 9, 11, 12, 18, 19, 21, 23, 24.
[0129] Further, in the sensing window, terminal device #A may randomly select resources from candidate resource set #1. The selected resources are an example of the second resource, or can also be referred to as an example of the first part of the second resource. As Figure 4 shown, the resources selected by terminal device #A in the sensing window are resources 8, 11, and 21.
[0130] When the sensing is completed, terminal device #A may select resources in the selection window (an example of the second time region) according to the sensing result. As Figure 4 shown, the sensing result obtained by terminal device #A is that resources 27, 28, 30, 31, 32, 34, 37, 38, 40 in the selection window are the resources occupied by the transmissions within group #1, resources 26, 29, 33, 36, 39 are idle resources, and resources 25, 35 are the resources occupied by the transmissions of the same or different terminal devices outside group #1. Terminal device #A may determine the resources 27, 28, 30, 31, 32, 34, 37, 38, 40 occupied by the transmissions within group #1 in the selection window as unavailable resources. Further, terminal device #A may also measure the RSRP of resources 25 and 35 outside the group, and further determine that the RSRP of resource 25 is greater than the RSRP threshold, so as to determine that resource 25 is an unavailable resource. By excluding the unavailable resources, terminal device #A determines candidate resource set #2 (an example of the second candidate resource set), including resources 26, 29, 33, 35, 36, 39.
[0131] In the selection window, terminal device #A may select resources from candidate resource set #2. The selected resources are an example of the second resource, or can also be referred to as an example of the second part of the second resource. As Figure 4 shown, the resources selected by terminal device #A in the selection window are resources 29, 35, 36, where resource 35 is a multiplexed resource.
[0132] After the resources are selected, terminal device #A may use resources 8, 11, 21 and resources 29, 35, 36 to transmit service #A. Among them, after resources 8, 11, 21 are selected, they can be used for a part of transmitting service #A, so as to ensure the timely transmission of service #A. It can be understood that service #A may be a single service or a service set including multiple services.
[0133] It should be understood that Figure 4 this is only for illustrative purposes and does not limit the method of the present application.
[0134] Next, the apparatus for resource selection provided by the embodiments of the present application will be introduced in conjunction with Figures 5 to 6 the schematic block diagram of the apparatus for resource selection provided by the embodiments of the present application. The apparatus 500 may be a first terminal device or a component (e.g., a unit, a module, a chip, or a chip system) configured in the first terminal device. The apparatus 500 includes: a processing unit 510, configured to determine a first service to be sent.
[0135] Figure 5 It is a schematic block diagram of the apparatus for resource selection provided by the embodiments of the present application. The apparatus 500 may be a first terminal device or a component (e.g., a unit, a module, a chip, or a chip system) configured in the first terminal device. The apparatus 500 includes: a processing unit 510, configured to determine a first service to be sent. The processing unit 510 is further configured to: determine that the delay of transmitting the first service using a first resource is greater than a first threshold, where the first resource is a resource indicated by a second terminal device.
[0136] The processing unit 510 is further configured to: select a second resource for transmitting the first service, where the second resource is different from the first resource.
[0137] The processing unit 510 is further configured to: select a second resource. Optionally, the first resource is a periodic resource, and the processing unit 510 is specifically configured to: determine that the delay of transmitting the first service using the first resource is greater than the first threshold according to the period and / or size of the first resource.
[0138] Optionally, the processing unit 510 is further configured to: select a second resource when determining that the priority of the first service is greater than a second threshold.
[0139] Optionally, the processing unit 510 is further configured to: determine a first time region according to the priority of the first service.
[0140] Optionally, the apparatus 500 further includes: a transceiver unit 520, configured to receive resource information from the second terminal device, where the resource information includes the usage of resources not configured for the apparatus 500 in the first time region. Wherein, the processing unit 510 is further configured to: determine a first candidate resource set according to the resource information. The processing unit 510 is specifically configured to: select a second resource from the first candidate resource set within the first time region.
[0141] Optionally, the processing unit 510 is further configured to: perform resource sensing on all or part of the resources within the first time region, and select a second candidate resource set within a second time region according to the resource sensing result within the first time region, where the resource sensing result is used to indicate the usage of resources within the second time region. Wherein, the processing unit 510 is specifically configured to: select a second resource from the first candidate resource set and / or the second candidate resource set within the second time region.
[0142] Optionally, the processing unit 510 is further configured to: perform resource sensing on all or part of the resources within the first time region, and select a second candidate resource set within a second time region according to the resource sensing result within the first time region, where the resource sensing result is used to indicate the usage of resources within the second time region. Wherein, the processing unit 510 is specifically configured to: select a second resource from the first candidate resource set and / or the second candidate resource set within the second time region.
[0143] Optionally, the transceiver unit 520 is further configured to: transmit the first service using the second resource.
[0144] Optionally, the transceiver unit 520 is further configured to: send first indication information to a second terminal device, where the first indication information is used to indicate that the first terminal device uses the second resource to transmit the first service.
[0145] Optionally, the device 500 and the second terminal device belong to a first sidelink (SL) device group.
[0146] It should be understood that the device 500 is embodied in the form of a functional unit here. The term "unit" here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor or a group of processors, etc.) for executing one or more software or firmware programs, and a memory, a combined logic circuit and / or other suitable components supporting the described functions. In an alternative example, those skilled in the art can understand that the device 500 may specifically be the first terminal device in the embodiment of the above method 300. The device 500 may be configured to execute each process and / or step corresponding to the first terminal device in the embodiment of the above method 300. For the sake of brevity, details are not described herein again.
[0147] It should be understood that the above transceiver unit 520 may include a receiving unit 521 and a transmitting unit 522. The receiving unit 521 is configured to execute the receiving function in the above transceiver unit 520. For example, it receives resource information from the second terminal device. The transmitting unit 522 is configured to execute the transmitting function in the above transceiver unit 520. For example, it transmits the first service using the second resource.
[0148] Figure 6 is a schematic block diagram of a resource selection device 600 provided by an embodiment of the present application. The device 600 may be Figure 3 the first terminal device described in Figure 6 and the device 600 may adopt a hardware architecture as shown in Figure 5 The related functions implemented by the processing unit 510 in
[0149] The processor 610 may include one or more processors, such as including one or more central processing units (CPUs). When the processor is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
[0150] The transceiver 620 is used to send and receive data and / or information, and receive data and / or information. The transceiver may include a transmitter and a receiver. The transmitter is used to send data and / or signals, and the receiver is used to receive data and / or signals.
[0151] The memory 630 includes but is not limited to a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), and a compact disc read-only memory (CD-ROM). The memory 630 is used to store relevant instructions and data.
[0152] The memory 630 is used to store the program code and data of the device, and can be a separate device or integrated in the processor 610.
[0153] Specifically, the processor 610 is used to control the transceiver to perform information / data transmission with a network device. For specific details, refer to the description in the method embodiments, which will not be elaborated here.
[0154] It can be understood that Figure 6 only a simplified design of the device is shown. In practical applications, the device may also separately include other necessary elements, including but not limited to any number of transceivers, processors, controllers, memories, etc. All devices that can implement the present application are within the protection scope of the present application.
[0155] In a possible design, the device 600 may be replaced by a chip device, such as a communication chip that can be used in the device to implement the related functions of the processor 610 in the device. The chip device may be a field programmable gate array, an application specific integrated chip, a system chip, a central processor, a network processor, a digital signal processing circuit, a microcontroller, or a programmable controller or other integrated chip for implementing the related functions. Optionally, the chip may include one or more memories for storing program code, and when the code is executed, the processor implements the corresponding functions.
[0156] It should be understood that when the above-mentioned devices 500 and 600 are chips or chip systems, their transceivers or transceiver units can be input / output interfaces. Among them, the receiver or receiving unit can be understood as an input interface, and the transmitter or transmitting unit can be understood as an output interface.
[0157] In the embodiments of the present application, words such as "exemplary" and "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" in the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, the use of the word "exemplary" is intended to present concepts in a specific way.
[0158] In the embodiments of the present application, "corresponding" and "corresponding" can sometimes be used interchangeably. It should be noted that when the difference is not emphasized, the meanings they express are the same.
[0159] The network architectures and service scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of network architectures and the emergence of new service scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
[0160] In this specification, the reference to "one embodiment" or "some embodiments" etc. means that in one or more embodiments of the present application, specific features, structures or characteristics described in connection with that embodiment are included. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments" etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "include", "comprise", "have" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0161] In the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and means that three relationships can exist. For example, A and / or B can mean: including the case where A exists alone, where A and B exist simultaneously, and where B exists alone, where A and B can be singular or plural.
[0162] It should be understood that in various embodiments of the present application, the magnitudes of the sequence numbers of the above processes do not mean the order of execution is prior or subsequent. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0163] It should be understood that in various embodiments of the present application, the first, second, and various numerical numbers are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. For example, to distinguish the bandwidth under different conditions, etc.
[0164] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0165] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0166] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be in an electrical, mechanical, or other form.
[0167] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0168] In addition, the functional units in each embodiment of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0169] When the above-mentioned function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art or a part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0170] As described above, the above are only the specific embodiments of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims
1. A method for resource selection, characterized in that, Including: The first terminal device determines a first service to be sent; The first terminal device determines that the latency of transmitting the first service using a first resource is greater than a first threshold, where the first resource is a resource indicated by a second terminal device; The first terminal device selects a second resource, where the second resource is used to transmit the first service and is different from the first resource; Wherein, the method further includes: The first terminal device determines a first time region according to the priority of the first service; The first terminal device receives resource information from the second terminal device, where the resource information includes the usage of resources in the first time region that are not configured for the first terminal device; The first terminal device determines a first candidate resource set according to the resource information; The first terminal device selecting a second resource includes: The first terminal device selects the second resource from the first candidate resource set within the first time region.
2. The method according to claim 1, wherein The first resource is a periodic resource, and the first terminal device determines that the latency of transmitting the first service using the first resource is greater than the first threshold, including: The first terminal device determines that the latency of transmitting the first service using the first resource is greater than the first threshold according to the period of the first resource and / or the size of the first resource.
3. The method according to claim 1 or 2, characterized in that, The method further includes: The first terminal device selects the second resource when determining that the priority of the first service is greater than a second threshold.
4. The method according to claim 1 or 2, characterized in that, The method further includes: The first terminal device performs resource sensing on all or part of the resources within the first time region; The first terminal device determines a second candidate resource set within a second time region according to the resource sensing result within the first time region, where the resource sensing result is used to indicate the usage of resources within the second time region; The first terminal device selecting a second resource includes: The first terminal device selects the second resource from the first candidate resource set and / or the second candidate resource set within the second time region.
5. The method according to claim 1 or 2, characterized in that, The method further includes: The first terminal device uses the second resource to transmit the first service.
6. The method according to claim 1 or 2, characterized in that, The method further includes: The first terminal device sends first indication information to the second terminal device, where the first indication information is used to indicate that the first terminal device uses the second resource to transmit the first service.
7. The method according to claim 1 or 2, characterized in that, The first terminal device and the second terminal device belong to a first sidelink SL device group.
8. An apparatus for resource selection, characterized in that Including: A processing unit, configured to determine a first service to be sent; The processing unit is further configured to: determine that the latency of transmitting the first service using a first resource is greater than a first threshold, where the first resource is a resource indicated by a second terminal device; The processing unit is further configured to: select a second resource, where the second resource is used to transmit the first service and is different from the first resource; The processing unit is further configured to: determine a first time region according to the priority of the first service; The device further includes: a transceiver unit, configured to receive resource information from a second terminal device, where the resource information includes the usage of resources not allocated to the device in the first time region; The processing unit is further configured to: determine a first candidate resource set according to the resource information; Specifically, the processing unit is configured to: select the second resource from the first candidate resource set within the first time region.
9. The device according to claim 8, characterized in that The first resource is a periodic resource, and specifically, the processing unit is configured to: Determine that the latency of transmitting the first service using the first resource is greater than the first threshold according to the period of the first resource and / or the size of the first resource.
10. The device according to claim 8 or 9, characterized in that The processing unit is further configured to: Select the second resource when determining that the priority of the first service is greater than a second threshold.
11. The device according to claim 8 or 9, characterized in that, The processing unit is further configured to: Perform resource sensing on all or part of the resources within the first time region; According to the resource sensing result within the first time region, select a second candidate resource set within a second time region, where the resource sensing result is used to indicate the usage of resources within the second time region; Specifically, the processing unit is configured to: Select the second resource from the first candidate resource set and / or the second candidate resource set within the second time region.
12. The device according to claim 8 or 9, characterized in that The transceiver unit is further configured to: Transmit the first service using the second resource.
13. The device according to claim 8 or 9, characterized in that, The transceiver unit is further configured to: Send first indication information to the second terminal device, where the first indication information is used to indicate that the device uses the second resource to transmit the first service.
14. The device according to claim 8 or 9, characterized in that, The device and the second terminal device belong to a first sidelink (SL) device group.
15. A device for resource selection, characterized in that Comprising: At least one processor, where the at least one processor is coupled to at least one memory, and the at least one processor is configured to execute computer programs or instructions stored in the at least one memory, so that the device implements the method according to any one of claims 1 to 7.
16. A computer-readable storage medium, characterized in that, Comprising a computer program, when the computer program runs on a computer, enabling the computer to execute the method according to any one of claims 1 to 7.
17. A computer program product, characterized in that, When the computer program product runs on a computer, enabling the computer to execute the method according to any one of claims 1 to 7.
18. A chip system, characterized in that, Comprising: a processor, configured to call and run a computer program from a memory, so that a communication device equipped with the chip system executes the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Relaying in a device-to-device communication system
CN110771257A
Method and device for switching resource allocation mode in wireless communication system
WO2020190020A1