CN114258698B - Cache clearing method, cache processing method and device and terminal equipment - Google Patents
Cache clearing method, cache processing method and device and terminal equipment Download PDFInfo
- Publication number
- CN114258698B CN114258698B CN201980099437.6A CN201980099437A CN114258698B CN 114258698 B CN114258698 B CN 114258698B CN 201980099437 A CN201980099437 A CN 201980099437A CN 114258698 B CN114258698 B CN 114258698B
- Authority
- CN
- China
- Prior art keywords
- parameter
- time
- cache
- terminal device
- indication information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
- H04W28/14—Flow control between communication endpoints using intermediate storage
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application provides a method for clearing a cache, a cache processing method, a cache processing device and terminal equipment, wherein the method comprises the following steps: the method comprises the steps that first terminal equipment receives first indication information, wherein the first indication information is used for determining a first moment for emptying a cache; the cache is used for storing sidestream data received by the first terminal device.
Description
Technical Field
The embodiment of the application relates to the technical field of mobile communication, in particular to a method for clearing a cache, a cache processing method, a cache processing device and terminal equipment.
Background
In a New wireless (NR) -vehicle to other device (Vehicle to Everything, V2X) system, a sidestream feedback mechanism is introduced. For transmission supporting sidestream feedback, the receiving end sends hybrid automatic repeat request (Hybrid Automatic Repeat reQuest, HARQ) feedback information to the transmitting end according to a detection result of the physical sidestream shared channel (PHYSICAL SIDELINK SHARED CHANNEL, PSSCH), where the HARQ feedback information may be positive Acknowledgement (ACK) information or Negative Acknowledgement (NACK) information.
If the receiving end sends NACK information to the sending end, the receiving end does not empty the data in the buffer memory, but waits for the sending end to send the retransmission data of the data, but if the receiving end does not receive the retransmission data sent by the sending end, at this time, if the receiving end does not empty the data in the buffer memory all the time, the resource waste is caused.
Disclosure of Invention
The embodiment of the application provides a method for clearing a cache, a cache processing method, a cache processing device and terminal equipment.
The method for clearing the cache provided by the embodiment of the application comprises the following steps:
the method comprises the steps that first terminal equipment receives first indication information, wherein the first indication information is used for determining a first moment for emptying a cache;
The cache is used for storing sidestream data received by the first terminal device.
The processing method for the cache provided by the embodiment of the application comprises the following steps:
the first terminal device receives first sidestream data, and the first terminal device determines to empty or use a Buffer (Buffer) according to a first criterion, wherein the first sidestream data is first transmission or retransmission of one transmission block (Transmission Block, TB).
The device for clearing the cache provided by the embodiment of the application is applied to the first terminal equipment, and comprises the following components:
The receiving unit is used for receiving first indication information, wherein the first indication information is used for determining a first moment for emptying the cache;
The cache is used for storing sidestream data received by the first terminal device.
The processing device of the buffer memory provided by the embodiment of the application is applied to the first terminal equipment, and comprises the following components:
the receiving unit is used for receiving the first sidestream data;
and the processing unit is used for determining to empty or use the buffer according to a first criterion, wherein the first side line data is the first transmission or retransmission of one transmission block.
The terminal equipment provided by the embodiment of the application comprises a processor and a memory. The memory is used for storing a computer program, and the processor is used for calling and running the computer program stored in the memory and executing the method for clearing the cache.
The chip provided by the embodiment of the application is used for realizing the method for clearing the cache.
Specifically, the chip includes: and the processor is used for calling and running the computer program from the memory, so that the device provided with the chip executes the method for clearing the cache.
The computer readable storage medium provided by the embodiment of the application is used for storing a computer program, and the computer program enables a computer to execute the method for clearing the cache.
The computer program product provided by the embodiment of the application comprises computer program instructions, wherein the computer program instructions enable a computer to execute the method for clearing the cache.
The computer program provided by the embodiment of the application enables the computer to execute the method for clearing the cache when the computer program runs on the computer.
Through the technical scheme, the first terminal equipment (namely the receiving end of the side line data) can determine the first moment of clearing the cache according to the received first indication information, and then can clear the cache at the first moment, so that the waste of resources can be avoided.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application;
FIG. 2-1 is a schematic diagram of mode A provided by an embodiment of the present application;
FIG. 2-2 is a schematic diagram of mode B provided by an embodiment of the present application;
fig. 3-1 is a unicast schematic provided by an embodiment of the present application;
Fig. 3-2 is a schematic multicast diagram according to an embodiment of the present application;
FIGS. 3-3 are broadcast diagrams provided by embodiments of the present application;
fig. 3-4 are schematic diagrams of feedback based on unicast transmission according to embodiments of the present application;
FIG. 4 is a flowchart illustrating a method for flushing a cache according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a device for emptying a buffer according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating a method for processing a cache according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating the structure of a processing device for buffering according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a communication device according to an embodiment of the present application;
FIG. 9 is a schematic block diagram of a chip of an embodiment of the application;
fig. 10 is a schematic block diagram of a communication system provided in an embodiment of the present application.
Detailed Description
The following description of the technical solutions according to the embodiments of the present application will be given with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The technical scheme of the embodiment of the application can be applied to various communication systems, such as: long term evolution (Long Term Evolution, LTE) systems, LTE frequency division duplex (Frequency Division Duplex, FDD) systems, LTE time division duplex (Time Division Duplex, TDD), systems, 5G communication systems, future communication systems, or the like.
An exemplary communication system 100 to which embodiments of the present application may be applied is shown in fig. 1. The communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal 120 (or referred to as a communication terminal, terminal). Network device 110 may provide communication coverage for a particular geographic area and may communicate with terminals located within the coverage area. Alternatively, the network device 110 may be an evolved base station (Evolutional Node B, eNB or eNodeB) in an LTE system, or a radio controller in a cloud radio access network (Cloud Radio Access Network, CRAN), or the network device may be a mobile switching center, a relay station, an access point, a vehicle device, a wearable device, a hub, a switch, a bridge, a router, a network-side device in a 5G network, or a network device in a future communication system, etc.
The communication system 100 further includes at least one terminal 120 located within the coverage area of the network device 110. "terminal" as used herein includes, but is not limited to, connection via wireline, such as via public-switched telephone network (Public Switched Telephone Networks, PSTN), digital subscriber line (Digital Subscriber Line, DSL), digital cable, direct cable connection; and/or another data connection/network; and/or via a wireless interface, e.g., for a cellular network, a wireless local area network (Wireless Local Area Network, WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter; and/or means of the other terminal arranged to receive/transmit communication signals; and/or an internet of things (Internet of Things, ioT) device. Terminals arranged to communicate over a wireless interface may be referred to as "wireless communication terminals", "wireless terminals" or "mobile terminals". Examples of mobile terminals include, but are not limited to, satellites or cellular telephones; a personal communications system (Personal Communications System, PCS) terminal that may combine a cellular radiotelephone with data processing, facsimile and data communications capabilities; a PDA that may include a radiotelephone, pager, internet/intranet access, web browser, organizer, calendar, and/or a global positioning system (Global Positioning System, GPS) receiver; and conventional laptop and/or palmtop receivers or other electronic devices that include a radiotelephone transceiver. A terminal may refer to an access terminal, user Equipment (UE), subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or User Equipment. An access terminal may be a cellular telephone, a cordless telephone, a session initiation protocol (Session Initiation Protocol, SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, personal digital assistant (Personal DIGITAL ASSISTANT, PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal in a 5G network or a terminal in a future evolved PLMN, etc.
Alternatively, direct to Device (D2D) communication may be performed between the terminals 120.
Alternatively, the 5G communication system or 5G network may also be referred to as a New Radio (NR) system or NR network.
Fig. 1 illustrates one network device and two terminals, alternatively, the communication system 100 may include multiple network devices and each network device may include other numbers of terminals within its coverage area, which is not limited by the embodiment of the present application.
Optionally, the communication system 100 may further include a network controller, a mobility management entity, and other network entities, which are not limited by the embodiment of the present application.
It should be understood that a device having a communication function in a network/system according to an embodiment of the present application may be referred to as a communication device. Taking the communication system 100 shown in fig. 1 as an example, the communication device may include a network device 110 and a terminal 120 with communication functions, where the network device 110 and the terminal 120 may be specific devices described above, and are not described herein again; the communication device may also include other devices in the communication system 100, such as a network controller, a mobility management entity, and other network entities, which are not limited in this embodiment of the present application.
It should be understood that the terms "system" and "network" are used interchangeably herein. The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
In order to facilitate understanding of the technical solutions of the embodiments of the present application, the following describes the technical solutions related to the embodiments of the present application.
Device-to-Device (Device to Device, D2D)
D2D communication is based on a side-link (Sidelink, SL) transmission technology, and unlike a conventional cellular system in which communication data is received or transmitted through a base station, the internet of vehicles system adopts a D2D communication manner (i.e., a device-to-device direct communication manner), thus having higher spectral efficiency and lower transmission delay. For D2D communication, the third generation partnership project (Third Generation Partnership Project,3 GPP) defines two transmission modes: mode a and mode B. Mode a and mode B are described below.
Mode a: as shown in fig. 2-1, the transmission resources of the terminal device are allocated by the base station, and the terminal device sends data on the side link according to the resources allocated by the base station; the base station may allocate resources for single transmission to the terminal device, or may allocate resources for semi-static transmission to the terminal device.
Mode B: as shown in fig. 2-2, the terminal device selects one resource in the resource pool to transmit data. Specifically, the terminal device may select transmission resources from the resource pool by listening, or select transmission resources from the resource pool by randomly selecting.
NR-V2X
In NR-V2X, automatic driving needs to be supported, and thus, higher demands are placed on data interaction between vehicles, such as higher throughput, lower latency, higher reliability, larger coverage, more flexible resource allocation, etc.
In the NR-V2X system, a plurality of transmission modes are introduced, including mode 1 and mode 2, where mode 1 is that the network device allocates transmission resources for the terminal device (corresponding to mode a above), and mode 2 is that the terminal device selects transmission resources (corresponding to mode B above).
The LTE-V2X supports broadcast transmission schemes, and in addition, unicast and multicast transmission schemes are introduced into the NR-V2X. For the unicast transmission mode, the receiving end has only one terminal device, as shown in fig. 3-1, and unicast transmission is performed between UE1 and UE 2. For the multicast transmission mode, the receiving end is all the terminal devices in a communication group, or all the terminal devices in a certain transmission distance, as shown in fig. 3-2, UE1, UE2, UE3 and UE4 form a communication group, wherein UE1 sends data, and the other terminal devices in the communication group are all receiving ends. For the broadcast transmission mode, the receiving end is any one terminal device, as shown in fig. 3-3, where UE1 is a transmitting end, and other surrounding terminal devices are receiving ends.
Sidelink feedback channels
In NR-V2X, a side-by-side feedback channel is introduced for improved reliability. For example, for unicast transmission, a transmitting end transmits side line data to a receiving end, the receiving end transmits HARQ feedback information (ACK information or NACK information) to the transmitting end, and the transmitting end determines whether data retransmission is required according to the feedback information transmitted by the receiving end. The HARQ Feedback information is carried in a sidelink Feedback Channel, such as a physical sidelink Feedback Channel (PHYSICAL SIDELINK Feedback Channel, PSFCH), see fig. 3-4.
In one embodiment, sidestream feedback may be activated or deactivated by pre-configuration information or network configuration information. If the sidestream feedback is activated, the receiving end receives sidestream data sent by the sending end, and feeds back ACK information or NACK information to the sending end according to the detection result, and the sending end decides to send retransmission data or new data according to the feedback information of the receiving end. If the side feedback is deactivated, the receiving end does not need to send feedback information, and the transmitting end generally adopts a blind retransmission mode to send data, for example, the transmitting end repeatedly sends K times for each side data, and K is a positive integer greater than 1, instead of deciding whether to send retransmission data according to the feedback information of the receiving end.
HARQ mechanism
The receiving end receives the sidestream data sent by the sending end, the receiving end needs to buffer the received sidestream data, and judges whether the PSSCH scheduled by the PSCCH needs to be detected according to the detection result of the Physical Sidestream Control Channel (PSCCH). For the transmission supporting the side line feedback, the receiving end sends HARQ feedback information (ACK information or NACK information) to the sending end according to the detection result of the PSSCH, if the receiving end sends the NACK information, the receiving end needs to buffer the side line data borne by the PSSCH, and combines and decodes the side line data with the side line data retransmitted by the sending end to judge whether the side line data is correctly received.
Each sidestream data transmission corresponds to one HARQ process number, and the maximum HARQ process supported by the terminal device is limited, for example, the terminal device supports a maximum of 8 HARQ processes. For a certain HARQ process, the receiving end empties the buffer corresponding to the HARQ process only when the receiving end receives the new data indication information (New Data Indicator, NDI) corresponding to the HARQ process to be flipped.
In the LTE-V2X system, broadcast transmission is mainly supported, and one side uplink control information (Sidelink Control Information, SCI) indicates both the first transmission and all retransmissions of data, so that when receiving the SCI, the receiving end can learn all transmission resources of the data, and buffer, merge, decode, etc. the data transmitted each time, so as to determine whether to correctly receive the data, and when the receiving end receives the last data transmission of the data, the buffer can be emptied to receive other data.
However, in the NR-V2X system, a side-line feedback mechanism is introduced, when the receiving end feeds back NACK information to the transmitting end, the receiving end does not empty the data in the buffer, but waits for the transmitting end to transmit the retransmission data of the data, but if the receiving end does not receive the retransmission data of the transmitting end for the data, for example, the distance between the transmitting end and the receiving end is further and further, at this time, if the receiving end does not empty the data in the buffer all the time, resource waste is caused. Therefore, the following technical scheme of the embodiment of the application is provided, and the technical scheme of the embodiment of the application can be applied to an NR-V2X system but is not limited to the application.
Fig. 4 is a flowchart of a method for flushing a buffer, as shown in fig. 4, provided in an embodiment of the present application, where the method for flushing a buffer includes the following steps:
step 401: the method comprises the steps that first terminal equipment receives first indication information, wherein the first indication information is used for determining a first moment for emptying a cache; the cache is used for storing sidestream data received by the first terminal device.
In the embodiment of the application, the first terminal device is a receiving end of the sidestream data, and after the receiving end receives the sidestream data sent by the sending end, the receiving end needs to buffer the received sidestream data. If the first terminal device receives the first indication information, the first terminal device may determine a first time of emptying the buffer according to the first indication information.
In the embodiment of the present application, the first terminal device receives the first indication information in any one of the following manners:
Mode one: the first terminal equipment receives the first indication information sent by the network equipment.
In an alternative embodiment, the network device may be a base station, such as a gNB or the like.
In an alternative embodiment, the first indication information is carried in radio resource control (Radio Resource Control, RRC) signaling or downlink control information (Downlink Control Information, DCI).
In specific implementation, the network device sends the first indication information to the first terminal device through RRC signaling or DCI.
Mode two: the first terminal equipment receives the first indication information sent by the second terminal equipment.
In an alternative embodiment, the second terminal device is a terminal device that sends the sidestream data. In another optional embodiment, the second terminal device is a head-set terminal device of a communication group where the first terminal device is located. The group head terminal equipment is terminal equipment with the functions of resource management, resource scheduling, resource allocation and the like in one communication group.
In an alternative embodiment, the first indication information is carried in SCI or sidestream RRC signaling.
In specific implementation, the second terminal device sends the first indication information to the first terminal device through SCI or sidestream RRC signaling.
In the embodiment of the present application, the first indication information is used to determine a first time of emptying the cache, and specific implementation of the first indication information is described below.
● The first indication information is time slot indication information
1) In an alternative embodiment, the slot indication information includes a system frame Number (SYSTEM FRAME Number, SFN) and a slot Number.
Based on the above, the first terminal device determines a first time slot according to the SFN and the time slot number, and empties the buffer memory at the time corresponding to the first time slot.
It should be noted that, the time corresponding to the first time slot is the first time in the above scheme.
2) In another alternative embodiment, the slot indication information includes a direct frame Number (DIRECT FRAME Number, DFN) and a slot Number.
Based on the above, the first terminal device determines a second time slot according to the DFN and the time slot number, and empties the buffer at a time corresponding to the second time slot.
It should be noted that, the time corresponding to the second time slot is the first time in the above scheme.
For both 1) and 2) above, the SFN or DFN is used to determine a Frame and the slot number is used to determine a slot within the Frame. Wherein one frame includes 10 subframes (subframes), each subframe is 1 millisecond, and one SFN period or DFN period includes 1024 frames, numbered 0,1, 1023. The number of slots included in each frame is related to a basic parameter set (numerology), e.g., if the subcarrier spacing is 15kHz, one subframe includes 10 slots, corresponding slot numbers are 0,1, 9; if the subcarriers are spaced at 30kHz, one subframe includes 20 slots, corresponding slot numbers are 0,1, 19; if the subcarrier spacing is 60Hz, one subframe includes 40 slots, the corresponding slot number is 0,1,..39; and so on.
The first terminal device can determine the position of a time slot according to the SFN or the DFN and the time slot number in one frame, so that the first terminal device can empty the buffer memory at the time corresponding to the time slot.
● The first indication information is time slot offset indication information
Based on the time slot offset indication information and the reference time, the first terminal equipment determines the first time and empties the buffer memory at the first time.
In an optional embodiment, the slot offset indication information is used to indicate N slots, where N is a positive integer; the N time slots are spaced between the reference time and the first time.
Here, the length of the time slot in the time slot offset indication information is determined according to a basic parameter set corresponding to the sidestream data transmission. Further, the basic parameter set includes at least a subcarrier spacing.
For example, if the subcarrier spacing corresponding to the sidestream data transmission is 30kHz, one slot corresponds to a time length of 0.5ms, and accordingly, the length of the slot in the slot offset indication information is 0.5ms. If the slot offset indication information indicates 10 slots (i.e., n=10), and the reference time is slot 3, the first terminal device empties the buffer at the time corresponding to the 13 th slot.
In an alternative embodiment, the reference time is one of the following:
the first terminal equipment receives the signaling carrying the time slot offset indication information;
The frame number is 0 and the time slot number is 0 in one SFN period;
time corresponding to the frame number 0 and the time slot number 0 in one DFN period;
time slot number 0 corresponds to time.
If the reference time is a time corresponding to the time slot number 0, the time slot number 0 in any frame may be used as the reference time. The terminal can determine the positions of a plurality of moments according to the time slot offset information and the time slot number of 0, and preferably, the terminal takes the first available moment as the moment for emptying the buffer memory. For example, the number of slots indicated by the slot offset indication information is 3, the reference time is the time of the slot number being 0, then the terminal may determine that the 3 rd slot in each frame is the possible time of flushing the buffer, if the terminal receives the first indication information in the 2 nd slot in the frame, and the processing delay of the terminal is 2 slots, so the 3 rd slot in the frame has not processed the received data, and therefore the terminal takes the 3 rd slot in the next frame as the time of flushing the buffer.
● The first indication information is a first parameter M, wherein M is a positive integer.
Based on the second parameter K, the first terminal equipment acquires the second parameter K; wherein K is a positive integer; the first terminal device determines the first moment according to the first parameter M and the second parameter K, and the buffer memory is emptied at the first moment.
In the embodiment of the present application, the first terminal device determines the first time according to the first parameter M and the second parameter K, which may be implemented by, but not limited to, the following ways:
1) In an optional embodiment, the first terminal device takes a kth (m+1) time slot after the time when the first indication information is received as the first time; and the first terminal equipment empties the buffer memory at the first moment.
2) In another optional embodiment, the first terminal device takes a kth (m+1) -1 time slot after the time when the first indication information is received as the first time; and the first terminal equipment empties the buffer memory at the first moment.
3) In a further alternative embodiment, the first terminal device takes a kth×m-1 time slot after the time when the first indication information is received as the first time; and the first terminal equipment empties the buffer memory at the first moment.
4) In yet another optional embodiment, the first terminal device takes a kth×m time slot after the time when the first indication information is received as the first time; and the first terminal equipment empties the buffer memory at the first moment.
In the above scheme, when k=1, that is, the first time is determined only according to the first parameter M.
In the embodiment of the present application, the first terminal device acquires the second parameter K, including:
the first terminal equipment acquires the second parameter K according to the resource pool configuration information, or
The first terminal equipment acquires the second parameter K according to network configuration information, or
The first terminal equipment acquires the second parameter K according to the priority information, or
The first terminal equipment acquires the second parameter K according to the time delay information, or
The first terminal device obtains the second parameter K according to the channel busy ratio (Channel Busy Ratio, CBR), or
The first terminal equipment acquires the second parameter K according to the periodic parameter of the sidestream feedback channel.
Wherein the priority information is determined according to the priority in the SCI received by the first terminal device. The periodic parameter of the sidestream feedback channel means that one time slot for transmitting the sidestream feedback channel is included in several sidestream time slots. For example, a period parameter of 4 indicates that every 4 sidestream slots includes a slot for transmitting sidestream feedback channels.
Optionally, the first parameter M in the above scheme is the number of slots or the number of slots intervals. The first terminal device may determine a first time according to the number of time slots and the second parameter K, and empty a buffer at the first time.
In one example, the first terminal device receives, in the time slot 1, an SCI sent by the second terminal device, where the SCI indicates that the HARQ process number is 0, and the SCI indicates that the time slot number m=8, and the first terminal device obtains, according to the resource pool configuration information, a second parameter k=8, where the first terminal device uses, as the first time, a 64 th time slot after receiving the SCI, that is, an instant 65, and if the first terminal device does not receive, in the time slot 65, data of the HARQ process sent by the second terminal device after the time slot 1 but before the time slot 65, the first terminal device empties a buffer corresponding to the HARQ process in the time slot 65.
In yet another example, the first terminal device receives, in the time slot 1, an SCI sent by the second terminal device, where the SCI indicates that the HARQ process number is 0, and the SCI indicates that the time slot number m=8, the priority is 2, and includes a parameter K in the resource pool configuration information, where the parameter K is related to the priority and CBR, and the first terminal device measures CBR of the current resource pool to be 0.6, and then determines the parameter K according to the CBR and the priority 2, for example, k=4, and then the first terminal device uses, as the first time, the 32 nd time slot after receiving the SCI, that is, the time slot 33, and if the first terminal device does not receive, in the time slot 33, data of the HARQ process number 0 sent by the second terminal device, after the time slot 1 but before the time slot 33, the first terminal device empties the buffer corresponding to the HARQ process number 0.
Further, the number of slots or the number of slots intervals is determined according to at least one of the following information:
i) Time slot interval indication information indicated in sidestream control information received by the first terminal device;
In one example, the slot interval indication information indicated in the sidestream control information is, for example, the time interval of two adjacent transmission resources indicated in the sidestream control information (i.e., SCI).
Ii) a maximum value of a plurality of time slot interval indication information indicated in sidestream control information received by the first terminal device;
In one example, if the side control information (i.e., SCI) indicates a plurality of transmission resources, for example, 4, then a time interval between a plurality of adjacent two transmission resources may be indicated, for example, the time interval between every two adjacent transmission resources is 4,6,8 time slots, respectively, then the maximum value 8 of the time interval may be taken as the number of time slots or the number of time slot intervals.
Iii) Maximum value of time slot interval that sidestream control information can indicate;
in one example, the side control information (i.e. SCI) includes an information field for indicating a time interval, where the information field is, for example, 4 bits, and the range of the time interval that can be indicated is 0-15, and the maximum value of the time interval is 15, and the maximum value of the interval 15 can be selected as the number of slots or the number of slots.
IV) time slot intervals configured in the resource pool configuration information;
In one example, the resource pool configuration information may include a parameter M, where M is the number of slots or the number of slots intervals.
V) cycle parameters of the sidelink feedback channel.
In one example, the period P of the sidelink feedback channel is configured by pre-configuration information or network configuration information,
I.e. each P sidelink timeslots comprises a timeslot for the transmission of the sidelink feedback channel, the parameter M may be determined on the basis of this parameter P, e.g. m=p.
In the embodiment of the present application, the length of the time slot is determined according to a basic parameter set corresponding to the sidestream data transmission, where the basic parameter set at least includes a subcarrier interval.
In the embodiment of the present application, if the first terminal device receives second instruction information after receiving the first instruction information, where the second instruction information is used to determine a second time for emptying the buffer, the first terminal device empties the buffer at the second time according to the second instruction information.
For example: the method comprises the steps that first indication information is received by first terminal equipment at a time t1, wherein the first indication information is used for determining a first time for emptying a cache; then, receiving second indication information at a time t2, wherein the second indication information is used for determining a second time for emptying the cache, and the time t2 is later than the time t 1; then, the first terminal device empties the buffer memory at a second moment according to the second indication information. It should be noted that, the first time is later than the time t2, that is, the first terminal device has not yet emptied the buffer memory when receiving the second indication information.
Fig. 5 is a schematic structural diagram of a device for emptying a buffer, which is provided by an embodiment of the present application and is applied to a first terminal device, as shown in fig. 5, where the device for emptying a buffer includes:
a receiving unit 501, configured to receive first indication information, where the first indication information is used to determine a first time when the buffer is emptied;
The cache is used for storing sidestream data received by the first terminal device.
In an alternative embodiment, the receiving unit 501 is configured to receive the first indication information sent by the network device.
In an alternative embodiment, the first indication information is carried in RRC signaling or DCI.
In an optional embodiment, the receiving unit 501 is configured to receive the first indication information sent by the second terminal device.
In an alternative embodiment, the second terminal device is a terminal device that sends the sidestream data.
In an alternative embodiment, the second terminal device is a group head terminal device of a communication group where the first terminal device is located.
In an alternative embodiment, the first indication information is carried in SCI or sidestream RRC signaling.
In an optional embodiment, the first indication information is timeslot indication information.
In an alternative embodiment, the slot indication information includes an SFN and a slot number.
In an alternative embodiment, the apparatus further comprises:
And the processing unit 502 is configured to determine a first time slot according to the SFN and the time slot number, and empty a buffer at a time corresponding to the first time slot.
In an alternative embodiment, the slot indication information includes a DFN and a slot number.
In an alternative embodiment, the apparatus further comprises:
and the processing unit 502 is configured to determine a second time slot according to the DFN and the time slot number, and empty a buffer at a time corresponding to the second time slot.
In an optional embodiment, the first indication information is slot offset indication information.
In an alternative embodiment, the apparatus further comprises:
And the processing unit 502 is configured to determine the first time according to the slot offset indication information and the reference time, and empty the buffer at the first time.
In an optional embodiment, the slot offset indication information is used to indicate N slots, where N is a positive integer; the N time slots are spaced between the reference time and the first time.
In an alternative embodiment, the length of the time slot is determined according to a basic parameter set corresponding to the sidestream data transmission.
In an alternative embodiment, the basic parameter set includes at least a subcarrier spacing.
In an alternative embodiment, the reference time is one of the following:
the first terminal equipment receives the signaling carrying the time slot offset indication information;
The frame number is 0 and the time slot number is 0 in one SFN period;
time corresponding to the frame number 0 and the time slot number 0 in one DFN period;
time slot number 0 corresponds to time.
In an optional embodiment, the first indication information is a first parameter M, where M is a positive integer.
In an alternative embodiment, the apparatus further comprises:
An acquisition unit (not shown in the figure) for acquiring the second parameter K; wherein K is a positive integer;
the processing unit 502 is configured to determine the first time according to the first parameter M and the second parameter K, and empty the cache at the first time.
In an optional embodiment, the processing unit 502 is configured to take, as the first time, a kth (m+1) th time slot or a kth (m+1) -1 th time slot or a kth (M-1) th time slot or a kth (M) th time slot after the time when the first indication information is received; and emptying the cache at the first moment.
In an alternative embodiment, the acquiring unit is configured to: the second parameter K is obtained according to the resource pool configuration information, or the second parameter K is obtained according to the network configuration information, or the second parameter K is obtained according to the priority information, or the second parameter K is obtained according to the time delay information, or the second parameter K is obtained according to the CBR, or the second parameter K is obtained according to the cycle parameter of the side feedback channel.
In an alternative embodiment, the first parameter M is the number of time slots.
In an alternative embodiment, the number of time slots is determined according to at least one of the following information:
time slot interval indication information indicated in sidestream control information received by the first terminal device;
A maximum value of a plurality of time slot interval indication information indicated in sidestream control information received by the first terminal device;
Maximum value of time slot interval that sidestream control information can indicate;
the time slot interval configured in the resource pool configuration information;
The cycle parameters of the channel are fed back sideways.
In an optional embodiment, the length of the time slot is determined according to a basic parameter set corresponding to the sidestream data transmission, where the basic parameter set includes at least a subcarrier interval.
In an optional embodiment, the receiving unit 501 is further configured to receive, after the first instruction information is received, second instruction information, where the second instruction information is used to determine a second time when the cache is emptied;
the apparatus further comprises: and the processing unit 502 is configured to empty the cache at the second time according to the second indication information.
It should be understood by those skilled in the art that the above description of the apparatus for flushing a cache according to the embodiments of the present application may be understood with reference to the description of the method for flushing a cache according to the embodiments of the present application.
Fig. 6 is a flow chart of a processing method of a cache, which is provided in an embodiment of the present application, as shown in fig. 6, and the processing method of a cache includes the following steps:
step 601: and the first terminal equipment receives first sidestream data, and the first terminal equipment determines to empty or use a buffer according to a first rule, wherein the first sidestream data is the first transmission or retransmission of one transmission block.
In the embodiment of the present application, the first terminal device determines to empty or use the buffer according to the first criterion, and may adopt any one of the following embodiments:
1) And the first terminal equipment empties the data stored in the cache.
2) And the first terminal equipment stores the first side data into a cache.
3) And the first terminal equipment replaces the data stored in the cache with the first side data.
In an embodiment, if the priority of the first side line data is higher than the priority of the data stored in the cache, the first terminal device replaces the data stored in the cache with the first side line data. In another embodiment, if a plurality of data are stored in the buffer, and more than one data has a priority lower than that of the first side data, the first terminal replaces the data stored in the buffer with the first side data.
It should be appreciated that in the above embodiment of replacing data stored in the cache with the first side data based on a priority decision, the first criterion may not be limited. For example, when the first terminal device receives the first side line data and needs to store the first side line data in the cache, but there is no space in the cache to store the first side line data, the first terminal device decides whether to replace the data stored in the cache according to the comparison result of the priority of the first side line data and the priority of the data stored in the cache. And if the priority of the first side line data is higher than the priority of the data stored in the cache, the first terminal equipment replaces the data stored in the cache with the first side line data.
In an alternative embodiment of the present application, the first criterion includes at least one of:
a) The number of the time units stored in the cache exceeds a first threshold;
B) And the sum of the number of time units stored in the buffer memory and the transmission times of the transmission block corresponding to the first side data received by the first terminal equipment exceeds a second threshold.
In the above solution, optionally, the second threshold is a maximum number of transmissions of one transport block. For example: the data stored in the buffer memory is second side line data, the first terminal device starts timing from the last time of storing the second side line data, if the sum of the number of time units stored in the buffer memory by the second side line data and the number of received data exceeds the maximum transmission times corresponding to the data, the data is considered not to be retransmitted later, and the buffer memory can be emptied.
In the above solution, optionally, the second threshold is a maximum number of transmissions of one transport block. For example: and the data stored in the cache is second side line data, the first terminal equipment starts timing from the last time of storing the second side line data, and if the number of storage time units of the second side line data in the cache exceeds the maximum transmission times corresponding to the data, the data is considered not to be retransmitted later, and the cache can be emptied.
In the above solution, optionally, the second threshold is a maximum number of transmissions of one transport block. For example: the data stored in the buffer memory is second side line data, the first terminal device starts timing from the first time of storing the second side line data, if the number of storage time units of the second side line data in the buffer memory exceeds the maximum transmission times corresponding to the data, the data is considered not to be retransmitted later, and the buffer memory can be emptied.
In the above solution, optionally, the first threshold is the number of time units corresponding to the time delay of the data stored in the buffer. For example: the data stored in the buffer memory is second side line data, the first terminal equipment starts to time from the first time of storing the second side line data, if the maximum time delay corresponding to the data is 100ms, and each time unit is 1ms, when the time exceeds the maximum time delay by 100ms, the buffer memory can be emptied or the data in the buffer memory can be replaced by the first side line data.
In the above solution, optionally, the first threshold is the number of time units corresponding to the time delay of the data stored in the buffer. For example: the data stored in the buffer memory is second side line data, the first terminal equipment starts to time from the last time of storing the second side line data, if the maximum time delay corresponding to the data is 100ms, and each time unit is 1ms, when the time exceeds the maximum time delay by 100ms, the buffer memory can be emptied or the data in the buffer memory can be replaced by the first side line data.
It should be understood that in the above scheme, when the first terminal device stores the data in the buffer, the timer is restarted. For example, the first terminal device receives the second sidestream data, stores the second sidestream data in the buffer, starts a timer at this time, and when the first terminal device receives the retransmission of the second sidestream data, stores the retransmission data in the buffer, and restarts the timer at this time.
In the above solution, optionally, the first terminal device obtains a first parameter M and a second parameter K, and determines the first threshold according to the M and the K, where M, K is a positive integer.
Further, the first parameter M and the second parameter K may be determined by:
i) The first parameter M is determined in the following manner:
The first parameter M is the number of time unit intervals; the number of time unit intervals is determined according to at least one of the following information:
Time unit interval indication information indicated in sidestream control information received by the first terminal device;
A maximum value of a plurality of time unit interval indication information indicated in sidestream control information received by the first terminal device;
maximum value of time unit interval that sidestream control information can indicate;
Time unit interval configured in the resource pool configuration information;
The cycle parameters of the channel are fed back sideways.
II) determination of the second parameter K:
the first terminal device obtains the second parameter K by:
the first terminal equipment acquires the second parameter K according to the resource pool configuration information, or
The first terminal equipment acquires the second parameter K according to network configuration information, or
The first terminal equipment acquires the second parameter K according to the priority information, or
The first terminal equipment acquires the second parameter K according to the time delay information, or
The first terminal equipment acquires the second parameter K according to CBR, or
The first terminal equipment acquires the second parameter K according to the periodic parameter of the sidestream feedback channel.
It should be noted that, the time units in the above-mentioned scheme of the present application may be slots, subframes, or fixed time intervals, or absolute time, etc.
In an embodiment, the first terminal device receives the first side line data and needs to store the first side line data in a cache, and the first terminal device determines whether the storage time of the data stored in the cache exceeds a first threshold (or exceeds a second threshold), and if so, the first terminal device replaces the data stored in the cache with the first side line data. If there is more than one data stored in the buffer for more than a first threshold (or more than a second threshold), the first terminal device may replace the data exceeding the first threshold (or the second threshold) for the most time with the first side data. Or the first terminal device may replace the data with the lowest priority among the plurality of data exceeding the first threshold (or the second threshold) with the first side data.
In the above embodiment, when k=1, i.e. the first threshold is determined only according to the first parameter M.
Fig. 7 is a schematic structural diagram of a processing apparatus for buffering, which is provided in an embodiment of the present application and is applied to a first terminal device, as shown in fig. 7, where the processing apparatus for buffering includes:
a receiving unit 701, configured to receive first sidestream data;
a processing unit 702 is configured to determine to flush or use a buffer according to a first criterion, where the first sidestream data is a first transmission or retransmission of a transport block.
In an alternative embodiment, the processing unit 702 is configured to:
emptying the data stored in the cache, or
Storing the first side data in a cache, or
And replacing the data stored in the cache by the first side data.
In an alternative embodiment, the first criterion includes at least one of:
the number of the time units stored in the cache exceeds a first threshold;
And the sum of the number of time units stored in the buffer memory and the transmission times of the transmission block corresponding to the first side data received by the receiving unit exceeds a second threshold.
In an alternative embodiment, the second threshold is a maximum number of transmissions of a transport block.
In an optional implementation manner, the first threshold is the number of time units corresponding to the time delay of the data stored in the buffer memory.
In an alternative embodiment, the apparatus further comprises:
an obtaining unit (not shown in the figure) is configured to obtain a first parameter M and a second parameter K, and determine the first threshold according to the M and the K, where M, K is a positive integer.
In an alternative embodiment, the first parameter M is a number of time unit intervals; the number of time unit intervals is determined according to at least one of the following information:
Time unit interval indication information indicated in sidestream control information received by the first terminal device;
A maximum value of a plurality of time unit interval indication information indicated in sidestream control information received by the first terminal device;
maximum value of time unit interval that sidestream control information can indicate;
Time unit interval configured in the resource pool configuration information;
The cycle parameters of the channel are fed back sideways.
In an alternative embodiment, the acquiring unit is configured to:
Acquiring the second parameter K according to the resource pool configuration information, or
Acquiring the second parameter K according to the network configuration information, or
Acquiring the second parameter K according to the priority information, or
Acquiring the second parameter K according to the time delay information, or
Obtaining the second parameter K according to CBR, or
And acquiring the second parameter K according to the periodic parameter of the lateral feedback channel.
It should be understood by those skilled in the art that the description of the processing apparatus of the cache according to the embodiment of the present application may be understood with reference to the description of the processing method of the cache according to the embodiment of the present application.
Fig. 8 is a schematic block diagram of a communication device 800 according to an embodiment of the present application. The communication device may be a terminal device or a network device, and the communication device 800 shown in fig. 8 includes a processor 810, where the processor 810 may call and execute a computer program from a memory to implement the method according to the embodiment of the present application.
Optionally, as shown in fig. 8, the communication device 800 may also include a memory 820. Wherein the processor 810 may call and run a computer program from the memory 820 to implement the method in embodiments of the present application.
Wherein the memory 820 may be a separate device from the processor 810 or may be integrated into the processor 810.
Optionally, as shown in fig. 8, the communication device 800 may further include a transceiver 830, and the processor 810 may control the transceiver 830 to communicate with other devices, and in particular, may send information or data to other devices, or receive information or data sent by other devices.
Among other things, transceiver 830 may include a transmitter and a receiver. Transceiver 830 may further include antennas, the number of which may be one or more.
Optionally, the communication device 800 may be specifically a network device in the embodiment of the present application, and the communication device 800 may implement a corresponding flow implemented by the network device in each method in the embodiment of the present application, which is not described herein for brevity.
Optionally, the communication device 800 may be specifically a mobile terminal/terminal device according to the embodiment of the present application, and the communication device 800 may implement a corresponding flow implemented by the mobile terminal/terminal device in each method according to the embodiment of the present application, which is not described herein for brevity.
Fig. 9 is a schematic structural view of a chip of an embodiment of the present application. The chip 900 shown in fig. 9 includes a processor 910, and the processor 910 may call and execute a computer program from a memory to implement the method in an embodiment of the present application.
Optionally, as shown in fig. 9, the chip 900 may further include a memory 920. Wherein the processor 910 may invoke and run a computer program from the memory 920 to implement the method in the embodiments of the present application.
Wherein the memory 920 may be a separate device from the processor 910 or may be integrated in the processor 910.
Optionally, the chip 900 may also include an input interface 930. The processor 910 may control the input interface 930 to communicate with other devices or chips, and in particular, may acquire information or data sent by the other devices or chips.
Optionally, the chip 900 may also include an output interface 940. Wherein the processor 910 may control the output interface 940 to communicate with other devices or chips, and in particular, may output information or data to the other devices or chips.
Optionally, the chip may be applied to the network device in the embodiment of the present application, and the chip may implement a corresponding flow implemented by the network device in each method in the embodiment of the present application, which is not described herein for brevity.
Optionally, the chip may be applied to a mobile terminal/terminal device in the embodiment of the present application, and the chip may implement a corresponding flow implemented by the mobile terminal/terminal device in each method in the embodiment of the present application, which is not described herein for brevity.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, or the like.
Fig. 10 is a schematic block diagram of a communication system 1000 provided by an embodiment of the present application. As shown in fig. 10, the communication system 1000 includes a terminal device 1010 and a network device 1020.
The terminal device 1010 may be used to implement the corresponding functions implemented by the terminal device in the above method, and the network device 1020 may be used to implement the corresponding functions implemented by the network device in the above method, which are not described herein for brevity.
It should be appreciated that the processor of an embodiment of the present application may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method embodiments may be implemented by integrated logic circuits of hardware in a processor or instructions in software form. The Processor may be a general purpose Processor, a digital signal Processor (DIGITAL SIGNAL Processor, DSP), an Application SPECIFIC INTEGRATED Circuit (ASIC), an off-the-shelf programmable gate array (Field Programmable GATE ARRAY, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
It will be appreciated that the memory in embodiments of the application may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM) which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA RATE SDRAM, DDR SDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCHLINK DRAM, SLDRAM), and Direct memory bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
It should be appreciated that the above memory is exemplary and not limiting, and for example, the memory in the embodiments of the present application may be static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (double DATA RATE SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous connection dynamic random access memory (SYNCH LINK DRAM, SLDRAM), direct Rambus RAM (DR RAM), and the like. That is, the memory in embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The embodiment of the application also provides a computer readable storage medium for storing a computer program.
Optionally, the computer readable storage medium may be applied to a network device in the embodiment of the present application, and the computer program causes a computer to execute a corresponding flow implemented by the network device in each method in the embodiment of the present application, which is not described herein for brevity.
Optionally, the computer readable storage medium may be applied to a mobile terminal/terminal device in the embodiment of the present application, and the computer program causes a computer to execute a corresponding procedure implemented by the mobile terminal/terminal device in each method of the embodiment of the present application, which is not described herein for brevity.
The embodiment of the application also provides a computer program product comprising computer program instructions.
Optionally, the computer program product may be applied to a network device in the embodiment of the present application, and the computer program instructions cause a computer to execute corresponding processes implemented by the network device in each method in the embodiment of the present application, which are not described herein for brevity.
Optionally, the computer program product may be applied to a mobile terminal/terminal device in the embodiment of the present application, and the computer program instructions cause a computer to execute corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the present application, which are not described herein for brevity.
The embodiment of the application also provides a computer program.
Optionally, the computer program may be applied to a network device in the embodiment of the present application, and when the computer program runs on a computer, the computer is caused to execute a corresponding flow implemented by the network device in each method in the embodiment of the present application, which is not described herein for brevity.
Optionally, the computer program may be applied to a mobile terminal/terminal device in the embodiment of the present application, and when the computer program runs on a computer, the computer is caused to execute corresponding processes implemented by the mobile terminal/terminal device in each method in the embodiment of the present application, which is not described herein for brevity.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (20)
1. A method of flushing a cache, the method comprising:
the method comprises the steps that first terminal equipment receives first indication information, wherein the first indication information is used for determining a first moment for emptying a cache;
the cache is used for storing sidestream data received by the first terminal equipment;
The first terminal device receives first indication information, including:
the first terminal equipment receives the first indication information sent by the second terminal equipment; the second terminal equipment is terminal equipment for sending the sidestream data;
the first indication information is a first parameter M, wherein M is a positive integer;
the first terminal equipment acquires a second parameter K; wherein K is a positive integer;
The first terminal device determines the first moment according to the first parameter M and the second parameter K, and the buffer memory is emptied at the first moment;
The first terminal device determines the first time according to the first parameter M and the second parameter K, and empties the buffer memory at the first time, including:
The first terminal device takes the Kth time slot (M+1) after the time when the first indication information is received as the first time;
the first terminal device empties a cache at the first moment;
The first terminal device obtains a second parameter K, including:
the first terminal equipment acquires the second parameter K according to the resource pool configuration information, or
The first terminal equipment acquires the second parameter K according to network configuration information, or
The first terminal equipment acquires the second parameter K according to the priority information, or
The first terminal equipment acquires the second parameter K according to the time delay information, or
The first terminal device obtains the second parameter K according to the channel busy rate CBR, or
The first terminal equipment acquires the second parameter K according to the periodic parameter of the sidestream feedback channel;
The first parameter M is the number of time slot intervals.
2. The method of claim 1, wherein the first indication information is carried in side-uplink control information SCI or side-uplink RRC signaling.
3. The method of claim 1, wherein the number of slot intervals is determined from at least one of:
time slot interval indication information indicated in sidestream control information received by the first terminal device;
A maximum value of a plurality of time slot interval indication information indicated in sidestream control information received by the first terminal device;
Maximum value of time slot interval that sidestream control information can indicate;
the slot intervals configured in the resource pool configuration information,
The cycle parameters of the channel are fed back sideways.
4. A method according to claim 1 or 3, wherein the length of the time slot is determined according to a basic parameter set corresponding to the sidelink data transmission, wherein the basic parameter set comprises at least a subcarrier spacing.
5. The method according to any one of claims 1 to 4, wherein the method comprises:
after receiving the first indication information, the first terminal equipment receives second indication information, wherein the second indication information is used for determining a second moment for emptying the cache;
and the first terminal equipment empties the cache at the second moment according to the second indication information.
6. A method of processing a cache, the method comprising:
A first terminal device receives first side line data, and the first terminal device determines to empty or use a buffer memory according to a first criterion, wherein the first side line data is the first transmission or retransmission of a transmission block TB;
The first criterion includes at least one of:
the number of time units stored in the data in the cache exceeds a first threshold, wherein the first threshold is the number of time units corresponding to the time delay of the data stored in the cache;
The sum of the number of time units stored in the cache and the transmission times of the transmission blocks corresponding to the first side data received by the first terminal equipment exceeds a second threshold, wherein the second threshold is the maximum transmission times of one transmission block;
The first terminal equipment acquires a first parameter M and a second parameter K, and determines the first threshold according to the M and the K, wherein M, K is a positive integer;
The first terminal device obtains a second parameter K, including:
the first terminal equipment acquires the second parameter K according to the resource pool configuration information, or
The first terminal equipment acquires the second parameter K according to network configuration information, or
The first terminal equipment acquires the second parameter K according to the priority information, or
The first terminal equipment acquires the second parameter K according to the time delay information, or
The first terminal device obtains the second parameter K according to the channel busy rate CBR, or
The first terminal equipment acquires the second parameter K according to the periodic parameter of the sidestream feedback channel;
The first parameter M is the number of time unit intervals.
7. The method of claim 6, wherein the first terminal device determining to empty or use a cache according to a first criterion comprises:
the first terminal device empties the data stored in the cache, or
The first terminal device stores the first side data into a buffer, or
And the first terminal equipment replaces the data stored in the cache with the first side data.
8. The method of claim 6, wherein the number of time unit intervals is determined from at least one of:
Time unit interval indication information indicated in sidestream control information received by the first terminal device;
A maximum value of a plurality of time unit interval indication information indicated in sidestream control information received by the first terminal device;
maximum value of time unit interval that sidestream control information can indicate;
Time unit interval configured in the resource pool configuration information;
The cycle parameters of the channel are fed back sideways.
9. An apparatus for emptying a buffer memory, applied to a first terminal device, the apparatus comprising:
The receiving unit is used for receiving first indication information, wherein the first indication information is used for determining a first moment for emptying the cache;
the cache is used for storing sidestream data received by the first terminal equipment;
the receiving unit is used for receiving the first indication information sent by the second terminal equipment; the second terminal equipment is terminal equipment for sending the sidestream data;
The first indication information is a first parameter M, wherein M is a positive integer; the first parameter M is the number of time slot intervals;
an acquisition unit for acquiring a second parameter K; wherein K is a positive integer;
the processing unit is used for determining the first moment according to the first parameter M and the second parameter K, and emptying the cache at the first moment;
The processing unit is configured to take a kth (m+1) th time slot after the time when the first indication information is received as the first time; emptying the cache at the first moment;
The acquiring unit is configured to acquire the second parameter K according to resource pool configuration information, or acquire the second parameter K according to network configuration information, or acquire the second parameter K according to priority information, or acquire the second parameter K according to delay information, or acquire the second parameter K according to CBR, or acquire the second parameter K according to a periodic parameter of a side feedback channel.
10. The apparatus of claim 9, wherein the first indication information is carried in SCI or sidestream RRC signaling.
11. The apparatus of claim 9, wherein the number of slot intervals is determined from at least one of:
time slot interval indication information indicated in sidestream control information received by the first terminal device;
A maximum value of a plurality of time slot interval indication information indicated in sidestream control information received by the first terminal device;
Maximum value of time slot interval that sidestream control information can indicate;
the time slot interval configured in the resource pool configuration information;
The cycle parameters of the channel are fed back sideways.
12. The apparatus of claim 9 or 11, wherein the length of the time slot is determined according to a basic parameter set corresponding to the sidelink data transmission, wherein the basic parameter set comprises at least a subcarrier spacing.
13. The apparatus according to any one of claims 9 to 12, wherein the receiving unit is further configured to receive second indication information after the first indication information is received, the second indication information being used to determine a second time to empty a cache;
The apparatus further comprises: and the processing unit is used for emptying the cache at the second moment according to the second indication information.
14. A processing apparatus of a cache, applied to a first terminal device, the apparatus comprising:
the receiving unit is used for receiving the first sidestream data;
A processing unit, configured to determine to empty or use a buffer according to a first criterion, where the first sidestream data is a first transmission or retransmission of a transport block; the first criterion includes at least one of: the number of time units stored in the data in the cache exceeds a first threshold, wherein the first threshold is the number of time units corresponding to the time delay of the data stored in the cache; the sum of the number of time units stored in the cache and the transmission times of the transmission blocks corresponding to the first side data received by the first terminal equipment exceeds a second threshold, wherein the second threshold is the maximum transmission times of one transmission block;
The acquisition unit is used for acquiring a first parameter M and a second parameter K, and determining the first threshold according to the M and the K, wherein M, K is a positive integer; the first parameter M is the number of time unit intervals;
The acquisition unit is used for: the second parameter K is obtained according to the resource pool configuration information, or the second parameter K is obtained according to the network configuration information, or the second parameter K is obtained according to the priority information, or the second parameter K is obtained according to the time delay information, or the second parameter K is obtained according to the CBR, or the second parameter K is obtained according to the cycle parameter of the side feedback channel.
15. The apparatus of claim 14, wherein,
The processing unit is used for:
emptying the data stored in the cache, or
Storing the first side data in a cache, or
And replacing the data stored in the cache by the first side data.
16. The apparatus of claim 14, wherein the number of time unit intervals is determined from at least one of:
Time unit interval indication information indicated in sidestream control information received by the first terminal device;
A maximum value of a plurality of time unit interval indication information indicated in sidestream control information received by the first terminal device;
maximum value of time unit interval that sidestream control information can indicate;
Time unit interval configured in the resource pool configuration information;
The cycle parameters of the channel are fed back sideways.
17. A terminal device, comprising: a processor and a memory for storing a computer program, the processor being adapted to invoke and run the computer program stored in the memory, to perform the method according to any of claims 1 to 5 or the method according to any of claims 6 to 8.
18. A chip, comprising: a processor for calling and running a computer program from a memory, causing a device on which the chip is mounted to perform the method of any one of claims 1 to 5 or the method of any one of claims 6 to 8.
19. A computer readable storage medium storing a computer program for causing a computer to perform the method of any one of claims 1 to 5 or the method of any one of claims 6 to 8.
20. A computer program product comprising computer program instructions for causing a computer to perform the method of any one of claims 1 to 5 or the method of any one of claims 6 to 8.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2019110726 | 2019-10-12 | ||
CNPCT/CN2019/110726 | 2019-10-12 | ||
PCT/CN2019/113761 WO2021068301A1 (en) | 2019-10-12 | 2019-10-28 | Method and apparatus for clearing cache, and method and apparatus for processing cache, and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114258698A CN114258698A (en) | 2022-03-29 |
CN114258698B true CN114258698B (en) | 2024-07-23 |
Family
ID=75436995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201980099437.6A Active CN114258698B (en) | 2019-10-12 | 2019-10-28 | Cache clearing method, cache processing method and device and terminal equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114258698B (en) |
WO (1) | WO2021068301A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115022404B (en) * | 2022-08-09 | 2022-11-01 | 北京融为科技有限公司 | Cache control method and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105634687A (en) * | 2014-11-04 | 2016-06-01 | 夏普株式会社 | Unauthorized spectrum communication retransmission method, base station and user equipment |
CN108270539A (en) * | 2017-01-03 | 2018-07-10 | 北京三星通信技术研究有限公司 | The method and apparatus of data transmission |
CN108365922A (en) * | 2017-01-26 | 2018-08-03 | 华为技术有限公司 | Method, apparatus and system for feedback |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566096A (en) * | 2016-06-30 | 2018-01-09 | 北京华为数字技术有限公司 | A kind of terminal-to-terminal service D2D communication means, relevant device and system |
CN109391422B (en) * | 2017-08-11 | 2020-11-17 | 华为技术有限公司 | Method for determining feedback codebook, terminal equipment and network equipment |
US11277229B2 (en) * | 2017-09-29 | 2022-03-15 | Lg Electronics Inc. | Method and apparatus for flushing HARQ buffer in wireless communication system |
-
2019
- 2019-10-28 CN CN201980099437.6A patent/CN114258698B/en active Active
- 2019-10-28 WO PCT/CN2019/113761 patent/WO2021068301A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105634687A (en) * | 2014-11-04 | 2016-06-01 | 夏普株式会社 | Unauthorized spectrum communication retransmission method, base station and user equipment |
CN108270539A (en) * | 2017-01-03 | 2018-07-10 | 北京三星通信技术研究有限公司 | The method and apparatus of data transmission |
CN108365922A (en) * | 2017-01-26 | 2018-08-03 | 华为技术有限公司 | Method, apparatus and system for feedback |
Also Published As
Publication number | Publication date |
---|---|
WO2021068301A1 (en) | 2021-04-15 |
CN114258698A (en) | 2022-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114124339B (en) | Method for transmitting sidestream data, terminal device and network device | |
US12167445B2 (en) | Method for indicating the allocated resources for a HARQ message in a random access procedure for a low-complexity, narrowband terminal | |
US8625652B2 (en) | Collision-free group hopping in a wireless communication system | |
KR20210005514A (en) | Method and apparatus for indicating time gap for device-to-device communication in a wireless communication system | |
CN115066030B (en) | Method and device for selecting resources and terminal equipment | |
CN113316906A (en) | Information transmission method, terminal equipment and network equipment | |
CN113196844A (en) | Resource allocation method and terminal equipment | |
CN113412595B (en) | Wireless communication method, terminal equipment and network equipment | |
EP3614760B1 (en) | Method and apparatus for information transmission | |
CN113508549B (en) | Method for transmitting sidestream data, terminal equipment and network equipment | |
CN113170492A (en) | Method, terminal device and network device for random access | |
JPWO2021008056A5 (en) | ||
CN113207183A (en) | Communication method, terminal equipment and network equipment | |
CN113517973B (en) | Wireless communication method, terminal equipment and network equipment | |
US12052105B2 (en) | Information processing method and apparatus, storage medium, processor and electronic device | |
CN113766654B (en) | Method and terminal device for transmitting sideline data | |
CN112586031A (en) | Wireless communication method and terminal | |
CN114258698B (en) | Cache clearing method, cache processing method and device and terminal equipment | |
CN115499926B (en) | Sidestream transmission resource allocation method, sidestream transmission resource allocation system, sidestream transmission resource allocation equipment and storage medium | |
CN114830588B (en) | Method, terminal and network equipment for determining effective time | |
WO2023000332A1 (en) | Communication method and apparatus | |
CN116114197B (en) | Wireless communication method, terminal equipment and network equipment | |
CN114258722B (en) | Wireless communication method, terminal device and network device | |
CN113039851B (en) | Wireless communication method, network device and terminal device | |
CN113615272A (en) | Data transmission method, terminal equipment and network equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |