Method and device for clearing cache
By determining the association relationship between the HARQ process and control information in the V2X communication system, avoiding clearing the cache before the confirmation information arrives, solving the problem of HARQ process cache clearing affecting data transmission, and improving the system throughput and stability.
Patent Information
- Application Number
- CN202010281222.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-10
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2040-04-10
AI Technical Summary
In V2X communication system, the cache clearing mechanism of the HARQ process is prone to affect data transmission, resulting in low throughput and affecting other transport blocks being processed.
The receiving device and the sending device respectively receive and send control information, determine the association relationship between the HARQ process and the control information, avoid clearing the cache before the confirmation information arrives, and ensure the continuity of data transmission.
It improves the data transmission efficiency of the V2X communication system, reduces the interference of cache clearance on data transmission, and improves the system throughput and stability.
Smart Images

Figure CN113517956B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to a method and device for clearing a cache. Background Art
[0002] In a vehicle-to-everything (V2X) communication system, terminal devices can communicate wirelessly with each other through a direct link, such as a sidelink (SL). In order to improve the communication quality of the direct link, the HARQ mechanism is introduced in the V2X communication system. HARQ uses a stop-and-wait protocol to send data. In the stop-and-wait protocol, after the transmitter sends a transport block (TB), it stops and waits for confirmation information. After receiving the TB, the receiver can use 1 bit of information to confirm the TB with a positive acknowledgement (ACK) or a negative acknowledgement (NACK).
[0003] However, the sender stops and waits for confirmation after each TB transmission, which results in low throughput. Therefore, multiple parallel HARQ processes are used. When one HARQ process is waiting for confirmation information, the sender can use another HARQ process to continue sending data. These HARQ processes together form a HARQ entity, which combines the stop-and-wait protocol and allows continuous data transmission.
[0004] For each HARQ process, a buffer associated with the HARQ process is maintained at both the transmitting and receiving ends, and the buffer is used to cache a certain TB transmitted through the HARQ process. However, in the current mechanism, if it is a new transmission of a TB, the transmitting end clears the buffer associated with the HARQ process used to transmit the TB, and uses the cleared buffer to cache the newly transmitted TB. However, this method of clearing the buffer can easily clear other TBs being processed, affecting data transmission at both the transmitting and receiving ends. Summary of the invention
[0005] The present application provides a method and system for clearing a cache.
[0006] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:
[0007] In a first aspect, an embodiment of the present application provides a method for clearing a cache, which can be executed by a receiving device, a chip or other devices. Taking execution by a receiving device as an example, the method may include: the receiving device receives first control information including first information, and the first control information is used to schedule first data; the receiving device determines that a 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 second control information, and / or the buffer associated with the first HARQ process contains second data scheduled by the second control information, and the second control information includes second information, which is different from the first information; the receiving device does not clear the buffer of the first HARQ process.
[0008] Based on the method provided in the first aspect, the receiving device can receive information sent by the sending device in the cell for indicating the characteristic information of the receiving device allowed to access the cell, and determine whether it can access the cell according to the instruction of the sending device and the characteristic information it has. In this way, the sending device can indicate which receiving devices with which characteristics are allowed / not allowed to access the cell, thereby improving the flexibility of the network side in controlling cell access and facilitating the network side to perform service control and flow control.
[0009] In one possible design, the first information includes one or more of the following: an identifier, a source identifier, a target identifier, and a transmission method of the second HARQ process; the second information includes one or more of the following: an identifier, a source identifier, a target identifier, and a transmission method of the third HARQ process.
[0010] In one possible design, the receiving device configures the processing resources of the first HARQ process according to the second control information; the receiving device completes the configuration of the processing resources of the first HARQ process, and uses the processing resources to process the second data; after processing the second data, the receiving device feeds back a response message corresponding to the second data to the sending device, and the response message includes an affirmative response ACK or a negative response NACK; the receiving device saves the association relationship between the first HARQ process and the second information or the second control information.
[0011] In one possible design, a receiving device receives first control information including first information; the receiving device determines that a 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 third control information, and / or a buffer associated with the first HARQ process includes 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 buffer of the first HARQ process.
[0012] In one possible design, the first information includes one or more of the following: an identifier of the second HARQ process, a source identifier, a target identifier, and a transmission method.
[0013] In one possible design, the receiving device configures the processing resources of the first HARQ process according to the third control information; the receiving device completes the configuration of 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 a response message corresponding to the second data to the sending device, and the response message includes an affirmative response ACK or a negative response NACK; the receiving device successfully processes the data scheduled by the third control information using the first HARQ process; the receiving device saves the association between the first HARQ process and the third information or the third control information.
[0014] In one possible design, 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.
[0015] In a second aspect, the present application provides a communication device, which may be a receiving device or a chip or system on chip in the receiving device, and may also be a module or unit in the receiving device for implementing the method of clearing the cache described in the embodiment of the present application. The communication device may implement the functions performed by the receiving device in the above-mentioned aspects or possible designs, and the functions may 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. In one design, the device may include a module corresponding to one of the methods / operations / steps / actions described in the first aspect, and the module may be a hardware circuit, or software, or a combination of a hardware circuit and software. In one design, the communication device may include: a receiving unit, a processing unit;
[0016] The receiving unit is used to receive first control information including first information, where the first control information is used to schedule first data.
[0017] A processing unit is used to determine that a first hybrid automatic repeat request HARQ process is associated with a first control information; the processing unit is also used to determine that the first HARQ process is associated with a second control information, and / or that a buffer associated with the first HARQ process contains 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 processing unit is also used to not clear the buffer of the first HARQ process.
[0018] The specific implementation of the communication device can refer to the behavior function of the receiving device in the method for clearing the cache provided by the first aspect or any possible design of the first aspect, and 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.
[0019] In a third aspect, a communication device is provided, which may be a receiving device or a chip or system on chip in the receiving device. The communication device may implement the functions performed by the receiving device in the above aspects or possible designs, and the functions may be implemented by hardware. In one possible design, 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 functions involved in the above first aspect or any possible design of the first aspect, for example: the processor is used to receive first control information including first information through the communication interface, and the first control information is used to schedule first data; determine that the first hybrid automatic repeat request HARQ process is associated with the first control information; determine 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 information, and the second information is different from the first information; do not clear the buffer of the first HARQ process. In another possible design, the communication device may also include a memory, and the memory is used to store computer instructions and / or data. When the communication device is running, the processor executes the computer instructions stored in the memory, so that the communication device executes the method of clearing the cache described in the above first aspect or any possible design of the first aspect. In the embodiment of the present application, the communication interface may be a transceiver, an interface circuit, a bus interface, a pin or other device capable of realizing the transceiver function.
[0020] In a fourth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is executed on a computer, the computer can execute the method for clearing the cache as described in the first aspect or any possible design of the above aspects.
[0021] In a fifth aspect, a computer program product comprising instructions is provided. The computer program product may include program instructions. When the computer program product runs on a computer, the computer can execute the method of clearing the cache as described in the first aspect or any possible design of the above aspects.
[0022] In the sixth aspect, a chip system is provided, the chip system includes a processor and a communication interface, the chip system can be used to implement the functions performed by the receiving device in the above-mentioned first aspect or any possible design of the first aspect, for example, the processor is used to receive first control information including first information through the communication interface, the first control information is used to schedule first data; determine that the first hybrid automatic repeat request HARQ process is associated with the first control information; determine 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, the second control information includes the second information, and the second information is different from the first information; the buffer of the first HARQ process is not cleared. In a possible design, the chip system also includes a memory, the memory is used to store program instructions and / or data, when the chip system is running, the processor executes the program instructions stored in the memory, so that the chip system executes the method of clearing the cache described in the above-mentioned seventh aspect or any possible design of the seventh aspect. The chip system can be composed of a chip, or it can include a chip and other discrete devices, without limitation.
[0023] In the seventh aspect, an embodiment of the present application also provides a method for clearing a cache, which can be executed by a sending device, a chip or other device, and the method may include: the sending device sends fourth control information including fourth information to the receiving device, and the fourth control information is used to schedule fourth data; the sending device determines that a 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 fifth control information, and / or the buffer associated with the fourth HARQ process contains 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.
[0024] In one possible design, the sending device configures the processing resources of the second HARQ process according to the fifth control information; the sending device completes the configuration of the processing resources of the fourth HARQ process, and uses the processing resources to send the fifth data; the sending device receives a response message corresponding to the fifth data, and the response message includes an affirmative response ACK or a negative response NACK.
[0025] In one possible design, a sending device sends fourth control information to a receiving device, where the fourth control information includes fourth information, and the fourth control information is used to schedule fourth data; the sending device determines that a 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 sixth control information, and / or a buffer associated with the fourth HARQ process includes sixth data scheduled by the sixth control information, and the sixth data is the same as the fourth data; and the receiving device does not clear the buffer of the fourth HARQ process.
[0026] In a possible design, a sending device configures processing resources for a second HARQ process according to sixth control information; the sending device completes configuration of processing resources for a fourth HARQ process, and uses the processing resources to send sixth data; the sending device receives a response message corresponding to the sixth data, wherein the response message includes an affirmative response ACK or a negative response NACK; and a buffer associated with the second HARQ process includes the sixth data.
[0027] In a possible design, the sending device sends the fourth control information to the receiving device via a sidelink.
[0028] In an eighth aspect, the present application provides a communication device, which may be a sending device or a chip or system on chip in a sending device, or a module or unit in a sending device for implementing the method of clearing the cache described in an embodiment of the present application. The communication device can implement the functions performed by the sending device in the above-mentioned aspects or 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. In one design, the device may include a module corresponding to the method / operation / step / action described in the seventh aspect, and the module may be a hardware circuit, or software, or a combination of a hardware circuit and software. In one design, the communication device may include: a sending unit, a processing unit.
[0029] The sending unit is used 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.
[0030] A processing unit is used to determine that a fourth hybrid automatic repeat request HARQ process is associated with fourth control information; determine that the fourth HARQ process is associated with fifth control information, and / or that a buffer associated with the fourth HARQ process contains fifth data scheduled by the fifth control information, and the fifth data is different from the fourth data; and clear the buffer of the fourth HARQ process.
[0031] Among them, the specific implementation method of the communication device can refer to the behavior function of the sending device in the method of clearing the cache provided by the seventh aspect or any possible design of the seventh aspect, and will not be 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.
[0032] In the ninth aspect, a communication device is provided, which may be a transmitting device or a chip or system on chip in the transmitting device. The communication device may implement the functions performed by the transmitting device in the above aspects or possible designs, and the functions may be implemented by hardware. In one possible design, 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 functions involved in the above seventh aspect or any possible design of the seventh aspect, for example: the processor is used 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 that the fourth hybrid automatic repeat request HARQ process 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 data scheduled by the fifth control information, and the fifth data is different from the fourth data; clear the buffer of the fourth HARQ process. In another possible design, the communication device may also include a memory, and the memory is used to store computer instructions and / or data. When the communication device is running, the processor executes the computer instructions stored in the memory to enable the communication device to perform the method of clearing the cache as described in the seventh aspect or any possible design of the seventh aspect.
[0033] In a tenth aspect, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is executed on a computer, the computer can execute the method of clearing the cache as described in the seventh aspect or any possible design of the above aspects.
[0034] In the eleventh aspect, a computer program product comprising instructions is provided. The computer program product may include program instructions. When the computer program product runs on a computer, the computer can execute the method of clearing the cache as described in the seventh aspect or any possible design of the above aspects.
[0035] In the twelfth aspect, a chip system is provided, the chip system 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, for example, the processor is used 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 that the fourth hybrid automatic repeat request HARQ process 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 data scheduled by the fifth control information, and the fifth data is different from the fourth data; clear the buffer of the fourth HARQ process. In a possible design, the chip system also includes a memory, the memory is used to store program instructions and / or data, when the chip system is running, the processor executes the program instructions stored in the memory, so that the chip system executes the method of clearing the cache described in the seventh aspect or any possible design of the seventh aspect. The chip system can be composed of a chip, or it can include a chip and other discrete devices, without limitation.
[0036] In the thirteenth aspect, an embodiment of the present application also provides a communication system, which includes a receiving device as described in any one of the second to sixth aspects and a sending device as described in any one of the eighth to twelfth aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a schematic diagram of a HARQ entity;
[0038] Figure 2 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;
[0039] Figure 3 A schematic diagram of the composition of a communication device 400 provided in an embodiment of the present application;
[0040] Figure 4 A flowchart of a method for clearing a cache provided in an embodiment of the present application;
[0041] Figure 5 A flowchart of a method for clearing a cache provided in an embodiment of the present application;
[0042] Figure 6 A flowchart of a method for clearing a cache provided in an embodiment of the present application;
[0043] Figure 7 A flowchart of a method for clearing a cache provided in an embodiment of the present application;
[0044] Figure 8 A communication device provided in an embodiment of the present application;
[0045] Fig. 9 A communication device is provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] Before describing the embodiments of the present application, the relevant technical terms involved in the embodiments of the present application are explained:
[0047] HARQ process: refers to the process from the transmitting end scheduling a data transmission to the receiving end through the stop-and-wait protocol, to the transmitting end receiving the positive acknowledgment (ACK) / negative acknowledgment (NACK). The HARQ operation of the transmitting end may include the new / initial transmission data and retransmission data, receiving and processing ACK / NACK; the HARQ operation of the receiving end may include receiving the new transmission data and retransmission data, soft combining the received new transmission data and retransmission data, generating ACK / NACK, etc.
[0048] When SL communication is supported between the transmitter and the receiver, the transmitter can process the sidelink data through the HARQ process, and then send the sidelink data to other terminal devices through the physical sidelink share channel (PSSCH) on the SL. Before sending the sidelink data through the SL, the transmitter can send control information to the receiver through the physical sidelink feedback channel (PSCCH) on the SL, such as sidelink control information (SCI), and schedule the sidelink data through the SCI. The SCI may include one or more of the following information for indicating the transmission characteristics of the sidelink 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, etc.
[0049] In the embodiment of the present application, the receiving end can determine whether the data scheduled by the SCI is new transmission data or retransmission data through the above-mentioned group of messages carried by the SCI, such as: after receiving the SCI, the receiving end reads / determines {source ID, destination ID, HARQ process number, service type (unicast, multicast or broadcast)} and new data indicator (new data indicator, NDI) contained in the SCI, and determines whether the receiving end has received the same group of information last time. If received, compare the value of the last NDI of this group of information (for example, 1) with the value of the NDI bit in the SCI where this group of information is received this time. If the same, it means that the data scheduled by the SCI is retransmission data, if different (i.e. flip (toggle)), it is considered that the data scheduled by the SCI is new transmission data.
[0050] Taking TB transmission as an example, in each embodiment of the present application, for the control information carrying the same first information transmitted twice before and after, the sending device and / or the receiving device determines whether the NDI values in the control information carrying the same first information received twice are the same based on the value of NDI in the control information received last time (or most recently). If they are the same, it indicates that there is no flipping, that is, the TB associated with the currently received control information is a retransmission; otherwise, if they are not the same, it indicates a flipping, that is, the TB corresponding to the currently received control information is a new transmission.
[0051] Among them, the transmitting end and the receiving end are relative concepts. The transmitting end may refer to a terminal or terminal device that sends data through a certain HARQ process, and the receiving end may refer to a terminal or terminal device that receives data sent by the transmitting end through a certain HARQ process. In the following description, the receiving end may also be replaced by the description of a receiving device, and the transmitting end may also be replaced by the description of a transmitting device. In the present application, a sidelink / PC5 interface is established between the transmitting end and the receiving end, and the two transmit data to each other through the sidelink / PC5 interface. The HARQ process for processing the transmission through the sidelink / PC5 interface can be called a sidelink HARQ process communication / PC5 HARQ process.
[0052] Among them, in order to improve the throughput of data transmission through the stop-and-wait protocol, the transmitting end and the receiving end 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 is waiting for ACK / NACK, the transmitting end can use another HARQ process to continue sending data. One or more HARQ processes can form a HARQ entity. Each HARQ process corresponds to a HARQ process identifier (ID) / HARQ process number, and the HARQ process ID can uniquely identify the HARQ process. Each HARQ process needs to be associated with an independent buffer to store the data transmitted on the HARQ process. The HARQ entity combines the stop-and-wait protocol and allows continuous transmission of data. Exemplarily, the transmitting end can maintain 16 HARQ processes: HARQ process 1 to HARQ process 16, and the receiving end can maintain 16 HARQ processes: HARQ process 1 to HARQ16.
[0053] When the transmitting end and the receiving end perform data transmission, data transmission can be performed with a transport block (TB) as the granularity, or with a code block group (CBG) as the granularity, or with other granularities without restriction. Taking the transmitting end and the receiving end supporting TB transmission as an example, each HARQ process can process one TB within a transmission time interval (TTI).
[0054] HARQ entity: can include one or more HARQ processes. The HARQ entity is located in the MAC entity. The HARQ entity can determine whether to transmit the data newly or retransmit the data according to the data transmission resources (such as time-frequency resources, etc.). Figure 1 As shown, the receiving end and the transmitting end may include an application layer, a packet data convergence protocol (PDCP) layer, a radio link control (RLC) layer, a sidelink logical channel (SL LCH) / LCH, a media access control (MAC) layer and a physical layer (PHY). The MAC layer may include one or more MAC layer entities. One MAC entity may correspond to one or more HARQ entities. The configurations of different HARQ entities may be the same or different.
[0055] In the prior art, after a transmitter sends first data through a certain HARQ process, if the first data is sent again through the HARQ process, the buffer associated with the HARQ process will not be cleared. At the same time, if the HARQ process is preempted to process / send other data between after the transmitter sends data through a certain HARQ process and before the data is sent again through the HARQ process, then when the first data is sent again, if the buffer associated with the HARQ process is not cleared, it will affect the transmission of the first data. Correspondingly, on the receiving end side, after the receiving end receives and processes the first data sent by the transmitter through a certain HARQ process, and then receives new transmission data corresponding to the first data through the HARQ process again, the receiving end clears the buffer corresponding to the HARQ process and prepares to receive and cache the newly transmitted first data. However, between the time when the receiving end receives and processes the first data sent by the transmitting end through a certain HARQ process and the time when the receiving end receives the new data corresponding to the first data through the HARQ process again, if the HARQ process of the receiving end is preempted to process other data sent through other HARQ processes, then clearing the buffer of the receiving end at this time will cause the processing of other data to fail, thus affecting data transmission.
[0056] In order to solve the above technical problems, an embodiment of the present application provides a method for clearing a cache. For a receiving device, the method may include: the receiving device receives first control information including first information; the receiving device determines that a 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 contains second data scheduled by the second control information, and the second control information includes second information different from the first information; the receiving device does not clear the buffer of the first HARQ process. Alternatively, the receiving device determines that the first HARQ process is associated with third control information and / or the buffer associated with the first HARQ process contains third data scheduled by the third control information, and the third control information includes third information, and the third information is the same as the first information; the receiving device clears the buffer of the first HARQ process.
[0057] In this application, clearing a buffer may refer to deleting all data in the buffer or overwriting the data stored in the buffer with the currently scheduled data.
[0058] The following describes the method for clearing the cache provided in the embodiment of the present application in conjunction with the drawings of the specification.
[0059] The method for clearing the cache provided in the embodiment of the present application can be used for any communication system that supports V2X communication. The communication system can be a third generation partnership project (3GPP) communication system, such as a long term evolution (LTE) system, or a fifth generation (5G) mobile communication system, a new radio (NR) system, a vehicle-to-everything (V2X) system, and other next generation communication systems, or a non-3GPP communication system without limitation.
[0060] The method for clearing the cache provided in the embodiment of the present application 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 (URLLC), machine type communication (MTC), massive machine type communication (mMTC), device-to-device (D2D), vehicle to everything (V2X), vehicle to vehicle (V2V), and Internet of things (IoT), etc.
[0061] Below Figure 2 Taking the communication system shown as an example, the method for clearing the cache provided in an embodiment of the present application is described.
[0062] Figure 2 is a schematic diagram of a communication system provided in an embodiment of the present application, such as Figure 2 As shown, the communication system may include multiple terminals and network devices. The terminal may be located within the cell coverage of the network device, or may be located outside the cell coverage of the network device. The terminal may communicate with the network device through the Uu port, or may communicate with other terminals through a sidelink (SL) (or PC5 port). The terminal may communicate with other terminals one-to-one through unicast, or may communicate with multiple other terminals through multicast or broadcast. For example, Figure 2As shown, terminal 1 can perform unicast communication with terminal 2 and send side data to terminal 2 in unicast mode. Terminal 1 can form a multicast group with other three terminals: terminal 3, terminal 4, and terminal 5, and terminal 1 can send side data to terminal 3, terminal 4, and terminal 5 in multicast mode.
[0063] Among them, the transmission methods described in this application include unicast, multicast and broadcast. The unicast method may refer to: the sending device and the receiving device communicate through a one-to-one link, such as a terminal communicating with another terminal through a one-to-one SL link. The broadcast method may refer to: the sending device communicates with the surrounding through a one-to-one link, such as a terminal broadcasting a message to its surroundings, and one or more other terminals receive the broadcast message. The multicast method may refer to the sending device sending data or messages to one or more receiving devices in a multicast group, such as a terminal sending data / messages to one or more terminals in a multicast group. In this application, multicast may also be referred to as multicast.
[0064] in, Figure 2 The network device in the 5G-RAN network can be any device with wireless transceiver functions, which is mainly used to realize wireless physical control, resource scheduling and wireless resource management, wireless access control and mobility management. Specifically, the network device can be an access network (AN) / radio access network (RAN) device, or a device composed of multiple 5G-AN / 5G-RAN nodes, or a base station (nodeB, NB), an evolved base station (evolution nodeB, eNB), a next generation base station (generation nodeB, gNB), a transmission receive point (TRP), a transmission point (TP), a roadside unit (RSU) and any other access node, etc., without limitation.
[0065] Figure 2 The terminal in the term "terminal" may be referred to as terminal equipment, user equipment (UE), mobile station (MS), or mobile terminal (MT). Specifically, Figure 2The terminal in the embodiment can be a mobile phone, a tablet computer or a computer with 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, a wireless terminal in a smart grid, a wireless terminal in a smart city, a wireless terminal in a smart home, a vehicle-mounted terminal, a vehicle with vehicle-to-vehicle (V2V) communication capability, an intelligent networked vehicle, etc., without limitation. The terminal and network device in the embodiment of the present application can be one or more chips, or a system on chip (SOC), etc. The specific components of the terminal and the network device can refer to Figure 2 shown.
[0066] It should be noted that Figure 2 The accompanying drawings are for illustrative purposes only. Figure 2 The number of devices included is unlimited and Figure 2 In addition to the devices shown, the communication architecture may also include other devices. Figure 2 The names of the devices in the Figure 2 In addition to the names shown, each device can also be named other names without limitation.
[0067] It should be noted that, in the present invention, "storage" can be replaced with descriptions such as "save", "maintain", and "exist" without limitation.
[0068] It should be noted that 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.
[0069] It should be noted that the first control information or the second control information etc. associated with the HARQ process may also be replaced by the first information or the second information etc. associated with the HARQ process, or replaced by "side link transmission information associated with the HARQ process", or replaced by "first data or second data or third data" associated with the HARQ process, wherein the HARQ process may be replaced by a HARQ process identifier, wherein the HARQ process identifier may be a HARQ process identifier indicated by the base station to the terminal device, or may be a HARQ process identifier selected by the terminal device itself. Exemplarily, the first control information includes the first information, the first control information corresponds to the first data, the first control information is associated with the first HARQ process, the first HARQ process is associated with the identifier of the first HARQ process and the buffer, that is, there is an association relationship among the first control 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, which are uniformly explained here.
[0070] It should be noted that the receiving device may be one or more receiving devices, and the sending device may be one or more sending devices.
[0071] It should be noted that, in the present invention, SCI may be the first-level SCI or the second-level SCI, or the information included in the first-level SCI and the second-level SCI may be comprehensively considered.
[0072] In the specific implementation, Figure 2 The network elements shown, such as terminals and network equipment, can be Figure 3 The structure shown or includes Figure 3 Parts shown. Figure 3 A schematic diagram of the structure of a communication device 400 provided in an embodiment of the present application. When the communication device 400 has the function of a terminal described in an embodiment of the present application, the communication device 400 may be a terminal or a chip or system on chip in the terminal. When the communication device 400 has the function of a network device described in an embodiment of the present application, the communication device 400 may be a network device or a chip or system on chip in a network device.
[0073] like Figure 3 As shown, the communication device 400 may include a processor 401, a communication line 402, and a communication interface 403. Further, the communication device 400 may also include a memory 404. The processor 401, the memory 404, and the communication interface 403 may be connected via a communication line 402.
[0074] The processor 401 may be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 401 may also be other devices with processing functions, such as circuits, devices, or software modules.
[0075] The communication line 402 is used to transmit information between the components included in the communication device 400.
[0076] The communication interface 403 is used to communicate with other devices or other communication networks. The other communication networks may be Ethernet, radio access network (RAN), wireless local area network (WLAN), etc. The communication interface 403 may be an interface circuit, a pin, a radio frequency module, a transceiver, or any device capable of achieving communication.
[0077] The memory 404 is used to store instructions, where the instructions may be computer programs.
[0078] Among them, the memory 404 can be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage, magnetic disk storage medium or other magnetic storage device, and the optical disc storage includes a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, or a Blu-ray disc, etc.
[0079] It should be noted that the memory 404 can exist independently of the processor 401, or can be integrated with the processor 401. The memory 404 can be used to store instructions or program codes or some data, etc., and a buffer associated with a HARQ process can be set in the memory 404. The memory 404 can be located in the communication device 400 or outside the communication device 400, without limitation. The processor 401 is used to execute the instructions stored in the memory 404 to implement the method for clearing the cache provided in the following embodiments of the present application.
[0080] In one example, the processor 401 may include one or more CPUs, such as Figure 3 CPU0 and CPU1 in.
[0081] As an optional implementation, the communication device 400 includes multiple processors, for example, Figure 3 In addition to the processor 401, a processor 407 may also be included.
[0082] As an optional implementation, the communication device 400 further includes an output device 405 and an input device 406. Exemplarily, the input device 406 is a device such as a keyboard, a mouse, a microphone or a joystick, and the output device 405 is a device such as a display screen and a speaker.
[0083] It should be noted that the communication device 400 can 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 Figure 3 In addition, Figure 3 The structure shown in the figure does not constitute a limitation on the communication device, except Figure 3 In addition to the components shown, the communication device may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0084] In the embodiment of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices.
[0085] Combine the following Figure 3 The communication system shown in the figure describes the method for clearing the cache provided in the embodiment of the present application. Among them, each device in the following embodiment may have Figure 3 The components shown. Among them, the actions, terms, etc. involved in the various embodiments of the present application can refer to each other without limitation. The message name or parameter name in the message exchanged between the various devices in the embodiments of the present application is only an example, and other names can also be used in the specific implementation without limitation.
[0086] In the present application, the execution order of each step in the embodiment is not limited, and the order of each step can be flexibly changed. In addition, each step in the following embodiment can be executed separately or in combination without limitation.
[0087] Figure 4 A method for clearing a cache is provided in an embodiment of the present application, such as Figure 4 As shown, the method includes:
[0088] Step 401: A receiving device receives first control information.
[0089] Exemplarily, the receiving device may receive first control information from the sending device.
[0090] The receiving device may be Figure 3 Any terminal or any functional module or chip system in any terminal, the receiving device can perform sidelink communication with the sending device, and the receiving device can Figure 3 Any terminal in the system or any functional module or chip system in the system, both of which support data transmission through the HARQ process. For example, the sending device can be Figure 2 The receiving device may be a terminal 1 in Figure 2 Terminal 2 in.
[0091] Among them, the first control information can be SCI, and the first control information can be carried in PSCCH and sent to the receiving device, that is, it can be sent to the receiving device using PSCCH resources. The first control information is scheduling information used to indicate the first data, and the first control information can be used to schedule the first data transmitted by the sending device to the receiving device, such as: taking TB transmission as an example, the first control information can schedule the first TB newly transmitted to the receiving device through the second HARQ process of the sending device, and can also schedule the first TB retransmitted to the receiving device through the second HARQ process of the sending device. The second HARQ process can be a HARQ process on the sending device or inside the sending device that can be used to process / send data, or a HARQ process on the sending device or inside the sending device that is used to store data scheduled by the first control information in an associated buffer, and / or store an authorization (grant) for sending data scheduled by the first control information and / or generate a HARQ process for transmitting data scheduled by the first control information.
[0092] Specifically, the first control information may at least include first information for indicating the transmission characteristics of the data scheduled by the first control information, such as the first information may include at least one of the following information: the process number of the second HARQ process / the identifier of the second HARQ process, the source identifier corresponding to the first data, the target identifier 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. In addition to the first information, the first control information may also include NDI, sidelink time-frequency resource information corresponding to the transmission data, and other information.
[0093] The transmission method may be any one of a unicast method, a broadcast method and a multicast method.
[0094] Among them, the source identifier corresponding to the first data can be used to identify the device that sends the first data, such as: the source identifier can be the identifier of the sending device, the identifier of the sending device can be the source identifier indicated by a higher layer (such as a V2X layer), or the Internet Protocol (IP) address or MAC address of the sending device. The source identifier can be a complete source identifier, that is, a layer 2 source identifier (source L2 ID), and the complete layer 2 source identifier is 24 bits, that is, it contains 24 bits, or it can be a part of the complete source identifier. For example, the source identifier can be a layer 1 source identifier (source L1 ID), and the layer 1 source identifier can be the lower 8 bits or lower 16 bits of the layer 2 source identifier or other number of bits, which are not limited here.
[0095] Among them, the target identifier corresponding to the first data can be used to identify the device receiving the first data, such as: the target identifier can be the identifier of the service, or it can also be the identifier of the receiving device, and the target identifier can be the IP address or MAC address of the receiving device or the service. Similarly, the target identifier can be a complete target identifier, that is, a layer 2 target identifier (destination L2 ID). The complete layer 2 target identifier is 24 bits, that is, it contains 24 bits, and it may also be a part of the complete target identifier. For example, the target identifier can be a layer 1 target identifier (destination L1 ID), and the layer 1 target identifier can be the lower 8 bits or lower 16 bits of the layer 2 target identifier or other number of bits, which are not limited here.
[0096] The value of NDI can be set according to whether the currently transmitted data is new transmission data or retransmission data. The initial value of NDI is the value of NDI corresponding to 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 1 or 0. NDI flipping (toggle) indicates new transmission, and NDI unchanged indicates retransmission.
[0097] For example, taking the control information as SCI1, SCI1={HARQ process 1, SRC ID 1, DST ID1, unicast mode, NDI=1}, where the initial value of NDI is 1, the sending device identified by SRC ID 1 is terminal 1, and the receiving device identified by DST ID1 is terminal 2 as an example, the receiving device receives SCI1 for the first time, which indicates that SCI1 schedules terminal 1 to use unicast to transmit new data to terminal 2 through HARQ process 1; if the subsequent receiving device receives SCI1={HARQ process 1, SRC ID 1, DSTID1, unicast mode, NDI=0} for the second time, where except for the change in the value of NDI, the values of HARQ process 1, SRC ID 1, DST ID1, and unicast mode remain unchanged, which indicates that SCI1 schedules terminal 1 to use unicast to transmit new data to terminal 2 through HARQ process 1; if the subsequent receiving device receives SCI1={HARQ process 1, SRC ID 1, DST ID1, unicast mode ID1, unicast mode, NDI=0}, HARQ process 1, SRC ID 1, DST ID1, unicast mode and NDI values remain unchanged, indicating that SCI1 schedules terminal 1 to retransmit data to terminal 2 through HARQ process 1 in unicast mode.
[0098] Exemplarily, a user of a sending device determines to send first data to a receiving device, for example, obtains a transmission resource (such as a time-frequency resource) for the first data, determines that the transmission resource is used for new transmission or retransmission of the first data, and the user triggers the application layer of the sending device to generate the first data, for example, obtains a MAC protocol first data unit (PDU) from a multiplexing and assembly entity for transmission, and triggers the sending device to determine a HARQ process that can be used to process / send the first data. The sending device determines that the HARQ process that can be used to process / send the first data can refer to associating the HARQ entity corresponding to the transmission resource of the first data with the HARQ process, or associating the transmission resource of the first data with the HARQ process. Further, the sending device generates 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 to the layer 1 target identification, wherein the layer 1 target identification is the upper 16 bits of the layer 2 target identification of the first data, etc.; and delivers the first data and the first control information associated with the first data to the second HARQ for processing, and sends the first control information to the receiving device via the sidelink. It should be noted that the HARQ process described in the present application can be replaced by describing as a sidelink HARQ process or a sidelink process or a sidelink HARQ process.
[0099] Exemplarily, taking the HARQ process that can be used to process / send the first data as the second HARQ process, and the first control information being associated with the second HARQ process as an example, the sending device may refer to any of the following methods (1) to (3) to determine the second HARQ process that can be used to process / send the first data from one or more HARQ processes of the sending device. It should be noted that in the present application, the execution subject of determining the second HARQ process that can be used to process / send the first data from one or more HARQ processes of the sending device may include the sending device or the MAC entity of the sending device or the HARQ entity of the sending device, without limitation. The following description is made by taking the execution subject as the sending device as an example:
[0100] Method (1) View the buffer:
[0101] The sending device may check the buffer corresponding to each HARQ process to 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.
[0102] In the case where the transmitting device determines to perform a new transmission on the first data scheduled by the first control information according to the transmission resource of the first data, the transmitting device selects a HARQ process from the HARQ processes that meet 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, the indication information is received to stop, or the timer times out. Alternatively, the first condition may include one or more of the following: the buffer associated with the HARQ process contains or stores the first data associated with the first control information, and the timer associated with the HARQ process stops running.
[0103] In the case where the transmitting device determines to retransmit the first data associated with the first control information according to the transmission resource of the first data, the transmitting device selects a HARQ process from the HARQ process that satisfies 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 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; or, the second condition may include one or more of the following: the buffer associated with the HARQ process contains or stores 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. Further optionally, the transmitting device triggers the selected HARQ process to perform a new transmission, that is, to change the retransmission into a new transmission, and newly transmit the first data; or, the transmitting device determines to retransmit the first data associated with the first control information, and the transmitting device selects a HARQ process from the HARQ process that satisfies 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 contain or does not store the first data associated with the first control information, and the timer associated with the HARQ process is running.
[0104] Method (2) View the control information associated with the HARQ process.
[0105] The sending device may check whether the control information associated with each HARQ process and / or the timer associated with each HARQ process is running.
[0106] In one example, the transmitting device determines to perform a new transmission on the first data associated / scheduled by the first control information, and the transmitting device selects a HARQ process from the HARQ processes that meet 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 has never been associated with the sidelink 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 sidelink 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 sidelink transmission information, and the timer associated with the HARQ process 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.
[0107] In another example, the transmitting device determines to retransmit the first data associated / scheduled by the first control information, and the transmitting device selects a HARQ process from the HARQ processes that meet 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 the 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: the HARQ process is associated with the first control information, and the timer associated with 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.
[0108] It should be noted that the side link transmission information described in the present application may be the first information, or other side link transmission information different from the first information, including {HARQ process identifier, source identifier, target identifier and transmission mode}, without limitation.
[0109] In the present application, 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. Conversely, if the timer associated with the HARQ process is not running, it means that the HARQ process is not occupied. In the present application, the timer of each HARQ process can be pre-configured, and the timers associated with different HARQ processes can be the same or different.
[0110] In the present application, the timer associated with the HARQ process stops running, which may include: receiving indication information for stopping the timer associated with the HARQ process, or the timer associated with the HARQ process stops running due to timeout.
[0111] In the present application, 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 response message corresponding to the first data scheduled by the first control information: ACK / NACK.
[0112] Method (3) checks the MAC entity corresponding to the HARQ process.
[0113] The sending device can check the MAC entity corresponding to each HARQ process of the sending device, 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, and select any one MAC entity from the MAC entities that meet the QoS requirements of the first data and other transmission conditions of the first data, and select any HARQ process in the HARQ process corresponding to the MAC entity as the HARQ process for processing the first data.
[0114] In another possible design, before step 401, the sending device has associated the second HARQ process with the first control information, has used the second HARQ process to send the first data scheduled by the first control information, and later released the second HARQ process to send other first data, such as the first data. When the sending device has used the second HARQ process to send the first data scheduled by the first control information, 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 association relationship. When the sending device schedules the first data again through the first control information, the sending device can associate the first control information with the second HARQ process again according to the saved association relationship, determine to use the second HARQ process to transmit the first data, and reduce the power consumption of the sending device selecting the second HARQ process.
[0115] It should be noted that, before step 401, when the sending device has associated the second HARQ process with the first control information and has used the second HARQ process to send data scheduled by the first control information, the present application does not limit whether the sending device has successfully transmitted the data scheduled by the first control information to the sending device through the second HARQ process. In addition, whether the data scheduled by the sending device using the first control information is the same as or different from the data scheduled by the first control information in step 401 is not limited.
[0116] Step 402: Optionally, the receiving device determines that the first HARQ process is associated with the first control information.
[0117] The first HARQ process may be a HARQ process of the receiving device. The first HARQ process may be a HARQ process that was last associated with the control information carrying the first information. Before step 402, the receiving device had used the first HARQ process to receive the control information carrying the first information from the sending device. The control information that last carried the first information may be named the first control information or other names, and the control information that last scheduled the first data may be the control information carrying the first information sent by the receiving device and received by the receiving device through the first HARQ process for the last time before step 402 and / or step 401.
[0118] In one possible design, the receiving device can determine the QoS requirements of the data scheduled by the first control information based on the information carried by the first control information. The receiving device checks the MAC entity corresponding to each HARQ process of the receiving device to determine whether the configuration of the MAC entity corresponding to the HARQ process meets the QoS requirements of the data and other data transmission conditions, and selects any one MAC entity from the MAC entities that meet the QoS requirements of the data and other data transmission conditions, and uses any HARQ process in the HARQ process corresponding to the MAC entity, such as the first HARQ process, as the HARQ process for processing data.
[0119] In one possible design, before step 402 and / or step 401, the receiving device has used the first HARQ process to receive control information carrying the first information from the sending device. When the receiving device has used the first HARQ process to receive control information 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. When the receiving device receives the first control information carrying the first information again, the receiving device can determine, based on the saved association, that the HARQ process associated with the control information carrying the first information last time is the first HARQ process.
[0120] 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 buffer associated with the first HARQ process contains the second data scheduled by the second control information, 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 third data scheduled by the third control information, step 405 is executed and the process ends.
[0121] In another possible design, before step 403, the receiving device has used the first HARQ process to receive data, and later released the first HARQ process to receive other data, (specific description of the case) such as: the following data, etc. When the sending device has 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. When the sending device schedules data again through the first control information, 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 power consumption of the sending device selecting the first HARQ process. It should be noted that the present application does not limit whether the sending device successfully transmits data to the sending device through the first HARQ process before step 403.
[0122] Step 404: 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 receiving device does not clear the buffer of the first HARQ process.
[0123] The second control information may be a second SCI, the second control information is scheduling information for indicating second data, and the second control information may be used to schedule the second data transmitted by the sending device to the receiving device through the third HARQ process, such as: it may be used to schedule the second data newly transmitted by the sending device to the receiving device or it may be used to schedule the second data retransmitted by the sending device to the receiving device, the second data is different from the second data, the second data may be processed by the third HARQ process of the sending device and then sent to the receiving device, and 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.
[0124] Similar to the above-mentioned first control information, 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, the target identifier corresponding to the second data, and the transmission mode corresponding to the second data. The first control information may also include NDI, sidelink time-frequency resource information for transmitting the second data, and other information, etc. For example, taking the second control information as SCI2, SCI2={HARQ process 2, SRC ID 1, DST ID1, unicast mode, NDI=1}, "1" indicates new transmission, "0" indicates retransmission, the sending device identified by SRC ID 1 is terminal 1, and the receiving device identified by DST ID1 is terminal 2, for example, it means that SCI2 schedules terminal 1 to transmit the second data newly to terminal 2 through HARQ process 2 in unicast mode.
[0125] Exemplarily, the association between the second HARQ process and 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 completes the configuration of the processing resources of the first HARQ process, and uses the processing resources to process the second data; after the receiving device processes the second data, it feeds back a response message corresponding to the second data to the sending device, and the response message includes an affirmative response ACK or a negative response NACK; the receiving device saves the association relationship between the first HARQ process and the second information or the second control information.
[0126] Step 405: The receiving device determines that the first HARQ process is associated with the third control information and / or that the buffer associated with the first HARQ process contains the third data scheduled by the third control information, and the receiving device clears the buffer of the first HARQ process.
[0127] The third control information may be a third SCI, the third control information is scheduling information for indicating third data, and the third control information may be used to schedule the third data transmitted by the sending device to the receiving device through the second HARQ process, such as: it may be used to schedule the third data newly transmitted by the sending device to the receiving device or it may be used to schedule the third data retransmitted by the sending device to the receiving device, the third data may be the same as or different from the first data, and the third data may be sent to the receiving device after being processed by the second HARQ process of the sending device. The third control information may be sent to the receiving device before step 401.
[0128] Similar to the above-mentioned first control information, the third control information may include the first information, and the first information may at least include: the process number of the second HARQ process / the identifier of the second HARQ process, the source identifier corresponding to the third data, the target identifier corresponding to the third data, and the transmission mode corresponding to the third data. The first control information may also include NDI, sidelink time-frequency resource information for transmitting the third data, and other information, etc. For example, taking the third control information as SCI2, SCI2={HARQ process 2, SRC ID 1, DST ID1, unicast mode, NDI=1}, "1" indicates new transmission, "0" indicates retransmission, the sending device identified by SRC ID 1 is terminal 1, and the receiving device identified by DST ID1 is terminal 2, for example, it means that SCI2 schedules terminal 1 to transmit the third data newly to terminal 2 through HARQ process 2 in unicast mode.
[0129] Exemplarily, the association between the first HARQ process and 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 completes the configuration of 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 a response message corresponding to the second data to the sending device, and the response message includes an affirmative response ACK or a negative response NACK; the receiving device successfully processes the data scheduled by the third control information using the first HARQ process; the receiving device saves 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 any of these four situations. If it is in any of these four situations, it is determined that the first HARQ process is associated with the first control information.
[0130] Exemplarily, the receiving device clearing the buffer of the first HARQ process may include: the receiving device overwriting the data in the buffer associated with the first HARQ process with data; or the receiving device deleting all data in the buffer associated with the first HARQ process, etc.
[0131] Combine the following Figure 3 In the system shown in FIG. 1 , a transmitting device is configured with 16 HARQ processes: HARQ process T_1 to HARQ process T_16, a receiving device is configured with 16 HARQ processes: HARQ process R_1 to HARQ process R_16, a data transmission granularity is TB transmission, a transmitting device is terminal 1, a receiving device is terminal 2, control information is SCI, and terminal 1 and terminal 2 use unicast to transmit TB to each other through sidelink as an example. Figure 4 The process of clearing the buffer of the receiving device in the method shown is described in detail:
[0132] Figure 5 A flow chart of a method for clearing a cache provided in an embodiment of the present application is as follows: Figure 5 As shown, this may include:
[0133] During the T1 period, steps 501 to 506 are executed:
[0134] 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 T_16 of terminal 1 as the HARQ process for sending TB1 , and sends SCI1 to terminal 2 .
[0135] Among them, SCI1 is used to schedule TB1, SCI1 may at least include {HARQ process T_1 identifier, source identifier 1, target identifier 1, transmission mode is unicast}, and terminal 1 determines to perform new transmission on TB1.
[0136] It should be noted that the "idle" described in the embodiments of the present application may refer to being unoccupied. The source identifier described in the embodiments of the present application may be a layer 2 source identifier, and the target identifier may be a layer 2 target identifier, without limitation.
[0137] At this time, the HARQ process T_1 is occupied by SCI1 or TB1, and the terminal 1 can record / save the association relationship between the HARQ process T_1 and SCI1.
[0138] Further optionally, terminal 1 caches TB1 to buffer T_1 associated with HARQ process T_1 of terminal 1.
[0139] Step 502: Terminal 2 receives SCI1, and associates SCI1 with an idle HARQ process among HARQ processes R_1 to HARQ processes R_16 of terminal 2: HARQ process R_1.
[0140] At this time, the HARQ process R_1 is occupied by SCI1 or TB1, and the terminal 2 can record / save the association relationship between the HARQ process R_1 and SCI1.
[0141] Step 503: Terminal 1 processes TB1 through the HARQ process T_1 of terminal 1, and then sends the processed TB1 to terminal 2 via the sidelink.
[0142] Step 504: Terminal 2 receives and caches TB1 into buffer R_1 associated with HARQ process R_1, and uses HARQ process R_1 to read and process TB1 in buffer R_1.
[0143] Step 505: Terminal 2 sends a response message to Terminal 1 according to the processing result of TB1 (eg, decoding success or transmission success), and the response message is ACK; or does not send a response message.
[0144] Further optionally, the terminal 2 releases the HARQ process R_1 so that the HARQ process R_1 can be occupied / associated with other SCIs for processing / receiving other TBs.
[0145] Step 506: Terminal 1 receives the response message and learns that TB1 is successfully transmitted, and then releases the HARQ process T_1 so that the HARQ process T_1 can be occupied / associated with other SCIs for transmitting other TBs.
[0146] Next, steps 507 to 508 are executed within the T2 time period:
[0147] Step 507 : Terminal 1 determines to send TB2 to Terminal 2 , selects an idle HARQ process T_2 from HARQ processes T_1 to T_16 of Terminal 1 as the HARQ process for sending TB2 , and sends SCI2 to Terminal 2 .
[0148] Among them, SCI2 is used to schedule TB2, SCI2 at least includes {HARQ process T_2 identifier, source identifier 1, target identifier 2, transmission mode is unicast}, and terminal 1 determines to perform new transmission on TB2.
[0149] At this time, the HARQ process T_2 is occupied by SCI2 or TB2, and the terminal 1 can record / save the association relationship between the HARQ process T_1 and SCI2.
[0150] Further optionally, terminal 1 caches TB2 to buffer T_2 associated with HARQ process T_2 of terminal 1.
[0151] Step 508: Terminal 2 receives SCI2, and associates SCI2 with an idle HARQ process among HARQ processes R_1 to HARQ processes R_16 of terminal 2: HARQ process R_1.
[0152] At this time, the HARQ process R_1 is occupied by SCI2 or TB2, and the terminal 2 can record / save the association relationship between the HARQ process R_1 and SCI2.
[0153] It should be noted that the idle HARQ process described in the embodiment of the present application may include a released HARQ process or an unoccupied HARQ process.
[0154] Next, in the T3 time period, terminal 1 processes TB2 through the HARQ process T_2 of terminal 1, and then sends the processed TB2 to terminal 2 through the sidelink; terminal 2 receives and caches TB2 to buffer R_1 associated with HARQ process R_1, and prepares to use HARQ process R_1 to process TB2 in buffer R_1, such as: terminal 2 prepares the 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, and optionally, after processing TB2, feedbacks a response message to terminal 1: ACK / NACK, etc. Further, if terminal 2 completes processing TB2 and determines that the transmission is successful, terminal 2 releases HARQ process R_1, and the HARQ process R_1 can be occupied by other SCIs to process other TBs.
[0155] Meanwhile, in the T3 time period, that is, before the terminal 2 determines that the transmission of TB2 is successful or completed, that is, the terminal 2 determines that the transmission of TB2 fails or is not completed, the following steps 509 to 513 may also be executed:
[0156] Step 509 : Terminal 1 determines to send TB3 to Terminal 2 , selects an idle HARQ process T_1 from HARQ processes T_1 to T_16 of Terminal 1 as the HARQ process for sending TB1 , and sends SCI1 to Terminal 2 .
[0157] Among them, SCI3 is used to schedule TB3, SCI3 at least includes first information, the first information is {HARQ process T_1 identifier, source identifier 1, target identifier 1, transmission mode is unicast}, and terminal 1 determines to perform new transmission on TB3.
[0158] At this time, the HARQ process T_1 released in step 506 is again occupied by the first information {HARQ process T_1 identifier, source identifier 1, target identifier 1, transmission mode is unicast} or associated with SCI3 or occupied by TB3. SCI3 and SCI1 may be the same or different. TB3 and TB1 may be the same or different.
[0159] Further optionally, terminal 1 caches TB3 to buffer T_1 associated with HARQ process T_1 of terminal 1 .
[0160] Step 510: Terminal 2 receives SCI3, checks the association between the HARQ process R_1 and SCI associated with the first information last time (ie, time period T1), if the HARQ process R_1 is associated with SCI2, execute step 511; if the HARQ process R_1 is associated with SCI1, execute step 512.
[0161] Step 511: Terminal 2 determines that the HARQ process R_1 is currently occupied by SCI2 or TB2, and terminal 2 does not clear buffer R_1 associated with the HARQ process R_1, that is, does not delete or overwrite TB2 in buffer R_1.
[0162] Exemplarily, if terminal 2 is in any of the following states: preparing processing resources corresponding to HARQ process R_1, using processing resources corresponding to HARQ process R_1 to read and process TB2 in buffer R_1, and feeding back a response message: ACK / NACK to terminal 1 after processing TB2, or finding that TB2 is stored in buffer R_1 associated with HARQ process R_1, the buffer associated with HARQ process R_1 is not empty, the association relationship between HARQ process R1 and SCI2 or TB2 or the first information is stored, and the timer associated with HARQ process R1 is running, then it is determined that HARQ process R_1 is currently occupied by SCI2 or TB2.
[0163] Further optionally, terminal 2 may 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, process TB1 through other HARQ process R_1, or terminal 2 may send feedback information to terminal 1 to inform terminal 1 that the scheduling has failed.
[0164] Step 512: Terminal 2 determines that the HARQ process R_1 is not occupied, that is, the HARQ process R_1 is only associated with SCI1, and then clears buffer R_1 associated with the HARQ process R_1.
[0165] above Figure 5-Figure 7 The process of clearing the buffer of the receiving device is described. Further, the present application also provides a method for clearing the buffer of the sending device. Specifically, the method can refer to Figure 6 shown.
[0166] Figure 6 A method for clearing a cache is provided in an embodiment of the present application, such as Figure 6 As shown, the method includes:
[0167] Step 601: The sending device sends fourth control information to the receiving device.
[0168] The fourth control information may be a fourth SCI, and the fourth control information may be carried in a PSCCH and sent to the receiving device, that is, 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 a fourth HARQ process.
[0169] The fourth control information may at least include the fourth information, and the fourth information may include at least one of the following information: the process number of the fourth HARQ process / the identifier of the fourth HARQ process, the source identifier corresponding to the fourth data, the target identifier corresponding to the fourth data, and the transmission mode of the fourth data. In addition to the fourth information, the fourth control information may also include NDI, sidelink time-frequency resource information corresponding to the transmission of the fourth data, and other information.
[0170] The fourth HARQ process may be a HARQ process of the transmitting device. The fourth HARQ process may be a HARQ process associated with the control information of the last scheduling of the fourth data. Before step 601, the transmitting device has used the fourth HARQ process to send / process the fourth data from the transmitting device. It is possible that the fourth data was successfully transmitted last time, and the fourth HARQ process was released for association with other control information.
[0171] Specifically, the process of the transmitting device determining the fourth HARQ process may refer to the above step 501 and will not be described in detail.
[0172] Further, the sending device determines that the fourth HARQ process is associated with the fourth control information.
[0173] 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 the buffer associated with the fourth HARQ process contains the fifth data scheduled by the fifth control information, execute step 603; 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 contains the sixth data scheduled by the sixth control information, and the sixth data is the same as the fourth data, execute step 604.
[0174] Step 603: the sending device determines that the fourth HARQ process is associated with the fifth control information and / or that the buffer associated with the fourth HARQ process contains the fifth data scheduled by the fifth control information, and clears the buffer of the fourth HARQ process.
[0175] The fifth control information may be a fifth SCI, and the fifth control information may be used to schedule the fifth data transmitted by the sending device to the receiving device through the fourth HARQ process, such as: the fifth data newly transmitted by the sending device to the receiving device may be used to schedule the fifth data retransmitted by the sending device to the receiving device, and the fifth data is different from the fourth data, and the fifth data may 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.
[0176] Similar to the above-mentioned fourth control information, 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 transmission method of the fifth data. The fifth control information may also include NDI, sidelink time and frequency resource information for transmitting the fifth data, and other information.
[0177] In the present application, the association between the fourth HARQ process and the fifth control information can be replaced by describing 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 occupied by the fifth data, etc. Exemplarily, the association between the fourth HARQ process and 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 completes the configuration of the processing resources of the fourth HARQ process, and uses the processing resources to send the fifth data; the sending device receives the response message corresponding to the fifth data, and the response message includes an affirmative response ACK or a negative response NACK. The sending device can check whether it is in these situations. If it is in any of these situations, it is determined that the fourth HARQ process is associated with the fifth control information.
[0178] 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 buffer of the fourth HARQ process is not cleared.
[0179] The sixth control information may be a sixth SCI, and the sixth control information may be used to schedule the sixth data transmitted by the sending device to the receiving device through the fourth HARQ process, such as: the sixth data newly transmitted by the sending device to the receiving device may be used to schedule the sixth data retransmitted by the sending device to the receiving device, and the sixth data is different from the fourth data, and the sixth data may 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.
[0180] Similar to the above-mentioned fourth control information, 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 transmission method of the sixth data. The sixth control information may also include NDI, sidelink time and frequency resource information for transmitting the sixth data, and other information.
[0181] In the present application, the association between the fourth HARQ process and the sixth control information can be replaced by describing 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 occupied by the fourth data, etc. Exemplarily, the association between the fourth HARQ process and 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 completes the configuration of the processing resources of the fourth HARQ process, and uses the processing resources to send the sixth data; the sending device receives the response message corresponding to the sixth data, and the response message includes an affirmative response ACK or a negative response NACK. The sending device can check whether it is in any of these four situations. If it is in any of these four situations, it is determined that the fourth HARQ process is associated with the sixth control information.
[0182] Exemplarily, the sending device clearing the buffer of the fourth HARQ process may include: the sending device overwriting the data in the buffer associated with the fourth HARQ process with the fourth data; or the sending device deleting all data in the buffer associated with the fourth HARQ process, etc.
[0183] based on Figure 6 According to the method shown, if the HARQ process currently sending data on the sending device side is occupied by other control information / other data, the sending device clears the buffer associated with the HARQ process for sending data; if the HARQ process currently sending data is not occupied by other control information / other data and is still associated with the control information for scheduling the current data, the buffer associated with the HARQ process for sending data is not cleared.
[0184] Combine the following Figure 2 In the system shown in FIG. 1 , a transmitting device is configured with 16 HARQ processes: HARQ process T_1 to HARQ process T_16, a receiving device is configured with 16 HARQ processes: HARQ process R_1 to HARQ process R_16, a data transmission granularity is TB transmission, a transmitting device is terminal 1, a receiving device is terminal 2, control information is SCI, and terminal 1 and terminal 2 use unicast to transmit TB to each other through sidelink as an example. Figure 6 The process of clearing the buffer of the sending device in the method shown is described in detail:
[0185] Figure 7 A flow chart of a method for clearing a cache provided in an embodiment of the present application is as follows: Figure 7 As shown, it may include:
[0186] During the T1 period, steps 701 to 706 are executed:
[0187] Step 701 : Terminal 1 determines to send TB1 to Terminal 2 for the first time, selects an idle HARQ process T_1 from HARQ processes T_1 to T_16 of Terminal 1 as the HARQ process for sending TB1 , and sends SCI1 to Terminal 2 .
[0188] Among them, SCI1 is used to schedule TB1, SCI1={HARQ process T_1, source identifier 1, target identifier, unicast}, new transmission.
[0189] At this time, the HARQ process T_1 is occupied by SCI1 or TB1, and the terminal 1 can record / save the association relationship between the HARQ process T_1 and SCI1.
[0190] Further optionally, terminal 1 caches TB1 to buffer T_1 associated with HARQ process T_1 of terminal 1.
[0191] Step 702: Terminal 2 receives SCI1, and associates SCI1 with an idle HARQ process among HARQ processes R_1 to HARQ processes R_16 of terminal 2: HARQ process R_1.
[0192] At this time, the HARQ process R_1 is occupied by SCI1 or TB1, and the terminal 2 can record / save the association relationship between the HARQ process R_1 and SCI1.
[0193] Step 703: Terminal 1 processes TB1 through the HARQ process T_1 of terminal 1, and then sends the processed TB1 to terminal 2 via the sidelink.
[0194] Step 704 : Terminal 2 receives and buffers TB1 into buffer R_1 associated with HARQ process R_1 , and processes TB1 in buffer R_1 through HARQ process R_1 of terminal 2 .
[0195] Step 705: Terminal 2 sends a response message to Terminal 1 according to the processing result of TB1, and the response message is ACK.
[0196] Further optionally, 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.
[0197] Step 706: Terminal 1 receives the response message and learns that TB1 is successfully transmitted, and then releases the HARQ process T_1 so that the HARQ process T_1 can be occupied by other SCIs for transmitting other TBs.
[0198] Next, steps 707 to 708 are executed within the T2 time period:
[0199] Step 707 : Terminal 1 determines to send TB2 to Terminal 2 for the first time, selects an idle HARQ process T_1 from HARQ processes T_1 to T_16 of Terminal 1 as the HARQ process for sending TB2 , and sends SCI2 to Terminal 2 .
[0200] Among them, SCI2 is used to schedule TB2, SCI2={HARQ process T_1, source identifier 2, target identifier 2, unicast}, new transmission.
[0201] At this time, the HARQ process T_1 is occupied by SCI2 or TB2, and the terminal 1 can record / save the association relationship between the HARQ process T_1 and SCI2.
[0202] It should be noted that the idle HARQ process described in the embodiment of the present application may include a released HARQ process.
[0203] Further optionally, terminal 1 caches TB2 to buffer T_1 associated with HARQ process T_1 of terminal 1. Next, within time period T3, terminal 1 prepares to use HARQ process T_1 to process TB2 in buffer T_1, such as: terminal 1 prepares processing resources corresponding to HARQ process T_1, uses processing resources corresponding to HARQ process T_1 to read and process TB2 in buffer T_1, and receives response message fed back by terminal 2 after sending TB2: ACK / NACK, etc. Further, if terminal 1 completes processing of TB2 and receives ACK fed back by terminal 2, terminal 1 releases HARQ process T_1, and the HARQ process T_1 can be occupied by other SCIs to process other TBs.
[0204] At the same time, the following steps 708 to 711 may also be executed in the T3 time period:
[0205] Step 708: Terminal 1 determines to send TB1 to terminal 2 again, and checks the association between the HARQ process T_1 associated with SCI1 of the last scheduled TB1 and SCI. If the HARQ process T_1 is associated with SCI2, execute step 709; if the HARQ process T_1 is associated with SCI1, execute step 710.
[0206] Step 709: Terminal 1 determines that the HARQ process T_1 is currently occupied by SCI2 or TB2, and terminal 1 does not clear buffer T_1 associated with the HARQ process T_1, that is, does not delete or overwrite TB2 in buffer T_1.
[0207] Exemplarily, if terminal 1 is in any of the following states: preparing processing resources corresponding to HARQ process T_1, using processing resources corresponding to HARQ process T_1 to read and process TB2 in buffer T_1, and after processing TB2, feeding back a response message: ACK / NACK to terminal 1, or finding that TB2 is stored in buffer T_1 associated with HARQ process T_1, it is determined that HARQ process T_1 is currently occupied by SCI2 or TB2.
[0208] Further optionally, terminal 1 may select other idle HARQ processes among HARQ processes T_1 to HARQ process T_16 to associate with SCI1, switch HARQ process T_1 associated with SCI1 to other HARQ processes, process TB1 through other HARQ process T_1, or the current scheduling fails.
[0209] Step 710: Terminal 1 determines that the HARQ process T_1 is associated with SCI1, and then clears buffer T_1 associated with the HARQ process T_1.
[0210] The above is only a preferred embodiment of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention. In this application, 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 the corresponding data is transmitted for the first time is not limited.
[0211] Exemplarily, in the following description, when the first information corresponds to a new transmission in different steps, the new transmission is represented by the first data and the second data respectively, that is, the first data associated with the first information and the second data associated with the first information are different TBs.
[0212] Case 1: Step 1: The receiving device receives the first information and / or the first data associated with the first information.
[0213] Taking the first information at least including {HARQ ID 1, SRC ID 1, DST ID1, cast type1} as an example, the receiving device determines that the first data is newly transmitted, or determines that it is the first time to receive the first data and / or the first information associated with the first data.
[0214] 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 the transmission of the first data as a new transmission. The first information includes the sidelink transmission information associated with the first data. The receiving device stores the first data in a buffer associated with the fourth HARQ process.
[0215] The receiving device determines that the reception is successful or the decoding is successful, and releases the fourth HARQ process. Releasing the HARQ process can be interpreted as determining that the fourth HARQ process is not occupied. Optionally, the receiving device determines that the buffer of the fourth HARQ process associated with the first information is not empty, and the receiving device clears the buffer associated with the fourth HARQ process.
[0216] Step 2: The receiving device receives the first information and / or the second data associated with the first information.
[0217] Taking the first information at least including {HARQ ID 1, SRC ID 1, DST ID1, cast type1} as an example, the receiving device determines that the second data is newly transmitted. The first information includes the sidelink transmission information associated with the first data, that is, the second data and the first data correspond to the same first information.
[0218] Case 2: Step 1: The receiving device receives the first information and / or the first data associated with the first information.
[0219] Taking the first information at least including {HARQ ID 1, SRC ID 1, DST ID1, cast type1} as an example, the receiving device determines that the first data is newly transmitted, or determines that it is the first time to receive the first data and / or the first information associated with the first data.
[0220] 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 the transmission of the first data as a new transmission. The first information includes the sidelink transmission information associated with the first data. The receiving device stores the first data in a buffer associated with the fourth HARQ process.
[0221] 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.
[0222] Step 2: The receiving device receives the first information and / or the second data associated with the first information.
[0223] Taking the first information at least including {HARQ ID 1, SRC ID 1, DST ID1, cast type1} as an example, the receiving device determines that the second data is newly transmitted. The first information includes the sidelink transmission information associated with the first data, that is, the second data and the first data correspond to the same first information.
[0224] 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. Optionally, the receiving device stops the timer associated with the fourth HARQ process, or the receiving device restarts or reconfigures the timer associated with the fourth HARQ process.
[0225] In the above steps, 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 as or different from the sending device that sends the first information and the second data in step 2.
[0226] Case 3: Step 1: The receiving device receives the first information and / or the first data associated with the first information.
[0227] Taking the first information at least including {HARQ ID 1, SRC ID 1, DST ID1, cast type1} as an example, the receiving device determines that the first data is newly transmitted, or determines that it is the first time to receive the first data and / or the first information associated with the first data.
[0228] 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 the transmission of the first data as a new transmission. The first information includes the sidelink transmission information associated with the first data. The receiving device stores the first data in a buffer associated with the fourth HARQ process.
[0229] The receiving device determines that the reception is successful or the decoding is successful, and releases the fourth HARQ process. Releasing the HARQ process can 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.
[0230] Step 2: The receiving device receives the second information and / or third data associated with the second information.
[0231] Taking the second information at least including {HARQ ID 2, SRC ID 2, DST ID2, cast type 2} as an example, the receiving device determines that the second data is newly transmitted, or determines that it is the first time to receive the second data and / or the second information associated with the second data. The second information includes the sidelink transmission information associated with the second data, that is, the second data corresponds to different or the same sidelink transmission information as the first data.
[0232] 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, the second data is stored in the buffer associated with the fourth HARQ process, and the fourth HARQ process is not released.
[0233] Step 3: The receiving device receives the first information and / or the second data associated with the first information.
[0234] Taking the first information at least including {HARQ ID 1, SRC ID 1, DST ID1, cast type1} as an example, the receiving device determines that the second data is newly transmitted (for example, according to the NDI method described in step 5.2);
[0235] Optionally, the receiving device determines that the first information is associated with a fourth HARQ process.
[0236] The receiving device determines that a previous transmission of the second data (which can be translated into previous transmission in English, without limitation) does not exist in or is not stored in a buffer associated with the HARQ process of the receiving device. For example, the previous transmission of the second data, i.e., the first data, is not cached in the buffer of the fourth HARQ process and / or does not exist in other HARQ processes of the receiving device. The receiving device does not clear the fourth HARQ process associated with the first information.
[0237] Case 4: Step 1: The receiving device receives the first information and / or the first data associated with the first information.
[0238] Taking the first information at least including {HARQ ID 1, SRC ID 1, DST ID1, cast type1} as an example, 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 information associated with the first data for the first time.
[0239] 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 the transmission of the first data as a new transmission. The first information includes the sidelink transmission information associated with the first data. The receiving device stores the first data in a buffer associated with the fourth HARQ process.
[0240] 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.
[0241] Step 2: The receiving device receives the second information and / or third data associated with the second information.
[0242] Taking the second information at least including {HARQ ID 2, SRC ID 2, DST ID2, cast type 2} as an example, the receiving device determines that the second data is newly transmitted, or determines that it is the first time to receive the second data and / or the second information associated with the second data. The second information includes the sidelink transmission information associated with the second data, that is, the second data corresponds to different or the same sidelink transmission information as the first data.
[0243] Optionally, the receiving device determines that there are no unoccupied processes, and there are no unoccupied HARQ processes including one or more of the following: a timer associated with the HARQ process is running; and / or a 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 a first identifier, which may be a HARQ process identifier contained in the first information, or a HARQ process identifier corresponding to a side link resource, or a HARQ process identifier indicated / configured by a network device.
[0244] The receiving device seizes 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, and stores the third data in a buffer associated with the fourth HARQ process.
[0245] It is determined that the reception is not successful or the decoding is not successful, that is, the second information and / or the third data is still associated with the fourth HARQ process, the third data is stored in the buffer associated with the fourth HARQ process, and the fourth HARQ process is not released.
[0246] Step 3: The receiving device receives the first information and / or the second data associated with the first information.
[0247] Taking the first information at least including {HARQ ID 1, SRC ID 1, DST ID1, cast type1} as an example, the receiving device determines that the second data is newly transmitted;
[0248] Optionally, the receiving device determines that the first information is associated with a fourth HARQ process.
[0249] The receiving device determines that a previous transmission of the second data (which can be translated into previous transmission in English, without limitation) does not exist in or is stored in a buffer associated with the HARQ process of the receiving device. For example, the previous transmission of the second data, i.e., the first data, is not cached in the buffer of the fourth HARQ process and / or does not exist in other HARQ processes of the receiving device. The receiving device does not clear the fourth HARQ process associated with the first information.
[0250] In the above steps, 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 as or different from the sending device that sends the first information and the second data in step 2.
[0251] Case 5: Step 1: The receiving device receives the first information and / or the first data associated with the first information.
[0252] Taking the first information at least including {HARQ ID 1, SRC ID 1, DST ID1, cast type1} as an example, 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 information associated with the first data for the first time.
[0253] 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 the transmission of the first data as a new transmission. The first information includes the sidelink transmission information associated with the first data. The receiving device stores the first data in a buffer associated with the fourth HARQ process.
[0254] The receiving device determines that the reception is successful or the decoding is successful, and releases the fourth HARQ process. Releasing the HARQ process can 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.
[0255] Step 2: The receiving device receives the second information and / or third data associated with the second information.
[0256] Taking the second information at least including {HARQ ID 2, SRC ID 2, DST ID2, cast type 2} as an example, the receiving device determines that the second data is newly transmitted, or determines that it is the first time to receive the second data and / or the second information associated with the second data. The second information includes the sidelink transmission information associated with the second data, that is, the second data corresponds to different or the same sidelink transmission information as the first data.
[0257] Optionally, the receiving device determines that there are no unoccupied processes, and no unoccupied HARQ processes include one or more of the following: a timer associated with the HARQ process is running; and / or, a buffer associated with the HARQ process is not empty; and / or, the HARQ process is associated with sidelink transmission information; and / or, the HARQ process is associated with a first identifier, which may be a HARQ process identifier contained in the first information, or a HARQ process identifier corresponding to a sidelink resource, or a HARQ process identifier indicated / configured by a network device. The receiving device allocates a fifth HARQ process for receiving third data, and optionally associates the second information and / or the third data with the fifth HARQ process, and stores the third data in a buffer associated with the fifth HARQ process.
[0258] Alternatively, the receiving device allocates an unoccupied fifth HARQ process for receiving third data associated with the second information.
[0259] Step 3: The receiving device receives the first information and / or the second data associated with the first information.
[0260] Taking the first information at least including {HARQ ID 1, SRC ID 1, DST ID1, cast type1} as an example, the receiving device determines that the second data is newly transmitted;
[0261] Optionally, the receiving device determines that the first information is associated with a fourth HARQ process.
[0262] The receiving device determines that the previous transmission of the second data (which can be translated into previous transmission in English, without limitation) exists in or is stored in a buffer associated with the HARQ process of the receiving device, for example, the previous transmission of the second data, i.e., the first data, is not cached in the buffer of the fourth HARQ process; or, 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. Optionally, the receiving device stops the timer associated with the fourth HARQ process, or the receiving device restarts or reconfigures the timer associated with the fourth HARQ process.
[0263] In the above steps, 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 as or different from the sending device that sends the first information and the second data in step 2.
[0264] The above mainly introduces the scheme provided by the embodiment of the present application from the perspective of interaction between each node. It is understandable that each node, such as a receiving device and a sending device, includes a hardware structure and / or software module corresponding to each function in order to realize the above functions. It should be easily appreciated by those skilled in the art that the method of the embodiment of the present application can be implemented in the form of hardware, software, or a combination of hardware and computer software in conjunction with the algorithm steps of each example described in the embodiment disclosed herein. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0265] The embodiment of the present application can divide the functional modules of the receiving device and the sending device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0266] Figure 8 The structure diagram of a communication device 110 is shown. The communication device 110 may be a receiving device, a chip in a receiving device, a system on a chip, or other devices capable of implementing the functions of the receiving device in the above method. The communication device 110 may be used to perform the functions of the receiving device involved in the above method embodiment. As an implementable manner, Figure 8 The communication device 110 shown includes: a receiving unit 1101 and a processing unit 1102 .
[0267] 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.
[0268] Processing unit 1102 is used to determine that a first hybrid automatic repeat request HARQ process is associated with first control information; processing unit 1102 is also used to determine that the first HARQ process is associated with second control information, and / or that a buffer associated with the first HARQ process contains 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; processing unit 1102 is also used to not clear the buffer of the first HARQ process.
[0269] Specifically, the above Figure 4-Figure 5All relevant contents of each step involved in the method embodiment shown can be referred to the functional description of the corresponding functional module, and will not be repeated here. The communication device 110 is used to execute Figure 4-Figure 5 The method shown in the figure has the function of the receiving device in the method of clearing the cache, so it can achieve the same effect as the above-mentioned method of clearing the cache.
[0270] The processing module may be a processor, a controller, a module or a circuit. It may implement or execute various exemplary logic blocks described in conjunction with the disclosure of the present 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. When the processing module is a processor, the communication module is a communication interface, and the storage module is a memory, the communication device 110 involved in the embodiment of the present application may be Figure 4 The communication device shown.
[0271] In the embodiments of the present application, 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, and may implement or execute 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, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0272] In the embodiment of the present application, 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), such as a random-access memory (RAM). The memory is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in the embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing instructions and / or data.
[0273] Fig. 9 The structure diagram of a communication device 120 is shown. The communication device 120 may be a sending device, a chip in a sending device, a system on a chip, or other devices capable of implementing the functions 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 above method embodiment. As an implementable manner, Fig. 9 The communication device 120 shown includes: a sending unit 1201 and a processing unit 1202 .
[0274] The sending unit 1201 is used 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.
[0275] Processing unit 1202 is used to determine that a fourth hybrid automatic repeat request HARQ process is associated with fourth control information; determine that the fourth HARQ process is associated with fifth control information, and / or that a buffer associated with the fourth HARQ process contains fifth data scheduled by the fifth control information, and the fifth data is different from the fourth data; and clear the buffer of the fourth HARQ process.
[0276] Specifically, the above Figure 6-Figure 7 All relevant contents of each step involved in the method embodiment shown can be referred to the functional description of the corresponding functional module, and will not be repeated here. The communication device 120 is used to execute Figure 6-Figure 7 The method shown in the figure has the function of sending the device in the method of clearing the cache, so it can achieve the same effect as the above-mentioned method of clearing the cache.
[0277] Among them, the processing module can be a processor, a controller, a module or a circuit. It can implement or execute various exemplary logic blocks described in conjunction with the contents disclosed in this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSP and microprocessor, etc. The communication module can be a transceiver circuit, a pin, an interface circuit, a bus interface, or a communication interface. The storage module can 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 can be Figure 4 The communication device shown.
[0278] The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by a computer program to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The computer-readable storage medium can be a terminal device of any of the above 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 a terminal device. The above computer-readable storage medium can also be an external storage device of the above terminal device, such as a plug-in hard disk equipped on the above terminal device, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. Further, the above computer-readable storage medium can also include both an internal storage unit of the above terminal device and an external storage device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above terminal device. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
[0279] The present application also provides a computer instruction. All or part of the process in the above method embodiment can be completed by computer instructions to instruct related hardware (such as computers, processors, network devices, and terminals, etc.). The program can be stored in the above computer-readable storage medium.
[0280] It should be noted that the terms "first" and "second" in the specification, claims and drawings of the present application are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0281] It should be understood that in the present application, "at least one (item)" means one or more, "more than one" means two or more, "at least two (items)" means two or three and more than three, and "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0282] It should be understood that in the embodiments of the present application, "B corresponding to A" means that B is associated with A. For example, B can be determined based on A. It should also be understood that determining B based on A does not mean determining B only based on A, but B can also be determined based on A and / or other information. In addition, the "connection" that appears in the embodiments of the present application refers to various connection methods such as direct connection or indirect connection to achieve communication between devices, and the embodiments of the present application do not impose any limitation on this.
[0283] Unless otherwise specified, the "transmission" (transmit / transmission) appearing in the embodiments of the present application refers to bidirectional transmission, including sending and / or receiving actions. Specifically, the "transmission" in the embodiments of the present application includes the sending of data, the receiving of data, or the sending of data and the receiving of data. In other words, the data transmission here includes uplink and / or downlink data transmission. Data may include channels and / or signals, uplink data transmission is uplink channel and / or uplink signal transmission, and downlink data transmission is downlink channel and / or downlink signal transmission. The "network" and "system" appearing in the embodiments of the present application express the same concept, and the communication system is the communication network.
[0284] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0285] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0286] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0287] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0288] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device, such as a single-chip microcomputer, a chip, etc., or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks or optical disks.
[0289] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for clearing a cache buffer, characterized in that: The method comprises: The receiving device receives first control information, wherein the first control information includes 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 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; or, The receiving device determines that the first HARQ process is associated with third control information, and / or the buffer associated with the first HARQ process includes 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 buffer of the first HARQ process.
2. The method according to claim 1, characterized in that The first information includes one or more of the following: an identifier, a source identifier, a target identifier, and a transmission method of a second HARQ process; the second information includes one or more of the following: an identifier, a source identifier, a target identifier, and a transmission method of a third HARQ process.
3. The method according to claim 1 or 2, characterized in that: The first HARQ process is associated with the second control information, including: The receiving device configures processing resources of the first HARQ process according to the second control information; The receiving device configures processing resources of the first HARQ process and uses the processing resources to process the second data; After the receiving device processes the second data, it feeds back a response message corresponding to the second data to the sending device, where the response message includes a positive response ACK or a negative response NACK; The receiving device stores an association relationship between the first HARQ process and the second information or the second control information.
4. The method according to claim 1 or 2, characterized in that: The first HARQ process is associated with the third control information, including: The receiving device configures the processing resources of the first HARQ process according to the third control information; The receiving device configures processing resources of the first HARQ process, and uses the processing resources to process the third data scheduled by the third control information; The receiving device feeds back a response message corresponding to the third data to the sending device, where the response message includes a positive response ACK or a negative response NACK; The receiving device successfully processes the data scheduled by the third control information using the first HARQ process; The receiving device stores an association relationship between the first HARQ process and the third information or the third control information.
5. The method according to claim 1 or 2, characterized in that: Before the receiving device receives the first control information, the method further includes: the receiving device receives the third control information.
6. A communication device, characterized in that: Used to execute the method for clearing the cache as described in any one of claims 1-5.
7. A communication device, characterized in that: The method comprises a processor and a memory, wherein the memory is coupled to the processor, and the processor is used to execute the method for clearing a cache as described in any one of claims 1 to 5.
8. A communication device, characterized in that: Including processor and communication interface, The processor receives first control information using the communication interface, where the first control information includes first information; Determining that a first hybrid automatic repeat request HARQ process is associated with first control information; determining that the first HARQ process is associated with second control information and / or a cache buffer associated with the first HARQ process contains second data scheduled by the second control information, and not clearing the buffer of the first HARQ process, wherein the second control information includes second information, and the second information is different from the first information; or Determine that the first HARQ process is associated with third control information and / or the buffer associated with the first HARQ process contains third data scheduled by the third control information, clear the buffer of the first HARQ process, the third control information includes third information, and the third information is the same as the first information.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes the method for clearing a cache as described in any one of claims 1 to 5.
10. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed on a computer, the computer is enabled to execute the method for clearing a cache as claimed in any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for managing hybrid automatic repeat request cache
CN102215097A
HARQ process management method, device, terminal and storage medium
CN110708145A
Information transmission method and terminal
CN110831235A
Uplink signal transmission method and user equipment
US20190245657A1
Method for transmitting signal by terminal for v2x communication in wireless communication system, and device using same method
US20200008025A1
