A method and device for determining transmission resources

By determining the priority of the time slot in the selection window in the perception window of the terminal device, the problem of insufficient resources in the terminal device in half-duplex or DRX state is solved, and effective transmission resource determination is achieved.

CN114554602BActive Publication Date: 2025-04-08HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110053549.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-11-24
Filing Date
2021-01-15
Publication Date
2025-04-08
Estimated Expiration
2041-01-15

AI Technical Summary

Technical Problem

In the prior art, the terminal device cannot obtain the perceived results of certain time slots in half-duplex or DRX state, resulting in fewer resources in the resource set and cannot meet the transmission needs of the terminal device.

Method used

The transmission resource is determined based on the slot priority by determining the slot priority of each slot in the selection window in the perception window. The priority of slots is positively correlated with the number of slots with perceived results.

Benefits of technology

It realizes the flexibility to determine the transmission resources that meet the needs, and avoids transmission failures caused by insufficient resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114554602B_ABST
    Figure CN114554602B_ABST
Patent Text Reader

Abstract

A method and device for determining transmission resources are used to solve the problem in the prior art that the resources in the resource set are too few to meet the transmission requirements of the terminal device. The method is as follows: the first device determines the number of time slots with a perception result in each time slot in the selection window according to the perception result of the perception window; the first device determines the time slot priority of each time slot in the selection window according to the number of time slots with a perception result in each time slot in the selection window, and determines the transmission resources according to the time slot priority of the time slot in the selection window. In this way, the transmission resources that meet the requirements can be determined flexibly, thereby avoiding the problem of not being able to meet the transmission requirements of the first device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority of the Chinese patent application filed with the China Patent Office on November 24, 2020, with application number 202011327959.8 and invention name "A method for determining resources in a DRX scenario", the entire contents of which are incorporated by reference in this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a method and device for determining transmission resources. Background Art

[0003] With the development of communication technology, an application perception mechanism is proposed in the communication between terminal devices, that is, after a terminal device determines the time n when there is a transmission demand, it can further determine a sensing window and a selection window. The interval between the time slot in the selection window and the corresponding time slot in the sensing window is a corresponding period, where the period can be one or more. Specifically, the terminal device further screens the resources available to the terminal device by detecting whether the resources in the time slot of the selection window corresponding to the time slot interval period have a reservation for transmission in the time slot of the sensing window, and obtains a resource set, so that the terminal device selects the resources required for transmission in the resource set for transmission.

[0004] At present, in one case, since the terminal device is in a half-duplex working state, that is, the terminal device can only perform one of receiving and sending at the same time, when the terminal device is in the sending state, the terminal device cannot receive or sense the time slot where the sending state is located, and thus cannot obtain the sensing result of the time slot. At this time, the resources in the time slot corresponding to the sending time slot in the selection window are regarded as unavailable and cannot be included in the resource set.

[0005] In another case, because the terminal device supports discontinuous reception (DRX), when a DRX sleep time slot appears in the perception window, the perception result of the time slot cannot be obtained, and the resources in the time slot corresponding to the sleep time slot in the selection window are regarded as unavailable and cannot be included in the resource set.

[0006] At present, in both of the above-mentioned cases, the resources in the resource set will be too few to meet the transmission requirements of the terminal device, resulting in transmission failure of the terminal device. Summary of the invention

[0007] The present application provides a method and device for determining transmission resources, which are used to solve the problem in the prior art that the resources in the resource set are too few and cannot meet the transmission requirements of the terminal device.

[0008] In a first aspect, the present application provides a method for determining transmission resources, which may include: a first device determines, based on the perception results of a perception window, the number of time slots in a selection window that have perception results for each time slot in the perception window, and determines, based on the number of time slots in the selection window that have perception results for each time slot in the perception window, the time slot priority of each time slot in the selection window; then, the first device determines the transmission resources based on the time slot priority of the time slot in the selection window, wherein a time slot in the selection window corresponds to one or more time slots in the perception window.

[0009] Through the above method, the first device determines the time slot priority of each time slot in the selection window according to the number of time slots with perception results in the perception window for each time slot in the selection window, and then determines the transmission resources according to the time slot priority of the time slot in the selection window. In this way, the transmission resources that meet the needs can be flexibly determined, thereby avoiding the problem of not being able to meet the transmission needs of the first device.

[0010] In a possible design, the priority of the time slot is positively correlated with the number of time slots with the perception results, that is, the more time slots with the perception results, the higher the time slot priority.

[0011] In one possible design, the first device determines the transmission resource according to the time slot priority of the time slot in the selection window. The specific method may be: the first device determines the candidate resource in the resource set according to the time slot priority of the time slot in the selection window, and determines the transmission resource from the candidate resource. In this way, the first device can flexibly determine the candidate resource based on the time slot priority of the time slot in the selection window, so that the first device can determine the transmission resource that meets the demand.

[0012] In a possible design, the first device determines the candidate resource in the resource set according to the time slot priority of the time slot in the selection window. The specific method may be: when the number of resources in the time slot with the highest time slot priority is greater than or equal to a first threshold, the first device determines the candidate resource from the resources in the time slot with the highest time slot priority; wherein the first threshold is the minimum number of resources in the resource set; the time slot with the highest time slot priority is the first time slot in the selection window, and the first time slot has a perception result in all time slots in the corresponding perception window. In this way, the first device determines the candidate resource from the resources in the time slot with the highest time slot priority, which is relatively simple to implement.

[0013] In one possible design, the first device determines the candidate resources in the resource set according to the time slot priority of the time slot in the selection window. The specific method may be: when the number of resources in the time slot with the highest time slot priority is less than a first threshold, the first device determines the candidate resources according to the time slot priority of the time slot, or according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window; wherein the first threshold is the minimum number of resources in the resource set; the time slot with the highest time slot priority is the first time slot in the selection window, and the first time slot has perception results in all time slots in the corresponding perception window.

[0014] Through the above method, the first device can flexibly determine the candidate resource in combination with the time slot priority of the time slot, or the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window to meet the transmission requirements of the first device.

[0015] In one possible design, the first device determines the candidate resource according to the time slot priority of the time slot, and the specific method may be: the first device determines the candidate resource in order from the time slots corresponding to the time slot priorities from high to low. In this way, the first device can determine the candidate resource that meets the demand to meet the transmission demand of the first device.

[0016] In one possible design, the first device determines the candidate resource according to the time slot priority of the time slot, and the specific method may be: the first device determines multiple time slots whose time slot priority is greater than or equal to a first priority threshold, and the first device determines the candidate resource from the resources of the multiple time slots. In this way, the first device can determine the candidate resource that meets the demand to meet the transmission demand of the first device.

[0017] In one possible design, the first device determines the resource to be selected based on the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window. The specific method may be: the first device determines multiple second time slots whose time slot priority is greater than or equal to a second priority threshold, the first device determines a first resource from the resources of the multiple second time slots, and the signal strength of the resource corresponding to any one of the first resources in the perception window is less than or equal to the first strength threshold; when the number of resources included in the first resource is less than the first threshold, the first device determines multiple third time slots whose time slot priority is greater than or equal to a third priority threshold, determines a second resource from the resources of the multiple third time slots, and determines the resource to be selected from the second resource, and the signal strength of the resource corresponding to any one of the second resources in the perception window is less than or equal to the first strength threshold; wherein the third priority threshold is less than the second priority threshold, and the number of resources included in the second resource is greater than or equal to the first threshold.

[0018] Through the above method, when the first device screens the selected resources based on the set second priority threshold, if the number of first resources screened out by the first device is insufficient, the priority threshold is lowered from the second priority threshold to the third priority threshold to screen out more resources from time slots with more time slot priorities, so as to screen out the second resources that meet the resource number requirements, and then the selected resources that meet the requirements can be determined to meet the transmission requirements of the first device.

[0019] In one possible design, the first device determines the resource to be selected based on the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window. The specific method may be: the first device determines multiple fourth time slots whose time slot priority is greater than or equal to a fourth priority threshold, the first device determines a third resource from the resources of the multiple fourth time slots, and the signal strength of the resource corresponding to any one of the third resources in the perception window is less than or equal to the second strength threshold; when the number of resources included in the third resource is greater than or equal to the first proportion of the total resources in the selection window or a preset number, the third resource is the resource to be selected; when the number of resources included in the third resource is less than the first proportion of the total resources in the selection window or a preset number, the first device determines a fourth resource from the resources of the multiple fourth time slots, and the fourth resource The source is the to-be-selected resource, and the signal strength of the resource corresponding to any one of the fourth resources in the perception window is less than or equal to the third strength threshold; or, the first device determines multiple fifth time slots whose time slot priorities are greater than or equal to the fifth priority threshold, and the first device determines a fifth resource among the resources of the multiple fifth time slots, and the fifth resource is the to-be-selected resource, and the signal strength of the resource corresponding to any one of the fifth resources in the perception window is less than or equal to the second strength threshold; wherein the third strength threshold is greater than the second strength threshold, and the fifth priority threshold is less than the fourth priority threshold; the number of resources included in the fourth resource is greater than or equal to the first proportion of the total resources in the selection window or the preset number, or the number of resources included in the fifth resource is greater than or equal to the first proportion of the total resources in the selection window or the preset number.

[0020] Through the above method, the candidate resource that meets the demand can be obtained by adjusting the strength threshold or the priority threshold of the time slot priority, thereby meeting the transmission demand of the first device.

[0021] In one possible design, the first device determines the candidate resource according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window. The specific method may be: the first device determines the resource determined from the resources of multiple time slots whose time slot priority is greater than or equal to the sixth priority threshold as the first candidate resource; the first device determines the second candidate resource from the resources in the time slots of one or more time slot priorities next to the first time slot priority, the second candidate resource is X resources in the sixth resource, and the signal strength of the resource corresponding to any one of the sixth resources in the perception window is less than or equal to the fourth strength threshold; the first candidate resource and the second candidate resource are the candidate resources; X is the difference between the number of resources included in the first candidate resource and the first threshold; the first time slot priority is greater than or equal to the lowest time slot priority in the sixth priority threshold.

[0022] Through the above method, the first device can flexibly determine the candidate resources that meet the requirements, thereby meeting the transmission requirements of the first device.

[0023] In a possible design, the first device determines the ratio of the first threshold to the total number of resources in the selection window, or the ratio of the first threshold to the total number of resources in the time slots with perception results in the selection window, based on the ratio of the time slots with perception results in the selection window to the total number of time slots in the selection window. In this way, the first device can accurately determine the first threshold, so as to implement a specific method for determining the resource to be selected according to the first threshold.

