Data Transmission Method and Device

By selecting resource by determining the selection window according to the DRX activation time in the D2D scene, the problem of high probability of resource selection collision in the DRX mode is solved, and transmission reliability and resource utilization are improved.

CN115088341BActive Publication Date: 2025-07-04HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202080096420.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-24
Publication Date
2025-07-04
Estimated Expiration
2040-04-24

AI Technical Summary

Technical Problem

In the D2D scenario, when the transmitting terminal is operating in DRX mode, the prior art does not consider the DRX activation time, resulting in an increase in the collision probability between resource selection and other terminal resource selection, reducing transmission reliability.

Method used

By determining the first listening window and the first time period, the selection window is determined based on the DRX activation time, resource selection is reasonably performed, resource collision probability is reduced, and transmission reliability is improved.

Benefits of technology

Reduces the collision probability of the sending terminal and other terminal resource selection, improves transmission reliability, and improves resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115088341B_ABST
    Figure CN115088341B_ABST
Patent Text Reader

Abstract

The present application provides a data transmission method and apparatus, which can be applied to systems such as vehicle networking, V2X, V2V, etc. In this method, a first listening window is determined, a selection window is determined according to the first listening window and a first time period, a first resource is determined within the selection window, and data is transmitted on the first resource. Among them, the first time period includes part or all of the DRX activation time. By considering the DRX activation time of the sending terminal when performing resource selection, the selection window is determined according to the DRX activation time of the sending terminal, so as to perform resource selection more reasonably, reduce the collision probability of the resources used by the sending terminal and the resources used by other terminals, and improve the transmission reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to a data transmission method and apparatus. Background Art

[0002] With the development of wireless communication technologies, people's demands for user experience and high data rates are increasing day by day. At the same time, people's demands for proximity services that can understand and communicate with surrounding people or things are gradually increasing. Therefore, device-to-device (D2D) technology has emerged as the times require. The application of D2D technology can relieve the burden on cellular networks, reduce the power consumption of terminals, increase data rates, and can well meet the demands for proximity services. D2D technology allows multiple terminals supporting D2D functions to perform direct discovery and direct communication with or without network infrastructure.

[0003] In a D2D scenario, a transmitting terminal can select the time-frequency resources for transmitting data by itself. For example, when the transmitting terminal is triggered to perform resource selection at time n, the transmitting terminal can perform resource selection on the selection window after time n according to the listening results within the sensing window before time n. Specifically, referring to Figure 1 , the transmitting terminal determines the time-frequency resources used by other terminals on the selection window according to the listening results within the sensing window, and determines the time-frequency resources other than the time-frequency resources used by other terminals in the selection window as the time-frequency resources for transmitting data, so as to prevent resource conflicts between different terminals.

[0004] This kind of listening and resource selection mechanism is designed for the transmitting terminal to work in the normal state. If the transmitting terminal works in the discontinuous reception (DRX) mode, the transmitting terminal can receive sidelink control information and data information during the DRX active time, and does not receive sidelink control information and / or data information during the DRX inactive time. The prior art does not take this situation into account, resulting in an increased probability of collision between the resources selected by the transmitting terminal and the resources selected by other terminals, and further reducing the transmission reliability of the entire system. Summary of the Invention

[0005] Embodiments of the present application provide a data transmission method and apparatus, which can be applied to the vehicle networking, for example, vehicle to everything (V2X) communication, long term evolution-vehicle (LTE-V), vehicle to vehicle (V2V) communication, etc., or can be used in the fields of intelligent driving, intelligent connected vehicles, etc., to implement autonomous resource selection when the sending terminal operates in the DRX mode, reduce the collision probability of resources used by the sending terminal and resources used by other terminals, and improve the transmission reliability.

[0006] To achieve the above object, the embodiments of the present application provide the following technical solutions:

[0007] In a first aspect, a data transmission method is provided, including: determining a first listening window, determining a selection window according to the first listening window and a first time period, determining a first resource within the selection window, and sending data on the first resource. Wherein, the first time period includes part or all of the DRX activation time. The method provided in the first aspect, when performing resource selection, takes into account the DRX activation time of the sending terminal, thereby determining the selection window according to the DRX activation time of the sending terminal, making more reasonable resource selection, reducing the collision probability of resources used by the sending terminal and resources used by other terminals, and improving the transmission reliability.

[0008] In a possible implementation manner, determining the selection window according to the first listening window and the first time period includes: when the overlapping part of the first listening window and the first time period is less than or equal to a first threshold, determining a second listening window and a selection window, where the second listening window is located after the first listening window, and the selection window is located after the second listening window. When the overlapping part of the first listening window and the first time period is less than or equal to the first threshold, the sending terminal cannot obtain sufficient listening information, resulting in the listening result not being able to fully reflect the channel usage situation. Therefore, it can only randomly select resources in the existing selection window or determine an incomplete listening result based on insufficient listening information, resulting in an increased collision probability of the selected resources and the resources selected by other terminals, and further reducing the transmission reliability of the entire system. In this possible implementation manner, the sending terminal can reduce the resource conflict probability and improve the transmission reliability by determining the second listening window and the selection window and performing resource selection in the selection window. As the resource conflict probability decreases, the number of times the sending terminal selects resources becomes less. Therefore, it can also improve the resource utilization rate.

[0009] In a possible implementation manner, determining the first resource within the selection window includes: determining the first resource within the selection window according to the listening result within the second listening window. In this possible implementation manner, sufficient listening results can be obtained within the second listening window, so as to make reasonable resource selection.

[0010] In a possible implementation, the method further includes: if the state at the start time of the second listening window is the inactive state of DRX, switching to the active state of DRX and maintaining the active state of DRX at least until the end of the second listening window; or, if the state at the start time of the second listening window is the active state of DRX, maintaining the active state of DRX at least until the end of the second listening window. This possible implementation can ensure that the second listening window is in the active state for listening during the second listening window.

[0011] In a possible implementation, the time interval between the second listening window and the selection window is greater than or equal to the time required to process the listening result and determine the first resource. This possible implementation can ensure that resource selection is completed before the selection window.

[0012] In a possible implementation, the first listening window is determined at time n, the start time of the second listening window is (n + t A ), and the end time is (n + t B ), where t A is greater than or equal to the time required to determine the first listening window, the second listening window, and the selection window, and 0 ≤ t A < t B . This possible implementation provides a possible range for the second listening window.

[0013] In a possible implementation, the start time of the selection window is (n + t B + t D + t E ), and the end time is (n + t F ), where t D is greater than or equal to the time required to process the listening result, t D ≥ 0, t E is greater than or equal to the time required to determine the first resource, t E ≥ 0, t B + t D + t E < t F ≤ the second threshold. This possible implementation provides a possible range for the selection window.

[0014] In a possible implementation, a selection window is determined according to a first listening window and a first time period, and a first resource is determined within the selection window, including: when the overlapping part of the first listening window and the first time period is greater than a first threshold, the first resource is determined within the selection window according to the listening results within the overlapping part of the first listening window and the first time period, and the selection window is located after the first listening window. When the overlapping part of the first listening window and the first time period is greater than the first threshold, the transmitting terminal can obtain enough listening results, so existing methods can be used for resource selection.

