WO2020259293A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2020259293A1
WO2020259293A1 PCT/CN2020/095451 CN2020095451W WO2020259293A1 WO 2020259293 A1 WO2020259293 A1 WO 2020259293A1 CN 2020095451 W CN2020095451 W CN 2020095451W WO 2020259293 A1 WO2020259293 A1 WO 2020259293A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
frequency resource
time window
resource
terminal device
Prior art date
Application number
PCT/CN2020/095451
Other languages
French (fr)
Chinese (zh)
Inventor
李添泽
马驰翔
向铮铮
卢磊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020259293A1 publication Critical patent/WO2020259293A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/02Selection of wireless resources by user or terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a communication method and device.
  • V2V Vehicle-to-Vehicle
  • V2P vehicle-to-pedestrian
  • V2I/N vehicle-to-infrastructure/network
  • V2X vehicle to everything
  • SL side link
  • V2X side link communication includes two communication modes: the first communication mode is V2X direct communication based on base station scheduling. V2X terminals send V2X communication control messages and data on the scheduled time-frequency resources according to the scheduling information of the base station; The second communication mode is that the V2X terminal independently selects the time-frequency resource used for communication among the available time-frequency resources included in the V2X communication resource pool, and sends control messages and data on the selected time-frequency resource.
  • the base station centrally allocates resources according to the report of the buffer status (BSR) of the terminal.
  • BSR buffer status
  • the second communication mode there is no network equipment for unified resource management.
  • V2X terminals can only select communication resources for V2X communication by themselves, which may easily cause collisions of resources selected by V2X terminals.
  • the V2X terminal can send indication information in advance to indicate the reserved time-frequency resources, and other V2X terminals can monitor the indication information to avoid selecting the same resource, thereby reducing the probability of data transmission collisions.
  • the transmission resources occupied by different V2X terminals may still collide, which affects the transmission efficiency of indication information and service data.
  • the embodiments of the present application provide a communication method and device, which can avoid resource collisions, improve the reliability of transmission of indication information and service information, and improve network transmission efficiency.
  • a communication method includes: a first terminal device detects second resource indication information from a second terminal device before time n, and the second resource indication information is used to indicate The second terminal device sends the second time-frequency resource of the second data packet; the first terminal device starts from the second time window [n+t2, n+t3] at the time point n according to the second resource indication information
  • the first time-frequency resource is determined in, and the first time-frequency resource is used to send the first data packet; the first terminal device sends the first resource indication information in the first time window [n, n+t1], and the A resource indication information is used to indicate the first time-frequency resource; where t1 ⁇ t2 and t2>t1; the first terminal device sends the first data packet on the first time-frequency resource.
  • the first terminal device since the first terminal device sends the first resource indication information in the first time window [n, n+t1], and sends the first data packet in the second time window [n+t2, n+t3], And t1 ⁇ t2 and t2>t1, so there is a period of time between the first time window and the second time window. That is, there is a period of time between the time-frequency resource for sending the first resource indication information by the first terminal device and the time-frequency resource for sending the first data packet by the first terminal device.
  • the time-frequency resource for the first terminal device to send the first resource indication information The resource will not collide with the time-frequency resource of the data packet sent by the other second terminal device, thereby avoiding the time-frequency resource of the first terminal device sending the first resource indication information from being collided by the time-frequency resource of the data packet sent by the other terminal device , Improve the reliability of the resource indication information, making the network transmission efficiency higher.
  • the meaning of the first time window [n, n+t1] means that the first time window starts from the time point n to the time point n+t1 in the time domain.
  • the meaning of the second time window [n+t2, n+t3] means that the second time window starts from the time point n+t2 to the time point n+t3 in the time domain.
  • the interval time window between the first time window [n, n+t1] and the second time window [n+t2, n+t3] is [n+ t1,n+t2], which are equal in length to the first time window [n,n+t1] and the second time window [n+t2,n+t3].
  • the length of the first time window, the second time window, and the interval time window are equal.
  • the length of the first time window, the second time window, and the interval time window may not be completely the same.
  • the above method further includes: the first terminal device receives first indication information from a network device, the first indication information It is used to indicate the length of the first time window, the second time window, and the interval time window between the first time window and the second time window; or, the first time window, the second time window, And the length of the interval time window between the first time window and the second time window is predefined.
  • the length of the first time window, the second time window, and the interval time window may be obtained from the network device, or may be predefined.
  • the second time-frequency resource is located within the first time window [n, n+t1]; the above method also The method includes: the first terminal device determines a third time-frequency resource from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1], and the third time-frequency resource is used to transmit the The first resource indication information.
  • the time-frequency resource can avoid collisions between the third time-frequency resource used by the first terminal device to send the first resource indication information and the time-frequency resource reserved for sending the second data packet by the second terminal device.
  • the second time-frequency resource is located in the second time window [n+t2, n+t3];
  • the first terminal device determines the first time-frequency resource from the second time window [n+t2, n+t3] at the aforementioned time point n according to the aforementioned second resource indication information, including: the first terminal device determines the first time-frequency resource from the second time window [n+t2, n+t3]
  • the first time-frequency resource is determined from time-frequency resources other than the second time-frequency resource in [n+t2, n+t3].
  • the first time-frequency resource used to send the first data packet is the time-frequency resource not reserved by the second terminal device for sending the second data packet in the second time window [n+t2, n+t3] Therefore, collisions between the first time-frequency resource for sending the first data packet by the first terminal device and the second time-frequency resource for sending the second data packet by the second terminal device can be avoided, thereby improving the reliability of service transmission.
  • the second time-frequency resource is located in the second time window [n+t2, n+t3], and the In the second time window [n+t2, n+t3], the time-frequency resources other than the second time-frequency resource are smaller than the first time-frequency resource, and the priority of the first data packet is higher than the second data packet
  • the first terminal device determines the first time-frequency resource from the second time window [n+t2, n+t3] at the time point n according to the second resource indication information, including: the first terminal device
  • the time-frequency resource used to send the first data packet is determined from the second time-frequency resource.
  • high-priority data packets can preempt the reserved time-frequency resources for sending low-priority data packets, thereby ensuring high-priority data packets. Reliability of data packet transmission.
  • the above method further includes: the first terminal device sends a notification message to the second terminal device, the notification message being Instructing that part or all of the time-frequency resources in the second time-frequency resources in the second time window are used for the first terminal device to send the first data packet. Based on this solution, other terminal devices are notified that part or all of the second time-frequency resources in the second time window are used by the first terminal device to send the first data packet, so that other terminal devices can learn about resource preemption.
  • the first terminal device sending the first resource indication information within the first time window includes: the first According to the first time-frequency resource pattern, the terminal device respectively sends the first resource indication information in the multiple time-frequency resource units within the first time window [n, n+t1]; wherein, the multiple time-frequency resource units Is a time-frequency resource unit in a time-frequency resource other than the second time-frequency resource in the first time window [n, n+t1], and the first time-frequency resource pattern is used to indicate the multiple time-frequency resources The relative positional relationship between the units in the time and frequency domain.
  • the first terminal device when the first terminal device and the second terminal device have different first time-frequency resource patterns, the first terminal device sends multiple copies of the time-frequency resource of the first resource indication information and the second terminal device sends multiple copies of the second
  • the multiple time-frequency resources of the resource indication information will not completely overlap, which can reduce the probability of collision between the time-frequency resource for sending the first resource indication information by the first terminal device and the time-frequency resource for sending the second resource indication information by the second terminal device, This further improves the reliability of the resource indication information.
  • the above-mentioned first resource indication information and the above-mentioned second resource indication information are carried in a broadcast message.
  • the first terminal device can obtain the second resource indication information by listening to the broadcast message sent by the second terminal device, and the first terminal device can also send the first resource indication information to the second terminal device, so that the second terminal device The device acquires the first resource indication information of the first terminal device.
  • a second aspect of the embodiments of the present application provides a communication method, the method includes: a network device determines first indication information, the first indication information is used to indicate a first time window, a second time window, and the first time The length of the interval time window between the window and the second time window, wherein the first time window is used for the first terminal device to send resource indication information, and the second time window is used for the first terminal device to send data packets; The network device sends the first indication information to the first terminal device. Based on this solution, the network device can determine the length of the first time window, the second time window, and the interval time window between the first time window and the second time window, and send them to the first terminal device.
  • the first terminal device Since the first terminal device sends the first resource indication information in the first time window, the first terminal device sends the first data packet in the second time window, and there is an interval time between the first time window and the second time window Window, so that the time-frequency resource of the first terminal device sending resource indication information will not collide with the time-frequency resource of other second terminal devices sending data packets, thereby avoiding the time-frequency resource of the first terminal device sending resource indication information
  • the time-frequency resources of the data packets sent by other terminal devices are collided, which improves the reliability of the resource indication information and makes the transmission efficiency of the network higher.
  • the lengths of the first time window, the second time window, and the interval time window are equal. Based on this solution, the length of the first time window, the second time window, and the interval time window are equal. Optionally, in practical applications, the lengths of the first time window, the second time window, and the interval time window may not be completely the same.
  • a device in a third aspect of the embodiments of the present application, includes: a processing unit and a transceiving unit; the transceiving unit is configured to detect second resource indication information from a second terminal device before a time point n, the second resource The indication information is used to instruct the second terminal device to send the second time-frequency resource of the second data packet; the processing unit is used to start from the second time window [n+t2, according to the second resource indication information at the time point n, The first time-frequency resource is determined in n+t3], and the first time-frequency resource is used to send the first data packet; the above transceiver unit is also used to send the first time-frequency resource within the first time window [n, n+t1] Resource indication information, where the first resource indication information is used to indicate the first time-frequency resource; where t1 ⁇ t2 and t2>t1; the transceiver unit is also used to send the first data packet on the first time-frequency resource .
  • the interval time window between the first time window [n, n+t1] and the second time window [n+t2, n+t3] is [n+ t1,n+t2], which are equal in length to the first time window [n,n+t1] and the second time window [n+t2,n+t3].
  • the foregoing transceiver unit is further configured to receive first indication information from a network device, where the first indication information is used to indicate The length of the first time window, the second time window, and the interval time window between the first time window and the second time window; or, the first time window, the second time window, and the first time window The length of the interval time window between a time window and the foregoing second time window is predefined.
  • the foregoing second time-frequency resource is located within the first time window [n, n+t1]; the foregoing processing Unit, further configured to determine a third time-frequency resource from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1], and the third time-frequency resource is used to send the first time-frequency resource One resource indication information.
  • the second time-frequency resource is located in the second time window [n+t2, n+t3];
  • the processing unit is specifically configured to determine the first time-frequency resource from time-frequency resources other than the second time-frequency resource in the second time window [n+t2, n+t3].
  • the second time-frequency resource is located within the second time window [n+t2, n+t3], and the In the second time window [n+t2, n+t3], the time-frequency resources other than the second time-frequency resource are smaller than the first time-frequency resource, and the priority of the first data packet is higher than the second data packet The priority; the processing unit is specifically configured to determine the time-frequency resource used to send the first data packet from the second time-frequency resource.
  • the foregoing transceiver unit is further configured to send a notification message to the foregoing second terminal device, and the notification message is used to instruct the foregoing Part or all of the time-frequency resources in the second time-frequency resources are used by the transceiver unit to send the first data packet.
  • the above-mentioned transceiver unit is specifically configured to operate in the above-mentioned first time window according to the first time-frequency resource pattern [n, The multiple time-frequency resource units within n+t1] respectively send the first resource indication information; wherein, the multiple time-frequency resource units are the first time window [n, n+t1] divided by the second time A time-frequency resource unit in a time-frequency resource other than the frequency resource, and the first time-frequency resource pattern is used to indicate the relative positional relationship between the multiple time-frequency resource units in the time-frequency domain.
  • the above-mentioned first resource indication information and the above-mentioned second resource indication information are carried in a broadcast message.
  • a network device in a fourth aspect of the embodiments of the present application, includes: a processing unit and a transceiver unit; the processing unit is configured to determine first indication information, and the first indication information is used to indicate a first time window, The second time window and the length of the interval time window between the first time window and the second time window, wherein the first time window is used for the first terminal device to send resource indication information, and the second time window is used
  • the data packet is sent at the first terminal device; the transceiver unit is configured to send the first instruction information to the first terminal device.
  • the lengths of the first time window, the second time window, and the interval time window are equal.
  • a computer storage medium stores computer program code.
  • the computer program code runs on a processor, the computer executes any of the foregoing Communication method.
  • the sixth aspect of the embodiments of the present application provides a computer program product that stores computer software instructions executed by the above-mentioned processor, and the computer software instructions include a program for executing the solution described in the above-mentioned aspect.
  • a communication device in a seventh aspect of the embodiments of the present application, includes an input and output interface and a processor.
  • the input and output interface is used to communicate with other network elements; and the processor is used to execute computer program instructions to implement The communication method described in any of the above aspects.
  • the communication device may further include a memory for storing computer program instructions.
  • An eighth aspect of the embodiments of the present application provides a communication device that exists in the form of a chip product.
  • the structure of the device includes a processor and may also include a memory.
  • the memory is used to couple with the processor and store the Program instructions and data necessary for the device, and the processor is used to execute the program instructions stored in the memory, so that the device executes the method described in any of the foregoing aspects.
  • the ninth aspect of the embodiments of the present application provides a communication device, which exists in the form of a chip product.
  • the structure of the device includes a processor and an interface circuit.
  • the processor is used to communicate with other devices through a receiving circuit so that The device executes the method described in any of the above aspects.
  • FIG. 1 is a schematic diagram of a V2X communication scenario provided by an embodiment of this application.
  • Figure 2 is a schematic diagram of an application scenario of a resource reservation method provided in the prior art
  • FIG. 3 is a schematic structural diagram of a terminal device provided by an embodiment of this application.
  • FIG. 5 is a schematic diagram 1 of an application scenario of a communication method provided by an embodiment of this application.
  • FIG. 6 is a schematic diagram 2 of an application scenario of a communication method provided by an embodiment of this application.
  • FIG. 7 is a third schematic diagram of an application scenario of a communication method provided by an embodiment of this application.
  • FIG. 8 is a fourth schematic diagram of an application scenario of a communication method provided by an embodiment of this application.
  • FIG. 9 is a schematic diagram 5 of an application scenario of a communication method provided by an embodiment of this application.
  • FIG. 10 is a sixth schematic diagram of an application scenario of a communication method provided by an embodiment of this application.
  • FIG. 11 is a schematic diagram of the composition of a terminal device provided by an embodiment of the application.
  • FIG. 12 is a schematic diagram of the composition of a network device provided by an embodiment of this application.
  • FIG. 13 is a schematic diagram of the composition of another terminal device provided by an embodiment of this application.
  • FIG. 14 is a schematic diagram of the composition of another network device provided by an embodiment of this application.
  • a, b, or c can mean: a, b, c, a and b, a and c, b and c, or, a and b and c, where a, b and c c can be single or multiple.
  • words such as “first” and “second” are used to distinguish the same items or similar items that have substantially the same function and effect. Those skilled in the art can understand that words such as “first” and “second” do not limit the number and execution order. For example, the "first" in the first device and the "second” in the second device in the embodiment of the present application are only used to distinguish different devices.
  • the embodiment of the present application provides a communication method, which can be applied to the V2X communication scenario shown in FIG. 1.
  • the first terminal device and the second terminal device communicate via sidelink (Sidelink, SL).
  • Sidelink Sidelink
  • the V2X network also has an uplink (uplink) and a downlink ( downlink).
  • V2X communication includes vehicle-to-vehicle communication (Vehicle-to-Vehicle, V2V), vehicle-to-infrastructure communication (Vehicle-to-Infrastructure, V2I), vehicle-to-people communication (Vehicle to People, V2P), And the communication between the vehicle and the application server (Vehicle-to-Network, V2N), etc.
  • FIG. 1 only takes V2V communication in which both the first terminal device and the second terminal device are vehicles as an example for illustration, and the embodiment of the present application does not limit the specific communication scenario of V2X.
  • the first terminal device and the second terminal device may communicate with each other between the vehicle-mounted equipment and the vehicle-mounted equipment, or may be the communication between the road side unit (RSU) and the vehicle-mounted equipment and/or network equipment (such as base station equipment). It can also be communication between network equipment (such as base station equipment) and vehicle-mounted equipment and/or RSU.
  • the network equipment (which can be LTE base station equipment or NR base station equipment or a base station in a subsequent evolution system. It can be understood that Yes, the embodiments of the present application do not limit the specific forms of the first terminal device and the second terminal device, which are only exemplary descriptions.
  • the radio access network device in FIG. 1 may be a base station, or It is a device in a network that provides wireless access.
  • a terminal in a V2X network, there are two ways for a terminal to obtain V2X SL resources.
  • One is the wireless access network equipment scheduling method. In this way, the V2X terminal is scheduled according to the scheduling information of the wireless access network equipment.
  • the control messages and data of V2X communication are sent on the time-frequency resources of NR.
  • This resource acquisition mode is called Mode 3 (Mode 3) in Long Term Evolution (LTE) V2X, and Mode 1( Mode 1).
  • LTE Long Term Evolution
  • the other is the way that the V2X terminal independently selects resources. In this way, the V2X terminal selects the time-frequency resources used for communication from the available time-frequency resources contained in the V2X communication resource pool, and sends control messages and data on the selected resources.
  • This resource acquisition mode is called Mode4 (Mode 4) in LTE V2X, and Mode 2 (Mode 2) in NR V2X.
  • the above-mentioned terminal self-selection mode (Mode2) is mainly applied to V2X communication without network coverage. Because there is no unified resource management of network equipment, V2X terminals can only select communication resources by themselves for V2X communication, which will cause the communication resources selected by different terminals to occur. collision.
  • One of the existing methods is that in the mode where the V2X terminal selects resources by itself, the V2X terminal can send instructions in advance to indicate the reserved time-frequency resources, and other V2X terminals can monitor the instructions to avoid selecting the same resource, thereby reducing data The probability of a transmission collision. However, when the reservation indication information is sent, the transmission resources occupied by different V2X terminals may still collide, which affects the transmission efficiency of indication information and service data, and affects the transmission efficiency of indication information and service data.
  • the terminal in the embodiment of this application may refer to the user equipment (UE), access terminal, terminal unit, terminal station, and mobile station in the 5G network or the public land mobile network (Public Land Mobile Network, PLMN) that will evolve in the future , Mobile stations, remote stations, remote terminals, mobile equipment, wireless communication equipment, terminal agents, etc.
  • UE user equipment
  • PLMN Public Land Mobile Network
  • the access terminal can be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), with wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices or wearable devices, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, industrial control (industrial) Wireless terminal in control), wireless terminal in self-driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety (transportation safety) Terminal, wireless terminal in smart city, wireless terminal in smart home, etc.
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • the terminal can be a vehicle, a vehicle-mounted communication device or a vehicle-mounted terminal, or a chip in the vehicle-mounted communication device or a vehicle-mounted terminal installed on the vehicle to assist the vehicle driving; it can also be a vehicle-mounted module, vehicle-mounted module, One or more components or units in an on-board component, on-board chip, or on-board unit.
  • the vehicle-mounted terminal may be a device used to implement wireless communication functions, such as a terminal or a chip that can be used in the terminal.
  • the vehicle-mounted terminal can be mobile or fixed.
  • the network device in the embodiment of the application may be a device used to communicate with a terminal device.
  • the network device may be a global system for mobile communications (GSM) system or code division multiple access (CDMA)
  • GSM global system for mobile communications
  • CDMA code division multiple access
  • the base transceiver station (BTS) in the LTE system can also be the base station (NodeB, NB) in the wideband code division multiple access (WCDMA) system, or the evolved base station (evolved) in the LTE system.
  • NodeB, eNB or eNodeB) it can also be a wireless controller in a cloud radio access network (CRAN) scenario, or the network device can be a relay station, access point, vehicle-mounted device, wearable device, and future
  • CRAN cloud radio access network
  • the network equipment in the 5G network or the network equipment in the future evolved PLMN network, etc., are not limited in the embodiment of the present application.
  • the time-frequency resource for sending reservation information and the time-frequency resource for sending service data may collide.
  • Fig. 2 is a resource reservation method.
  • the first time window and the second time window are continuous, and the start time of the second time window is the end time of the first time window.
  • the time point for UE1 to determine the resource is n1, the first time window of UE1 from time n1 to time n1+t1, and the second time from time n1+t1 to time n1+t2 for UE1 window.
  • the first time window [n1, n1+t1] of UE1 is used to send the resource indication information of UE1.
  • the resource indication information of UE1 is used to indicate the time-frequency resource for UE1 to send data packets.
  • the time-frequency resource for UE1 to send data packets is located in UE1. Within the second time window [n1+t1, n1+t2]. The time point at which the UE2 determines the resource of the UE2 is n2, and the time point n2 is later than the time point n1 in the time domain.
  • the UE2 starts at time n2 to time n2+t1 as the first time window of UE2, and starts at time n2+t1 to time n2+t2 as the second time window of UE2.
  • the first time window [n2, n2+t1] of UE2 is used to send the resource indication information of UE2.
  • the resource indication information of UE2 is used to indicate the time-frequency resource for UE2 to send data packets.
  • the time-frequency resource for UE2 to send data packets is located in UE2. Within the second time window [n2+t1, n2+t2].
  • the time point when the UE determines the resource may be the time point when the physical layer receives the data packet transmitted by the upper layer (for example, the MAC layer, the RRC layer, etc.).
  • UE1 can detect resource indication information sent by other devices before time n1, and determine the time and frequency for sending UE1 resource indication information within the first time window [n1, n1+t1] at time n1 Resources.
  • UE1 can send the resource indication information of UE1 in the black solid square in the first time window (UE1 in the black solid square in Figure 2 represents the time-frequency resource for UE1 to send the resource indication information),
  • the resource indication information of the UE1 is used to indicate the time-frequency resource of the data packet sent by the UE1 in the second time window [n1+t1, n1+t2] of the UE1, that is, the time-frequency resource 1 in FIG. 2.
  • UE2 detects resource indication information sent by other devices other than UE2 before time n2, and at time n2 determines the time-frequency resource for sending UE2's resource indication information within the first time window [n2, n2+t1] of UE2 . Since the time when UE1 sends the resource indication information of UE1 is after time n2, UE2 has not received the resource indication information of UE1 sent by UE1 before time n2. Therefore, it is possible for UE2 to send UE1 to the time-frequency resource 1 of the data packet.
  • time-frequency resources are determined as the time-frequency resources for UE2 to send its resource indication (the black solid square in Figure 2 represents the time-frequency resources for UE2 to send resource indication information), which will cause UE2 to be
  • the time-frequency resource for sending the resource indication information of UE2 in the first time window [n2, n2+t1], and the time-frequency resource for sending data packets by UE1 in the second time window [n1+t1, n1+t2] of UE1 ( Time-frequency resource 1) collides, causing other terminal devices other than UE2 not to receive the resource indication information sent by UE2. Therefore, other devices may reserve the time-frequency resource (time-frequency resource 2) for UE2 to send data packets, thereby affecting Data transmission efficiency.
  • an embodiment of the present application provides a communication method, which can be applied to a terminal device
  • the terminal device may be the first terminal device or the second terminal device in this application.
  • the terminal device in the foregoing embodiment may be a terminal, or may be a chip applied to the terminal or other combination devices or components having the foregoing terminal functions.
  • the terminal device may include a processing unit and a transceiving unit.
  • the transceiver unit can be a receiver and a transmitter, which can include an antenna and a radio frequency circuit, etc., wherein the receiver and transmitter can be an integrated transceiver, and the processing module can be a processor, such as a central processing unit ( central processing unit, CPU).
  • a central processing unit central processing unit, CPU
  • the transceiver unit may be a radio frequency unit
  • the processing unit may be one or more processors.
  • the transceiver unit may be an input/output interface of the chip system
  • the processing module may be a processor of the chip system.
  • the terminal device 300 includes at least one processor 301, a memory 302, and a transceiver 303.
  • the processor 301 is the control center of the terminal device 300, and may be a processor or a collective name for multiple processing elements.
  • the processor 301 is a central processing unit (CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • microprocessors digital signal processor, DSP
  • field programmable gate arrays Field Programmable Gate Array, FPGA
  • the processor 301 can execute various functions of the communication device by running or executing a software program stored in the memory 302 and calling data stored in the memory 302.
  • the processor 301 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 3.
  • the communication device may include multiple processors, for example, the processor 301 and the processor 304 shown in FIG. 3. Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU).
  • the processor here may refer to one or more communication devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
  • the memory 302 can be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions
  • the dynamic storage device can also be electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (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 can be used to carry or store desired program codes in the form of instructions or data structures and can be used by a computer Any other media accessed, but not limited to this.
  • the memory 302 may exist independently and is connected to the processor 301.
  • the memory 302 may also be integrated with the processor 301.
  • the memory 302 is used to store a software program implementing the solution of the present invention, and the processor 301 controls the execution.
  • the transceiver 303 is used to communicate with other communication devices.
  • the transceiver 303 can also be used to communicate with communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (Wireless Local Area Networks, WLAN), and so on.
  • the transceiver 303 may include a receiving unit to implement a receiving function, and a sending unit to implement a sending function.
  • the structure shown in FIG. 3 does not constitute a limitation on the terminal device.
  • the terminal device 300 may include more or fewer components than shown in the figure, or a combination of some components, or a different component arrangement.
  • an embodiment of the present application provides a communication method that can avoid sending reservation information Collision occurs between the time-frequency resources of the time-frequency resources and the time-frequency resources for sending service data, which improves the reliability of reservation information and service information transmission, and improves network transmission efficiency.
  • Fig. 4 is a communication method provided by an embodiment of this application, and the communication method may include steps S401-S404.
  • the first terminal device detects second resource indication information from the second terminal device before the time point n.
  • the second resource indication information is used to instruct the second terminal device to send the second time-frequency resource of the second data packet.
  • the second terminal device may be a terminal device that can listen to the broadcast message sent by the first terminal device.
  • the second terminal device may be one terminal or multiple terminals, which is not limited in this embodiment of the application. .
  • the foregoing time point n is a time point at which the first terminal device determines the resource.
  • the time point n may be the time point when the Media Access Control (MAC) layer of the first terminal device receives the data packet transmitted by the upper layer (for example, the service layer), or other time points.
  • the embodiment does not limit this.
  • the first terminal device detecting the second resource indication information from the second terminal device before the time point n may include: the first terminal device listens to the broadcast message sent by the second terminal device before the time point n, and The broadcast message carries the second resource indication information, and the first terminal device can learn the second time-frequency resource reserved by the second terminal device for sending the second data packet according to the second resource indication information carried in the broadcast message.
  • the second resource indication is the resource indication information sent by the second terminal device that can be heard by the first terminal device before the time point n
  • the resource indication information sent by other terminal devices after the time point n is the first terminal device It cannot be heard, or the first terminal device does not consider the resource indication information sent by other terminal devices after the time point n.
  • the first terminal device may continuously listen to broadcast messages sent by multiple second terminal devices other than the first terminal device at different times, and obtain that the second data packet sent by the multiple second terminal devices before the time point n Second time-frequency resource. It can be understood that the second time-frequency resource for sending the second data packet by different second terminal devices may be different.
  • the first terminal device starting from the time point n when the first terminal device determines the resource, it corresponds to a set of time windows in the time domain, and the first terminal device considers this set of time when determining the transmission resource.
  • the set of time windows includes: a first time window, a second time window, and an interval time window between the first time window and the second time window.
  • the first time window is used for the first terminal device to send resource indication information
  • the second time window is used for the first terminal device to send data packets.
  • the lengths of the foregoing first time window, second time window, and interval time window may be equal or unequal, which is not limited in the embodiment of the present application.
  • the case where the lengths of the first time window, the second time window and the interval time window are not equal means that the lengths of the first time window, the second time window and the interval time window are not completely the same.
  • the length of the first time window, the second time window, and the interval time window are different from each other, or the length of the first time window and the second time window are the same, and the length of the interval time window is different, or the second time window
  • the length of the interval time window is the same as that of the first time window, or the length of the first time window and the interval time window are the same, but the length of the second time window is different.
  • the lengths of the first time window, the second time window, and the interval time window can be obtained in the following two ways.
  • the first terminal device may receive first indication information from the network device, and the first indication information is used to indicate the first time window, the second time window, and between the first time window and the second time window The length of the interval time window.
  • the first indication information may display the length of the first time window, the second time window, and the interval time window between the first time window and the second time window.
  • the first indication information may directly carry the length of the first time window, the second time window, and the interval time window; or, the network device may also configure multiple radio resource control (Radio Resource Control, RRC) signaling.
  • RRC Radio Resource Control
  • the index and the length of a set of time windows corresponding to each index (a set of time windows includes the first time window, the second time window, and the interval time window), and then the index is indicated by Downlink Control Information (DCI)
  • DCI Downlink Control Information
  • the first terminal device may determine the length of the first time window, the second time window, and the interval time window according to the index number indicated by the DCI and the corresponding relationship of the RRC signaling configuration.
  • the first indication information may also implicitly indicate the length of the first time window, the second time window, and the interval time window.
  • the corresponding relationship between the bandwidth and a set of time window lengths is pre-configured in the first terminal device, the above-mentioned first indication information may indicate the bandwidth resource, and the first terminal device may determine the first terminal device according to the corresponding relationship between the bandwidth and the pre-configuration.
  • the length of the time window, the second time window, and the interval time window does not limit the specific form of the first indication information, and is only an exemplary description here.
  • the network device may determine the first time window and the second time window according to the requirements of the transmission delay of the data packet to be transmitted, the statistical value of the data packet size, the network bandwidth, the degree of network congestion, etc. , And the length of the interval time window between the first time window and the second time window, and then send the length of the first time window, the second time window and the interval time window to the first terminal device.
  • the lengths of the first time window, the second time window, and the interval time window between the first time window and the second time window are predefined.
  • the start and end time of the first time window, the second time window, and the interval time window may also be predefined.
  • the first terminal device may also obtain the length of the first time window, the second time window, and the interval time window according to the start and end times of the first time window, the second time window, and the interval time window.
  • the embodiment of the present application does not limit the specific implementation manner in which the first terminal device obtains the first time window, the second time window, and the length of the interval time window between the first time window and the second time window.
  • the foregoing is only Exemplary description.
  • the time point at which the first terminal device determines the resource is n.
  • the start time point of the first time window in the time domain is n
  • the end time point is n+t1, which can be recorded as the first time window [n, n+ t1]
  • the start time point of the second time window in the time domain is n+t2
  • the end time point is n+t3, which can be recorded as the second time window [n+t2, n+t3]
  • the first time window There is an interval time window between and the second time window.
  • the start time point of the interval time window in the time domain is n+t1, and the end time point is n+t2, which can be recorded as the interval time window [n+t1, n+ t2].
  • t2 is equal to twice t1 and t3 is equal to three times t1
  • the lengths of the first time window, the second time window, and the interval time window are equal.
  • FIG. 5 only exemplarily shows that the lengths of the first time window, the second time window, and the interval time window are equal.
  • the first terminal device may send resource indication information within a first time window [n, n+t1].
  • the resource indication information is used to indicate the time-frequency resource for the first terminal device to send a data packet.
  • the time-frequency resource for a terminal device to send data packets is located in the second time window [n+t2, n+t3]; that is, the resource indication information is used to reserve the time for sending the data packet of the first terminal device in the second time window Frequency resources.
  • the first terminal device may send the data packet within the second time window [n+t2, n+t3], that is, the first terminal device may send the data packet on the time-frequency resource reserved by the resource indication information.
  • the time point when the UE1 determines the resource is n1, and the time point when the UE2 determines the resource is n2 as an example.
  • UE1 sends the resource indication information of UE1 within the first time window [n1, n1+t1] of UE1 (the black solid box marked UE1 in Figure 6).
  • the resource indication information of UE1 is used to indicate that UE1 is in The time-frequency resource for sending data packets in the second time window [n1+t2, n1+t3] of the UE1.
  • UE2 detects resource indication information sent by other devices other than UE2 before time n2, and determines the time-frequency resource for sending the resource indication information of UE2 within the first time window [n2, n2+t1] of UE2 at time n2.
  • UE2 Since the resource indication information of UE1 occurred after time n2, UE2 did not receive the resource indication information sent by UE1 before time n2. As shown in Figure 6, although UE2 did not receive the resource indication information of UE1 sent by UE1 before time n2, because there is an interval time window between the first time window and the second time window, UE2 is in UE2.
  • the time-frequency resource is unlikely to collide with the time-frequency resource of UE1 sending the data packet of UE1, thus avoiding UE2
  • the time-frequency resource for sending resource indication information collides with the time-frequency resource for sending data packets by UE1.
  • the second time-frequency resource for sending the second data packet by the second terminal device may be located in the first time window [n, n+t1] of the first terminal device, or may be located in the interval time window of the first terminal device [n+t1, n+t2], may also be located in the second time window [n+t2, n+t3] of the first terminal device, and may also be located in the first time window and interval time window of the first terminal device And in other time periods outside the second time window, the embodiment of the present application does not limit this.
  • the first terminal device listens to the second resource indication information sent by multiple second terminal devices before the time point n. Among them, there may be several second terminal devices that send the second time-frequency resource of the second data packet.
  • first time window [n, n+t1] of the first terminal device there may also be several second terminal devices sending the second data packet in the second time-frequency resource may be located in the second time window of the first terminal device [ n+t2, n+t3].
  • the embodiment of the present application does not limit the specific time period in which the second time-frequency resource for the second terminal device to send the second data packet is located. This is only an example to illustrate the time when the second terminal device sends the second data packet.
  • the frequency resources may be in different time periods.
  • first time window [n, n+t1] means that the first time window starts from the time point n to the time point n+t1 in the time domain.
  • second time window [n+t2, n+t3] means that the second time window starts from the time point n+t2 to the time point n+t3 in the time domain.
  • the time point at which the first terminal device determines the resource is n as an example.
  • the first terminal device listened to the second resource indication information sent by the second terminal device.
  • the second terminal device includes UE1, UE2, and UE3 as an example.
  • a small square in Figure 7 represents a resource block (Resource Block, RB). If the duration of each resource block is ⁇ t, the first terminal device listens to the second sent by UE1 at n-5* ⁇ t. Resource indication information.
  • the second resource indication information of UE1 is used to indicate that the time-frequency resource for sending UE1's data packet is time-frequency resource 1. As shown in FIG.
  • the time-frequency resource 1 is located in the first terminal device of the first terminal device. Within the time window. The first terminal device listens to the second resource indication information sent by UE2 at time n-2* ⁇ t, and the second resource indication information of UE2 is used to indicate that the time-frequency resource for UE2 to send the data packet of UE2 is time-frequency resource 2. As shown in FIG. 7, the time-frequency resource 2 is located in the second time window of the first terminal device. The first terminal device listens to the second resource indication information sent by UE3 at time n- ⁇ t, and the second resource indication information of UE3 is used to indicate that the time-frequency resource for UE3 to send the data packet of UE3 is time-frequency resource 3, such as As shown in FIG. 7, the time-frequency resource 3 is located in the second time window of the first terminal device.
  • each terminal device determines the resource, it can be based on the first time window [n, n+t1] and the interval time window [n+t1, n+t2] that are continuous in time.
  • the second time window [n+t2, n+t3] to determine the resource for sending the resource indication information and the resource for sending the data packet.
  • the first time window [n, n+t1] is used for the terminal device to send resource indication information
  • the second time window [n+t2, n+t3] is used for the terminal device to send the data packet of the terminal device.
  • the time-frequency resource for a terminal device to send data packets in the second time window of the terminal device may be located in the first time window of other terminal devices, or within the interval time window , Or within the second time window, or other time periods.
  • time points n at which different terminal devices determine resources in the embodiment of the present application may be different, but the length of the first time window of different terminal devices is the same, and the length of the second time window of different terminal devices is the same, and different terminal devices The length of the interval time window is the same.
  • the first terminal device determines the first time-frequency resource from the second time window [n+t2, n+t3] at the time point n according to the second resource indication information.
  • the first time-frequency resource is used to send the first data packet of the first terminal device.
  • determining the first time-frequency resource from the second time window [n+t2, n+t3] according to the second resource indication information at the time point n by the first terminal device may include: The first time-frequency resource is determined from the time-frequency resources other than the second time-frequency resource in the second time window [n+t2, n+t3], where the second time-frequency resource is located in the second time window [n+t2, n+t3].
  • the first time-frequency resource determined in the time-frequency resource is a time-frequency resource that is not reserved by the second terminal device for sending the second data packet in the second time window [n+t2, n+t3]. That is, the first time-frequency resource determined in the embodiment of the present application will not overlap with the second time-frequency resource. Therefore, the first time-frequency resource for the first terminal device to send the first data packet and the first time-frequency resource for the second terminal device to send the second data packet Two time-frequency resources will not collide.
  • the first terminal device can determine the time excluding the second time-frequency resource from the second time window [n+t2, n+t3] according to the second resource indication information of UE1, UE2, and UE3.
  • the first time-frequency resource is determined from the frequency resource.
  • the second time-frequency resource of UE1 is time-frequency resource 1
  • the second time-frequency resource of UE2 is time-frequency resource 2
  • the second time-frequency resource of UE3 is time-frequency resource 3. Since the second time window [n+t2, n
  • the second time-frequency resource in +t3] includes time-frequency resource 2 and time-frequency resource 3. Therefore, the first terminal device can divide time-frequency resource 2 and time-frequency resource 2 from the second time window [n+t2, n+t3].
  • the first time-frequency resource is determined from the time-frequency resources other than the frequency resource 3. That is, the first time-frequency resource is a time-frequency resource that is not reserved by other devices for sending the second data packet in the second time window [n+t2, n+t3].
  • the first terminal device since the first time-frequency resource is the time-frequency resource that is not reserved by the second terminal device for sending the second data packet in the second time window, the first terminal device sends the first data in the first time-frequency resource During the packet, it will not collide with the second time-frequency resource of the second data packet sent by the second terminal device, which improves the reliability of service transmission.
  • the first terminal device determines the first time-frequency resource from the second time window [n+t2, n+t3] according to the second resource indication information at time point n, which may include: The terminal device determines the time-frequency resource used for sending the first data packet from the second time-frequency resource, where the second time-frequency resource is located in the second time window [n+t2, n+t3].
  • the first terminal device can preempt the time-frequency resource reserved by the second terminal device for sending the second data packet. That is, when the time-frequency resources in the second time window [n+t2, n+t3] are insufficient, high-priority data packets can preempt the reserved time-frequency resources for sending low-priority data packets.
  • the small squares filled with diagonal lines and the small black squares in Figure 8 both represent the second time-frequency resource used to send the second data packet
  • the black solid squares in Figure 8 represent The second time-frequency resource of the second data packet sent by UE2 to UE2 is recorded as time-frequency resource 1. If the time-frequency resources other than the second time-frequency resource in the second time window [n+t2, n+t3] in Fig. 8 are smaller than the first time-frequency resource, that is, the second time window [n+t2, n+t3]
  • the unreserved time-frequency resource is less than the time-frequency resource for sending the first data packet.
  • the first terminal device determines the priority of the first data packet.
  • the first terminal device can send the second data of UE2 from the reservation.
  • the first time-frequency resource used to send the first data packet is determined from the second time-frequency resource of the packet, that is, the first terminal device (UE3 in FIG. 8) can use the second time window [n+t2,
  • the first time-frequency resource used to send the first data packet is determined in the time-frequency resource 1 in n+t3].
  • the embodiment of the present application can preempt the reserved time-frequency resources for sending low-priority data packets through high-priority data packets, thereby ensuring Reliability of high priority data packet transmission.
  • the above method may further include: the first terminal device sends a notification message to the second terminal device, the notification The message is used to indicate that some or all of the time-frequency resources in the second time-frequency resources in the second time window are used by the first terminal device to send the first data packet. That is, after the first terminal device preempts the second time-frequency resource reserved by the second terminal device for sending the second data packet, it sends a notification message to other second terminal devices other than the first terminal device to inform other terminal devices of the first Part or all of the second time-frequency resources in the second time window are used by the first terminal device to send the first data packet.
  • the second terminal device that is seized of the time-frequency resource will not send the second data packet on the second time-frequency resource reserved by it.
  • the second terminal device whose time-frequency resource is preempted may re-reserve the time-frequency resource for sending the second data packet of the second terminal device.
  • the first terminal device sends the first resource indication information within the first time window [n, n+t1].
  • the first resource indication information is used to indicate the first time-frequency resource.
  • the first time-frequency resource is the time-frequency resource for the first terminal device to send the first data packet.
  • step S403 it may further include: the first terminal device determines a third time-frequency resource from time-frequency resources other than the second time-frequency resource within the first time window [n, n+t1], and the first terminal device The three-time-frequency resource is used to send the first resource indication information, where the second time-frequency resource is located in the first time window [n, n+t1].
  • the first terminal device uses the time-frequency resource other than the second time-frequency resource within the first time window [n, n+t1]
  • the third time-frequency resource determined in the resource is a time-frequency resource that is not reserved by the second terminal device for sending the second data packet in the first time window [n, n+t1].
  • the first time window and the second time window are separated by the interval time window, it is impossible for the first terminal device to send the third time-frequency resource of the first resource indication information when sending data packets with other terminal devices. Frequency resources collide, which improves the reliability of resource indication information.
  • the time-frequency resource used by the first terminal device to send the first resource indication information may be one resource block, or multiple resource blocks, or a sub-channel composed of multiple resource blocks. This is not limited.
  • the time-frequency resource for which the first terminal device sends the first resource indication information is a subchannel, the number of resource blocks included in the subchannel can be configured.
  • the foregoing first terminal device determining the third time-frequency resource from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1] may include: A resource block is randomly selected from time-frequency resources other than the second time-frequency resource in a time window [n, n+t1], and determined as the third time-frequency resource; or, the first terminal device selects the resource block from the first time window Multiple resource blocks are randomly selected from time-frequency resources other than the second time-frequency resource in [n, n+t1], and determined as the third time-frequency resource.
  • the first terminal device may, according to the second resource indication information of UE1, UE2, and UE3, from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1] Determine the third time-frequency resource.
  • the second time-frequency resource of UE1 is time-frequency resource 1
  • the second time-frequency resource of UE2 is time-frequency resource 2
  • the second time-frequency resource of UE3 is time-frequency resource 3.
  • the second time-frequency resource in only includes time-frequency resource 1.
  • the first terminal device may randomly select a resource block from time-frequency resources other than time-frequency resource 1 in the first time window [n, n+t1] , Determine it as the third time-frequency resource. That is, the third time-frequency resource is a time-frequency resource that is not reserved by the second terminal device for sending the second data packet in the first time window.
  • the third time-frequency resource for sending the first resource indication information by the first terminal device is the time within the first time window [n, n+t1] that is not reserved by the second terminal device for sending the second data packet Therefore, it is possible to avoid collisions between the third time-frequency resource for sending the first resource indication information by the first terminal device and the time-frequency resource for sending the second data packet from the second terminal device, which improves the resource indication information and service transmission efficiency. reliability.
  • the first terminal device sending the first resource indication information in the first time window [n, n+t1] in the above step S403 may include: the third time frequency of the first terminal device in the first time window The resource sends the first resource indication information.
  • the first terminal device determines the third time-frequency resource from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1], it is possible that the first terminal device determines The third time-frequency resource of is the time-frequency resource reserved by the second terminal device for sending the second resource indication information, which may cause the first terminal device to send the time-frequency resource indicated by the first resource and the second terminal device to send the second resource
  • the time-frequency resources of the indication information collide.
  • the third time-frequency resource may include multiple time-frequency resource units, and the first terminal device may send the first Resource instructions.
  • determining the third time-frequency resource by the first terminal device may include the following steps a to c.
  • Step a The first terminal device obtains the first time-frequency resource pattern.
  • the first time-frequency resource pattern is used to indicate the relative positional relationship between the multiple time-frequency resource units in the time-frequency domain.
  • the time-frequency resource unit is a time-frequency resource unit that sends the first resource indication information, and the time-frequency resource unit is a time-frequency resource unit in a time-frequency resource other than the second time-frequency resource in the first time window.
  • the time-frequency resource unit may be one resource block, or may be multiple resource blocks, or may be a sub-channel composed of multiple resource blocks, which is not limited in the embodiment of the present application.
  • only the time-frequency resource unit for sending the first resource indication information is a resource block for description.
  • the above-mentioned time-frequency resource unit is a resource block in the time-frequency resources other than the second time-frequency resource in the first time window.
  • the above-mentioned first time-frequency resource pattern is used to indicate the relative positional relationship between multiple time-frequency resource units in the time-frequency domain, because the time-frequency resource unit is the time in the first time window other than the second time-frequency resource.
  • a resource block in the frequency resource therefore, the first time-frequency pattern represents the relative positional relationship between multiple resource blocks in the time-frequency resource other than the second time-frequency resource in the first time window.
  • the relative position relationship in the time-frequency domain in the embodiments of the present application refers to the effective offset position of the two resource blocks in the time-frequency domain, where, in the time domain or in the frequency domain, there is no second terminal between the two resource blocks.
  • the time-frequency resource reserved by the device for sending the second data packet is included in the effective offset, and the second time-frequency resource between two resource blocks is not included in the effective offset. That is, the above-mentioned effective offset does not consider the second time-frequency resource between resource blocks, so the second time-frequency resource is an invalid offset position and is not included in the offset.
  • the time domain difference between two time-frequency resource units is 1 resource block, it means that the effective offset position of the time domain of the two time-frequency resource units is 1.
  • the small square filled with diagonal lines in FIG. 9 represents the second time-frequency resource. Since in the time domain in Figure 9, the time-frequency resource between the resource block RB1 and the resource block RB2 is the second time-frequency resource, that is, the invalid offset position, which is not included in the offset, so the effective offset is not considered
  • the second time-frequency resource between RB1 and RB2 so the effective offset position of the time domain of RB1 and RB2 is 1 resource block.
  • the effective offset of RB3 and RB4 in the time domain is 1 resource block
  • the effective offset of RB3 and RB4 in the frequency domain is 1 resource block.
  • the effective offset positions of RB5 and RB6 in the time domain in FIG. 9 are one resource block
  • the effective offset positions of RB5 and RB6 in the frequency domain are two resource blocks.
  • the embodiment of the present application does not limit the minimum granularity of the time-frequency domain offset of multiple time-frequency resource units.
  • only one resource block with the minimum granularity is taken as an example for exemplification.
  • acquiring the first time-frequency resource pattern by the first terminal device may include: the first terminal device receives a time-frequency resource pattern set sent by a network device (for example, a base station device), and the time-frequency resource pattern set includes: One or more time-frequency resource patterns, and the first terminal device randomly selects a time-frequency resource pattern from the time-frequency resource pattern set as the first time-frequency resource pattern.
  • the time-frequency resource patterns randomly selected by different terminal devices may be different, which can reduce the time-frequency resource for the first terminal device to send the first resource indication information and the time-frequency resource for the second terminal device to send the second resource indication. The probability of a collision.
  • acquiring the first time-frequency resource pattern by the first terminal device may include: the first terminal device receives the first time-frequency resource pattern sent by a wireless access network device (for example, a base station device).
  • the radio access network equipment can configure different time-frequency resource patterns for each terminal device. Since different terminal devices have different time-frequency resource patterns, the probability of collisions between resource indication information sent by different devices Will be greatly reduced.
  • acquiring the first time-frequency resource pattern by the first terminal device may include: the first terminal device generates the first time-frequency resource pattern according to its own characteristics.
  • the first terminal may obtain the first time-frequency resource pattern in any of the above-mentioned manners, which is not limited in the embodiment of the present application.
  • Step b The first terminal device determines, according to the second resource indication information, that time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1] are candidate time-frequency resources.
  • the time-frequency resources other than the second time-frequency resource in the first time window are the time-frequency resources that are not reserved by the second terminal device for sending the second data packet in the first time window.
  • the first terminal device may determine, according to the second resource indication information of UE1, UE2, and UE3, that the time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1] are Candidate time-frequency resources.
  • the second time-frequency resource of UE1 is time-frequency resource 1
  • the second time-frequency resource of UE2 is time-frequency resource 2
  • the second time-frequency resource of UE3 is time-frequency resource 3. Since the second time-frequency resource included in the first time window
  • the frequency resource is time-frequency resource 1.
  • the first terminal device may determine that time-frequency resources other than time-frequency resource 1 in the first time window [n, n+t1] are candidate time-frequency resources, that is, the first time window [ Time-frequency resources in n, n+t1] that are not reserved by other devices for sending data packets are candidate time-frequency resources. That is, the blank squares in the first time window [n, n+t1] in FIG. 7 are all candidate time-frequency resources.
  • Step c The first terminal device determines a third time-frequency resource among the candidate time-frequency resources according to the first time-frequency resource pattern.
  • the third time-frequency resource includes multiple time-frequency resource units, and the multiple time-frequency resource units are time-frequency resources in the time-frequency resources other than the second time-frequency resource in the first time window, that is, the multiple time-frequency resources
  • the resource unit is a time-frequency resource unit that is not reserved by the second terminal device for sending the second data packet in the first time window.
  • the first terminal device determines multiple time-frequency resource units among the candidate time-frequency resources according to the first time-frequency resource pattern, which may include: the first terminal device randomly selects one time-frequency resource from the candidate time-frequency resources
  • the frequency resource unit is a first time-frequency resource unit; according to the first time-frequency resource pattern and the first time-frequency resource unit, the second time-frequency resource unit is determined from the candidate time-frequency resources.
  • the second time-frequency resource unit is a time-frequency resource among the candidate time-frequency resources, and the relative positional relationship in the time-frequency domain between the first time-frequency resource unit and the second time-frequency resource unit is the position relationship indicated by the first time-frequency resource pattern ,
  • the time domain of the second time-frequency resource unit is later on the time axis than the time domain of the first time-frequency resource unit, that is, the time domain of the second time-frequency resource unit is larger than the time domain of the first time-frequency resource unit.
  • the frequency domain of the foregoing second time-frequency resource unit may be higher than the frequency domain of the first time-frequency resource unit, or may be lower than the frequency domain of the first time-frequency resource unit, which is not limited in this embodiment of the application.
  • the relative position of the frequency domain in the first time-frequency resource pattern may be a positive number; when the frequency of the second time-frequency resource unit is When the domain is lower than the frequency domain of the first time-frequency resource unit, the relative position of the frequency domain in the first time-frequency resource pattern may be a negative number.
  • the relative position of the frequency domain in the first time-frequency resource pattern may be a negative number; the frequency of the second time-frequency resource unit When the domain is lower than the frequency domain of the first time-frequency resource unit, the relative position of the frequency domain in the first time-frequency resource pattern may be a positive number, which is not limited in this embodiment of the application.
  • the relative position of the frequency domain in the first time-frequency resource pattern is a positive number
  • the second time-frequency resource unit When the frequency domain of is lower than the frequency domain of the first time-frequency resource unit, the relative position of the frequency domain in the first time-frequency resource pattern may be a negative number for illustration.
  • the time-frequency resource unit as a resource block as an example. If the position relationship indicated by the first time-frequency resource pattern is a time domain difference of 1 resource block RB, and a frequency domain difference of +1 resource block RB. As shown in Figure 10, the small square filled with diagonal lines in Figure 10 represents the second time-frequency resource, that is, the time-frequency resource reserved by the second terminal device for sending the second data packet. The time-frequency resources in the time window other than the small squares filled with diagonal lines are candidate time-frequency resources. The first terminal device may randomly select a resource block from the candidate time-frequency resources as the first time-frequency resource unit. The time-frequency resource unit may be RB1 in FIG. 10.
  • the first terminal device determines, among the candidate time-frequency resources, a resource block that is 1 RB apart from RB1 in the time domain and +1 RB in the frequency domain, because the frequency domain in the first time-frequency resource pattern
  • the difference is a positive number of resource blocks, so the frequency domain of the second time-frequency resource unit is higher than the frequency domain of the first time-frequency resource unit, and the effective offset position of the frequency domain is 1 resource block, and the second time-frequency resource unit
  • the time domain of is greater than the time domain of the first time-frequency resource unit, and the effective offset position of the time domain is 1 resource block.
  • the second time-frequency resource unit is RB2.
  • multiple time-frequency resource units may also be three or more time-frequency resource units, which is not limited in the embodiment of the present application.
  • the multiple time-frequency resource units constitute two A time-frequency resource unit is taken as an example for description.
  • the first terminal device sends the first resource indication information on the third time-frequency resource in the first time window may include: the first terminal device sends the first resource indication to the multiple time-frequency resource units respectively information.
  • the first terminal device may send the first resource indication information respectively in the first time-frequency resource unit and the second time-frequency resource unit determined in step c. That is, the first terminal device may send multiple copies of the first resource indication information.
  • the first terminal device and the second terminal device have different first time-frequency resource patterns, that is, the relative positional relationship between the multiple time-frequency resources for which the first terminal device sends multiple copies of the first resource indication information, and The relative positional relationship between the multiple time-frequency resources for which the second terminal device sends multiple copies of the second resource indication information is different. Therefore, the first terminal device sends multiple copies of the first resource indication information for the multiple time-frequency resources and the second terminal The multiple time-frequency resources for sending multiple copies of the second resource indication information by the device will not completely overlap, which can reduce the time-frequency resource for the first terminal device to send the first resource indication information and the time-frequency for the second terminal device to send the second resource indication information. The probability of resource collision, thereby improving the reliability of resource indication information.
  • the first time-frequency resource unit and the second time-frequency resource unit are determined from the candidate time-frequency resources, and the candidate time-frequency resources are not reserved for sending data by the second terminal device in the first time window Therefore, the first time-frequency resource unit and the second time-frequency resource unit that the first terminal device sends multiple copies of the first resource indication information will not send the second data packet with the second terminal device. Collision occurs between time and frequency resources, which improves the reliability of resource indication information and service transmission.
  • S404 The first terminal device sends the first data packet in the first time-frequency resource.
  • the first time-frequency resource is the time-frequency resource indicated by the first resource indication information
  • the first terminal device transmits the first data packet on the first time-frequency resource reserved by the first terminal device.
  • the first terminal device learns the resource reservation in the first time window according to the second resource indication information, and is not reserved by the second terminal device for sending the second time window within the first time window.
  • the third time-frequency resource used to send the first resource indication information is determined. Therefore, the third time-frequency resource for sending the first resource indication information by the first terminal device and the second terminal device are avoided A collision occurs between the second time-frequency resources scheduled to send the second data packet.
  • the time when the first terminal device sends the first resource indication information does not collide with the time-frequency resource of the second data packet sent by other second terminal devices, which improves the reliability of the resource indication information and makes the transmission efficiency of the network higher.
  • An embodiment of the present application provides a communication method that obtains a first time window, a second time window, and the length of an interval time window between the first time window and the second time window through a first terminal device;
  • the second resource indication information from the second terminal device is detected before the time point n, and the second resource indication information is used to instruct the second terminal device to send the second time-frequency resource of the second data packet;
  • the first terminal device is at the time point n Determine the first time-frequency resource from the second time window [n+t2, n+t3] according to the second resource indication information;
  • the first terminal device sends the first resource indication in the first time window [n, n+t1] Information, the first resource indication information is used to indicate the first time-frequency resource;
  • the first terminal device sends the first data packet on the first time-frequency resource.
  • the first terminal device in this embodiment sends the first resource indication information in the first time window and sends the first data packet in the second time window, there is an interval time window between the first time window and the second time window , And the third time-frequency resource for sending the first resource indication information by the first terminal device is determined in the time-frequency resource other than the second time-frequency resource in the first time window. Therefore, the first terminal device sends the first The time-frequency resource of the resource indication information will not collide with the time-frequency resource of the second data packet sent by other second terminal devices, which improves the reliability of the resource indication information and makes the transmission efficiency of the network higher.
  • the first time-frequency resource is determined from time-frequency resources other than the second time-frequency resource in the second time window, thereby avoiding the time-frequency resource of the first terminal device sending the first data packet and the second terminal device. A collision occurs between the time-frequency resources for sending the second data packet, which improves the reliability of data transmission.
  • the communication device includes hardware structures and/or software modules corresponding to each function.
  • the communication device includes hardware structures and/or software modules corresponding to each function.
  • the embodiment of the present application may divide the communication device into functional modules according to the foregoing method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 11 shows a possible structural schematic diagram of a terminal device, and the communication device may be the first terminal device in the foregoing embodiment.
  • the terminal device 1100 includes a processing unit 1101 and a transceiver unit 1102.
  • the processing unit 1101 is used to control and manage the actions of the terminal device 1100.
  • the processing unit 1101 may be used to perform step S402 in FIG. 4, and/or other processes used in the technology described herein.
  • the transceiver unit 1102 is used to send and receive information, or to communicate with other network elements.
  • the transceiver unit 1102 can be used to perform steps S401 and S403-S404 in FIG. 4, and/or other processes used in the technology described herein.
  • all relevant content of each step involved in the above method embodiment can be cited in the function description of the corresponding function module, and will not be repeated here.
  • FIG. 12 shows a possible structural diagram of a network device.
  • the network device 1200 includes a processing unit 1201 and a transceiver unit 1202.
  • the processing unit 1201 is used to control and manage the actions of the network device 1200.
  • the processing unit 1201 may be used to determine first indication information, which is used to indicate the value of the first time window, the second time window, and the interval time window between the first time window and the second time window. length.
  • the transceiver unit 1202 is used to send and receive information, or to communicate with other network elements.
  • the transceiving unit 1202 may be used to send the first indication information to the first terminal device.
  • all relevant content of each step involved in the above method embodiment can be cited in the function description of the corresponding function module, and will not be repeated here.
  • FIG. 13 shows a schematic diagram of a possible structure of a terminal device, and the terminal device may be the first terminal device in the foregoing embodiment.
  • the terminal device 1300 includes a processor 1301 and a transceiver 1302.
  • the processor 1301 is used to control and manage the actions of the terminal device 1300.
  • the processor 1301 may be used to execute S402 in FIG. 4, and/or used to Other processes of the technique described in this article.
  • the transceiver 1302 is used to send and receive information, or to communicate with other network elements.
  • the transceiver 1302 is used to perform steps S401 and S403-S404 in FIG. 4, and/or other processes used in the technology described herein.
  • the aforementioned terminal device 1300 may further include a memory 1303, and the memory 1303 is configured to store program codes and data corresponding to the terminal device 1300 executing any of the communication methods provided above.
  • the memory 1303 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • the terminal device 1300 may be the terminal device 300 shown in FIG. 3, and the description of all related content of the components involved in FIG. 3 can be quoted from the functional description of the corresponding components in FIG. 13, which will not be repeated here.
  • FIG. 14 shows a possible structure diagram of a network device.
  • the network device 1400 includes a processor 1401 and a transceiver 1402, and the processor 1401 is configured to control and manage the actions of the network device 1400.
  • the processor 1401 may be used to determine first indication information, which is used to indicate the first time window, the second time window, and the interval time window between the first time window and the second time window. Length, and/or other processes used in the techniques described herein.
  • the transceiver 1402 is used to send and receive information, or to communicate with other network elements.
  • the transceiver 1402 may be used to send the first indication information to the first terminal device, and/or used in other processes of the technology described herein.
  • the aforementioned network device 1400 may further include a memory 1403, and the memory 1403 is configured to store the program code and data corresponding to any of the communication methods provided by the network device 1400.
  • the memory 1403 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • the steps of the method or algorithm described in conjunction with the disclosure of this application can be implemented in a hardware manner, or implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, which can be stored in random access memory (Random Access Memory, RAM), flash memory, erasable programmable read-only memory (Erasable Programmable ROM, EPROM), and electrically erasable Programming read-only memory (Electrically EPROM, EEPROM), register, hard disk, mobile hard disk, CD-ROM or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium.
  • the storage medium may also be an integral part of the processor.
  • the processor and the storage medium may be located in the ASIC.
  • the ASIC may be located in the core network interface device.
  • the processor and the storage medium may also exist as discrete components in the core network interface device.
  • Computer readable media include computer storage media and communication media, where communication media includes any media that facilitates the transfer of computer programs from one place to another.
  • the storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.

Landscapes

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

Abstract

Disclosed are a communication method and apparatus, relating to the technical field of communications, and used for solving the problem of the possible occurrence of a collision between a time-frequency resource on which a V2X terminal sends indication information and a time-frequency resource on which the V2X terminal sends service data, wherein same can be applied to an Internet of Vehicles, such as V2X, LTE-V and V2V. A first terminal apparatus detects second resource indication information from a second terminal apparatus before a time point n, wherein the second resource indication information is used for indicating a second time-frequency resource on which the second terminal apparatus sends a second data packet; the first terminal apparatus determines a first time-frequency resource from a second time window [n+t2, n+t3] according to the second resource indication information and at the time point n, wherein the first time-frequency resource is used for sending a first data packet; the first terminal apparatus sends first resource indication information within a first time window [n, n+t1], wherein the first resource indication information is used for indicating the first time-frequency resource, and t1 ≠ t2 and t2 > t1; and the first terminal apparatus sends the first data packet on the first time-frequency resource.

Description

一种通信方法和装置Communication method and device
本申请要求于2019年6月27日提交国家知识产权局、申请号为201910564407.X、发明名称为“一种通信方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on June 27, 2019, the application number is 201910564407.X, and the invention title is "a communication method and device", the entire content of which is incorporated herein by reference Applying.
技术领域Technical field
本申请实施例涉及通信技术领域,尤其涉及一种通信方法和装置。The embodiments of the present application relate to the field of communication technologies, and in particular, to a communication method and device.
背景技术Background technique
车与车(Vehicle to Vehicle,V2V)通信、车与行人(Vehicle to Pedestrian,V2P)通信,以及车与基建/网络(Vehicle to Infrastructure/Network,V2I/N)通信,可以统称为V2X(vehicle to everything,V2X),即车与任何事物相通信。V2X中引入了侧链路(SideLink,SL)技术,即终端和终端之间可以不通过基站转发而直接进行通信。Vehicle-to-Vehicle (V2V) communication, vehicle-to-pedestrian (V2P) communication, and vehicle-to-infrastructure/network (Vehicle to Infrastructure/Network, V2I/N) communication can be collectively referred to as V2X (vehicle to everything, V2X), that is, the car communicates with everything. In V2X, side link (SideLink, SL) technology is introduced, that is, the terminal and the terminal can communicate directly without being forwarded by the base station.
V2X侧链路通信包含两种通信模式:第一种通信模式是基于基站调度的V2X直接通信,V2X终端根据基站的调度信息在被调度的时频资源上发送V2X通信的控制消息和数据;第二种通信模式是V2X终端在V2X通信资源池包含的可用时频资源中,自行选择通信所用的时频资源,并在所选择的时频资源上发送控制消息和数据。第一种通信模式是由基站统一根据终端的缓存状态(Buffer status report,BSR)的上报情况,集中进行资源分配的。而第二种通信模式没有网络设备统一进行资源管理,V2X终端只能自行选择通信资源进行V2X通信,容易造成V2X终端选择的资源发生碰撞。V2X side link communication includes two communication modes: the first communication mode is V2X direct communication based on base station scheduling. V2X terminals send V2X communication control messages and data on the scheduled time-frequency resources according to the scheduling information of the base station; The second communication mode is that the V2X terminal independently selects the time-frequency resource used for communication among the available time-frequency resources included in the V2X communication resource pool, and sends control messages and data on the selected time-frequency resource. In the first communication mode, the base station centrally allocates resources according to the report of the buffer status (BSR) of the terminal. In the second communication mode, there is no network equipment for unified resource management. V2X terminals can only select communication resources for V2X communication by themselves, which may easily cause collisions of resources selected by V2X terminals.
在V2X终端自行选择资源的模式下,V2X终端可以提前发送指示信息,指示预约的时频资源,其他V2X终端可以监听指示信息,避免选择相同的资源,以此降低数据传输发生碰撞的概率。但是,采用发送预约指示信息的方式时,不同V2X终端占用的发送资源仍可能发生碰撞,影响指示信息和业务数据的传输效率。In the mode where the V2X terminal selects resources by itself, the V2X terminal can send indication information in advance to indicate the reserved time-frequency resources, and other V2X terminals can monitor the indication information to avoid selecting the same resource, thereby reducing the probability of data transmission collisions. However, when the method of sending reservation indication information is adopted, the transmission resources occupied by different V2X terminals may still collide, which affects the transmission efficiency of indication information and service data.
发明内容Summary of the invention
本申请实施例提供一种通信方法和装置,能够避免资源碰撞,提高指示信息和业务信息传输的可靠性,提高网络传输效率。The embodiments of the present application provide a communication method and device, which can avoid resource collisions, improve the reliability of transmission of indication information and service information, and improve network transmission efficiency.
为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the foregoing objectives, the following technical solutions are adopted in the embodiments of this application:
本申请实施例的第一方面,提供一种通信方法,该方法包括:第一终端装置在时间点n之前检测来自第二终端装置的第二资源指示信息,该第二资源指示信息用于指示上述第二终端装置发送第二数据包的第二时频资源;上述第一终端装置在所述时间点n根据所述第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源,该第一时频资源用于发送第一数据包;上述第一终端装置在上述第一时间窗[n,n+t1]内发送第一资源指示信息,该第一资源指示信息用于指示上述第一时频资源;其中,t1≠t2且t2>t1;上述第一终端装置在该第一时频资源发送上述第一数据包。基于本方案,由于第一终端装置在第一时间窗[n,n+t1]内发送第一资源指示信息,在第二时间窗[n+t2,n+t3]内发送第一数据包,而t1≠t2且t2>t1,因此第一时间窗和第二时间窗之间有一段时间间隔。即第一终端装置发送第一资源指示信息的时频资源与第一终端装置发送 第一数据包的时频资源之间间隔了一段时间,因此第一终端装置发送第一资源指示信息的时频资源,不会与其他第二终端装置发送数据包的时频资源发生碰撞,从而避免了第一终端装置发送第一资源指示信息的时频资源被其他终端装置发送数据包的时频资源撞掉,提高了资源指示信息的可靠性,使得网络的传输效率较高。可以理解的,第一时间窗[n,n+t1]的含义是指第一时间窗在时域上从时间点n开始到时间点n+t1结束。第二时间窗[n+t2,n+t3]的含义是指第二时间窗在时域上从时间点n+t2开始到时间点n+t3结束。In a first aspect of the embodiments of the present application, a communication method is provided. The method includes: a first terminal device detects second resource indication information from a second terminal device before time n, and the second resource indication information is used to indicate The second terminal device sends the second time-frequency resource of the second data packet; the first terminal device starts from the second time window [n+t2, n+t3] at the time point n according to the second resource indication information The first time-frequency resource is determined in, and the first time-frequency resource is used to send the first data packet; the first terminal device sends the first resource indication information in the first time window [n, n+t1], and the A resource indication information is used to indicate the first time-frequency resource; where t1≠t2 and t2>t1; the first terminal device sends the first data packet on the first time-frequency resource. Based on this solution, since the first terminal device sends the first resource indication information in the first time window [n, n+t1], and sends the first data packet in the second time window [n+t2, n+t3], And t1≠t2 and t2>t1, so there is a period of time between the first time window and the second time window. That is, there is a period of time between the time-frequency resource for sending the first resource indication information by the first terminal device and the time-frequency resource for sending the first data packet by the first terminal device. Therefore, the time-frequency resource for the first terminal device to send the first resource indication information The resource will not collide with the time-frequency resource of the data packet sent by the other second terminal device, thereby avoiding the time-frequency resource of the first terminal device sending the first resource indication information from being collided by the time-frequency resource of the data packet sent by the other terminal device , Improve the reliability of the resource indication information, making the network transmission efficiency higher. It is understandable that the meaning of the first time window [n, n+t1] means that the first time window starts from the time point n to the time point n+t1 in the time domain. The meaning of the second time window [n+t2, n+t3] means that the second time window starts from the time point n+t2 to the time point n+t3 in the time domain.
结合第一方面,在一种可能的实现方式中,上述第一时间窗[n,n+t1]与上述第二时间窗[n+t2,n+t3]之间的间隔时间窗[n+t1,n+t2],与第一时间窗[n,n+t1],以及第二时间窗[n+t2,n+t3]长度相等。基于本方案,第一时间窗、第二时间窗以及间隔时间窗的长度相等。可选的,实际应用中,第一时间窗、第二时间窗,以及间隔时间窗的长度也可以不完全相同。With reference to the first aspect, in a possible implementation manner, the interval time window between the first time window [n, n+t1] and the second time window [n+t2, n+t3] is [n+ t1,n+t2], which are equal in length to the first time window [n,n+t1] and the second time window [n+t2,n+t3]. Based on this solution, the length of the first time window, the second time window, and the interval time window are equal. Optionally, in practical applications, the length of the first time window, the second time window, and the interval time window may not be completely the same.
结合第一方面或第一方面的任一可能的实现方式,在另一种可能的实现方式中,上述方法还包括:上述第一终端装置从网络设备接收第一指示信息,该第一指示信息用于指示上述第一时间窗、上述第二时间窗、以及上述第一时间窗与上述第二时间窗之间的间隔时间窗的长度;或,上述第一时间窗、上述第二时间窗、以及上述第一时间窗与上述第二时间窗之的间隔时间窗的长度为预定义的。基于本方案,第一时间窗、第二时间窗以及间隔时间窗的长度可以从网络设备获取,也可以为预定义的。With reference to the first aspect or any possible implementation manner of the first aspect, in another possible implementation manner, the above method further includes: the first terminal device receives first indication information from a network device, the first indication information It is used to indicate the length of the first time window, the second time window, and the interval time window between the first time window and the second time window; or, the first time window, the second time window, And the length of the interval time window between the first time window and the second time window is predefined. Based on this solution, the length of the first time window, the second time window, and the interval time window may be obtained from the network device, or may be predefined.
结合第一方面或第一方面的任一可能的实现方式,在另一种可能的实现方式中,上述第二时频资源位于上述第一时间窗[n,n+t1]内;上述方法还包括:上述第一终端装置从该第一时间窗[n,n+t1]内除第二时频资源以外的时频资源中确定第三时频资源,该第三时频资源用于发送上述第一资源指示信息。基于本方案,通过在第一时间窗[n,n+t1]内未被第二终端装置预约用于发送第二数据包的时频资源中,确定用于发送第一资源指示信息的第三时频资源,能够避免第一终端装置发送第一资源指示信息的第三时频资源与第二终端装置预约发送第二数据包的时频资源之间发生碰撞。With reference to the first aspect or any possible implementation manner of the first aspect, in another possible implementation manner, the second time-frequency resource is located within the first time window [n, n+t1]; the above method also The method includes: the first terminal device determines a third time-frequency resource from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1], and the third time-frequency resource is used to transmit the The first resource indication information. Based on this solution, by determining the third time-frequency resource for sending the first resource indication information from the time-frequency resources that are not reserved by the second terminal device for sending the second data packet within the first time window [n, n+t1] The time-frequency resource can avoid collisions between the third time-frequency resource used by the first terminal device to send the first resource indication information and the time-frequency resource reserved for sending the second data packet by the second terminal device.
结合第一方面或第一方面的任一可能的实现方式,在另一种可能的实现方式中,上述第二时频资源位于上述第二时间窗[n+t2,n+t3]内;上述第一终端装置在上述时间点n根据上述第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源,包括:该第一终端装置从第二时间窗[n+t2,n+t3]内除第二时频资源以外的时频资源中确定上述第一时频资源。基于本方案,由于用于发送第一数据包的第一时频资源为第二时间窗[n+t2,n+t3]内未被第二终端装置预约用于发送第二数据包的时频资源,因此可以避免第一终端装置发送第一数据包的第一时频资源和第二终端装置发送第二数据包的第二时频资源之间发生碰撞,提高业务传输的可靠性。With reference to the first aspect or any possible implementation manner of the first aspect, in another possible implementation manner, the second time-frequency resource is located in the second time window [n+t2, n+t3]; The first terminal device determines the first time-frequency resource from the second time window [n+t2, n+t3] at the aforementioned time point n according to the aforementioned second resource indication information, including: the first terminal device determines the first time-frequency resource from the second time window [n+t2, n+t3] The first time-frequency resource is determined from time-frequency resources other than the second time-frequency resource in [n+t2, n+t3]. Based on this solution, since the first time-frequency resource used to send the first data packet is the time-frequency resource not reserved by the second terminal device for sending the second data packet in the second time window [n+t2, n+t3] Therefore, collisions between the first time-frequency resource for sending the first data packet by the first terminal device and the second time-frequency resource for sending the second data packet by the second terminal device can be avoided, thereby improving the reliability of service transmission.
结合第一方面或第一方面的任一可能的实现方式,在另一种可能的实现方式中,上述第二时频资源位于上述第二时间窗[n+t2,n+t3]内,上述第二时间窗[n+t2,n+t3]内除上述第二时频资源以外的时频资源小于上述第一时频资源,且上述第一数据包的优先级高于上述第二数据包的优先级,上述第一终端装置在上述时间点n根据上述第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源,包括:上述第一终端装置从上述第二时频资源中确定用于发送上述第一数据包的时频资源。基于本方案, 能够在第二时间窗内的时频资源不足时,通过高优先级的数据包抢占已被预约的用于发送低优先级的数据包的时频资源,从而确保高优先级的数据包传输的可靠性。With reference to the first aspect or any possible implementation of the first aspect, in another possible implementation, the second time-frequency resource is located in the second time window [n+t2, n+t3], and the In the second time window [n+t2, n+t3], the time-frequency resources other than the second time-frequency resource are smaller than the first time-frequency resource, and the priority of the first data packet is higher than the second data packet The first terminal device determines the first time-frequency resource from the second time window [n+t2, n+t3] at the time point n according to the second resource indication information, including: the first terminal device The time-frequency resource used to send the first data packet is determined from the second time-frequency resource. Based on this solution, when the time-frequency resources in the second time window are insufficient, high-priority data packets can preempt the reserved time-frequency resources for sending low-priority data packets, thereby ensuring high-priority data packets. Reliability of data packet transmission.
结合第一方面或第一方面的任一可能的实现方式,在另一种可能的实现方式中,上述方法还包括:上述第一终端装置向上述第二终端装置发送通知消息,该通知消息用于指示上述第二时间窗内的上述第二时频资源中的部分或全部时频资源用于上述第一终端装置发送上述第一数据包。基于本方案,通过告知其他终端装置第二时间窗内的第二时频资源中的部分或全部时频资源用于第一终端装置发送第一数据包,从而使得其他终端装置获知资源抢占情况。With reference to the first aspect or any possible implementation manner of the first aspect, in another possible implementation manner, the above method further includes: the first terminal device sends a notification message to the second terminal device, the notification message being Instructing that part or all of the time-frequency resources in the second time-frequency resources in the second time window are used for the first terminal device to send the first data packet. Based on this solution, other terminal devices are notified that part or all of the second time-frequency resources in the second time window are used by the first terminal device to send the first data packet, so that other terminal devices can learn about resource preemption.
结合第一方面或第一方面的任一可能的实现方式,在另一种可能的实现方式中,上述第一终端装置在上述第一时间窗内发送第一资源指示信息,包括:上述第一终端装置根据第一时频资源图案,在上述第一时间窗[n,n+t1]内的多个时频资源单元,分别发送上述第一资源指示信息;其中,该多个时频资源单元为所述第一时间窗[n,n+t1]内除上述第二时频资源以外的时频资源中的时频资源单元,该第一时频资源图案用于指示该多个时频资源单元之间的时频域相对位置关系。基于本方案,在第一终端装置和第二终端装置的第一时频资源图案不同时,第一终端装置发送多份第一资源指示信息的时频资源与第二终端装置发送多份第二资源指示信息的多个时频资源不会完全重合,能够降低第一终端装置发送第一资源指示信息的时频资源与第二终端装置发送第二资源指示信息的时频资源发生碰撞的概率,从而进一步提高了资源指示信息的可靠性。With reference to the first aspect or any possible implementation manner of the first aspect, in another possible implementation manner, the first terminal device sending the first resource indication information within the first time window includes: the first According to the first time-frequency resource pattern, the terminal device respectively sends the first resource indication information in the multiple time-frequency resource units within the first time window [n, n+t1]; wherein, the multiple time-frequency resource units Is a time-frequency resource unit in a time-frequency resource other than the second time-frequency resource in the first time window [n, n+t1], and the first time-frequency resource pattern is used to indicate the multiple time-frequency resources The relative positional relationship between the units in the time and frequency domain. Based on this solution, when the first terminal device and the second terminal device have different first time-frequency resource patterns, the first terminal device sends multiple copies of the time-frequency resource of the first resource indication information and the second terminal device sends multiple copies of the second The multiple time-frequency resources of the resource indication information will not completely overlap, which can reduce the probability of collision between the time-frequency resource for sending the first resource indication information by the first terminal device and the time-frequency resource for sending the second resource indication information by the second terminal device, This further improves the reliability of the resource indication information.
结合第一方面或第一方面的任一可能的实现方式,在另一种可能的实现方式中,上述第一资源指示信息和上述第二资源指示信息承载在广播消息中。基于本方案,第一终端装置可以通过侦听第二终端装置发送的广播消息获取第二资源指示信息,第一终端装置也可以向第二终端装置发送第一资源指示信息,以使得第二终端装置获取第一终端装置的第一资源指示信息。With reference to the first aspect or any possible implementation manner of the first aspect, in another possible implementation manner, the above-mentioned first resource indication information and the above-mentioned second resource indication information are carried in a broadcast message. Based on this solution, the first terminal device can obtain the second resource indication information by listening to the broadcast message sent by the second terminal device, and the first terminal device can also send the first resource indication information to the second terminal device, so that the second terminal device The device acquires the first resource indication information of the first terminal device.
本申请实施例的第二方面,提供一种通信方法,该方法包括:网络设备确定第一指示信息,该第一指示信息用于指示第一时间窗、第二时间窗、以及该第一时间窗与该第二时间窗之间的间隔时间窗的长度,其中,上述第一时间窗用于第一终端装置发送资源指示信息,上述第二时间窗用于上述第一终端装置发送数据包;该网络设备向上述第一终端装置发送上述第一指示信息。基于本方案,网络设备可以确定第一时间窗、第二时间窗、以及该第一时间窗与该第二时间窗之间的间隔时间窗的长度,并将其发送给第一终端装置。由于第一终端装置在第一时间窗内发送第一资源指示信息,第一终端装置在第二时间窗内发送第一数据包,而第一时间窗和第二时间窗之间间隔了间隔时间窗,因此使得第一终端装置发送资源指示信息的时频资源,不会与其他第二终端装置发送数据包的时频资源发生碰撞,从而避免了第一终端装置发送资源指示信息的时频资源被其他终端装置发送数据包的时频资源撞掉,提高了资源指示信息的可靠性,使得网络的传输效率较高。A second aspect of the embodiments of the present application provides a communication method, the method includes: a network device determines first indication information, the first indication information is used to indicate a first time window, a second time window, and the first time The length of the interval time window between the window and the second time window, wherein the first time window is used for the first terminal device to send resource indication information, and the second time window is used for the first terminal device to send data packets; The network device sends the first indication information to the first terminal device. Based on this solution, the network device can determine the length of the first time window, the second time window, and the interval time window between the first time window and the second time window, and send them to the first terminal device. Since the first terminal device sends the first resource indication information in the first time window, the first terminal device sends the first data packet in the second time window, and there is an interval time between the first time window and the second time window Window, so that the time-frequency resource of the first terminal device sending resource indication information will not collide with the time-frequency resource of other second terminal devices sending data packets, thereby avoiding the time-frequency resource of the first terminal device sending resource indication information The time-frequency resources of the data packets sent by other terminal devices are collided, which improves the reliability of the resource indication information and makes the transmission efficiency of the network higher.
结合第二方面,在一种可能的实现方式中,上述第一时间窗、上述第二时间窗和上述间隔时间窗的长度相等。基于本方案,第一时间窗、第二时间窗以及间隔时间窗的长度相等。可选的,实际应用中,第一时间窗、第二时间窗,以及间隔时间窗的长 度也可以不完全相同。With reference to the second aspect, in a possible implementation manner, the lengths of the first time window, the second time window, and the interval time window are equal. Based on this solution, the length of the first time window, the second time window, and the interval time window are equal. Optionally, in practical applications, the lengths of the first time window, the second time window, and the interval time window may not be completely the same.
本申请实施例第三方面,提供一种装置,该装置包括:处理单元和收发;该收发单元,用于在时间点n之前检测来自第二终端装置的第二资源指示信息,该第二资源指示信息用于指示上述第二终端装置发送第二数据包的第二时频资源;上述处理单元,用于在上述时间点n根据上述第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源,该第一时频资源用于发送第一数据包;上述收发单元,还用于在该第一时间窗[n,n+t1]内发送第一资源指示信息,该第一资源指示信息用于指示上述第一时频资源;其中,t1≠t2且t2>t1;上述收发单元,还用于在该第一时频资源发送上述第一数据包。In a third aspect of the embodiments of the present application, a device is provided, the device includes: a processing unit and a transceiving unit; the transceiving unit is configured to detect second resource indication information from a second terminal device before a time point n, the second resource The indication information is used to instruct the second terminal device to send the second time-frequency resource of the second data packet; the processing unit is used to start from the second time window [n+t2, according to the second resource indication information at the time point n, The first time-frequency resource is determined in n+t3], and the first time-frequency resource is used to send the first data packet; the above transceiver unit is also used to send the first time-frequency resource within the first time window [n, n+t1] Resource indication information, where the first resource indication information is used to indicate the first time-frequency resource; where t1≠t2 and t2>t1; the transceiver unit is also used to send the first data packet on the first time-frequency resource .
结合第三方面,在一种可能的实现方式中,上述第一时间窗[n,n+t1]与上述第二时间窗[n+t2,n+t3]之间的间隔时间窗[n+t1,n+t2],与第一时间窗[n,n+t1],以及第二时间窗[n+t2,n+t3]长度相等。With reference to the third aspect, in a possible implementation manner, the interval time window between the first time window [n, n+t1] and the second time window [n+t2, n+t3] is [n+ t1,n+t2], which are equal in length to the first time window [n,n+t1] and the second time window [n+t2,n+t3].
结合第三方面或第三方面的任一可能的实现方式,在另一种可能的实现方式中,上述收发单元,还用于从网络设备接收第一指示信息,该第一指示信息用于指示上述第一时间窗、上述第二时间窗、以及上述第一时间窗与上述第二时间窗之间的间隔时间窗的长度;或,上述第一时间窗、上述第二时间窗、以及上述第一时间窗与上述第二时间窗之间的间隔时间窗的长度为预定义的。With reference to the third aspect or any possible implementation manner of the third aspect, in another possible implementation manner, the foregoing transceiver unit is further configured to receive first indication information from a network device, where the first indication information is used to indicate The length of the first time window, the second time window, and the interval time window between the first time window and the second time window; or, the first time window, the second time window, and the first time window The length of the interval time window between a time window and the foregoing second time window is predefined.
结合第三方面或第三方面的任一可能的实现方式,在另一种可能的实现方式中,上述第二时频资源位于所述第一时间窗[n,n+t1]内;上述处理单元,还用于从上述第一时间窗[n,n+t1]内除上述第二时频资源以外的时频资源中确定第三时频资源,该第三时频资源用于发送上述第一资源指示信息。With reference to the third aspect or any possible implementation manner of the third aspect, in another possible implementation manner, the foregoing second time-frequency resource is located within the first time window [n, n+t1]; the foregoing processing Unit, further configured to determine a third time-frequency resource from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1], and the third time-frequency resource is used to send the first time-frequency resource One resource indication information.
结合第三方面或第三方面的任一可能的实现方式,在另一种可能的实现方式中,上述第二时频资源位于上述第二时间窗[n+t2,n+t3]内;上述处理单元,具体用于从上述第二时间窗[n+t2,n+t3]内除上述第二时频资源以外的时频资源中确定上述第一时频资源。With reference to the third aspect or any possible implementation manner of the third aspect, in another possible implementation manner, the second time-frequency resource is located in the second time window [n+t2, n+t3]; The processing unit is specifically configured to determine the first time-frequency resource from time-frequency resources other than the second time-frequency resource in the second time window [n+t2, n+t3].
结合第三方面或第三方面的任一可能的实现方式,在另一种可能的实现方式中,上述第二时频资源位于上述第二时间窗[n+t2,n+t3]内,上述第二时间窗[n+t2,n+t3]内除上述第二时频资源以外的时频资源小于上述第一时频资源,且上述第一数据包的优先级高于上述第二数据包的优先级;上述处理单元,具体用于从上述第二时频资源中确定用于发送上述第一数据包的时频资源。With reference to the third aspect or any possible implementation manner of the third aspect, in another possible implementation manner, the second time-frequency resource is located within the second time window [n+t2, n+t3], and the In the second time window [n+t2, n+t3], the time-frequency resources other than the second time-frequency resource are smaller than the first time-frequency resource, and the priority of the first data packet is higher than the second data packet The priority; the processing unit is specifically configured to determine the time-frequency resource used to send the first data packet from the second time-frequency resource.
结合第三方面或第三方面的任一可能的实现方式,在另一种可能的实现方式中,上述收发单元,还用于向上述第二终端装置发送通知消息,该通知消息用于指示上述第二时频资源中的部分或全部时频资源用于上述收发单元发送上述第一数据包。With reference to the third aspect or any possible implementation manner of the third aspect, in another possible implementation manner, the foregoing transceiver unit is further configured to send a notification message to the foregoing second terminal device, and the notification message is used to instruct the foregoing Part or all of the time-frequency resources in the second time-frequency resources are used by the transceiver unit to send the first data packet.
结合第三方面或第三方面的任一可能的实现方式,在另一种可能的实现方式中,上述收发单元,具体用于根据第一时频资源图案,在上述第一时间窗[n,n+t1]内的多个时频资源单元,分别发送上述第一资源指示信息;其中,该多个时频资源单元为上述第一时间窗[n,n+t1]内除上述第二时频资源以外的时频资源中的时频资源单元,该第一时频资源图案用于表示上述多个时频资源单元之间的时频域相对位置关系。With reference to the third aspect or any possible implementation manner of the third aspect, in another possible implementation manner, the above-mentioned transceiver unit is specifically configured to operate in the above-mentioned first time window according to the first time-frequency resource pattern [n, The multiple time-frequency resource units within n+t1] respectively send the first resource indication information; wherein, the multiple time-frequency resource units are the first time window [n, n+t1] divided by the second time A time-frequency resource unit in a time-frequency resource other than the frequency resource, and the first time-frequency resource pattern is used to indicate the relative positional relationship between the multiple time-frequency resource units in the time-frequency domain.
结合第三方面或第三方面的任一可能的实现方式,在另一种可能的实现方式中, 上述第一资源指示信息和上述第二资源指示信息承载在广播消息中。With reference to the third aspect or any possible implementation manner of the third aspect, in another possible implementation manner, the above-mentioned first resource indication information and the above-mentioned second resource indication information are carried in a broadcast message.
本申请实施例第四方面,提供一种网络设备,该网络设备包括:处理单元和收发单元;该处理单元,用于确定第一指示信息,该第一指示信息用于指示第一时间窗、第二时间窗、以及该第一时间窗与该第二时间窗之间的间隔时间窗的长度,其中,该第一时间窗用于第一终端装置发送资源指示信息,该第二时间窗用于所述第一终端装置发送数据包;上述收发单元,用于向上述第一终端装置发送该第一指示信息。In a fourth aspect of the embodiments of the present application, a network device is provided. The network device includes: a processing unit and a transceiver unit; the processing unit is configured to determine first indication information, and the first indication information is used to indicate a first time window, The second time window and the length of the interval time window between the first time window and the second time window, wherein the first time window is used for the first terminal device to send resource indication information, and the second time window is used The data packet is sent at the first terminal device; the transceiver unit is configured to send the first instruction information to the first terminal device.
结合第四方面,在一种可能的实现方式中,上述第一时间窗、上述第二时间窗和上述间隔时间窗的长度相等。With reference to the fourth aspect, in a possible implementation manner, the lengths of the first time window, the second time window, and the interval time window are equal.
上述第三方面以及第三方面的各种实现方式的效果描述可以参考第一方面和第一方面的各种实现方式的相应效果的描述,上述第四方面以及第四方面的各种实现方式的效果描述可以参考第二方面和第二方面的各种实现方式的相应效果的描述,在此不再赘述。For the description of the effects of the foregoing third aspect and various implementation manners of the third aspect, reference may be made to the description of the corresponding effects of the first aspect and the various implementation manners of the first aspect. The foregoing fourth aspect and the various implementation manners of the fourth aspect For the effect description, reference may be made to the second aspect and the description of the corresponding effects of the various implementation manners of the second aspect, which are not repeated here.
本申请实施例的第五方面,提供一种计算机存储介质,所述计算机存储介质中存储有计算机程序代码,当所述计算机程序代码在处理器上运行时,使得计算机执行上述任一方面所述的通信方法。In a fifth aspect of the embodiments of the present application, a computer storage medium is provided. The computer storage medium stores computer program code. When the computer program code runs on a processor, the computer executes any of the foregoing Communication method.
本申请实施例的第六方面,提供了一种计算机程序产品,该程序产品储存有上述处理器执行的计算机软件指令,该计算机软件指令包含用于执行上述方面所述方案的程序。The sixth aspect of the embodiments of the present application provides a computer program product that stores computer software instructions executed by the above-mentioned processor, and the computer software instructions include a program for executing the solution described in the above-mentioned aspect.
本申请实施例的第七方面,提供了一种通信装置,该装置包括输入输出接口和处理器,输入输出接口,用于与其他网元通信;处理器,用于执行计算机程序指令,以实现上述任一方面所述的通信方法。可选的,该通信装置还可以包括存储器,该存储器用于存储计算机程序指令。In a seventh aspect of the embodiments of the present application, a communication device is provided. The device includes an input and output interface and a processor. The input and output interface is used to communicate with other network elements; and the processor is used to execute computer program instructions to implement The communication method described in any of the above aspects. Optionally, the communication device may further include a memory for storing computer program instructions.
本申请实施例的第八方面,提供了一种通信装置,该装置以芯片的产品形态存在,该装置的结构中包括处理器,还可以包括存储器,该存储器用于与处理器耦合,保存该装置必要的程序指令和数据,该处理器用于执行存储器中存储的程序指令,使得该装置执行上述任一方面所述的方法。An eighth aspect of the embodiments of the present application provides a communication device that exists in the form of a chip product. The structure of the device includes a processor and may also include a memory. The memory is used to couple with the processor and store the Program instructions and data necessary for the device, and the processor is used to execute the program instructions stored in the memory, so that the device executes the method described in any of the foregoing aspects.
本申请实施例的第九方面,提供了一种通信装置,该装置以芯片的产品形态存在,该装置的结构中包括处理器和接口电路,该处理器用于通过接收电路与其它装置通信,使得该装置执行上述任一方面所述的方法。The ninth aspect of the embodiments of the present application provides a communication device, which exists in the form of a chip product. The structure of the device includes a processor and an interface circuit. The processor is used to communicate with other devices through a receiving circuit so that The device executes the method described in any of the above aspects.
附图说明Description of the drawings
图1为本申请实施例提供的一种V2X通信场景的示意图;FIG. 1 is a schematic diagram of a V2X communication scenario provided by an embodiment of this application;
图2为现有技术提供的一种资源预约方式的应用场景示意图;Figure 2 is a schematic diagram of an application scenario of a resource reservation method provided in the prior art;
图3为本申请实施例提供的一种终端装置的结构示意图;FIG. 3 is a schematic structural diagram of a terminal device provided by an embodiment of this application;
图4为本申请实施例提供的一种通信方法的流程示意图;4 is a schematic flowchart of a communication method provided by an embodiment of this application;
图5为本申请实施例提供的一种通信方法的应用场景示意图一;FIG. 5 is a schematic diagram 1 of an application scenario of a communication method provided by an embodiment of this application;
图6为本申请实施例提供的一种通信方法的应用场景示意图二;6 is a schematic diagram 2 of an application scenario of a communication method provided by an embodiment of this application;
图7为本申请实施例提供的一种通信方法的应用场景示意图三;FIG. 7 is a third schematic diagram of an application scenario of a communication method provided by an embodiment of this application;
图8为本申请实施例提供的一种通信方法的应用场景示意图四;FIG. 8 is a fourth schematic diagram of an application scenario of a communication method provided by an embodiment of this application;
图9为本申请实施例提供的一种通信方法的应用场景示意图五;FIG. 9 is a schematic diagram 5 of an application scenario of a communication method provided by an embodiment of this application;
图10为本申请实施例提供的一种通信方法的应用场景示意图六;FIG. 10 is a sixth schematic diagram of an application scenario of a communication method provided by an embodiment of this application;
图11为本申请实施例提供的一种终端装置的组成示意图;FIG. 11 is a schematic diagram of the composition of a terminal device provided by an embodiment of the application;
图12为本申请实施例提供的一种网络设备的组成示意图;FIG. 12 is a schematic diagram of the composition of a network device provided by an embodiment of this application;
图13为本申请实施例提供的另一种终端装置的组成示意图;FIG. 13 is a schematic diagram of the composition of another terminal device provided by an embodiment of this application;
图14为本申请实施例提供的另一种网络设备的组成示意图。FIG. 14 is a schematic diagram of the composition of another network device provided by an embodiment of this application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。在本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或,a和b和c,其中a、b和c可以是单个,也可以是多个。另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。比如,本申请实施例中的第一设备中的“第一”和第二设备中的“第二”仅用于区分不同的设备。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In this application, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or" describes the association relationship of the associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, both A and B exist, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the associated objects are in an "or" relationship. "The following at least one item (a)" or similar expressions refers to any combination of these items, including any combination of a single item (a) or plural items (a). For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or, a and b and c, where a, b and c c can be single or multiple. In addition, in order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items that have substantially the same function and effect. Those skilled in the art can understand that words such as "first" and "second" do not limit the number and execution order. For example, the "first" in the first device and the "second" in the second device in the embodiment of the present application are only used to distinguish different devices.
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in this application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本申请实施例提供一种通信方法,该通信方法可以应用于图1所示的V2X通信场景中。如图1所示,第一终端装置和第二终端装置之间通过侧链路(Sidelink,SL)通信,V2X网络中除了辅链路外,还有上行链路(uplink)以及下行链路(downlink)。The embodiment of the present application provides a communication method, which can be applied to the V2X communication scenario shown in FIG. 1. As shown in Figure 1, the first terminal device and the second terminal device communicate via sidelink (Sidelink, SL). In addition to the secondary link, the V2X network also has an uplink (uplink) and a downlink ( downlink).
示例性的,V2X通信包括车与车通信(Vehicle-to-Vehicle,V2V)、车与路侧基础设施通信(Vehicle-to-Infrastructure,V2I)、车与人通信(Vehicle to People,V2P),以及车与应用服务器通信(Vehicle-to-Network,V2N)等。图1中仅以第一终端装置和第二终端装置均为车的V2V通信为例进行示意,本申请实施例对于V2X的具体通信场景并不进行限定。例如,第一终端装置和第二终端装置可以是车载设备与车载设备之间相互通信,也可以是路侧单元(Road Side Unit,RSU)与车载设备和/或网络设备(如基站设备)之间进行通信,还可以是网络设备(如基站设备)与车载设备和/或RSU之间进行通信等,该网络设备(可以为LTE基站设备或NR基站设备或后续演进系统中的基站。可以理解的,本申请实施例对于第一终端装置和第二终端装置的具体形式并不进行限定,在此仅是示例性说明。示例性的,图1中的无线接入网设备可以是基站,或者是提供无线接入的网络中的设备。Exemplarily, V2X communication includes vehicle-to-vehicle communication (Vehicle-to-Vehicle, V2V), vehicle-to-infrastructure communication (Vehicle-to-Infrastructure, V2I), vehicle-to-people communication (Vehicle to People, V2P), And the communication between the vehicle and the application server (Vehicle-to-Network, V2N), etc. FIG. 1 only takes V2V communication in which both the first terminal device and the second terminal device are vehicles as an example for illustration, and the embodiment of the present application does not limit the specific communication scenario of V2X. For example, the first terminal device and the second terminal device may communicate with each other between the vehicle-mounted equipment and the vehicle-mounted equipment, or may be the communication between the road side unit (RSU) and the vehicle-mounted equipment and/or network equipment (such as base station equipment). It can also be communication between network equipment (such as base station equipment) and vehicle-mounted equipment and/or RSU. The network equipment (which can be LTE base station equipment or NR base station equipment or a base station in a subsequent evolution system. It can be understood that Yes, the embodiments of the present application do not limit the specific forms of the first terminal device and the second terminal device, which are only exemplary descriptions. Illustratively, the radio access network device in FIG. 1 may be a base station, or It is a device in a network that provides wireless access.
示例性的,在V2X网络中,终端获取V2X SL资源的方式有两种,一种是无线接入网设备调度方式,在该方式中,V2X终端根据无线接入网设备的调度信息在被调度的时频资源上发送V2X通信的控制消息和数据,这种获取资源的模式在长期演进 (Long Term Evolution,LTE)V2X中称为Mode 3(模式3),在NR V2X中称为Mode 1(模式1)。另一种是V2X终端自主选择资源方式,在该方式中V2X终端在V2X通信资源池包含的可用时频资源中自行选择通信所用的时频资源,并在所选择的资源上发送控制消息和数据。这种获取资源的模式在LTE V2X中称为Mode4(模式4),在NR V2X中称为Mode2(模式2)。Exemplarily, in a V2X network, there are two ways for a terminal to obtain V2X SL resources. One is the wireless access network equipment scheduling method. In this way, the V2X terminal is scheduled according to the scheduling information of the wireless access network equipment. The control messages and data of V2X communication are sent on the time-frequency resources of NR. This resource acquisition mode is called Mode 3 (Mode 3) in Long Term Evolution (LTE) V2X, and Mode 1( Mode 1). The other is the way that the V2X terminal independently selects resources. In this way, the V2X terminal selects the time-frequency resources used for communication from the available time-frequency resources contained in the V2X communication resource pool, and sends control messages and data on the selected resources. . This resource acquisition mode is called Mode4 (Mode 4) in LTE V2X, and Mode 2 (Mode 2) in NR V2X.
上述终端自选模式(Mode2)主要应用于没有网络覆盖情况下的V2X通信,由于没有网络设备的统一资源管理,V2X终端只能自己选择通信资源进行V2X通信,将导致不同终端选择的通信资源可能发生碰撞。现有的一种方法是在V2X终端自行选择资源的模式下,V2X终端可以提前发送指示信息,指示预约的时频资源,其他V2X终端可以监听指示信息,避免选择相同的资源,以此降低数据传输发生碰撞的概率。但是,采用发送预约指示信息的方式时,不同V2X终端占用的发送资源仍可能发生碰撞,影响指示信息和业务数据的传输效率,影响指示信息和业务数据的传输效率。The above-mentioned terminal self-selection mode (Mode2) is mainly applied to V2X communication without network coverage. Because there is no unified resource management of network equipment, V2X terminals can only select communication resources by themselves for V2X communication, which will cause the communication resources selected by different terminals to occur. collision. One of the existing methods is that in the mode where the V2X terminal selects resources by itself, the V2X terminal can send instructions in advance to indicate the reserved time-frequency resources, and other V2X terminals can monitor the instructions to avoid selecting the same resource, thereby reducing data The probability of a transmission collision. However, when the reservation indication information is sent, the transmission resources occupied by different V2X terminals may still collide, which affects the transmission efficiency of indication information and service data, and affects the transmission efficiency of indication information and service data.
本申请实施例中的终端可以指5G网络或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)中的用户设备(User Equipment,UE)、接入终端、终端单元、终端站、移动站、移动台、远方站、远程终端、移动设备、无线通信设备、终端代理等。接入终端可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备或可穿戴设备,虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。终端可以是车辆,也可以是安装在车辆上用于辅助车辆行驶的车载通信装置或者车载终端,或者车载通信装置或车载终端内的芯片;还可以是内置于车辆的车载模块、车载模组、车载部件、车载芯片或者车载单元中的一个或多个部件或者单元。其中,该车载终端可以是用于实现无线通信功能的设备,例如终端或者可用于终端中的芯片等。该车载终端可以是移动的,也可以是固定的。本申请实施例中的网络设备可以是用于与终端设备通信的设备,该网络设备可以是全球移动通信(global system for mobile communications,GSM)系统或码分多址(code division multiple access,CDMA)中的基站(base transceiver station,BTS),也可以是宽带码分多址(wideband code division multiple access,WCDMA)系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(evolved NodeB,eNB或eNodeB),还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器,或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的网络设备或者未来演进的PLMN网络中的网络设备等,本申请实施例并不限定。The terminal in the embodiment of this application may refer to the user equipment (UE), access terminal, terminal unit, terminal station, and mobile station in the 5G network or the public land mobile network (Public Land Mobile Network, PLMN) that will evolve in the future , Mobile stations, remote stations, remote terminals, mobile equipment, wireless communication equipment, terminal agents, etc. The access terminal can be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), with wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices or wearable devices, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, industrial control (industrial) Wireless terminal in control), wireless terminal in self-driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety (transportation safety) Terminal, wireless terminal in smart city, wireless terminal in smart home, etc. The terminal can be a vehicle, a vehicle-mounted communication device or a vehicle-mounted terminal, or a chip in the vehicle-mounted communication device or a vehicle-mounted terminal installed on the vehicle to assist the vehicle driving; it can also be a vehicle-mounted module, vehicle-mounted module, One or more components or units in an on-board component, on-board chip, or on-board unit. Wherein, the vehicle-mounted terminal may be a device used to implement wireless communication functions, such as a terminal or a chip that can be used in the terminal. The vehicle-mounted terminal can be mobile or fixed. The network device in the embodiment of the application may be a device used to communicate with a terminal device. The network device may be a global system for mobile communications (GSM) system or code division multiple access (CDMA) The base transceiver station (BTS) in the LTE system can also be the base station (NodeB, NB) in the wideband code division multiple access (WCDMA) system, or the evolved base station (evolved) in the LTE system. NodeB, eNB or eNodeB), it can also be a wireless controller in a cloud radio access network (CRAN) scenario, or the network device can be a relay station, access point, vehicle-mounted device, wearable device, and future The network equipment in the 5G network or the network equipment in the future evolved PLMN network, etc., are not limited in the embodiment of the present application.
V2X终端自主选择资源时,发送预约信息的时频资源与发送业务数据的时频资源可能发生碰撞。When the V2X terminal independently selects resources, the time-frequency resource for sending reservation information and the time-frequency resource for sending service data may collide.
示例性的,图2为一种资源预约方式,现有的资源预约方式中第一时间窗和第二 时间窗是连续的,第二时间窗的起始时刻为第一时间窗的结束时刻。如图2所示,UE1确定资源的时间点为n1,UE1从n1时刻开始到n1+t1时刻为UE1的第一时间窗,从n1+t1时刻开始到n1+t2时刻为UE1的第二时间窗。UE1的第一时间窗[n1,n1+t1]用于发送UE1的资源指示信息,该UE1的资源指示信息用于指示UE1发送数据包的时频资源,UE1发送数据包的时频资源位于UE1的第二时间窗[n1+t1,n1+t2]内。UE2确定UE2的资源的时间点为n2,时间点n2在时域上较时间点n1晚。UE2从n2时刻开始到n2+t1时刻为UE2的第一时间窗,从n2+t1时刻开始到n2+t2时刻为UE2的第二时间窗。UE2的第一时间窗[n2,n2+t1]用于发送UE2的资源指示信息,该UE2的资源指示信息用于指示UE2发送数据包的时频资源,UE2发送数据包的时频资源位于UE2的第二时间窗[n2+t1,n2+t2]内。UE确定资源的时间点可以是物理层接收到上层(例如MAC层,RRC层等)传输的数据包的时间点。Exemplarily, Fig. 2 is a resource reservation method. In the existing resource reservation method, the first time window and the second time window are continuous, and the start time of the second time window is the end time of the first time window. As shown in Figure 2, the time point for UE1 to determine the resource is n1, the first time window of UE1 from time n1 to time n1+t1, and the second time from time n1+t1 to time n1+t2 for UE1 window. The first time window [n1, n1+t1] of UE1 is used to send the resource indication information of UE1. The resource indication information of UE1 is used to indicate the time-frequency resource for UE1 to send data packets. The time-frequency resource for UE1 to send data packets is located in UE1. Within the second time window [n1+t1, n1+t2]. The time point at which the UE2 determines the resource of the UE2 is n2, and the time point n2 is later than the time point n1 in the time domain. The UE2 starts at time n2 to time n2+t1 as the first time window of UE2, and starts at time n2+t1 to time n2+t2 as the second time window of UE2. The first time window [n2, n2+t1] of UE2 is used to send the resource indication information of UE2. The resource indication information of UE2 is used to indicate the time-frequency resource for UE2 to send data packets. The time-frequency resource for UE2 to send data packets is located in UE2. Within the second time window [n2+t1, n2+t2]. The time point when the UE determines the resource may be the time point when the physical layer receives the data packet transmitted by the upper layer (for example, the MAC layer, the RRC layer, etc.).
如图2所示,在n1时刻,UE1可以在n1时刻之前检测其他装置发送的资源指示信息,在n1时刻确定第一时间窗[n1,n1+t1]内发送UE1的资源指示信息的时频资源。如图2所示,UE1可以在第一时间窗内的黑色实心方格中发送UE1的资源指示信息(图2中的黑色实心方格中的UE1表示UE1发送资源指示信息的时频资源),该UE1的资源指示信息用于指示UE1在UE1的第二时间窗[n1+t1,n1+t2]内发送的数据包的时频资源,即图2中的时频资源1。As shown in Figure 2, at time n1, UE1 can detect resource indication information sent by other devices before time n1, and determine the time and frequency for sending UE1 resource indication information within the first time window [n1, n1+t1] at time n1 Resources. As shown in Figure 2, UE1 can send the resource indication information of UE1 in the black solid square in the first time window (UE1 in the black solid square in Figure 2 represents the time-frequency resource for UE1 to send the resource indication information), The resource indication information of the UE1 is used to indicate the time-frequency resource of the data packet sent by the UE1 in the second time window [n1+t1, n1+t2] of the UE1, that is, the time-frequency resource 1 in FIG. 2.
在n2时刻,UE2在n2时刻之前检测出UE2以外的其他装置发送的资源指示信息,在n2时刻确定UE2的第一时间窗[n2,n2+t1]内发送UE2的资源指示信息的时频资源。由于UE1发送UE1的资源指示信息的时刻在n2时刻之后,因此UE2在n2时刻之前并未接收到UE1发送的UE1的资源指示信息,所以,UE2有可能将UE1发送数据包的时频资源1中的部分或全部时频资源,确定为UE2发送其资源指示的时频资源(图2中的黑色实心方格中的UE2表示UE2发送资源指示信息的时频资源),从而将导致UE2在UE2的第一时间窗[n2,n2+t1]内发送UE2的资源指示信息的时频资源,与UE1在UE1的第二时间窗[n1+t1,n1+t2]内发送数据包的时频资源(时频资源1)发生碰撞,导致UE2以外的其他终端装置并未接收到UE2发送的资源指示信息,因此,其他装置可能会预约UE2发送数据包的时频资源(时频资源2),从而影响数据的传输效率。At time n2, UE2 detects resource indication information sent by other devices other than UE2 before time n2, and at time n2 determines the time-frequency resource for sending UE2's resource indication information within the first time window [n2, n2+t1] of UE2 . Since the time when UE1 sends the resource indication information of UE1 is after time n2, UE2 has not received the resource indication information of UE1 sent by UE1 before time n2. Therefore, it is possible for UE2 to send UE1 to the time-frequency resource 1 of the data packet. Part or all of the time-frequency resources are determined as the time-frequency resources for UE2 to send its resource indication (the black solid square in Figure 2 represents the time-frequency resources for UE2 to send resource indication information), which will cause UE2 to be The time-frequency resource for sending the resource indication information of UE2 in the first time window [n2, n2+t1], and the time-frequency resource for sending data packets by UE1 in the second time window [n1+t1, n1+t2] of UE1 ( Time-frequency resource 1) collides, causing other terminal devices other than UE2 not to receive the resource indication information sent by UE2. Therefore, other devices may reserve the time-frequency resource (time-frequency resource 2) for UE2 to send data packets, thereby affecting Data transmission efficiency.
为了解决V2X终端自主选择资源时,发送预约信息的时频资源与发送业务数据的时频资源可能发生碰撞的问题,本申请实施例提供了一种通信方法,该通信方法可以应用于终端装置,该终端装置可以为本申请中的第一终端装置或第二终端装置。需要说明的是,上述实施例中的终端装置可以是终端,也可以是应用于终端中的芯片或者其他具有上述终端功能的组合器件、部件等。终端装置可以包括处理单元和收发单元。In order to solve the problem that the time-frequency resource for sending reservation information and the time-frequency resource for sending service data may collide when the V2X terminal independently selects resources, an embodiment of the present application provides a communication method, which can be applied to a terminal device, The terminal device may be the first terminal device or the second terminal device in this application. It should be noted that the terminal device in the foregoing embodiment may be a terminal, or may be a chip applied to the terminal or other combination devices or components having the foregoing terminal functions. The terminal device may include a processing unit and a transceiving unit.
当终端装置是终端时收发单元可以是接收器和发射器,可以包括天线和射频电路等,其中接收器和发射器可以是整合的收发器,处理模块可以是处理器,例如:中央处理单元(central processing unit,CPU)。When the terminal device is a terminal, the transceiver unit can be a receiver and a transmitter, which can include an antenna and a radio frequency circuit, etc., wherein the receiver and transmitter can be an integrated transceiver, and the processing module can be a processor, such as a central processing unit ( central processing unit, CPU).
当终端装置是具有上述终端功能的部件时,收发单元可以是射频单元,处理单元可以是一个或多个处理器。When the terminal device is a component with the above terminal function, the transceiver unit may be a radio frequency unit, and the processing unit may be one or more processors.
当终端装置是芯片系统时,收发单元可以是芯片系统的输入输出接口、处理模块可以是芯片系统的处理器。When the terminal device is a chip system, the transceiver unit may be an input/output interface of the chip system, and the processing module may be a processor of the chip system.
如图3所示,一种终端装置的结构,该终端装置300包括至少一个处理器301,存储器302、收发器303。As shown in FIG. 3, a structure of a terminal device. The terminal device 300 includes at least one processor 301, a memory 302, and a transceiver 303.
下面结合图3对该终端装置300的各个构成部件进行具体的介绍:Hereinafter, each component of the terminal device 300 will be specifically introduced with reference to FIG. 3:
处理器301是终端装置300的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器301是一个中央处理器(central processing unit,CPU),也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)。The processor 301 is the control center of the terminal device 300, and may be a processor or a collective name for multiple processing elements. For example, the processor 301 is a central processing unit (CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention For example, one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA).
其中,处理器301可以通过运行或执行存储在存储器302内的软件程序,以及调用存储在存储器302内的数据,执行通信设备的各种功能。The processor 301 can execute various functions of the communication device by running or executing a software program stored in the memory 302 and calling data stored in the memory 302.
在具体的实现中,作为一种实施例,处理器301可以包括一个或多个CPU,例如图3中所示的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 301 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 3.
在具体实现中,作为一种实施例,通信设备可以包括多个处理器,例如图3中所示的处理器301和处理器304。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个通信设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In specific implementation, as an embodiment, the communication device may include multiple processors, for example, the processor 301 and the processor 304 shown in FIG. 3. Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more communication devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
存储器302可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器302可以是独立存在,与处理器301之间连接。存储器302也可以和处理器301集成在一起。The memory 302 can be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions The dynamic storage device can also be electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (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 can be used to carry or store desired program codes in the form of instructions or data structures and can be used by a computer Any other media accessed, but not limited to this. The memory 302 may exist independently and is connected to the processor 301. The memory 302 may also be integrated with the processor 301.
其中,所述存储器302用于存储实现本发明方案的软件程序,并由处理器301来控制执行。Wherein, the memory 302 is used to store a software program implementing the solution of the present invention, and the processor 301 controls the execution.
收发器303,用于与其他通信设备之间进行通信。当然,收发器303还可以用于与通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(Wireless Local Area Networks,WLAN)等。收发器303可以包括接收单元实现接收功能,以及发送单元实现发送功能。The transceiver 303 is used to communicate with other communication devices. Of course, the transceiver 303 can also be used to communicate with communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (Wireless Local Area Networks, WLAN), and so on. The transceiver 303 may include a receiving unit to implement a receiving function, and a sending unit to implement a sending function.
图3中示出的结构并不构成对终端装置的限定,终端装置300可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The structure shown in FIG. 3 does not constitute a limitation on the terminal device. The terminal device 300 may include more or fewer components than shown in the figure, or a combination of some components, or a different component arrangement.
为了解决现有技术中V2X终端自主选择资源时,发送预约信息的时频资源与发送业务数据的时频资源可能发生碰撞的问题,本申请实施例提供了一种通信方法,能够避免发送预约信息的时频资源与发送业务数据的时频资源之间发生碰撞,提高预约信息和业务信息传输的可靠性,提高网络传输效率。In order to solve the problem that the time-frequency resource for sending reservation information and the time-frequency resource for sending service data may collide when the V2X terminal autonomously selects resources in the prior art, an embodiment of the present application provides a communication method that can avoid sending reservation information Collision occurs between the time-frequency resources of the time-frequency resources and the time-frequency resources for sending service data, which improves the reliability of reservation information and service information transmission, and improves network transmission efficiency.
图4为本申请实施例提供的一种通信方法,该通信方法可以包括步骤S401-S404。Fig. 4 is a communication method provided by an embodiment of this application, and the communication method may include steps S401-S404.
S401、第一终端装置在时间点n之前检测来自第二终端装置的第二资源指示信息。S401: The first terminal device detects second resource indication information from the second terminal device before the time point n.
第二资源指示信息用于指示第二终端装置发送第二数据包的第二时频资源。第二终端装置可以为第一终端装置能够侦听到其发送的广播消息的终端装置,该第二终端装置可以为一个终端,也可以为多个终端,本申请实施例对此并不进行限定。The second resource indication information is used to instruct the second terminal device to send the second time-frequency resource of the second data packet. The second terminal device may be a terminal device that can listen to the broadcast message sent by the first terminal device. The second terminal device may be one terminal or multiple terminals, which is not limited in this embodiment of the application. .
示例性的,上述时间点n为第一终端装置确定资源的时间点。例如,该时间点n可以为第一终端装置的媒体访问控制(Media Access Control,MAC)层接收到上层(例如,业务层)传输的数据包的时间点,也可以是其他时间点,本申请实施例对此并不进行限定。Exemplarily, the foregoing time point n is a time point at which the first terminal device determines the resource. For example, the time point n may be the time point when the Media Access Control (MAC) layer of the first terminal device receives the data packet transmitted by the upper layer (for example, the service layer), or other time points. The embodiment does not limit this.
示例性的,该第一终端装置在时间点n之前检测来自第二终端装置的第二资源指示信息可以包括:第一终端装置在时间点n之前侦听第二终端装置发送的广播消息,该广播消息中承载了第二资源指示信息,第一终端装置根据广播消息中承载的第二资源指示信息,可以获知第二终端装置预约的用于发送第二数据包的第二时频资源。可以理解的,该第二资源指示为时间点n之前第一终端装置可以侦听到的第二终端装置发送的资源指示信息,在时间点n之后其他终端装置发送的资源指示信息第一终端装置不能侦听到,或者说第一终端装置不考虑其他终端装置在时间点n之后发送的资源指示信息。Exemplarily, the first terminal device detecting the second resource indication information from the second terminal device before the time point n may include: the first terminal device listens to the broadcast message sent by the second terminal device before the time point n, and The broadcast message carries the second resource indication information, and the first terminal device can learn the second time-frequency resource reserved by the second terminal device for sending the second data packet according to the second resource indication information carried in the broadcast message. It is understandable that the second resource indication is the resource indication information sent by the second terminal device that can be heard by the first terminal device before the time point n, and the resource indication information sent by other terminal devices after the time point n is the first terminal device It cannot be heard, or the first terminal device does not consider the resource indication information sent by other terminal devices after the time point n.
可选的,第一终端装置可以持续侦听第一终端装置以外的多个第二终端装置在不同时刻发送的广播消息,获取在时间点n之前,多个第二终端装置发送第二数据包的第二时频资源。可以理解的,不同第二终端装置发送第二数据包的第二时频资源可以不同。Optionally, the first terminal device may continuously listen to broadcast messages sent by multiple second terminal devices other than the first terminal device at different times, and obtain that the second data packet sent by the multiple second terminal devices before the time point n Second time-frequency resource. It can be understood that the second time-frequency resource for sending the second data packet by different second terminal devices may be different.
示例性的,对于第一终端装置而言,从该第一终端装置确定资源的时间点n开始,在时域上对应一组时间窗,第一终端装置在确定发送资源时考虑这一组时间窗,该一组时间窗包括:第一时间窗、第二时间窗,以及第一时间窗和第二时间窗之间的间隔时间窗。其中,第一时间窗用于第一终端装置发送资源指示信息,第二时间窗用于第一终端装置发送数据包。第一终端装置发送资源指示信息的第一时间窗与发送数据包的第二时间窗之间间隔了一个间隔时间窗,间隔时间窗长度不为零。Exemplarily, for the first terminal device, starting from the time point n when the first terminal device determines the resource, it corresponds to a set of time windows in the time domain, and the first terminal device considers this set of time when determining the transmission resource. The set of time windows includes: a first time window, a second time window, and an interval time window between the first time window and the second time window. Wherein, the first time window is used for the first terminal device to send resource indication information, and the second time window is used for the first terminal device to send data packets. There is an interval time window between the first time window for sending the resource indication information by the first terminal device and the second time window for sending the data packet, and the length of the interval time window is not zero.
示例性的,上述第一时间窗、第二时间窗和间隔时间窗的长度可以相等,也可以不相等,本申请实施例并不进行限定。第一时间窗、第二时间窗和间隔时间窗的长度不相等的情况是指第一时间窗、第二时间窗和间隔时间窗的长度不完全相同。例如,第一时间窗、第二时间窗和间隔时间窗的长度互不相同,或者,第一时间窗和第二时间窗的长度相同,与间隔时间窗的长度不同,或者,第二时间窗和间隔时间窗的长度相同,与第一时间窗的长度不同,或者,第一时间窗和间隔时间窗的长度相同,与第二时间窗的长度不相同。Exemplarily, the lengths of the foregoing first time window, second time window, and interval time window may be equal or unequal, which is not limited in the embodiment of the present application. The case where the lengths of the first time window, the second time window and the interval time window are not equal means that the lengths of the first time window, the second time window and the interval time window are not completely the same. For example, the length of the first time window, the second time window, and the interval time window are different from each other, or the length of the first time window and the second time window are the same, and the length of the interval time window is different, or the second time window The length of the interval time window is the same as that of the first time window, or the length of the first time window and the interval time window are the same, but the length of the second time window is different.
示例性的,上述第一时间窗、第二时间窗和间隔时间窗的长度可以通过以下两种方式得到。Exemplarily, the lengths of the first time window, the second time window, and the interval time window can be obtained in the following two ways.
一种实现方式中,第一终端装置可以从网络设备接收第一指示信息,该第一指示信息用于指示第一时间窗、第二时间窗、以及第一时间窗与第二时间窗之间的间隔时间窗的长度。In an implementation manner, the first terminal device may receive first indication information from the network device, and the first indication information is used to indicate the first time window, the second time window, and between the first time window and the second time window The length of the interval time window.
示例性的,该第一指示信息可以显示的指示第一时间窗、第二时间窗、以及第一 时间窗与第二时间窗之间的间隔时间窗的长度。例如,该第一指示信息中可以直接携带第一时间窗、第二时间窗、以及间隔时间窗的长度;或者,网络设备也可以通过无线资源控制(Radio Resource Control,RRC)信令配置多个索引和每个索引对应的一组时间窗长度(一组时间窗包括第一时间窗、第二时间窗、以及间隔时间窗),再通过下行链路控制信息(Downlink Control Information,DCI)指示索引号,第一终端装置可以根据DCI指示的索引号,以及RRC信令配置的对应关系,确定第一时间窗、第二时间窗、以及间隔时间窗长度。第一指示信息也可以隐式的指示第一时间窗、第二时间窗、以及间隔时间窗的长度。例如,第一终端装置中预配置了带宽和一组时间窗长度之间的对应关系,上述第一指示信息可以指示带宽资源,第一终端装置可以根据带宽和预配置的对应关系,确定第一时间窗、第二时间窗、以及间隔时间窗的长度。本申请实施例对于第一指示信息的具体形式并不进行限定,在此仅是示例性说明。Exemplarily, the first indication information may display the length of the first time window, the second time window, and the interval time window between the first time window and the second time window. For example, the first indication information may directly carry the length of the first time window, the second time window, and the interval time window; or, the network device may also configure multiple radio resource control (Radio Resource Control, RRC) signaling. The index and the length of a set of time windows corresponding to each index (a set of time windows includes the first time window, the second time window, and the interval time window), and then the index is indicated by Downlink Control Information (DCI) The first terminal device may determine the length of the first time window, the second time window, and the interval time window according to the index number indicated by the DCI and the corresponding relationship of the RRC signaling configuration. The first indication information may also implicitly indicate the length of the first time window, the second time window, and the interval time window. For example, the corresponding relationship between the bandwidth and a set of time window lengths is pre-configured in the first terminal device, the above-mentioned first indication information may indicate the bandwidth resource, and the first terminal device may determine the first terminal device according to the corresponding relationship between the bandwidth and the pre-configuration. The length of the time window, the second time window, and the interval time window. The embodiment of the present application does not limit the specific form of the first indication information, and is only an exemplary description here.
可选的,在该实现方式中,网络设备可以根据待传输数据包的传输时延的要求、数据包大小的统计值、网络带宽、网络拥塞程度等参数确定第一时间窗、第二时间窗、以及第一时间窗与第二时间窗之间的间隔时间窗的长度,再向第一终端装置发送该第一时间窗、第二时间窗以及间隔时间窗的长度。Optionally, in this implementation manner, the network device may determine the first time window and the second time window according to the requirements of the transmission delay of the data packet to be transmitted, the statistical value of the data packet size, the network bandwidth, the degree of network congestion, etc. , And the length of the interval time window between the first time window and the second time window, and then send the length of the first time window, the second time window and the interval time window to the first terminal device.
另一种实现方式中,上述第一时间窗、第二时间窗、以及第一时间窗与第二时间窗之间的间隔时间窗的长度为预定义的。In another implementation manner, the lengths of the first time window, the second time window, and the interval time window between the first time window and the second time window are predefined.
可选的,也可以预定义第一时间窗、第二时间窗以及间隔时间窗的起始和结束时间。可选的,第一终端装置也可以根据第一时间窗、第二时间窗以及间隔时间窗的起始和结束时间获取第一时间窗、第二时间窗以及间隔时间窗的长度。Optionally, the start and end time of the first time window, the second time window, and the interval time window may also be predefined. Optionally, the first terminal device may also obtain the length of the first time window, the second time window, and the interval time window according to the start and end times of the first time window, the second time window, and the interval time window.
本申请实施例对于第一终端装置获取第一时间窗、第二时间窗,以及第一时间窗与第二时间窗之间的间隔时间窗的长度的具体实现方式并不进行限定,上述仅是示例性说明。The embodiment of the present application does not limit the specific implementation manner in which the first terminal device obtains the first time window, the second time window, and the length of the interval time window between the first time window and the second time window. The foregoing is only Exemplary description.
示例性的,以第一终端装置确定资源的时间点为n为例。如图5所示,对于第一终端装置而言,第一时间窗在时域上的起始时间点为n,结束时间点为n+t1,可以记为第一时间窗[n,n+t1];第二时间窗在时域上的起始时间点为n+t2,结束时间点为n+t3,可以记为第二时间窗[n+t2,n+t3];第一时间窗和第二时间窗之间为间隔时间窗,间隔时间窗在时域上的起始时间点为n+t1,结束时间点为n+t2,可以记为间隔时间窗[n+t1,n+t2]。其中,t1≠t2且t2>t1。可选的,当t2等于2倍t1,t3等于3倍t1时,第一时间窗、第二时间窗以及间隔时间窗的长度相等。图5中仅是示例性的示出第一时间窗、第二时间窗以及间隔时间窗的长度相等。Exemplarily, it is taken as an example that the time point at which the first terminal device determines the resource is n. As shown in FIG. 5, for the first terminal device, the start time point of the first time window in the time domain is n, and the end time point is n+t1, which can be recorded as the first time window [n, n+ t1]; the start time point of the second time window in the time domain is n+t2, and the end time point is n+t3, which can be recorded as the second time window [n+t2, n+t3]; the first time window There is an interval time window between and the second time window. The start time point of the interval time window in the time domain is n+t1, and the end time point is n+t2, which can be recorded as the interval time window [n+t1, n+ t2]. Among them, t1≠t2 and t2>t1. Optionally, when t2 is equal to twice t1 and t3 is equal to three times t1, the lengths of the first time window, the second time window, and the interval time window are equal. FIG. 5 only exemplarily shows that the lengths of the first time window, the second time window, and the interval time window are equal.
结合图5所示,第一终端装置可以在第一时间窗[n,n+t1]内发送资源指示信息,该资源指示信息用于指示第一终端装置发送数据包的时频资源,该第一终端装置发送数据包的时频资源位于第二时间窗[n+t2,n+t3]内;即该资源指示信息是用来预约第二时间窗内发送第一终端装置的数据包的时频资源。第一终端装置可以在第二时间窗[n+t2,n+t3]内发送数据包,即第一终端装置可以在其资源指示信息预约的时频资源发送数据包。As shown in FIG. 5, the first terminal device may send resource indication information within a first time window [n, n+t1]. The resource indication information is used to indicate the time-frequency resource for the first terminal device to send a data packet. The time-frequency resource for a terminal device to send data packets is located in the second time window [n+t2, n+t3]; that is, the resource indication information is used to reserve the time for sending the data packet of the first terminal device in the second time window Frequency resources. The first terminal device may send the data packet within the second time window [n+t2, n+t3], that is, the first terminal device may send the data packet on the time-frequency resource reserved by the resource indication information.
如图6所示,以UE1确定资源的时间点为n1,UE2确定资源的时间点为n2为例。图6中,UE1在UE1的第一时间窗[n1,n1+t1]内(图6中标注UE1的黑色实心方框) 发送UE1的资源指示信息,该UE1的资源指示信息用于指示UE1在UE1的第二时间窗[n1+t2,n1+t3]内发送数据包的时频资源。在n2时刻,UE2在n2时刻之前检测UE2以外的其他装置发送的资源指示信息,在n2时刻确定UE2的第一时间窗[n2,n2+t1]内发送UE2的资源指示信息的时频资源。As shown in FIG. 6, the time point when the UE1 determines the resource is n1, and the time point when the UE2 determines the resource is n2 as an example. In Figure 6, UE1 sends the resource indication information of UE1 within the first time window [n1, n1+t1] of UE1 (the black solid box marked UE1 in Figure 6). The resource indication information of UE1 is used to indicate that UE1 is in The time-frequency resource for sending data packets in the second time window [n1+t2, n1+t3] of the UE1. At time n2, UE2 detects resource indication information sent by other devices other than UE2 before time n2, and determines the time-frequency resource for sending the resource indication information of UE2 within the first time window [n2, n2+t1] of UE2 at time n2.
由于UE1的资源指示信息是在n2时刻以后发生的,因此UE2在n2时刻之前并未接收UE1发送的资源指示信息。如图6所示,虽然UE2在n2时刻之前并未接收到UE1发送的UE1的资源指示信息,但是由于第一时间窗和第二时间窗之间有间隔时间窗的存在,因此,UE2在UE2的第一时间窗[n2,n2+t1]内确定发送UE2的资源指示信息的时频资源时,该时频资源不可能与UE1发送UE1的数据包的时频资源发生碰撞,因此避免了UE2发送资源指示信息的时频资源与UE1发送数据包的时频资源发生碰撞的问题。Since the resource indication information of UE1 occurred after time n2, UE2 did not receive the resource indication information sent by UE1 before time n2. As shown in Figure 6, although UE2 did not receive the resource indication information of UE1 sent by UE1 before time n2, because there is an interval time window between the first time window and the second time window, UE2 is in UE2. When determining the time-frequency resource for sending the resource indication information of UE2 within the first time window [n2, n2+t1], the time-frequency resource is unlikely to collide with the time-frequency resource of UE1 sending the data packet of UE1, thus avoiding UE2 The time-frequency resource for sending resource indication information collides with the time-frequency resource for sending data packets by UE1.
可选的,第二终端装置发送第二数据包的第二时频资源可能位于第一终端装置的第一时间窗[n,n+t1]内,也可能位于第一终端装置的间隔时间窗[n+t1,n+t2]内,还可能位于第一终端装置的第二时间窗[n+t2,n+t3]内,还可能位于第一终端装置的第一时间窗、间隔时间窗和第二时间窗以外的其他时间段内,本申请实施例对此并不进行限定。例如,第一终端装置侦听时间点n之前,多个第二终端装置发送的第二资源指示信息,其中,可能有几个第二终端装置发送第二数据包的第二时频资源可能位于第一终端装置的第一时间窗[n,n+t1]内,也可能有几个第二终端装置发送第二数据包的第二时频资源可能位于第一终端装置的第二时间窗[n+t2,n+t3]内。本申请实施例对于第二终端装置发送第二数据包的第二时频资源位于的具体时间段并不进行限定,在此仅是示例性的说明不同第二终端装置发送第二数据包的时频资源可能位于不同的时间段内。Optionally, the second time-frequency resource for sending the second data packet by the second terminal device may be located in the first time window [n, n+t1] of the first terminal device, or may be located in the interval time window of the first terminal device [n+t1, n+t2], may also be located in the second time window [n+t2, n+t3] of the first terminal device, and may also be located in the first time window and interval time window of the first terminal device And in other time periods outside the second time window, the embodiment of the present application does not limit this. For example, the first terminal device listens to the second resource indication information sent by multiple second terminal devices before the time point n. Among them, there may be several second terminal devices that send the second time-frequency resource of the second data packet. Within the first time window [n, n+t1] of the first terminal device, there may also be several second terminal devices sending the second data packet in the second time-frequency resource may be located in the second time window of the first terminal device [ n+t2, n+t3]. The embodiment of the present application does not limit the specific time period in which the second time-frequency resource for the second terminal device to send the second data packet is located. This is only an example to illustrate the time when the second terminal device sends the second data packet. The frequency resources may be in different time periods.
可以理解的,上述第一时间窗[n,n+t1]的含义是指第一时间窗在时域上从时间点n开始到时间点n+t1结束。第二时间窗[n+t2,n+t3]的含义是指第二时间窗在时域上从时间点n+t2开始到时间点n+t3结束。It is understandable that the meaning of the above first time window [n, n+t1] means that the first time window starts from the time point n to the time point n+t1 in the time domain. The meaning of the second time window [n+t2, n+t3] means that the second time window starts from the time point n+t2 to the time point n+t3 in the time domain.
例如,如图7所示,第一终端装置确定资源的时间点为n为例,在时间点n之前第一终端装置侦听到了第二终端装置发送的第二资源指示信息,图5中以第二终端装置包括UE1、UE2和UE3为例。图7中的一个小方格表示一个资源块(Resource Block,RB),若每个资源块的时长为△t,第一终端装置在n-5*△t时刻侦听到UE1发送的第二资源指示信息,该UE1的第二资源指示信息用于指示UE1发送UE1的数据包的时频资源为时频资源1,如图7所示,该时频资源1位于第一终端装置的第一时间窗内。第一终端装置在n-2*△t时刻侦听到UE2发送的第二资源指示信息,该UE2的第二资源指示信息用于指示UE2发送UE2的数据包的时频资源为时频资源2,如图7所示,该时频资源2位于第一终端装置的第二时间窗内。第一终端装置在n-△t时刻侦听到UE3发送的第二资源指示信息,该UE3的第二资源指示信息用于指示UE3发送UE3的数据包的时频资源为时频资源3,如图7所示,该时频资源3位于第一终端装置的第二时间窗内。For example, as shown in FIG. 7, the time point at which the first terminal device determines the resource is n as an example. Before the time point n, the first terminal device listened to the second resource indication information sent by the second terminal device. In FIG. The second terminal device includes UE1, UE2, and UE3 as an example. A small square in Figure 7 represents a resource block (Resource Block, RB). If the duration of each resource block is Δt, the first terminal device listens to the second sent by UE1 at n-5*Δt. Resource indication information. The second resource indication information of UE1 is used to indicate that the time-frequency resource for sending UE1's data packet is time-frequency resource 1. As shown in FIG. 7, the time-frequency resource 1 is located in the first terminal device of the first terminal device. Within the time window. The first terminal device listens to the second resource indication information sent by UE2 at time n-2*△t, and the second resource indication information of UE2 is used to indicate that the time-frequency resource for UE2 to send the data packet of UE2 is time-frequency resource 2. As shown in FIG. 7, the time-frequency resource 2 is located in the second time window of the first terminal device. The first terminal device listens to the second resource indication information sent by UE3 at time n-Δt, and the second resource indication information of UE3 is used to indicate that the time-frequency resource for UE3 to send the data packet of UE3 is time-frequency resource 3, such as As shown in FIG. 7, the time-frequency resource 3 is located in the second time window of the first terminal device.
可以理解的,每个终端装置从其确定资源的时间点(n)开始均可以根据时间上连续的第一时间窗[n,n+t1]、间隔时间窗[n+t1,n+t2],以及第二时间窗[n+t2,n+t3], 来确定发送资源指示信息的资源和发送数据包的资源。第一时间窗[n,n+t1]用于该终端装置发送资源指示信息,第二时间窗[n+t2,n+t3]用于该终端装置发送该终端装置的数据包。由于不同终端装置确定资源的时间点不同,因此一个终端装置在该终端装置的第二时间窗内发送数据包的时频资源,可能位于其他终端装置的第一时间窗内,或者间隔时间窗内,或者第二时间窗内,或者其他时间段内。It is understandable that, starting from the time point (n) at which each terminal device determines the resource, it can be based on the first time window [n, n+t1] and the interval time window [n+t1, n+t2] that are continuous in time. , And the second time window [n+t2, n+t3] to determine the resource for sending the resource indication information and the resource for sending the data packet. The first time window [n, n+t1] is used for the terminal device to send resource indication information, and the second time window [n+t2, n+t3] is used for the terminal device to send the data packet of the terminal device. Since different terminal devices determine the resource at different time points, the time-frequency resource for a terminal device to send data packets in the second time window of the terminal device may be located in the first time window of other terminal devices, or within the interval time window , Or within the second time window, or other time periods.
需要说明的是,本申请实施例中不同终端装置确定资源的时间点n可能不同,但是不同终端装置的第一时间窗的长度相同,不同终端装置的第二时间窗的长度相同,不同终端装置的间隔时间窗的长度相同。It should be noted that the time points n at which different terminal devices determine resources in the embodiment of the present application may be different, but the length of the first time window of different terminal devices is the same, and the length of the second time window of different terminal devices is the same, and different terminal devices The length of the interval time window is the same.
S402、第一终端装置在时间点n根据第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源。S402: The first terminal device determines the first time-frequency resource from the second time window [n+t2, n+t3] at the time point n according to the second resource indication information.
该第一时频资源用于发送第一终端装置的第一数据包。The first time-frequency resource is used to send the first data packet of the first terminal device.
示例性的,上述第一终端装置在时间点n根据第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源,可以包括:第一终端装置从第二时间窗[n+t2,n+t3]内除第二时频资源以外的时频资源中确定第一时频资源,其中,该第二时频资源位于第二时间窗[n+t2,n+t3]内。由于第二时频资源为第二终端装置发送第二数据包的时频资源,因此,第一终端装置从第二时间窗[n+t2,n+t3]内除第二时频资源以外的时频资源中确定的第一时频资源,为第二时间窗[n+t2,n+t3]内未被第二终端装置预约用于发送第二数据包的时频资源。即本申请实施例确定的第一时频资源不会和第二时频资源重复,因此第一终端装置发送第一数据包的第一时频资源与第二终端装置发送第二数据包的第二时频资源不会发生碰撞。Exemplarily, determining the first time-frequency resource from the second time window [n+t2, n+t3] according to the second resource indication information at the time point n by the first terminal device may include: The first time-frequency resource is determined from the time-frequency resources other than the second time-frequency resource in the second time window [n+t2, n+t3], where the second time-frequency resource is located in the second time window [n+t2, n+t3]. Since the second time-frequency resource is the time-frequency resource for the second terminal device to send the second data packet, the first terminal device from within the second time window [n+t2, n+t3] except for the second time-frequency resource The first time-frequency resource determined in the time-frequency resource is a time-frequency resource that is not reserved by the second terminal device for sending the second data packet in the second time window [n+t2, n+t3]. That is, the first time-frequency resource determined in the embodiment of the present application will not overlap with the second time-frequency resource. Therefore, the first time-frequency resource for the first terminal device to send the first data packet and the first time-frequency resource for the second terminal device to send the second data packet Two time-frequency resources will not collide.
例如,结合图7所示,第一终端装置可以根据UE1、UE2和UE3的第二资源指示信息,从第二时间窗[n+t2,n+t3]内除第二时频资源以外的时频资源中确定第一时频资源。UE1的第二时频资源为时频资源1,UE2的第二时频资源为时频资源2,UE3的第二时频资源为时频资源3,由于第二时间窗[n+t2,n+t3]内的第二时频资源包括时频资源2和时频资源3,因此,第一终端装置可以从第二时间窗[n+t2,n+t3]内除时频资源2和时频资源3以外的时频资源中确定第一时频资源。即该第一时频资源为第二时间窗[n+t2,n+t3]内未被其他装置预约用于发送第二数据包的时频资源。For example, as shown in FIG. 7, the first terminal device can determine the time excluding the second time-frequency resource from the second time window [n+t2, n+t3] according to the second resource indication information of UE1, UE2, and UE3. The first time-frequency resource is determined from the frequency resource. The second time-frequency resource of UE1 is time-frequency resource 1, the second time-frequency resource of UE2 is time-frequency resource 2, and the second time-frequency resource of UE3 is time-frequency resource 3. Since the second time window [n+t2, n The second time-frequency resource in +t3] includes time-frequency resource 2 and time-frequency resource 3. Therefore, the first terminal device can divide time-frequency resource 2 and time-frequency resource 2 from the second time window [n+t2, n+t3]. The first time-frequency resource is determined from the time-frequency resources other than the frequency resource 3. That is, the first time-frequency resource is a time-frequency resource that is not reserved by other devices for sending the second data packet in the second time window [n+t2, n+t3].
可以理解的,由于第一时频资源为第二时间窗内未被第二终端装置预约用于发送第二数据包的时频资源,因此第一终端装置在第一时频资源发送第一数据包时,不会与第二终端装置发送第二数据包的第二时频资源之间发生碰撞,提高了业务传输的可靠性。It is understandable that since the first time-frequency resource is the time-frequency resource that is not reserved by the second terminal device for sending the second data packet in the second time window, the first terminal device sends the first data in the first time-frequency resource During the packet, it will not collide with the second time-frequency resource of the second data packet sent by the second terminal device, which improves the reliability of service transmission.
可选的,若第二时间窗[n+t2,n+t3]内除第二时频资源以外的时频资源小于第一时频资源,且第一数据包的优先级高于第二数据包的优先级,上述步骤S402中第一终端装置在时间点n根据第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源,可以包括:第一终端装置从第二时频资源中确定用于发送第一数据包的时频资源,其中,第二时频资源位于第二时间窗[n+t2,n+t3]内。即第二时间窗[n+t2,n+t3]内除第二时频资源以外的时频资源不足以发送第一数据包,而且第一数据包的优先级较第二数据包的优先级高时,第一终端装置可以抢占第二终端装置预约的用于发送该第二数据包的时频资源。即在第二时间窗[n+t2,n+t3]内的时频资源不足时,高优先级的数据 包可以抢占已被预约的用于发送低优先级的数据包的时频资源。Optionally, if the time-frequency resources other than the second time-frequency resource in the second time window [n+t2, n+t3] are less than the first time-frequency resource, and the priority of the first data packet is higher than the second data The priority of the packet. In the above step S402, the first terminal device determines the first time-frequency resource from the second time window [n+t2, n+t3] according to the second resource indication information at time point n, which may include: The terminal device determines the time-frequency resource used for sending the first data packet from the second time-frequency resource, where the second time-frequency resource is located in the second time window [n+t2, n+t3]. That is, the time-frequency resources other than the second time-frequency resource in the second time window [n+t2, n+t3] are not enough to send the first data packet, and the priority of the first data packet is higher than the priority of the second data packet When it is high, the first terminal device can preempt the time-frequency resource reserved by the second terminal device for sending the second data packet. That is, when the time-frequency resources in the second time window [n+t2, n+t3] are insufficient, high-priority data packets can preempt the reserved time-frequency resources for sending low-priority data packets.
例如,如图8所示,图8中用斜线填充的小方格和黑色实心的小方格均表示用于发送第二数据包的第二时频资源,图8中黑色实心的格子表示UE2发送该UE2的第二数据包的第二时频资源,记为时频资源1。若图8中第二时间窗[n+t2,n+t3]内除第二时频资源以外的时频资源小于第一时频资源,即第二时间窗[n+t2,n+t3]内未被预约的时频资源小于发送第一数据包的时频资源。第一终端装置确定第一数据包的优先级,若第一数据包的优先级大于图8中的UE2的第二数据包的优先级,第一终端装置可以从预约发送该UE2的第二数据包的第二时频资源中确定用于发送第一数据包的第一时频资源,即第一终端装置(图8中的UE3)可以从图8中的第二时间窗[n+t2,n+t3]内的时频资源1中确定用于发送第一数据包的第一时频资源。For example, as shown in Figure 8, the small squares filled with diagonal lines and the small black squares in Figure 8 both represent the second time-frequency resource used to send the second data packet, and the black solid squares in Figure 8 represent The second time-frequency resource of the second data packet sent by UE2 to UE2 is recorded as time-frequency resource 1. If the time-frequency resources other than the second time-frequency resource in the second time window [n+t2, n+t3] in Fig. 8 are smaller than the first time-frequency resource, that is, the second time window [n+t2, n+t3] The unreserved time-frequency resource is less than the time-frequency resource for sending the first data packet. The first terminal device determines the priority of the first data packet. If the priority of the first data packet is greater than the priority of the second data packet of UE2 in FIG. 8, the first terminal device can send the second data of UE2 from the reservation. The first time-frequency resource used to send the first data packet is determined from the second time-frequency resource of the packet, that is, the first terminal device (UE3 in FIG. 8) can use the second time window [n+t2, The first time-frequency resource used to send the first data packet is determined in the time-frequency resource 1 in n+t3].
可以理解的,本申请实施例能够在第二时间窗内的时频资源不足时,通过高优先级的数据包抢占已被预约的用于发送低优先级的数据包的时频资源,从而确保高优先级的数据包传输的可靠性。It is understandable that when the time-frequency resources in the second time window are insufficient, the embodiment of the present application can preempt the reserved time-frequency resources for sending low-priority data packets through high-priority data packets, thereby ensuring Reliability of high priority data packet transmission.
可选的,在第一终端装置抢占已被预约的用于发送低优先级的数据包的时频资源之后,上述方法还可以包括:第一终端装置向第二终端装置发送通知消息,该通知消息用于指示第二时间窗内的第二时频资源中的部分或全部时频资源用于第一终端装置发送第一数据包。即第一终端装置抢占第二终端装置预约的用于发送第二数据包的第二时频资源后,向除第一终端装置以后的其他第二终端装置发送通知消息,以告知其他终端装置第二时间窗内的第二时频资源中的部分或全部时频资源用于第一终端装置发送第一数据包。Optionally, after the first terminal device preempts the reserved time-frequency resources for sending low-priority data packets, the above method may further include: the first terminal device sends a notification message to the second terminal device, the notification The message is used to indicate that some or all of the time-frequency resources in the second time-frequency resources in the second time window are used by the first terminal device to send the first data packet. That is, after the first terminal device preempts the second time-frequency resource reserved by the second terminal device for sending the second data packet, it sends a notification message to other second terminal devices other than the first terminal device to inform other terminal devices of the first Part or all of the second time-frequency resources in the second time window are used by the first terminal device to send the first data packet.
可选的,被抢占时频资源的第二终端装置在接收第一终端装置发送的通知消息后,将不会在其预约的第二时频资源上发送第二数据包。可选的,该被抢占时频资源的第二终端装置可以重新预约时频资源用于发送该第二终端装置的第二数据包。Optionally, after receiving the notification message sent by the first terminal device, the second terminal device that is seized of the time-frequency resource will not send the second data packet on the second time-frequency resource reserved by it. Optionally, the second terminal device whose time-frequency resource is preempted may re-reserve the time-frequency resource for sending the second data packet of the second terminal device.
S403、第一终端装置在第一时间窗[n,n+t1]内发送第一资源指示信息。S403. The first terminal device sends the first resource indication information within the first time window [n, n+t1].
该第一资源指示信息用于指示第一时频资源。该第一时频资源为第一终端装置发送第一数据包的时频资源。The first resource indication information is used to indicate the first time-frequency resource. The first time-frequency resource is the time-frequency resource for the first terminal device to send the first data packet.
示例性的,在步骤S403之前还可以包括:第一终端装置从第一时间窗[n,n+t1]内除第二时频资源以外的时频资源中确定第三时频资源,该第三时频资源用于发送第一资源指示信息,其中,该第二时频资源位于第一时间窗[n,n+t1]内。由于第二时频资源为第二终端装置发送第二数据包的时频资源,因此,第一终端装置从第一时间窗[n,n+t1]内除第二时频资源以外的时频资源中确定的第三时频资源,为第一时间窗[n,n+t1]内未被第二终端装置预约用于发送第二数据包的时频资源。而且由于第一时间窗和第二时间窗之间被间隔时间窗间隔开,因此,第一终端装置发送第一资源指示信息的第三时频资源,不可能与其他终端装置发送数据包的时频资源发生碰撞,提高了资源指示信息的可靠性。Exemplarily, before step S403, it may further include: the first terminal device determines a third time-frequency resource from time-frequency resources other than the second time-frequency resource within the first time window [n, n+t1], and the first terminal device The three-time-frequency resource is used to send the first resource indication information, where the second time-frequency resource is located in the first time window [n, n+t1]. Since the second time-frequency resource is the time-frequency resource for the second terminal device to send the second data packet, the first terminal device uses the time-frequency resource other than the second time-frequency resource within the first time window [n, n+t1] The third time-frequency resource determined in the resource is a time-frequency resource that is not reserved by the second terminal device for sending the second data packet in the first time window [n, n+t1]. Moreover, since the first time window and the second time window are separated by the interval time window, it is impossible for the first terminal device to send the third time-frequency resource of the first resource indication information when sending data packets with other terminal devices. Frequency resources collide, which improves the reliability of resource indication information.
示例性的,第一终端装置发送第一资源指示信息的时频资源可以为一个资源块,也可以为多个资源块,还可以为多个资源块组成的子信道等,本申请实施例对此并不进行限定。当第一终端装置发送第一资源指示信息的时频资源为子信道时,该子信道包括的资源块的数量可以配置。Exemplarily, the time-frequency resource used by the first terminal device to send the first resource indication information may be one resource block, or multiple resource blocks, or a sub-channel composed of multiple resource blocks. This is not limited. When the time-frequency resource for which the first terminal device sends the first resource indication information is a subchannel, the number of resource blocks included in the subchannel can be configured.
可选的,上述第一终端装置从第一时间窗[n,n+t1]内除第二时频资源以外的时频资源中确定第三时频资源,可以包括:第一终端装置从第一时间窗[n,n+t1]内除第二时频资源以外的时频资源中随机选取一个资源块,将其确定为第三时频资源;或者,第一终端装置从第一时间窗[n,n+t1]内除第二时频资源以外的时频资源中随机选取多个资源块,将其确定为第三时频资源。Optionally, the foregoing first terminal device determining the third time-frequency resource from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1] may include: A resource block is randomly selected from time-frequency resources other than the second time-frequency resource in a time window [n, n+t1], and determined as the third time-frequency resource; or, the first terminal device selects the resource block from the first time window Multiple resource blocks are randomly selected from time-frequency resources other than the second time-frequency resource in [n, n+t1], and determined as the third time-frequency resource.
例如,结合5所示,第一终端装置可以根据UE1、UE2和UE3的第二资源指示信息,从第一时间窗[n,n+t1]内除第二时频资源以外的时频资源中确定第三时频资源。UE1的第二时频资源为时频资源1,UE2的第二时频资源为时频资源2,UE3的第二时频资源为时频资源3,第一时间窗[n,n+t1]内的第二时频资源仅包括时频资源1,因此,第一终端装置可以从第一时间窗[n,n+t1]内除时频资源1以外的时频资源中随机选取一个资源块,将其确定为第三时频资源。即该第三时频资源为第一时间窗内未被第二终端装置预约用于发送第二数据包的时频资源。For example, as shown in conjunction with 5, the first terminal device may, according to the second resource indication information of UE1, UE2, and UE3, from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1] Determine the third time-frequency resource. The second time-frequency resource of UE1 is time-frequency resource 1, the second time-frequency resource of UE2 is time-frequency resource 2, and the second time-frequency resource of UE3 is time-frequency resource 3. The first time window [n, n+t1] The second time-frequency resource in only includes time-frequency resource 1. Therefore, the first terminal device may randomly select a resource block from time-frequency resources other than time-frequency resource 1 in the first time window [n, n+t1] , Determine it as the third time-frequency resource. That is, the third time-frequency resource is a time-frequency resource that is not reserved by the second terminal device for sending the second data packet in the first time window.
可以理解的,由于第一终端装置发送第一资源指示信息的第三时频资源为第一时间窗[n,n+t1]内未被第二终端装置预约用于发送第二数据包的时频资源,因此可以避免第一终端装置发送第一资源指示信息的第三时频资源和第二终端装置发送第二数据包的时频资源之间发生碰撞,提高了资源指示信息和业务传输的可靠性。It is understandable that, because the third time-frequency resource for sending the first resource indication information by the first terminal device is the time within the first time window [n, n+t1] that is not reserved by the second terminal device for sending the second data packet Therefore, it is possible to avoid collisions between the third time-frequency resource for sending the first resource indication information by the first terminal device and the time-frequency resource for sending the second data packet from the second terminal device, which improves the resource indication information and service transmission efficiency. reliability.
示例性的,上述步骤S403中第一终端装置在第一时间窗[n,n+t1]内发送第一资源指示信息,可以包括:第一终端装置在第一时间窗内的第三时频资源发送第一资源指示信息。Exemplarily, the first terminal device sending the first resource indication information in the first time window [n, n+t1] in the above step S403 may include: the third time frequency of the first terminal device in the first time window The resource sends the first resource indication information.
可选的,由于第一终端装置是从第一时间窗[n,n+t1]内除第二时频资源以外的时频资源中确定第三时频资源,但是有可能第一终端装置确定的第三时频资源为第二终端装置预约用于发送第二资源指示信息的时频资源,因此可能造成第一终端装置发送第一资源指示的时频资源与第二终端装置发送第二资源指示信息的时频资源之间发生碰撞。为了减小不同终端装置发送的资源指示信息之间发生碰撞的概率,上述第三时频资源可以包括多个时频资源单元,第一终端装置可以在该多个时频资源单元分别发送第一资源指示信息。Optionally, since the first terminal device determines the third time-frequency resource from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1], it is possible that the first terminal device determines The third time-frequency resource of is the time-frequency resource reserved by the second terminal device for sending the second resource indication information, which may cause the first terminal device to send the time-frequency resource indicated by the first resource and the second terminal device to send the second resource The time-frequency resources of the indication information collide. In order to reduce the probability of collision between resource indication information sent by different terminal devices, the third time-frequency resource may include multiple time-frequency resource units, and the first terminal device may send the first Resource instructions.
示例性的,第三时频资源包括多个时频资源单元时,第一终端装置确定第三时频资源可以包括以下步骤a-步骤c。Exemplarily, when the third time-frequency resource includes multiple time-frequency resource units, determining the third time-frequency resource by the first terminal device may include the following steps a to c.
步骤a、第一终端装置获取第一时频资源图案。Step a: The first terminal device obtains the first time-frequency resource pattern.
第一时频资源图案用于指示多个时频资源单元之间的时频域相对位置关系。该时频资源单元为发送第一资源指示信息的时频资源单元,该时频资源单元为第一时间窗内除第二时频资源以外的时频资源中的时频资源单元。The first time-frequency resource pattern is used to indicate the relative positional relationship between the multiple time-frequency resource units in the time-frequency domain. The time-frequency resource unit is a time-frequency resource unit that sends the first resource indication information, and the time-frequency resource unit is a time-frequency resource unit in a time-frequency resource other than the second time-frequency resource in the first time window.
示例性的,时频资源单元可以为一个资源块,也可以为多个资源块,还可以为多个资源块组成的子信道,本申请实施例对此并不进行限定。下述实施例中仅以发送第一资源指示信息的时频资源单元为一个资源块为例进行说明。例如,上述时频资源单元为第一时间窗内除第二时频资源以外的时频资源中的一个资源块。Exemplarily, the time-frequency resource unit may be one resource block, or may be multiple resource blocks, or may be a sub-channel composed of multiple resource blocks, which is not limited in the embodiment of the present application. In the following embodiments, only the time-frequency resource unit for sending the first resource indication information is a resource block for description. For example, the above-mentioned time-frequency resource unit is a resource block in the time-frequency resources other than the second time-frequency resource in the first time window.
示例性的,上述第一时频资源图案用于表示多个时频资源单元之间的时频域相对位置关系,由于时频资源单元为第一时间窗内除第二时频资源以外的时频资源中的一个资源块,因此第一时频图案表示的是第一时间窗内除第二时频资源以外的时频资源 中的多个资源块之间的时频域相对位置关系。Exemplarily, the above-mentioned first time-frequency resource pattern is used to indicate the relative positional relationship between multiple time-frequency resource units in the time-frequency domain, because the time-frequency resource unit is the time in the first time window other than the second time-frequency resource. A resource block in the frequency resource, therefore, the first time-frequency pattern represents the relative positional relationship between multiple resource blocks in the time-frequency resource other than the second time-frequency resource in the first time window.
需要说明的是,以多个时频资源单元为两个资源块为例。本申请实施例中的时频域相对位置关系是指两个资源块的时频域的有效偏移位置,其中,在时域上或频域上,两个资源块之间未被第二终端装置预约用于发送第二数据包的时频资源计入有效偏移量,两个资源块之间的第二时频资源不计入有效偏移量。即上述有效偏移不考虑资源块之间的第二时频资源,因此第二时频资源为无效偏移位置,不计入偏移量。例如,若两个时频资源单元之间的时域相差1个资源块,表示两个时频资源单元的时域的有效偏移位置为1。如图9所示,以一个时频资源单元为一个资源块为例,图9中用斜线填充的小方格表示第二时频资源。由于图9中在时域上,资源块RB1和资源块RB2之间的时频资源为第二时频资源,即为无效偏移位置,不计入偏移量,因此有效偏移量不考虑RB1和RB2之间的第二时频资源,故RB1和RB2的时域的有效偏移位置为1个资源块。图9中的RB3和RB4的时域的有效偏移为1个资源块,RB3和RB4的频域的有效偏移位置为1个资源块。图9中的RB5和RB6的时域的有效偏移位置为1个资源块,RB5和RB6的频域的有效偏移位置为两个资源块。本申请实施例对于多个时频资源单元的时频域偏移的最小粒度并不进行限定,在此仅是以最小粒度为1个资源块为例进行示例性说明。It should be noted that, taking multiple time-frequency resource units as two resource blocks as an example. The relative position relationship in the time-frequency domain in the embodiments of the present application refers to the effective offset position of the two resource blocks in the time-frequency domain, where, in the time domain or in the frequency domain, there is no second terminal between the two resource blocks. The time-frequency resource reserved by the device for sending the second data packet is included in the effective offset, and the second time-frequency resource between two resource blocks is not included in the effective offset. That is, the above-mentioned effective offset does not consider the second time-frequency resource between resource blocks, so the second time-frequency resource is an invalid offset position and is not included in the offset. For example, if the time domain difference between two time-frequency resource units is 1 resource block, it means that the effective offset position of the time domain of the two time-frequency resource units is 1. As shown in FIG. 9, taking one time-frequency resource unit as one resource block as an example, the small square filled with diagonal lines in FIG. 9 represents the second time-frequency resource. Since in the time domain in Figure 9, the time-frequency resource between the resource block RB1 and the resource block RB2 is the second time-frequency resource, that is, the invalid offset position, which is not included in the offset, so the effective offset is not considered The second time-frequency resource between RB1 and RB2, so the effective offset position of the time domain of RB1 and RB2 is 1 resource block. In FIG. 9, the effective offset of RB3 and RB4 in the time domain is 1 resource block, and the effective offset of RB3 and RB4 in the frequency domain is 1 resource block. The effective offset positions of RB5 and RB6 in the time domain in FIG. 9 are one resource block, and the effective offset positions of RB5 and RB6 in the frequency domain are two resource blocks. The embodiment of the present application does not limit the minimum granularity of the time-frequency domain offset of multiple time-frequency resource units. Here, only one resource block with the minimum granularity is taken as an example for exemplification.
一种实现方式中,上述第一终端装置获取第一时频资源图案可以包括:第一终端装置接收网络设备(例如,基站设备)发送的时频资源图案集合,该时频资源图案集合包括一种或多种时频资源图案,第一终端装置在该时频资源图案集合中随机选取一个时频资源图案为第一时频资源图案。在该实现方式中,不同终端装置随机选取的时频资源图案可能不同,可以减小第一终端装置发送第一资源指示信息的时频资源与第二终端装置发送第二资源指示的时频资源发生碰撞的概率。In an implementation manner, acquiring the first time-frequency resource pattern by the first terminal device may include: the first terminal device receives a time-frequency resource pattern set sent by a network device (for example, a base station device), and the time-frequency resource pattern set includes: One or more time-frequency resource patterns, and the first terminal device randomly selects a time-frequency resource pattern from the time-frequency resource pattern set as the first time-frequency resource pattern. In this implementation manner, the time-frequency resource patterns randomly selected by different terminal devices may be different, which can reduce the time-frequency resource for the first terminal device to send the first resource indication information and the time-frequency resource for the second terminal device to send the second resource indication. The probability of a collision.
一种实现方式中,上述第一终端装置获取第一时频资源图案可以包括:第一终端装置接收无线接入网设备(例如,基站设备)发送的第一时频资源图案。在该实现方式中,无线接入网设备可以为每个终端装置配置不同的时频资源图案,由于不同终端装置的时频资源图案不同,因此不同装置发送的资源指示信息之间发生碰撞的概率将大大减小。In an implementation manner, acquiring the first time-frequency resource pattern by the first terminal device may include: the first terminal device receives the first time-frequency resource pattern sent by a wireless access network device (for example, a base station device). In this implementation, the radio access network equipment can configure different time-frequency resource patterns for each terminal device. Since different terminal devices have different time-frequency resource patterns, the probability of collisions between resource indication information sent by different devices Will be greatly reduced.
一种实现方式中,上述第一终端装置获取第一时频资源图案可以包括:第一终端装置根据自身特性生成第一时频资源图案。In an implementation manner, acquiring the first time-frequency resource pattern by the first terminal device may include: the first terminal device generates the first time-frequency resource pattern according to its own characteristics.
可以理解的,第一终端获取第一时频资源图案的方式可以为上述任一种,本申请实施例对此并不进行限定。It can be understood that the first terminal may obtain the first time-frequency resource pattern in any of the above-mentioned manners, which is not limited in the embodiment of the present application.
步骤b、第一终端装置根据第二资源指示信息,确定第一时间窗[n,n+t1]内除第二时频资源以外的时频资源为候选时频资源。Step b: The first terminal device determines, according to the second resource indication information, that time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1] are candidate time-frequency resources.
该第一时间窗内除第二时频资源以外的时频资源,即为第一时间窗内未被第二终端装置预约用于发送第二数据包的时频资源。The time-frequency resources other than the second time-frequency resource in the first time window are the time-frequency resources that are not reserved by the second terminal device for sending the second data packet in the first time window.
例如,结合5所示,第一终端装置可以根据UE1、UE2和UE3的第二资源指示信息,确定第一时间窗[n,n+t1]内除第二时频资源以外的时频资源为候选时频资源。UE1的第二时频资源为时频资源1,UE2的第二时频资源为时频资源2,UE3的第二时频资源为时频资源3,由于第一时间窗内包括的第二时频资源为时频资源1,因此, 第一终端装置可以确定第一时间窗[n,n+t1]内除时频资源1以外的时频资源为候选时频资源,即第一时间窗[n,n+t1]内未被其他装置预约用于发送数据包的时频资源为候选时频资源。即图7中的第一时间窗[n,n+t1]内空白的小方格均为候选时频资源。For example, as shown in conjunction with 5, the first terminal device may determine, according to the second resource indication information of UE1, UE2, and UE3, that the time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1] are Candidate time-frequency resources. The second time-frequency resource of UE1 is time-frequency resource 1, the second time-frequency resource of UE2 is time-frequency resource 2, and the second time-frequency resource of UE3 is time-frequency resource 3. Since the second time-frequency resource included in the first time window The frequency resource is time-frequency resource 1. Therefore, the first terminal device may determine that time-frequency resources other than time-frequency resource 1 in the first time window [n, n+t1] are candidate time-frequency resources, that is, the first time window [ Time-frequency resources in n, n+t1] that are not reserved by other devices for sending data packets are candidate time-frequency resources. That is, the blank squares in the first time window [n, n+t1] in FIG. 7 are all candidate time-frequency resources.
步骤c、第一终端装置根据第一时频资源图案,在候选时频资源中确定第三时频资源。Step c: The first terminal device determines a third time-frequency resource among the candidate time-frequency resources according to the first time-frequency resource pattern.
该第三时频资源包括多个时频资源单元,该多个时频资源单元为第一时间窗内除第二时频资源以外的时频资源中的时频资源,即该多个时频资源单元为第一时间窗内未被第二终端装置预约用于发送第二数据包的时频资源单元。The third time-frequency resource includes multiple time-frequency resource units, and the multiple time-frequency resource units are time-frequency resources in the time-frequency resources other than the second time-frequency resource in the first time window, that is, the multiple time-frequency resources The resource unit is a time-frequency resource unit that is not reserved by the second terminal device for sending the second data packet in the first time window.
示例性的,上述步骤c中第一终端装置根据第一时频资源图案,在候选时频资源中确定多个时频资源单元,可以包括:第一终端装置候选时频资源中随机选取一个时频资源单元为第一时频资源单元;根据第一时频资源图案和第一时频资源单元,在候选时频资源中确定第二时频资源单元。该第二时频资源单元为候选时频资源中的时频资源,该第一时频资源单元和第二时频资源单元的时频域相对位置关系为第一时频资源图案表示的位置关系,该第二时频资源单元的时域较第一时频资源单元的时域在时间轴上更靠后,即第二时频资源单元的时域大于第一时频资源单元的时域。Exemplarily, in the foregoing step c, the first terminal device determines multiple time-frequency resource units among the candidate time-frequency resources according to the first time-frequency resource pattern, which may include: the first terminal device randomly selects one time-frequency resource from the candidate time-frequency resources The frequency resource unit is a first time-frequency resource unit; according to the first time-frequency resource pattern and the first time-frequency resource unit, the second time-frequency resource unit is determined from the candidate time-frequency resources. The second time-frequency resource unit is a time-frequency resource among the candidate time-frequency resources, and the relative positional relationship in the time-frequency domain between the first time-frequency resource unit and the second time-frequency resource unit is the position relationship indicated by the first time-frequency resource pattern , The time domain of the second time-frequency resource unit is later on the time axis than the time domain of the first time-frequency resource unit, that is, the time domain of the second time-frequency resource unit is larger than the time domain of the first time-frequency resource unit.
示例性的,上述第二时频资源单元的频域可以高于第一时频资源单元的频域,也可以低于第一时频资源单元的频域,本申请实施例并不限定。当第二时频资源单元的频域高于第一时频资源单元的频域时,上述第一时频资源图案中频域的相对位置可以为正数;当上述第二时频资源单元的频域低于第一时频资源单元的频域时,上述第一时频资源图案中频域的相对位置可以为负数。或者,上述第二时频资源单元的频域高于第一时频资源单元的频域时,上述第一时频资源图案中频域的相对位置可以为负数;上述第二时频资源单元的频域低于第一时频资源单元的频域时,上述第一时频资源图案中频域的相对位置可以为正数,本申请实施例对此并不进行限定。下述实施例中仅以第二时频资源单元的频域高于第一时频资源单元的频域时,第一时频资源图案中频域的相对位置为正数,第二时频资源单元的频域低于第一时频资源单元的频域时,第一时频资源图案中频域的相对位置可以为负数为例进行说明。Exemplarily, the frequency domain of the foregoing second time-frequency resource unit may be higher than the frequency domain of the first time-frequency resource unit, or may be lower than the frequency domain of the first time-frequency resource unit, which is not limited in this embodiment of the application. When the frequency domain of the second time-frequency resource unit is higher than the frequency domain of the first time-frequency resource unit, the relative position of the frequency domain in the first time-frequency resource pattern may be a positive number; when the frequency of the second time-frequency resource unit is When the domain is lower than the frequency domain of the first time-frequency resource unit, the relative position of the frequency domain in the first time-frequency resource pattern may be a negative number. Alternatively, when the frequency domain of the second time-frequency resource unit is higher than the frequency domain of the first time-frequency resource unit, the relative position of the frequency domain in the first time-frequency resource pattern may be a negative number; the frequency of the second time-frequency resource unit When the domain is lower than the frequency domain of the first time-frequency resource unit, the relative position of the frequency domain in the first time-frequency resource pattern may be a positive number, which is not limited in this embodiment of the application. In the following embodiments, only when the frequency domain of the second time-frequency resource unit is higher than the frequency domain of the first time-frequency resource unit, the relative position of the frequency domain in the first time-frequency resource pattern is a positive number, and the second time-frequency resource unit When the frequency domain of is lower than the frequency domain of the first time-frequency resource unit, the relative position of the frequency domain in the first time-frequency resource pattern may be a negative number for illustration.
例如,以时频资源单元为一个资源块为例。若第一时频资源图案表示的位置关系为时域相差1个资源块RB、频域相差+1个资源块RB。如图10所示,图10中的用斜线填充的小方格表示第二时频资源,即第二终端装置预约的用于发送第二数据包的时频资源,图10中的第一时间窗内除用斜线填充的小方格以外的时频资源为候选时频资源,第一终端装置可以在候选时频资源中随机选取一个资源块为第一时频资源单元,该第一时频资源单元可以为图10中的RB1。第一终端装置根据第一时频资源图案以及RB1,在候选时频资源中确定与RB1时域相差1个RB且频域相差+1个RB的资源块,由于第一时频资源图案中频域相差正数个资源块,因此第二时频资源单元的频域高于第一时频资源单元的频域,且频域的有效偏移位置为1个资源块,而且第二时频资源单元的时域大于第一时频资源单元的时域,且时域的有效偏移位置为1个资源块,如图10所示,该第二时频资源单元为RB2。For example, take the time-frequency resource unit as a resource block as an example. If the position relationship indicated by the first time-frequency resource pattern is a time domain difference of 1 resource block RB, and a frequency domain difference of +1 resource block RB. As shown in Figure 10, the small square filled with diagonal lines in Figure 10 represents the second time-frequency resource, that is, the time-frequency resource reserved by the second terminal device for sending the second data packet. The time-frequency resources in the time window other than the small squares filled with diagonal lines are candidate time-frequency resources. The first terminal device may randomly select a resource block from the candidate time-frequency resources as the first time-frequency resource unit. The time-frequency resource unit may be RB1 in FIG. 10. According to the first time-frequency resource pattern and RB1, the first terminal device determines, among the candidate time-frequency resources, a resource block that is 1 RB apart from RB1 in the time domain and +1 RB in the frequency domain, because the frequency domain in the first time-frequency resource pattern The difference is a positive number of resource blocks, so the frequency domain of the second time-frequency resource unit is higher than the frequency domain of the first time-frequency resource unit, and the effective offset position of the frequency domain is 1 resource block, and the second time-frequency resource unit The time domain of is greater than the time domain of the first time-frequency resource unit, and the effective offset position of the time domain is 1 resource block. As shown in FIG. 10, the second time-frequency resource unit is RB2.
需要说明的是,上述多个时频资源单元也可以为三个或三个以上时频资源单元,本申请实施例对此并不进行限定,在此仅是以多个时频资源单元为两个时频资源单元 为例进行说明。It should be noted that the above-mentioned multiple time-frequency resource units may also be three or more time-frequency resource units, which is not limited in the embodiment of the present application. Here, the multiple time-frequency resource units constitute two A time-frequency resource unit is taken as an example for description.
可选的,上述第一终端装置在第一时间窗内的第三时频资源发送第一资源指示信息,可以包括:第一终端装置在上述多个时频资源单元,分别发送第一资源指示信息。Optionally, that the first terminal device sends the first resource indication information on the third time-frequency resource in the first time window may include: the first terminal device sends the first resource indication to the multiple time-frequency resource units respectively information.
示例性的,第一终端装置可以在上述步骤c中确定的第一时频资源单元和第二时频资源单元,分别发送第一资源指示信息。即第一终端装置可以发送多份第一资源指示信息。Exemplarily, the first terminal device may send the first resource indication information respectively in the first time-frequency resource unit and the second time-frequency resource unit determined in step c. That is, the first terminal device may send multiple copies of the first resource indication information.
可以理解的,由于第一终端装置和第二终端装置的第一时频资源图案不同,即第一终端装置发送多份第一资源指示信息的多个时频资源之间的相对位置关系,与第二终端装置发送多份第二资源指示信息的多个时频资源之间的相对位置关系不同,因此,第一终端装置发送多份第一资源指示信息的多个时频资源与第二终端装置发送多份第二资源指示信息的多个时频资源不会完全重合,能够降低第一终端装置发送第一资源指示信息的时频资源与第二终端装置发送第二资源指示信息的时频资源发生碰撞的概率,从而提高了资源指示信息的可靠性。It can be understood that because the first terminal device and the second terminal device have different first time-frequency resource patterns, that is, the relative positional relationship between the multiple time-frequency resources for which the first terminal device sends multiple copies of the first resource indication information, and The relative positional relationship between the multiple time-frequency resources for which the second terminal device sends multiple copies of the second resource indication information is different. Therefore, the first terminal device sends multiple copies of the first resource indication information for the multiple time-frequency resources and the second terminal The multiple time-frequency resources for sending multiple copies of the second resource indication information by the device will not completely overlap, which can reduce the time-frequency resource for the first terminal device to send the first resource indication information and the time-frequency for the second terminal device to send the second resource indication information. The probability of resource collision, thereby improving the reliability of resource indication information.
可以理解的,由于第一时频资源单元和第二时频资源单元是从候选时频资源中确定的,而候选时频资源为第一时间窗内未被第二终端装置预约用于发送数据包的时频资源,因此,第一终端装置发送多份第一资源指示信息的第一时频资源单元和第二时频资源单元,不会与第二终端装置发送第二数据包的第二时频资源之间发生碰撞,提高资源指示信息和业务传输的可靠性。It is understandable that the first time-frequency resource unit and the second time-frequency resource unit are determined from the candidate time-frequency resources, and the candidate time-frequency resources are not reserved for sending data by the second terminal device in the first time window Therefore, the first time-frequency resource unit and the second time-frequency resource unit that the first terminal device sends multiple copies of the first resource indication information will not send the second data packet with the second terminal device. Collision occurs between time and frequency resources, which improves the reliability of resource indication information and service transmission.
S404、第一终端装置在第一时频资源发送第一数据包。S404: The first terminal device sends the first data packet in the first time-frequency resource.
示例性的,该第一时频资源为第一资源指示信息指示的时频资源,第一终端装置在其预约的第一时频资源发送第一数据包。Exemplarily, the first time-frequency resource is the time-frequency resource indicated by the first resource indication information, and the first terminal device transmits the first data packet on the first time-frequency resource reserved by the first terminal device.
可以理解的,本申请实施例中第一终端装置根据第二资源指示信息获知了第一时间窗内的资源预约情况,并在第一时间窗内未被第二终端装置预约用于发送第二数据包的时频资源中,确定了用于发送第一资源指示信息的第三时频资源,因此,避免了第一终端装置发送第一资源指示信息的第三时频资源与第二终端装置预约发送第二数据包的第二时频资源之间发生碰撞。而且由于第一终端装置发送第一资源指示信息的时频资源与第一终端装置发送第一数据的时频资源之间间隔了间隔时间窗,因此第一终端装置发送第一资源指示信息的时频资源,不会与其他第二终端装置发送第二数据包的时频资源发生碰撞,提高了资源指示信息的可靠性,使得网络的传输效率较高。It is understandable that in this embodiment of the application, the first terminal device learns the resource reservation in the first time window according to the second resource indication information, and is not reserved by the second terminal device for sending the second time window within the first time window. In the time-frequency resource of the data packet, the third time-frequency resource used to send the first resource indication information is determined. Therefore, the third time-frequency resource for sending the first resource indication information by the first terminal device and the second terminal device are avoided A collision occurs between the second time-frequency resources scheduled to send the second data packet. Moreover, because there is an interval time window between the time-frequency resource for sending the first resource indication information by the first terminal device and the time-frequency resource for sending the first data by the first terminal device, the time when the first terminal device sends the first resource indication information The frequency resource does not collide with the time-frequency resource of the second data packet sent by other second terminal devices, which improves the reliability of the resource indication information and makes the transmission efficiency of the network higher.
本申请实施例提供一种通信方法,通过第一终端装置获取第一时间窗、第二时间窗,以及第一时间窗和第二时间窗之间的间隔时间窗的长度;第一终端装置在时间点n之前检测来自第二终端装置的第二资源指示信息,该第二资源指示信息用于指示第二终端装置发送第二数据包的第二时频资源;第一终端装置在时间点n根据第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源;第一终端装置在第一时间窗[n,n+t1]内发送第一资源指示信息,第一资源指示信息用于指示第一时频资源;第一终端装置在第一时频资源发送第一数据包。由于本实施例中第一终端装置在第一时间窗内发送第一资源指示信息,在第二时间窗内发送第一数据包,第一时间窗和第二时间窗之间间隔了间隔时间窗,而且第一终端装置发送第一资源指示信息的第三时频资源,是在第一时间窗内除第二时频资源以外的时频资源中确定的,因此,第一终端装 置发送第一资源指示信息的时频资源,不会与其他第二终端装置发送第二数据包的时频资源发生碰撞,提高了资源指示信息的可靠性,使得网络的传输效率较高。而且本实施例通过从第二时间窗内除第二时频资源以外的时频资源中确定第一时频资源,避免了第一终端装置发送第一数据包的时频资源与第二终端装置发送第二数据包的时频资源之间发生碰撞,提高了数据传输的可靠性。An embodiment of the present application provides a communication method that obtains a first time window, a second time window, and the length of an interval time window between the first time window and the second time window through a first terminal device; The second resource indication information from the second terminal device is detected before the time point n, and the second resource indication information is used to instruct the second terminal device to send the second time-frequency resource of the second data packet; the first terminal device is at the time point n Determine the first time-frequency resource from the second time window [n+t2, n+t3] according to the second resource indication information; the first terminal device sends the first resource indication in the first time window [n, n+t1] Information, the first resource indication information is used to indicate the first time-frequency resource; the first terminal device sends the first data packet on the first time-frequency resource. Since the first terminal device in this embodiment sends the first resource indication information in the first time window and sends the first data packet in the second time window, there is an interval time window between the first time window and the second time window , And the third time-frequency resource for sending the first resource indication information by the first terminal device is determined in the time-frequency resource other than the second time-frequency resource in the first time window. Therefore, the first terminal device sends the first The time-frequency resource of the resource indication information will not collide with the time-frequency resource of the second data packet sent by other second terminal devices, which improves the reliability of the resource indication information and makes the transmission efficiency of the network higher. Moreover, in this embodiment, the first time-frequency resource is determined from time-frequency resources other than the second time-frequency resource in the second time window, thereby avoiding the time-frequency resource of the first terminal device sending the first data packet and the second terminal device. A collision occurs between the time-frequency resources for sending the second data packet, which improves the reliability of data transmission.
上述主要从方法步骤的角度对本申请实施例提供的方案进行了介绍。可以理解的是,通信设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的模块及算法步骤,本申请能够以硬件和计算机软件的结合形式来实现。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided in the embodiments of the present application from the perspective of method steps. It can be understood that, in order to implement the above-mentioned functions, the communication device includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that, in combination with the modules and algorithm steps of the examples described in the embodiments disclosed herein, this application can be implemented in a combination of hardware and computer software. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对通信设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the communication device into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图11示出了一种终端装置可能的结构示意图,该通信装置可以为上述实施例中的第一终端装置。该终端装置1100包括:处理单元1101、收发单元1102。处理单元1101用于对终端装置1100的动作进行控制管理。例如,处理单元1101可以用于执行图4中的步骤S402,和/或用于本文所描述的技术的其它过程。收发单元1102用于收发信息,或者用于与其他网元通信。例如,收发单元1102可以用于执行图4中的步骤S401和S403-S404,和/或用于本文所描述的技术的其它过程。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。In the case of dividing each functional module corresponding to each function, FIG. 11 shows a possible structural schematic diagram of a terminal device, and the communication device may be the first terminal device in the foregoing embodiment. The terminal device 1100 includes a processing unit 1101 and a transceiver unit 1102. The processing unit 1101 is used to control and manage the actions of the terminal device 1100. For example, the processing unit 1101 may be used to perform step S402 in FIG. 4, and/or other processes used in the technology described herein. The transceiver unit 1102 is used to send and receive information, or to communicate with other network elements. For example, the transceiver unit 1102 can be used to perform steps S401 and S403-S404 in FIG. 4, and/or other processes used in the technology described herein. Among them, all relevant content of each step involved in the above method embodiment can be cited in the function description of the corresponding function module, and will not be repeated here.
在采用对应各个功能划分各个功能模块的情况下,图12示出了一种网络设备可能的结构示意图。该网络设备1200包括:处理单元1201和收发单元1202。其中,处理单元1201,用于对网络设备1200的动作进行控制管理。例如,处理单元1201可以用于确定第一指示信息,该第一指示信息用于指示上述第一时间窗、第二时间窗、以及第一时间窗与第二时间窗之间的间隔时间窗的长度。收发单元1202用于收发信息,或者用于与其他网元通信。例如,收发单元1202可以用于向第一终端装置发送第一指示信息。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。In the case of dividing each functional module corresponding to each function, FIG. 12 shows a possible structural diagram of a network device. The network device 1200 includes a processing unit 1201 and a transceiver unit 1202. The processing unit 1201 is used to control and manage the actions of the network device 1200. For example, the processing unit 1201 may be used to determine first indication information, which is used to indicate the value of the first time window, the second time window, and the interval time window between the first time window and the second time window. length. The transceiver unit 1202 is used to send and receive information, or to communicate with other network elements. For example, the transceiving unit 1202 may be used to send the first indication information to the first terminal device. Among them, all relevant content of each step involved in the above method embodiment can be cited in the function description of the corresponding function module, and will not be repeated here.
在采用集成的单元的情况下,图13示出了一种终端装置可能的结构示意图,该终端装置可以为上述实施例中的第一终端装置。该终端装置1300包括:处理器1301和收发器1302,该处理器1301用于对终端装置1300的动作进行控制管理,例如,处理器1301可以用于执行图4中的S402,和/或用于本文所描述的技术的其它过程。该收发器1302用于收发信息,或者用于与其他网元通信。例如,收发器1302用于执行图4中的步骤S401和S403-S404,和/或用于本文所描述的技术的其它过程。可选的,上述终端装置1300还可以包括存储器1303,该存储器1303用于存储终端装置1300执 行上文所提供的任一通信方法所对应的程序代码和数据。该存储器1303可以为只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。该终端装置1300可以为图3所示的终端装置300,上述图3涉及的各部件的所有相关内容的描述均可以援引到图13对应部件的功能描述,在此不再赘述。In the case of using an integrated unit, FIG. 13 shows a schematic diagram of a possible structure of a terminal device, and the terminal device may be the first terminal device in the foregoing embodiment. The terminal device 1300 includes a processor 1301 and a transceiver 1302. The processor 1301 is used to control and manage the actions of the terminal device 1300. For example, the processor 1301 may be used to execute S402 in FIG. 4, and/or used to Other processes of the technique described in this article. The transceiver 1302 is used to send and receive information, or to communicate with other network elements. For example, the transceiver 1302 is used to perform steps S401 and S403-S404 in FIG. 4, and/or other processes used in the technology described herein. Optionally, the aforementioned terminal device 1300 may further include a memory 1303, and the memory 1303 is configured to store program codes and data corresponding to the terminal device 1300 executing any of the communication methods provided above. The memory 1303 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc. The terminal device 1300 may be the terminal device 300 shown in FIG. 3, and the description of all related content of the components involved in FIG. 3 can be quoted from the functional description of the corresponding components in FIG. 13, which will not be repeated here.
在采用集成的单元的情况下,图14示出了一种网络设备可能的结构示意图。该网络设备1400包括:处理器1401和收发器1402,该处理器1401用于对网络设备1400的动作进行控制管理。例如,处理器1401可以用于确定第一指示信息,该第一指示信息用于指示上述第一时间窗、第二时间窗、以及第一时间窗与第二时间窗之间的间隔时间窗的长度,和/或用于本文所描述的技术的其它过程。该收发器1402用于收发信息,或者用于与其他网元通信。例如,收发器1402可以用于向第一终端装置发送第一指示信息,和/或用于本文所描述的技术的其它过程。可选的,上述网络设备1400还可以包括存储器1403,该存储器1403用于存储网络设备1400执行上文所提供的任一通信方法所对应的程序代码和数据。该存储器1403可以为只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。In the case of using an integrated unit, FIG. 14 shows a possible structure diagram of a network device. The network device 1400 includes a processor 1401 and a transceiver 1402, and the processor 1401 is configured to control and manage the actions of the network device 1400. For example, the processor 1401 may be used to determine first indication information, which is used to indicate the first time window, the second time window, and the interval time window between the first time window and the second time window. Length, and/or other processes used in the techniques described herein. The transceiver 1402 is used to send and receive information, or to communicate with other network elements. For example, the transceiver 1402 may be used to send the first indication information to the first terminal device, and/or used in other processes of the technology described herein. Optionally, the aforementioned network device 1400 may further include a memory 1403, and the memory 1403 is configured to store the program code and data corresponding to any of the communication methods provided by the network device 1400. The memory 1403 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。The steps of the method or algorithm described in conjunction with the disclosure of this application can be implemented in a hardware manner, or implemented in a manner in which a processor executes software instructions. Software instructions can be composed of corresponding software modules, which can be stored in random access memory (Random Access Memory, RAM), flash memory, erasable programmable read-only memory (Erasable Programmable ROM, EPROM), and electrically erasable Programming read-only memory (Electrically EPROM, EEPROM), register, hard disk, mobile hard disk, CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in the core network interface device. Of course, the processor and the storage medium may also exist as discrete components in the core network interface device.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that in one or more of the above examples, the functions described in this application can be implemented by hardware, software, firmware or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on the computer-readable medium. Computer readable media include computer storage media and communication media, where communication media includes any media that facilitates the transfer of computer programs from one place to another. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The specific implementations described above further describe the purpose, technical solutions and beneficial effects of this application in detail. It should be understood that the above are only specific implementations of this application and are not intended to limit the scope of this application. The protection scope, any modification, equivalent replacement, improvement, etc. made on the basis of the technical solution of this application shall be included in the protection scope of this application.

Claims (24)

  1. 一种通信方法,其特征在于,所述方法包括:A communication method, characterized in that the method includes:
    第一终端装置在时间点n之前检测来自第二终端装置的第二资源指示信息,所述第二资源指示信息用于指示所述第二终端装置发送第二数据包的第二时频资源;The first terminal device detects the second resource indication information from the second terminal device before the time point n, where the second resource indication information is used to instruct the second terminal device to send the second time-frequency resource of the second data packet;
    所述第一终端装置在所述时间点n根据所述第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源,所述第一时频资源用于发送第一数据包;The first terminal device determines a first time-frequency resource from a second time window [n+t2, n+t3] at the time point n according to the second resource indication information, and the first time-frequency resource is used To send the first data packet;
    所述第一终端装置在第一时间窗[n,n+t1]内发送第一资源指示信息,所述第一资源指示信息用于指示所述第一时频资源;其中,t1≠t2且t2>t1;The first terminal device sends first resource indication information within a first time window [n, n+t1], where the first resource indication information is used to indicate the first time-frequency resource; where t1≠t2 and t2>t1;
    所述第一终端装置在所述第一时频资源发送所述第一数据包。The first terminal device sends the first data packet on the first time-frequency resource.
  2. 根据权利要求1所述的方法,其特征在于,所述第一时间窗[n,n+t1]与所述第二时间窗[n+t2,n+t3]之间的间隔时间窗[n+t1,n+t2],与所述第一时间窗[n,n+t1],以及所述第二时间窗[n+t2,n+t3]长度相等。The method of claim 1, wherein the interval time window [n] between the first time window [n, n+t1] and the second time window [n+t2, n+t3] +t1, n+t2], which are equal in length to the first time window [n, n+t1] and the second time window [n+t2, n+t3].
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    所述第一终端装置从网络设备接收第一指示信息,所述第一指示信息用于指示所述第一时间窗、所述第二时间窗、以及所述第一时间窗与所述第二时间窗之间的间隔时间窗的长度;或The first terminal device receives first indication information from a network device, where the first indication information is used to indicate the first time window, the second time window, and the first time window and the second time window The length of the time window; or
    所述第一时间窗、所述第二时间窗、以及所述第一时间窗与所述第二时间窗之间的间隔时间窗的长度为预定义的。The lengths of the first time window, the second time window, and the interval time window between the first time window and the second time window are predefined.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述第二时频资源位于所述第一时间窗[n,n+t1]内;所述方法还包括:The method according to any one of claims 1 to 3, wherein the second time-frequency resource is located within the first time window [n, n+t1]; the method further comprises:
    所述第一终端装置从所述第一时间窗[n,n+t1]内除所述第二时频资源以外的时频资源中确定第三时频资源,所述第三时频资源用于发送所述第一资源指示信息。The first terminal device determines a third time-frequency resource from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1], and the third time-frequency resource is used To send the first resource indication information.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述第二时频资源位于所述第二时间窗[n+t2,n+t3]内;The method according to any one of claims 1 to 4, wherein the second time-frequency resource is located within the second time window [n+t2, n+t3];
    所述第一终端装置在所述时间点n根据所述第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源,包括:The first terminal device determining the first time-frequency resource from the second time window [n+t2, n+t3] according to the second resource indication information at the time point n includes:
    所述第一终端装置从所述第二时间窗[n+t2,n+t3]内除所述第二时频资源以外的时频资源中确定所述第一时频资源。The first terminal device determines the first time-frequency resource from time-frequency resources other than the second time-frequency resource in the second time window [n+t2, n+t3].
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述第二时频资源位于所述第二时间窗[n+t2,n+t3]内,所述第二时间窗[n+t2,n+t3]内除所述第二时频资源以外的时频资源小于所述第一时频资源,且所述第一数据包的优先级高于所述第二数据包的优先级;The method according to any one of claims 1-5, wherein the second time-frequency resource is located in the second time window [n+t2, n+t3], and the second time window The time-frequency resources other than the second time-frequency resource in [n+t2, n+t3] are smaller than the first time-frequency resource, and the priority of the first data packet is higher than that of the second data packet Priority
    所述第一终端装置在所述时间点n根据所述第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源,包括:The first terminal device determining the first time-frequency resource from the second time window [n+t2, n+t3] according to the second resource indication information at the time point n includes:
    所述第一终端装置从所述第二时频资源中确定用于发送所述第一数据包的时频资源。The first terminal device determines, from the second time-frequency resource, the time-frequency resource used to send the first data packet.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    所述第一终端装置向所述第二终端装置发送通知消息,所述通知消息用于指示所述第二时频资源中的部分或全部时频资源用于所述第一终端装置发送所述第一数据包。The first terminal device sends a notification message to the second terminal device, where the notification message is used to indicate that part or all of the second time-frequency resources are used by the first terminal device to send the The first data packet.
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述第一终端装置在所述第一时间窗[n,n+t1]内发送第一资源指示信息,包括:The method according to any one of claims 1-7, wherein the first terminal device sending first resource indication information within the first time window [n, n+t1] comprises:
    所述第一终端装置根据第一时频资源图案,在所述第一时间窗[n,n+t1]内的多个时频资源单元,分别多次发送所述第一资源指示信息;其中,所述多个时频资源单元为所述第一时间窗[n,n+t1]内除所述第二时频资源以外的时频资源中的时频资源单元,所述第一时频资源图案用于指示所述多个时频资源单元之间的时频域相对位置关系。The first terminal device sends the first resource indication information multiple times in multiple time-frequency resource units within the first time window [n, n+t1] according to the first time-frequency resource pattern; wherein , The multiple time-frequency resource units are time-frequency resource units in time-frequency resources other than the second time-frequency resource within the first time window [n, n+t1], and the first time-frequency resource The resource pattern is used to indicate the relative positional relationship between the multiple time-frequency resource units in the time-frequency domain.
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,所述第一资源指示信息和所述第二资源指示信息承载在广播消息中。The method according to any one of claims 1-8, wherein the first resource indication information and the second resource indication information are carried in a broadcast message.
  10. 一种通信方法,其特征在于,所述方法包括:A communication method, characterized in that the method includes:
    网络设备确定第一指示信息,所述第一指示信息用于指示第一时间窗、第二时间窗、以及所述第一时间窗与所述第二时间窗之间的间隔时间窗的长度,其中,所述第一时间窗用于第一终端装置发送资源指示信息,所述第二时间窗用于所述第一终端装置发送数据包;The network device determines first indication information, where the first indication information is used to indicate the length of the first time window, the second time window, and the interval time window between the first time window and the second time window, Wherein, the first time window is used for the first terminal device to send resource indication information, and the second time window is used for the first terminal device to send data packets;
    所述网络设备向所述第一终端装置发送所述第一指示信息。The network device sends the first indication information to the first terminal device.
  11. 根据权利要求10所述的方法,其特征在于,所述第一时间窗、所述第二时间窗和所述间隔时间窗的长度相等。The method according to claim 10, wherein the length of the first time window, the second time window and the interval time window are equal.
  12. 一种装置,其特征在于,所述装置包括处理单元和收发单元;A device, characterized in that the device includes a processing unit and a transceiver unit;
    所述收发单元,用于在时间点n之前检测来自第二终端装置的第二资源指示信息,所述第二资源指示信息用于指示所述第二终端装置发送第二数据包的第二时频资源;The transceiving unit is configured to detect the second resource indication information from the second terminal device before the time point n, and the second resource indication information is used to indicate the second time when the second terminal device sends the second data packet. Frequency resources
    所述处理单元,用于在所述时间点n根据所述第二资源指示信息从第二时间窗[n+t2,n+t3]中确定第一时频资源,所述第一时频资源用于发送第一数据包;The processing unit is configured to determine a first time-frequency resource from a second time window [n+t2, n+t3] at the time point n according to the second resource indication information, and the first time-frequency resource Used to send the first data packet;
    所述收发单元,还用于在第一时间窗[n,n+t1]内发送第一资源指示信息,所述第一资源指示信息用于指示所述第一时频资源;其中,t1≠t2且t2>t1;The transceiver unit is further configured to send first resource indication information within a first time window [n, n+t1], where the first resource indication information is used to indicate the first time-frequency resource; where t1≠ t2 and t2>t1;
    所述收发单元,还用于在所述第一时频资源发送所述第一数据包。The transceiver unit is further configured to send the first data packet in the first time-frequency resource.
  13. 根据权利要求12所述的装置,其特征在于,所述第一时间窗[n,n+t1]与所述第二时间窗[n+t2,n+t3]之间的间隔时间窗[n+t1,n+t2],与所述第一时间窗[n,n+t1],以及所述第二时间窗[n+t2,n+t3]长度相等。The device according to claim 12, wherein the interval time window [n] between the first time window [n, n+t1] and the second time window [n+t2, n+t3] +t1, n+t2], which are equal in length to the first time window [n, n+t1] and the second time window [n+t2, n+t3].
  14. 根据权利要求12或13所述的装置,其特征在于,The device according to claim 12 or 13, characterized in that:
    所述收发单元,还用于从网络设备接收第一指示信息,所述第一指示信息用于指示所述第一时间窗、所述第二时间窗、以及所述第一时间窗与所述第二时间窗之间的间隔时间窗的长度;或,The transceiving unit is further configured to receive first indication information from a network device, where the first indication information is used to indicate the first time window, the second time window, and the first time window and the The length of the interval time window between the second time windows; or,
    所述第一时间窗、所述第二时间窗、以及所述第一时间窗与所述第二时间窗之间的间隔时间窗的长度为预定义的。The lengths of the first time window, the second time window, and the interval time window between the first time window and the second time window are predefined.
  15. 根据权利要求12至14中任一项所述的装置,其特征在于,所述第二时频资源位于所述第一时间窗[n,n+t1]内;The apparatus according to any one of claims 12 to 14, wherein the second time-frequency resource is located within the first time window [n, n+t1];
    所述处理单元,还用于从所述第一时间窗[n,n+t1]内除所述第二时频资源以外的时频资源中确定第三时频资源,所述第三时频资源用于发送所述第一资源指示信息。The processing unit is further configured to determine a third time-frequency resource from time-frequency resources other than the second time-frequency resource in the first time window [n, n+t1], and the third time-frequency resource The resource is used to send the first resource indication information.
  16. 根据权利要求12至15中任一项所述的装置,其特征在于,所述第二时频资源位于所述第二时间窗[n+t2,n+t3]内;The apparatus according to any one of claims 12 to 15, wherein the second time-frequency resource is located within the second time window [n+t2, n+t3];
    所述处理单元,具体用于从所述第二时间窗[n+t2,n+t3]内除所述第二时频资源以外的时频资源中确定所述第一时频资源。The processing unit is specifically configured to determine the first time-frequency resource from time-frequency resources other than the second time-frequency resource in the second time window [n+t2, n+t3].
  17. 根据权利要求12-16中任一项所述的装置,其特征在于,所述第二时频资源位于所述第二时间窗[n+t2,n+t3]内,所述第二时间窗[n+t2,n+t3]内除所述第二时频资源以外的时频资源小于所述第一时频资源,且所述第一数据包的优先级高于所述第二数据包的优先级;The apparatus according to any one of claims 12-16, wherein the second time-frequency resource is located within the second time window [n+t2, n+t3], and the second time window The time-frequency resources other than the second time-frequency resource in [n+t2, n+t3] are smaller than the first time-frequency resource, and the priority of the first data packet is higher than that of the second data packet Priority
    所述处理单元,具体用于从所述第二时频资源中确定用于发送所述第一数据包的时频资源。The processing unit is specifically configured to determine a time-frequency resource used to send the first data packet from the second time-frequency resource.
  18. 根据权利要求17所述的装置,其特征在于,所述收发单元,还用于:The device according to claim 17, wherein the transceiver unit is further configured to:
    向所述第二终端装置发送通知消息,所述通知消息用于指示所述第二时频资源中的部分或全部时频资源用于所述收发单元发送所述第一数据包。Send a notification message to the second terminal device, where the notification message is used to indicate that part or all of the time-frequency resources in the second time-frequency resource are used by the transceiver unit to send the first data packet.
  19. 根据权利要求12-18中任一项所述的装置,其特征在于,所述收发单元,具体用于:The device according to any one of claims 12-18, wherein the transceiver unit is specifically configured to:
    根据第一时频资源图案,在所述第一时间窗[n,n+t1]内的多个时频资源单元,分别多次发送所述第一资源指示信息;其中,所述多个时频资源单元为所述第一时间窗[n,n+t1]内,除所述第二时频资源以外的时频资源中的时频资源单元,所述第一时频资源图案用于指示所述多个时频资源单元之间的时频域相对位置关系。According to the first time-frequency resource pattern, the multiple time-frequency resource units within the first time window [n, n+t1] respectively send the first resource indication information multiple times; wherein, the multiple time-frequency resource units The frequency resource unit is a time-frequency resource unit in a time-frequency resource other than the second time-frequency resource within the first time window [n, n+t1], and the first time-frequency resource pattern is used to indicate The relative positional relationship between the multiple time-frequency resource units in the time-frequency domain.
  20. 根据权利要求12-19中任一项所述的装置,其特征在于,所述第一资源指示信息和所述第二资源指示信息承载在广播消息中。The apparatus according to any one of claims 12-19, wherein the first resource indication information and the second resource indication information are carried in a broadcast message.
  21. 一种网络设备,其特征在于,所述网络设备包括处理单元和收发单元;A network device, characterized in that the network device includes a processing unit and a transceiver unit;
    所述处理单元,用于确定第一指示信息,所述第一指示信息用于指示第一时间窗、第二时间窗、以及所述第一时间窗与所述第二时间窗之间的间隔时间窗的长度,其中,所述第一时间窗用于第一终端装置发送资源指示信息,所述第二时间窗用于所述第一终端装置发送数据包;The processing unit is configured to determine first indication information, where the first indication information is used to indicate a first time window, a second time window, and an interval between the first time window and the second time window The length of the time window, wherein the first time window is used for the first terminal device to send resource indication information, and the second time window is used for the first terminal device to send data packets;
    所述收发单元,用于向所述第一终端装置发送所述第一指示信息。The transceiver unit is configured to send the first indication information to the first terminal device.
  22. 根据权利要求21所述的网络设备,其特征在于,所述第一时间窗、所述第二时间窗和所述间隔时间窗的长度相等。The network device according to claim 21, wherein the length of the first time window, the second time window and the interval time window are equal.
  23. 一种计算机存储介质,所述计算机存储介质中具有计算机程序代码,其特征在于,当所述计算机程序代码在处理器上运行时,使得计算机执行如权利要求1-11中任一项所述的通信方法。A computer storage medium having computer program code in the computer storage medium, wherein when the computer program code is run on a processor, the computer is caused to execute any one of claims 1-11 Communication method.
  24. 一种通信装置,其特征在于,所述通信装置包括:A communication device, characterized in that the communication device includes:
    输入输出接口,用于与其他网元通信;Input and output interface, used to communicate with other network elements;
    处理器,用于执行计算机程序指令,以实现如权利要求1-11中任一项所述的通信方法。The processor is configured to execute computer program instructions to implement the communication method according to any one of claims 1-11.
PCT/CN2020/095451 2019-06-27 2020-06-10 Communication method and apparatus WO2020259293A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910564407.XA CN112153737B (en) 2019-06-27 2019-06-27 Communication method and device
CN201910564407.X 2019-06-27

Publications (1)

Publication Number Publication Date
WO2020259293A1 true WO2020259293A1 (en) 2020-12-30

Family

ID=73870050

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/095451 WO2020259293A1 (en) 2019-06-27 2020-06-10 Communication method and apparatus

Country Status (2)

Country Link
CN (1) CN112153737B (en)
WO (1) WO2020259293A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022141465A1 (en) * 2020-12-31 2022-07-07 华为技术有限公司 Resource selection method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559877A (en) * 2015-09-24 2017-04-05 中兴通讯股份有限公司 The sending method and device of car networking business, resource allocation method and device
US20180279259A1 (en) * 2017-03-24 2018-09-27 Qualcomm Incorporated Low latency enhancements to cv2x autonomous resource selection and re-selection procedure for vehicle-to-vehicle communications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559877A (en) * 2015-09-24 2017-04-05 中兴通讯股份有限公司 The sending method and device of car networking business, resource allocation method and device
US20180279259A1 (en) * 2017-03-24 2018-09-27 Qualcomm Incorporated Low latency enhancements to cv2x autonomous resource selection and re-selection procedure for vehicle-to-vehicle communications

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "Discussion on P2x", 3GPP TSG RAN WG1 MEETING #86 R1-166965, 26 August 2016 (2016-08-26), XP051140467, DOI: 20200810163029A *
ERICSSON: "On Mode 2 Resource Allocation for NR Sidelink", 3GPP TSG-RAN WG1 MEETING #95 R1-1813641, 16 November 2018 (2018-11-16), XP051555699, DOI: 20200810162754X *
ERICSSON: "On Mode 2 Resource Allocation for NR Sidelink", 3GPP TSG-RAN WG1 MEETING #95 R1-1813641, 16 November 2018 (2018-11-16), XP051555699, DOI: 20200810162855Y *

Also Published As

Publication number Publication date
CN112153737A (en) 2020-12-29
CN112153737B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
JP7416933B2 (en) Method, apparatus, and system for transmitting sidelink channel status information reports
US11979859B2 (en) Methods and systems for autonomous sidelink resource allocation
US20180234989A1 (en) Message Transmission Method and User Equipment
CN114208319A (en) Information transmission method, device, equipment and storage medium
JP2019503626A (en) Communication method, network side device, and terminal
JP2019527976A (en) Resource indexing in D2D
WO2021031043A1 (en) Communication method and device
WO2017049490A1 (en) Scheduling assignment processing method, apparatus and device
WO2024036671A1 (en) Sidelink communication method and apparatus
CN113518381A (en) Resource determination method and device and terminal equipment
KR20220054310A (en) Method and apparatus for transmitting feedback information
WO2019196922A1 (en) Resource allocation method, apparatus, and system
WO2021036834A1 (en) Resource indication method and apparatus
WO2020221313A1 (en) Communication method and apparatus
WO2020259293A1 (en) Communication method and apparatus
WO2019051654A1 (en) Method and device for determining resource of logical channel, and computer storage medium
WO2022213828A1 (en) Method and apparatus for resource determination
WO2021228163A1 (en) Method, apparatus and system for determining resource
CN110178404B (en) Resource use method, related device and system
JP2024511225A (en) Resource selection for power saving users in NR SIDELINK
CN115604825A (en) Sideline communication method and device
WO2017135883A1 (en) Methods and apparatus for device-to-device communication in a wireless network
WO2021056213A1 (en) Wireless communication method and device
CN114916048A (en) Sidelink communication method and device
WO2017050123A1 (en) Method and device for sending information

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20832701

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20832701

Country of ref document: EP

Kind code of ref document: A1