[0024] In one possible design, the physical layer of the first device reports the candidate resources and the time slot priorities corresponding to the candidate resources to the media access control (MAC) layer, so that the MAC of the first device can subsequently determine the required transmission resources according to the time slot priorities corresponding to the candidate resources.

[0025] In one possible design, the first device determines the transmission resource from the candidate resources, and the specific method may be: the MAC layer of the first device determines the transmission resource from high to low according to the time slot priority corresponding to the candidate resources. In this way, the first device can determine the transmission resource that meets the transmission requirement.

[0026] In one possible design, when the number of the resources to be selected is less than the number of transmission resources required by the first device, the physical layer of the first device sends first indication information to the MAC layer, and the first indication information instructs the MAC layer to determine the time slot range of the transmission resources. In this way, when the number of the resources to be selected is insufficient, the first device can further determine more transmission resources according to the time slot range indicated by the first indication information to meet the transmission requirements of the first device.

[0027] In a possible design, the first device determines the transmission resource in the candidate resources, and the specific method may be: the first device uses the candidate resources as the first part of the transmission resources; the first device determines the second part of the transmission resources in the time slots other than the sixth time slot in the time slot range, and the sixth time slot is the time slot where the candidate resources are located; wherein the number of resources in the second part of the transmission resources is the number of transmission resources minus the number of resources of the candidate resources. In this way, when the number of the candidate resources is insufficient, the first device can further determine more transmission resources according to the time slot range indicated by the first indication information to meet the transmission needs of the first device.

[0028] In one possible design, the first device determines a discontinuous reception (DRX) parameter, the DRX parameter indicating a sleep time slot and an active time slot of the first device; wherein there is no perception result in the sleep time slot and there is a perception result in the active time slot, so that the first device can perceive the perception result in the active time slot.

[0029] In the second aspect, the present application provides a method for determining transmission resources, which may include: when the first device determines that there is no perception result in one or more time slots in the perception window, the resources in the time slots of the selection window corresponding to the one or more time slots are excluded from the resource set to obtain the seventh resource in the resource set; when the first device determines that the number of resources included in the first resource is less than the fifth proportion of the total resources in the selection window, the transmission resource is determined in the first resource; wherein, a time slot in the selection window corresponds to one or more time slots in the perception window.

[0030] Through the above method, when the first device determines that there is no perception result in one or more time slots in the perception window, the resources in the time slots of the selection window corresponding to the one or more time slots are excluded from the resource set. When it is determined that the number of resources of the seventh resource in the resource set is less than the fifth proportion of the total resources in the selection window, the transmission resources are determined in the first resources. In this way, the transmission resources can be determined even if the number of resources is less than the fifth proportion of the total resources in the selection window, thereby avoiding the problem of not obtaining transmission resources due to insufficient resources.

[0031] In one possible design, the physical layer of the first device reports the seventh resource to the MAC layer of the first device, so that the MAC of the first device can determine the required transmission resources.

[0032] In a possible design, when the first device determines that the signal strength of the resource corresponding to the eighth resource in the seventh resource in the perception window is greater than the fifth strength threshold, the eighth resource is excluded from the resource set to obtain a ninth resource in the resource set, and the ninth resource is the resource in the seventh resource except the eighth resource; the physical layer of the first device reports the ninth resource to the MAC layer of the first device. In this way, the MAC of the first device can determine the required transmission resources.

[0033] In a possible design, the first device determines the transmission resource in the seventh resource, and the specific method may be: the first device determines the transmission resource in the ninth resource. In this way, the first device can determine the required transmission resource.

[0034] In a third aspect, the present application further provides a communication device, which may be a first device, and which has the function of implementing the first aspect or each possible design example of the first aspect. The function may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

[0035] In one possible design, the structure of the communication device includes a storage unit and a processing unit, and may optionally also include a transceiver unit. These units can perform the corresponding functions of the first device in the above-mentioned first aspect or each possible design example of the first aspect, or the second aspect or each possible design example of the second aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.

[0036] In one possible design, the structure of the communication device includes a memory and a processor, and optionally also includes a transceiver, the transceiver can be used to send and receive data, and to communicate and interact with other devices in the communication system, and the processor is configured to support the communication device to perform the corresponding functions of the first device in the first aspect or each possible design example of the first aspect, or in the second aspect or each possible design example of the second aspect. The memory is coupled to the processor, which stores the necessary program instructions and data for the communication device.

[0037] In a fourth aspect, an embodiment of the present application provides a communication system, which may include the first device mentioned above, etc.

[0038] In a fifth aspect, a computer-readable storage medium provided by an embodiment of the present application stores program instructions, and when the program instructions are run on a computer, the computer executes the method described in the first aspect of the embodiment of the present application and any possible design thereof, or the second aspect and any possible design thereof. Exemplarily, the computer-readable storage medium can be any available medium that can be accessed by a computer. Taking this as an example but not limited to: a computer-readable medium may include a non-transient computer-readable medium, a random-access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a CD-ROM or other optical disk storage, a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer.

[0039] In a sixth aspect, an embodiment of the present application provides a computer program product comprising computer program codes or instructions, which, when executed on a computer, enables the computer to implement the method described in the first aspect or any possible design of the first aspect, or the second aspect and any possible design thereof.

[0040] In the seventh aspect, the present application also provides a chip, including a processor, which is coupled to a memory and is used to read and execute program instructions stored in the memory so that the chip implements the method described in the above-mentioned first aspect or any possible design of the first aspect, or the second aspect and any possible design thereof.

[0041] For each of the above-mentioned aspects from the third to the seventh aspects and the technical effects that may be achieved by each of the aspects, please refer to the above-mentioned description of the technical effects that can be achieved by various possible schemes in the first or second aspects, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of the architecture of a communication system provided for this application;

[0043] Figure 2 A schematic diagram of a selection window provided by the present application having no perception result in the perception window;

[0044] Figure 3 A schematic diagram of a DRX-based communication process provided in this application;

[0045] Figure 4 A DRX schematic diagram provided for this application;

[0046] Figure 5 A schematic diagram of a selection window provided by the present application having no perception result in the perception window;

[0047] Figure 6 A flow chart of a method for determining transmission resources provided in this application;

[0048] Figure 7 A schematic diagram of whether a selection window provided in the present application has a perception result in the perception window;

[0049] Figure 8 A schematic diagram of a screening sequence of resources to be selected provided for this application;

[0050] Fig. 9 A flowchart of another method for determining transmission resources provided by the present application;

[0051] Fig.10 A schematic diagram of the structure of a communication device provided by the present application;

[0052] Fig.11 A structural diagram of a communication device provided in this application. DETAILED DESCRIPTION

[0053] The present application will be described in further detail below in conjunction with the accompanying drawings.

[0054] The embodiment of the present application provides a method and device for determining transmission resources, which is used to solve the problem in the prior art that the resources in the resource set are too few and cannot meet the transmission requirements of the terminal device. The method and device described in the present application are based on the same technical concept. Since the principles of solving the problem by the method and the device are similar, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.

[0055] In the description of this application, words such as “first” and “second” are only used for the purpose of distinguishing the description and cannot be understood as indicating or implying relative importance or order.

[0056] In the description of the present application, "at least one" means one or more, and more means two or more.

[0057] In order to more clearly describe the technical solution of the embodiment of the present application, the method and device for determining the transmission resources provided in the embodiment of the present application are described in detail below in conjunction with the accompanying drawings.

[0058] Figure 1The structure of a possible communication system to which the method for determining transmission resources provided in an embodiment of the present application is applicable is shown. The structure of the communication system may include a network device and at least two terminal devices. The at least two terminal devices are, for example, Figure 1 Terminal device 1 and terminal device 2 in the example, data can be transmitted between terminal device 1 and terminal device 2 via a sidelink.

[0059] The terminal device may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device in the embodiments of the present application may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle user device, an on-board communication module, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. In the present application, the terminal device with wireless transceiver function and the chip that can be set in the aforementioned terminal device are collectively referred to as terminal device.

[0060] The network device may be a device with a wireless transceiver function or a chip that may be provided in the network device. The network device includes, but is not limited to, a base station (generation node B, gNB), a radio network controller (radio network controller, RNC), a node B (Node B, NB), a base station controller (base station controller, BSC), a base transceiver station (base transceiver station, BTS), a home base station (for example, home evolved NodeB, or homeNode B, HNB), a baseband unit (baseband unit, BBU), an access point (access point, AP) in a wireless fidelity (wireless fidelity, WIFI) system, a wireless relay node, a wireless backhaul node, a transmission point (transmission and reception point, TRP or transmission point, TP), etc. It may also be a network node constituting a gNB or a transmission point, such as a baseband unit (BBU), or a distributed unit (DU), etc.

[0061] In some deployments, the gNB may include a centralized unit (CU) and a DU. The gNB may also include a radio unit (RU). The CU implements some functions of the gNB, and the DU implements some functions of the gNB, for example, the CU implements the functions of the radio resource control (RRC) and packet data convergence protocol (PDCP) layers, and the DU implements the functions of the radio link control (RLC), media access control (MAC) and physical (PHY) layers. Since the information of the RRC layer will eventually become the information of the PHY layer, or be converted from the information of the PHY layer, under this architecture, high-level signaling, such as RRC layer signaling or PHCP layer signaling, can also be considered to be sent by the DU, or by the DU+RU. It can be understood that the network device can be a CU node, a DU node, or a device including a CU node and a DU node. In addition, the CU can be divided into a network device in the access network RAN, and the CU can also be divided into a network device in the core network CN, without limitation.

[0062] It should be noted that Figure 1The communication system shown may be, but is not limited to, a fifth generation (5th Generation, 5G) system, such as a new generation of wireless access technology (new radio access technology, NR). Optionally, the method of the embodiment of the present application is also applicable to various future communication systems, such as 6G systems or other communication networks. At present, an application perception mechanism is proposed in the communication between terminal devices, that is, after a terminal device determines that there is a transmission demand at a moment n, it can further determine a perception window and a selection window, wherein the transmission demand of the terminal device is the demand that the terminal device needs to send data, etc. The interval between the time slot in the selection window and the corresponding time slot in the perception window is the corresponding period, wherein the period can be one or more, that is, a time slot in the selection window can correspond to one or more time slots in the perception window. Exemplarily, the number of periods can be configured as any one or more of 1-99, or can also be configured as an integer multiple of 100, etc., and this application is not limited to this. Specifically, the terminal device detects whether there is a reserved transmission of resources in the time slot of the selection window corresponding to the time slot interval period in the time slot of the perception window, and further screens the resources available to the terminal device to obtain a resource set, so that the terminal device selects the resources required for transmission in the resource set for transmission.

[0063] In some embodiments, the terminal device is in a half-duplex working state, that is, the terminal device can only perform one of receiving and sending at the same time. When the terminal device is in the sending state, the time slot where the sending state is located is the transmission (TX) time slot, and the terminal device cannot receive or sense, so it cannot obtain the perception result of the time slot, and further cannot determine whether the resources on the time slot of the corresponding selection window have reserved transmission. At this time, the resources in the time slot corresponding to the transmission time slot in the selection window are regarded as unavailable and are excluded from the resource set. For example, Figure 2 In the schematic diagram shown, resources in the time slots in the selection window corresponding to the TX time slots in the perception window are all unavailable.

[0064] In other embodiments, the terminal device supports DRX, which can make the terminal device enter a dormant state, that is, a non-receiving state, when there is no data transmission or the data volume demand is small, thereby reducing the power consumption of the terminal device caused by demodulating downlink signals. When the network device and the terminal device communicate, the DRX process can be as follows Figure 3 Specifically, the network device configures DRX parameters for the terminal device, and the DRX parameters indicate the sleep time slot and active time slot of the terminal device; the terminal device determines when to enter the sleep state and when to enter the listening or receiving state according to the DRX parameters, so that the terminal device can save power consumption by entering the sleep state. At this time, the network device will follow the following Figure 4As shown in the DRX schematic diagram, downlink data or downlink control signals (downlink control information, DCI) are sent to the terminal device when the terminal device is in the DRX active state, and downlink data or downlink control signals are not sent when the terminal device is in the sleep state.

[0065] Of course, when the terminal device supports DRX, when two terminal devices communicate, one terminal device will send data or signals when the other terminal device is in an activated state, and will not send data or signals when the other terminal device is in a sleep state.

[0066] When a DRX sleep time slot appears in the perception window, the terminal device cannot obtain the perception result of the time slot, and cannot determine whether the resources in the time slot of the corresponding selection window have scheduled transmission. At this time, the resources in the time slot corresponding to the sleep time slot in the selection window are considered unavailable and are excluded from the resource set. Figure 5 In the schematic diagram shown, resources in the time slots in the selection window corresponding to the sleep time slots in the sensing window are all unavailable.

[0067] It should be noted that Figure 2 and Figure 5 In the figure, the period between the time slot in the selection window and the time slot in the perception window is configured with 8 values ​​from 20 milliseconds (ms) to 35ms. Only the period 20ms and 35ms are shown in the figure, and the other 6 periods are not shown. Figure 2 The resources in the 8 time slots in the selection window corresponding to the TX time slot in the perception window are all unavailable. Figure 5 The resources in the 8 time slots in the selection window corresponding to the sleep time slots in the sensing window are all unavailable.

[0068] In the above two embodiments, the resources in the resource set are both small and cannot meet the transmission requirements of the terminal device. Based on this, the present application proposes a method for determining transmission resources to solve the above problem.

[0069] Embodiment 1

[0070] Exemplarily, a method for determining a transmission resource provided in an embodiment of the present application is applicable to Figure 1 The communication system shown. Figure 6 As shown, the specific process of the method may include:

[0071] Step 601: The first device determines the number of time slots having perception results in each time slot in the selection window according to the perception results of the perception window; wherein one time slot in the selection window corresponds to one or more time slots in the perception window.

[0072] The first device may be a terminal device or a chip in the terminal device, which is not limited in this application.

[0073] Specifically, when the first device determines that there is a transmission demand at time n, that is, when the first device determines that data needs to be sent at time n, the corresponding sensing window and selection window are determined according to time n. Specifically, Figure 7 As shown, the first device determines that the corresponding selection window is within the time slot range after moment n and before the upper limit of the delay, and determines that the corresponding perception window is before moment n. The perception window can be determined based on the selection window, and the time slot intervals within the selection window are mapped to the time slots before moment n with a preset period, that is, the time slots within the corresponding perception window. The specific positions of the selection window and the perception window can be implemented by the first device. Exemplarily, the first device determines the specific position of the selection window within the time slot range after moment n and before the upper limit of the delay, and determines the specific position of the perception window within the range before moment n according to its own needs.

[0074] In an optional implementation, the period between the time slots in the selection window and the time slots in the perception window can be configured with one or more values, so that a time slot in the selection window can correspond to one or more time slots in the perception window. Among them, the number of time slots in the perception window corresponding to a time slot in the selection window can be the same as the number of values ​​of the period. It should be noted that, in practice, when there are multiple values ​​of the period, the number of time slots in the perception window corresponding to a time slot in the selection window can be less than the number of values ​​of the period.

[0075] In one example, when the first device is in a transmitting state, there is no perception result in the time slot (i.e., TX time slot) where the transmitting state is located. In another example, when the first device supports DRX, there is no perception result in the DRX sleep time slot in the perception window. Therefore, the selection window has perception results in all time slots in the perception window, perception results in some time slots, no perception results in some time slots, and no perception results in some time slots.

[0076] For example, suppose that there are 5 time slots in the sensing window with sensing results, and the other time slots are TX time slots or sleep time slots without sensing results. Suppose that the period between the time slots in the selection window and the time slots in the sensing window is configured with two values, t1 and t2. Figure 7In the schematic diagram shown, time slot 1 in the selection window has a perception result in the time slot corresponding to the period t1 in the perception window, and has no perception result in the time slot corresponding to the period t2, that is, the number of time slots with perception results in the perception window for time slot 1 is 1. Time slot 2 in the selection window has a perception result in the time slot corresponding to the period t1 in the perception window, and also has a perception result in the time slot corresponding to the period t2, that is, the number of time slots with perception results in the perception window for time slot 2 is 2. Time slot 3 in the selection window has no perception result in the time slot corresponding to the period t1 in the perception window, and also has no perception result in the time slot corresponding to the period t2, that is, the number of time slots with perception results in the perception window for time slot 3 is 0.

[0077] In an optional implementation, when the first device supports DRX, before step 701, the first device may determine a DRX parameter, which may indicate a sleep time slot and an activation time slot of the first device; wherein there is no perception result on the sleep time slot and there is a perception result on the activation time slot.

[0078] Exemplarily, the method for the first device to determine the DRX parameters may be: the first device determines the DRX parameters configured by the network device for the first device; or the first device negotiates the DRX parameters with other devices, and the other devices may be terminal devices or network devices or chips in the terminal devices or chips in the network devices, etc.

[0079] Step 602: The first device determines the time slot priority of each time slot in the selection window according to the number of time slots having a sensing result in the sensing window for each time slot in the selection window.

[0080] Specifically, the time slot priority is positively correlated with the number of time slots with sensing results, that is, the more time slots with sensing results there are, the higher the time slot priority is.

[0081] For example, Figure 7 For example, the number of time slots with perception results in the perception window for time slot 1 in the selection window is 1, the number of time slots with perception results in the perception window for time slot 2 is 2, and the number of time slots with perception results in the perception window for time slot 3 is 0. It can be concluded that time slot 2 has the highest time slot priority, time slot 3 has the lowest time slot priority, and time slot 1 has a higher time slot priority than time slot 3 and lower than time slot priority of time slot 2.

[0082] In an optional implementation, the time slot priority of each time slot in the selection window can be identified by the number of time slots with sensing results in the sensing window. Figure 7 For example, the time slot priority of time slot 1 in the selection window is marked with 1, the time slot priority of time slot 2 is marked with 2, and the time slot priority of time slot 3 is marked with 0.

[0083] In another optional implementation, the priority of each time slot in the selection window can be identified by a number. In one possible case, the higher the time slot priority, the smaller the number corresponding to the time slot priority. Figure 7 For example, the time slot priorities of time slot 2, time slot 1 and time slot 3 from high to low are respectively identified by 1, 2, 3, or represented by 1, 3, 5, or represented by 2, 5, 8, etc. It should be understood that as long as they are different numbers from small to large, this application is not limited to this. In another possible case, the higher the time slot priority, the larger the number corresponding to the time slot priority. For example, still taking Figure 7 For example, the time slot priorities of time slot 2, time slot 1 and time slot 3 from high to low are respectively identified by 3, 2, 1, or by 6, 3, 1, or by 7, 4, 2, etc. It should be understood that as long as they are different numbers from large to small, the present application does not limit this.

[0084] Of course, the time slot priority of each time slot may also be identified by other means, which is not limited in this application.

[0085] Step 603: The first device determines transmission resources according to the time slot priorities of the time slots in the selection window.

[0086] Specifically, the transmission resource may be a resource used for sending.

[0087] In an optional implementation, the first device determines the transmission resource based on the time slot priority of the time slot in the selection window. The specific method may be: the first device determines the candidate resources in the resource set based on the time slot priority of the time slot in the selection window; then, the first device determines the transmission resource from the candidate resources.

[0088] The resource set may be composed of a plurality of resources to be selected, and the plurality of resources to be selected are used for the first device to select required transmission resources.

[0089] In one example, the first device determines the resources to be selected in the resource set according to the time slot priority of the time slot in the selection window. The specific method may be: when the number of resources in the time slot with the highest time slot priority is greater than or equal to a first threshold, the first device determines the resources to be selected from the resources in the time slot with the highest time slot priority; wherein the first threshold is the minimum number of resources in the resource set; the time slot with the highest time slot priority is the first time slot in the selection window, and the first time slot has perception results in all time slots in the corresponding perception window, or the first time slot has perception results in some of all time slots in the corresponding perception window. However, it should be noted that the first time slot is the time slot with the largest number of time slots with perception results in the corresponding perception window in the selection window. For example, still with Figure 7For example, the first time slot is time slot 2 in the selection window.

[0090] Among them, the method for the first device to determine the candidate resources from the resources in the time slot with the highest time slot priority can adopt the existing method. For example, the first device can screen the candidate resources based on the signal strength of the resources corresponding to the resources in the time slot with the highest time slot priority in the perception window. Specifically, among the candidate resources screened by the first device from the resources in the time slot with the highest time slot priority, the signal strength of the resource corresponding to any resource in the perception window is less than or equal to the preset strength threshold.

[0091] Optionally, the signal strength involved in the present application may be, but is not limited to, reference signal received power (RSRP) and the like.

[0092] In another example, the first device determines the candidate resource in the resource set according to the time slot priority of the time slot in the selection window. The specific method may be: when the number of resources in the time slot with the highest time slot priority is less than the first threshold, the first device determines the candidate resource according to the time slot priority of the time slot, or according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window. The time slot with the highest time slot priority is still the first time slot in the selection window. For details, please refer to the above description.

[0093] In an optional implementation, when the first device determines the resource to be selected according to the time slot priority of the time slot, or according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window, the following five methods may be specifically included:

[0094] Method a1: The first device determines the resources to be selected according to the time slot priority of the time slot. The specific method may be: the first device determines the resources to be selected in sequence from the time slots corresponding to the time slot priorities from high to low.

[0095] For example, the first device first determines some candidate resources from the time slot with the highest time slot priority, and then continues to determine some candidate resources from the time slot with the second highest time slot priority. If the number of candidate resources determined previously is still less than the first threshold, it continues to determine some candidate resources from the time slots of the next level of time slot priority until the number of all candidate resources finally determined is greater than or equal to the first threshold.

[0096] It should be noted that when the first device determines some candidate resources in each time slot priority, the existing method can still be used. For example, the first device can screen the candidate resources based on the signal strength of the resources corresponding to the resources in the time slot of each time slot priority in the perception window. Among them, the signal strength of the resource corresponding to any one of the candidate resources screened by the first device in the perception window is less than or equal to the preset strength threshold.

[0097] Method a2: The first device determines the resources to be selected according to the time slot priority of the time slot. The specific method may be: the first device determines multiple time slots whose time slot priority is greater than or equal to the first priority threshold, and the first device determines the resources to be selected from the resources of the multiple time slots.

[0098] It should be noted that the method for the first device to determine the candidate resources from the resources of the multiple time slots may also adopt an existing method, and details may refer to the similar descriptions above, which will not be described in detail here.

[0099] Specifically, multiple time slots whose time slot priority is greater than or equal to the first priority threshold represent multiple time slots whose time slot priority is greater than or equal to the first priority level, and the first priority threshold may correspond to one priority level. Figure 7 For example, if the priority level corresponding to the first priority threshold is the priority level corresponding to time slot 1, in some embodiments, when the time slot priorities of time slot 2, time slot 1 and time slot 3 are respectively identified by time slot priority 3, time slot priority 2 and time slot priority 1, a plurality of time slots whose time slot priorities are greater than or equal to the first priority threshold are a plurality of time slots whose time slot priority levels are higher than or equal to time slot priority 2, namely, time slot 2 and time slot 1 corresponding to time slot priority 3 and time slot priority 2. In other embodiments, when the time slot priorities of time slot 2, time slot 1 and time slot 3 are respectively identified by time slot priority 1, time slot priority 2 and time slot priority 3, a plurality of time slots whose time slot priorities are greater than or equal to the first priority threshold are a plurality of time slots whose time slot priority levels are higher than or equal to time slot priority 2, namely, time slot 2 and time slot 1 corresponding to time slot priority 1 and time slot priority 2.

[0100] Method a3: The first device determines the resource to be selected according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window. The specific method may be:

[0101] The first device determines a plurality of second time slots whose time slot priorities are greater than or equal to a second priority threshold, the first device determines a first resource from among the resources of the plurality of second time slots, and a signal strength of a resource corresponding to any one of the first resources in the perception window is less than or equal to a first strength threshold;

[0102] When the number of resources included in the first resource is less than the first threshold, the first device determines a plurality of third time slots whose time slot priorities are greater than or equal to the third priority threshold, determines a second resource from the resources of the plurality of third time slots, and determines a candidate resource from the second resources, wherein the signal strength of a resource corresponding to any one of the second resources in the perception window is less than or equal to the first strength threshold;

[0103] The third priority threshold is smaller than the second priority threshold, and the number of resources included in the second resources is greater than or equal to the first threshold.

[0104] In simple terms, in method a3, the main thing is: when the first device filters the selected resources based on the set second priority threshold, if the number of first resources screened out by the first device is insufficient, the priority threshold is lowered from the second priority threshold to the third priority threshold, so as to filter out more resources from time slots with more time slot priorities, so as to filter out the second resources that meet the resource number requirements.

[0105] It should be noted that in method a3, the principle of multiple second time slots whose time slot priority is greater than or equal to the second priority threshold, and multiple third time slots whose time slot priority is greater than or equal to the third priority threshold, are similar to the principle of multiple time slots whose time slot priority is greater than or equal to the first priority threshold in the above-mentioned method a2, both of which indicate time slots whose time slot priority is greater than or equal to a preset priority level. For details, please refer to the description in method a2 and will not be described in detail here.

[0106] The third priority threshold is less than the second priority threshold, which means that the third priority level corresponding to the third priority threshold is lower than the second priority level corresponding to the second priority threshold. Figure 7 For example, the third priority level may be the priority level corresponding to time slot 3, and the second priority level may be the priority level corresponding to time slot 1. Obviously, the priority level of time slot 3 is lower than that of time slot 1, which indicates that the third priority level is lower than the second priority level, that is, the third priority threshold is lower than the second priority threshold. For example, when the time slot priorities of time slot 2, time slot 1, and time slot 3 are respectively identified by time slot priority 3, time slot priority 2, and time slot priority 1, the third priority threshold is less than the second priority threshold, which indicates that the priority level corresponding to time slot priority 1 is less than the priority level corresponding to time slot priority 2; for another example, when the time slot priorities of time slot 2, time slot 1, and time slot 3 are respectively identified by time slot priority 1, time slot priority 2, and time slot priority 3, the third priority threshold is less than the second priority threshold, which indicates that the priority level corresponding to time slot priority 3 is less than the priority level corresponding to time slot priority 2.

[0107] Method a4: The first device determines the resource to be selected according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window. The specific method may be:

[0108] The first device determines a plurality of fourth time slots whose time slot priorities are greater than or equal to a fourth priority threshold, the first device determines a third resource from the resources of the plurality of fourth time slots, and a signal strength of a resource corresponding to any one of the third resources in the perception window is less than or equal to a second strength threshold;

[0109] When the number of resources included in the third resource is greater than or equal to the number of the first proportion (such as 10%, etc.) of the total resources in the selection window or the preset number, the third resource is a to-be-selected resource;

[0110] When the number of resources included in the third resource is less than the number of the first proportion of the total resources in the selection window or the preset number, the first device determines the fourth resource from the resources of multiple fourth time slots, the fourth resource is a to-be-selected resource, and the signal strength of the resource corresponding to any one of the fourth resources in the perception window is less than or equal to the third strength threshold; or, the first device determines multiple fifth time slots whose time slot priorities are greater than or equal to the fifth priority threshold, the first device determines the fifth resource from the resources of multiple fifth time slots, the fifth resource is a to-be-selected resource, and the signal strength of the resource corresponding to any one of the fifth resources in the perception window is less than or equal to the second strength threshold;

[0111] Among them, the third strength threshold is greater than the second strength threshold, and the fifth priority threshold is less than the fourth priority threshold; the number of resources included in the fourth resource is greater than or equal to the first proportion of the total resources in the selection window or the preset number, or the number of resources included in the fifth resource is greater than or equal to the first proportion of the total resources in the selection window or the preset number.

[0112] It should be noted that in method a4, the principle of multiple fourth time slots whose time slot priority is greater than or equal to the fourth priority threshold, and the principle of multiple fifth time slots whose time slot priority is greater than or equal to the fifth priority threshold, are similar to the principle of multiple second time slots whose time slot priority is greater than or equal to the second priority threshold, and the principle of multiple third time slots whose time slot priority is greater than or equal to the third priority threshold in the above-mentioned method a3, and the principle of multiple time slots whose time slot priority is greater than or equal to the first priority threshold in the above-mentioned method a2, all of which indicate time slots whose time slot priority is greater than or equal to a preset priority level. For details, please refer to the description in methods a2 and a3, which will not be described in detail here.

[0113] Similarly, the principle that the fifth priority threshold is less than the fourth priority threshold is the same as the principle that the third priority threshold is less than the second priority threshold in the above method a3, and they can refer to each other and will not be described in detail here.

[0114] Method a5: The first device determines the resource to be selected according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window. The specific method may be:

[0115] The first device determines a resource from resources of multiple time slots whose time slot priorities are greater than or equal to a sixth priority threshold as a first candidate resource;

[0116] The first device determines a second candidate resource from resources in a time slot of one or more time slot priorities next to the first time slot priority, where the second candidate resource is X resources in the sixth resource, and a signal strength of a resource corresponding to any one of the sixth resources in the perception window is less than or equal to a fourth strength threshold;

[0117] The first candidate resource and the second candidate resource are candidate resources; X is the difference between the number of resources included in the first candidate resource and the first threshold; the first time slot priority is greater than or equal to the lowest time slot priority in the sixth priority threshold.

[0118] Specifically, the X resources may be X resources randomly selected by the first device from the sixth resources.

[0119] It should be noted that the multiple priority thresholds involved in this application can be set by the first device itself according to needs, and this application does not limit this.

[0120] In an optional embodiment, the first device may determine the ratio of the first threshold to the total number of resources in the selection window, or the ratio of the first threshold to the total number of resources in the time slots with perception results in the selection window based on the ratio of the time slots with perception results in the selection window to the total number of time slots in the selection window.

[0121] Exemplarily, when the ratio of time slots with perceived results in the selection window to the total number of time slots in the selection window is greater than or equal to the second ratio, the ratio of the first threshold to the total number of resources in the selection window, or the ratio to the total number of resources in the time slots with perceived results in the selection window can be a third ratio; when the ratio of time slots with perceived results in the selection window to the total number of time slots in the selection window is less than the second ratio, the ratio of the first threshold to the total number of resources in the selection window, or the ratio to the total number of resources in the time slots with perceived results in the selection window can be a fourth ratio; wherein, the third ratio is greater than the fourth ratio.

[0122] That is to say, the first device can reduce the ratio of the first threshold to the total number of resources in the selection window, or the ratio of the first threshold to the total number of resources in the time slots with perception results in the selection window when the ratio of the time slots with perception results in the selection window to the total number of time slots in the selection window is less than a certain proportion.

[0123] For example, when the second proportion is 30%, the fourth proportion may be 5%. Of course, the second proportion and the fourth proportion may have other values ​​according to actual needs, and this application does not limit this.

[0124] Exemplarily, the third percentage may be 20%, 30%, 35%, 50%, etc., and may also be other values ​​preset according to actual needs, which is not limited in the present application.

[0125] It should be noted that the values ​​of the first proportion, the second proportion, the third proportion and the fourth proportion involved above are only examples and are not intended to limit the present application. Optionally, the above four proportions may be pre-configured by other devices for the first device, or may be the initial configuration value of the first device itself, etc., and the present application does not limit this.

[0126] In an optional implementation, when the ratio of time slots with perception results in the selection window to the total number of time slots in the selection window is less than a certain proportion, the first device may use all resources in the selection window as candidate resources and randomly select transmission resources from them.

[0127] Specifically, the process of the first device determining the candidate resources mentioned above can be implemented through the physical layer (PHY) of the first device. Further, when the first device determines the transmission resource from the candidate resources, it can be implemented through the media access control (MAC) layer of the first device.

[0128] In an optional implementation, after the physical layer of the first device determines the candidate resources, the physical layer of the first device reports the candidate resources and the time slot priorities corresponding to the candidate resources to the MAC layer.

[0129] Exemplarily, when the physical layer of the first device reports the candidate resources and the time slot priorities corresponding to the candidate resources to the MAC layer, there may be the following three specific methods:

[0130] Mode b1: The physical layer of the first device reports the candidate resources to the MAC layer in order from high to low priority of the time slots corresponding to the candidate resources.

[0131] Mode b2: The physical layer of the first device reports the resources corresponding to each time slot priority to the MAC layer in order from high to low time slot priorities. For example, the candidate resource with the highest time slot priority is reported first, and then the resource with the next level of time slot priority is reported, and so on, until all the candidate resources and the corresponding time slot priorities are reported.

[0132] Mode b3: The physical layer of the first device reports the candidate resources to the MAC layer, and reports the time slot priorities corresponding to the candidate resources at the same time.

[0133] Further, in an example, when the first device determines the transmission resource from the candidate resources, the specific method may be: the MAC layer of the first device determines the transmission resource from high to low according to the time slot priority corresponding to the candidate resources.

[0134] In another example, when the first device determines the transmission resource from the candidate resources, the specific method may be: the MAC layer of the first device determines the resources corresponding to the first N time slot priorities from high to low among the time slot priorities corresponding to the candidate resources, and when the resources corresponding to the first N time slot priorities are greater than the number of transmission resources required by the first device, the MAC layer of the first device randomly selects the transmission resource from the resources corresponding to the first N time slot priorities. Wherein N is a positive integer greater than or equal to 1.

[0135] In another optional implementation, when the number of resources to be selected is less than the number of transmission resources required by the first device, the physical layer of the first device further sends first indication information to the MAC layer, and the first indication information instructs the MAC layer to determine a time slot range for the transmission resources.

[0136] Further, when the first device determines the transmission resources among the resources to be selected, the specific method may be: the first device takes the resources to be selected as the first part of the transmission resources; the first device determines the second part of the transmission resources in the time slot range except the sixth time slot, and the sixth time slot is the time slot where the resources to be selected are located; wherein the number of resources in the second part of the transmission resources is the number of transmission resources minus the number of resources of the resources to be selected.

[0137] Exemplarily, when the first device determines the second part of the transmission resources in a time slot range excluding the sixth time slot, the specific method may be: the MAC layer of the first device may randomly select the second part of the transmission resources in a time slot range excluding the sixth time slot.

[0138] For example, still Figure 7 Taking the case shown as an example, the number of time slots with sensing results in the sensing window for time slot 1 in the selection window is 1, the number of time slots with sensing results in the sensing window for time slot 2 in the selection window is 2, and the number of time slots with sensing results in the sensing window for time slot 3 in the selection window is 0. Assuming that the physical layer of the first device needs to determine at least 10 (i.e., the first threshold is assumed to be 10) resources to be selected and reported to the MAC layer, a possible example may be as follows:

[0139] When the total number of resources in time slot 1 and time slot 2 is greater than or equal to 10, at this time, the physical layer of the first device first selects 3 resources to be selected from the resources of time slot 2 based on RSRP1. Since the number of resources to be selected is less than 10, the selection continues in the resources of time slot 1. If only 3 resources to be selected are selected and the total number of resources to be selected is still less than 10, the value of RSRP1 is increased to RSRP2 for reselection. Specifically, if the physical layer of the first device selects 4 resources to be selected from the resources of time slot 2 based on RSRP2 and selects 6 resources from the resources of time slot 1, the number of resources to be selected is 10 at this time, and the 10 selected resources to be selected are reported to the MAC layer. Of course, there can be other screening methods, which are not listed here one by one.

[0140] When the total number of resources in time slot 1 and time slot 2 is less than 10, the physical layer of the first device can determine the resources that meet RSRP1 in the resources of time slot 1 and time slot 2 as the candidate resources and report them to the MAC layer, and at the same time report the first indication information to indicate that the time slot range for determining the transmission resource is time slot 1, time slot 2 and time slot 3, where time slot 3 is the time slot for random resource selection. In an optional implementation, when the physical layer of the first device reports the candidate resources screened out from time slot 1 and time slot 2, it can also report an indication to instruct the MAC layer to randomly select other transmission resources in time slot 3.

[0141] In summary, when the physical layer of the first device selects the candidate resources in the selection window, it can first select in time slot 2. When the candidate resources are insufficient, it can continue to select in time slot 1. If it is still insufficient, it can continue to select in time slot 3. For details, please refer to Figure 8 shown.

[0142] In a specific implementation manner, after the first device determines the transmission resource by any of the above methods, the first device may execute the following steps: Figure 6 Step 704 shown in : the first device transmits data to the second device based on the transmission resource.

[0143] The first device transmits data to the second device based on the transmission resource, which may specifically be: the first device sends data to the second device based on the transmission resource.

[0144] Exemplarily, the second device may be a terminal device, or a chip in a terminal device, or a network device, or a chip in a network device, etc. In the present application, any device that can receive data sent by the first device may be used as the second device, and the present application does not limit this.

[0145] Using the method for determining transmission resources provided in an embodiment of the present application, the first device determines the time slot priority of each time slot in the selection window according to the number of time slots with perception results in the perception window for each time slot in the selection window, and then determines the transmission resources according to the time slot priority of the time slot in the selection window. In this way, the transmission resources that meet the needs can be flexibly determined, thereby avoiding the problem of not being able to meet the transmission needs of the first device.

[0146] Embodiment 2

[0147] At present, in the current R16 standard, when the UE is in half-duplex state, the steps for screening the candidate resources can be as follows:

[0148] 1) Definition of candidate resources: A candidate resource is a single time slot, the frequency domain can cover one or more continuous sub-channels, and the time domain resources are between [n+T1, n+T2]; and the total number of resources between [n+T1, n+T2] is M_total. The selection of T1 is implemented by the UE, and the range of T1 is in In units of time slots, defined in Table 8.1.4-2, μ SL is the subcarrier spacing of SL BWP. 2min T2 is smaller than the remaining data delay margin, and is implemented by the UE. 2min , remaining data delay margin], otherwise T2 is set to the remaining delay.

[0149] 2) Definition of the perception window, located at UE senses within this range. T0 is defined above. Defined in Table 8.1.4-1, where μ SL is the subcarrier spacing configuration of the SL BWP. The UE senses the time slots that may belong to the resource pool within the sensing window except for its own transmission. The UE shall perform the actions in the following steps based on the PSCCH decoded in these time slots and the RSRP measured in these time slots.

[0150] 3) The threshold value Th(pi,pj) is set to the i-th value in sl-ThresPSSCH-RSRP-List-r16, i=p i +(p j -1)*8.

[0151] 4) Set S A Initialized to all single-slot resources.

[0152] 5) UE excludes all resources Rxy that meet the following conditions from S AIn addition, condition 1: in step 2, the UE has no perception result in the time slot corresponding to t_m^SL; condition 2: for sl-ResourceReservePeriodList-r16 and in the time slot All period values ​​allowed by the assumed SCI format 1-A received in the resource reservation field are set to the period value and indicate the sub-channels of all resources in the resource pool, and the time slot where Rxy is located satisfies step 6c).

[0153] 6) UE excludes all resources Rxy that meet the following conditions from S A External: a) UE in time slot Listen to SCI format 1-A and obtain the priority P on the resource rsvp_RX and cycle prio RX , see c[6, TS 38.213], Section 16.4; b) The RSRP measurement result of the received SCI format 1-A performed according to Section 8.4.2.1 is higher than Th(prio RX ,prio TX );c) in the time slot The resources monitored in The corresponding resources in one or more cycles 0, that is, in time slot If SCI format 1-A is heard in the received SCI format 1-A, or if and only if the resource reservation field is present in the received SCI format 1-A, it is assumed that the resource reservation field is present in the time slot Determine the value of the resel -1 A collection of overlapping resource blocks and time slots. Here P′ rsvp_RX is P converted to logical time slot units according to clause 8.1.7 rsvp_RX , if P rsvp_RX <T scal And n′-m≤P′ rsvp_RX ,but If time slot n belongs to the set but Otherwise the time slot is the first time slot after time slot n belonging to set n Otherwise, Q = 1. scal Set to convert the selected window size T2 into ms units.

[0154] 7) If S A If the resource in the middle is less than X*Mtotal, increase Th(pi,pj) by 3dB and proceed to step 4.

[0155] UE reports S A Medium resources.

[0156] In the above process of the current R16, when there are one or more Tx time slots that cause the number of resources in the selection window excluded by step 5) to be less than X*Mtotal, an infinite loop will be entered, and no matter how Th(pi,pj) is improved in step 7), the requirement of step 7) cannot be met, resulting in the inability to determine the transmission resources.

[0157] Based on the above problems, the present application also proposes a method for determining transmission resources to break the existing infinite loop that may exist, so as to ensure that the transmission resources can be determined.

[0158] Exemplarily, a method for determining a transmission resource provided in an embodiment of the present application is applicable to Figure 1 The communication system shown. Fig. 9 As shown, the specific process of the method may include:

[0159] Step 901: When the first device determines that there is no perception result in one or more time slots in the perception window, the resources in the time slots of the selection window corresponding to the one or more time slots are excluded from the resource set to obtain the seventh resource in the resource set; wherein a time slot in the selection window corresponds to one or more time slots in the perception window.

[0160] Step 902: When the first device determines that the number of resources included in the seventh resource is less than the number of the fifth proportion of the total resources in the selection window, it determines the transmission resource in the seventh resource. The fifth proportion can be a value of 20%, 30%, 35%, 50%, etc., and of course it can also be other values, which is not limited in this application. Optionally, the fifth proportion can be configured to the first device by other devices, or it can be the initial configuration value of the first device itself, which is not limited in this application.

[0161] In an optional implementation, the physical layer of the first device reports the seventh resource to the MAC layer of the first device.

[0162] That is, in the above R16, when the remaining resources in step 5) are less than X*Mtotal, the remaining resources are reported without step 6) screening. Specifically, the standard protocol can be embodied as follows:

[0163] 5) UE excludes all resources Rxy that meet the following conditions from S A In addition, condition 1: in step 2, the UE has no perception result in the time slot corresponding to t_m^SL; condition 2: for sl-ResourceReservePeriodList-r16 and in the time slot The total period values ​​allowed by the hypothetical SCI format 1-A received in the data packet, where the resource reservation field is set to the period value and indicates the subchannels of all resources in the resource pool, and the time slot where Rxy is located satisfies step 6). If the number of remaining candidate single-slot resources in SA is less than X*Mtotal, the result of step 5 is reported.

[0164] Specifically, the above steps can be reflected in the standard as shown in English as follows:

[0165] 5)The UE shall exclude any candidate single-slot resource R x,y from the set S A if it meets all the following conditions:

[0166] -the UE has not monitored slot in Step 2.

[0167] -for any periodicity value allowed by the higher layer parameter sl-ResourceReservePeriodList-r16 and a hypothetical SCI format 1-A received inslot with "Resource reservation period" field set to that periodicity value and indicating all subchannels of the resource pool in this slot, condition cin step 6 would be met.

[0168] If the number of candidate single-slot resource remaining in the SAis smaller than X*Mtotal, report the result of Step 5to higher layers.

[0169] At this time, the result of step 5 is the seventh resource.

[0170] In another optional implementation, when the first device determines that the signal strength of the resource corresponding to the eighth resource in the seventh resource in the perception window is greater than the fifth strength threshold, the eighth resource is excluded from the resource set to obtain a ninth resource in the resource set, and the ninth resource is the resource in the seventh resource excluding the eighth resource; the physical layer of the first device reports the ninth resource to the MAC layer of the first device.

[0171] This implementation is a modification of step 7) in the above R16, that is, when the number of resources excluded in step 5) is less than X*Mtotal, step 7) is not performed. Specifically, the standard protocol can be embodied as follows:

[0172] 5) UE excludes all resources Rxy that meet the following conditions from S A In addition, condition 1: in step 2, the UE has no perception result in the time slot corresponding to t_m^SL; condition 2: for sl-ResourceReservePeriodList-r16 and in the time slot The total period values ​​allowed by the hypothetical SCI format 1-A received in the packet, where the resource reservation field is set to the period value and indicates the sub-channels of all resources in the resource pool, and the time slot where Rxy is located satisfies step 6). If the number of remaining candidate single-slot resources in SA is less than X*Mtotal, continue to step 6 and report the result of step 6.

[0173] Specifically, the above steps can be reflected in the standard as shown in English as follows:

[0174] 5)The UE shall exclude any candidate single-slot resource R x,y from the set S A if it meets all the following conditions:

[0175] -the UE has not monitored slot in Step 2.

[0176] -for any periodicity value allowed by the higher layer parameter sl-ResourceReservePeriodList-r16 and a hypothetical SCI format 1-A received inslot with "Resource reservation period" field set to that periodicity value and indicating all subchannels of the resource pool in this slot, condition cin step 6 would be met.

[0177] If the number of candidate single-slot resource remaining in the SAis smaller than X*Mtotal, continue with Step6, and report the result of Step6 to higher layers.

[0178] At this time, the result of step 6 is the ninth resource.

[0179] Further, in this implementation, the first device determines the transmission resource in the seventh resource, and the specific method may be: the first device determines the transmission resource in the ninth resource.

[0180] Using the method for determining transmission resources provided in an embodiment of the present application, when the first device determines that there is no perception result in one or more time slots in the perception window, the resources in the time slots of the selection window corresponding to the one or more time slots are excluded from the resource set. When it is determined that the number of resources of the seventh resource in the resource set is less than the number of the fifth proportion of the total resources in the selection window, the transmission resources are determined in the first resource. In this way, the transmission resources can be determined even if the number of resources is less than the number of the fifth proportion of the total resources in the selection window, thereby avoiding the problem of not obtaining transmission resources due to insufficient resources.

[0181] Based on the above embodiments, the method for determining the transmission resources is described in detail with specific examples. In the following example, the first device is a UE, and the UE supports DRX. In this example, two UEs, UE 1 and UE 2, communicate with each other, and both obtain DRX parameters through negotiation and receive in an active state. The core idea of ​​this example can be: the more time slots with perception results in a time slot in the selection window, the greater the probability that the resources in the time slot can be used, so it should be given priority. When the resources included in the resource set (also referred to as the resource pool to be selected) are insufficient, the resources are included in the resource set in sequence according to the time slot priority from high to low.

[0182] In a specific example, when UE2 needs to send data, the specific process of determining the transmission resource may be as follows:

[0183] Step 1: UE-2 negotiates DRX parameters with other UEs, which may include UE-1 or a base station or a platform UE. The specific negotiation steps can refer to the existing Uu interface DRX mechanism, and the signaling details of the negotiation will not be described in detail in this application.

[0184] The DRX parameter indicates a sleep time slot and an active time slot of the UE2, wherein there is no perception result on the sleep time slot and there is a perception result on the active time slot.

[0185] Step 1 is an optional step.

[0186] Step 2: UE-2 senses the time slot occupancy status, that is, determines the perception result of the perception window. Specifically, in the selection window, some time slots have all perception results, some time slots have perception results, some time slots have no perception results, and some time slots have no perception results. Among them, UE-2 determines the selection window according to the transmission demand time n, and each time slot in the selection window has multiple time slots in the perception window corresponding to it. The interval between a time slot in the selection window and its corresponding time slot in the perception window is equal to the period. The value of the period can be configured by configuration information from multiple preset values. For example, the number of period values ​​is N, and the number of time slots in the perception window corresponding to a time slot in the selection window is N. Among these N time slots, some time slots may have no perception results due to DRX. UE2 divides the time slot priorities of the time slots in the selection window according to the number of time slots with perception results. When all cycles corresponding to a time slot in the selection window have perception results, the time slot priority of the time slot is the highest; when all cycles corresponding to a time slot in the selection window have no perception results, the time slot priority of the time slot is the lowest; when some cycles corresponding to a time slot in the selection window have perception results, the time slot priority of the time slot is defined according to the number of time slots with perception results, and the more the number of perception results, the higher the time slot priority.

[0187] In a specific example, when the above-mentioned period has only one period value, there are only two time slot priorities. If the candidate resources are included in the resource set only within the highest time slot priority, it is the same as the method used in the prior art.

[0188] In a specific example, Figure 7As shown (only when some time slots in the sensing window are TX time slots), the period contains t1 and t2, and time slot 1 in the selection window has only the sensing result on the time slot corresponding to t1, time slot 2 has both t1 and t2 sensing results, and time slot 3 has no sensing result. At this time, the time slot priority of time slot 2 is the highest priority, the time slot priority of time slot 3 is the lowest priority, and the time slot priority of time slot 1 is higher than the time slot priority of time slot 3 but lower than the time slot priority of time slot 2.

[0189] Step 3: UE-2 determines the transmission resources for transmission in the selection window.

[0190] For the resources within the highest time slot priority, if the number of resources meets the lower limit requirement of the resource set (that is, the first threshold involved in the above embodiment), the methods of the prior art can be used to screen the selected resources; if the number of resources is less than the lower limit requirement of the resource set, it is necessary to screen the resources of the time slots with only partial perception results and / or the time slots with no perception results or include them in the resource set, and the steps of including them in the resource set include PHY layer operations and MAC layer operations respectively.

[0191] Among them, when comparing the time slots of all perception results with the lower limit of the number of resource sets, one possibility is to adjust the lower limit of the number of resource sets according to the number of time slots of all perception results or the ratio of the number of time slots to the number of time slots in the selection window. For example, if the number of time slots with all perception results is less than F%, the lower limit of the number of resource sets is reduced to the number of resources in the selection window or the total number of resources in the time slots with perception results in the selection window. One possible value of (F, H) is (30, 5); or, if the number of time slots with all perception results is less than Z%, all resources in the selection window are included in the resource set, and random selection is used to determine the resources therein.

[0192] Step 3.1) PHY layer operation

[0193] When the number of resources in the time slots of all perception results is less than the lower limit of the candidate resource pool, the resources are included in the resource set in sequence according to the time slot priority from high to low. When screening whether specific resources are included in the resource set, the RSRP threshold (also known as the RSRP threshold) or the range of the time slot priority (that is, the time slot priority threshold) can be adjusted to supplement the resource set.

[0194] In one implementation, a threshold value (i.e., priority threshold) is set based on time slot priority screening, and resources with signal strength lower than the RSRP threshold are screened out in time slots with time slot priority higher than the threshold value. If the number of resources is insufficient, the threshold value of the time slot priority is lowered to include more time slot resources with time slot priority for screening. Specifically, this implementation can be specifically referred to above. Figure 6 The relevant description of method a3 in the embodiment shown.

[0195] In another implementation, after some resources that meet the RSRP threshold requirements within the time slot priority are added to the resource set, when the number of resources to be selected in the resource set is greater than a certain proportion (that is, the number of the first proportion of the total resources in the selection window involved in the above embodiment) or the number (that is, the preset number involved in the above embodiment), no more resources will be included in the resource set, otherwise the resources excluded from the resource set will be reduced by lowering the time slot priority threshold or increasing the RSRP threshold. Specifically, this implementation can be specifically referred to above Figure 6 The relevant description of method a4 in the embodiment shown.

[0196] In another embodiment, when the resource set includes resources of certain time slot priorities, if there are still X resources missing in the resource set, X resources are randomly selected from resources that meet the RSRP threshold requirements in the next-highest time slot priority and included in the resource set. Figure 6 The relevant description of method a5 in the embodiment shown.

[0197] After selecting the candidate resources in the resource set through the above implementation, the PHY layer of UE2 can carry the time slot priority corresponding to the candidate resources when reporting the candidate resources to the MAC layer, and can report in the order of the time slot priority. Figure 6 The embodiments shown are modes b1-b3.

[0198] In one possible example, when there are insufficient resources to be selected in the resource set, the PHY layer can instruct the MAC to make random selections within the time slot ranges and reported resources to be selected (that is, to indicate through the first indication information involved in the above embodiment). The beneficial effect of this approach is to exclude resources with high interference from the resources with existing perception results.

[0199] Step 3.2) MAC layer operation

[0200] At present, in the prior art method, the MAC layer randomly selects from the reported candidate resources, which fails to reflect the difference in time slot priority.

[0201] In this example, when the candidate resources in the resource set reported by the PHY layer carry the time slot priority corresponding to the candidate resources, the MAC layer preferentially selects transmission resources from the candidate resources with high time slot priority. If there are not enough, the MAC layer selects transmission resources from the candidate resources with low time slot priority.

[0202] When the number of candidate resources with high slot priority is greater than the number of required transmission resources, the MAC layer will make a random selection from them;

[0203] One possible embodiment is when the total number of candidate resources accumulated from multiple time slot priorities is greater than the required number of transmission resources. Another possible embodiment is to include the candidate resources in each time slot priority into the required transmission resources in turn according to the time slot priority.

[0204] When the number of candidate resources with high slot priority equals the number of required transmission resources, the required transmission resources are included, that is, the candidate resources are determined as the transmission resources;

[0205] When the number of candidate resources with high slot priority is less than the required number of transmission resources, the above candidate resources are included in the transmission resources, and then the transmission resources are selected from the next slot priority.

[0206] The candidate resource with a high time slot priority may refer to a candidate resource corresponding to at least one time slot priority with a higher time slot priority.

[0207] Step 4: UE2 sends data to UE1. Specifically, based on the transmission resources determined in step 3, UE2 uses the transmission resources to send data to UE1.

[0208] In a specific example, Figure 8 As shown, the period includes t1 and t2, time slot 1 has only the sensing result of t1, time slot 2 has both t1 and t2 sensing results, and time slot 3 has no sensing result. For example: According to the screening ratio, at least 10 candidate resources need to be screened out for reporting.

[0209] When the number of resources in slot 1 + slot 2 is greater than or equal to 10, the MAC layer can use RSRP1 to filter out 3 resources in slot 2. If it is insufficient, it can filter out 3 resources in slot 1. If it is still insufficient, it can increase the value of RSRP1, further filter out 4 resources in slot 2, and filter out 6 resources in slot 2, and then report it. It is also possible that RSRP1 is in the inner loop and the slot priority is in the outer loop.

[0210] When the number of resources in time slot 1 + time slot 2 is less than 10, the MAC layer can report only the value that satisfies RSRP1 in time slot 1 + time slot 2, and specify time slot 3 as the time slot range for random transmission resource selection.

[0211] Through the above example, UE2 determines the transmission resources according to the time slot priority of each time slot in the selection window, so that the transmission resources that meet the needs can be flexibly determined, thereby avoiding the problem of not being able to meet the transmission needs of UE2.

[0212] Based on the above embodiments, the present application also provides a communication device, referring to Fig.10As shown, the communication device 1000 may include a storage unit 1001 and a processing unit 1002. The storage unit 1001 is used to store program instructions, and the processing unit 1002 is used to call the stored program instructions stored in the storage unit 1001 to control and manage the actions of the communication device 1000. Optionally, the communication device 1000 may also include a transceiver unit for receiving or sending data, etc., and the processing unit 1002 may also control the steps performed by the transceiver unit.

[0213] Exemplarily, the communication apparatus 1000 may specifically be the first device in the above embodiment, and the first device may be a terminal device, a processor in the terminal device, or a chip or a chip system, or a functional module, etc.

[0214] In one embodiment, the communication device 1000 is used to implement the above Figure 6 The functions of the first device in the embodiment described above may specifically include:

[0215] The processing unit 1002 is used to determine the number of time slots in the selection window that have perception results for each time slot in the perception window according to the perception results of the perception window; and determine the time slot priority of each time slot in the selection window according to the number of time slots in the selection window that have perception results for each time slot in the perception window; and then determine the transmission resources according to the time slot priority of the time slot in the selection window, wherein one time slot in the selection window corresponds to one or more time slots in the perception window.

[0216] In an optional implementation, the time slot priority is positively correlated with the number of time slots with perception results.

[0217] Specifically, when determining the transmission resource according to the time slot priority of the time slot in the selection window, the processing unit 1002 is specifically used to: determine the candidate resources in the resource set according to the time slot priority of the time slot in the selection window, and determine the transmission resource among the candidate resources.

[0218] In an optional embodiment, when the processing unit 1002 determines the candidate resources in the resource set according to the time slot priority of the time slot in the selection window, it is specifically used to: when the number of resources in the time slot with the highest time slot priority is greater than or equal to a first threshold, determine the candidate resources from the resources in the time slot with the highest time slot priority; wherein the first threshold is the minimum number of resources in the resource set; the time slot with the highest time slot priority is the first time slot in the selection window, and the first time slot has perception results in all time slots in the corresponding perception window.

[0219] In another optional embodiment, when the processing unit 1002 determines the candidate resources in the resource set according to the time slot priority of the time slot in the selection window, it is specifically used to: when the number of resources in the time slot with the highest time slot priority is less than a first threshold, determine the candidate resources according to the time slot priority of the time slot, or according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window; wherein the first threshold is the minimum number of resources in the resource set; the time slot with the highest time slot priority is the first time slot in the selection window, and the first time slot has perception results in all time slots in the corresponding perception window.

[0220] In one example, when determining the candidate resources according to the time slot priority of the time slot, the processing unit 1002 is specifically used to: determine the candidate resources in sequence from the time slots corresponding to the time slot priorities from high to low.

[0221] In another example, when determining the selected resource according to the time slot priority of the time slot, the processing unit 1002 is specifically used to: determine multiple time slots whose time slot priorities are greater than or equal to a first priority threshold, and determine the selected resource among the resources of the multiple time slots.

[0222] In another example, when the processing unit 1002 determines the selected resource based on the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window, it is specifically used to: determine multiple second time slots whose time slot priority is greater than or equal to a second priority threshold, determine a first resource from the resources of the multiple second time slots, and the signal strength of the resource corresponding to any one of the first resources in the perception window is less than or equal to the first strength threshold; when the number of resources included in the first resource is less than the first threshold, determine multiple third time slots whose time slot priority is greater than or equal to a third priority threshold, determine a second resource from the resources of the multiple third time slots, and determine the selected resource from the second resource, and the signal strength of the resource corresponding to any one of the second resources in the perception window is less than or equal to the first strength threshold; wherein the third priority threshold is less than the second priority threshold, and the number of resources included in the second resource is greater than or equal to the first threshold.

[0223] In another example, when the processing unit 1002 determines the resource to be selected according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window, it is specifically used to: determine multiple fourth time slots whose time slot priority is greater than or equal to a fourth priority threshold, determine a third resource from the resources of the multiple fourth time slots, and the signal strength of the resource corresponding to any one of the third resources in the perception window is less than or equal to the second strength threshold; when the number of resources included in the third resource is greater than or equal to the number of the first proportion of the total resources in the selection window or a preset number, the third resource is the resource to be selected;

[0224] When the number of resources included in the third resource is less than the number of the first proportion or the preset number of the total resources in the selection window, a fourth resource is determined from the resources of the multiple fourth time slots, the fourth resource is the candidate resource, and the signal strength of the resource corresponding to any one of the fourth resources in the perception window is less than or equal to the third strength threshold; or, multiple fifth time slots whose time slot priorities are greater than or equal to the fifth priority threshold are determined, and a fifth resource is determined from the resources of the multiple fifth time slots, the fifth resource is the candidate resource, and the signal strength of the resource corresponding to any one of the fifth resources in the perception window is less than or equal to the second strength threshold; wherein the third strength threshold is greater than the second strength threshold, and the fifth priority threshold is less than the fourth priority threshold; the number of resources included in the fourth resource is greater than or equal to the number of the first proportion or the preset number of the total resources in the selection window, or the number of resources included in the fifth resource is greater than or equal to the number of the first proportion or the preset number of the total resources in the selection window.

[0225] In another example, when the processing unit 1002 determines the candidate resource based on the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window, it is specifically used to: use the resource determined from the resources of multiple time slots whose time slot priority is greater than or equal to the sixth priority threshold as the first candidate resource; determine the second candidate resource from the resources in the time slots of one or more time slot priorities next to the first time slot priority, the second candidate resource being X resources in the sixth resource, and the signal strength of the resource corresponding to any one of the sixth resources in the perception window is less than or equal to the fourth strength threshold; the first candidate resource and the second candidate resource are the candidate resources; X is the difference between the number of resources included in the first candidate resource and the first threshold; the first time slot priority is greater than or equal to the lowest time slot priority in the sixth priority threshold.

[0226] In an optional embodiment, the processing unit 1002 is also used to determine the ratio of the first threshold to the total number of resources in the selection window, or the ratio of the first threshold to the total number of resources in the time slots with perception results in the selection window, based on the ratio of the time slots with perception results in the selection window to the total number of time slots in the selection window.

[0227] In a specific implementation, the processing unit 1002 is further configured to: report the candidate resource and the time slot priority corresponding to the candidate resource to the MAC layer through the physical layer.

[0228] Further, when the processing unit 1002 determines the transmission resource from the candidate resources, it is specifically configured to: determine the transmission resource through the MAC layer according to the time slot priorities corresponding to the candidate resources from high to low.

[0229] Optionally, when the number of the selected resources is less than the number of transmission resources required by the first device, the processing unit 1002 is further used to: send first indication information to the MAC layer through the physical layer, and the first indication information instructs the MAC layer to determine the time slot range of the transmission resources.

[0230] In an exemplary embodiment, when the processing unit 1002 determines the transmission resource among the selected resources, it is specifically used to: use the selected resource as the first part of the transmission resource; determine the second part of the transmission resource in the time slot other than the sixth time slot in the time slot range, and the sixth time slot is the time slot where the selected resource is located; wherein the number of resources in the second part of the transmission resource is the number of transmission resources minus the number of resources of the selected resource.

[0231] In an optional implementation, the processing unit 1002 is further used to: determine a DRX parameter, where the DRX parameter indicates a sleep time slot and an activation time slot of the first device; wherein there is no perception result on the sleep time slot and there is a perception result on the activation time slot.

[0232] In one embodiment, the communication device 1000 is used to implement the above Fig. 9 The functions of the first device in the embodiment described above may specifically include:

[0233] When the processing unit 1002 determines that there is no perception result in one or more time slots in the perception window, the resources in the time slots of the selection window corresponding to the one or more time slots are excluded from the resource set to obtain the seventh resource in the resource set; when it is determined that the number of resources included in the first resource is less than the fifth proportion of the total resources in the selection window, the transmission resource is determined in the first resource, wherein a time slot in the selection window corresponds to one or more time slots in the perception window.

[0234] In an optional implementation, the processing unit 1002 is further configured to: report the seventh resource to the MAC layer through the physical layer.

[0235] In another optional embodiment, the processing unit 1002 is also used to: when it is determined that the signal strength of the resource corresponding to the eighth resource in the seventh resource in the perception window is greater than the fifth strength threshold, exclude the eighth resource from the resource set to obtain a ninth resource in the resource set, and the ninth resource is the resource in the seventh resource other than the eighth resource; and report the ninth resource to the MAC layer through the physical layer.

[0236] Exemplarily, when the processing unit 1002 determines the transmission resource in the seventh resource, it is specifically used to: determine the transmission resource in the ninth resource.

[0237] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. Each functional unit in the embodiments of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0238] If the integrated unit 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 this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0239] Based on the above embodiments, the present application also provides a communication device, referring to Fig.11 As shown, the communication device 1100 may include a memory 1101 and a processor 1102. Optionally, the communication device 1100 may further include a transceiver 1103. The processor 1102 may control the transceiver 1103 to receive and send data.

[0240] Specifically, the processor 1102 may be a central processing unit (CPU), a network processor (NP) or a combination of a CPU and a NP. The processor 1102 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0241] The memory 1101, the processor 1102 and the transceiver 1103 are interconnected. Optionally, the memory 1101, the processor 1102 and the transceiver 1103 are interconnected via a bus 1104; the bus 1104 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0242] In an optional implementation, the memory 1101 is used to store programs, etc. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory 1101 may include a RAM, and may also include a non-volatile memory (non-volatile memory), such as one or more disk memories. The processor 1102 executes the application stored in the memory 1101 to implement the above functions, thereby realizing the functions of the communication device 1100.

[0243] Exemplarily, the communication device 1100 may be the first device in the above embodiment.

[0244] In one embodiment, the communication device 1100 implements Fig.11 In the embodiment shown, the function of the first device is that the processor 1102 can implement Fig.11 The operations performed by the first device in the embodiment shown in the figure. For specific related details, please refer to the above Fig.11 In an optional implementation, the transceiver 1103 may implement Fig.11 For details of the receiving and sending operations (eg, data transmission operations) performed by the first device in the illustrated embodiment, please refer to the relevant descriptions involved in the figure.

[0245] In another embodiment, the communication device 1100 implements Fig. 9 In the embodiment shown, the function of the first device is that the processor 1102 can implement Fig. 9 The operations performed by the first device in the embodiment shown in the figure. For specific related descriptions, please refer to the above Fig. 9 In an optional implementation, the transceiver 1103 may implement Fig. 9After the first device determines the transmission resources, the operation of transmitting data based on the transmission resources.

[0246] Based on the above embodiments, an embodiment of the present application provides a communication system, which may include the first device involved in the above embodiments, etc.

[0247] An embodiment of the present application also provides a computer-readable storage medium, which is used to store a computer program. When the computer program is executed by a computer, the computer can implement the method for determining the transmission resources provided in the above method embodiment.

[0248] An embodiment of the present application also provides a computer program product, which is used to store a computer program. When the computer program is executed by a computer, the computer can implement the method for determining transmission resources provided in the above method embodiment.

[0249] An embodiment of the present application also provides a chip, including a processor, wherein the processor is coupled to a memory and is used to call a program in the memory so that the chip implements the method for determining transmission resources provided in the above method embodiment.

[0250] An embodiment of the present application also provides a chip, which is coupled to a memory and is used to implement the method for determining transmission resources provided in the above method embodiment.

[0251] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0252] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0253] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0254] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0255] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for determining transmission resources, characterized in that: include: The first device determines, according to the perception result of the perception window, the number of time slots having a perception result in each time slot in the selection window in the perception window; wherein one time slot in the selection window corresponds to one or more time slots in the perception window; The first device determines the time slot priority of each time slot in the selection window according to the number of time slots having a sensing result in the sensing window for each time slot in the selection window; The first device determines transmission resources according to the time slot priorities of the time slots in the selection window.

2. The method according to claim 1, characterized in that The level of the time slot priority is positively correlated with the number of time slots with perception results.

3. The method according to claim 1 or 2, characterized in that The first device determines the transmission resource according to the time slot priority of the time slot in the selection window, including: The first device determines a resource to be selected in a resource set according to a time slot priority of a time slot in the selection window; The first device determines the transmission resource from the candidate resources.

4. The method according to claim 3, characterized in that The first device determines the to-be-selected resource in the resource set according to the time slot priority of the time slot in the selection window, including: When the number of resources in the time slot with the highest time slot priority is greater than or equal to a first threshold, the first device determines the resource to be selected from the resources in the time slot with the highest time slot priority; Among them, the first threshold is the minimum number of resources in the resource set; the time slot with the highest time slot priority is the first time slot in the selection window, and the first time slot has perception results in all time slots in the corresponding perception window.

5. The method according to claim 3, characterized in that The first device determines the to-be-selected resource in the resource set according to the time slot priority of the time slot in the selection window, including: When the number of resources in the time slot with the highest time slot priority is less than a first threshold, the first device determines the resource to be selected according to the time slot priority of the time slot, or according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window; Among them, the first threshold is the minimum number of resources in the resource set; the time slot with the highest time slot priority is the first time slot in the selection window, and the first time slot has perception results in all time slots in the corresponding perception window.

6. The method according to claim 5, characterized in that The first device determines the to-be-selected resource according to the time slot priority of the time slot, including: The first device determines the candidate resources in sequence from the time slots corresponding to the time slot priorities from high to low.

7. The method according to claim 5, characterized in that The first device determines the to-be-selected resource according to the time slot priority of the time slot, including: The first device determines a plurality of time slots whose time slot priorities are greater than or equal to a first priority threshold, and the first device determines the to-be-selected resource from among the resources of the plurality of time slots.

8. The method according to claim 5, characterized in that The first device determines the resource to be selected according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window, including: The first device determines a plurality of second time slots whose time slot priorities are greater than or equal to a second priority threshold, the first device determines a first resource from the resources of the plurality of second time slots, and a signal strength of a resource corresponding to any one of the first resources in the perception window is less than or equal to a first strength threshold; When the number of resources included in the first resource is less than the first threshold, the first device determines a plurality of third time slots whose time slot priorities are greater than or equal to a third priority threshold, determines a second resource from the resources of the plurality of third time slots, and determines the candidate resource from the second resource, wherein the signal strength of a resource corresponding to any one of the second resources in the perception window is less than or equal to the first strength threshold; The third priority threshold is smaller than the second priority threshold, and the number of resources included in the second resources is greater than or equal to the first threshold.

9. The method according to claim 5, characterized in that The first device determines the resource to be selected according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window, including: The first device determines a plurality of fourth time slots whose time slot priorities are greater than or equal to a fourth priority threshold, the first device determines a third resource from the resources of the plurality of fourth time slots, and a signal strength of a resource corresponding to any one of the third resources in the perception window is less than or equal to a second strength threshold; When the number of resources included in the third resource is greater than or equal to the number of the first proportion of the total resources in the selection window or the preset number, the third resource is the to-be-selected resource; When the number of resources included in the third resource is less than the number of the first proportion of the total resources in the selection window or the preset number, the first device determines a fourth resource from the resources of the multiple fourth time slots, the fourth resource is the to-be-selected resource, and the signal strength of the resource corresponding to any one of the fourth resources in the perception window is less than or equal to the third strength threshold; or, the first device determines a plurality of fifth time slots whose time slot priorities are greater than or equal to the fifth priority threshold, and the first device determines a fifth resource from the resources of the multiple fifth time slots, the fifth resource is the to-be-selected resource, and the signal strength of the resource corresponding to any one of the fifth resources in the perception window is less than or equal to the second strength threshold; Among them, the third strength threshold is greater than the second strength threshold, and the fifth priority threshold is less than the fourth priority threshold; the number of resources included in the fourth resource is greater than or equal to the first proportion of the total resources in the selection window or a preset number, or the number of resources included in the fifth resource is greater than or equal to the first proportion of the total resources in the selection window or a preset number.

10. The method according to claim 5, characterized in that The first device determines the resource to be selected according to the time slot priority of the time slot and the signal strength of the resource corresponding to the selection window in the perception window, including: The first device determines a resource from resources of multiple time slots whose time slot priorities are greater than or equal to a sixth priority threshold as a first candidate resource; The first device determines a second candidate resource from resources in a time slot of one or more time slot priorities next to the first time slot priority, where the second candidate resource is X resources in the sixth resource, and the signal strength of a resource corresponding to any one of the sixth resources in the perception window is less than or equal to a fourth strength threshold; The first candidate resource and the second candidate resource are the candidate resources; X is the difference between the number of resources included in the first candidate resource and the first threshold; the first time slot priority is greater than or equal to the lowest time slot priority in the sixth priority threshold.

11. The method according to any one of claims 4 to 10, characterized in that: The method further comprises: The first device determines the ratio of the first threshold to the total number of resources in the selection window, or the ratio of the first threshold to the total number of resources in the time slots with perception results in the selection window, based on the ratio of the time slots with perception results in the selection window to the total number of time slots in the selection window.

12. The method according to any one of claims 4 to 11, characterized in that: The method further comprises: The physical layer of the first device reports the candidate resource and the time slot priority corresponding to the candidate resource to the media access control MAC layer.

13. The method according to claim 12, characterized in that The first device determines the transmission resource from the candidate resources, including: The MAC layer of the first device determines the transmission resource according to the time slot priorities corresponding to the candidate resources from high to low.

14. The method according to claim 12, characterized in that When the number of the to-be-selected resources is less than the number of transmission resources required by the first device, the method further includes: The physical layer of the first device sends first indication information to the MAC layer, where the first indication information instructs the MAC layer to determine a time slot range of the transmission resource.

15. The method according to claim 14, characterized in that The first device determines the transmission resource from the candidate resources, including: The first device uses the to-be-selected resources as the first part of the transmission resources; The first device determines the second part of the transmission resources in the time slots other than the sixth time slot in the time slot range, and the sixth time slot is the time slot where the to-be-selected resource is located; The number of resources in the second part of the transmission resources is the number of transmission resources minus the number of resources of the selected resources.

16. The method according to any one of claims 1 to 15, characterized in that: The method further comprises: The first device determines a discontinuous reception DRX parameter, where the DRX parameter indicates a sleep time slot and an active time slot of the first device; wherein there is no perception result on the sleep time slot and there is a perception result on the active time slot.

17. A first device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store computer instructions; The processor is coupled to the memory, and is configured to call computer instructions in the memory so that the first device executes the method according to any one of claims 1-16.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when called by the computer, are used to enable the computer to execute the method according to any one of claims 1 to 16.

19. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 16.

20. A chip, characterized in that: The chip is coupled to a memory and is used to read and execute program instructions stored in the memory to implement the method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Wireless channel information sensing window and adjustment method

    CN109309927A

  • Resource selection method for auxiliary link communication, and communication device

    CN111246426A