[0015] In a possible implementation, the first time period is all DRX activation time within the first listening window; or, the first time period is the DRX duration within the first listening window. This possible implementation provides two possible cases for the first time period.

[0016] In a second aspect, a communication device is provided, which includes a processing unit and a transceiver unit; the processing unit is configured to determine a first listening window, determine a selection window according to the first listening window and a first time period, and determine a first resource within the selection window; wherein, the first time period includes part or all of the DRX activation time; the transceiver unit is configured to send data on the first resource.

[0017] In a possible implementation, when the overlapping part of the first listening window and the first time period is less than or equal to the first threshold, the processing unit is specifically configured to determine a second listening window and a selection window, wherein the second listening window is located after the first listening window, and the selection window is located after the second listening window.

[0018] In a possible implementation, the processing unit is specifically configured to: determine the first resource within the selection window according to the listening results within the second listening window.

[0019] In a possible implementation, the processing unit is further configured to, when the state at the start time of the second listening window is the DRX inactive state, switch to the DRX active state and keep the DRX active state at least until the end of the second listening window; or, the processing unit is further configured to, when the state at the start time of the second listening window is the DRX active state, keep the DRX active state at least until the end of the second listening window.

[0020] In a possible implementation, the time interval between the second listening window and the selection window is greater than or equal to the time required to process the listening results and determine the first resource.

[0021] In a possible implementation, the first listening window is determined by the processing unit at time n, the start time of the second listening window is (n + t A ), and the end time is (n + t B ), t AGreater than or equal to the time required to determine the first listening window, the second listening window, and the selection window, 0 ≤ t A <t B .

[0022] In a possible implementation, the start time of the selection window is (n + t B + t D + t E ), the end time is (n + t F ), t D is greater than or equal to the time required to process the listening result, t D ≥ 0, t E is greater than or equal to the time required to determine the first resource, t E ≥ 0, t B + t D + t E <t F ≤ the second threshold value.

[0023] In a possible implementation, the overlapping part of the first listening window and the first time period is greater than the first threshold value. The processing unit is specifically configured to determine the first resource within the selection window according to the listening result within the overlapping part of the first listening window and the first time period. The selection window is located after the first listening window.

[0024] In a possible implementation, the first time period is all the DRX activation time in the first listening window; or, the first time period is the DRX duration in the first listening window.

[0025] In a third aspect, a communication device is provided, including: a processor. This processor is connected to a memory. The memory can be integrated or disposed within the communication device, or can be disposed outside the communication device. The memory is used to store computer execution instructions, and the processor executes the computer execution instructions stored in the memory, thereby implementing any method provided in the first aspect. Exemplarily, the memory and the processor can be integrated together or can be independent devices.

[0026] In a possible implementation, the processor includes a logic circuit and also includes at least one of an input interface and an output interface. Exemplarily, the output interface is used to perform the sending action in the corresponding method, and the input interface is used to perform the receiving action in the corresponding method.

[0027] In a possible implementation, the communication device further includes a communication interface and a communication bus. The processor, the memory, and the communication interface are connected through the communication bus. The communication interface is used to perform the sending and receiving actions in the corresponding method. The communication interface can also be referred to as a transceiver. Optionally, the communication interface includes at least one of a transmitter and a receiver. In this case, the transmitter is used to perform the sending action in the corresponding method, and the receiver is used to perform the receiving action in the corresponding method.

[0028] In a possible implementation, the communication device can be a chip or a system-on-chip.

[0029] In a fourth aspect, a communication device is provided, which includes: a processor and an interface circuit; the interface circuit is used to receive code instructions and transmit them to the processor; the processor is used to run the code instructions to execute any one of the methods provided in the first aspect.

[0030] In a fifth aspect, a terminal is provided, and the terminal can execute any one of the methods provided in the first aspect.

[0031] In a sixth aspect, a communication system is provided, which includes: a sending terminal and a receiving terminal, and the sending terminal is used to execute any one of the methods provided in the above first aspect.

[0032] In a seventh aspect, a communication system is provided, which includes: an access network device, a sending terminal, and at least one receiving terminal, where the sending terminal is used to execute any one of the methods provided in the above first aspect.

[0033] In an eighth aspect, a readable storage medium is provided, which is used to store instructions. When the instructions are executed, any one of the methods provided in the first aspect is implemented.

[0034] In a ninth aspect, a computer-readable storage medium is provided, which is used to store a computer program. The computer program can be executed by a processor to implement any one of the methods provided in the first aspect.

[0035] In a tenth aspect, a computer program product is provided, which contains instructions. When the instructions are run on a computer, the computer is made to execute any one of the methods provided in the first aspect.

[0036] In an eleventh aspect, a computer program is provided. When the computer program is run, any one of the methods provided in the first aspect is executed.

[0037] For the technical effects brought by any one of the implementations in the second to eleventh aspects, reference can be made to the technical effects brought by the corresponding implementations in the first aspect, which will not be elaborated here.

[0038] It should be noted that, on the premise that the solutions are not contradictory, the solutions in the above aspects can be combined. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic diagram of a listening window and a selection window provided by an embodiment of the present application;

[0040] Figure 2 A schematic diagram of communication between terminals provided by an embodiment of the present application;

[0041] Figure 3 A schematic diagram of the position of a terminal and the coverage range of an access network device provided by an embodiment of the present application;

[0042] Figure 4 A schematic diagram of V2X communication provided by an embodiment of the present application;

[0043] Figure 5 A schematic diagram of another listening window and a selection window provided by an embodiment of the present application;

[0044] Figure 6 A schematic diagram of a DRX activation time provided by an embodiment of the present application;

[0045] Figure 7 A flowchart of a data transmission method provided by an embodiment of the present application;

[0046] Figure 8 A schematic diagram of a first listening window provided by an embodiment of the present application;

[0047] Figure 9 A schematic diagram of another first listening window provided by an embodiment of the present application;

[0048] Figure 10 A schematic diagram of a second listening window and a first selection window provided by an embodiment of the present application;

[0049] Figure 11 A flowchart of another data transmission method provided by an embodiment of the present application;

[0050] Figure 12 A schematic diagram of a communication device provided by an embodiment of the present application;

[0051] Figure 13 A schematic diagram of the hardware structure of a communication device provided by an embodiment of the present application;

[0052] Figure 14 A schematic diagram of the hardware structure of another communication device provided by an embodiment of the present application;

[0053] Figure 15Schematic diagram of the hardware structure of a sending terminal provided by an embodiment of this application. Detailed implementation manners

[0054] In the description of this application, unless otherwise specified, " / " means "or". For example, A / B may represent A or B. The "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, "at least one" means one or more, and "a plurality" means two or more. The terms such as "first" and "second" do not limit the quantity and execution order, and the terms such as "first" and "second" do not necessarily mean different.

[0055] It should be noted that in this application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, using words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.

[0056] The communication systems applicable to the method provided by the embodiments of this application include but are not limited to the fifth-generation (5G) system, the new radio (NR) system, the wireless local area networks (WLAN) system, and future evolved systems or multiple communication convergence systems. Among them, the 5G system can be a non-standalone (NSA) 5G system or a standalone (SA) 5G system.

[0057] See Figure 2 , the method provided by the embodiments of this application mainly relates to communication between terminals. The two terminals in the communication in the embodiments of this application can both be within the coverage area of the access network device (see (a) in Figure 3 ), or one can be within the coverage area of the access network device and the other is not within the coverage area of the access network device (see (b) in Figure 3 ), or both are not within the coverage area of the access network device (see (c) in Figure 3 ).

[0058] Among them, the communication link for direct communication between terminals can be referred to as a sidelink (SL) or a side link. The transmitting terminal can send sidelink control information (SCI) and sidelink data to the receiving terminal within a time unit. The SCI is used to schedule the sidelink data. The receiving terminal can determine the position where the transmitting terminal sends the sidelink data by receiving the SCI and receive the sidelink data at the corresponding position. On the sidelink, the transmitting terminal can directly send data to the receiving terminal without first sending the data to the access network device, then through the forwarding of the core network, and then sending it to the receiving terminal, which can greatly reduce the data transmission delay.

[0059] The time unit in the embodiments of this application is a resource unit in the time domain. The time unit in the embodiments of this application is a set of multiple consecutive orthogonal frequency division multiplexing (OFDM) symbols. For example, the time unit can be a minislot, a slot, a subframe, a transmission time interval (TTI), etc.

[0060] In the NR system, for a normal cyclic prefix (CP), 1 slot contains 14 OFDM symbols. For an extended CP, 1 slot contains 12 OFDM symbols. Among them, the SL time domain resources for D2D or V2X communication can be several consecutive symbols within 1 slot. For example, 8 symbols within 1 slot are used for SL transmission and SL reception. The symbols for SL transmission and SL reception in a slot can be configured by the access network device or pre-configured by the user.

[0061] The time unit can also be referred to as a time domain unit, a time domain granularity, etc. For the convenience of understanding, in some descriptions below of this application, the time unit is taken as an example of a slot to exemplarily illustrate the method provided by the embodiments of this application. It can be understood that the slots below can all be replaced by the time unit, not limited to the slot.

[0062] The method provided by the embodiments of this application is applicable but not limited to the following fields: V2X, unmanned driving, automated driving (ADS), driver assistance (ADAS), intelligent driving, connected driving, intelligent network driving, car sharing, etc.

[0063] Among them, V2X refers to the communication between vehicles and anything. The vehicle networking generally refers to a communication network that provides vehicle information through sensors, vehicle terminals, etc. installed on vehicles to achieve mutual communication between vehicle to vehicle (V2V), vehicle to infrastructure (V2I), vehicle to network (V2N), and vehicle to pedestrian (V2P). V2X communication is for high-speed devices represented by vehicles and is a basic and key technology for applications in scenarios with very high requirements for communication latency in the future, such as scenarios of intelligent vehicles, automated driving, and intelligent transportation systems. Vehicle User Equipment (V-UE) can send some of its own information, such as location, speed, intention (turning, lane changing, reversing), etc. information periodically and information triggered by some non-periodic events to surrounding V-UEs. Similarly, V-UEs will also receive information from surrounding users in real time.

[0064] Exemplarily, Figure 4 (a) in shows an example of V2V communication, Figure 4 (b) in shows an example of V2P communication, Figure 4 (c) in shows an example of V2I / V2N communication.

[0065] In the embodiments of the present application, the access network device involved is an entity on the network side that is used to send signals, or receive signals, or send and receive signals. The access network device may be a device deployed in a radio access network (RAN) to provide wireless communication functions for terminals. For example, it may be a transmission reception point (TRP), a base station, various forms of control nodes (such as a network controller, a radio controller (such as a radio controller in a cloud radio access network (CRAN) scenario)), etc. Specifically, in a traditional universal mobile telecommunications system (UMTS) or an LTE system, it may be a traditional evolved node B (eNB). In a heterogeneous network (HetNet) scenario, it may be a micro eNB. In a distributed base station scenario, it may be a base band unit (BBU) and a remote radio unit (RRU). In a CRAN scenario, it may be a BBU pool and an RRU. In a 5G system or an NR system, it may be a next-generation node base station (gNB). The control node can be connected to multiple base stations and configure resources for multiple terminals covered by the multiple base stations. The access network device may also be an access network device in a future evolved public land mobile network (PLMN), etc.

[0066] The terminal involved in the embodiments of this application is an entity on the user side that is used to receive signals, or send signals, or receive and send signals. The terminal is used to provide one or more of voice services and data connectivity services to the user. The terminal can also be referred to as user equipment (UE), terminal device, access terminal, user unit, user station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or user device. The terminal can be a V2X device, for example, a smart car (smart car or intelligent car), digital car, unmanned car (unmanned car or driverless car or pilotless car or automobile), self-driving car (self-driving car or autonomous car), pure electric vehicle (pure EV or Battery EV), hybrid electric vehicle (hybrid electric vehicle, HEV), range-extended electric vehicle (rangeextended EV, REEV), plug-in hybrid electric vehicle (plug-in HEV, PHEV), new energy vehicle, roadside unit (road site unit, RSU), in-vehicle communication module, or other embedded communication modules. The terminal can also be a D2D device, for example, an electricity meter, a water meter, etc. The terminal can also be a mobile station (mobile station, MS), subscriber unit, drone, Internet of Things (Internet of Things, IoT) device, station (station, ST) in WLAN, cellular phone, smart phone, cordless phone, wireless data card, tablet computer, session initiation protocol (session initiation protocol, SIP) phone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA) device, laptop computer, machine type communication (machine type communication, MTC) terminal, handheld device with wireless communication function, computing device, or other processing devices connected to a wireless modem, in-vehicle device, wearable device (which can also be referred to as a wearable intelligent device). The terminal can also be a terminal in the next-generation communication system, for example, a terminal in a 5G system or a terminal in a future evolved PLMN, a terminal in an NR system, etc.

[0067] To make the embodiments of the present application clearer, the following briefly introduces the concepts and some contents related to the embodiments of the present application.

[0068] 1. Resource allocation modes of existing sending terminals.

[0069] There are two resource allocation modes for sending terminals. One is the resource allocation mode by the access network device, that is, mode 1 (mode-1), and the other is the resource self-selection mode by the sending terminal, that is, mode 2 (mode-2).

[0070] Mode-1 is mainly applied to D2D communication or V2X communication when the sending terminal is in the coverage area of the access network device, and the access network device allocates resources for the sending terminal.

[0071] Mode-2 is not limited by network coverage. When the sending terminal is not in the coverage area of the access network device, the sending terminal can also perform D2D communication or V2X communication with the receiving terminal. The resource allocation of the sending terminal does not depend on the access network device.

[0072] The resources mentioned in the embodiments of the present application include time domain resources and / or frequency domain resources.

[0073] 2. Physical sidelink control channel (PSCCH), physical sidelink shared channel (PSSCH)

[0074] Both PSCCH and PSSCH are physical channels between terminals. Among them, PSCCH is mainly used to carry control information of sidelink data. PSSCH is mainly used to carry sidelink data and can also carry control information. For example, SCI can include two levels. The first-level SCI (1st-stage SCI) can be carried in PSCCH. The second-level SCI (2nd-stage SCI) bits are more flexible. The first-level SCI indicates at least one of its format (including different information fields), size, code rate, and resources, and can be carried in PSSCH.

[0075] 3. Existing resource selection mechanisms of sending terminals when the resource allocation mode of the sending terminal is mode-2.

[0076] See Figure 5If the sending terminal is triggered to perform resource selection in time slot n, the sending terminal obtains the listening result within the listening window, excludes unavailable time-frequency resources within the selection window according to the listening result within the listening window, obtains the available time-frequency resources within the selection window, and then determines the time-frequency resources from these available time-frequency resources for sending data.

[0077] Assume that the ranges of the listening window and the selection window are both defined in units of time slots. Then the range of the listening window is [n - t0, n - t proc,0 . Among them, t0 is used to determine the boundary value of the listening window (i.e., n - t0). t0 is related to the subcarrier spacing. Exemplarily, in the case of a 15 kHz subcarrier spacing, t0 is 1100 time slots or 100 time slots. In the case of a 60 kHz subcarrier spacing, t0 is 4400 time slots or 400 time slots. t proc,0 is the time required for the sending terminal to process the listening result, t proc,0 ≥0, and t proc,0 takes different values according to the different capabilities of the sending terminal.

[0078] The range of the selection window is [n + t1, n + t2]. Among them, 0 ≤ t1 ≤ t proc,1 , t proc,1 is the time required for the sending terminal to process the data to be sent, and t proc,1 takes different values according to the different capabilities of the sending terminal. t 2_min <t2 ≤ remaining packet delay budget (PDB). PDB is the maximum delay time required for a data packet to be successfully sent from the service layer. PDB can be a value for measuring the delay of the data to be sent in units of time slots, subframes, or frames, etc., or a value for measuring the delay of the data to be sent in units of milliseconds (ms) or seconds (s), etc. It can be understood that at time slot n, the remaining PDB is the remaining delay time of the data packet from the service layer generation to time slot n. For example, at time slot n, if the remaining PDB is 20 ms and one time slot is 0.5 ms, then at time slot n + 1, the remaining PDB is 19.5 ms, and at time slot n + 2, the remaining PDB is 19 ms.

[0079] The specific process for the sending terminal to perform resource selection includes:

[0080] 1) The sending terminal receives the SCI from other terminals within the resource pool of the listening window [n - t0, n - t proc,0 . The SCI contains the listening information of other terminals. Further, the SCI is the first-stage SCI (1st-stage SCI) and is sent on the physical sidelink control channel (PSCCH).

[0081] Among them, one SCI can schedule at least one transmission, for example, three transmissions. For example, the first transmission among these three transmissions is the initial transmission of a piece of data, and the latter two transmissions are the retransmissions of this data, or all three transmissions are the retransmissions of a certain piece of data. The listening information included in the SCI includes the time-frequency resource information of the scheduling data of the second and third retransmissions, the periodic time-frequency resource information reflecting the data service cycle, and the data priority information (priority of PSSCH), etc. It can be understood that at a given moment, a terminal reserves the time-frequency resources after this moment for the retransmission of a piece of data and / or the transmission of another new periodic data by sending an SCI.

[0082] 2) If the sending terminal learns from the listening information of the SCI received from terminal 1 that the time-frequency resources reserved by terminal 1 are within the selection window [n + t1, n + t2] of the sending terminal, then the sending terminal measures the demodulation reference signal (DMRS) of the data or control channel that terminal 1 needs to send on this time-frequency resource according to this listening information, and obtains the reference signal received power (RSRP). If this RSRP is greater than the pre-set or RSRP threshold Th configured by the access network device RSRP , then the sending terminal excludes this time-frequency resource from the selection window.

[0083] 3) After the sending terminal excludes the unavailable time-frequency resources within the selection window, it can determine that the remaining time-frequency resources within the selection window are available time-frequency resources, and thus select time-frequency resources from the available time-frequency resources to send data. One implementation method is to randomly select a time-frequency resource from the available time-frequency resources to send data.

[0084] In the existing mechanism, the time-frequency resources used by the sending terminal when sending data are selected based on the listening results (i.e., the determined available resources) within the listening window [n - t0, n - t proc,0 . In the technical solution provided by the embodiments of the present application, unless otherwise specified, the listening result refers to the result determined through the above three steps 1), 2), and 3).

[0085] 4. DRX mode of the sidelink

[0086] Since packet-based data streams are usually sudden or have a long transmission period for periodic data, that is, there is data transmission within a period of time, but there may be no data transmission in the following long period of time. When there is no data transmission, the power consumption can be reduced by turning off the receiver (or called the receiving circuit) of the terminal, thereby increasing the usage time of the mobile battery. Therefore, the DRX mode is proposed to reduce the power consumption of the terminal.

[0087] On the sidelink, the DRX mode refers to a power-saving operating mode in which the terminal only turns on the receiver to receive sidelink information during the necessary time period, and turns off the receiver to not receive sidelink information during the remaining time period. Among them, the time period during which sidelink information can be received is called the DRX active time (also can be called the wake-up time), and the state in which sidelink information can be received can be called the active state (also can be called the wake-up state). The time period during which sidelink information is not received is called the DRX inactive time (also can be called the sleep time), and the state in which sidelink information is not received can be called the inactive state (also can be called the sleep state). In the active state, the terminal can receive sidelink control information and data information, and in the inactive state, the terminal does not receive sidelink control information and / or data information. Among them, the terminal can be configured by other terminals or access network devices into the DRX mode of the sidelink.

[0088] In the connected state DRX mode, the terminal cannot keep the receiver turned off all the time and must periodically turn on the receiver and start continuously receiving sidelink information for a period of time after that. This period of time is called the DRX OnDuration, which is controlled by the DRX On Duration Timer, and the duration of this timer can be set through parameters. Among them, see Figure 6 , the interval duration between two occurrences of the DRX OnDuration is the DRX cycle (DRXCycle) of the DRX mode.

[0089] See Figure 6 , the terminal is configured with several consecutive DRX cycles. A DRX cycle includes multiple DRX active time periods, where one DRX active time period is the DRX OnDuration, and the remaining DRX active time periods can be configured. The multiple DRX active time periods constitute the DRX active time, and the multiple DRX active time periods can be consecutive or non-consecutive. Figure 6 The non-consecutive case is drawn as an example in

[0090] It should be noted that the information related to DRX in the embodiments of the present application (e.g., DRX activation time, DRX cycle, DRX duration, DRX inactivity time, etc.) all refers to the information of the sidelink.

[0091] To solve the problems raised in the background art, the embodiments of the present application provide a data transmission method. In this method, the resource allocation mode of the sending terminal is mode-2, that is, the sending terminal autonomously selects resources and sends sidelink data to the receiving terminal according to the selected resources, as Figure 7 shown, the method includes:

[0092] 701. Determine the first listening window.

[0093] Among them, the execution subject of step 701 can be a communication device, for example, a sending terminal, a chip in the sending terminal, a system-on-chip in the sending terminal, etc. In the following, the communication device is taken as the sending terminal as an example to exemplarily illustrate the method provided by the present application, but the present invention is not limited thereto.

[0094] The sending terminal communicates with the receiving terminal in the DRX mode. The information related to the DRX mode in the embodiments of the present application all refers to the information related to the DRX mode of the sending terminal. For example, the DRX activation time and DRX duration in the following text both refer to the DRX activation time and DRX duration of the sending terminal, etc.

[0095] The sending terminal can determine the first listening window at time n. Time n can be time unit n, exemplarily, specifically it can be time slot n, subframe n, symbol n, etc.

[0096] When step 701 is specifically implemented, if the physical (PHY) layer of the sending terminal is triggered by the medium access control (MAC) layer at time n to perform resource selection according to the listening result, the sending terminal determines to perform resource selection at time n, and then determines the first listening window at time n. Among them, the MAC layer can trigger the PHY layer to perform resource selection when there is data to be sent.

[0097] Among them, the first listening window is [n - t0, n - t proc,0 .

[0098] 702. Determine the selection window according to the first listening window and the first time period, and determine the first resource within the selection window.

[0099] Among them, the first time period includes part or all of the DRX activation time. In the specific implementation of step 702, the transmitting terminal determines a selection window according to the first listening window and the first time period, determines available resources within the selection window (the specific process can be referred to the above and will not be elaborated here), and determines a first resource among the available resources. For example, a time-frequency resource is randomly selected from the available time-frequency resources as the first resource.

[0100] Optionally, there are the following three cases for the first time period (denoted as case 1 to case 3).

[0101] Case 1: The first time period is all the DRX activation time in the first listening window.

[0102] In case 1, the transmitting terminal can determine all the DRX activation time in the first listening window according to the DRX configuration, and then determine the first time period.

[0103] In case 1, exemplarily, referring to Figure 8 in (a), if the first listening window is the first listening window 1, the first time period includes: T1, T2, and T3; if the first listening window is the first listening window 2, the first time period includes: T3, T4, and T5. Exemplarily, referring to Figure 8 in (b), if the first listening window is the first listening window 1, the first time period includes: T1, T2, and T3; if the first listening window is the first listening window 2, the first time period includes: T1, T2, T3, T4, and T5.

[0104] Case 2: The first time period is the DRX duration in the first listening window.

[0105] According to the above, the DRX duration is part of all the DRX activation time. That is to say, part of the DRX activation time is the DRX duration.

[0106] In case 2, the transmitting terminal can determine all the DRX durations in the first listening window according to the DRX configuration, and then determine the first time period.

[0107] In case 2, exemplarily, referring to Figure 8 in (a), if the first listening window is the first listening window 1, the first time period includes: T1; if the first listening window is the first listening window 2, the first time period includes: T4. Exemplarily, referring to Figure 8 in (b), if the first listening window is the first listening window 1, the first time period includes: T1; if the first listening window is the first listening window 2, the first time period includes: T1 and T4.

[0108] Case 3: The first time period is part of the DRX activation time in the first listening window, and the part of the DRX activation time includes at least the DRX duration.

[0109] In case 3, which DRX activation times belong to the first time period can be preset, can be configured by the access network device for the transmitting terminal, or can be specified by the protocol. This application does not make any restrictions.

[0110] In case 3, by way of example, refer to Figure 9 , if the first listening window is the first listening window 1, the first time period may include: T1 and T2; if the first listening window is the first listening window 2, the first time period may include: T1, T2, and T4.

[0111] In addition to the above cases 1 to 3, the first time period may also be other DRX activation times. For example, DRX activation times that do not include the DRX duration. This application does not make any restrictions.

[0112] When the overlapping situations between the first listening window and the first time period are different, the specific implementation of step 702 is also different. The following will be described separately by cases (1) and (2). It can be understood that in the above cases 1 to 3, since the first time period is determined within the first listening window, the first time period is the overlapping part of the first listening window and the first time period.

[0113] Case (1): The overlapping part of the first listening window and the first time period is less than or equal to the first threshold.

[0114] Case (1) includes: The first listening window and the first time period do not overlap (that is, within the first listening window, the transmitting terminal is always in the inactive state), or the overlapping part of the first listening window and the first time period is greater than 0 and less than or equal to the first threshold (that is, within the first listening window, the time when the transmitting terminal is in the active state is greater than 0 and less than or equal to the first threshold).

[0115] Case (1) can also be understood as: The total number of time slots in which the transmitting terminal is in the receiving state within the first listening window is less than or equal to the preset number of time slots.

[0116] In case (1), when step 702 is specifically implemented, it may include: determining a second listening window and a selection window (denoted as the first selection window), the second listening window is located after the first listening window, and the first selection window is located after the second listening window. Specifically, the first listening window is located before time n, and the second listening window is located after time n.

[0117] In this case, when step 703 is specifically implemented, it may include: determining the first resource within the first selection window according to the listening result within the second listening window.

[0118] Optionally, the time interval between the second listening window and the first selection window is greater than or equal to the time required to process the listening result and determine the first resource.

[0119] Optionally, referring to Figure 10 , the start time of the second listening window is (n + t A ), and the end time is (n + t B ).

[0120] Where, 0 ≤ t A < t B , and t A is greater than or equal to the time required to determine the first listening window, the second listening window, and the first selection window. Since this time depends on the device capabilities of the sending terminal, it can be so short that it can be ignored. In this case, t A = 0.

[0121] In addition, t B < the second threshold. Wherein, the second threshold can be the remaining PDB. Optionally, referring to Figure 10 , the start time of the first selection window is (n + t B + t D + t E ), and the end time is (n + t F ).

[0122] Where, t D ≥ 0, t D is greater than or equal to the time required to process the listening result. Since this time depends on the device capabilities of the sending terminal, it can be so short that it can be ignored. In this case, t D = 0. t E ≥ 0, t E is greater than or equal to the time required to determine the first resource. Since this time depends on the device capabilities of the sending terminal, it can be so short that it can be ignored. In this case, t E = 0.

[0123] In addition, t B + t D + t E < t F ≤ the second threshold.

[0124] Exemplarily, t F can be the above-mentioned t2.

[0125] In case (1), it can be understood that if the sending terminal wants to perform listening in the second listening window, then the sending terminal needs to be in an active state in the second listening window. Therefore, optionally, the method further includes:

[0126] If the state at the start time of the second listening window is the inactive state of DRX, switch to the active state of DRX and keep the active state of DRX until at least the end of the second listening window; or,

[0127] If the state at the start time of the second listening window is the active state of DRX, keep the active state of DRX until at least the end of the second listening window.

[0128] Optionally, after the end of the second listening window, the transmitting terminal may switch the active state of DRX back to the inactive state.

[0129] In case (1), the overlapping part of the first listening window and the first time period is less than or equal to the first threshold. The transmitting terminal cannot obtain sufficient listening information, resulting in the listening result not fully reflecting the channel usage situation. Therefore, it can only randomly select resources in the existing selection window or determine an incomplete listening result based on insufficient listening information, increasing the collision probability between the resources selected by the transmitting terminal and those selected by other terminals, and further reducing the transmission reliability of the entire system. In the method provided by the embodiments of the present application, the transmitting terminal can reduce the resource conflict probability and improve the transmission reliability by determining the second listening window and the first selection window and selecting resources in the first selection window. As the resource conflict probability decreases, the number of times the transmitting terminal selects resources becomes less. Therefore, the method provided by the embodiments of the present application can also improve the resource utilization rate.

[0130] Case (2): The overlapping part of the first listening window and the first time period is greater than the first threshold, that is, within the first listening window, the time when the transmitting terminal is in the active state is greater than the first threshold.

[0131] Case (2) can also be understood as: The total number of time slots in which the transmitting terminal is in the receiving state within the first listening window is greater than the preset number of time slots.

[0132] In case (2), step 702 may specifically include: determining a first resource in a selection window (denoted as the second selection window) according to the listening result within the overlapping part of the first listening window and the first time period. The second selection window is located after the first listening window. Specifically, the second selection window is [n + t1, n + t2] as described above and is located after time n.

[0133] In the above embodiments, the first threshold may be denoted as Th ses_DRX . Th ses_DRX can be predefined or preset or specified by the protocol or configured by the access network device for the transmitting terminal, or can be determined by other means. The present application does not make any restrictions. Th ses_DRX can be consistent with the unit used when defining the ranges of the listening window and the selection window. For example, Th ses_DRXIt can be an integer value in units of seconds, milliseconds, time slots, etc.

[0134] In the above embodiments, optionally, the first selection window is located within the second selection window. That is to say, the first selection window is a reduced selection window compared to the second selection window. Selecting resources within the range of the original selection window can ensure the delay requirements of data packets.

[0135] 703. Send data on the first resource.

[0136] Among them, when specifically implemented in step 703, the sending terminal can send data to the receiving terminal on the first resource.

[0137] The method provided by the embodiments of the present application, when performing resource selection, takes into account the DRX activation time of the sending terminal, thereby determining the selection window according to the DRX activation time of the sending terminal, making more reasonable resource selection, reducing the collision probability of resources used by the sending terminal and other terminals, and improving transmission reliability.

[0138] In the above embodiments, in order to distinguish from the existing listening window (i.e., the first listening window in the present application), the second listening window can be referred to as an extended sensing window. For the first listening window, the resources in the second selection window are candidate resources. For the second listening window, the resources in the first selection window are candidate resources.

[0139] In actual implementation, if the sending terminal is not configured with the DRX mode, the sending terminal can use the existing method for resource selection. If the sending terminal is configured with the DRX mode, the sending terminal can use the method provided by the present application for resource selection.

[0140] It should be noted that on the sidelink, the DRX activation time may also only include the DRX duration. In this case, the DRX activation time is actually the same as the DRX duration. At this time, the above first time period can include all the DRX durations in the first listening window.

[0141] To make the method provided by the embodiments of the present application clearer, the following Figure 11 makes an exemplary description of the implementation process of the method provided by the above embodiments. See Figure 11 , and the process includes:

[0142] 1101. The sending terminal is triggered for resource selection at time n.

[0143] 1102. The sending terminal determines the first listening window.

[0144] 1103. The sending terminal determines whether the overlapping part of the first listening window and the first time period is greater than the first threshold.

[0145] If not, steps 1104 to 1107 are executed; if so, steps 1108 to 1110 are executed.

[0146] 1104. The sending terminal determines the second listening window and the first selection window.

[0147] 1105. The sending terminal makes the sending terminal in the active state by switching from the inactive state to the active state, or maintains the active state so that the sending terminal is in the active state within the second listening window.

[0148] 1106. The sending terminal determines the available resources in the first selection window according to the listening result within the second listening window.

[0149] 1107. The sending terminal determines the first resource within the available resources in the first selection window.

[0150] 1108. The sending terminal determines the second selection window.

[0151] 1109. The sending terminal determines the available resources in the second selection window according to the listening result within the first listening window.

[0152] 1110. The sending terminal determines the first resource within the available resources in the second selection window.

[0153] 1111. The sending terminal sends data to the receiving terminal on the first resource.

[0154] In the embodiments of the present application, each listening window and each selection window can be defined in units of time slots, or can be defined in other time units, which is not limited in the present application.

[0155] The method provided by the embodiments of the present application can be applied not only to the scenario of direct communication between two terminals, but also to the terminal relay scenario (that is, the scenario where a certain / some terminals provide relay services for other terminals) or the terminal cooperation scenario, which is not limited in the present application.

[0156] The above mainly introduced the solution of the embodiment of the present application from the perspective of the method. It can be understood that for each network element, for example, in order for a communication device to implement the above functions, it includes at least one of the corresponding hardware structures and software modules for executing each function. Those skilled in the art should easily realize that, combining the units and algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0157] The embodiments of the present application can divide the functional units of the communication device according to the above method examples. For example, each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, only a logical function division, and there may be other division methods in actual implementation.

[0158] Exemplarily, Figure 12 FIG. shows a possible structural schematic diagram of the communication device (denoted as communication device 120) involved in the above embodiments. The communication device 120 includes a processing unit 1201 and a transceiver unit 1202. Optionally, it further includes a storage unit 1203. The communication device 120 can be used to illustrate the structure of the sending terminal in the above embodiments.

[0159] Specifically, the processing unit 1201 is used to control and manage the actions of the sending terminal. For example, the processing unit 1201 is used to execute Figure 7 the steps in, Figure 11 the steps in, and / or the actions executed by the sending terminal in other processes described in the embodiments of the present application. The processing unit 1201 can communicate with other network entities through the transceiver unit 1202. For example, it communicates with the receiving terminal. The storage unit 1203 is used to store the program code and data of the sending terminal.

[0160] Exemplarily, the communication device 120 can be a terminal or a chip or a chip system.

[0161] When the communication device 120 is a terminal, the processing unit 1201 can be a processor; the transceiver unit 1202 can be a communication interface, a transceiver, or an input interface and / or an output interface. Optionally, the transceiver can be a transceiver circuit. Optionally, the input interface can be an input circuit, and the output interface can be an output circuit.

[0162] When the communication device 120 is a chip or a chip system, the transceiver unit 1202 may be a communication interface, an input interface and / or an output interface, an interface circuit, an output circuit, an input circuit, pins or related circuits, etc. on the chip or the chip system. The processing unit 1201 may be a processor, a processing circuit or a logic circuit, etc.

[0163] Exemplarily, the communication device in the embodiments of the present application includes a processor and a transceiver, which are used to implement the corresponding functions of the communication device in the method provided in the foregoing embodiments.

[0164] Specifically, the processor is used to determine a first listening window, determine a selection window according to the first listening window and a first time period, and determine a first resource within the selection window; wherein, the first time period includes part or all of the DRX activation time; the transceiver is used to send data on the first resource.

[0165] Optionally, the overlapping part of the first listening window and the first time period is less than or equal to a first threshold. Specifically, the processor is used to determine a second listening window and a selection window, wherein the second listening window is located after the first listening window, and the selection window is located after the second listening window.

[0166] Optionally, specifically, the processor is used to: determine the first resource within the selection window according to the listening result within the second listening window.

[0167] Optionally, the processor is further used to: when the state at the start time of the second listening window is the non-active state of DRX, switch to the active state of DRX and keep the active state of DRX at least until the end of the second listening window; or, the processor is further used to: when the state at the start time of the second listening window is the active state of DRX, keep the active state of DRX at least until the end of the second listening window.

[0168] Optionally, the time interval between the second listening window and the selection window is greater than or equal to the time required to process the listening result and determine the first resource.

[0169] Optionally, the first listening window is determined by the processor at time n, the start time of the second listening window is (n + t A ), and the end time is (n + t B ), t A is greater than or equal to the time required to determine the first listening window, the second listening window and the selection window, 0 ≤ t A <t B .

[0170] Optionally, the start time of the selection window is (n + t B + t D + t E ), and the end time is (n + t F ), tD Greater than or equal to the time required to process the listening result, t D ≥0, t E Greater than or equal to the time required to determine the first resource, t E ≥0, t B +t D +t E <t F ≤The second threshold value.

[0171] Optionally, the overlapping part of the first listening window and the first time period is greater than the first threshold value. The processor is specifically configured to determine the first resource within the selection window according to the listening result within the overlapping part of the first listening window and the first time period. The selection window is located after the first listening window.

[0172] Optionally, the first time period is all the DRX activation time in the first listening window; or, the first time period is the DRX duration in the first listening window.

[0173] Figure 12 If the integrated unit in [specific context] is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or an access network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The storage media for storing the computer software product include: USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs, etc., which can store program codes.

[0174] The embodiments of the present application also provide a schematic diagram of the hardware structure of a communication device. Refer to Figure 13 or Figure 14 , the communication device includes a processor 1301. Optionally, it further includes a memory 1302 connected to the processor 1301.

[0175] The processor 1301 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the solution of this application. The processor 1301 may also include multiple CPUs, and the processor 1301 may be a single-CPU processor or a multi-CPU processor. The processor here may refer to one or more devices, circuits, or processing cores for processing data (such as computer program instructions).

[0176] The memory 1302 may be a ROM or other type of static storage device that can store static information and instructions, a RAM, or other type of dynamic storage device that can store information and instructions. It may also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer. The embodiments of this application do not impose any restrictions on this. The memory 1302 may exist independently (in this case, the processor may be outside or inside the communication device), or may be integrated with the processor 1301. Among them, the memory 1302 may contain computer program code. The processor 1301 is used to execute the computer program code stored in the memory 1302, so as to implement the method provided by the embodiments of this application.

[0177] In a first possible implementation manner, refer to Figure 13 , the communication device further includes a transceiver 1303. The processor 1301, the memory 1302, and the transceiver 1303 are connected through a bus. The transceiver 1303 is used to communicate with other devices or communication networks. Optionally, the transceiver 1303 may include a transmitter and a receiver. The device in the transceiver 1303 used to implement the receiving function may be regarded as a receiver, and the receiver is used to execute the receiving steps in the embodiments of this application. The device in the transceiver 1303 used to implement the sending function may be regarded as a transmitter, and the transmitter is used to execute the sending steps in the embodiments of this application.

[0178] Based on the first possible implementation manner, Figure 13The structural schematic diagram shown can be used to illustrate the structure of the sending terminal involved in the above embodiments. Specifically, the processor 1301 is used to control and manage the actions of the sending terminal. For example, the processor 1301 is used to execute Figure 7 the steps in Figure 11 , and / or the actions executed by the sending terminal in other processes described in the embodiments of the present application. The processor 1301 can communicate with other network entities through the transceiver 1303. For example, it can communicate with the receiving terminal. The memory 1302 is used to store the program code and data of the sending terminal.

[0179] In a second possible implementation, the processor 1301 includes a logic circuit and at least one of an input interface and an output interface. Exemplarily, the output interface is used to execute the sending actions in the corresponding method, and the input interface is used to execute the receiving actions in the corresponding method.

[0180] Based on the second possible implementation, referring to Figure 14 , Figure 14 the structural schematic diagram shown can be used to illustrate the structure of the sending terminal involved in the above embodiments. Specifically, the processor 1301 is used to control and manage the actions of the sending terminal. For example, the processor 1301 is used to execute Figure 7 the steps in Figure 11 , and / or the actions executed by the sending terminal in other processes described in the embodiments of the present application. The processor 1301 can communicate with other network entities through at least one of the input interface and the output interface. For example, it can communicate with the receiving terminal. The memory 1302 is used to store the program code and data of the sending terminal.

[0181] In the implementation process, each step in the method provided in this embodiment can be completed by the integrated logic circuit in the hardware of the processor or the instructions in software form. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed by the hardware processor, or executed by the combination of the hardware and software modules in the processor.

[0182] In addition, the embodiments of the present application also provide a hardware structural schematic diagram of a sending terminal (denoted as sending terminal 150), which can be specifically referred to Figure 15 .

[0183] Figure 15 is the hardware structural schematic diagram of the sending terminal 150. For ease of explanation, Figure 15 only the main components of the sending terminal are shown. As Figure 15 shown, the sending terminal 150 includes a processor, a memory, a control circuit, an antenna, and an input / output device.

[0184] The processor is mainly used to process communication protocols and communication data, control the entire transmitting terminal, execute software programs, and process the data of software programs. For example, it is used to control the transmitting terminal to execute Figure 7 the steps in Figure 11 and the steps in

[0185] as well as some or all of the actions performed by the transmitting terminal in other processes described in the embodiments of the present application. The memory is mainly used to store software programs and data. The control circuit (which can also be called the radio frequency circuit) is mainly used for the conversion between baseband signals and radio frequency signals and the processing of radio frequency signals. Together with the antenna, the control circuit can also be called a transceiver, which is mainly used to transmit and receive radio frequency signals in the form of electromagnetic waves. The input / output device, such as a touch screen, a display screen, a keyboard, etc., is mainly used to receive data input by the user and output data to the user.

[0186] Those skilled in the art can understand that, for the sake of convenience of description, Figure 15 only one memory and one processor are shown. In an actual terminal, there may be multiple processors and memories. The memory can also be called a storage medium or a storage device, etc., and the embodiments of the present application do not limit this.

[0187] As an optional implementation manner, the processor may include a baseband processor and a central processor. The baseband processor is mainly used to process communication protocols and communication data, and the central processor is mainly used to control the entire transmitting terminal, execute software programs, and process the data of software programs. Figure 15The processor therein integrates the functions of a baseband processor and a central processing unit. Those skilled in the art can understand that the baseband processor and the central processing unit can also be separate processors interconnected through technologies such as a bus. Those skilled in the art can understand that the sending terminal can include multiple baseband processors to adapt to different network modes, and the sending terminal can include multiple central processing units to enhance its processing capabilities. Each component of the sending terminal can be connected through various buses. The baseband processor can also be referred to as a baseband processing circuit or a baseband processing chip. The central processing unit can also be referred to as a central processing circuit or a central processing chip. The function of processing communication protocols and communication data can be built into the processor or stored in the memory in the form of a software program, and the processor executes the software program to implement the baseband processing function.

[0188] The embodiments of the present application also provide a computer-readable storage medium, including instructions, which when running on a computer, cause the computer to execute any of the above methods.

[0189] The embodiments of the present application also provide a computer program product containing instructions, which when running on a computer, cause the computer to execute any of the above methods.

[0190] The embodiments of the present application also provide a communication system, including: a receiving terminal and the sending terminal in the above embodiments. Optionally, it further includes an access network device.

[0191] The embodiments of the present application also provide a communication device, including: a processor and an interface circuit. The interface circuit is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to execute any of the methods provided in the above embodiments.

[0192] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from a website, a computer, a server, or a data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center that contains one or more integrated media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state drive (SSD)), etc.

[0193] Although the present application has been described in conjunction with various embodiments, however, in the process of implementing the claimed present application, those skilled in the art can understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude a plurality. A single processor or other unit can implement several functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0194] Although the present application has been described in conjunction with specific features and their embodiments, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the present application. Accordingly, the present specification and the drawings are merely exemplary illustrations of the present application defined by the appended claims, and are considered to have covered any and all modifications, variations, combinations, or equivalents within the scope of the present application. Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these changes and modifications.

Claims

1. A data transmission method, characterized in that, Including: Determine a first listening window; When the overlapping part of the first listening window and a first time period is less than or equal to a first threshold, determine a second listening window and a selection window, where the first time period includes part or all of the discontinuous receive DRX activation time, the second listening window is after the first listening window, and the selection window is after the second listening window; Determine a first resource within the selection window; Send data on the first resource.

2. The method according to claim 1, wherein The determining the first resource within the selection window includes: Determine the first resource within the selection window according to the listening result within the second listening window.

3. The method according to claim 1 or 2, characterized in that, The method further includes: If the state at the start time of the second listening window is the non-activated state of DRX, switch to the activated state of DRX and keep the activated state of DRX at least until the end of the second listening window; or, If the state at the start time of the second listening window is the activated state of DRX, keep the activated state of DRX at least until the end of the second listening window.

4. The method according to claim 1 or 2, characterized in that, The time interval between the second listening window and the selection window is greater than or equal to the time required to process the listening result and determine the first resource.

5. The method according to claim 1 or 2, characterized in that, The first listening window is determined at time n, and the start time of the second listening window is (n + t A ), and the end time is (n + t B ), where t A is greater than or equal to the time required to determine the first listening window, the second listening window, and the selection window, and 0 ≤ t A < t B .

6. The method according to claim 5, wherein The start time of the selection window is (n + t B + t D + t E ), and the end time is (n + t F ), where t D is greater than or equal to the time required to process the listening result, t D ≥ 0, and t E is greater than or equal to the time required to determine the first resource, t E ≥ 0, and t B + t D + t E < t F ≤ the second threshold.

7. The method according to claim 1, characterized in that, The method further includes: When the overlapping part of the first listening window and the first time period is greater than the first threshold, determine the first resource within the selection window according to the listening result within the overlapping part of the first listening window and the first time period, and the selection window is after the first listening window.

8. The method according to claim 1 or 2, wherein The first time period is all the DRX activation time in the first listening window; or, The first time period is the DRX duration in the first listening window.

9. A communication device, characterized in that, The apparatus includes a processing unit and a transceiver unit; The processing unit is configured to determine a first listening window, when the overlapping part of the first listening window and a first time period is less than or equal to a first threshold, determine a second listening window and a selection window, and determine a first resource within the selection window; where the first time period includes part or all of the discontinuous receive DRX activation time, the second listening window is after the first listening window, and the selection window is after the second listening window; The transceiver unit is configured to send data on the first resource.

10. The device according to claim 9, characterized in that, The processing unit is specifically configured to: Determine the first resource within the selection window according to the listening result within the second listening window.

11. The apparatus according to claim 9 or 10, wherein The processing unit is further configured to, when the state at the start time of the second listening window is the non-activated state of DRX, switch to the activated state of DRX and keep the activated state of DRX at least until the end of the second listening window; or, The processing unit is further configured to, when the state at the start time of the second listening window is the activated state of DRX, keep the activated state of DRX at least until the end of the second listening window.

12. The device according to claim 9 or 10, characterized in that, The time interval between the second listening window and the selection window is greater than or equal to the time required to process the listening result and determine the first resource.

13. The device according to claim 9 or 10, characterized in that, The first listening window is determined by the processing unit at time n, and the start time of the second listening window is (n + t A ), and the end time is (n + t B ), where t A is greater than or equal to the time required to determine the first listening window, the second listening window, and the selection window, and 0 ≤ t A < t B .

14. The device according to claim 13, characterized in that, The starting time of the selection window is (n + t B + t D + t E ), and the ending time is (n + t F ). The t D is greater than or equal to the time required to process the listening result, t D ≥ 0. The t E is greater than or equal to the time required to determine the first resource, t E ≥ 0, t B + t D + t E < t F ≤ Second threshold.

15. The apparatus according to claim 9, wherein when a part of the first listening window overlapping with the first time period is greater than a first threshold, the processing unit is further configured to determine the first resource in a selection window according to a listening result within a part of the first listening window overlapping with the first time period, and the selection window is located after the first listening window.

16. The apparatus according to claim 9 or 10, wherein the first time period is all DRX activation time in the first listening window; or the first time period is a DRX duration in the first listening window.

17. A communication device, characterized in that, Comprising: a processor; the processor is connected to a memory, the memory is configured to store computer execution instructions, and the processor executes the computer execution instructions stored in the memory, so that the communication apparatus implements the method according to any one of claims 1-8.

18. A communication device, characterized in that, Comprising: a processor and an interface circuit; the interface circuit is configured to receive code instructions and transmit them to the processor; the processor is configured to run the code instructions to execute the method according to any one of claims 1-8.

19. A readable storage medium, characterized in that, For storing computer instructions, when the instructions are executed, the method according to any one of claims 1-8 is implemented.

20. A computer program product, characterized in that, Containing instructions, when the instructions are executed, the method according to any one of claims 1-8 is implemented.

Citation Information

Patent Citations

  • Systems and methods for discontinuous reception in device-to-device communication

    WO2018064477A1