WO2021204091A1 - 一种清空缓存的方法及装置 - Google Patents

一种清空缓存的方法及装置 Download PDF

Info

Publication number
WO2021204091A1
WO2021204091A1 PCT/CN2021/085423 CN2021085423W WO2021204091A1 WO 2021204091 A1 WO2021204091 A1 WO 2021204091A1 CN 2021085423 W CN2021085423 W CN 2021085423W WO 2021204091 A1 WO2021204091 A1 WO 2021204091A1
Authority
WO
WIPO (PCT)
Prior art keywords
harq process
control information
data
information
receiving device
Prior art date
Application number
PCT/CN2021/085423
Other languages
English (en)
French (fr)
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 WO2021204091A1 publication Critical patent/WO2021204091A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1812Hybrid protocols; Hybrid automatic repeat request [HARQ]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • H04L5/0055Physical resource allocation for ACK/NACK
    • 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/20Control channels or signalling for resource management
    • H04W72/21Control channels or signalling for resource management in the uplink direction of a wireless link, i.e. towards the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/23Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a method and device for clearing a cache.
  • the terminal device and the terminal device can communicate wirelessly through a direct link, such as a sidelink (SL).
  • a direct link such as a sidelink (SL).
  • the HARQ mechanism is introduced in the V2X communication system, and HARQ uses a stop-and-wait protocol to send data.
  • the stop-and-wait protocol after the sender sends a transport block (TB), it stops and waits for the confirmation message.
  • the receiving end can use 1-bit information to acknowledge the TB (acknowledgement, ACK). ) Or a non-acknowledgement (NACK) confirmation.
  • ACK transport block
  • NACK non-acknowledgement
  • HARQ processes multiple parallel HARQ processes (HARQ processes) are used.
  • HARQ processes When one HARQ process is waiting for confirmation information, the sender can use another HARQ process to continue sending data.
  • HARQ processes together form a HARQ entity (HARQ entity), which combines the stop-and-wait protocol while allowing continuous data transmission.
  • a buffer associated with the HARQ process is maintained at both ends of the transceiver, and a certain TB transmitted through the HARQ process is buffered with the buffer.
  • the originator clears the buffer associated with the HARQ process used to transmit the TB, and uses the cleared buffer to buffer the newly transmitted TB.
  • this method of clearing the buffer can easily clear other TBs being processed, which affects the data transmission between the receiving and sending ends.
  • the embodiments of the present application provide a method and system for clearing a cache
  • an embodiment of the present application provides a method for clearing a cache.
  • the method may be executed by a receiving device, a chip, or another device. Taking the execution of the receiving device as an example, the method may include: the receiving device receives the first information including the first information. One control information, the first control information is used to schedule the first data; the receiving device determines that the first hybrid automatic repeat request HARQ process is associated with the first control information; the receiving device determines that the first HARQ process is associated with the second control information, and/ Or, the buffer associated with the first HARQ process includes second data scheduled by the second control information, the second control information includes second information, and the second information is different from the first information; the receiving device does not clear the buffer of the first HARQ process.
  • the receiving device can receive the information indicating the feature information of the receiving device that is allowed to access the cell sent by the sending device in the cell, and determine itself according to the instructions of the sending device and its own feature information Whether you can access the cell.
  • the sending device can indicate which characteristics of the receiving device are allowed/not allowed to access the cell, which improves the flexibility of the network side to control cell access, and helps the network side to perform service control and flow control.
  • the first information includes one or more of the following: the identifier of the second HARQ process, the source identifier, the target identifier, and the transmission mode;
  • the second information includes one or more of the following: the third HARQ Process ID, source ID, target ID, and transmission method.
  • the receiving device configures the processing resources of the first HARQ process according to the second control information; the receiving device configures the processing resources of the first HARQ process and uses the processing resources to process the second data; the receiving device processes the second data , Feeding back a response message corresponding to the second data to the sending device, the response message including a positive acknowledgement ACK or a negative acknowledgement NACK; the receiving device saves the association relationship between the first HARQ process and the second information or the second control information.
  • the receiving device receives the first control information including the first information; the receiving device determines that the first hybrid automatic repeat request HARQ process is associated with the first control information; the receiving device determines that the first HARQ process is associated with the third control Information association, and/or, the buffer associated with the first HARQ process contains third data scheduled by the third control information, the third control information includes third information, and the third information is the same as the first information; the receiving device clears the first HARQ process Buffer.
  • the first information includes one or more of the following: the identifier of the second HARQ process, the source identifier, the target identifier, and the transmission mode.
  • the receiving device configures the processing resources of the first HARQ process according to the third control information; the receiving device configures the processing resources of the first HARQ process and uses the processing resources to process the data scheduled by the third control information;
  • the sending device feeds back the response message corresponding to the second data, the response message includes a positive response ACK or a negative response NACK;
  • the receiving device uses the first HARQ process to successfully process the data scheduled by the third control information; the receiving device saves the first HARQ process and the first HARQ process The relationship between the three information or the third control information.
  • the receiving device before the receiving device receives the first control information from the sending device, the receiving device receives the third control information from the sending device.
  • the present application provides a communication device, which may be a receiving device or a chip or a system on a chip in the receiving device, and may also be a receiving device for implementing the method for clearing the cache described in the embodiments of the present application.
  • the communication device can realize the functions performed by the receiving device in the above-mentioned aspects or various possible designs, and the functions can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the device may include modules that perform one-to-one correspondence of the methods/operations/steps/actions described in the first aspect.
  • the modules may be hardware circuits, software, or hardware circuits combined with software.
  • the communication device may include: a receiving unit and a processing unit;
  • the receiving unit is configured to receive first control information including first information, where the first control information is used to schedule the first data.
  • the processing unit is used to determine that the HARQ process of the first hybrid automatic repeat request is associated with the first control information; the processing unit is also used to determine that the first HARQ process is associated with the second control information, and/or that the first HARQ process is associated
  • the buffer contains the second data scheduled by the second control information, the second control information includes the second information, and the second information is different from the first information; the processing unit is also used for not clearing the buffer of the first HARQ process.
  • the communication device For the specific implementation of the communication device, reference may be made to the behavior and function of the receiving device in the method for clearing the buffer provided by the first aspect or any possible design of the first aspect, which will not be repeated here. Therefore, the provided communication device can achieve the same beneficial effects as the first aspect or any possible design of the first aspect.
  • a communication device may be a receiving device or a chip or a system on a chip in the receiving device.
  • the communication device can implement the functions performed by the receiving device in the foregoing aspects or various possible designs, and the functions can be implemented by hardware.
  • the communication device may include a processor and a communication interface, and the processor may be used to support the communication device to implement the first aspect or the functions involved in any possible design of the first aspect, for example :
  • the processor is configured to receive first control information including the first information through the communication interface, the first control information is used to schedule the first data; determine that the first hybrid automatic repeat request HARQ process is associated with the first control information; determine the first HARQ The process is associated with the second control information, and/or the buffer associated with the first HARQ process contains the second data scheduled by the second control information, the second control information includes the second information, and the second information is different from the first information; it is not cleared The buffer of the first HARQ process.
  • the communication device may further include a memory, and the memory is used to store computer instructions and/or data.
  • the processor executes the computer instruction stored in the memory, so that the communication device executes the above-mentioned first aspect or the method for clearing the cache described in any one of the possible designs of the first aspect.
  • the communication interface may be a transceiver, an interface circuit, a bus interface, a pin, or other device capable of implementing the transceiver function.
  • a computer-readable storage medium stores instructions that, when run on a computer, enable the computer to execute the first aspect or any possible design of the foregoing aspects. The described method of clearing the cache.
  • a computer program product containing instructions.
  • the computer program product may include program instructions.
  • the computer program product runs on a computer, the computer can execute the first aspect or any one of the foregoing aspects. The method of clearing the cache described in the design.
  • a chip system in a sixth aspect, includes a processor and a communication interface.
  • the chip system can be used to implement the functions performed by the receiving device in the first aspect or any possible design of the first aspect,
  • the processor is configured to receive first control information including first information through a communication interface, where the first control information is used to schedule the first data; determine that the first hybrid automatic repeat request HARQ process is associated with the first control information; determine the first HARQ The process is associated with the second control information, and/or the buffer associated with the first HARQ process contains the second data scheduled by the second control information, the second control information includes the second information, and the second information is different from the first information; it is not cleared The buffer of the first HARQ process.
  • the chip system further includes a memory for storing program instructions and/or data.
  • the processor executes the program instructions stored in the memory to The chip system is made to execute the method for clearing the cache described in the seventh aspect or any one of the possible designs of the seventh aspect.
  • the chip system can be composed of chips, or can include chips and other discrete devices, without limitation.
  • the embodiments of the present application also provide a method for clearing the cache.
  • the method for clearing the cache may be executed by a sending device, a chip, or another device.
  • the method may include: the sending device sends the fourth information including the fourth information to the receiving device. Four control information, the fourth control information is used to schedule the fourth data; the sending device determines that the fourth hybrid automatic repeat request HARQ process is associated with the fourth control information; the sending device determines that the fourth HARQ process is associated with the fifth control information, and/ Or, the buffer associated with the fourth HARQ process includes fifth data scheduled by the fifth control information, and the fifth data is different from the fourth data; the receiving device clears the buffer of the fourth HARQ process.
  • the sending device configures the processing resources of the second HARQ process according to the fifth control information; the sending device configures the processing resources of the fourth HARQ process and uses the processing resources to send the fifth data; the sending device receives the data corresponding to the fifth data
  • the response message includes a positive response ACK or a negative response NACK.
  • the sending device sends fourth control information to the receiving device, the fourth control information includes fourth information, and the fourth control information is used to schedule the fourth data; the sending device determines that the fourth hybrid automatic repeat request HARQ process and The fourth control information is associated; the sending device determines that the fourth HARQ process is associated with the sixth control information, and/or the buffer associated with the fourth HARQ process contains the sixth data scheduled by the sixth control information, the sixth data and the fourth data Same; the receiving device does not clear the buffer of the fourth HARQ process.
  • a possible design is that the sending device configures the processing resources of the second HARQ process according to the sixth control information; the sending device configures the processing resources of the fourth HARQ process and uses the processing resources to send the sixth data; the sending device receives the data corresponding to the sixth data
  • the response message includes a positive response ACK or a negative response NACK; the buffer associated with the second HARQ process contains the sixth data.
  • a possible design is that the sending device sends the fourth control information to the receiving device through the sidelink.
  • the present application provides a communication device.
  • the communication device may be a sending device or a chip or a system on a chip in the sending device. Module or unit.
  • the communication device can implement the functions performed by the sending device in the foregoing aspects or various possible designs, and the functions can be implemented by hardware or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the device may include modules that perform one-to-one correspondence of the methods/operations/steps/actions described in the seventh aspect.
  • the modules may be hardware circuits, software, or hardware circuits combined with software.
  • the communication device may include: a sending unit and a processing unit.
  • the sending unit is configured to send fourth control information to the receiving device, where the fourth control information includes fourth information, and the fourth control information is used to schedule fourth data.
  • a processing unit configured to determine that the fourth HARQ process of hybrid automatic repeat request is associated with the fourth control information; determine that the fourth HARQ process is associated with the fifth control information, and/or the buffer associated with the fourth HARQ process contains the fifth control
  • the fifth data of information scheduling is different from the fourth data; the buffer of the fourth HARQ process is cleared.
  • the communication device For the specific implementation of the communication device, reference may be made to the behavior and function of the sending device in the method for clearing the buffer provided by the seventh aspect or any possible design of the seventh aspect, which is not repeated here. Therefore, the provided communication device can achieve the same beneficial effects as the seventh aspect or any possible design of the seventh aspect.
  • a communication device may be a sending device or a chip or a system on a chip in the sending device.
  • the communication device can implement the functions performed by the sending device in the foregoing aspects or various possible designs, and the functions can be implemented by hardware.
  • the communication device may include a processor and a communication interface, and the processor may be used to support the communication device to implement the seventh aspect or the functions involved in any possible design of the seventh aspect, for example, :
  • the processor is configured to send fourth control information to the receiving device through the communication interface, the fourth control information includes fourth information, and the fourth control information is used to schedule fourth data; determine the fourth hybrid automatic repeat request HARQ process and the fourth control Information association; determining that the fourth HARQ process is associated with the fifth control information, and/or the buffer associated with the fourth HARQ process contains the fifth data scheduled by the fifth control information, and the fifth data is different from the fourth data; clearing the fourth The buffer of the HARQ process.
  • the communication device may further include a memory, and the memory is used to store computer instructions and/or data.
  • the processor executes the computer instructions stored in the memory, so that the communication device executes the cache clearing method described in the seventh aspect or any one of the possible designs of the seventh aspect.
  • a computer-readable storage medium stores instructions that, when run on a computer, enable the computer to execute the seventh aspect or any possible design of the foregoing aspects The described method of clearing the cache.
  • a computer program product containing instructions.
  • the computer program product may include program instructions.
  • the computer program product runs on a computer, the computer can execute the seventh aspect or any of the foregoing aspects.
  • the possible design of the method of clearing the cache is provided.
  • a chip system in a twelfth aspect, includes a processor and a communication interface.
  • the chip system can be used to implement the functions performed by the sending device in the seventh aspect or any possible design of the seventh aspect.
  • the processor is configured to send fourth control information to the receiving device through the communication interface, the fourth control information includes fourth information, and the fourth control information is used to schedule the fourth data; determine the fourth hybrid automatic repeat request HARQ process and the fourth Control information association; determine that the fourth HARQ process is associated with the fifth control information, and/or the buffer associated with the fourth HARQ process contains the fifth data scheduled by the fifth control information, and the fifth data is different from the fourth data; clear the first Four buffers of HARQ process.
  • the chip system further includes a memory for storing program instructions and/or data.
  • the processor executes the program instructions stored in the memory to The chip system is made to execute the method for clearing the cache described in the seventh aspect or any one of the possible designs of the seventh aspect.
  • the chip system can be composed of chips, or can include chips and other discrete devices, without limitation.
  • an embodiment of the present application further provides a communication system, the communication system including the receiving device according to any one of the second aspect to the sixth aspect and any one of the eighth aspect to the twelfth aspect The sending device of the aspect.
  • Figure 1 is a schematic diagram of HARQ entities
  • FIG. 2 is a schematic diagram of the architecture of a communication system provided by an embodiment of this application.
  • FIG. 3 is a schematic diagram of the composition of a communication device 400 provided by an embodiment of the application.
  • FIG. 4 is a flowchart of a method for clearing a cache provided by an embodiment of the application
  • FIG. 5 is a flowchart of a method for clearing a cache according to an embodiment of the application.
  • FIG. 6 is a flowchart of a method for clearing a cache provided by an embodiment of the application.
  • FIG. 7 is a flowchart of a method for clearing a cache according to an embodiment of the application.
  • FIG. 8 is a communication device provided by an embodiment of this application.
  • FIG. 9 is a communication device provided by an embodiment of the application.
  • HARQ process means that the sender schedules a data transmission to the receiver through the stop-and-wait protocol, and then the sender receives an acknowledgment (ACK)/negative-acknowledgment (NACK) ) Processing process.
  • the HARQ operation at the sender can include new transmission/initial transmission data and retransmission data, receiving and processing ACK/NACK; the HARQ operation at the receiving end can include receiving new transmission data and retransmission data, and soft merge processing reception To newly transmitted data and retransmitted data, generate ACK/NACK, etc.
  • the sender can process the sideline data through the HARQ process, and then send it to other terminal devices through the physical sidelink share channel (PSSCH) on the SL Side row data.
  • PSSCH physical sidelink share channel
  • the sender can send control information to the receiving end through the physical sidelink feedback channel (PSCCH) on the SL, such as sidelink control information. , SCI), through which side row data is dispatched.
  • PSCCH physical sidelink feedback channel
  • the SCI can contain one or more of the following information used to indicate the transmission characteristics of the side-line data scheduled by the SCI: ⁇ source ID, destination ID, HARQ process number, service type (unicast , Multicast or broadcast) ⁇ , and may also include a new data indicator (NDI) corresponding to the group information, and so on.
  • NDI new data indicator
  • the receiving end can determine that the data scheduled by the SCI is newly transmitted data or retransmitted data through the above-mentioned set of messages carried by the SCI. For example, after receiving the SCI, the receiving end reads/determines the ⁇ source ID, destination ID, HARQ process number, service type (unicast, multicast or broadcast) ⁇ and new data indicator (NDI), and determine whether the receiving end has received the same set of information last time. If it has been received, compare the last NDI value of this group of information (for example, 1) and whether the value of the NDI bit in the SCI where this group of information is received this time is the same. If they are the same, it means SCI The scheduled data is retransmitted data. If they are different (ie toggle), the data scheduled by SCI is considered to be newly transmitted data.
  • NDI new data indicator
  • the sending device and/or receiving device transmits the control information that carries the same first information for the previous two transmissions, and the receiving device receives the control information according to the previous (or most recent) time.
  • the value of the NDI in the control information to determine whether the value of the NDI in the two received control information carrying the same first information is the same, if the same, it means that it has not been reversed, that is, the currently received control information is associated
  • the TB is a retransmission; on the contrary, if it is not the same, it means a rollover, that is, the TB corresponding to the currently received control information is a new transmission.
  • the originating end and the receiving end are relative concepts.
  • the originating end may refer to a terminal or terminal device that sends data through a certain HARQ process
  • the receiving end may refer to a terminal or terminal device that receives data sent by the originating end through a certain HARQ process.
  • the receiving end can also be described as a receiving device
  • the originating end can also be described as a sending device.
  • a sidelink/PC5 interface is established between the sender and the receiver, and the two transmit data through the sidelink/PC5 interface.
  • the HARQ process used to process the HARQ process transmitted through the sidelink/PC5 interface can be called sidelink.
  • the sender and receiver can each maintain one or more HARQ processes, and use multiple parallel stop-and-wait processes for data transmission, such as: when a HARQ process While waiting for ACK/NACK, the sender can use another HARQ process to continue sending data.
  • One or more HARQ processes can form one HARQ entity.
  • Each HARQ process corresponds to a HARQ process identifier (ID)/HARQ process number (number), and the HARQ process ID can uniquely identify the HARQ process.
  • Each HARQ process needs to be associated with an independent buffer (buffer) to store the data transmitted on the HARQ process.
  • the HARQ entity combines a stop-and-wait protocol while allowing continuous data transmission.
  • the originating end can maintain 16 HARQ processes: HARQ process 1 to HARQ process 16
  • the receiving end can maintain 16 HARQ processes: HARQ process 1 to HARQ 16.
  • each HARQ process can process one TB within one transmission time interval (TTI).
  • TTI transmission time interval
  • the HARQ entity It may include one or more HARQ processes.
  • the HARQ entity is located in the MAC entity.
  • the HARQ entity may determine to newly transmit the data or retransmit the data according to the transmission resources (such as time-frequency resources, etc.) of the data.
  • the receiving end and the sending end can include the application layer, the packet data convergence protocol (PDCP) layer, the radio link control (RLC) layer, and the sidelink logical channel (sidelink).
  • the MAC layer can include one or more MAC layer entities, and one MAC entity can correspond to one or more The configurations of each HARQ entity and the HARQ entity may be the same or different.
  • the sender sends the first data through a certain HARQ process
  • the buffer associated with the HARQ process is not cleared.
  • the sender sends data through a HARQ process and sends the data again through the HARQ process
  • the HARQ process is preempted for processing/sending other data, at this time, when sending the first data again, if not Clearing the buffer associated with the HARQ process will affect the transmission of the first data.
  • the receiving end clears the HARQ process
  • the corresponding buffer is ready to receive and buffer the newly transmitted first data.
  • the receiving end receives and processes the first data sent by the sender through a certain HARQ process and the new transmission data corresponding to the first data is received through the HARQ process again, if the HARQ process of the receiving end is preempted for processing For other data sent through other HARQ processes, if the buffer on the receiving end is cleared at this time, other data processing will fail, affecting data transmission.
  • an embodiment of the present application provides a method for clearing the cache.
  • the method may include: the receiving device receives first control information including first information; and the receiving device determines the first hybrid automatic repeat request The HARQ process is associated with the first control information; the receiving device determines that the first HARQ process is associated with the second control information and/or the buffer associated with the first HARQ process contains the second data scheduled by the second control information, and the second control information includes the second control information.
  • a second message with different information the receiving device does not clear the buffer of the first HARQ process.
  • the receiving device determines that the first HARQ process is associated with the third control information and/or the buffer associated with the first HARQ process contains third data scheduled by the third control information, the third control information includes the third information, and the third information is associated with the third control information.
  • One information is the same; the receiving device clears the buffer of the first HARQ process.
  • clearing the buffer may refer to deleting all of the buffers or overwriting the data stored in the buffer with the currently scheduled data.
  • the method for clearing the cache can be used in any communication system that supports V2X communication.
  • the communication system can be a 3rd generation partnership project (3GPP) communication system, for example, long term evolution (long term). evolution, LTE) system, it can also be the fifth generation (5th generation, 5G) mobile communication system, new radio (NR) system, vehicle-to-everything (V2X) system, and other downstream systems.
  • 3GPP 3rd generation partnership project
  • LTE long term evolution
  • 5G fifth generation
  • NR new radio
  • V2X vehicle-to-everything
  • the first-generation communication system can also be a non-3GPP communication system without limitation.
  • the method for clearing the cache can be applied to various communication scenarios, for example, it can be applied to one or more of the following communication scenarios: enhanced mobile broadband (eMBB), ultra-reliable low-latency communication (ultra-reliable low-latency communication, URLLC), machine type communication (MTC), massive machine type communications (mMTC), device-to-device (D2D), Vehicle to everything (V2X), vehicle to vehicle (V2V), and internet of things (IoT), etc.
  • eMBB enhanced mobile broadband
  • URLLC ultra-reliable low-latency communication
  • MTC machine type communication
  • mMTC massive machine type communications
  • D2D device-to-device
  • V2X Vehicle to everything
  • V2V2V vehicle to vehicle
  • IoT internet of things
  • Fig. 2 is a schematic diagram of a communication system provided by an embodiment of the present application.
  • the communication system may include multiple terminals and network devices.
  • the terminal may be located within the cell coverage of the network equipment, or may be located outside the cell coverage of the network equipment.
  • the terminal can communicate with network devices through the Uu port, or communicate with other terminals through the sidelink (SL) (or PC5 port).
  • a terminal can communicate with other terminals one-to-one in a unicast mode, and can also perform multicast or broadcast communication with multiple other terminals in a multicast mode or a broadcast mode.
  • the terminal 1 may perform unicast communication with the terminal 2, and send sideline data to the terminal 2 in a unicast manner.
  • the terminal 1 can be a multicast group with three other terminals: the terminal 3, the terminal 4, and the terminal 5, and the terminal 1 can send sideline data to the terminal 3, the terminal 4, and the terminal 5 in a multicast manner.
  • the transmission mode described in this application includes a unicast mode, a multicast mode, and a broadcast mode.
  • the unicast mode may refer to: the sending device and the receiving device communicate through a one-to-one link, for example, one terminal communicates with another terminal through a one-to-one SL link.
  • the broadcast mode may refer to: the sending device communicates to the surroundings through a one-to-one link, for example, one terminal broadcasts a message to its surroundings, and the other one or more terminals receive the broadcast message.
  • the multicast mode may refer to a sending device sending a data latter message to one or more receiving devices in a multicast group. For example, a terminal sends data/messages to one or more terminals in the multicast group.
  • multicast can also be referred to as multicast.
  • the network device in FIG. 2 can be any device with a wireless transceiver function, which is mainly used to implement functions such as wireless physical control, resource scheduling and wireless resource management, wireless access control, and mobility management.
  • the network device may be an access network (AN)/radio access network (RAN) device, or a device composed of multiple 5G-AN/5G-RAN nodes, and It can be a base station (nodeB, NB), an evolved base station (evolution nodeB, eNB), a next-generation base station (generation nodeB, gNB), a transmission receiving point (TRP), a transmission point (TP), and a roadside The roadside unit (RSU) and any node among some other access nodes, etc., are not restricted.
  • AN access network
  • RAN radio access network
  • a device composed of multiple 5G-AN/5G-RAN nodes and It can be a base station (nodeB, NB), an evolved base station (evolution nodeB, eNB), a next-
  • the terminal (terminal) in FIG. 2 may be called a terminal device (terminal equipment) or a user equipment (user equipment, UE) or a mobile station (mobile station, MS) or a mobile terminal (mobile terminal, MT), etc.
  • the terminal in FIG. 2 may be a mobile phone, a tablet computer, or a computer with a wireless transceiver function.
  • the terminal can also be a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, and a smart grid.
  • VR virtual reality
  • AR augmented reality
  • Wireless terminals wireless terminals in smart cities, wireless terminals in smart homes, in-vehicle terminals, vehicles with vehicle-to-vehicle (V2V) communication capabilities, and smart connected vehicles Wait, there is no limit.
  • Both the terminal and the network device in the embodiments of the present application may be one or more chips, or may be a system on chip (SOC) or the like. Refer to Figure 2 for specific components of the terminal and network equipment.
  • FIG. 2 is only an exemplary drawing, the number of devices included in FIG. 2 is not limited, and in addition to the devices shown in FIG. 2, the communication architecture may also include other devices.
  • the name of each device in FIG. 2 is not limited. In addition to the name shown in FIG. 2, each device can also be named with other names without limitation.
  • the data/control information received by the receiving device in different steps or at different times may come from different sending devices, or the same sending device, without limitation.
  • first control information or the second control information associated with the HARQ process can also be replaced with the first information or the second information associated with the HARQ process, or replaced with "the side link transmission information is associated with the HARQ process ", or replaced with "first data or second data or third data” associated with the HARQ process, where the HARQ process can be replaced with the HARQ process identifier, where the HARQ process identifier can be the HARQ process identifier indicated by the base station for the terminal device, or It can be the HARQ process identifier selected by the terminal device.
  • the first control information includes first information, the first control information corresponds to the first data, the first control information is associated with the first HARQ process, and the first HARQ process is associated with the identifier and buffer of the first HARQ process, that is, the first control
  • the information, the first information, the first data, the first HARQ process, the identifier of the first HARQ process, and the buffer associated with the first HARQ process all have an association relationship, which is described here in a unified manner.
  • the receiving device may be one or more receiving devices
  • the sending device may be one or more sending devices.
  • the SCI can be the first level SCI, the second level SCI, or the information contained in the first level SCI and the second level SCI can be considered comprehensively.
  • each network element shown in FIG. 2, such as a terminal and a network device may adopt the composition structure shown in FIG. 3 or include the components shown in FIG. 3.
  • FIG. 3 is a schematic structural diagram of a communication device 400 provided by an embodiment of this application.
  • the communication device 400 may be a terminal or a chip or on-chip in the terminal. system.
  • the communication device 400 may be a network device or a chip or a system on a chip in the network device.
  • the communication device 400 may include a processor 401, a communication line 402, and a communication interface 403. Further, the communication device 400 may further include a memory 404. Among them, the processor 401, the memory 404, and the communication interface 403 may be connected through a communication line 402.
  • the processor 401 may be a central processing unit (CPU), a general-purpose processor network processor (network processor, NP), a digital signal processor (digital signal process, DSP), a microprocessor, and a microcontroller. , Programmable logic device (PLD) or any combination of them.
  • the processor 401 may also be other devices with processing functions, such as circuits, devices, or software modules.
  • the communication line 402 is used to transmit information between the components included in the communication device 400.
  • the communication interface 403 is used to communicate with other devices or other communication networks.
  • the other communication network may be Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
  • the communication interface 403 may be an interface circuit, a pin, a radio frequency module, a transceiver, or any device capable of realizing communication.
  • the memory 404 is used to store instructions. Among them, the instruction may be a computer program.
  • the memory 404 may be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and/or instructions, or it may be a random access memory (RAM) or Other types of dynamic storage devices that store information and/or instructions can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory, CD- ROM) or other optical disk storage, optical disk storage, magnetic disk storage media or other magnetic storage devices.
  • EEPROM electrically erasable programmable read-only memory
  • CD- ROM compact disc read-only memory
  • Optical disk storage includes compressed optical discs, laser discs, optical discs, digital universal optical discs, or Blu-ray discs, etc.
  • the memory 404 may exist independently of the processor 401, or may be integrated with the processor 401.
  • the memory 404 may be used to store instructions or program codes or some data, etc., and a buffer associated with the HARQ process may be set in the memory 404.
  • the memory 404 may be located in the communication device 400 or outside the communication device 400, and is not limited.
  • the processor 401 is configured to execute instructions stored in the memory 404 to implement the method for clearing the cache provided in the following embodiments of the present application.
  • the processor 401 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 3.
  • the communication device 400 includes multiple processors.
  • the processor 401 in FIG. 3 it may also include a processor 407.
  • the communication apparatus 400 further includes an output device 405 and an input device 406.
  • the input device 406 is a device such as a keyboard, a mouse, a microphone, or a joystick
  • the output device 405 is a device such as a display screen and a speaker.
  • the communication device 400 may be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system, or a device with a similar structure in FIG. 3.
  • the composition structure shown in FIG. 3 does not constitute a limitation to the communication device.
  • the communication device may include more or less components than those shown in the figure, or combine certain components. , Or different component arrangements.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • each device in the following embodiments may have the components shown in FIG. 3.
  • the actions, terms, etc. involved in the various embodiments of the present application can be referred to each other, and are not limited.
  • the names of messages or parameter names in the messages that are exchanged between devices in the embodiments of the present application are just an example, and other names may also be used in specific implementations, which are not limited.
  • the execution order of the steps in the embodiments is not limited, and the order of the steps can be flexibly exchanged.
  • the steps in the following embodiments can be executed individually or in combination, and are not limited.
  • FIG. 4 is a method for clearing the cache provided by an embodiment of the application. As shown in FIG. 4, the method includes:
  • Step 401 The receiving device receives the first control information.
  • the receiving device may receive the first control information from the sending device.
  • the receiving device may be any terminal in FIG. 3 or a functional module or chip system in any terminal, the receiving device may perform sidelink communication with the sending device, and the receiving device may be any terminal in FIG. 3 or in any terminal.
  • Function module or chip system both of which support data transmission through HARQ process.
  • the sending device may be the terminal 1 in FIG. 2
  • the receiving device may be the terminal 2 in FIG. 2.
  • the first control information may be SCI, and the first control information may be carried in the PSCCH and sent to the receiving device, that is, it may be sent to the receiving device using PSCCH resources.
  • the first control information is scheduling information used to indicate the first data.
  • the first control information can be used to schedule the first data transmitted by the sending device to the receiving device. For example, taking TB transmission as an example, the first control information can be The first TB newly transmitted by the second HARQ process of the device to the receiving device may also be scheduled to be retransmitted to the receiving device through the second HARQ process of the sending device.
  • the second HARQ process can be a HARQ process that can be used to process/send data on the sending device or inside the sending device, or it can be used on the sending device or inside the sending device to store the data scheduled by the first control information in the associated buffer, and/ Or storing a grant for sending the data scheduled by the first control information and/or generating a HARQ process for transmitting the data scheduled by the first control information.
  • the first control information may include at least first information used to indicate the transmission characteristics of the data scheduled by the first control information.
  • the first information may include at least one of the following information: process ID of the second HARQ process/second The identification of the HARQ process, the source identification corresponding to the first data, the target identification corresponding to the first data, and the transmission mode.
  • the first information may indicate that the first data scheduled by the first control information is: data sent by the device identified by the source identifier to the device identified by the target identifier through the second HARQ process.
  • the first control information may also include NDI, sidelink time-frequency resource information corresponding to the transmission data, other information, and so on.
  • the transmission method can be any one of unicast, broadcast, and multicast.
  • the source identifier corresponding to the first data can be used to identify the device that sends the first data.
  • the source identifier can be the identifier of the sending device, and the identifier of the sending device can be the source identifier indicated by the higher layer (for example, the V2X layer), or the sending device.
  • the source ID can be a complete source ID, that is, the source ID (source L2ID), the full layer 2 source ID is 24 bits, that is, it contains 24 bits, or it can be a part of the complete source ID.
  • the source ID can be It is a layer 1 source ID (source L1ID), and the layer 1 source ID can be the lower 8 bits or the lower 16 bits of the layer 2 source ID or other number of bits, which are not limited here.
  • the target identifier corresponding to the first data may be used to identify the device that receives the first data.
  • the target identifier may be the identifier of the service or the identifier of the receiving device, and the target identifier may be the receiving device or the service. IP address or MAC address, etc.
  • the target identifier can be a complete target identifier, that is, a layer 2 target identifier (destination L2ID).
  • the complete layer 2 target identifier is 24 bits, that is, contains 24 bits, and it may also be a part of the complete target identifier.
  • the target identifier may be a layer 1 target identifier (destination L1ID), and the layer 1 target identifier may be the lower 8 bits or the lower 16 bits of the layer 2 target identifier or other number of bits, which are not limited herein.
  • the value of NDI can be set according to whether the currently transmitted data is new or retransmitted data.
  • the initial value of NDI is the first TB transmitted or the first TB corresponding to the first control information.
  • the initial value of NDI is determined by the sending device itself, and the initial value of NDI can be either 1 or 0.
  • NDI toggle (toggle) means a new transmission, and NDI unchanged means a retransmission.
  • control information is SCI1
  • SCI1 ⁇ HARQ process 1
  • SRC ID 1 DST ID1, unicast mode
  • a user who uses the sending device determines to send the first data to the receiving device, for example, obtains a transmission resource (such as a time-frequency resource) of the first data, and determines that the transmission resource is used for new transmission or retransmission of the first data.
  • Trigger the application layer of the sending device to generate the first data for example, obtain the MAC protocol first data unit (protocol data unit, PDU) from the multiplexing and assembly entity (multiplexing and assembly entity) for transmission, and trigger the sending device to determine that it is available for processing / HARQ process for sending the first data.
  • the sending device determines the HARQ process that can be used to process/send the first data.
  • the sending device generates the first control information and/or sets the value of the information contained in the first control information according to the first data, for example, sets the target identification information in the first control information as the layer 1 target identification, where Layer 1 target identifier is the high 16 bits of the layer 2 target identifier of the first data, etc.; submit the first data and the first control information associated with the first data to the second HARQ for processing, and send to the receiving device through sidelink First control information.
  • the HARQ process described in this application can be described as a sidelink HARQ process or a sidelink process or a sidelink HARQ process instead.
  • the sending device can refer to the following methods (1) to (3)
  • the second HARQ process that can be used to process/send the first data is determined from one or more HARQ processes of the sending device.
  • one or more HARQ processes of the sending device The execution subject of the second HARQ process determined to be usable for processing/sending the first data may include the sending device or the MAC entity of the sending device or the HARQ entity of the sending device, which is not limited. The following description will be given by taking the execution subject as the sending device as an example:
  • the sending device may check the buffer corresponding to each HARQ process, and determine whether the buffer associated with each HARQ process contains or stores data associated with the first control information, and/or whether the timer associated with each HARQ process is running.
  • the sending device determines to perform new transmission on the first data scheduled by the first control information according to the transmission resource of the first data
  • the sending device selects one HARQ process from the HARQ process that meets the first condition as the HARQ process for processing the first data .
  • the first condition may include one or more of the following: the buffer associated with the HARQ process does not contain or does not store the first data associated with the first control information, the timer associated with the HARQ process stops running, and stops or timing is received when the instruction information is received. Stops when the timer expires.
  • the first condition may include one or more of the following: a buffer associated with the HARQ process contains or stores the first data associated with the first control information, and a timer associated with the HARQ process stops running.
  • the sending device determines to perform retransmission of the first data associated with the first control information according to the transmission resource of the first data
  • the sending device selects one HARQ process from the HARQ process that meets the second condition as the HARQ process for processing the first data .
  • the second condition may include one or more of the following: the buffer associated with the HARQ process does not contain or does not store the first data associated with the first control information, the timer associated with the HARQ process stops running, and the buffer associated with the HARQ process is empty.
  • the second condition may include one or more of the following: the HARQ process-associated buffer contains or stores the first data associated with the first control information, the HARQ process-associated timer stops running, and the HARQ process-associated buffer is null.
  • the sending device triggers the selected HARQ process to perform a new transmission, that is, changing the retransmission to a new transmission, and newly transmits the first data; or, the sending device determines to perform retransmission of the first data associated with the first control information, and sends The device selects one HARQ process from the HARQ process meeting the third condition as the HARQ process for processing the first data.
  • the third condition may include one or more of the following: the buffer associated with the HARQ process does not include or does not store the first data associated with the first control information, and the timer associated with the HARQ process is running.
  • Method (2) View the control information associated with the HARQ process.
  • the sending device can check whether the control information associated with each HARQ process and/or the timer associated with each HARQ process is running.
  • the sending device determines to perform new transmission on the first data associated/scheduled by the first control information, and the sending device selects one HARQ process from the HARQ process that meets the third condition as the HARQ process for processing the first data.
  • the third condition may include one or more of the following: the HARQ process stops running the timer associated with unassociated side link transmission information and the HARQ process; or, the third condition may include one or more of the following:
  • the HARQ process is associated with the side-link transmission information, and the timer associated with the HARQ process stops running; or, the third condition may include one or more of the following: the HARQ process is associated with the side-link transmission information, and the HARQ process is associated The timer is running; or, the third condition may include one or more of the following: the HARQ process is associated with the first control information, and the timer associated with the HARQ process is running.
  • the sending device determines to perform retransmission of the first data associated/scheduled by the first control information, and the sending device selects one HARQ process from the HARQ process that meets the fourth condition as the HARQ process for processing the first data.
  • the fourth condition may include one or more of the following: the HARQ process is associated with sidelink transmission information, and the timer associated with the HARQ process stops running; or, the fourth condition may include one or more of the following: HARQ process The timer associated with the first control information and the HARQ process stops running; or, the fourth condition may include one or more of the following: the HARQ process is associated with the first control information, and the timer associated with the HARQ process is running.
  • the side link transmission information described in this application can be the first information, or other information that is different from the first information, including ⁇ HARQ process ID, source ID, target ID, and transmission mode ⁇ There is no restriction on the transmission of information on the side link.
  • the timer associated with the HARQ process can be used to limit the working duration of the HARQ process. If the timer associated with the HARQ process is running, it means that the HARQ process is occupied/working. On the contrary, if the timer associated with the HARQ process is running Not running, it means that the HARQ process is not occupied.
  • the timer of each HARQ process can be pre-configured, and the timers associated with different HARQ processes can be the same or different.
  • stopping the timer associated with the HARQ process may include: receiving instruction information to stop the timer associated with the HARQ process or stopping the timer associated with the HARQ process over time.
  • the HARQ process associated with the first control information may refer to: configuring the processing resources corresponding to the HARQ process according to the first control information, using the processing resources corresponding to the HARQ process to process the first data scheduled by the first control information, and receiving the first data scheduled by the first control information.
  • Method (3) View the MAC entity corresponding to the HARQ process.
  • the sending device can view the MAC entity corresponding to each HARQ process of the sending device, and determine whether the configuration of the MAC entity corresponding to the HARQ process meets the quality of service (QoS) requirements of the first data and other transmission conditions of the first data, etc. Select a MAC entity from the MAC entities that meet the QoS requirements of the first data and other transmission conditions of the first data, and use any HARQ process in the HARQ process corresponding to the MAC entity as the HARQ process for processing the first data.
  • QoS quality of service
  • the sending device before step 401, the sending device once associated the second HARQ process with the first control information, used the second HARQ process to send the first data scheduled by the first control information, and released it later
  • the second HARQ process is used to send other first data, such as first data.
  • the sending device associates the second HARQ process with the first control information or with the first data scheduled by the first control information, and saves The relationship.
  • the sending device may associate the first control information with the second HARQ process again according to the saved association relationship, and determine to use the second HARQ process to transmit the first data, Reduce the power consumption of the sending device to select the second HARQ process.
  • step 401 the sending device has associated the second HARQ process with the first control information, and the second HARQ process has been used to send data scheduled by the first control information
  • this application does not limit the sending device Whether the data scheduled by the first control information was successfully transmitted to the sending device through the second HARQ process.
  • the data that the sending device used to schedule using the first control information is the same as or different from the data scheduled by the first control information in step 401, which is not limited.
  • Step 402 the receiving apparatus determines that the first HARQ process is associated with the first control information.
  • the first HARQ process may be the HARQ process of the receiving device.
  • the first HARQ process may be the HARQ process associated with the control information carrying the first information last time.
  • the receiving device once received the control information carrying the first information from the sending device using the first HARQ process.
  • the last control information that carried the first information can be named first control information or other names, and the control information for the last scheduling of the first data can be the last time the receiving device received through the first HARQ process before step 402 and/or step 401.
  • the receiving device can determine the QoS requirements of the data scheduled by the first control information according to the information carried in the first control information, and the receiving device checks the MAC entity corresponding to each HARQ process of the receiving device, and determines the corresponding HARQ process Whether the configuration of the MAC entity meets the QoS requirements of the data and other transmission conditions of the data, etc., select a MAC entity from the MAC entities that meet the QoS requirements of the data and other transmission conditions of the data, and any of the HARQ processes corresponding to the MAC entity A HARQ process, such as the first HARQ process as the HARQ process for processing data.
  • the receiving device before step 402 and/or step 401, the receiving device has used the first HARQ process to receive control information and the like carrying the first information from the sending device.
  • the receiving device associates the first HARQ process with the first information or with the first control information, and saves the association relationship.
  • the receiving apparatus may determine that the HARQ process associated with the control information carrying the first information last time is the first HARQ process according to the stored association relationship.
  • Step 403 The receiving device checks the association between the first HARQ process and the control information and/or the data contained in the buffer associated with the first HARQ process; if the first HARQ process is associated with the second control information and/or the first HARQ process The buffer associated with the HARQ process contains the second data scheduled by the second control information, then step 404 is executed, and the process ends; if it is determined that the first HARQ process is associated with the third control information, and/or, the buffer associated with the first HARQ process contains the first HARQ process. For the third data scheduled by the third control information, step 405 is executed, and the process ends.
  • the receiving device used the first HARQ process to receive data, and later released the first HARQ process to receive other data, (specifically describe the case) such as: the following data, etc. .
  • the sending device once used the first HARQ process to receive data from the sending device, the sending device associates the first HARQ process with the first control information or with the data, and saves the association relationship.
  • the sending device schedules data through the first control information again, the sending device can associate the first control information with the first HARQ process again according to the saved association relationship, determine to use the first HARQ process to transmit data, and reduce the selection of the sending device.
  • the power consumption of the first HARQ process It should be noted that this application does not limit whether the sending device successfully transmits data to the sending device through the first HARQ process before step 403.
  • Step 404 The receiving apparatus determines that the first HARQ process is associated with the second control information and/or the buffer associated with the first HARQ process contains second data scheduled by the second control information, and the receiving apparatus does not clear the buffer of the first HARQ process.
  • the second control information may be the second SCI, the second control information is scheduling information used to indicate the second data, and the second control information may be used to schedule the second data that the sending device transmits to the receiving device through the third HARQ process. For example, it can be used to schedule the second data newly transmitted by the sending device to the receiving device or can be used to schedule the second data retransmitted by the sending device to the receiving device. If the second data is different from the second data, the second data can be passed through The third HARQ process of the sending device is processed and sent to the receiving device. The third HARQ process and the first HARQ process are two different HARQ processes of the sending device. The second control information may be sent to the receiving device before step 401.
  • the second control information may include second information, and the second information may include at least: the process number of the third HARQ process/the identifier of the third HARQ process, the source identifier corresponding to the second data, and the second information.
  • the target identifier corresponding to the data, the transmission mode corresponding to the second data, and the first control information may also include NDI, sidelink time-frequency resource information for transmitting the second data, and other information.
  • the identified sending device is terminal 1
  • the receiving device identified by DST ID1 is terminal 2 as an example, which means that SCI2 schedules the second data newly transmitted to terminal 2 through HARQ process 2 through HARQ process 2 in unicast mode by SCI2.
  • associating the second HARQ process with the second control information may specifically include: the receiving device configures the processing resources of the first HARQ process according to the second control information; the receiving device configures the processing resources of the first HARQ process and uses the processing resources to process The second data; the receiving device processes the second data, and feeds back the response message corresponding to the second data to the sending device.
  • the response message includes the positive acknowledgement ACK or the negative acknowledgement NACK; the receiving device saves the first HARQ process and the second information or the second Control the relationship of information.
  • Step 405 The receiving apparatus determines that the first HARQ process is associated with the third control information, and/or the buffer associated with the first HARQ process contains third data scheduled by the third control information, and the receiving apparatus clears the buffer of the first HARQ process .
  • the third control information may be the third SCI
  • the third control information is scheduling information used to indicate the third data
  • the third control information may be used to schedule the third data that the sending device transmits to the receiving device through the second HARQ process. For example, it can be used to schedule the third data newly transmitted by the sending device to the receiving device or can be used to schedule the third data retransmitted by the sending device to the receiving device.
  • the third data is the same as or different from the first data, and the third data It can be sent to the receiving device after processing through the second HARQ process of the sending device.
  • the third control information may be sent to the receiving device before step 401.
  • the third control information may include the first information, and the first information may include at least: the process number of the second HARQ process/the identification of the second HARQ process, the source identification corresponding to the third data, and the third
  • the target identifier corresponding to the data, the transmission mode corresponding to the third data, and the first control information may also include NDI, sidelink time-frequency resource information for transmitting the third data, and other information.
  • the identified sending device is terminal 1
  • the receiving device identified by DST ID1 is terminal 2 as an example, which means that SCI2 schedules the third data newly transmitted to terminal 2 through HARQ process 2 through HARQ process 2 in unicast mode by SCI2.
  • associating the first HARQ process with the third control information may specifically include: the receiving device configures the processing resources of the first HARQ process according to the third control information; the receiving device configures the processing resources of the first HARQ process and uses the processing resources to process The data scheduled by the third control information; the receiving device feeds back the response message corresponding to the second data to the sending device, the response message includes a positive response ACK or a negative response NACK; the receiving device uses the first HARQ process to successfully process the data scheduled by the third control information ; The receiving device stores the association relationship between the first HARQ process and the third information or the third control information. The receiving device can check whether it is in these four situations, and if it is in any of these four situations, it determines that the first HARQ process is associated with the first control information.
  • clearing the buffer of the first HARQ process by the receiving apparatus may include: the receiving apparatus overwrites data in the buffer associated with the first HARQ process with data; or, the receiving apparatus deletes all data in the buffer associated with the first HARQ process, and so on.
  • the sending device is configured with 16 HARQ processes: HARQ process T_1 to HARQ process T_16
  • the receiving device is configured with 16 HARQ processes: HARQ process R_1 to HARQ process R_16, and the data transmission granularity is TB transmission.
  • the sending device is the terminal 1
  • the receiving device is the terminal 2
  • the control information is SCI
  • the terminal 1 and terminal 2 use unicast to transmit TB to each other via sidelink as an example.
  • the process of clearing the buffer of the receiving device in the method shown in Figure 4 is described in detail. :
  • FIG. 5 is a flowchart of a method for clearing a cache provided by an embodiment of the application. As shown in FIG. 5, the method may include:
  • step 501 to step 506 are executed:
  • Step 501 Optionally, terminal 1 determines to send TB1 to terminal 2, selects an idle HARQ process T_1 from HARQ processes T_1 to HARQ process T_16 of terminal 1 as the HARQ process for sending TB1, and sends SCI1 to terminal 2.
  • SCI1 is used to schedule TB1, and SCI1 may include at least ⁇ HARQ process T_1 identification, source identification 1, target identification 1, transmission mode is unicast ⁇ , and terminal 1 determines to perform a new transmission to TB1.
  • the “idle” described in the embodiments of the present application may refer to unoccupied.
  • the source identifier described in each embodiment of the present application may be a layer 2 source identifier, and the target identifier may be a layer 2 target identifier, which is not limited.
  • the HARQ process T_1 is occupied by the SCI1 or the TB1, and the terminal 1 can record/save the association relationship between the HARQ process T_1 and the SCI1.
  • the terminal 1 buffers TB1 in the buffer T_1 associated with the HARQ process T_1 of the terminal 1.
  • Step 502 The terminal 2 receives the SCI1, and associates the SCI1 with the idle HARQ process R_1 of the HARQ process R_1 to the HARQ process R_16 of the terminal 2: HARQ process R_1.
  • terminal 2 can record/save the association relationship between HARQ process R_1 and SCI1.
  • Step 503 After the terminal 1 processes the TB1 through the HARQ process T_1 of the terminal 1, the terminal 1 sends the processed TB1 to the terminal 2 through the sidelink.
  • Step 504 Terminal 2 receives and buffers TB1 in buffer R_1 associated with HARQ process R_1, and uses HARQ process R_1 to read and process TB1 in buffer R_1.
  • Step 505 Terminal 2 sends a response message to terminal 1 according to the processing result of TB1 (for example, successful decoding or successful transmission), the response message being ACK; or no response message is sent.
  • TB1 for example, successful decoding or successful transmission
  • the terminal 2 releases the HARQ process R_1, so that the HARQ process R_1 can be occupied/associated by other SCIs for processing/receiving other TBs.
  • Step 506 Terminal 1 receives the response message and knows that TB1 is successfully transmitted, then releases HARQ process T_1, so that HARQ process T_1 can be occupied/associated by other SCIs for transmitting other TBs.
  • step 507 to step 508 are executed in the T2 time period:
  • Step 507 Terminal 1 determines to send TB2 to terminal 2, selects idle HARQ process T_2 from HARQ processes T_1 to HARQ process T_16 of terminal 1 as the HARQ process for sending TB2, and sends SCI2 to terminal 2.
  • SCI2 is used to schedule TB2, and SCI2 includes at least ⁇ HARQ process T_2 identification, source identification 1, target identification 2, transmission mode is unicast ⁇ , and terminal 1 determines to perform a new transmission to TB2.
  • HARQ process T_2 is occupied by SCI2 or occupied by TB2, terminal 1 can record/save the association relationship between HARQ process T_1 and SCI2.
  • the terminal 1 buffers TB2 in the buffer T_2 associated with the HARQ process T_2 of the terminal 1.
  • Step 508 The terminal 2 receives the SCI2, and associates the SCI2 with the idle HARQ process of the HARQ process R_1 to the HARQ process R_16 of the terminal 2: HARQ process R_1.
  • the HARQ process R_1 is occupied by the SCI2 or the TB2, and the terminal 2 can record/save the association relationship between the HARQ process R_1 and the SCI2.
  • the idle HARQ process described in the embodiment of the present application may include a released HARQ process or an unoccupied HARQ process.
  • terminal 1 processes TB2 through HARQ process T_2 of terminal 1, and sends processed TB2 to terminal 2 through sidelink;
  • terminal 2 receives and buffers TB2 in the buffer R_1 associated with HARQ process R_1, and prepares to use HARQ Process R_1 processes TB2 in buffer R_1, such as: terminal 2 prepares processing resources corresponding to HARQ process R_1, uses the processing resources corresponding to HARQ process R_1 to read and process (for example, decode) TB2 in buffer R_1, optional , After processing TB2, it sends back a response message: ACK/NACK, etc. to the terminal 1. Further, if the terminal 2 finishes processing TB2 and determines that the transmission is successful, the terminal 2 releases the HARQ process R_1, and the HARQ process R_1 can be occupied by other SCIs for processing other TBs.
  • the following steps 509 to 512 may also be executed:
  • Step 509 Terminal 1 determines to send TB3 to terminal 2, selects idle HARQ process T_1 from HARQ processes T_1 to HARQ process T_16 of terminal 1 as the HARQ process for sending TB1, and sends SCI1 to terminal 2.
  • SCI3 is used to schedule TB3, and SCI3 includes at least first information.
  • the first information is ⁇ HARQ process T_1 identification, source identification 1, target identification 1, transmission mode is unicast ⁇ , and terminal 1 determines to perform a new transmission to TB3.
  • the HARQ process T_1 released in step 506 is again occupied by the first information ⁇ HARQ process T_1 identification, source identification 1, target identification 1, transmission mode is unicast ⁇ or is associated with SCI3 or occupied by TB3.
  • SCI3 and SCI1 can be the same or different.
  • TB3 and TB1 can be the same or different.
  • the terminal 1 buffers TB3 in the buffer T_1 associated with the HARQ process T_1 of the terminal 1.
  • Step 510 Terminal 2 receives SCI3, and checks the association between HARQ process R_1 and SCI associated with the first message last time (that is, T1 time period). If HARQ process R_1 is associated with SCI2, perform step 511, if HARQ process R_1 is associated with SCI1 , Go to step 512.
  • Step 511 The terminal 2 determines that the HARQ process R_1 is currently occupied by the SCI2 or is occupied by TB2, and the terminal 2 does not clear the buffer R_1 associated with the HARQ process R_1, that is, does not delete or cover the TB2 in the buffer R_1.
  • the terminal 2 is in any of the following states: prepare the processing resources corresponding to the HARQ process R_1, use the processing resources corresponding to the HARQ process R_1 to read and process the TB in the buffer R_1, and feedback to the terminal 1 after the processing is completed TB2 Response message: ACK/NACK, or found that the buffer associated with HARQ process R_1 contains TB2, the buffer associated with HARQ process R1 is not empty, and the association relationship between HARQ process R1 and SCI2 or TB2 or the first information, HARQ is stored The timer associated with the process R1 is running, and it is determined that the HARQ process R_1 is being occupied by SCI2 or occupied by TB2 at this time.
  • terminal 2 can select other idle HARQ processes among HARQ processes R_1 to HARQ process R_16 to associate with SCI1, switch HARQ process R_1 associated with SCI1 to other HARQ processes, and process TB1 through other HARQ processes R_1, or terminal 2 Send feedback information to terminal 1 to inform terminal 1 that this scheduling has failed.
  • Step 512 The terminal 2 determines that the HARQ process R_1 is not occupied, that is, the HARQ process R_1 is only associated with the SCI1, and the buffer R_1 associated with the HARQ process R_1 is cleared.
  • FIG. 6 Figures 5 to 7 above describe the process of clearing the buffer of the receiving device. Further, in this application, a method for clearing the buffer of the sending device is also provided. Specifically, the method can be referred to as shown in FIG. 6.
  • FIG. 6 is a method for clearing the cache provided by an embodiment of the application. As shown in FIG. 6, the method includes:
  • Step 601 The sending device sends fourth control information to the receiving device.
  • the fourth control information may be the fourth SCI, and the fourth control information may be carried in the PSCCH and sent to the receiving device, that is, it may be sent to the receiving device using PSCCH resources. Specifically, the fourth control information may be used to schedule the fourth data sent by the sending device to the receiving device through the fourth HARQ process.
  • the fourth control information may include at least fourth information, and the fourth information may include at least one of the following information: process number of the fourth HARQ process/identification of the fourth HARQ process, source identification corresponding to the fourth data, and fourth data Corresponding target identification, fourth data transmission mode.
  • the fourth control information may also include NDI, sidelink time-frequency resource information corresponding to the fourth data transmission, other information, and so on.
  • the fourth HARQ process may be the HARQ process of the sending device.
  • the fourth HARQ process may be the HARQ process associated with the control information of the last scheduling of the fourth data.
  • the sending device once used the fourth HARQ process to send/process the fourth data from the sending device. It is possible that the fourth data transmission was successful last time, and the fourth HARQ process was released for association with other control information.
  • the process for the sending device to determine the fourth HARQ process can refer to the above step 501, which will not be repeated.
  • the sending device determines that the fourth HARQ process is associated with the fourth control information.
  • Step 602 The receiving device checks the association between the fourth HARQ process and the control information and/or the data included in the buffer associated with the fourth HARQ process, if it is determined that the fourth HARQ process is associated with the fifth control information, and/ Or, if the buffer associated with the fourth HARQ process contains the fifth data scheduled by the fifth control information, step 603 is executed, or if it is determined that the fourth HARQ process is associated with the sixth control information and/or the buffer associated with the fourth HARQ process The sixth data scheduled by the sixth control information is included, and the sixth data is the same as the fourth data, and step 604 is executed.
  • Step 603 The sending device determines that the fourth HARQ process is associated with the fifth control information, and/or the buffer associated with the fourth HARQ process contains fifth data scheduled by the fifth control information, and clears the buffer of the fourth HARQ process.
  • the fifth control information may be the fifth SCI, and the fifth control information may be used to schedule the fifth data transmitted by the transmitting device to the receiving device through the fourth HARQ process, for example, it may be used to schedule the new transmission from the transmitting device to the receiving device.
  • the fifth data or fifth data that can be used to schedule the sending device to retransmit to the receiving device, the fifth data is different from the fourth data, and the fifth data can be sent to the receiving device after being processed by the fourth HARQ process of the sending device.
  • the fifth control information may be sent to the receiving device before step 601.
  • the fifth control information may include fifth information, and the fifth information may include: the process number of the fourth HARQ process, the source identifier corresponding to the fifth data, the target identifier corresponding to the fifth data, and the fifth information.
  • the fifth control information may also include NDI, sidelink time-frequency resource information for transmitting the fifth data, and other information.
  • the fourth HARQ process associated with the fifth control information can be replaced by the description that the fourth HARQ process is being associated with the fifth control information, or the sending device is processing/sending the fifth data through the fourth HARQ process, or the fourth HARQ process is being associated with the fifth control information.
  • the HARQ process is being occupied by the fifth data, etc.
  • associating the fourth HARQ process with the fifth control information may specifically include: the sending device configures the processing resources of the second HARQ process according to the fifth control information; the sending device configures the processing resources of the fourth HARQ process and uses the processing resources to send Fifth data: In the response message corresponding to the fifth data received by the sending device, the response message includes an acknowledgement ACK or a negative acknowledgement NACK. The sending device can check whether it is in these situations, and if it is in any of these situations, it determines that the fourth HARQ process is associated with the fifth control information.
  • Step 604 The sending device determines that the fourth HARQ process is associated with the sixth control information and/or the buffer associated with the fourth HARQ process contains the sixth data scheduled by the sixth control information, the sixth data is the same as the fourth data, and the first data is not cleared.
  • Four buffers of HARQ process are possible.
  • the sixth control information can be the sixth SCI, and the sixth control information can be used to schedule the sixth data that the sending device transmits to the receiving device through the fourth HARQ process, for example, it can be used to schedule the new transmission from the sending device to the receiving device.
  • the sixth data or the sixth data that can be used to schedule the sending device to retransmit to the receiving device, the sixth data is different from the fourth data, and the sixth data can be sent to the receiving device after being processed by the fourth HARQ process of the sending device.
  • the sixth control information may be sent to the receiving device before step 601.
  • the sixth control information may include sixth information, and the sixth information may include: the process number of the fourth HARQ process, the source identifier corresponding to the sixth data, the target identifier corresponding to the sixth data, and the sixth information.
  • the sixth control information may also include NDI, sidelink time-frequency resource information for transmitting the sixth data, and other information.
  • the fourth HARQ process associated with the sixth control information can be replaced by the description that the fourth HARQ process is being associated with the sixth control information, or the sending device is processing/sending the fourth data through the fourth HARQ process, or the fourth HARQ process is being associated with the sixth control information.
  • the HARQ process is being occupied by the fourth data, etc.
  • associating the fourth HARQ process with the sixth control information may specifically include: the sending device configures the processing resources of the second HARQ process according to the sixth control information; the sending device configures the processing resources of the fourth HARQ process and uses the processing resources to send Sixth data: In the response message corresponding to the sixth data received by the sending device, the response message includes an acknowledgement ACK or a negative acknowledgement NACK. The sending device can check whether it is in these four situations, and if it is in any of these four situations, it determines that the fourth HARQ process is associated with the sixth control information.
  • the sending device clearing the buffer of the fourth HARQ process may include: the sending device overwrites the data in the buffer associated with the fourth HARQ process with fourth data; or the sending device deletes all the data in the buffer associated with the fourth HARQ process Wait.
  • the sending device clears the buffer associated with the HARQ process sending data, if the HARQ process currently sending data is not under other control Information/other data occupancy is still associated with the control information for scheduling the current data, and the buffer associated with the HARQ process that sends the data is not cleared.
  • the sending device is configured with 16 HARQ processes: HARQ process T_1 to HARQ process T_16
  • the receiving device is configured with 16 HARQ processes: HARQ process R_1 to HARQ process R_16, and the data transmission granularity is TB transmission.
  • the sending device is the terminal 1
  • the receiving device is the terminal 2
  • the control information is SCI
  • the terminal 1 and terminal 2 use unicast to transmit TB to each other through sidelink as an example.
  • the process of clearing the buffer of the sending device in the method shown in Figure 6 is described in detail. :
  • FIG. 7 is a flowchart of a method for clearing a cache provided by an embodiment of the application. As shown in FIG. 7, the method may include:
  • step 701 to step 706 are executed:
  • Step 701 Terminal 1 determines to send TB1 to terminal 2 for the first time, selects idle HARQ process T_1 from HARQ processes T_1 to HARQ process T_16 of terminal 1 as the HARQ process for sending TB1, and sends SCI1 to terminal 2.
  • the HARQ process T_1 is occupied by the SCI1 or the TB1, and the terminal 1 can record/save the association relationship between the HARQ process T_1 and the SCI1.
  • the terminal 1 buffers TB1 in the buffer T_1 associated with the HARQ process T_1 of the terminal 1.
  • Step 702 The terminal 2 receives the SCI1, and associates the SCI1 with the idle HARQ process R_1 of the HARQ process R_1 to the HARQ process R_16 of the terminal 2: HARQ process R_1.
  • terminal 2 can record/save the association relationship between HARQ process R_1 and SCI1.
  • Step 703 After the terminal 1 processes the TB1 through the HARQ process T_1 of the terminal 1, it sends the processed TB1 to the terminal 2 through the sidelink.
  • Step 704 Terminal 2 receives and buffers TB1 in buffer R_1 associated with HARQ process R_1, and processes TB1 in buffer R_1 through HARQ process R_1 of terminal 2.
  • Step 705 Terminal 2 sends a response message to terminal 1 according to the processing result of TB1, and the response message is ACK.
  • the terminal 2 releases the HARQ process R_1, so that the HARQ process R_1 can be occupied by other SCIs for processing/receiving other TBs.
  • Step 706 Terminal 1 receives the response message and knows that TB1 is successfully transmitted, then releases HARQ process T_1, so that HARQ process T_1 can be occupied by other SCIs for transmitting other TBs.
  • step 707 to step 708 are executed in the T2 time period:
  • Step 707 Terminal 1 determines to send TB2 to terminal 2 for the first time, selects idle HARQ process T_1 from HARQ processes T_1 to HARQ process T_16 of terminal 1 as the HARQ process for sending TB2, and sends SCI2 to terminal 2.
  • the terminal 1 can record/save the association relationship between the HARQ process T_1 and the SCI2.
  • the idle HARQ process described in the embodiment of the present application may include a released HARQ process.
  • terminal 1 buffers TB2 in the buffer T_1 associated with HARQ process T_1 of terminal 1.
  • terminal 1 prepares to use HARQ process T_1 to process TB2 in buffer T_1 within the time period of T3, such as: terminal 1 prepares The processing resources corresponding to the HARQ process T_1 are used to read and process the TB2 in the buffer T_1 using the processing resources corresponding to the HARQ process T_1, and the response message fed back by the terminal 2 after sending TB2 is received: ACK/NACK, etc.
  • the terminal 1 finishes processing the TB2 and receives the ACK fed back by the terminal 2, the terminal 1 releases the HARQ process T_1, and the HARQ process T_1 can be occupied by other SCIs for processing other TBs.
  • steps 708 to 711 may also be executed during the T3 time period:
  • Step 708 Terminal 1 again determines to send TB1 to terminal 2, and check the association between HARQ process T_1 and SCI associated with SCI1 of TB1 last time. If HARQ process T_1 is associated with SCI2, go to step 709, if HARQ process T_1 is associated with SCI1 , Go to step 710.
  • Step 709 The terminal 1 determines that the HARQ process T_1 is currently occupied by the SCI2 or is occupied by TB2, and the terminal 1 does not clear the buffer T_1 associated with the HARQ process T_1, that is, does not delete or overwrite TB2 in the buffer T_1.
  • the terminal 1 is in any of the following states: prepare the processing resources corresponding to the HARQ process T_1, use the processing resources corresponding to the HARQ process T_1 to read and process the TB in the buffer T_1, and feedback to the terminal 1 after the processing is completed TB2 Response message: ACK/NACK, or if TB2 is found in the buffer T_1 associated with HARQ process T_1, it is determined that HARQ process T_1 is currently occupied by SCI2 or occupied by TB2.
  • terminal 1 can select other idle HARQ processes in HARQ process T_1 to HARQ process T_16 to associate with SCI1, switch HARQ process T_1 associated with SCI1 to other HARQ processes, and process TB1 through other HARQ process T_1, or this time The scheduling failed.
  • Step 710 The terminal 1 determines that the HARQ process T_1 is associated with the SCI1, and then clears the buffer T_1 associated with the HARQ process T_1.
  • the method for the receiving device and the sending device to determine whether it is a new transmission or a retransmission refers to step 401, and other methods are not limited.
  • the method for the receiving device and the sending device to determine whether the control information and/or corresponding data is transmitted for the first time is not limited.
  • the first data and the second data are used to represent the new transmission, that is, the first data associated with the first information and the first information associated with the first information are used to represent the new transmission.
  • the second data is different TB.
  • Step 1 The receiving device receives the first information and/or the first data associated with the first information.
  • the receiving device determines that the first data is newly transmitted, or it is determined that it is the first time to receive the first data and/or the first data.
  • the first information associated with the data is a prefix ⁇ ⁇ HARQ ID 1, SRC ID 1, DST ID1, cast type1 ⁇ .
  • the receiving device allocates an unoccupied fourth HARQ process for the first data, associates the first information and/or the first data with the fourth HARQ process, and determines that the transmission of the first data is a new transmission.
  • the first information includes side link transmission information associated with the first data.
  • the receiving device stores the first data in a buffer associated with the fourth HARQ process.
  • the receiving device determines that the reception is successful or the decoding is successful, and releases the fourth HARQ process. Releasing the HARQ process may be interpreted as determining that the fourth HARQ process is not occupied.
  • the receiving apparatus determines that the buffer of the fourth HARQ process associated with the first information is not empty, and the receiving apparatus clears the buffer associated with the fourth HARQ process.
  • Step 2 The receiving device receives the first information and/or the second data associated with the first information.
  • the receiving device determines that the second data is newly transmitted.
  • the first information includes side link transmission information associated with the first data, that is, the second data and the first data correspond to the same first information.
  • Case 2 The receiving device receives the first information and/or the first data associated with the first information.
  • the receiving device determines that the first data is newly transmitted, or it is determined that it is the first time to receive the first data and/or the first data.
  • the first information associated with the data is a prefix ⁇ ⁇ HARQ ID 1, SRC ID 1, DST ID1, cast type1 ⁇ .
  • the receiving device allocates an unoccupied fourth HARQ process for the first data, associates the first information and/or the first data with the fourth HARQ process, and determines that the transmission of the first data is a new transmission.
  • the first information includes side link transmission information associated with the first data.
  • the receiving device stores the first data in a buffer associated with the fourth HARQ process.
  • the receiving device determines that the reception is not successful or the decoding is not successful, that is, the first data and/or the first information is still associated with the fourth HARQ process, and the fourth HARQ process is not released.
  • Step 2 The receiving device receives the first information and/or the second data associated with the first information.
  • the receiving device determines that the second data is newly transmitted.
  • the first information includes side link transmission information associated with the first data, that is, the second data and the first data correspond to the same first information.
  • the receiving device determines that the buffer of the fourth HARQ process associated with the first information is not empty, clears the buffer associated with the fourth HARQ process, and/or determines that the fourth HARQ process is available.
  • the receiving apparatus stops the timer associated with the fourth HARQ process, or the receiving apparatus restarts or reconfigures the timer associated with the fourth HARQ process.
  • the sending devices may be the same or different. That is, the sending device that sends the first information and the first data in step 1 is the same or different from the sending device that sends the first information and the second data in step 2.
  • Step 1 The receiving device receives the first information and/or the first data associated with the first information.
  • the receiving device determines that the first data is newly transmitted, or it is determined that it is the first time to receive the first data and/or the first data.
  • the first information associated with the data is a prefix ⁇ ⁇ HARQ ID 1, SRC ID 1, DST ID1, cast type1 ⁇ .
  • the receiving device allocates an unoccupied fourth HARQ process for the first data, associates the first information and/or the first data with the fourth HARQ process, and determines that the transmission of the first data is a new transmission.
  • the first information includes side link transmission information associated with the first data.
  • the receiving device stores the first data in a buffer associated with the fourth HARQ process.
  • the receiving device determines that the reception is successful or the decoding is successful, and releases the fourth HARQ process. Releasing the HARQ process may be interpreted as determining that the fourth HARQ process is not occupied. Optionally, the receiving device clears the buffer associated with the fourth HARQ process.
  • Step 2 The receiving device receives the second information and/or third data associated with the second information.
  • the receiving device determines that the second data is newly transmitted, or it is determined that it is the first time to receive the second data and/or the second data.
  • the second information includes side-link transmission information associated with the second data, that is, the second data and the first data correspond to different and the same side-link transmission information.
  • the receiving device determines that the reception is not successful or the decoding is not successful, that is, the second data and/or the second information is still associated with the fourth HARQ process, and the second data is stored in the buffer associated with the fourth HARQ process, and the fourth HARQ process is not released .
  • Step 3 The receiving device receives the first information and/or the second data associated with the first information.
  • the receiving device determines that the second data is newly transmitted (for example, according to the NDI method described in step 5.2);
  • the receiving apparatus determines that the first information is associated with the fourth HARQ process.
  • the receiving device determines that the previous transmission of the second data (the English translation can be previous transmission, without limitation) does not exist or is not stored in the buffer associated with the HARQ process of the receiving device.
  • the previous transmission of the second data is the first transmission.
  • a piece of data is not buffered in the buffer of the fourth HARQ process, and/or does not exist in other HARQ processes of the receiving device, and the receiving device does not clear the fourth HARQ process associated with the first information.
  • Step 1 The receiving device receives the first information and/or the first data associated with the first information.
  • the receiving device determines that the first data is newly transmitted, or determines that the receiving device receives the first data and/or the first data for the first time.
  • the first information associated with a data.
  • the receiving device allocates an unoccupied fourth HARQ process for the first data, associates the first information and/or the first data with the fourth HARQ process, and determines that the transmission of the first data is a new transmission.
  • the first information includes side link transmission information associated with the first data.
  • the receiving device stores the first data in a buffer associated with the fourth HARQ process.
  • the receiving device determines that the reception is not successful or the decoding is not successful, that is, the first data and/or the first information is still associated with the fourth HARQ process, and the fourth HARQ process is not released.
  • Step 2 The receiving device receives the second information and/or third data associated with the second information.
  • the receiving device determines that the second data is newly transmitted, or it is determined that it is the first time to receive the second data and/or the second data.
  • the second information includes side-link transmission information associated with the second data, that is, the second data and the first data correspond to different and the same side-link transmission information.
  • the receiving apparatus determines that there is no unoccupied process, and there is no unoccupied HARQ process including one or more of the following: a timer associated with the HARQ process is running; and/or the buffer associated with the HARQ process is not empty ; And/or, the HARQ process is associated with side-link transmission information; and/or, the HARQ process is associated with the first identifier, and the first identifier may be the HARQ process identifier contained in the first information, or with the side-link The HARQ process identifier corresponding to the path resource, or the HARQ process identifier indicated/configured by the network device.
  • the receiving device preempts the fourth HARQ process to receive the third data, that is, the receiving device allocates the fourth HARQ process to receive the third data, and optionally, associates the second information and/or the third data with the fourth HARQ process, Store the third data in the buffer associated with the fourth HARQ process.
  • the reception is not successful or the decoding is not successful that is, the second information and/or the third data are still associated with the fourth HARQ process, and the third data is stored in the buffer associated with the fourth HARQ process, and the fourth HARQ process is not released.
  • Step 3 The receiving device receives the first information and/or the second data associated with the first information.
  • the receiving device determines that the second data is newly transmitted;
  • the receiving apparatus determines that the first information is associated with the fourth HARQ process.
  • the receiving device determines that the previous transmission of the second data (the English translation can be previous transmission, without limitation) does not exist or is stored in the buffer associated with the HARQ process of the receiving device.
  • the previous transmission of the second data is the first
  • the data is not buffered in the buffer of the fourth HARQ process, and/or does not exist in other HARQ processes of the receiving device, and the receiving device does not clear the fourth HARQ process associated with the first information.
  • the sending devices may be the same or different. That is, the sending device that sends the first information and the first data in step 1 is the same or different from the sending device that sends the first information and the second data in step 2.
  • Step 1 The receiving device receives the first information and/or the first data associated with the first information.
  • the receiving device determines that the first data is newly transmitted, or determines that the receiving device receives the first data and/or the first data for the first time.
  • the first information associated with a data.
  • the receiving device allocates an unoccupied fourth HARQ process for the first data, associates the first information and/or the first data with the fourth HARQ process, and determines that the transmission of the first data is a new transmission.
  • the first information includes side link transmission information associated with the first data.
  • the receiving device stores the first data in a buffer associated with the fourth HARQ process.
  • the receiving device determines that the reception is successful or the decoding is successful, and releases the fourth HARQ process. Releasing the HARQ process may be interpreted as determining that the fourth HARQ process is not occupied. Optionally, the receiving device clears the buffer associated with the fourth HARQ process.
  • Step 2 The receiving device receives the second information and/or third data associated with the second information.
  • the receiving device determines that the second data is newly transmitted, or it is determined that it is the first time to receive the second data and/or the second data.
  • the second information includes side-link transmission information associated with the second data, that is, the second data and the first data correspond to different and the same side-link transmission information.
  • the receiving apparatus determines that there is no unoccupied process, and there is no unoccupied HARQ process including one or more of the following: a timer associated with the HARQ process is running; and/or the buffer associated with the HARQ process is not empty ; And/or, the HARQ process is associated with side-link transmission information; and/or, the HARQ process is associated with the first identifier, and the first identifier may be the HARQ process identifier contained in the first information, or with the side-link The HARQ process identifier corresponding to the path resource, or the HARQ process identifier indicated/configured by the network device.
  • the receiving apparatus allocates the fifth HARQ process to receive the third data, optionally, associates the second information and/or third data with the fifth HARQ process, and stores the third data in a buffer associated with the fifth HARQ process.
  • the receiving apparatus allocates an unoccupied fifth HARQ process for receiving third data associated with the second information.
  • Step 3 The receiving device receives the first information and/or the second data associated with the first information.
  • the receiving device determines that the second data is newly transmitted;
  • the receiving apparatus determines that the first information is associated with the fourth HARQ process.
  • the receiving device determines that the previous transmission of the second data (the English translation can be previous transmission, without limitation) exists or is stored in the buffer associated with the HARQ process of the receiving device, for example, the previous transmission of the second data is the first data It is not buffered in the buffer of the fourth HARQ process; or, it exists in other HARQ processes of the receiving device.
  • the receiving device determines that the buffer of the fourth HARQ process associated with the first information is not empty, clears the buffer associated with the fourth HARQ process, and/or determines that the fourth HARQ process is available.
  • the receiving apparatus stops the timer associated with the fourth HARQ process, or the receiving apparatus restarts or reconfigures the timer associated with the fourth HARQ process.
  • the sending devices may be the same or different. That is, the sending device that sends the first information and the first data in step 1 is the same or different from the sending device that sends the first information and the second data in step 2.
  • each node such as a receiving device and a transmitting device, includes hardware structures and/or software modules corresponding to each function.
  • the method of the embodiments of the present application can be implemented in the form of hardware, software, or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. 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 embodiments of the present application may divide the receiving device and the sending 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. 8 shows a structural diagram of a communication device 110.
  • the communication device 110 may be a receiving device, a chip in the receiving device, a system on a chip, or other devices capable of realizing the function of the receiving device in the above method.
  • the communication device 110 It can be used to perform the functions of the receiving device involved in the foregoing method embodiments.
  • the communication device 110 shown in FIG. 8 includes: a receiving unit 1101 and a processing unit 1102.
  • the receiving unit 1101 is configured to receive first control information including first information, where the first control information is used to schedule first data.
  • the processing unit 1102 is configured to determine that the first HARQ process of hybrid automatic repeat request is associated with the first control information; the processing unit 1102 is also configured to determine that the first HARQ process is associated with the second control information, and/or the first HARQ process
  • the associated buffer includes the second data scheduled by the second control information.
  • the second control information includes the second information, and the second information is different from the first information.
  • the processing unit 1102 is also used for not clearing the buffer of the first HARQ process.
  • the communication device 110 is used to perform the function of the receiving device in the method of clearing the cache shown in the methods shown in FIGS. 4 to 5, and therefore can achieve the same effect as the foregoing method of clearing the cache.
  • the processing module may be a processor, a controller, a module, or a circuit. It can implement or execute various exemplary logical blocks described in conjunction with the disclosure of this application.
  • the communication module may be a transceiver circuit, a pin, an interface circuit, a bus interface, or a communication interface.
  • the storage module may be a memory.
  • the processing module is a processor
  • the communication module is a communication interface
  • the storage module is a memory
  • the communication device 110 involved in the embodiment of the present application may be the communication device shown in FIG. 4.
  • the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, which may implement or Perform the methods, steps, and logic block diagrams disclosed in the embodiments of the present application.
  • the general-purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
  • the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), for example Random-access memory (random-access memory, RAM).
  • the memory is any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer, but is not limited to this.
  • the memory in the embodiments of the present application may also be a circuit or any other device capable of realizing a storage function for storing instructions and/or data.
  • FIG. 9 shows a structural diagram of a communication device 120.
  • the communication device 120 may be a sending device, a chip in the sending device, a system on a chip, or other devices capable of realizing the function of the sending device in the above method.
  • the communication device 120 may be used to perform the functions of the sending device involved in the foregoing method embodiments.
  • the communication device 120 shown in FIG. 9 includes a sending unit 1201 and a processing unit 1202.
  • the sending unit 1201 is configured to send fourth control information to the receiving device, where the fourth control information includes fourth information, and the fourth control information is used to schedule fourth data.
  • the processing unit 1202 is configured to determine that the fourth HARQ process of hybrid automatic repeat request is associated with the fourth control information; determine that the fourth HARQ process is associated with the fifth control information, and/or the buffer associated with the fourth HARQ process contains the fifth The fifth data scheduled by the control information is different from the fourth data; the buffer of the fourth HARQ process is cleared.
  • the communication device 120 is used to perform the function of the sending device in the method of clearing the cache shown in the methods shown in FIGS. 6-7, and therefore can achieve the same effect as the foregoing method of clearing the cache.
  • the processing module may be a processor, a controller, a module, or a circuit. It can implement or execute various exemplary logical blocks described in conjunction with the disclosure of this application.
  • the processor may also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
  • the communication module may be a transceiver circuit, a pin, an interface circuit, a bus interface, or a communication interface.
  • the storage module may be a memory. When the processing module is a processor, the communication module is a communication interface, and the storage module is a memory, the communication device 120 involved in the embodiment of the present application may be the communication device shown in FIG. 4.
  • the embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the foregoing method embodiments may be completed by a computer program instructing relevant hardware.
  • the program may be stored in the foregoing computer-readable storage medium. When the program is executed, it may include processes as in the foregoing method embodiments. .
  • the computer-readable storage medium may be the terminal device of any of the foregoing embodiments, such as an internal storage unit including a data sending end and/or a data receiving end, such as a hard disk or memory of the terminal device.
  • the computer-readable storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart media card (SMC), or a secure digital (SD) card equipped on the terminal device.
  • SMC smart media card
  • SD secure digital
  • the aforementioned computer-readable storage medium may also include both an internal storage unit of the aforementioned terminal device and an external storage device.
  • the aforementioned computer-readable storage medium is used to store the aforementioned computer program and other programs and data required by the aforementioned terminal device.
  • the aforementioned computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
  • the embodiment of the present application also provides a computer instruction. All or part of the processes in the foregoing method embodiments may be completed by computer instructions to instruct related hardware (such as computers, processors, network devices, and terminals).
  • the program can be stored in the aforementioned computer-readable storage medium.
  • At least one (item) refers to one or more
  • “multiple” refers to two or more than two
  • “at least two (item)” refers to two or three And three or more
  • “and/or” is used to describe the association relationship of the associated objects, indicating that there can be three relationships, for example, "A and/or B” can mean: only A, only B, and A at the same time And B three cases, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after 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 a plurality of items (a).
  • 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 can be single or multiple.
  • B corresponding to A means that B is associated with A.
  • B can be determined from A.
  • determining B according to A does not mean that B is determined only according to A, and B can also be determined according to A and/or other information.
  • connection appearing in the embodiments of the present application refers to various connection modes such as direct connection or indirect connection to implement communication between devices, which is not limited in the embodiments of the present application.
  • transmit/transmission appearing in the embodiments of the present application refers to two-way transmission, including sending and/or receiving actions.
  • the “transmission” in the embodiment of the present application includes the sending of data, the receiving of data, or the sending of data and the receiving of data.
  • the data transmission here includes uplink and/or downlink data transmission.
  • Data may include channels and/or signals.
  • Uplink data transmission means uplink channel and/or uplink signal transmission
  • downlink data transmission means downlink channel and/or downlink signal transmission.
  • the "network” and “system” appearing in the embodiments of this application express the same concept, and the communication system is the communication network.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. It can be combined or integrated into another device, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to enable a device, such as a single-chip microcomputer, a chip, etc., or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

Landscapes

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

Abstract

本申请实施例公开了一种清空缓存的方法以及装置,所述方法包括:接收装置接收包括第一信息的第一控制信息;接收装置确定第一混合自动重传请求HARQ进程与第一控制信息关联;接收装置确定第一HARQ进程与第二控制信息关联和/或第一HARQ进程关联的buffer包含第二控制信息调度的第二数据,第二控制信息包括与第一信息不同的第二信息;接收装置不清空第一HARQ进程的buffer。或者,接收装置确定第一HARQ进程与第三控制信息关联和/或第一HARQ进程关联的buffer包含第三控制信息调度的第三数据,第三控制信息包括第三信息,第三信息与第一信息相同;接收装置清空第一HARQ进程的buffer。本申请方案可广泛适用于通信技术领域、人工智能、车联网、智能家居联网等领域。

Description

一种清空缓存的方法及装置
本申请要求于2020年04月10日提交国家知识产权局、申请号为202010281222.0、申请名称为“一种清空缓存的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种清空缓存的方法及装置。
背景技术
在车与任何事物(vehicle-to-everything,V2X)通信系统中,终端装置与终端装置之间可以通过直连链路,如侧行链路(sidelink,SL),进行无线通信。为了提高该直连链路的通信质量,在V2X通信系统中引入了HARQ机制,HARQ使用停等协议(stop-and-wait protocol)来发送数据。在停等协议中,发端发送一个传输块(transport block,TB)后,就停下来等待确认信息,收端收到该TB后,可以使用1比特的信息对该TB进行肯定应答(acknowledgement,ACK)或否定应答(non-acknowledgement,NACK)的确认。
但是发端每次传输TB后就停下来等待确认,会导致吞吐量很低。因此使用多个并行的HARQ进程(HARQ process),当一个HARQ process在等待确认信息时,发端可以使用另一个HARQ process来继续发送数据。这些HARQ process共同组成了一个HARQ实体(HARQ entity),这个实体结合了停等协议,同时允许数据的连续传输。
对于其中每一个HARQ进程,在收发两端均维护有与该HARQ进程相关联的缓存(buffer),用该buffer缓存通过HARQ进程传输的某一TB。然而,目前的机制中,如果是TB的新传,则发端清空用于传输该TB的HARQ进程所关联的buffer,将清空出来的buffer用于缓存新传的该TB。但是,这种清空buffer的方式很容易会将正在处理的其他TB清除掉,影响收发两端的数据传输。
发明内容
本申请实施例提供一种清空缓存的方法及系统,
为达到上述目的,本申请实施例采用如下技术方案:
第一方面,本申请实施例提供一种清空缓存的方法,该方法可以由接收装置、芯片或者其它装置执行,以接收装置执行为例,该方法可以包括:接收装置接收包括第一信息的第一控制信息,第一控制信息用于调度第一数据;接收装置确定第一混合自动重传请求HARQ进程与第一控制信息关联;接收装置确定第一HARQ进程与第二控制信息关联,和/或,第一HARQ进程关联的buffer包含第二控制信息调度的第二数据,第二控制信息包括第二信息,第二信息与第一信息不同;接收装置不清空第一HARQ进程的buffer。
基于第一方面的提供的方法,接收装置可以在小区中接收发送装置发送的用于指示允许接入该小区的接收装置的特征信息的信息,根据发送装置的指示以及自身具有 的特征信息确定自身是否可以接入该小区。如此,可以由发送装置指示哪些特征的接收装置被允许/不被允许接入小区,提高网络侧控制小区接入的灵活性,有助于网络侧进行业务控制和流量控制。
一种可能的设计中,第一信息包括下述一项或者多项:第二HARQ进程的标识、源标识、目标标识以及传输方式;第二信息包括下述一项或者多项:第三HARQ进程的标识、源标识、目标标识以及传输方式。
一种可能的设计中,接收装置根据第二控制信息配置第一HARQ进程的处理资源;接收装置配置完成第一HARQ进程的处理资源,利用处理资源处理第二数据;接收装置处理完第二数据,向发送装置反馈第二数据对应的应答消息,应答消息包括肯定应答ACK或否定应答NACK;接收装置保存有第一HARQ进程与第二信息或者第二控制信息的关联关系。
一种可能的设计中,接收装置接收包括第一信息的第一控制信息;接收装置确定第一混合自动重传请求HARQ进程与第一控制信息关联;接收装置确定第一HARQ进程与第三控制信息关联,和/或,第一HARQ进程关联的buffer包含第三控制信息调度的第三数据,第三控制信息包括第三信息,第三信息与第一信息相同;接收装置清空第一HARQ进程的buffer。
一种可能的设计中,第一信息包括下述一项或者多项:第二HARQ进程的标识、源标识、目标标识以及传输方式。
一种可能的设计中,接收装置根据第三控制信息配置第一HARQ进程的处理资源;接收装置配置完成第一HARQ进程的处理资源,利用处理资源处理第三控制信息调度的数据;接收装置向发送装置反馈第二数据对应的应答消息,应答消息包括肯定应答ACK或否定应答NACK;接收装置利用第一HARQ进程成功处理完第三控制信息调度的数据;接收装置保存有第一HARQ进程与第三信息或者第三控制信息的关联关系。
一种可能的设计中,在接收装置接收来自发送装置的第一控制信息之前,接收装置接收来自发送装置的第三控制信息。
第二方面,本申请提供一种通信装置,该通信装置可以为接收装置或者接收装置中的芯片或者片上系统,还可以为接收装置中用于实现本申请实施例所述的清空缓存的方法的模块或者单元。该通信装置可以实现上述各方面或者各可能的设计中接收装置所执行的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相应的模块。一种设计中,该装置可以包括执行第一方面中所描述的方法/操作/步骤/动作所一一对应的模块,该模块可以是硬件电路,也可是软件,也可以是硬件电路结合软件实现。一种设计中,该通信装置可以包括:接收单元、处理单元;
接收单元,用于接收包括第一信息的第一控制信息,第一控制信息用于调度第一数据。
处理单元,用于确定第一混合自动重传请求HARQ进程与第一控制信息关联;处理单元,还用于确定第一HARQ进程与第二控制信息关联,和/或,第一HARQ进程关联的buffer包含第二控制信息调度的第二数据,第二控制信息包括第二信息,第二信息与第一信息不同;处理单元,还用于不清空第一HARQ进程的buffer。
其中,该通信装置的具体实现方式可以参考第一方面或第一方面的任一可能的设计提供的清空缓存的方法中接收装置的行为功能,在此不再重复赘述。因此,该提供的通信装置可以达到与第一方面或者第一方面的任一可能的设计相同的有益效果。
第三方面,提供了一种通信装置,该通信装置可以为接收装置或者接收装置中的芯片或者片上系统。该通信装置可以实现上述各方面或者各可能的设计中接收装置所执行的功能,所述功能可以通过硬件实现。一种可能的设计中,该通信装置可以包括:处理器和通信接口,处理器可以用于支持通信装置实现上述第一方面或者第一方面的任一种可能的设计中所涉及的功能,例如:处理器用于通过通信接口接收包括第一信息的第一控制信息,第一控制信息用于调度第一数据;确定第一混合自动重传请求HARQ进程与第一控制信息关联;确定第一HARQ进程与第二控制信息关联,和/或,第一HARQ进程关联的buffer包含第二控制信息调度的第二数据,第二控制信息包括第二信息,第二信息与第一信息不同;不清空第一HARQ进程的buffer。在又一种可能的设计中,通信装置还可以包括存储器,存储器用于保存计算机指令和/或数据。当该通信装置运行时,该处理器执行该存储器存储的该计算机指令,以使该通信装置执行上述第一方面或者第一方面的任一种可能的设计所述的清空缓存的方法。在本申请实施例中,通信接口可以是收发器、接口电路、总线接口、管脚或其它能够实现收发功能的装置。
第四方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第一方面或者上述方面的任一可能的设计所述的清空缓存的方法。
第五方面,提供了一种包含指令的计算机程序产品,该计算机程序产品可以包括程序指令,当该计算机程序产品在计算机上运行时,使得计算机可以执行上述第一方面或者上述方面的任一可能的设计所述的清空缓存的方法。
第六方面,提供了一种芯片系统,该芯片系统包括处理器以及通信接口,该芯片系统可以用于实现上述第一方面或第一方面的任一可能的设计中接收装置所执行的功能,例如处理器用于通过通信接口接收包括第一信息的第一控制信息,第一控制信息用于调度第一数据;确定第一混合自动重传请求HARQ进程与第一控制信息关联;确定第一HARQ进程与第二控制信息关联,和/或,第一HARQ进程关联的buffer包含第二控制信息调度的第二数据,第二控制信息包括第二信息,第二信息与第一信息不同;不清空第一HARQ进程的buffer。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存程序指令和/或数据,当该芯片系统运行时,该处理器执行该存储器存储的该程序指令,以使该芯片系统执行上述第七方面或者第七方面的任一种可能的设计所述的清空缓存的方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件,不予限制。
第七方面,本申请实施例还提供一种清空缓存的方法,该清空缓存的方法可以由发送装置、芯片或者其它装置执行,该方法可以包括:发送装置向接收装置发送包括第四信息的第四控制信息,第四控制信息用于调度第四数据;发送装置确定第四混合自动重传请求HARQ进程与第四控制信息关联;发送装置确定第四HARQ进程与第五控制信息关联,和/或,第四HARQ进程关联的buffer中包含第五控制信息调度的第五 数据,第五数据与第四数据不同;接收装置清空第四HARQ进程的buffer。
一种可能的设计,发送装置根据第五控制信息配置第二HARQ进程的处理资源;发送装置配置完成第四HARQ进程的处理资源,利用处理资源发送第五数据;发送装置接收第五数据对应的应答消息中,应答消息包括肯定应答ACK或否定应答NACK。
一种可能的设计,发送装置向接收装置发送第四控制信息,第四控制信息包括第四信息,第四控制信息用于调度第四数据;发送装置确定第四混合自动重传请求HARQ进程与第四控制信息关联;发送装置确定第四HARQ进程与第六控制信息关联,和/或,第四HARQ进程关联的buffer中包含第六控制信息调度的第六数据,第六数据与第四数据相同;接收装置不清空第四HARQ进程的buffer。
一种可能的设计,发送装置根据第六控制信息配置第二HARQ进程的处理资源;发送装置配置完成第四HARQ进程的处理资源,利用处理资源发送第六数据;发送装置接收第六数据对应的应答消息中,应答消息包括肯定应答ACK或否定应答NACK;第二HARQ进程关联的buffer包含第六数据。
一种可能的设计,发送装置通过sidelink向接收装置发送第四控制信息。
第八方面,本申请提供一种通信装置,该通信装置可以为发送装置或者发送装置中的芯片或者片上系统,还可以为发送装置中用于实现本申请实施例所述的清空缓存的方法的模块或者单元。该通信装置可以实现上述各方面或者各可能的设计中发送装置所执行的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相应的模块。一种设计中,该装置可以包括执行第七方面中所描述的方法/操作/步骤/动作所一一对应的模块,该模块可以是硬件电路,也可是软件,也可以是硬件电路结合软件实现。一种设计中,该通信装置可以包括:发送单元、处理单元。
发送单元,用于向接收装置发送第四控制信息,第四控制信息包括第四信息,第四控制信息用于调度第四数据。
处理单元,用于确定第四混合自动重传请求HARQ进程与第四控制信息关联;确定第四HARQ进程与第五控制信息关联,和/或,第四HARQ进程关联的buffer中包含第五控制信息调度的第五数据,第五数据与第四数据不同;清空第四HARQ进程的buffer。
其中,该通信装置的具体实现方式可以参考第七方面或第七方面的任一可能的设计提供的清空缓存的方法中发送装置的行为功能,在此不再重复赘述。因此,该提供的通信装置可以达到与第七方面或者第七方面的任一可能的设计相同的有益效果。
第九方面,提供了一种通信装置,该通信装置可以为发送装置或者发送装置中的芯片或者片上系统。该通信装置可以实现上述各方面或者各可能的设计中发送装置所执行的功能,所述功能可以通过硬件实现。一种可能的设计中,该通信装置可以包括:处理器和通信接口,处理器可以用于支持通信装置实现上述第七方面或者第七方面的任一种可能的设计中所涉及的功能,例如:处理器用于通过通信接口向接收装置发送第四控制信息,第四控制信息包括第四信息,第四控制信息用于调度第四数据;确定第四混合自动重传请求HARQ进程与第四控制信息关联;确定第四HARQ进程与第五控制信息关联,和/或,第四HARQ进程关联的buffer中包含第五控制信息调度的第五 数据,第五数据与第四数据不同;清空第四HARQ进程的buffer。在又一种可能的设计中,所述通信装置还可以包括存储器,存储器用于保存计算机指令和/或数据。当该通信装置运行时,该处理器执行该存储器存储的该计算机指令,以使该通信装置执行上述第七方面或者第七方面的任一种可能的设计所述的清空缓存的方法。
第十方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第七方面或者上述方面的任一可能的设计所述的清空缓存的方法。
第十一方面,提供了一种包含指令的计算机程序产品,该计算机程序产品可以包括程序指令,当该计算机程序产品在计算机上运行时,使得计算机可以执行上述第七方面或者上述方面的任一可能的设计所述的清空缓存的方法。
第十二方面,提供了一种芯片系统,该芯片系统包括处理器以及通信接口,该芯片系统可以用于实现上述第七方面或第七方面的任一可能的设计中发送装置所执行的功能,例如处理器用于通过通信接口向接收装置发送第四控制信息,第四控制信息包括第四信息,第四控制信息用于调度第四数据;确定第四混合自动重传请求HARQ进程与第四控制信息关联;确定第四HARQ进程与第五控制信息关联,和/或,第四HARQ进程关联的buffer中包含第五控制信息调度的第五数据,第五数据与第四数据不同;清空第四HARQ进程的buffer。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存程序指令和/或数据,当该芯片系统运行时,该处理器执行该存储器存储的该程序指令,以使该芯片系统执行上述第七方面或者第七方面的任一种可能的设计所述的清空缓存的方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件,不予限制。
第十三方面,本申请实施例还提供一种通信系统,所述通信系统包括如第二方面至第六方面的任一方面所述的接收装置以及如第八方面至第十二方面任一方面所述发送装置。
附图说明
图1为HARQ实体示意图;
图2为本申请实施例提供的一种通信系统的架构示意图;
图3为本申请实施例提供的一种通信装置400的组成示意图;
图4为本申请实施例提供的一种清空缓存的方法的流程图;
图5为本申请实施例提供的一种清空缓存的方法的流程图;
图6为本申请实施例提供的一种清空缓存的方法的流程图;
图7为本申请实施例提供的一种清空缓存的方法的流程图;
图8为本申请实施例提供的一种通信装置;
图9为本申请实施例提供的一种通信装置。
具体实施方式
在描述本申请实施例之前,对本申请实施例涉及的相关技术术语进行解释说明:
HARQ进程(process):是指发端通过停等协议(stop-and-wait protocol)向收端调度一次数据传输,再到发端接收到肯定应答(acknowledgment,ACK)/否定应答(negative-acknowledgment,NACK)的处理过程。发端的HARQ操作可以包括新传/ 初传(initial transmission)数据和重传(retransmission)数据、接收并处理ACK/NACK;收端的HARQ操作可以包括接收新传数据和重传数据、软合并处理接收到新传数据和重传数据、生成ACK/NACK等。
当发端和收端之间支持SL通信时,发端可以通过HARQ进程对侧行数据进行处理之后,通过SL上的侧行链路物理层共享信道(physical sidelink share channel,PSSCH)向其他终端装置发送侧行数据。在通过SL发送侧行数据之前,发端可以通过SL上的侧行链路物理层控制信道(physical sidelink feedback channel,PSCCH)向收端发送控制信息,如:侧行链路控制信息(sidelink control information,SCI),通过该SCI调度侧行数据。SCI中可以包含下述用于指示SCI调度的侧行数据的传输特征的一种或多种信息:{源标识(source ID),目标标识(destination ID),HARQ进程号,业务类型(单播、组播或是广播)},还可以包括与该组信息对应的新数据指示(new data indicator,NDI)等等。
本申请实施例中,收端可以通过SCI携带的上述一组消息确定SCI调度的数据为新传数据或者重传数据,如:收端接收到SCI后,读取/确定SCI中包含的{source ID,destination ID,HARQ进程号,业务类型(单播、组播或是广播)}以及新数据指示(new data indicator,NDI),并确定收端上一次是否接受过相同的这一组信息。如果接收过,则比较这一组信息上一次的NDI的取值(例如是1)与这一次收到这一组信息所在的SCI中的NDI位的取值是否相同,如果相同,则表示SCI调度的数据为重传数据,如果不同(即翻转(toggle)),则认为SCI调度的数据为新传数据。
以TB传输为例,本申请各实施例中,发送装置和/或接收装置对于前后两次传输的携带有相同的第一信息的控制信息,接收装置根据上一次(或者最近的一次)接收到控制信息中的NDI的取值,判断两次接收到的携带有相同的第一信息的控制信息中的NDI的取值是否相同,若相同则表示未翻转,即表示当前接收到的控制信息关联的TB是重传;反之,若不相同,则表示翻转,即当前接收到的控制信息对应的TB为新传。
其中,发端、收端为相对概念,发端可以指通过某个HARQ进程发送数据的终端或者终端装置,收端可以指通过某个HARQ进程上接收发端发送的数据的终端或者终端装置。下述描述中收端还可以替换描述为接收装置、发端还可以替换描述为发送装置。本申请中,发端、收端之间建立有侧行链路(sidelink)/PC5接口,二者通过sidelink/PC5接口相互传输数据,用于处理通过sidelink/PC5接口传输的HARQ进程可以称为sidelink HARQ进程通信/PC5HARQ进程。
其中,为了提高通过停等协议进行数据传输的吞吐量,发端、收端可以各自维护一个或者多个HARQ进程,使用多个并行的stop-and-wait process进行数据传输,如:当一个HARQ进程在等待ACK/NACK时,发端可以使用另一个HARQ进程来继续发送数据。一个或者多个HARQ进程可以组成一个HARQ实体(entity)。每个HARQ process对应一个HARQ process标识(indentifier,ID)/HARQ process号(number),HARQ process ID可以唯一标识该HARQ process。每个HARQ进程都需要关联一个独立的缓存(buffer),存储该HARQ进程上传输的数据。HARQ实体结合了停等协议,同时允许数据的连续传输。示例性的,发端可以维护16个HARQ进程:HARQ进程 1~HARQ进程16,收端可以维护16个HARQ进程:HARQ进程1~HARQ16。
其中,发端、收端进行数据传输时,可以以传输块(transport block,TB)为粒度进行数据传输,也可以以码块组(code block group,CBG)为粒度进行数据传输,还可以以其他粒度进行数据传输,不予限制。以发端和收端支持TB传输为例,每个HARQ进程在一个传输时间间隔(transmission time interval,TTI)内可以处理一个TB。
HARQ实体:可以包括一个或者多个HARQ进程,HARQ实体位于MAC实体中,HARQ实体可以根据数据的传输资源(如时频资源等)确定新传该数据或者重传该数据等。如图1所示,收端、发端可以包括应用层、组数据汇聚协议(packet data convergence protocol,PDCP)层、无线链路控制(radio link control,RLC)层、侧行链路逻辑信道(sidelink logical channel,SL LCH)/LCH以及媒体接入控制(media access control,MAC)层以及物理层(physical,PHY),MAC层可以包括一个或者多个MAC层实体,一个MAC实体可以对应一个或者多个HARQ实体,不HARQ实体的配置可以是相同或者不同。
现有技术中,发端通过某个HARQ进程发送第一数据之后,若再次通过该HARQ进程发送该第一数据,则不清空该HARQ进程关联的buffer。当时,若发端通过某个HARQ进程发送数据之后与再次通过该HARQ进程发送该数据之间,若该HARQ进程被抢占用于处理/发送其他数据,此时,再次发送第一数据时,若不清空该HARQ进程关联的buffer则会影响该第一数据的传输。相应地,在收端侧,收端通过某个HARQ进程接收并处理发端发送的第一数据之后,再次通过该HARQ进程接收到该第一数据对应的新传数据,则收端清空该HARQ进程对应的buffer,准备接收并缓存新传的第一数据。但是,收端通过某个HARQ进程接收并处理发端发送的第一数据之后与再次通过该HARQ进程接收到该第一数据对应的新传数据之间,若收端的该HARQ进程被抢占用于处理通过其他HARQ进程发送过来的其他数据,则此时若清空收端的buffer会导致其他数据处理失败,影响数据传输。
为解决上述技术问题,本申请实施例提供一种清理缓存的方法,对于接收装置,该方法可以包括:接收装置接收包括第一信息的第一控制信息;接收装置确定第一混合自动重传请求HARQ进程与第一控制信息关联;接收装置确定第一HARQ进程与第二控制信息关联和/或第一HARQ进程关联的buffer包含第二控制信息调度的第二数据,第二控制信息包括与第一信息不同的第二信息;接收装置不清空第一HARQ进程的buffer。或者,接收装置确定第一HARQ进程与第三控制信息关联和/或第一HARQ进程关联的buffer包含第三控制信息调度的第三数据,第三控制信息包括第三信息,第三信息与第一信息相同;接收装置清空第一HARQ进程的buffer。
本申请中,清空buffer可以指删除buffer中的全部删除或者使用当前调度的数据覆盖buffer中存储的数据。
下面结合说明书附图,对本申请实施例提供的清空缓存的方法进行描述。
本申请实施例提供的清空缓存的方法可用于支持V2X通信的任一通信系统,该通信系统可以为第三代合作伙伴计划(3rd generation partnership project,3GPP)通信系统,例如,长期演进(long term evolution,LTE)系统,又可以为第五代(5th generation,5G)移动通信系统、新无线(new radio,NR)系统、车与任何事物通信 (vehicle-to-everything,V2X)系统以及其他下一代通信系统,也可以为非3GPP通信系统,不予限制。
本申请实施例提供的清空缓存的方法可以应用于各种通信场景,例如可以应用于以下通信场景中的一种或多种:增强移动宽带(enhanced mobile broadband,eMBB)、超可靠低时延通信(ultra-reliable low-latency communication,URLLC)、机器类型通信(machine type communication,MTC)、大规模机器类型通信(massive machine type communications,mMTC)、设备到设备(device-to-device,D2D)、车辆外联(vehicle to everything,V2X)、车辆到车辆(vehicle to vehicle,V2V)、和物联网(internet of things,IoT)等。
下面以图2所示通信系统为例,对本申请实施例提供的清空缓存的方法进行描述。
图2是本申请实施例提供的一种通信系统的示意图,如图2所示,该通信系统可以包括多个终端以及网络设备。终端可以位于网络设备的小区覆盖范围内,也可以位于网络设备的小区覆盖范围外。终端可以通过Uu口与网络设备相互通信,也可以通过侧行链路(sidelink,SL)(或者PC5口)与其他终端进行通信。终端可以通过单播方式与其他终端一对一通信,也可以通过组播方式或者广播方式与多个其他终端进行组播或者广播通信。例如,如图2所示,终端1可以与终端2进行单播通信,通过单播方式向终端2发送侧行数据。终端1可以与其他三个终端:终端3、终端4、终端5为一个组播组,终端1可以通过组播方式向终端3、终端4、终端5发送侧行数据。
其中,本申请所述传输方式包括单播方式、组播方式以及广播方式。单播(unicast)方式可以指:发送装置与接收装置通过一对一的链路进行通信,例如一个终端与另一个终端通过一对一的SL链路进行通信。广播方式可以指:发送装置向周围通过一对一的链路进行通信,例如一个终端向其周围广播消息,其他一个或者多个终端接收广播消息。多播(multicast)方式可以指发送装置向多播群组中的一个或者多个接收装置发送数据后者消息,例如一个终端向多播群组中的一个或者多个终端发送数据/消息。本申请中,多播也可以可称为组播。
其中,图2中的网络设备可以是任意一种具有无线收发功能的设备,主要用于实现无线物理控制、资源调度和无线资源管理、无线接入控制以及移动性管理等功能。具体的,该网络设备可以为接入网(access network,AN)/无线接入网(radio access network,RAN)设备,还可以为由多个5G-AN/5G-RAN节点组成的设备,又可以为基站(nodeB,NB)、演进型基站(evolution nodeB,eNB)、下一代基站(generation nodeB,gNB)、收发点(transmission receive point,TRP)、传输点(transmission point,TP)、路边单元(road side unit,RSU)以及某种其它接入节点中的任一节点等,不予限制。
图2中的终端(terminal)可以称为终端装置(terminal equipment)或者用户设备(user equipment,UE)或者移动台(mobile station,MS)或者移动终端(mobile terminal,MT)等。具体的,图2中的终端可以是手机(mobile phone)、平板电脑或带无线收发功能的电脑。终端还可以是虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制中的无线终端、无人驾驶中的无线终端、远程医疗中的无线终端、智能电网中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭 (smart home)中的无线终端、车载终端、具有车对车(vehicle-to-vehicle,V2V)通信能力的车辆、智能网联车等等,不予限制。本申请实施例的终端以及网络设备都可以为一个或多个芯片,也可以为片上系统(system on chip,SOC)等。终端以及网络设备的具体组成部件可参照图2所示。
需要说明的是,图2仅为示例性附图,图2包括的设备的数量不受限制,且除图2所示设备之外,该通信架构还可以包括其他设备。此外,图2中各个设备的名称不受限制,除图2所示名称之外,各个设备还可以命名为其他名称,不予限制。
需要说明的是,本发明中“存储”可以与“保存”、“维护”、“存在”等描述替换,不予限制。
需要说明的是,不同步骤或者不同时间中接收装置接收的数据/控制信息可以来自不同的发送装置,也可以是相同的发送装置,不作限定。
需要说明的是,第一控制信息或者第二控制信息等与HARQ进程关联也可以替换成第一信息或者第二信息等与HARQ进程关联,或者替换成“侧行链路传输信息与HARQ进程关联”,或者替换成“第一数据或第二数据或第三数据”与HARQ进程关联,其中HARQ进程可以替换成HARQ进程标识,其中HARQ进程标识可以是基站为终端设备指示的HARQ进程标识,也可以是终端设备自行选择的HARQ进程标识。示例性的,第一控制信息包含第一信息,第一控制信息对应第一数据,第一控制信息关联第一HARQ进程,第一HARQ进程关联第一HARQ进程的标识以及buffer,即第一控制信息、第一信息、第一数据、第一HARQ进程、第一HARQ进程的标识、第一HARQ进程关联的buffer之间均存在关联关系,在此统一说明。
需要说明的是,接收装置可以是一个或者多个接收装置,发送装置可以是一个或者多个发送装置。
需要说明的是,本发明中,SCI可以为第一级SCI,也可以是第二级SCI,或者,也可是综合考虑第一级SCI和第二级SCI中包含的信息。
在具体实现时,图2所示各网元,如:终端、网络设备可采用图3所示的组成结构或者包括图3所示的部件。图3为本申请实施例提供的一种通信装置400的结构示意图,当该通信装置400具有本申请实施例所述的终端的功能时,该通信装置400可以为终端或者终端中的芯片或者片上系统。当通信装置400具有本申请实施例所述的网络设备的功能时,通信装置400可以为网络设备或者网络设备中的芯片或者片上系统。
如图3所示,该通信装置400可以包括处理器401,通信线路402以及通信接口403。进一步的,该通信装置400还可以包括存储器404。其中,处理器401,存储器404以及通信接口403之间可以通过通信线路402连接。
其中,处理器401可以是中央处理器(central process unit,CPU)、通用处理器网络处理器(network processor,NP)、数字信号处理器(digital signal process,DSP)、微处理器、微控制器、可编程逻辑器件(programmable logic device,PLD)或它们的任意组合。处理器401还可以是其它具有处理功能的装置,如电路、器件或软件模块等。
通信线路402,用于在通信装置400所包括的各部件之间传送信息。
通信接口403,用于与其他设备或其它通信网络进行通信。该其它通信网络可以为以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。通信接口403可以是接口电路、管脚、射频模块、收发器或者任何能够实现通信的装置。
存储器404,用于存储指令。其中,指令可以是计算机程序。
其中,存储器404可以是只读存储器(read-only memory,ROM)或可存储静态信息和/或指令的其他类型的静态存储设备,也可以是随机存取存储器(random access memory,RAM)或者可存储信息和/或指令的其他类型的动态存储设备,还可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储、磁盘存储介质或其他磁存储设备,光碟存储包括压缩光碟、激光碟、光碟、数字通用光碟、或蓝光光碟等。
需要说明的是,存储器404可以独立于处理器401存在,也可以和处理器401集成在一起。存储器404可以用于存储指令或者程序代码或者一些数据等,存储器404中可以设置有HARQ进程关联的buffer。存储器404可以位于通信装置400内,也可以位于通信装置400外,不予限制。处理器401,用于执行存储器404中存储的指令,以实现本申请下述实施例提供的清空缓存的方法。
在一种示例中,处理器401可以包括一个或多个CPU,例如图3中的CPU0和CPU1。
作为一种可选的实现方式,通信装置400包括多个处理器,例如,除图3中的处理器401之外,还可以包括处理器407。
作为一种可选的实现方式,通信装置400还包括输出设备405和输入设备406。示例性地,输入设备406是键盘、鼠标、麦克风或操作杆等设备,输出设备405是显示屏、扬声器(speaker)等设备。
需要说明的是,通信装置400可以是台式机、便携式电脑、网络服务器、移动手机、平板电脑、无线终端、嵌入式设备、芯片系统或有图3中类似结构的设备。此外,图3中示出的组成结构并不构成对该通信装置的限定,除图3所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。
下面结合图3所示通信系统,对本申请实施例提供的清空缓存的方法进行描述。其中,下述实施例中的各设备可以具有图3所示部件。其中,本申请各实施例之间涉及的动作,术语等均可以相互参考,不予限制。本申请的实施例中各个设备之间交互的消息名称或消息中的参数名称等只是一个示例,具体实现中也可以采用其他的名称,不予限制。
本申请中,不限定实施例中的各个步骤的执行顺序,各个步骤的顺序可以灵活调换。此外,下述实施例中的各个步骤可以单独执行也可以结合起来执行,不予限制。
图4为本申请实施例提供的一种清空缓存的方法,如图4所示,所述方法包括:
步骤401:接收装置接收第一控制信息。
示例性的,接收装置可以接收来自发送装置的第一控制信息。
其中,接收装置可以为图3中任一终端或者任一终端中的功能模块或者芯片系统, 接收装置可以与发送装置进行sidelink通信,接收装置可以图3中的任一终端或者任一终端中的功能模块或者芯片系统,二者支持通过HARQ进程进行数据传输。例如,发送装置可以为图2中的终端1,接收装置可以为图2中的终端2。
其中,第一控制信息可以为SCI,第一控制信息可以携带在PSCCH中发送给接收装置,即可以利用PSCCH资源发送给接收装置。第一控制信息为用来指示第一数据的调度信息,第一控制信息可以用于调度发送装置向接收装置传输的第一数据,如:以TB传输为例,第一控制信息可以调度通过发送装置的第二HARQ进程向接收装置新传的第一TB,也可以调度通过发送装置的第二HARQ进程向接收装置重传的第一TB。第二HARQ进程可以为发送装置上或者发送装置内部可用于处理/发送数据的HARQ进程,或者为发送装置上或者发送装置内部用来在关联的buffer中储存第一控制信息调度的数据,和/或储存用于发送第一控制信息调度的数据的授权(grant)和/或生成传输第一控制信息调度的数据的HARQ进程。
具体的,第一控制信息至少可以包括用于指示第一控制信息调度的数据的传输特征的第一信息,如第一信息可以包括以下至少一种信息:第二HARQ进程的进程号/第二HARQ进程的标识、第一数据对应的源标识、第一数据对应的目标标识、传输方式。第一信息可以指示第一控制信息调度的第一数据为:源标识所标识的设备通过第二HARQ进程向目标标识所述标识的设备发送的数据。除第一信息之外,第一控制信息还可以包括NDI、传输数据对应的sidelink时频资源信息以及其他信息等等。
其中,传输方式可以为单播方式、广播方式以及多播方法中任一种方式。
其中,第一数据对应的源标识可以用于标识发送第一数据的装置,如:源标识可以为发送装置的标识,发送装置的标识可以为高层(例如V2X层)指示的源标识,或者发送装置的因特网协议(internet protocol,IP)地址或者MAC地址等。源标识可以是完整的源标识,即层2源标识(source L2ID),完整的层2源标识为24位,即包含24比特,也可能是完整的源标识中的一部分,例如,源标识可以是层1源标识(source L1ID),层1源标识可以是层2源标识的低8位或者低16位或其其他数量的bit,在此均不作限定。
其中,第一数据对应的目标标识可以用于标识接收第一数据的装置,如:目标标识可以为业务的标识,或者,也可以为接收装置的标识,所述目标标识可以为接收装置或者业务的IP地址或者MAC地址等。类似的,目标标识可以是完整的目标标识,即层2目标标识(destination L2ID),完整的层2目标标识为24位,即包含24比特,也可能是完整的目标标识中的一部分。例如,目标标识可以是层1目标标识(destination L1ID),层1目标标识可以是层2目标标识的低8位或者低16位或其其他数量的bit,在此均不作限定。
其中,NDI的取值可以根据当前传输的数据为新传数据或重传数据来设置,NDI的初始值为传输的第一个TB或者第一控制信息对应的第一个TB对应的NDI的取值,NDI的初始值由发送装置自行确定,NDI的初始值即可以为1也可以为0。NDI翻转(toggle)则表示是新传,NDI不变表示是重传。
例如,以控制信息为SCI1,SCI1={HARQ进程1,SRC ID 1,DST ID1,单播方式,NDI=1},其中NDI的初始值为1,SRC ID 1所标识的发送装置为终端1,DST ID1 所标识的接收装置为终端2为例,接收装置首次接收到SCI1,表示SCI1调度终端1采用单播方式通过HARQ进程1向终端2新传的数据;若后续接收装置第二次接收到SCI1={HARQ进程1,SRC ID 1,DST ID1,单播方式,NDI=0},其中除了NDI的取值变化,HARQ进程1,SRC ID 1,DST ID1,单播方式的取值不变,表示SCI1调度终端1采用单播方式通过HARQ进程1向终端2新传的数据;若后续接收装置再次接收到SCI1={HARQ进程1,SRC ID 1,DST ID1,单播方式,NDI=0},HARQ进程1,SRC ID 1,DST ID1,单播方式以及NDI的取值不变,表示SCI1调度终端1采用单播方式通过HARQ进程1向终端2重传的数据。
示例性的,使用发送装置的用户确定向接收装置发送第一数据,例如获得第一数据的传输资源(如时频资源),确定该传输资源用于第一数据新传或者重传,该用户触发发送装置的应用层生成第一数据,例如从复用和封装实体(multiplexing and assembly entity)获取MAC协议第一数据单元(protocol data unit,PDU)用于传输,并触发发送装置确定可用于处理/发送第一数据的HARQ进程,发送装置确定可用于处理/发送第一数据的HARQ进程可以是指将第一数据的传输资源对应的HARQ实体与HARQ进程关联,或者将第一数据的传输资源与HARQ进程关联。进一步的,发送装置生成第一控制信息和/或根据第一数据设置第一控制信息中包含的信息的取值,例如,将第一控制信息中的目标标识信息设置为层1目标标识,其中层1目标标识时第一数据的层2目标标识的高16位,等;并将第一数据以及第一数据关联的第一控制信息递交给第二HARQ进行处理,并通过sidelink向接收装置发送第一控制信息。需要说明的是,本申请中所述的HARQ进程可以替换描述为侧行链路HARQ进程或者sidelink process或者sidelink HARQ process。
示例性的,以可用于处理/发送第一数据的HARQ进程为第二HARQ进程,第一控制信息与第二HARQ进程关联为例,发送装置可参照下述方式(1)~方式(3)中任一方式从发送装置的一个或者多个HARQ进程中确定出可用于处理/发送第一数据的第二HARQ进程,需要说明的是,本申请中,从发送装置的一个或者多个HARQ进程中确定出可用于处理/发送第一数据的第二HARQ进程的执行主体可以包括发送装置或者发送装置的MAC实体或者发送装置的HARQ实体,不予限制。下面以执行主体为发送装置为例进行描述:
方式(1)查看buffer:
发送装置可以查看每个HARQ进程对应的buffer,确定每个HARQ进程关联的buffer中是否包含或者存储第一控制信息关联的数据,和/或每个HARQ进程关联的定时器是否正在运行。
在发送装置根据第一数据的传输资源确定对第一控制信息调度的第一数据执行新传的情况下,发送装置从满足第一条件的HARQ进程选择一个HARQ进程作为处理第一数据的HARQ进程。第一条件可以包括下述一种或者多种:HARQ进程关联的buffer中不包含或者不存储第一控制信息关联的第一数据,HARQ进程关联的定时器停止运行,接收到指示信息停止或者定时器超时停止。或者,第一条件可以包括下述一种或者多种:HARQ进程关联的buffer中包含或者存储第一控制信息关联的第一数据、HARQ进程关联的定时器停止运行。
在发送装置根据第一数据的传输资源确定对第一控制信息关联的第一数据执行重传的情况下,发送装置从满足第二条件的HARQ进程选择一个HARQ进程作为处理第一数据的HARQ进程。第二条件可以包括下述一种或者多种:HARQ进程关联的buffer中不包含或者不存储第一控制信息关联的第一数据、HARQ进程关联的定时器停止运行、HARQ进程关联的buffer为空;或者,第二条件可以包括下述一种或者多种:HARQ进程关联的buffer中包含或者存储第一控制信息关联的第一数据、HARQ进程关联的定时器停止运行、HARQ进程关联的buffer为空。进一步可选地,发送装置触发选择出的HARQ进程执行新传,即将重传变新传,新传第一数据;或者,发送装置确定对第一控制信息关联的第一数据执行重传,发送装置从满足第三条件的HARQ进程选择一个HARQ进程作为处理第一数据的HARQ进程。第三条件可以包括下述一种或者多种:HARQ进程关联的buffer中不包含或者不存储第一控制信息关联的第一数据、HARQ进程关联的定时器正在运行。
方式(2)查看HARQ进程关联的控制信息。
发送装置可以查看每个HARQ进程关联的控制信息和/或每个HARQ进程关联的定时器是否正在运行。
一种示例中,发送装置确定对第一控制信息关联/调度的第一数据执行新传,发送装置从满足第三条件的HARQ进程选择一个HARQ进程作为处理第一数据的HARQ进程。第三条件可以包括下述一种或者多种:HARQ进程从未关联侧行链路传输信息、HARQ进程关联的定时器停止运行;或者,第三条件可以包括下述一种或者多种:
HARQ进程关联到侧行链路传输信息、HARQ进程关联的定时器停止运行;或者,第三条件可以包括下述一种或者多种:HARQ进程关联到侧行链路传输信息、HARQ进程关联的定时器正在运行;或者,第三条件可以包括下述一种或者多种:HARQ进程关联到第一控制信息、HARQ进程关联的定时器正在运行。
又一种示例中,发送装置确定对第一控制信息关联/调度的第一数据执行重传,则发送装置从满足第四条件的HARQ进程选择一个HARQ进程作为处理第一数据的HARQ进程。第四条件可以包括下述一种或者多种:HARQ进程关联到侧行链路传输信息、HARQ进程关联的定时器停止运行;或者,第四条件可以包括下述一种或者多种:HARQ进程关联到第一控制信息、HARQ进程关联的定时器停止运行;或者,第四条件可以包括下述一种或者多种:HARQ进程关联到第一控制信息、HARQ进程关联的定时器正在运行。
需要说明的是,本申请所述的侧行链路传输信息可以为第一信息,也可以为其他不同于第一信息的、包括{HARQ进程的标识、源标识、目标标识以及传输方式}的侧行链路传输信息,不予限制。
本申请中,HARQ进程关联的定时器可以用于限定HARQ进程的工作时长,若HARQ进程关联的定时器正在运行,则表示该HARQ进程正在占用/正在工作,反之,若HARQ进程关联的定时器未运行,则表示该HARQ进程未被占用。本申请中,每个HARQ进程的定时器可以预先配置,不同HARQ进程关联的定时器可以相同或者不同。
本申请中,HARQ进程关联的定时器停止运行可以包括:接收到停止HARQ进程关联的定时器的指示信息或者,HARQ进程关联的定时器超时停止。
本申请中,HARQ进程关联到第一控制信息可以指:根据第一控制信息配置该HARQ进程对应的处理资源、利用该HARQ进程对应的处理资源处理第一控制信息调度的第一数据、接收第一控制信息调度的第一数据对应的应答消息:ACK/NACK。
方式(3)查看HARQ进程对应的MAC实体。
发送装置可以查看发送装置的每个HARQ进程对应的MAC实体,确定HARQ进程对应的MAC实体的配置是否满足第一数据的服务质量(quality of servier,QoS)需求以及第一数据的其他传输条件等,从满足第一数据的QoS需求以及第一数据的其他传输条件的MAC实体中任选一个MAC实体,将该MAC实体对应的HARQ进程中任一HARQ进程作为处理第一数据的HARQ进程。
又一种可能的设计中,在步骤401之前,发送装置曾经将第二HARQ进程与第一控制信息关联,曾经使用第二HARQ进程发送过第一控制信息调度的第一数据,且后来又释放第二HARQ进程用作发送其他第一数据,如第一数据等。在发送装置曾经使用第二HARQ进程发送过第一控制信息调度的第一数据时,发送装置将第二HARQ进程与第一控制信息关联或者与第一控制信息调度的第一数据关联,并保存该关联关系。当发送装置再次通过第一控制信息调度第一数据时,发送装置可以根据保存的关联关系,将该第一控制信息与第二HARQ进程再次关联起来,确定采用第二HARQ进程传输第一数据,降低发送装置选择第二HARQ进程的功率消耗。
需要说明的是,在步骤401之前,发送装置曾经将第二HARQ进程与第一控制信息关联,曾经使用第二HARQ进程发送过第一控制信息调度的数据的情况下,本申请不限定发送装置曾经通过第二HARQ进程向发送装置传输第一控制信息调度的数据是否成功。此外,发送装置曾经使用第一控制信息调度的数据与步骤401中第一控制信息调度的数据相同或者不同,不予限制。
步骤402:可选的,接收装置确定第一HARQ进程与第一控制信息关联。
其中,第一HARQ进程可以为接收装置的HARQ进程。第一HARQ进程可以为上一次与携带第一信息的控制信息关联的HARQ进程。在步骤402之前,接收装置曾经使用第一HARQ进程从发送装置接收过携带第一信息的控制信息。上一次携带第一信息的控制信息可以命名为第一控制信息或者其他名称,上一次调度第一数据的控制信息可以为步骤402和/或步骤401之前、接收装置最后一次通过第一HARQ进程接收到的接收装置发送的携带第一信息的的控制信息。
一种可能的设计中,接收装置可以根据第一控制信息携带的信息确定第一控制信息调度的数据的QoS需求,接收装置查看接收装置的每个HARQ进程对应的MAC实体,确定HARQ进程对应的MAC实体的配置是否满足数据的QoS需求以及数据的其他传输条件等,从满足数据的QoS需求以及数据的其他传输条件的MAC实体中任选一个MAC实体,将该MAC实体对应的HARQ进程中任一HARQ进程,如:第一HARQ进程作为处理数据的HARQ进程。
一种可能的设计中,在步骤402和/或步骤401之前,接收装置曾经使用第一HARQ进程从发送装置接收过携带第一信息的控制信息等。在接收装置曾经使用第一HARQ进程从发送装置接收携带第一信息的控制信息时,接收装置将第一HARQ进程与第一信息关联或者与第一控制信息关联,并保存该关联关系。当接收装置再次接收到携带 第一信息的第一控制信息时,接收装置可以根据保存的关联关系,确定上一次携带第一信息的控制信息关联的HARQ进程为第一HARQ进程。
步骤403:接收装置查看第一HARQ进程与控制信息之间的关联情况和/或第一HARQ进程关联的buffer中包含的数据情况;若第一HARQ进程与第二控制信息关联和/或第一HARQ进程关联的buffer包含第二控制信息调度的第二数据,则执行步骤404,流程结束;若确定第一HARQ进程与第三控制信息关联,和/或,第一HARQ进程关联的buffer包含第三控制信息调度的第三数据,则执行步骤405,流程结束。
又一种可能的设计中,在步骤403之前,接收装置曾经使用第一HARQ进程接收过数据,且后来又释放第一HARQ进程用作接收其他数据,(具体描述case)如:下述数据等。在发送装置曾经使用第一HARQ进程从发送装置接收数据时,发送装置将第一HARQ进程与第一控制信息关联或者与数据关联,并保存该关联关系。当发送装置再次通过第一控制信息调度数据时,发送装置可以根据保存的关联关系,将该第一控制信息与第一HARQ进程再次关联起来,确定采用第一HARQ进程传输数据,降低发送装置选择第一HARQ进程的功率消耗。需要说明的是,本申请不限定在步骤403之前,发送装置通过第一HARQ进程向发送装置传输数据是否成功。
步骤404:接收装置确定第一HARQ进程与第二控制信息关联和/或第一HARQ进程关联的buffer包含第二控制信息调度的第二数据,接收装置不清空所述第一HARQ进程的buffer。
其中,第二控制信息可以为第二SCI,第二控制信息为用于指示第二数据的调度信息,第二控制信息可以用于调度发送装置通过第三HARQ进程向接收装置传输的第二数据,如:可以用于调度发送装置向接收装置新传的第二数据或者可用于调度发送装置向接收装置重传的第二数据,该第二数据不同于第二数据,该第二数据可以通过发送装置的第三HARQ进程处理后发送给接收装置,第三HARQ进程与第一HARQ进程为发送装置的两个不同HARQ进程。第二控制信息可以在步骤401之前发送给接收装置。
与上述第一控制信息类似,第二控制信息可以包括第二信息,第二信息至少可以包括:第三HARQ进程的进程号/第三HARQ进程的标识、第二数据对应的源标识、第二数据对应的目标标识、第二数据对应的传输方式,第一控制信息还可以包括NDI、传输第二数据的sidelink时频资源信息以及其他信息等等。例如,以第二控制信息为SCI2,SCI2={HARQ进程2,SRC ID 1,DST ID1,单播方式,NDI=1},“1”表示新传,“0”表示重传,SRC ID 1所标识的发送装置为终端1,DST ID1所标识的接收装置为终端2为例,表示SCI2调度终端1采用单播方式通过HARQ进程2向终端2新传的第二数据。
示例性的,第二HARQ进程与第二控制信息关联具体可以包括:接收装置根据第二控制信息配置第一HARQ进程的处理资源;接收装置配置完成第一HARQ进程的处理资源,利用处理资源处理第二数据;接收装置处理完第二数据,向发送装置反馈第二数据对应的应答消息,应答消息包括肯定应答ACK或否定应答NACK;接收装置保存有第一HARQ进程与第二信息或者第二控制信息的关联关系。
步骤405:接收装置确定第一HARQ进程与第三控制信息关联,和/或,第一HARQ 进程关联的buffer包含第三控制信息调度的第三数据,接收装置清空所述第一HARQ进程的buffer。
其中,第三控制信息可以为第三SCI,第三控制信息为用于指示第三数据的调度信息,第三控制信息可以用于调度发送装置通过第二HARQ进程向接收装置传输的第三数据,如:可以用于调度发送装置向接收装置新传的第三数据或者可用于调度发送装置向接收装置重传的第三数据,该第三数据与第一数据相同或者不同,该第三数据可以通过发送装置的第二HARQ进程处理后发送给接收装置。第三控制信息可以在步骤401之前发送给接收装置。
与上述第一控制信息类似,第三控制信息可以包括第一信息,第一信息至少可以包括:第二HARQ进程的进程号/第二HARQ进程的标识、第三数据对应的源标识、第三数据对应的目标标识、第三数据对应的传输方式,第一控制信息还可以包括NDI、传输第三数据的sidelink时频资源信息以及其他信息等等。例如,以第三控制信息为SCI2,SCI2={HARQ进程2,SRC ID 1,DST ID1,单播方式,NDI=1},“1”表示新传,“0”表示重传,SRC ID 1所标识的发送装置为终端1,DST ID1所标识的接收装置为终端2为例,表示SCI2调度终端1采用单播方式通过HARQ进程2向终端2新传的第三数据。
示例性的,第一HARQ进程与第三控制信息关联具体可以包括:接收装置根据第三控制信息配置第一HARQ进程的处理资源;接收装置配置完成第一HARQ进程的处理资源,利用处理资源处理第三控制信息调度的数据;接收装置向发送装置反馈第二数据对应的应答消息,应答消息包括肯定应答ACK或否定应答NACK;接收装置利用第一HARQ进程成功处理完第三控制信息调度的数据;接收装置保存有第一HARQ进程与第三信息或者第三控制信息的关联关系。接收装置可以查看自身是否处于这四种情况中,若处于这四种情况中任一情况,则确定第一HARQ进程与第一控制信息关联。
示例性的,接收装置清空第一HARQ进程的buffer可以包括:接收装置用数据覆盖第一HARQ进程关联的buffer中的数据;或者,接收装置删除第一HARQ进程关联的buffer中的全部数据等。
下面结合图3所示系统,以发送装置配置有16个HARQ进程:HARQ进程T_1~HARQ进程T_16,接收装置配置有16个HARQ进程:HARQ进程R_1~HARQ进程R_16,数据传输粒度为TB传输,发送装置为终端1、接收装置为终端2、控制信息为SCI、终端1与终端2采用单播方式通过sidelink相互传输TB为例,对图4所示方法中接收装置清空buffer的过程进行详细描述:
图5为本申请实施例提供的一种清空缓存的方法流程图,如图5所示,可以包括:
T1时间段内,执行步骤501~步骤506:
步骤501:可选地,终端1确定向终端2发送TB1,从终端1的HARQ进程T_1~HARQ进程T_16中选择空闲的HARQ进程T_1作为发送TB1的HARQ进程,并向终端2发送SCI1。
其中,SCI1用于调度TB1,SCI1至少可以包括{HARQ进程T_1标识、源标识1、目标标识1、传输方式为单播},终端1确定对TB1执行新传。
需要说明的是,本申请各实施例所述的“空闲”可以指未被占用。本申请各实施例所述的源标识可以为层2源标识,目标标识可以为层2目标标识,不予限制。
此时,HARQ进程T_1被SCI1占用或者被TB1占用,终端1可以记录/保存HARQ进程T_1与SCI1之间的关联关系。
进一步可选的,终端1将TB1缓存到终端1的HARQ进程T_1关联的buffer T_1。
步骤502:终端2接收SCI1,为SCI1关联终端2的HARQ进程R_1~HARQ进程R_16中的空闲HARQ进程:HARQ进程R_1。
此时,HARQ进程R_1被SCI1占用或者被TB1占用,终端2可以记录/保存HARQ进程R_1与SCI1之间的关联关系。
步骤503:终端1将TB1经过终端1的HARQ进程T_1处理后,通过sidelink向终端2发送处理的TB1。
步骤504:终端2接收并将TB1缓存到HARQ进程R_1关联的buffer R_1,利用HARQ进程R_1读取并处理buffer R_1中的TB1。
步骤505:终端2根据TB1的处理结果(例如解码成功,或者传输成功),向终端1发送应答消息,该应答消息为ACK;或者不发送应答消息。
进一步可选的,终端2释放HARQ进程R_1,以使得该HARQ进程R_1可以被其他SCI占用/关联,用于处理/接收其他TB。
步骤506:终端1接收应答消息,获知TB1成功传输,则释放HARQ进程T_1,以使得该HARQ进程T_1可以被其他SCI占用/关联,用于传输其他TB。
接下来,T2时间段内执行步骤507~步骤508:
步骤507:终端1确定向终端2发送TB2,从终端1的HARQ进程T_1~HARQ进程T_16中选择空闲的HARQ进程T_2作为发送TB2的HARQ进程,并向终端2发送SCI2。
其中,SCI2用于调度TB2,SCI2至少包括{HARQ进程T_2标识、源标识1、目标标识2、传输方式为单播},终端1确定对TB2执行新传。
此时,HARQ进程T_2被SCI2占用或者被TB2占用,终端1可以记录/保存HARQ进程T_1与SCI2之间的关联关系。
进一步可选的,终端1将TB2缓存到终端1的HARQ进程T_2关联的buffer T_2。
步骤508:终端2接收SCI2,为SCI2关联终端2的HARQ进程R_1~HARQ进程R_16中的空闲HARQ进程:HARQ进程R_1。
此时,HARQ进程R_1被SCI2占用或者被TB2占用,终端2可以记录/保存HARQ进程R_1与SCI2之间的关联关系。
需要说明的是,本申请实施例所述的空闲HARQ进程可以包括被释放的HARQ进程,或者未被占用的HARQ进程。
接下来,T3时间段内终端1将TB2经过终端1的HARQ进程T_2处理后,通过sidelink向终端2发送处理的TB2;终端2接收并将TB2缓存到HARQ进程R_1关联的buffer R_1,准备采用HARQ进程R_1对buffer R_1中的TB2进行处理,如:终端2准备HARQ进程R_1对应的处理资源、利用HARQ进程R_1对应的处理资源读取并处理(例如,解码)buffer R_1中的TB2、可选的,处理完成TB2后向终端1反馈 应答消息:ACK/NACK等。进一步的,若终端2处理完成TB2确定传输成功,则终端2释放HARQ进程R_1,该HARQ进程R_1可以被其他SCI占用,用于处理其他TB。
同时,在T3时间段内,即在终端2确定TB2的传输成功或者传输结束之前,即终端2确定TB2的传输失败或者传输未结束,也可能会执行如下步骤509~步骤512:
步骤509:终端1确定向终端2发送TB3,从终端1的HARQ进程T_1~HARQ进程T_16中选择空闲的HARQ进程T_1作为发送TB1的HARQ进程,并向终端2发送SCI1。
其中,SCI3用于调度TB3,SCI3至少包括第一信息,第一信息为{HARQ进程T_1标识、源标识1、目标标识1、传输方式为单播},终端1确定对TB3执行新传。
此时,在步骤506被释放的HARQ进程T_1再次被第一信息{HARQ进程T_1标识、源标识1、目标标识1、传输方式为单播}占用或者与SCI3关联或者被TB3占用。SCI3与SCI1可以相同,也可以不同。TB3与TB1可以相同,也可以不同。
进一步可选的,终端1将TB3缓存到终端1的HARQ进程T_1关联的buffer T_1。
步骤510:终端2接收SCI3,查看第一信息上一次(即T1时间段)关联的HARQ进程R_1与SCI的关联情况,若HARQ进程R_1与SCI2关联,执行步骤511,若HARQ进程R_1与SCI1关联,执行步骤512。
步骤511:终端2确定HARQ进程R_1此时正被SCI2占用或者被TB2占用,终端2不清空HARQ进程R_1关联的buffer R_1,即不删除或覆盖buffer R_1中的TB2。
示例性的,若终端2正处于下述任一状态:准备HARQ进程R_1对应的处理资源、利用HARQ进程R_1对应的处理资源读取并处理buffer R_1中的TB2、处理完成TB2后向终端1反馈应答消息:ACK/NACK,或者,发现HARQ进程R_1关联的buffer R_1中保存有TB2、HARQ进程R1关联的buffer不为空、保存有HARQ进程R1与SCI2或者TB2或者第一信息的关联关系、HARQ进程R1关联的定时器正在运行,则确定HARQ进程R_1此时正被SCI2占用或者被TB2占用。
进一步可选的,终端2可以选择HARQ进程R_1~HARQ进程R_16中其他空闲HARQ进程与SCI1关联,将与SCI1关联的HARQ进程R_1切换到其他HARQ进程,通过其他HARQ进程R_1处理TB1,或者终端2向终端1发送反馈信息,告知终端1本次调度失败。
步骤512:终端2确定HARQ进程R_1未被占用,即HARQ进程R_1仅与SCI1关联,则清空HARQ进程R_1关联的buffer R_1。
上面图5-图7对接收装置清空buffer的过程进行了描述,进一步的,本申请中,还提供了发送装置清空buffer的方法。具体的,该方法可参照图6所示。
图6为本申请实施例提供的一种清空缓存的方法,如图6所示,所述方法包括:
步骤601:发送装置向接收装置发送第四控制信息。
其中,第四控制信息可以为第四SCI,第四控制信息可以携带在PSCCH中发送给接收装置,即可以利用PSCCH资源发送给接收装置。具体的,第四控制信息可以用于调度发送装置通过第四HARQ进程向接收装置发送的第四数据。
其中,第四控制信息至少可以包括第四信息,第四信息可以包括以下至少一种信 息:第四HARQ进程的进程号/第四HARQ进程的标识、第四数据对应的源标识、第四数据对应的目标标识、第四数据的传输方式。除包括第四信息之外,第四控制信息还可以包括NDI、传输第四数据对应的sidelink时频资源信息以及其他信息等等。
其中,第四HARQ进程可以为发送装置的HARQ进程。第四HARQ进程可以为上一次调度第四数据的控制信息关联的HARQ进程。在步骤601之前,发送装置曾经使用第四HARQ进程从发送装置发送/处理过第四数据,可能上一次第四数据传输成功,第四HARQ进程被释放用作与其他控制信息关联。
具体的,发送装置确定第四HARQ进程的过程可参照上述步骤501中所述,不予赘述。
进一步的,发送装置确定第四HARQ进程与第四控制信息关联。
步骤602:接收装置查看第四HARQ进程与控制信息之间的关联情况和/或第四HARQ进程关联的buffer中包括的数据的情况,若确定第四HARQ进程与第五控制信息关联,和/或,第四HARQ进程关联的buffer中包含第五控制信息调度的第五数据,执行步骤603,或者,若确定第四HARQ进程与第六控制信息关联和/或第四HARQ进程关联的buffer中包含第六控制信息调度的第六数据,第六数据与第四数据相同,执行步骤604。
步骤603:发送装置确定第四HARQ进程与第五控制信息关联,和/或,第四HARQ进程关联的buffer中包含第五控制信息调度的第五数据,清空所述第四HARQ进程的buffer。
其中,第五控制信息可以为第五SCI,第五控制信息可以用于调度发送装置通过第四HARQ进程向接收装置传输的第五数据,如:可以用于调度发送装置向接收装置新传的第五数据或者可用于调度发送装置向接收装置重传的第五数据,该第五数据不同于第四数据,该第五数据可以通过发送装置的第四HARQ进程处理后发送给接收装置。第五控制信息可以在步骤601之前发送给接收装置。
与上述第四控制信息类似,第五控制信息可以包括第五信息,第五信息可以包括:第四HARQ进程的进程号、第五数据对应的源标识、第五数据对应的目标标识、第五数据的传输方式,第五控制信息还可以包括NDI、传输第五数据的sidelink时频资源信息以及其他信息等等。
本申请中,第四HARQ进程与第五控制信息关联可以替换描述为第四HARQ进程正在与第五控制信息关联,或者发送装置正在通过第四HARQ进程处理/发送第五数据中,或者第四HARQ进程正在被第五数据占用等。示例性的,第四HARQ进程与第五控制信息关联具体可以包括:发送装置根据第五控制信息配置第二HARQ进程的处理资源;发送装置配置完成第四HARQ进程的处理资源,利用处理资源发送第五数据;发送装置接收第五数据对应的应答消息中,应答消息包括肯定应答ACK或否定应答NACK。发送装置可以查看自身是否处于这些情况中,若处于这些情况中任一情况,则确定第四HARQ进程与第五控制信息关联。
步骤604:发送装置确定第四HARQ进程与第六控制信息关联和/或第四HARQ进程关联的buffer中包含第六控制信息调度的第六数据,第六数据与第四数据相同,不清空第四HARQ进程的buffer。
其中,第六控制信息可以为第六SCI,第六控制信息可以用于调度发送装置通过第四HARQ进程向接收装置传输的第六数据,如:可以用于调度发送装置向接收装置新传的第六数据或者可用于调度发送装置向接收装置重传的第六数据,该第六数据不同于第四数据,该第六数据可以通过发送装置的第四HARQ进程处理后发送给接收装置。第六控制信息可以在步骤601之前发送给接收装置。
与上述第四控制信息类似,第六控制信息可以包括第六信息,第六信息可以包括:第四HARQ进程的进程号、第六数据对应的源标识、第六数据对应的目标标识、第六数据的传输方式,第六控制信息还可以包括NDI、传输第六数据的sidelink时频资源信息以及其他信息等等。
本申请中,第四HARQ进程与第六控制信息关联可以替换描述为第四HARQ进程正在与第六控制信息关联,或者发送装置正在通过第四HARQ进程处理/发送第四数据中,或者第四HARQ进程正在被第四数据占用等。示例性的,第四HARQ进程与第六控制信息关联具体可以包括:发送装置根据第六控制信息配置第二HARQ进程的处理资源;发送装置配置完成第四HARQ进程的处理资源,利用处理资源发送第六数据;发送装置接收第六数据对应的应答消息中,应答消息包括肯定应答ACK或否定应答NACK。发送装置可以查看自身是否处于这四种情况中,若处于这四种情况中任一情况,则确定第四HARQ进程与第六控制信息关联。
示例性的,发送装置清空第四HARQ进程的buffer可以包括:发送装置用第四数据覆盖第四HARQ进程关联的buffer中的数据;或者,发送装置删除第四HARQ进程关联的buffer中的全部数据等。
基于图6所示方法,若发送装置侧当前发送数据的HARQ进程被其他控制信息/其他数据占用,则发送装置清空发送数据的HARQ进程关联的buffer,若当前发送数据的HARQ进程未被其他控制信息/其他数据占用,仍旧和调度当前数据的控制信息关联,则不清空发送数据的HARQ进程关联的buffer。
下面结合图2所示系统,以发送装置配置有16个HARQ进程:HARQ进程T_1~HARQ进程T_16,接收装置配置有16个HARQ进程:HARQ进程R_1~HARQ进程R_16,数据传输粒度为TB传输,发送装置为终端1、接收装置为终端2、控制信息为SCI、终端1与终端2采用单播方式通过sidelink相互传输TB为例,对图6所示方法中发送装置清空buffer的过程进行详细描述:
图7为本申请实施例提供的一种清空缓存的方法流程图,如图7所示,可以包括:
T1时间段内,执行步骤701~步骤706:
步骤701:终端1首次确定向终端2发送TB1,从终端1的HARQ进程T_1~HARQ进程T_16中选择空闲的HARQ进程T_1作为发送TB1的HARQ进程,并向终端2发送SCI1。
其中,SCI1用于调度TB1,SCI1={HARQ进程T_1、源标识1、目标标识、单播},新传。
此时,HARQ进程T_1被SCI1占用或者被TB1占用,终端1可以记录/保存HARQ进程T_1与SCI1之间的关联关系。
进一步可选的,终端1将TB1缓存到终端1的HARQ进程T_1关联的buffer T_1。
步骤702:终端2接收SCI1,为SCI1关联终端2的HARQ进程R_1~HARQ进程R_16中的空闲HARQ进程:HARQ进程R_1。
此时,HARQ进程R_1被SCI1占用或者被TB1占用,终端2可以记录/保存HARQ进程R_1与SCI1之间的关联关系。
步骤703:终端1将TB1经过终端1的HARQ进程T_1处理后,通过sidelink向终端2发送处理的TB1。
步骤704:终端2接收并将TB1缓存到HARQ进程R_1关联的buffer R_1,将buffer R_1中的TB1经过终端2的HARQ进程R_1处理。
步骤705:终端2根据TB1的处理结果向终端1发送应答消息,该应答消息为ACK。
进一步可选的,终端2释放HARQ进程R_1,以使得该HARQ进程R_1可以被其他SCI占用,用于处理/接收其他TB。
步骤706:终端1接收应答消息,获知TB1成功传输,则释放HARQ进程T_1,以使得该HARQ进程T_1可以被其他SCI占用,用于传输其他TB。
接下来,T2时间段内执行步骤707~步骤708:
步骤707:终端1首次确定向终端2发送TB2,从终端1的HARQ进程T_1~HARQ进程T_16中选择空闲的HARQ进程T_1作为发送TB2的HARQ进程,并向终端2发送SCI2。
其中,SCI2用于调度TB2,SCI2={HARQ进程T_1、源标识2、目标标识2、单播},新传。
此时,HARQ进程T_1被SCI2占用或者被TB2占用,终端1可以记录/保存HARQ进程T_1与SCI2之间的关联关系。
需要说明的是,本申请实施例所述的空闲HARQ进程可以包括被释放的HARQ进程。
进一步可选的,终端1将TB2缓存到终端1的HARQ进程T_1关联的buffer T_1,接下来,T3时间段内终端1准备采用HARQ进程T_1对buffer T_1中的TB2进行处理,如:终端1准备HARQ进程T_1对应的处理资源、利用HARQ进程T_1对应的处理资源读取并处理buffer T_1中的TB2、发送TB2后接收终端2反馈的应答消息:ACK/NACK等。进一步的,若终端1处理完成TB2收到终端2反馈的ACK,则终端1释放HARQ进程T_1,该HARQ进程T_1可以被其他SCI占用,用于处理其他TB。
同时,在T3时间段内也可能会执行如下步骤708~步骤711:
步骤708:终端1再次确定向终端2发送TB1,查看上一次调度TB1的SCI1关联的HARQ进程T_1与SCI的关联情况,若HARQ进程T_1与SCI2关联,执行步骤709,若HARQ进程T_1与SCI1关联,执行步骤710。
步骤709:终端1确定HARQ进程T_1此时正被SCI2占用或者被TB2占用,终端1不清空HARQ进程T_1关联的buffer T_1,即不删除或覆盖buffer T_1中的TB2。
示例性的,若终端1正处于下述任一状态:准备HARQ进程T_1对应的处理资源、利用HARQ进程T_1对应的处理资源读取并处理buffer T_1中的TB2、处理完成TB2后向终端1反馈应答消息:ACK/NACK,或者,发现HARQ进程T_1关联的buffer T_1中保存有TB2,则确定HARQ进程T_1此时正被SCI2占用或者被TB2占用。
进一步可选的,终端1可以选择HARQ进程T_1~HARQ进程T_16中其他空闲HARQ进程与SCI1关联,将与SCI1关联的HARQ进程T_1切换到其他HARQ进程,通过其他HARQ进程T_1处理TB1,或者本次调度失败。
步骤710:终端1确定HARQ进程T_1与SCI1关联,则清空HARQ进程T_1关联的buffer T_1。
以上所述仅为本发明的较佳实施例,凡依本发明权利要求书所做的均等变化与修饰,皆应属本发明的涵盖范围。本申请中,接收装置和发送装置判断是新传还是重传的方法参考步骤401,不限制其他的方法。接收装置和发送装置判断控制信息和/或对应的数据是否为首次传输的方法不做限制。
示例性地,在以下描述中,不同步骤中第一信息对应于新传时,分别用第一数据和第二数据表示新传,即第一信息关联的第一数据与第一信息关联的第二数据为不同的TB。
情况一:步骤1:接收装置接收第一信息和/或第一信息关联的第一数据。
以第一信息至少包括{HARQ ID 1,SRC ID 1,DST ID1,cast type1}为例,接收装置确定第一数据为新传,或者,确定是第一次接收第一数据和/或第一数据关联的第一信息。
接收装置为第一数据分配未占用的第四HARQ进程,并将第一信息和/或第一数据与第四HARQ进程关联,并将第一数据的传输确定为新传。所述第一信息包含第一数据关联的侧行链路传输信息。接收装置将第一数据存储在第四HARQ进程关联的buffer中。
接收装置确定接收成功,或者解码成功,释放第四HARQ进程。释放HARQ进程可以解释为确定第四HARQ进程未被占用,可选地,接收装置确定第一信息关联的第四HARQ进程的buffer不为空,接收装置清空第四HARQ进程关联的buffer。
步骤2:接收装置接收第一信息和/或第一信息关联的第二数据。
以第一信息至少包括{HARQ ID 1,SRC ID 1,DST ID1,cast type1}为例,接收装置确定第二数据为新传。所述第一信息包含第一数据关联的侧行链路传输信息,即第二数据与第一数据对应于相同的第一信息。
情况二:步骤1:接收装置接收第一信息和/或第一信息关联的第一数据。
以第一信息至少包括{HARQ ID 1,SRC ID 1,DST ID1,cast type1}为例,接收装置确定第一数据为新传,或者,确定是第一次接收第一数据和/或第一数据关联的第一信息。
接收装置为第一数据分配未占用的第四HARQ进程,并将第一信息和/或第一数据与第四HARQ进程关联,并将第一数据的传输确定为新传。所述第一信息包含第一数据关联的侧行链路传输信息。接收装置将第一数据存储在第四HARQ进程关联的buffer中。
接收装置确定未接收成功,或者尚未解码成功,即第一数据和/或第一信息仍然与第四HARQ进程关联,不释放第四HARQ进程。
步骤2:接收装置接收第一信息和/或第一信息关联的第二数据。
以第一信息至少包括{HARQ ID 1,SRC ID 1,DST ID1,cast type1}为例,接收装置 确定第二数据为新传。所述第一信息包含第一数据关联的侧行链路传输信息,即第二数据与第一数据对应于相同的第一信息。
接收装置确定第一信息关联的第四HARQ进程的buffer不为空,清除第四HARQ进程关联的buffer,和/或确定第四HARQ进程可用。可选的,接收装置停止第四HARQ进程关联的定时器,或者,接收装置重启或者重新配置第四HARQ进程关联的定时器。
以上步骤中,发送装置可以相同也可以不同,即步骤一中发送第一信息以及第一数据的发送装置与步骤2中发送第一信息以及第二数据的发送装置相同或者不同。
情况三:步骤1:接收装置接收第一信息和/或第一信息关联的第一数据。
以第一信息至少包括{HARQ ID 1,SRC ID 1,DST ID1,cast type1}为例,接收装置确定第一数据为新传,或者,确定是第一次接收第一数据和/或第一数据关联的第一信息。
接收装置为第一数据分配未占用的第四HARQ进程,并将第一信息和/或第一数据与第四HARQ进程关联,并将第一数据的传输确定为新传。所述第一信息包含第一数据关联的侧行链路传输信息。接收装置将第一数据存储在第四HARQ进程关联的buffer中。
接收装置确定接收成功,或者解码成功,释放第四HARQ进程。释放HARQ进程可以解释为确定第四HARQ进程未被占用,可选地,接收装置清空第四HARQ进程关联的buffer。
步骤2:接收装置接收第二信息和/或第二信息关联的第三数据。
以第二信息至少包括{HARQ ID 2,SRC ID 2,DST ID2,cast type2}为例,接收装置确定第二数据为新传,或者,确定是第一次接收第二数据和/或第二数据关联的第二信息。所述第二信息包含第二数据关联的侧行链路传输信息,即第二数据与第一数据对应于不同相同的侧行链路传输信息。
接收装置确定未接收成功,或者尚未解码成功,即第二数据和/或第二信息仍然与第四HARQ进程关联,第二数据存储在第四HARQ进程关联的buffer中,不释放第四HARQ进程。
步骤3:接收装置接收第一信息和/或第一信息关联的第二数据。
以第一信息至少包括{HARQ ID 1,SRC ID 1,DST ID1,cast type1}为例,接收装置确定第二数据为新传(例如步骤5.2描述的根据NDI的方式);
可选地,接收装置确定第一信息与第四HARQ进程关联。
接收装置确定第二数据的前一次传输(英文翻译可以为previous transmission,不做限定)不存在于或者不保存于接收装置的HARQ进程关联的buffer中,例如,第二数据的前一次传输即第一数据未缓存在第四HARQ进程的buffer中,和/或也不存在于接收装置的其他HARQ进程中,接收装置不清空第一信息关联的第四HARQ进程。
情况四:步骤1:接收装置接收第一信息和/或第一信息关联的第一数据。
以第一信息至少包括{HARQ ID 1,SRC ID 1,DST ID1,cast type1}为例,接收装置确定第一数据为新传,或者,确定接收装置第一次接收第一数据和/或第一数据关联的第一信息。
接收装置为第一数据分配未占用的第四HARQ进程,并将第一信息和/或第一数据 与第四HARQ进程关联,并将第一数据的传输确定为新传。所述第一信息包含第一数据关联的侧行链路传输信息。接收装置将第一数据存储在第四HARQ进程关联的buffer中。
接收装置确定未接收成功,或者尚未解码成功,即第一数据和/或第一信息仍然与第四HARQ进程关联,不释放第四HARQ进程。
步骤2:接收装置接收第二信息和/或第二信息关联的第三数据。
以第二信息至少包括{HARQ ID 2,SRC ID 2,DST ID2,cast type2}为例,接收装置确定第二数据为新传,或者,确定是第一次接收第二数据和/或第二数据关联的第二信息。所述第二信息包含第二数据关联的侧行链路传输信息,即第二数据与第一数据对应于不同相同的侧行链路传输信息。
可选的,接收装置确定没有未被占用的进程,没有未被占用的HARQ进程包括以下一种或多种:HARQ进程关联的定时器正在运行;和/或,HARQ进程关联的buffer不为空;和/或,HARQ进程与侧行链路传输信息关联;和/或,HARQ进程与第一标识关联,所述第一标识可以是第一信息中包含的HARQ进程标识,或者与侧行链路资源对应的HARQ进程标识,或者网络设备指示/配置的HARQ进程标识。
接收装置抢占第四HARQ进程用于接收第三数据,即接收装置分配第四HARQ进程用于接收第三数据,可选地,将第二信息和/或第三数据与第四HARQ进程关联,将第三数据存储于第四HARQ进程关联的buffer中。
确定未接收成功,或者尚未解码成功,即第二信息和/或第三数据仍然与第四HARQ进程关联,第三数据存储在第四HARQ进程关联的buffer中,不释放第四HARQ进程。
步骤3:接收装置接收第一信息和/或第一信息关联的第二数据。
以第一信息至少包括{HARQ ID 1,SRC ID 1,DST ID1,cast type1}为例,接收装置确定第二数据为新传;
可选地,接收装置确定第一信息与第四HARQ进程关联。
接收装置确定第二数据的前一次传输(英文翻译可以为previous transmission,不做限定)不存在于或者保存于接收装置的HARQ进程关联的buffer中,例如,第二数据的前一次传输即第一数据未缓存在第四HARQ进程的buffer中,和/或也不存在于接收装置的其他HARQ进程中,接收装置不清空第一信息关联的第四HARQ进程。
以上步骤中,发送装置可以相同也可以不同,即步骤一中发送第一信息以及第一数据的发送装置与步骤2中发送第一信息以及第二数据的发送装置相同或者不同。
情况五:步骤1:接收装置接收第一信息和/或第一信息关联的第一数据。
以第一信息至少包括{HARQ ID 1,SRC ID 1,DST ID1,cast type1}为例,接收装置确定第一数据为新传,或者,确定接收装置第一次接收第一数据和/或第一数据关联的第一信息。
接收装置为第一数据分配未占用的第四HARQ进程,并将第一信息和/或第一数据与第四HARQ进程关联,并将第一数据的传输确定为新传。所述第一信息包含第一数据关联的侧行链路传输信息。接收装置将第一数据存储在第四HARQ进程关联的buffer中。
接收装置确定接收成功,或者解码成功,释放第四HARQ进程。释放HARQ进程可以解释为确定第四HARQ进程未被占用,可选地,接收装置清空第四HARQ进程关联的buffer。
步骤2:接收装置接收第二信息和/或第二信息关联的第三数据。
以第二信息至少包括{HARQ ID 2,SRC ID 2,DST ID2,cast type2}为例,接收装置确定第二数据为新传,或者,确定是第一次接收第二数据和/或第二数据关联的第二信息。所述第二信息包含第二数据关联的侧行链路传输信息,即第二数据与第一数据对应于不同相同的侧行链路传输信息。
可选的,接收装置确定没有未被占用的进程,没有未被占用的HARQ进程包括以下一种或多种:HARQ进程关联的定时器正在运行;和/或,HARQ进程关联的buffer不为空;和/或,HARQ进程与侧行链路传输信息关联;和/或,HARQ进程与第一标识关联,所述第一标识可以是第一信息中包含的HARQ进程标识,或者与侧行链路资源对应的HARQ进程标识,或者网络设备指示/配置的HARQ进程标识。接收装置分配第五HARQ进程用于接收第三数据,可选地,将第二信息和/或第三数据与第五HARQ进程关联,将第三数据存储于第五HARQ进程关联的buffer中。
或者,接收装置分配未被占用的第五HARQ进程用于接收第二信息关联的第三数据。
步骤3:接收装置接收第一信息和/或第一信息关联的第二数据。
以第一信息至少包括{HARQ ID 1,SRC ID 1,DST ID1,cast type1}为例,接收装置确定第二数据为新传;
可选地,接收装置确定第一信息与第四HARQ进程关联。
接收装置确定第二数据的前一次传输(英文翻译可以为previous transmission,不做限定)存在于或者保存于接收装置的HARQ进程关联的buffer中,例如,第二数据的前一次传输即第一数据未缓存在第四HARQ进程的buffer中;或者,存在于接收装置的其他HARQ进程中。接收装置确定第一信息关联的第四HARQ进程的buffer不为空,清除第四HARQ进程关联的buffer,和/或确定第四HARQ进程可用。可选的,接收装置停止第四HARQ进程关联的定时器,或者,接收装置重启或者重新配置第四HARQ进程关联的定时器。
以上步骤中,发送装置可以相同也可以不同,即步骤一中发送第一信息以及第一数据的发送装置与步骤2中发送第一信息以及第二数据的发送装置相同或者不同。
上述主要从各个节点之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,各个节点,例如接收装置和发送装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本申请实施例的方法能够以硬件、软件、或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对接收装置和发送装置进行功能模块的划分, 例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图8示出了一种通信装置110的结构图,该通信装置110可以为接收装置、接收装置中的芯片、片上系统或者其他能够实现上述方法中接收装置的功能的装置等,该通信装置110可以用于执行上述方法实施例中涉及的接收装置的功能。作为一种可实现方式,图8所示通信装置110包括:接收单元1101、处理单元1102。
接收单元1101,用于接收包括第一信息的第一控制信息,第一控制信息用于调度第一数据。
处理单元1102,用于确定第一混合自动重传请求HARQ进程与第一控制信息关联;处理单元1102,还用于确定第一HARQ进程与第二控制信息关联,和/或,第一HARQ进程关联的buffer包含第二控制信息调度的第二数据,第二控制信息包括第二信息,第二信息与第一信息不同;处理单元1102,还用于不清空第一HARQ进程的buffer。
具体的,上述图4-图5所示方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。通信装置110用于执行图4-图5所示方法所示清空缓存的方法中接收装置的功能,因此可以达到与上述清空缓存的方法相同的效果。
其中,处理模块可以是处理器、控制器、模块或电路。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框。通信模块可以是收发电路、管脚、接口电路、总线接口、或通信接口等。存储模块可以是存储器。当处理模块为处理器,通信模块为通信接口,存储模块为存储器时,本申请实施例所涉及的通信装置110可以为图4所示通信装置。
在本申请实施例中,处理器可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。
在本申请实施例中,存储器可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本申请实施例中的存储器还可以是电路或者其它任意能够实现存储功能的装置,用于存储指令和/或数据。
图9示出了一种通信装置120的结构图,该通信装置120可以为发送装置、发送装置中的芯片、片上系统、或者其他能够实现上述方法中发送装置的功能的装置等,该通信装置120可以用于执行上述方法实施例中涉及的发送装置的功能。作为一种可实现方式,图9所示通信装置120包括:发送单元1201、处理单元1202。
发送单元1201,用于向接收装置发送第四控制信息,第四控制信息包括第四信息,第四控制信息用于调度第四数据。
处理单元1202,用于确定第四混合自动重传请求HARQ进程与第四控制信息关联;确定第四HARQ进程与第五控制信息关联,和/或,第四HARQ进程关联的buffer中包含第五控制信息调度的第五数据,第五数据与第四数据不同;清空第四HARQ进程的buffer。
具体的,上述图6-图7所示方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。通信装置120用于执行图6-图7所示方法所示清空缓存的方法中发送装置的功能,因此可以达到与上述清空缓存的方法相同的效果。
其中,处理模块可以是处理器、控制器、模块或电路。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块可以是收发电路、管脚、接口电路、总线接口、或通信接口等。存储模块可以是存储器。当处理模块为处理器,通信模块为通信接口,存储模块为存储器时,本申请实施例所涉及的通信装置120可以为图4所示通信装置。
本申请实施例还提供了一种计算机可读存储介质。上述方法实施例中的全部或者部分流程可以由计算机程序来指令相关的硬件完成,该程序可存储于上述计算机可读存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。计算机可读存储介质可以是前述任一实施例的终端装置,如:包括数据发送端和/或数据接收端的内部存储单元,例如终端装置的硬盘或内存。上述计算机可读存储介质也可以是上述终端装置的外部存储设备,例如上述终端装置上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字(secure digital,SD)卡,闪存卡(flash card)等。进一步地,上述计算机可读存储介质还可以既包括上述终端装置的内部存储单元也包括外部存储设备。上述计算机可读存储介质用于存储上述计算机程序以及上述终端装置所需的其他程序和数据。上述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。
本申请实施例还提供了一种计算机指令。上述方法实施例中的全部或者部分流程可以由计算机指令来指令相关的硬件(如计算机、处理器、网络设备、和终端等)完成。该程序可被存储于上述计算机可读存储介质中。
需要说明的是,本申请的说明书、权利要求书及附图中的术语“第一”和“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上,“至少两个(项)”是指两个或三个及三个以上,“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A, 只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。
应理解,在本申请实施例中,“与A对应的B”表示B与A相关联。例如,可以根据A可以确定B。还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。此外,本申请实施例中出现的“连接”是指直接连接或者间接连接等各种连接方式,以实现设备间的通信,本申请实施例对此不做任何限定。
本申请实施例中出现的“传输”(transmit/transmission)如无特别说明,是指双向传输,包含发送和/或接收的动作。具体地,本申请实施例中的“传输”包含数据的发送,数据的接收,或者数据的发送和数据的接收。或者说,这里的数据传输包括上行和/或下行数据传输。数据可以包括信道和/或信号,上行数据传输即上行信道和/或上行信号传输,下行数据传输即下行信道和/或下行信号传输。本申请实施例中出现的“网络”与“系统”表达的是同一概念,通信系统即为通信网络。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备,如:可以是单片机,芯片等,或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (20)

  1. 一种清空缓存buffer的方法,其特征在于,所述方法包括:
    接收装置接收第一控制信息,所述第一控制信息包括第一信息;
    所述接收装置确定第一混合自动重传请求HARQ进程与第一控制信息关联;
    所述接收装置确定所述第一HARQ进程与第二控制信息关联,和/或,所述第一HARQ进程关联的buffer包含所述第二控制信息调度的第二数据,所述第二控制信息包括第二信息,第二信息与所述第一信息不同;
    所述接收装置不清空所述第一HARQ进程的buffer。
  2. 根据权利要求1所述的方法,其特征在于,所述第一信息包括下述一项或者多项:第二HARQ进程的标识、源标识、目标标识以及传输方式;所述第二信息包括下述一项或者多项:第三HARQ进程的标识、源标识、目标标识以及传输方式。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一HARQ进程与第二控制信息关联,包括:
    所述接收装置根据所述第二控制信息配置所述第一HARQ进程的处理资源;
    所述接收装置配置完成所述第一HARQ进程的处理资源,利用所述处理资源处理所述第二数据;
    所述接收装置处理完所述第二数据,向发送装置反馈所述第二数据对应的应答消息,所述应答消息包括肯定应答ACK或否定应答NACK;
    所述接收装置保存有所述第一HARQ进程与所述第二信息或者所述第二控制信息的关联关系。
  4. 一种清空缓存buffer的方法,其特征在于,所述方法包括:
    接收装置接收第一控制信息,所述第一控制信息包括第一信息;
    所述接收装置确定第一混合自动重传请求HARQ进程与第一控制信息关联;
    所述接收装置确定所述第一HARQ进程与第三控制信息关联,和/或,所述第一HARQ进程关联的buffer包含所述第三控制信息调度的第三数据,所述第三控制信息包括第三信息,所述第三信息与所述第一信息相同;
    所述接收装置清空所述第一HARQ进程的buffer。
  5. 根据权利要求4所述的方法,其特征在于,所述第一信息包括下述一项或者多项:第二HARQ进程的标识、源标识、目标标识以及传输方式。
  6. 根据权利要求4或5所述的方法,其特征在于,所述第一HARQ进程与第三控制信息关联,包括:
    所述接收装置根据所述第三控制信息配置所述第一HARQ进程的处理资源;
    所述接收装置配置完成所述第一HARQ进程的处理资源,利用所述处理资源处理所述第三控制信息调度的所述第三数据;
    所述接收装置向发送装置反馈所述第三数据对应的应答消息,所述应答消息包括肯定应答ACK或否定应答NACK;
    所述接收装置利用所述第一HARQ进程成功处理完所述第三控制信息调度的数据;
    所述接收装置保存有所述第一HARQ进程与所述第三信息或者所述第三控制信息的关联关系。
  7. 根据权利要求4-6任一项所述的方法,其特征在于,在所述接收装置接收第一控制信息之前,所述方法还包括:所述接收装置接收所述第三控制信息。
  8. 一种清空缓存buffer的方法,其特征在于,所述方法包括:
    发送装置向接收装置发送第四控制信息,所述第四控制信息包括第四信息;
    所述发送装置确定第四混合自动重传请求HARQ进程与第四控制信息关联;
    所述发送装置确定所述第四HARQ进程与第五控制信息关联,和/或,所述第四HARQ进程关联的buffer中包含所述第五控制信息调度的第五数据,所述第五数据与第四数据不同;
    所述接收装置清空所述第四HARQ进程的buffer。
  9. 根据权利要求8所述的方法,其特征在于,所述第四HARQ进程与第五控制信息关联包括:
    所述发送装置根据所述第五控制信息配置所述第四HARQ进程的处理资源;
    所述发送装置配置完成所述第四HARQ进程的处理资源,利用所述处理资源发送所述第五数据;
    所述发送装置接收所述第五数据对应的应答消息中,所述应答消息包括肯定应答ACK或否定应答NACK。
  10. 一种清空缓存buffer的方法,其特征在于,所述方法包括:
    发送装置向接收装置发送第四控制信息,所述第四控制信息包括第四信息,所述第四控制信息用于调度第四数据;
    所述发送装置确定第四混合自动重传请求HARQ进程与第四控制信息关联;
    所述发送装置确定所述第四HARQ进程与第六控制信息关联,和/或,所述第四HARQ进程关联的buffer中包含所述第六控制信息调度的第六数据,所述第六数据与所述第四数据相同;
    所述接收装置不清空所述第四HARQ进程的buffer。
  11. 根据权利要求10所述的方法,其特征在于,所述第四HARQ进程与第六控制信息关联包括:
    所述发送装置根据第六控制信息配置所述第四HARQ进程的处理资源;
    所述发送装置配置完成所述第四HARQ进程的处理资源,利用所述处理资源发送所述第六数据;
    所述发送装置接收所述第六数据对应的应答消息中,所述应答消息包括肯定应答ACK或否定应答NACK。
  12. 根据权利要求8-11任一项所述的方法,其特征在于,所述接收装置与所述发送装置之间通过侧行链路sidelink;所述发送装置向接收装置发送第四控制信息,包括:
    所述发送装置通过所述sidelink向接收装置发送第四控制信息。
  13. 一种通信装置,用于执行如权利要求1-3任一项所述的清空缓存的方法或者如权利要求4-7任一项所述的清空缓存的方法。
  14. 一种通信装置,包括处理器和存储器,所述存储器和所述处理器耦合,所述处理器用于执行如权利要求1-3任一项所述的清空缓存的方法或者如权利要求4-7任一项所述的清空缓存的方法。
  15. 一种通信装置,包括处理器和通信接口,
    所述处理器利用所述通信接口,接收第一控制信息,所述第一控制信息包括第一信息;
    确定第一混合自动重传请求HARQ进程与第一控制信息关联;
    确定所述第一HARQ进程与第二控制信息关联和/或所述第一HARQ进程关联的缓存buffer包含所述第二控制信息调度的第二数据,不清空所述第一HARQ进程的buffer,所述第二控制信息包括第二信息,第二信息与所述第一信息不同;或者,
    确定所述第一HARQ进程与第三控制信息关联和/或所述第一HARQ进程关联的buffer包含所述第三控制信息调度的第三数据,清空所述第一HARQ进程的buffer,所述第三控制信息包括第三信息,所述第三信息与所述第一信息相同。
  16. 一种通信装置,用于执行如权利要求8-9任一项所述的清空缓存的方法或者如权利要求10-12任一项所述的清空缓存的方法。
  17. 一种通信装置,包括处理器和存储器,所述存储器和所述处理器耦合,所述处理器用于执行如权利要求7-9任一项所述的清空缓存的方法或者如权利要求10-12任一项所述的清空缓存的方法。
  18. 一种通信装置,包括处理器和通信接口,所述处理器利用所述通信接口:
    向接收装置发送第四控制信息,所述第四控制信息包括第四信息;
    确定第四混合自动重传请求HARQ进程与第四控制信息关联;
    确定所述第四HARQ进程与第五控制信息关联和/或所述第四HARQ进程关联的buffer中包含所述第五控制信息调度的第五数据,所述第五数据与第四数据不同;清空所述第四HARQ进程的buffer;或者,
    确定所述第四HARQ进程与第六控制信息关联和/或所述第四HARQ进程关联的buffer中包含所述第六控制信息调度的第六数据,所述第六数据与所述第四数据相同;所述接收装置不清空所述第四HARQ进程的buffer。
  19. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如权利要求1-12任一项所述的清空缓存的方法。
  20. 一种计算机程序产品,其中,所述计算机程序产品包括计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如权利要求1-12任一项所述的清空缓存的方法。
PCT/CN2021/085423 2020-04-10 2021-04-02 一种清空缓存的方法及装置 WO2021204091A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010281222.0A CN113517956A (zh) 2020-04-10 2020-04-10 一种清空缓存的方法及装置
CN202010281222.0 2020-04-10

Publications (1)

Publication Number Publication Date
WO2021204091A1 true WO2021204091A1 (zh) 2021-10-14

Family

ID=78023692

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/085423 WO2021204091A1 (zh) 2020-04-10 2021-04-02 一种清空缓存的方法及装置

Country Status (2)

Country Link
CN (1) CN113517956A (zh)
WO (1) WO2021204091A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11558142B2 (en) * 2020-11-20 2023-01-17 Qualcomm Incorporated Transport block size (TBS) adjustment indication in sidelink
CN116133133A (zh) * 2021-11-12 2023-05-16 大唐移动通信设备有限公司 业务发送和接收方法、装置及存储介质
WO2024016242A1 (zh) * 2022-07-20 2024-01-25 北京小米移动软件有限公司 混合自动重传请求harq进程处理方法及装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200029318A1 (en) * 2018-07-23 2020-01-23 Samsung Electronics Co., Ltd. Method and apparatus for high reliability transmission in vehicle to everything (v2x) communication
CN110798297A (zh) * 2018-08-03 2020-02-14 维沃移动通信有限公司 一种旁链路信息传输方法及终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215097B (zh) * 2011-06-01 2017-12-29 深圳市中兴微电子技术有限公司 一种管理混合自动重传请求缓存的方法及装置
WO2018112922A1 (zh) * 2016-12-23 2018-06-28 华为技术有限公司 一种数据传输的方法及设备
EP3567909B1 (en) * 2017-01-23 2021-06-16 LG Electronics Inc. Method for transmitting signal by terminal for v2x communication in wireless communication system, and device using same method
CN110708145B (zh) * 2019-09-30 2021-11-30 展讯通信(上海)有限公司 Harq进程管理方法、装置、终端及存储介质

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200029318A1 (en) * 2018-07-23 2020-01-23 Samsung Electronics Co., Ltd. Method and apparatus for high reliability transmission in vehicle to everything (v2x) communication
CN110798297A (zh) * 2018-08-03 2020-02-14 维沃移动通信有限公司 一种旁链路信息传输方法及终端

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI; HISILICON: "Discussion on HARQ Support for NR Sidelink", 3GPP DRAFT; R2-1913701 DISCUSSION ON HARQ SUPPORT FOR NR SIDELINK, vol. RAN WG2, 4 October 2019 (2019-10-04), Chongqing, China, pages 1 - 17, XP051791693 *
HUAWEI; HISILICON: "Discussion on HARQ support for NR sidelink", 3GPP DRAFT; R2-1915968, vol. RAN WG2, 8 November 2019 (2019-11-08), Reno, USA, pages 1 - 4, XP051817526 *

Also Published As

Publication number Publication date
CN113517956A (zh) 2021-10-19

Similar Documents

Publication Publication Date Title
WO2021204091A1 (zh) 一种清空缓存的方法及装置
WO2019153935A1 (zh) 传输方式确定方法及装置,存储介质和电子装置
WO2020192778A1 (zh) 一种混合自动重传请求harq反馈控制方法及相关设备
WO2019192596A1 (zh) 传输数据的方法及其装置和系统
JP4387393B2 (ja) 無線通信システムにおける送信側の再確立時に制御pduを処理する方法及び装置
JP6940121B2 (ja) データ伝送方法、機器およびシステム
WO2019057154A1 (zh) 数据传输方法、终端设备和网络设备
WO2018202037A1 (zh) 传输数据的方法、终端设备和网络设备
WO2020143731A1 (zh) 用于传输数据的方法、通信设备和网络设备
WO2020199957A1 (zh) 一种重传资源的调度方法及设备
WO2021032008A1 (zh) 通信方法和通知装置
WO2020119013A1 (zh) 侧链通信方法和装置
US20220224454A1 (en) Harq process control method and apparatus
JP2022528081A (ja) 通信方法および通信装置
WO2018202133A1 (zh) 数据处理方法及设备
WO2021031912A1 (zh) 一种处理侧行链路资源的方法、装置及系统
WO2018121643A1 (zh) 一种数据传输方法、装置及系统
WO2021081898A1 (zh) 通信方法和通信装置
JP7481440B2 (ja) ハイブリッド自動再送要求処理方法及び通信装置
WO2021032064A1 (zh) 一种确定侧行链路资源的方法、装置以及系统
WO2021087997A1 (zh) 一种数据传输方法以及装置
JP4896073B2 (ja) 無線通信システムにおいてデータ伝送状態をポーリングする方法及び装置
WO2019095971A1 (zh) 一种通信方法及设备
WO2022227998A1 (zh) 一种数据传输方法及装置
WO2020249043A1 (zh) 反馈资源的配置方法及终端装置

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: 21784036

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: 21784036

Country of ref document: EP

Kind code of ref document: A1