WO2024198499A1 - Information indication method, device and storage medium - Google Patents
Information indication method, device and storage medium Download PDFInfo
- Publication number
- WO2024198499A1 WO2024198499A1 PCT/CN2023/137433 CN2023137433W WO2024198499A1 WO 2024198499 A1 WO2024198499 A1 WO 2024198499A1 CN 2023137433 W CN2023137433 W CN 2023137433W WO 2024198499 A1 WO2024198499 A1 WO 2024198499A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- discarded
- amount
- data stream
- 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.)
- Pending
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/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
-
- 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
-
- 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/0278—Traffic management, e.g. flow control or congestion control using buffer status reports
Definitions
- the present application relates to the field of communication technology, and in particular to an information indication method, device and storage medium.
- terminal devices In new radio (NR) systems, terminal devices usually cache uplink data flows in packet data convergence protocol (PDCP) entities and radio link control (RLC) entities. If data in the uplink data flow is discarded and the terminal device has reported the amount of cached data to the network before the data is discarded, the network may allocate an excess amount of resources to the terminal device.
- PDCP packet data convergence protocol
- RLC radio link control
- the embodiments of the present application provide an information indication method, device and storage medium to avoid errors in reported data cache due to data discard.
- an embodiment of the present application proposes an information indication method, which is applied to a first node of wireless communication, and the method includes: obtaining the amount of discarded data of a first data stream; when the amount of discarded data of the first data stream is greater than a first threshold, indicating at least one of first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream; wherein the first indication information is used to indicate that the first data stream is discarded.
- obtaining the amount of discarded data of the first data stream includes: obtaining the amount of discarded data of the first data stream within a preset time length.
- the method further includes: when it is determined that data is discarded in the first data stream, starting a timer.
- obtaining the amount of discarded data of the first data stream within the preset time length includes: when a timer times out, obtaining the amount of discarded data of the first data stream within the preset time length.
- obtaining the amount of discarded data of the first data stream includes at least one of the following: a packet data convergence protocol PDCP entity of the first node obtains the amount of discarded data of the second data stream; a radio link layer control protocol RLC entity of the first node obtains the amount of discarded data of the third data stream; a media access control MAC entity of the first node obtains the amount of discarded data of the first data stream.
- the amount of discarded data of the first data stream includes at least one of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream; the amount of discarded data of the second data stream includes at least one of the following data contents: the discarded PDCP service data unit SDU of the second data stream; the discarded The PDCP protocol data unit PDU to be transmitted of the second data stream; the discarded PDCP PDU to be retransmitted of the second data stream; the discarded data amount of the third data stream includes at least one of the following data contents: the discarded RLC SDU and RLC SDU segments of the third data stream; the discarded RLC PDU to be transmitted of the third data stream; the discarded RLC PDU to be retransmitted of the third data stream.
- indicating at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream includes: the PDCP entity of the first node indicates at least one item of the first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the MAC entity of the first node.
- indicating at least one item of first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream includes: the PDCP entity of the first node indicates at least one item of the first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream to the RLC entity of the first node.
- the first data stream includes a second data stream
- the PDCP entity of the first node indicates at least one item of first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream to the RLC entity of the first node, including: when the discarded data amount of the second data stream is greater than the first threshold, the PDCP entity indicates at least one item of the first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream to the RLC entity.
- the first data stream includes a second data stream
- the PDCP entity of the first node indicates at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the RLC entity of the first node, including: when the discarded data volume of the second data stream is less than or equal to the first threshold, the PDCP entity indicates the discarded data volume information of the second data stream to the RLC entity.
- indicating at least one item of first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream includes: the RLC entity of the first node indicates at least one item of the first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream to the MAC entity of the first node.
- the RLC entity determines the RLC entity to which the first data stream is transmitted for the PDCP entity, and data is discarded in the first data stream;
- the MAC entity is a MAC entity associated with the RLC entity.
- indicating at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream includes: the MAC entity of the first node indicates at least one item of the first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the second node.
- the first threshold is configured by the second node; or, the first threshold is determined by the first node according to a cache interval of a cache status report BSR.
- the method also includes: receiving first information from a second node, the first information including at least one of the following information: whether to obtain the amount of discarded data of the first data stream; whether to indicate the first indication information; whether to indicate the amount of discarded data of the first data stream; whether to indicate the cached data amount information of the first data stream.
- the first information further includes at least one of the following: the first threshold; the length of the timer.
- an embodiment of the present application proposes an information indication method, which is applied to a second node of wireless communication, and the method includes: sending first information, wherein the first information includes at least one of the following information: whether to obtain the amount of discarded data of the first data stream; whether to indicate first indication information; whether to indicate the amount of discarded data of the first data stream; whether to indicate the cached data amount information of the first data stream.
- the first information further includes at least one of the following: a first threshold; a length of a timer.
- an embodiment of the present application provides a terminal device, comprising: an acquisition module, used to obtain the amount of discarded data of a first data stream; a processing module, used to indicate at least one of first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream when the amount of discarded data of the first data stream is greater than a first threshold; wherein the first indication information is used to indicate that the first data stream is discarded.
- the acquisition module is used to obtain the amount of discarded data of the first data flow within a preset time period.
- the processing module is used to start a timer when it is determined that data is discarded in the first data stream.
- the acquisition module is used to acquire the amount of discarded data of the first data flow within the preset time period when the timer times out.
- obtaining the amount of discarded data of the first data stream includes at least one of the following: a packet data convergence protocol PDCP entity of the terminal device obtains the amount of discarded data of the second data stream; a radio link layer control protocol RLC entity of the terminal device obtains the amount of discarded data of the third data stream; a media access control MAC entity of the terminal device obtains the amount of discarded data of the first data stream.
- the amount of discarded data of the first data stream includes at least one of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream; the amount of discarded data of the second data stream includes at least one of the following data contents: discarded PDCP service data unit SDU of the second data stream; discarded PDCP protocol data unit PDU to be transmitted of the second data stream; discarded PDCP PDU to be retransmitted of the second data stream; the amount of discarded data of the third data stream includes at least one of the following data contents: discarded RLC SDU and RLC SDU segments of the third data stream; discarded RLC PDU to be transmitted of the third data stream; discarded RLC PDU to be retransmitted of the third data stream.
- the processing module is used to indicate at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the MAC entity of the terminal device through the PDCP entity of the terminal device.
- the processing module is used to indicate at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the RLC entity of the terminal device through the PDCP entity of the terminal device.
- the first data stream includes a second data stream
- the processing module is used to indicate at least one of first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream to the RLC entity through the PDCP entity when the amount of discarded data of the second data stream is greater than the first threshold.
- the first data stream includes a second data stream
- the processing module is used to indicate the discarded data amount information of the second data stream to the RLC entity through the PDCP entity when the discarded data amount of the second data stream is less than or equal to the first threshold.
- the processing module is used to indicate at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the MAC entity of the terminal device through the RLC entity of the terminal device.
- the RLC entity determines the RLC entity to which the first data stream is transmitted for the PDCP entity, and data is discarded in the first data stream;
- the MAC entity is a MAC entity associated with the RLC entity.
- the processing module is used to indicate at least one item of the first indication information, the discarded data volume information of the first data flow, or the cached data volume information of the first data flow to the network device through the MAC entity of the terminal device.
- the first threshold is configured by a network device; or, the first threshold is determined by the terminal device according to a cache interval of a cache status report BSR.
- the acquisition module is used to receive first information from a network device, and the first information includes at least one of the following information: whether to obtain the amount of discarded data of the first data stream; whether to indicate the first indication information; whether to indicate the amount of discarded data of the first data stream; whether to indicate the cached data amount information of the first data stream.
- the first information further includes at least one of the following: the first threshold; the length of the timer.
- an embodiment of the present application provides a network device, including: a sending module, used to send first information, the first information including at least one of the following information: whether to obtain the amount of discarded data of the first data stream; whether to indicate first indication information; whether to indicate the amount of discarded data of the first data stream; whether to indicate the cached data amount information of the first data stream.
- the first information also includes at least one of the following: a first threshold; a length of a timer.
- an embodiment of the present application provides a terminal device, comprising: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the terminal device executes the method described in any one of the first aspects of the present application.
- an embodiment of the present application provides a network device, comprising: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the network device executes the method as described in any one of the second aspects of the present application.
- an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects of the present application is implemented.
- an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the second aspects of the present application is implemented.
- an embodiment of the present application provides a computer program product, including a computer program.
- the program When the program is executed, the computer is caused to execute the method as described in any one of the first aspects of the present application.
- an embodiment of the present application provides a computer program product, including a computer program, which, when executed, enables a computer to execute a method as described in any one of the second aspects of the present application.
- An embodiment of the present application provides an information indication method, device and storage medium, wherein the information indication method includes: when the first node determines that data has been discarded in the first data stream, obtaining the amount of discarded data of the first data stream; if it is determined that the amount of discarded data of the first data stream is greater than a first threshold, the first node triggers the first node to report a cache update to the second node by indicating at least one of the discard of the first data stream, information on the amount of discarded data of the first data stream, or information on the amount of cached data of the first data stream, so as to avoid a situation in which errors exist in the cache previously reported by the first node due to data discard.
- FIG1 is a diagram of a communication system architecture provided in an embodiment of the present application.
- FIG2 is a diagram of a protocol stack architecture in a communication system provided in an embodiment of the present application.
- FIG3 is a flow chart of an information indication method according to an embodiment of the present application.
- FIG4 is a second flow chart of the information indication method provided in an embodiment of the present application.
- FIG5 is a third flow chart of the information indication method provided in an embodiment of the present application.
- FIG6 is a fourth flow chart of the information indication method provided in an embodiment of the present application.
- FIG7 is a flowchart diagram 5 of the information indication method provided in an embodiment of the present application.
- FIG8 is a schematic diagram of the connection of internal entities of a first node provided in an embodiment of the present application.
- FIG9 is a sixth flow chart of the information indication method provided in an embodiment of the present application.
- FIG10 is a flow chart of the seventh information indication method provided in an embodiment of the present application.
- FIG11 is a flowchart of an information indication method according to an embodiment of the present application.
- FIG12 is a schematic diagram of the working principle of a timer provided in an embodiment of the present application.
- FIG13 is a flowchart diagram 9 of the information indication method provided in an embodiment of the present application.
- FIG14 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application.
- FIG15 is a schematic diagram of the structure of a network device provided in an embodiment of the present application.
- FIG16 is a schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application.
- FIG17 is a schematic diagram of the hardware structure of the network device provided in an embodiment of the present application.
- At least one refers to one or more, and “more than one” refers to two or more.
- “And/or” describes the association relationship of associated objects, indicating that three relationships may exist.
- a and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
- the character “/” generally indicates that the associated objects before and after are in an "or” relationship.
- “At least one of the following” or similar expressions refers to any combination of these items, including any combination of single or plural items.
- At least one of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple.
- the “when...” in the embodiments of the present application can be the instant when a certain situation occurs, or It may be a period of time after a certain situation occurs, and the embodiment of the present application does not specifically limit this.
- the display interface provided in the embodiment of the present application is only used as an example, and the display interface may also include more or less content.
- FIG1 is a communication system architecture diagram provided in an embodiment of the present application.
- the communication system 100 includes a terminal device 101 and a network device 102, and the terminal device 101 communicates wirelessly with the network device 102.
- the terminal device 101 transmits data to the network device 102
- the data to be transmitted can be stored in a buffer, and an uplink wireless resource can be applied for by reporting a data buffer status report (buffer status report, BSR) to the network device 102.
- BSR buffer status report
- the terminal device 101 transmits data according to the uplink wireless resource allocated to it by the network device 102.
- the terminal device involved in the embodiment of the present application can also be called a terminal, which can be a device with wireless transceiver function, which can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on the water surface (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons and satellites, etc.).
- the terminal device can be a user equipment (UE), wherein the UE includes a handheld device, a vehicle-mounted device, a wearable device or a computing device with a wireless communication function.
- the UE can be a mobile phone, a tablet computer or a computer with a wireless transceiver function.
- the terminal device can also be a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, 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, etc.
- the device for realizing the function of the terminal can be a terminal; it can also be a device that can support the terminal to realize the function, such as a chip system, which can be installed in the terminal.
- the network devices involved in the embodiments of the present application include access network devices or core network devices.
- the network device shown in Figure 1 is an access network device, such as a base station.
- Access network equipment is the intermediate equipment that terminals use to access core network equipment wirelessly. It is mainly responsible for wireless resource management, quality of service (QoS) management, data compression and encryption, etc. on the air interface side.
- base station NodeB evolved base station eNodeB, base station in 5G mobile communication system or new generation wireless (new radio, NR) communication system, base station in future mobile communication system, etc.
- the core network equipment includes user plane function (UPF) network elements, access and mobility management function (AMF) network elements, session management function (SMF) network elements, policy control function (PCF) network elements, etc.
- UPF user plane function
- AMF access and mobility management function
- SMS session management function
- PCF policy control function
- the UPF network element is mainly responsible for the transmission of user data
- other network elements can be called control plane function network elements, which are mainly responsible for authentication, authorization, registration management, session management, mobility management and policy control, etc., to ensure reliable and stable transmission of user data.
- the device for implementing the function of the network device may be a network device, or may be a device that can support the network device to implement the function, such as a chip system, which may be installed in the network device.
- the technical solution provided in the embodiments of the present application can be applied to the Long Term Evolution (LTE) architecture, and can also be applied to the Universal Mobile Telecommunications System (UMTS) Terrestrial Radio Access Network (UTRAN) architecture, or the Global System for Mobile Communication (GSM)/Enhanced Data Rate for GSM Evolution (EDGE) system radio access network (GSM EDGE Radio Access Network, GERAN) architecture.
- LTE Long Term Evolution
- UMTS Universal Mobile Telecommunications System
- UTRAN Universal Mobile Telecommunications System
- GSM Global System for Mobile Communication
- EDGE Enhanced Data Rate for GSM Evolution
- GSM EDGE Radio Access Network GSM EDGE Radio Access Network
- GERAN Global System for Mobile Communication
- PLMN Public Land Mobile Network
- Wireless communication between communication devices may include: wireless communication between network devices and terminals, wireless communication between network devices and network devices, and wireless communication between terminals and terminals.
- wireless communication may also be referred to as “communication”
- communication may also be described as “data transmission”, “information transmission” or “transmission”.
- Those skilled in the art may use the technical solution provided in the embodiments of the present application for wireless communication between network devices and terminals, such as wireless communication between access network devices and terminals, and wireless communication between core network devices and terminals.
- FIG. 2 is a diagram of a protocol stack architecture in a communication system provided in an embodiment of the present application.
- the protocol stack architecture includes: a service data adaptation (SDAP) layer, a packet data convergence protocol (PDCP) layer, a radio link control (RLC) layer, and a media access control (MAC) layer.
- SDAP service data adaptation
- PDCP packet data convergence protocol
- RLC radio link control
- MAC media access control
- the data stream from the application layer is processed by the SDAP layer, the PDCP layer, the RLC layer, the MAC layer, and the physical layer in turn, and is sent to the corresponding layer of the receiving device at the air interface.
- the PDCP layer, the RLC layer, and the MAC layer are mainly involved.
- a PDU set usually includes multiple PDUs, such as PDU1, PDU2 and PDU3.
- the data size of a PDU set ranges from a few Mbits to hundreds of Mbits.
- the terminal device will cache data at the PDCP layer and the RLC layer. If the PDU set is discarded, the amount of cached data of the terminal device will change significantly. Possible reasons for the PDU set discard include, for example, one or more PDUs in the PDU set no longer meet the delay requirements or decoding requirements.
- the network device may allocate uplink resources with an excess amount of cache, resulting in a waste of network resources, an increase in the burden on the network side, and a deterioration in the condition of the entire communication link.
- the terminal device can apply for uplink resources by reporting the BSR or the remaining delay of data transmission to the network device.
- the BSR reported by the terminal device carries an index value, and an index value indicates a cache data volume interval (cache interval).
- the network device obtains the cache interval of the terminal device according to the index value carried in the BSR, and allocates uplink resources to the terminal device according to the cache interval. It can be seen that the cache data volume reported by the terminal device to the network device is a cache interval, not an exact cache value.
- the terminal device may discard several PDU sets at the same time, or the data volume of the PDU sets may be different. Therefore, not all discarded PDU sets will cause BSR reporting errors. Therefore, the embodiment of the present application proposes an information indication method to solve the situation where the above-mentioned PDU set discard causes BSR reporting errors.
- the inventive idea of the scheme is as follows: Considering that the cache data reported by the terminal device is a cache interval, a first threshold for the amount of discarded data can be configured. When data is discarded, the terminal device determines whether the amount of discarded data is greater than the first threshold.
- the terminal device If the amount of discarded data is greater than the first threshold, it means that the amount of cached data of the terminal device has changed significantly, then there is a large error in the cache interval previously reported by the terminal device. If the terminal device does not receive a resource indication at this time, it can update the reported cache interval to the network device, thereby avoiding the network side configuring an excess number of resources for the terminal device due to data discard.
- discarding of the PDU set can also be described as discarding of the data stream, or discarding of the data packet, or discarding of the data set.
- the following embodiments take the discarding of the data stream as an example to illustrate the solution.
- FIG3 is a flow chart of an information indication method provided in an embodiment of the present application. As shown in FIG3 , the information indication method of this embodiment is applied to a first node of wireless communication, and the first node may be the terminal device shown in FIG1 .
- the information indication method includes:
- S301 Obtain the amount of discarded data of a first data stream.
- the first data stream includes one or more data streams, and the first data stream may be a QoS stream, or a data burst stream, or a PDU set, etc., or the first data stream is uplink data, and the uplink data includes multiple data packets (service data unit SDU or protocol data unit PDU), which is not limited to this embodiment of the present application.
- the first data stream may be a QoS stream, or a data burst stream, or a PDU set, etc.
- the first data stream is uplink data
- the uplink data includes multiple data packets (service data unit SDU or protocol data unit PDU), which is not limited to this embodiment of the present application.
- the first node when the first node determines that data in the first data flow is discarded, the first node obtains the amount of discarded data in the first data flow.
- the discarded data amount may be a difference in the amount of cached data.
- the first data stream includes at least one of the second data stream and the third data stream.
- the second data stream may be a data stream of the PDCP layer of the first node, including a data stream successfully transmitted by the PDCP layer of the first node (i.e., all data in the data stream has been successfully transmitted), and a data stream not yet successfully transmitted by the PDCP layer of the first node (i.e., at least one data in the data stream has not been successfully transmitted).
- the data stream not yet successfully transmitted by the PDCP layer of the first node includes data units that need to be discarded in the second data stream.
- the second data stream includes one or more data streams, and the second data stream can be a QoS stream, or a data burst stream, or a PDU set, etc., or the second data stream is uplink data, and the uplink data includes multiple data packets (SDU or PDU), which is not limited to this embodiment of the present application.
- the data units to be discarded in the second data stream include at least one of the following:
- the discarded PDCP SDUs (data units not assembled into PDCP PDUs) of the second data stream;
- the discarded PDCP PDUs to be transmitted of the second data stream (data units not transmitted to the RLC layer);
- the discarded PDCP PDU to be retransmitted (data unit transmitted to the RLC layer but needs to be retransmitted) of the second data stream.
- the third data stream may be a data stream of the RLC layer of the first node, including a data stream successfully transmitted by the RLC layer of the first node (i.e., all data in the data stream has been successfully transmitted), and a data stream not yet successfully transmitted by the RLC layer of the first node (i.e., at least one data in the data stream has not been successfully transmitted).
- the data stream not yet successfully transmitted by the RLC layer of the first node includes data units that need to be discarded in the third data stream.
- the third data stream includes one or more data streams, and the third data stream can be a QoS stream, or a data burst stream, or a PDU set, etc., or the third data stream is uplink data, and the uplink data includes multiple data packets (SDU or PDU), which is not limited to this embodiment of the present application.
- the data units to be discarded in the third data stream include at least one of the following:
- the RLC SDUs and RLC SDU segments (data units not assembled into RLC PDUs) of the third data stream are discarded;
- the discarded RLC PDUs to be transmitted of the third data stream (data units not transmitted to the MAC layer);
- the discarded RLC PDU to be retransmitted (data unit transmitted to the MAC layer but needs to be retransmitted) of the third data stream.
- the discarded data amount information of the first data stream includes the discarded data amount of the first data stream, wherein the discarded data amount of the first data stream includes at least one of the discarded data amount of the second data stream and the discarded data amount of the third data stream.
- the amount of discarded data of the first data flow is the amount of discarded data of the second data flow.
- the amount of discarded data of the first data flow is the amount of discarded data of the third data flow.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream, and the amount of discarded data of the first data stream is the total amount of discarded data of the second data stream and the third data stream.
- the discarded data amount of the second data stream includes at least one of the following data contents:
- the PDCP SDU of the second data stream is discarded
- the discarded PDCP PDU to be retransmitted of the second data stream is discarded.
- the discarded data amount of the third data stream includes at least one of the following data contents:
- the RLC PDU to be transmitted of the third data stream is discarded;
- S302 When the amount of discarded data of the first data stream is greater than a first threshold, indicate at least one of the following: first indication information and/or information on the amount of discarded data of the first data stream; or information on the amount of cached data of the first data stream.
- the first indication information is used to indicate that the first data stream is discarded.
- the cache data volume information of the first data stream includes the cache data volume of the first data stream, and the cache data volume of the first data stream is the cache data volume after data discard occurs in the first data stream.
- the cache data volume of the first data stream includes at least one of the cache data volume of the second data stream and the cache data volume of the third data stream.
- the cache data volume of the second data stream is the cache data volume after data discard occurs in the second data stream
- the cache data volume of the third data stream is the cache data volume after data discard occurs in the third data stream.
- the configuration of the first threshold includes the following two methods:
- the first threshold may be configured by the second node.
- the first node receives first information from the second node, and the first information includes the first threshold.
- the first threshold may be determined by the second node according to network load conditions.
- the first threshold is determined by the first node, and in one implementation manner, is determined according to a cache interval of the BSR.
- the first threshold may be a difference between a maximum cache value and a minimum cache value in a cache interval of the BSR. For example, if the cache interval is [5M, 10M], the first threshold may be configured as 5M (10M-5M).
- the amount of discarded data of the first data flow is greater than the difference between the maximum cache value and the minimum cache value in the cache interval of the BSR reported by the first node, it may cause errors in the BSR reporting.
- the actual cache interval may be, for example, [3M, 5M), so it is reasonable to configure the first threshold for the BSR cache interval.
- the first threshold may be the median of the BSR buffer interval.
- the buffer interval is [3M, 5M]
- the first threshold may be configured as 4M.
- FIG4 is a second flow chart of an information indication method provided in an embodiment of the present application.
- the above S302 includes:
- the first entity of the first node indicates at least one of the following to the second entity of the first node: first indication information; information on the amount of discarded data of the first data stream; information on the amount of cached data of the first data stream.
- the first entity of the first node includes at least one of a PDCP layer and an RLC layer of the first node
- the second entity includes a MAC layer of the first node.
- the first entity of the first node is a PDCP layer of the first node
- the second entity of the first node is an RLC layer of the first node.
- the above indication of the first node is used for resource scheduling by the MAC layer of the first node.
- the MAC layer of the first node may report the latest cache interval to the second node according to the discarded data volume information of the first data stream, that is, re-report the BSR, wherein the second node may be the network device shown in FIG. 1.
- Figure 5 is a flowchart diagram 3 of the information indication method provided in the embodiment of the present application
- Figure 6 is a flowchart diagram 4 of the information indication method provided in the embodiment of the present application
- Figure 7 is a flowchart diagram 5 of the information indication method provided in the embodiment of the present application.
- S3021 may include at least one of the following execution modes:
- Implementation method 1 When the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity of the first node indicates at least one of the following to the MAC entity of the first node: first indication information; discarded data amount information of the first data stream; cached data amount information of the first data stream, as shown in Figure 5.
- the MAC layer of the first node obtains at least one of the first indication information indicated by the PDCP layer of the first node, the discarded data amount information of the first data flow, or the buffered data amount information of the first data flow.
- Implementation method 2 When the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity of the first node indicates at least one of the following to the RLC entity of the first node: first indication information; discarded data amount information of the first data stream; cached data amount information of the first data stream, as shown in Figure 6.
- the RLC layer of the first node obtains at least one of the first indication information indicated by the PDCP layer of the first node, the discarded data amount information of the first data flow, or the buffered data amount information of the first data flow.
- Execution method 3 When the amount of discarded data of the first data stream is greater than the first threshold, the RLC entity of the first node indicates at least one of the following to the MAC entity of the first node: first indication information; discarded data amount information of the first data stream; cached data amount information of the first data stream, as shown in Figure 7.
- the MAC layer of the first node obtains at least one of the first indication information indicated by the RLC layer of the first node, the discarded data amount information of the first data flow, or the buffered data amount information of the first data flow.
- the PDCP entity determines whether the amount of discarded data of the first data stream is greater than the first threshold, which can be the PDCP entity determining whether the amount of discarded data of the second data stream is greater than the first threshold.
- the PDCP entity determines whether the amount of discarded data of the first data stream is greater than the first threshold, including the PDCP entity determining whether the amount of discarded data of the second data stream is greater than the first threshold, or the PDCP entity determining whether the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream is greater than the first threshold.
- the PDCP entity determines whether the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream is greater than the first threshold, which can include the case where the amount of discarded data of the second data stream is less than the first threshold or the case where the amount of discarded data of the second data stream is greater than the first threshold. When the amount of discarded data of the second data stream is less than the first threshold, the PDCP entity needs to obtain the amount of discarded data of the third data stream.
- the PDCP when the first data stream includes the second data stream, the PDCP indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer, and the PDCP entity can indicate the first indication information (the second data stream is discarded), the discarded data amount of the second data stream, or the buffered data amount information of the second data stream to the MAC layer.
- the PDCP indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer, and the PDCP indicates the first indication information (the second data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer.
- the PDCP layer may indicate to the MAC layer the first indication information (the first data stream is discarded), the amount of discarded data of the second data stream, or the amount of cached data of the second data stream.
- the PDCP layer may also indicate to the MAC layer the first indication information (the first data stream is discarded), the amount of discarded data of the first data stream, or the amount of cached data of the first data stream.
- the RLC entity determining whether the amount of discarded data of the first data stream is greater than the first threshold may be the RLC entity determining whether the amount of discarded data of the second data stream is greater than the first threshold.
- the RLC entity determines whether the amount of discarded data of the first data stream is greater than the first threshold, including the RLC entity determining whether the amount of discarded data of the second data stream is greater than the first threshold, or the RLC entity determining whether the amount of discarded data of the third data stream is greater than the first threshold, or the RLC entity determining whether the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream is greater than the first threshold.
- the RLC entity determines whether the sum of the discarded data amount of the second data stream and the discarded data amount of the third data stream is greater than the first threshold, which may include the case where the discarded data amount of the second data stream is less than the first threshold or the case where the discarded data amount of the second data stream is greater than the first threshold.
- the RLC entity needs to determine whether the sum of the discarded data amount of the second data stream and the third data stream is greater than the first threshold; it may also include the case where the discarded data amount of the third data stream is less than the first threshold or the case where the discarded data amount of the third data stream is greater than the first threshold.
- the RLC entity needs to determine whether the sum of the discarded data amount of the second data stream and the third data stream is greater than the first threshold. Therefore, the combination method includes the following contents:
- Combination mode 1 the first data stream is greater than the first threshold, the second data stream is less than the first threshold, and the third data stream is less than the first threshold;
- Combination mode 2 the first data stream is greater than the first threshold, the second data stream is greater than the first threshold, and the third data stream is less than the first threshold;
- Combination mode 3 the first data stream is greater than the first threshold, the second data stream is less than the first threshold, and the third data stream is greater than the first threshold;
- Combination mode 4 the first data stream is greater than the first threshold, the second data stream is greater than the first threshold, and the third data stream is greater than the first threshold.
- the RLC indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer, which can be the RLC entity MAC layer indicating the first indication information (the second data stream is discarded), the discarded data amount of the second data stream, or the buffered data amount information of the second data stream.
- the RLC indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer, which can be the RLC indicating the first indication information (the second data stream is discarded), the discarded data amount of the second data stream, or the buffered data amount information of the second data stream to the MAC layer, or the RLC indicating the first indication information (the third data stream is discarded), the discarded data amount of the third data stream, or the buffered data amount information of the third data stream to the MAC layer, or the RLC indicating the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer.
- the PDCP entity when the PDCP entity indicates information to the RLC entity, the PDCP entity needs to determine the RLC entity to which the first data stream is transmitted, and the PDCP entity subsequently transmits information to the RLC entity.
- the PDCP entity indicates information to the MAC entity, the PDCP entity needs to determine the RLC entity to which the first data stream is transmitted, and determine the MAC entity associated with the RLC entity, and the PDCP entity subsequently transmits information to the MAC entity.
- transmitting information to a MAC entity it is necessary to determine the MAC entity associated with the RLC entity and subsequently transmit information to the MAC entity.
- the PDCP entity is an entity of the PDCP layer of the first node
- the RLC entity is an entity of the RLC layer of the first node
- the MAC entity is an entity of the MAC layer of the first node, wherein the PDCP entity and the RLC entity have an associated relationship, and the RLC entity and the MAC entity have an associated relationship.
- FIG8 is a connection diagram of the internal entities of the first node provided in an embodiment of the present application.
- the PDCP entity is an entity of the PDCP layer of the first node.
- multiple RLC entities may be connected, such as RLC entity 1, RLC entity 2, RLC entity 3, and RLC entity 4 in FIG8 .
- Different RLC entities are connected to the same or different MAC entities, for example, RLC entity 1 and RLC entity 2 in FIG8 are connected to MAC entity 1, and RLC entity 3 and RLC entity 4 are connected to MAC entity 2.
- the PDCP entity may indicate to RLC entity 1 at least one of the discard of the data stream, the amount of discarded data in the data stream, or the amount of cached data in the data stream, and/or indicate to MAC entity 1 connected to RLC entity 1 at least one of the discard of the data stream, the amount of discarded data in the data stream, or the amount of cached data in the data stream.
- the PDCP entity has an association relationship with RLC entity 1
- RLC entity 1 has an association relationship with MAC entity 1.
- association relationship between the PDCP entity and the RLC entity can be understood as a data transmission relationship between the PDCP entity and the RLC entity (specifically a transmission relationship with discarded data streams), and the association relationship between the RLC entity and the MAC entity can also be understood as a data transmission relationship between the RLC entity and the MAC entity.
- the information indication method also includes: the PDCP entity of the first node determines the RLC entity of the first node to which the first data stream is transmitted, and determines the MAC entity of the first node associated with the RLC entity.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 1 includes: when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the second data stream is sent, determines the MAC entity associated with the RLC entity, and indicates to the MAC entity through the RLC entity (that is, the PDCP entity first sends information to the RLC entity, and the RLC entity sends it to the MAC entity after receiving it) at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of buffered data of the second data stream.
- the first indication information is used to indicate that the second data stream is discarded.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 1 includes: when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the second data stream is sent, determines the MAC entity associated with the RLC entity, and the PDCP entity indicates to the MAC entity at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream.
- the first indication information is used to indicate the discard of the second data stream.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, the PDCP entity obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates first indication information to the MAC entity of the first node, wherein the first indication information is used to indicate that the second data stream is discarded.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, the PDCP entity obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates the information of the amount of discarded data of the second data stream to the MAC entity of the first node.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, the PDCP entity obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates the cached data amount information of the second data stream to the MAC entity of the first node.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, it obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates at least two of the following to the MAC entity of the first node: first indication information; information on the amount of discarded data of the second data stream; and information on the amount of cached data of the second data stream.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that the second data stream has data discarded, it obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the second data stream is sent, determines the MAC entity associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream to the MAC entity.
- the first indication information is used to indicate the discard of the second data stream.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream.
- the above-mentioned execution mode 1 includes: when the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the first data stream is sent, determines the MAC entity associated with the RLC entity, and the PDCP entity indicates to the MAC entity through the RLC entity, or indicates to the MAC entity at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream.
- the first indication information is used to indicate that the first data stream (including the second data stream and the third data stream) is discarded.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream.
- the above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that the first data stream has data discarded, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than the first threshold, it indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the MAC entity of the first node.
- the first indication information is used to indicate that the first data stream (including the second data stream and the third data stream) is discarded.
- the PDCP entity of the first node determines that data has been discarded in the second data stream
- the PDCP entity obtains the amount of discarded data of the second data stream and/or the amount of cached data of the second data stream
- the PDCP entity obtains the amount of discarded data of the third data stream and/or the amount of cached data of the third data stream from the RLC entity of the first node.
- the PDCP entity determines that the total amount of discarded data of the second data stream and the third data stream (the amount of discarded data of the first data stream) is greater than the first threshold, the PDCP entity indicates at least one of the first indication information (indicating the discard of the first data stream), the amount of discarded data information of the first data stream, or the amount of cached data information of the first data stream to the MAC entity associated with the RLC entity.
- the cached data amount information of the first data stream includes the cached data amount of the second data stream and/or the cached data amount of the third data stream.
- the PDCP entity of the first node determines that data has been discarded in the second data stream
- the PDCP entity obtains the amount of discarded data of the second data stream.
- the PDCP entity determines that the amount of discarded data of the second data stream is less than or equal to the first threshold
- the PDCP entity indicates the amount of discarded data information of the second data stream to the RLC entity of the first node, as shown in Figure 9.
- the PDCP entity determines that the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates at least one of the first indication information (indicating the discard of the second data stream), the amount of discarded data of the second data stream, or the amount of buffered data of the second data stream to the RLC entity.
- the RLC entity may indicate the amount of discarded data of the third data stream and/or the amount of buffered data of the third data stream to the PDCP entity, so that the PDCP entity determines whether the total amount of discarded data of the second data stream and the third data stream is greater than the first threshold.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream.
- the above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that there is data discard in the first data stream, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity determines the RLC entity of the first node to which the first data stream arrives, determines the MAC entity associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the MAC entity.
- the first indication information is used to indicate the first data stream.
- the discarded data amount of the first data stream includes the discarded data amount of the second data stream.
- the above-mentioned execution mode 2 includes: when the discarded data amount of the second data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the second data stream is sent, and indicates at least one of the first indication information, the discarded data amount information of the second data stream, or the buffered data amount information of the second data stream to the RLC entity.
- the first indication information is used to indicate that the second data stream is discarded.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 2 includes: the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that there is data discarded in the second data stream, it obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates first indication information to the RLC entity of the first node, and the first indication information is used to indicate the discard of the second data stream.
- the RLC entity after receiving the discard of the second data stream, can notify the PDCP entity to send the amount of discarded data of the second data stream, so that the RLC entity can determine the total amount of discarded data, and the total amount of discarded data includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, the PDCP entity obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates the information of the amount of discarded data of the second data stream to the RLC entity of the first node.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, the PDCP entity obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates the buffered data amount information of the second data stream to the RLC entity of the first node.
- the amount of discarded data of the first data flow includes the amount of discarded data of the second data flow.
- the above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that the second data flow has data discarded, obtaining the amount of discarded data of the second data flow, when the amount of discarded data of the second data flow is greater than the first threshold, the PDCP entity sends a message to the first node;
- the RLC entity indicates at least two of the following: first indication information; discarded data volume information of the second data flow; and buffered data volume information of the second data flow.
- the first indication information is used to indicate that the second data flow is discarded.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream.
- the above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that the second data stream has data discarded, it obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the second data stream is sent, and indicates at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream to the RLC entity.
- the first indication information is used to indicate the discard of the second data stream.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream.
- the above-mentioned execution mode 2 includes: when the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity determines the RLC entity of the first node to which the first data stream is sent, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of buffered data of the first data stream to the RLC entity.
- the first indication information is used to indicate the first data stream.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream.
- the above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that data of the first data stream is discarded, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than the first threshold, it indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of buffered data of the first data stream to the RLC entity of the first node.
- the PDCP entity of the first node determines that data has been discarded in the second data stream
- the PDCP entity obtains the amount of discarded data of the second data stream and/or the amount of cached data of the second data stream
- the PDCP entity obtains the amount of discarded data of the third data stream and/or the amount of cached data of the third data stream from the RLC entity of the first node.
- the PDCP entity determines that the total amount of discarded data of the second data stream and the third data stream (the amount of discarded data of the first data stream) is greater than the first threshold, the PDCP entity indicates to the RLC entity at least one of the first indication information (indicating the discard of the first data stream), the amount of discarded data information of the first data stream, or the amount of cached data information of the first data stream.
- the cached data amount information of the first data stream includes the cached data amount of the second data stream and/or the cached data amount of the third data stream.
- the PDCP entity of the first node determines that data has been discarded in the second data stream
- the PDCP entity obtains the amount of discarded data of the second data stream.
- the PDCP entity determines that the amount of discarded data of the second data stream is less than or equal to the first threshold
- the PDCP entity indicates the amount of discarded data information of the second data stream to the RLC entity of the first node, as shown in Figure 9.
- the PDCP entity determines that the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates at least one of the first indication information (indicating the discard of the second data stream), the amount of discarded data of the second data stream, or the amount of buffered data of the second data stream to the RLC entity.
- the RLC entity may indicate the amount of discarded data of the third data stream and/or the amount of buffered data of the third data stream to the PDCP entity, so that the PDCP entity determines whether the total amount of discarded data of the second data stream and the third data stream is greater than the first threshold.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream.
- the above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that there is data discard in the first data stream, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity determines the RLC entity of the first node to which the first data stream arrives, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the RLC entity.
- the first indication information is used to indicate the first data stream.
- the information indication method further includes: the RLC entity of the first node determines the MAC entity of the first node associated with the RLC entity.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream
- the above-mentioned execution mode 3 includes: when the amount of discarded data of the second data stream is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates to the MAC entity at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream, wherein the first indication information is used to indicate the discard of the second data stream.
- data discard occurs at the PDCP layer, and no data discard occurs at the RLC layer.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream
- the above-mentioned execution mode 3 includes: the RLC entity of the first node obtains the amount of discarded data of the second data stream and/or the amount of cached data of the second data stream from the PDCP entity of the first node (it can also be described as: the RLC entity receives the amount of discarded data of the second data stream and/or the amount of cached data of the second data stream indicated by the PDCP entity), and when the amount of discarded data of the second data stream is greater than the first threshold, the RLC entity indicates at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream to the MAC entity of the first node, wherein the first indication information is used to indicate the discard of the second data stream.
- data discard occurs at the PDCP layer
- no data discard occurs at the RLC layer.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream
- the above-mentioned execution mode 3 includes: the RLC entity of the first node obtains the amount of discarded data of the second data stream and/or the amount of cached data of the second data stream from the PDCP entity of the first node, and when the amount of discarded data of the second data stream is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream to the MAC entity, wherein the first indication information is used to indicate the discard of the second data stream.
- data discard occurs at the PDCP layer
- no data discard occurs at the RLC layer.
- the amount of discarded data of the first data stream includes the amount of discarded data of the third data stream.
- the above-mentioned execution mode 3 includes: when the amount of discarded data of the third data stream is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the third data stream, or the amount of cached data of the third data stream to the MAC entity, and the first indication information is used to indicate the discard of the third data stream.
- data discard occurs at the RLC layer, and no data discard occurs at the PDCP layer.
- the amount of discarded data of the first data stream includes the amount of discarded data of the third data stream.
- the above-mentioned execution mode 3 includes: when the RLC entity of the first node determines that the third data stream has data discarded, it obtains the amount of discarded data of the third data stream and/or the amount of cached data of the third data stream, and when the amount of discarded data of the third data stream is greater than the first threshold, the RLC entity indicates at least one of the first indication information, the amount of discarded data of the third data stream, or the amount of cached data of the third data stream to the MAC entity of the first node, and the first indication information is used to indicate the discard of the third data stream.
- data discard occurs at the RLC layer
- no data discard occurs at the PDCP layer.
- the amount of discarded data of the first data stream includes the amount of discarded data of the third data stream.
- the above-mentioned execution method 3 includes: when the RLC entity of the first node determines that the third data stream has data discarded, it obtains the amount of discarded data of the third data stream and/or the amount of cached data of the third data stream. When the amount of discarded data of the third data stream is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the third data stream, or the amount of cached data of the third data stream to the MAC entity, and the first indication information is used to indicate that the third data stream is discarded. In this embodiment, data discard occurs at the RLC layer, and no data discard occurs at the PDCP layer. throw away.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream.
- the above-mentioned execution mode 3 includes: when the amount of discarded data of the first data stream is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the MAC entity.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream.
- the above-mentioned execution mode 3 includes: when the RLC entity of the first node determines that data of the first data stream is discarded, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than the first threshold, it indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the MAC entity of the first node.
- the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream.
- the above-mentioned execution mode 3 includes: when the RLC entity of the first node determines that data of the first data stream is discarded, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than a first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the MAC entity.
- the RLC entity of the first node obtains the amount of discarded data of the second data stream and/or the amount of buffered data of the second data stream from the PDCP entity of the first node (it can also be described as: the RLC entity receives the amount of discarded data of the second data stream and/or the amount of buffered data of the second data stream indicated by the PDCP entity), and the RLC entity obtains the amount of discarded data of the third data stream and/or the amount of buffered data of the second data stream.
- the RLC entity determines that the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream (i.e., the amount of discarded data of the first data stream) is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of buffered data of the first data stream to the MAC entity.
- the first indication information is used to indicate the discard of the first data stream.
- the RLC entity of the first node obtains the amount of discarded data of the second data stream from the PDCP entity of the first node, i.e., the PDCP entity indicates the amount of discarded data of the second data stream to the RLC entity.
- the PDCP entity when the PDCP entity determines that the amount of discarded data of the second data flow is less than or equal to the first threshold, the PDCP entity indicates the amount of discarded data of the second data flow to the RLC entity.
- the RLC entity of the first node receives the first indication information (indicating the discard of the second data stream) indicated by the PDCP entity of the first node, and the RLC entity notifies the PDCP entity to send the discarded data amount of the second data stream and/or the cached data amount of the second data stream.
- the RLC entity obtains the discarded data amount of the third data stream and/or the cached data amount of the third data stream.
- the RLC entity determines that the sum of the discarded data amount of the second data stream and the discarded data amount of the third data stream (i.e., the discarded data amount of the first data stream) is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream to the MAC entity.
- the first indication information is used to indicate the discard of the first data stream.
- data discard occurs at the PDCP layer and the RLC layer.
- the difference between the RLC layer and the PDCP layer is that the RLC layer is lower than the PDCP layer, so when data discard occurs, the amount of discarded data generated by the PDCP layer (and/or the amount of buffered data at the PDCP layer) can be notified to the RLC layer, so the RLC layer can obtain the information of the amount of discarded data at the PDCP layer (and/or the amount of buffered data at the PDCP layer).
- the RLC layer can combine the discarded data amount information of this layer to count the total amount of discarded data at the PCDP layer and the RLC layer (and/or the total amount of buffered data at the PDCP layer and the RLC layer), and then determine whether the total amount of discarded data is greater than the first threshold. If the total amount of discarded data is greater than the first threshold, the RLC layer sends a message to the MAC layer. Indicates at least one of data discard, total discarded data amount information, or total buffered data amount information.
- the RLC entity is an RLC entity determined by the PDCP entity to have received at least one data packet in the second data stream
- the MAC entity is a MAC entity associated with the RLC entity
- the information indication of S3021 may be performed by the PDCP layer or the RLC layer of the first node:
- the execution of the PDPC layer includes: when the PDCP entity determines that data is discarded, the PDCP entity obtains the amount of discarded data. If it is determined that the amount of discarded data is greater than a first threshold, the PDCP entity can indicate at least one of the data discard, the amount of discarded data, or the amount of cached data to the RLC entity, and can also indicate at least one of the data discard, the amount of discarded data, or the amount of cached data to the MAC entity associated with the RLC entity.
- the execution of the RLC layer includes: when the RLC entity determines that data is discarded, the RLC entity obtains the amount of discarded data. If it is determined that the amount of discarded data is greater than a first threshold, the RLC entity can indicate at least one of the data discard, the amount of discarded data or the amount of cached data to the MAC entity associated with the RLC entity.
- the above information indication can trigger the MAC entity to report cache update, which can avoid the situation where the cache previously reported by the first node has errors due to data discard.
- FIG10 is a flow chart of an information indication method according to an embodiment of the present application.
- the above S302 includes:
- the first node When the amount of discarded data of the first data stream is greater than the first threshold, the first node indicates at least one of the following to the second node: first indication information; information on the amount of discarded data of the first data stream; and information on the amount of cached data of the first data stream.
- the first indication information is used to indicate that the first data stream is discarded, the discarded data volume information of the first data stream includes the discarded data volume of the first data stream, the cached data volume information of the first data stream includes the cached data volume of the first data stream, and the cached data volume of the first data stream is the cached data volume after data discard occurs in the first data stream.
- the MAC layer of the first node when the amount of discarded data of the first data stream is greater than a first threshold, indicates to the second node at least one of the first indication information, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream, so that the second node allocates uplink resources to the first node.
- the MAC layer of the first node indicates the discarded data amount information of the first data stream to the second node, and the second node determines the cached data amount information of the first data stream based on the discarded data amount information of the first data stream and/or the cached data amount information previously reported by the first node, and then allocates uplink resources to the first node.
- the MAC layer of the first node indicates the cached data amount information of the first data stream to the second node, and the second node allocates uplink resources to the first node based on the cached data amount information of the first data stream.
- the MAC entity determines that the amount of discarded data of the first data stream is greater than the first threshold, which may be the case that the MAC entity determines that the amount of discarded data of the second data stream is greater than the first threshold.
- the MAC entity determines whether the amount of discarded data of the first data stream is greater than the first threshold, including the MAC entity determining whether the amount of discarded data of the second data stream is greater than the first threshold, or the MAC entity determining whether the amount of discarded data of the third data stream is greater than the first threshold, or the MAC entity determining whether the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream is greater than the first threshold.
- the MAC entity determines whether the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream is greater than the first threshold, which may include the case where the amount of discarded data of the second data stream is less than the first threshold or the case where the amount of discarded data of the second data stream is greater than the first threshold.
- the MAC The entity needs to determine whether the sum of the discarded data volume of the second data stream and the third data stream is greater than the first threshold; at the same time, it can include the case where the discarded data volume of the third data stream is less than the first threshold or the case where the discarded data volume of the third data stream is greater than the first threshold.
- the MAC entity needs to determine whether the sum of the discarded data volume of the second data stream and the third data stream is greater than the first threshold. Therefore, the combination method includes the following contents:
- Combination mode 1 the first data stream is greater than the first threshold, the second data stream is less than the first threshold, and the third data stream is less than the first threshold;
- Combination mode 2 the first data stream is greater than the first threshold, the second data stream is greater than the first threshold, and the third data stream is less than the first threshold;
- Combination mode 3 the first data stream is greater than the first threshold, the second data stream is less than the first threshold, and the third data stream is greater than the first threshold;
- Combination mode 4 the first data stream is greater than the first threshold, the second data stream is greater than the first threshold, and the third data stream is greater than the first threshold.
- the MAC entity determines whether the amount of discarded data of the first data flow is greater than the first threshold, the MAC entity needs to obtain the amount of discarded data of the first data flow.
- the first node indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the cached data amount information of the first data stream to the second node, and the first indication information (the second data stream is discarded), the discarded data amount of the second data stream, or the cached data amount information of the second data stream can be indicated to the first node.
- the first node When the first data stream includes the second data stream and the third data stream, the first node indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the cached data amount information of the first data stream to the second node layer, and the first node can indicate the first indication information (the second data stream is discarded), the discarded data amount of the second data stream, or the cached data amount information of the second data stream to the second node layer, or the first node can indicate the first indication information (the third data stream is discarded), the discarded data amount of the third data stream, or the cached data amount information of the third data stream to the second node, or the first node can indicate the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the cached data amount information of the first data stream to the second node.
- the information indication method shown in this embodiment sends the above indication to the second node so that the second node allocates uplink resources to the first node based on the indication. This can avoid the second node allocating excess uplink resources to the first node due to data discard in the first node, thereby improving the resource utilization of the entire communication link.
- the first node receives a resource scheduling indication from the second node before indicating at least one of the first indication information, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream, then the first node previously determined that the discarded data amount will not affect the resource scheduling, and therefore the first node does not need to indicate at least one of the first indication information, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream.
- S302 may include: S3021 (indication action of each entity inside the first node) and S3022 (indication action of the MAC layer of the first node to the second node).
- the first entity of the first node indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the second entity of the first node (e.g., the MAC layer of the first node); the second entity of the first node indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the second node.
- the second entity of the first node indicates the amount of cached data of the first data stream to the second node
- the second entity may notify the first entity to send the amount of discarded data of the first data flow, the second entity may determine the amount of cached data of the first data flow based on the amount of discarded data of the first data flow, and the second entity indicates the cached data amount information of the first data flow to the second node.
- the second entity may notify the first entity to send the cached data volume of the first data flow, and the second entity indicates the cached data volume information of the first data flow to the second node.
- the second entity can determine the amount of cached data of the first data flow based on the amount of discarded data of the first data flow, and the second entity indicates the cached data amount information of the first data flow to the second node.
- the second entity indicates the cached data volume information of the first data flow to the second node.
- the first entity of the first node determines that the first data stream has data discarded
- the discarded data volume information of the first data stream is obtained, and the discarded data volume information of the first data stream is indicated to the second entity of the first node (e.g., the MAC layer of the first node);
- the second entity determines whether the discarded data volume of the first data stream is greater than the first threshold. If the discarded data volume of the first data stream is greater than the first threshold, the second entity determines the buffered data volume information of the first data stream, and indicates the buffered data volume information of the first data stream to the second node.
- the discarded data volume information of the first data stream includes the discarded data volume of the second data stream indicated by the PDCP layer to the MAC layer, and/or the discarded data volume of the third data stream indicated by the RLC layer to the MAC layer.
- the MAC layer of the first node in this embodiment has the function of counting the total amount of discarded data and judging whether the total amount of discarded data is greater than the first threshold.
- the information indicated by the MAC layer of the first node to the second node in the above-mentioned process is carried by MAC CE (MAC Control Element).
- the information indicating the amount of cached data of the first data flow can be understood as triggering resource scheduling when it is determined that data is discarded and the amount of data discarded is greater than the first threshold, such as the first node (such as the MAC layer) re-reporting the BSR to the second node.
- the first threshold such as the first node (such as the MAC layer) re-reporting the BSR to the second node.
- the first node when the first node determines that data has been discarded in the first data stream, it obtains the amount of discarded data of the first data stream. If it is determined that the amount of discarded data of the first data stream is greater than a first threshold, the first node triggers the first node to report a cache update to the second node by indicating at least one of the discard of the first data stream, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream, so as to avoid a situation where the cache previously reported by the first node has errors due to data discard.
- FIG11 is a flow chart of an information indication method provided in an embodiment of the present application.
- the information indication method of this embodiment is applied to a first node of wireless communication, and the first node may be a terminal device as shown in FIG1.
- the information indication method includes:
- the preset duration may be configured by the second node or obtained by the first node itself (eg, obtained by the first node through calculation using some parameters), and this application does not limit this.
- the preset time period may be used to count the amount of discarded data of the first data stream, and the amount of discarded data of the first data stream may be counted when the preset time period expires.
- the first node when it determines that data is discarded in the first data flow, it starts a timer.
- timer when the timer is enabled, if data is continuously discarded, the timer will not be restarted unless new data is discarded after the timer times out or stops.
- S1101 may include: when the timer times out, obtaining the amount of discarded data of the first data flow within a preset time length.
- the length of the timer may be the preset time length, and the length of the timer may be configured by the second node.
- the amount of discarded data of the first data flow within the preset time length obtained includes the amount of data of the data flow that triggers the start of the timer.
- the timer corresponds to a data radio bearer (DRB) or a data stream.
- DRB data radio bearer
- FIG12 shows a schematic diagram of the working principle of a timer.
- the first node when the first node determines that data in the first data stream is discarded, it starts a timer. When the timer times out, the first node can count the amount of discarded data in the first data stream within the timer duration, and then determine whether the amount of discarded data in the first data stream is greater than the first threshold.
- the first node when the first node determines that data in the first data stream is discarded, it starts a timer. Before the timer expires, if the first node receives a resource scheduling indication, it stops the timer, and the first node does not need to count the amount of discarded data in the first data stream.
- the timer is configured at the first protocol layer of the first node (such as the PDCP layer or the RLC layer)
- the second protocol layer (MAC layer) of the first node can obtain the resource scheduling indication, so the resource scheduling indication can be sent by the second protocol layer of the first node to the first protocol layer of the first node, and the first protocol layer of the first node stops the timer.
- the resource scheduling indication obtained by the second protocol layer of the first node is sent to the first node by the second node, or it can be said that the first node receives the resource scheduling indication from the second node.
- the first node obtains the resource scheduling indication it means that the first node already has resources for data transmission, so the amount of data discarded before will not affect the resource scheduling, so there is no need to count the amount of discarded data.
- the length of the timer is less than or equal to the average scheduling time of the resource, wherein the average scheduling time of the resource can be understood as the average time interval for the first node to obtain the resource after reporting the BSR to the second node.
- the first node obtains the amount of discarded data of the first data stream, including at least one of the following: the PDCP entity of the first node obtains the amount of discarded data of the second data stream; the RLC entity of the first node obtains the amount of discarded data of the third data stream; the MAC entity of the first node obtains the amount of discarded data of the first data stream.
- the amount of discarded data of the second data stream within a preset time length is obtained.
- the first timer is started, and when the first timer times out, the amount of discarded data in the second data stream is obtained.
- the length of the first timer can be configured by the second node.
- the PDCP entity is used to count the amount of discarded data in the second data stream. If the second data stream includes multiple data streams (e.g., multiple PDU sets), the PDCP entity can count the amount of discarded data for each data stream (e.g., each PDU set) separately, and then count the total amount of discarded data for the multiple data streams.
- the PDCP entity of the first node determines that data of the second data stream is discarded
- the first timer is started, and when the first timer times out, the amount of discarded data of the second data stream is obtained.
- the PDCP entity indicates the first indication information and/or the amount of discarded data of the second data stream to the RLC entity of the first node, and the first indication information is used to indicate the discard of the second data stream.
- the RLC entity When the RLC entity obtains the first indication information and/or the amount of discarded data of the second data stream, the RLC It can be known that data is discarded within a period of time, that is, the amount of discarded data of the third data flow can be counted, and the RLC entity obtains the amount of discarded data of the third data flow within the first timer duration.
- the PDCP entity of the first node determines that data discard occurs in the second data stream, it indicates data discard indication information to the RLC entity of the first node. At this time, the RLC entity can learn that data discard has occurred at the PDCP entity.
- the RLC entity receives data discard indication information from the PDCP entity again (i.e., receives data discard indication information twice in succession), the RLC entity counts the time length between the two data discard indication information for the third data stream.
- the PDCP entity of the first node when it determines that data has been discarded in the second data stream, it starts the first timer and indicates the indication information of the first timer being turned on to the RLC entity of the first node. At this time, the RLC entity can learn that data discard has occurred in the PDCP entity.
- the RLC entity receives the discarded data amount of the second data stream counted by the PDCP entity from the PDCP entity, the RLC entity counts the third data stream information of the time from receiving the indication information of the first timer being turned on to receiving the discarded data amount of the second data stream.
- the RLC entity is used to count the sum of the discarded data amount of the second data stream and the discarded data amount of the third data stream, that is, to count the discarded data amount of the first data stream.
- the sum of the discarded data amount of the second data stream and the discarded data amount of the third data stream is the total discarded data amount of the PDCP layer and the RLC layer in the same time period.
- the MAC entity of the first node determines that data in the first data stream is discarded, the amount of discarded data in the first data stream within a preset time length is obtained.
- the third timer when the MAC entity of the first node determines that data has been discarded in the first data stream, the third timer is started, and when the third timer times out, the amount of discarded data in the first data stream is obtained.
- the length of the third timer can be configured by the second node.
- the MAC entity obtains the amount of discarded data of the second data stream from the PDCP entity of the first node, and/or the MAC entity obtains the amount of discarded data of the third data stream from the RLC entity of the first node.
- the MAC entity is used to count the total amount of discarded data of the second data stream and/or the third data stream within the duration of the third timer (i.e., count the amount of discarded data of the first data stream within the duration of the third timer).
- the PDCP entity of the first node when it determines that data has been discarded in the second data stream, it starts a first timer. If, before the first timer expires, the PDCP entity obtains a resource scheduling indication (the MAC entity indicates the resource scheduling indication to the RLC entity, and the RLC entity then indicates the resource scheduling indication to the PDCP entity; or, the MAC entity indicates the resource scheduling indication to the PDCP entity), the PDCP entity stops the first timer, and the PDCP entity does not need to count the amount of discarded data in the second data stream.
- the RLC entity of the first node determines that data of the third data stream is discarded, the discarded data amount of the third data stream within a preset time length is obtained.
- the second timer is started, and when the second timer times out, the amount of discarded data in the third data stream is obtained.
- the length of the second timer can be configured by the second node.
- data discard occurs at the RLC layer, and no data discard occurs at the PDCP layer.
- the RLC entity is used to count the amount of discarded data in the third data stream. If the third data stream includes multiple data streams, the RLC entity can count the total amount of discarded data in the multiple data streams by counting the amount of discarded data of each data stream respectively.
- the RLC entity of the first node when it determines that data has been discarded in the third data stream, it starts a second timer. If, before the second timer expires, the RLC entity obtains a resource scheduling indication through the MAC entity of the first node, the RLC entity stops the second timer, and the RLC entity does not need to count the amount of discarded data in the third data stream.
- first timer the lengths of the first timer, the second timer and the third timer may be the same or different. This embodiment is not limited to this.
- S1102 When the amount of discarded data of the first data stream is greater than a first threshold, indicate at least one of first indication information, information about the amount of discarded data of the first data stream, or information about the amount of buffered data of the first data stream.
- S1102 of this embodiment may refer to S302 of the above embodiment, which will not be elaborated here.
- the information indication method shown in the embodiment of the present application is that when the first node determines that data has been discarded in the first data stream, after obtaining the amount of discarded data of the first data stream within a preset time length, if it is determined that the amount of discarded data of the first data stream is greater than a first threshold, the first node triggers the first node to report a cache update to the second node by indicating at least one of the discard of the first data stream, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream, so as to avoid the situation where the cache previously reported by the first node has errors due to data discard.
- FIG13 is a flow chart of an information indication method according to an embodiment of the present application. As shown in FIG13 , the information indication method according to the present embodiment includes:
- the second node sends first information.
- the second node sends first information to the first node.
- the first information includes at least one of the following information:
- the first information includes whether to obtain the amount of discarded data of the first data flow.
- the first information includes first identification information. If the first identification information is used to instruct the first node to obtain the amount of discarded data of the first data stream, the first node triggers the function of obtaining (or counting or calculating) the amount of discarded data of the first data stream based on the first identification information.
- the first information includes first identification information. If the first identification information is used to indicate that the first node does not obtain the amount of discarded data of the first data stream, the first node does not trigger a function of obtaining the amount of discarded data of the first data stream based on the first identification information.
- the first information does not include or releases the first identification information.
- This example is equivalent to the second node not configuring in the first information whether to obtain the identification information of the amount of discarded data of the first data stream. Therefore, the first node will not trigger the function of obtaining the amount of discarded data of the first data stream.
- the first information includes whether to indicate first indication information.
- the first information includes second identification information. If the second identification information is used to indicate that the first node indicates the first indication information, the first node triggers a function of the first node indicating the first indication information according to the second identification information.
- the first information includes second identification information. If the second identification information is used to indicate that the first node does not indicate the first indication information, the first node does not trigger a function of indicating the first indication information based on the second identification information.
- the first information does not include or releases the second identification information.
- This example is equivalent to the second node not configuring the identification information of whether to indicate the first indication information in the first information, so the first node will not trigger the function of indicating the first indication information.
- the first information includes information indicating whether to indicate the amount of discarded data of the first data flow.
- the first information includes third identification information. If the third identification information is used to indicate that the first node indicates the amount of discarded data of the first data flow, the first node triggers the first node to indicate the amount of discarded data of the first data flow according to the third identification information. The function to discard the amount of data flow information.
- the first information includes third identification information. If the third identification information is used to indicate that the first node does not indicate the discarded data volume information of the first data stream, the first node does not trigger the function of indicating the discarded data volume information of the first data stream based on the third identification information.
- the first information does not include or releases the third identification information.
- This example is equivalent to the second node not configuring the identification information indicating whether to indicate the discarded data volume information of the first data stream in the first information. Therefore, the first node will not trigger the function of indicating the discarded data volume information of the first data stream.
- the first information includes information indicating whether to indicate the amount of buffered data of the first data flow. Or the first information includes information indicating whether the first node indicates the amount of buffered data of the first data flow when the first data flow is discarded.
- the first information includes fourth identification information. If the fourth identification information is used to indicate the first node to indicate the cached data volume information of the first data stream, or to indicate the first node to indicate the cached data volume information of the first data stream when the first data stream is discarded, the first node triggers the function of the first node to indicate the cached data volume information of the first data stream based on the fourth identification information.
- the first information includes fourth identification information. If the fourth identification information is used to indicate that the first node does not indicate the cached data volume information of the first data stream, or indicates that the first node does not indicate the cached data volume information of the first data stream when the first data stream is discarded, the first node does not trigger the function of the first node indicating the cached data volume information of the first data stream based on the fourth identification information.
- the first information does not include or releases the fourth identification information.
- This example is equivalent to the second node not configuring the identification information indicating the cached data volume information of the first data stream in the first information. Therefore, the first node will not trigger the function of indicating the cached data volume information of the first data stream.
- the first information further includes at least one of the following: a first threshold; a length of a timer.
- the first information may include at least one of the following: the length of a first timer; the length of a second timer; the length of a third timer.
- the first timer may be configured at the PDCP layer of the first node
- the second timer may be configured at the RLC layer of the first node
- the third timer may be configured at the MAC layer of the first node.
- the lengths of the first timer, the second timer, and the third timer may be the same or different.
- the information indication method shown in the embodiment of the present application can trigger the first node to execute by sending the first information to the first node through the second node: when it is determined that data has been discarded in the first data stream, after obtaining the discarded data amount of the first data stream within a preset time length, if it is determined that the discarded data amount of the first data stream is greater than a first threshold, indicating to the second node at least one of the discard of the first data stream, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream, to avoid errors in the cache reported by the first node to the second node due to data discard, causing the second node to allocate excess resources to the first node.
- Figure 14 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application.
- the terminal device 1400 includes: an acquisition module 1401, which is used to acquire the amount of discarded data of the first data stream; a processing module 1402, which is used to indicate at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream when the amount of discarded data of the first data stream is greater than the first threshold; wherein the first indication information is used to indicate that the first data stream is discarded.
- the acquisition module 1401 is used to acquire the amount of discarded data of the first data flow within a preset time period.
- the processing module 1402 is configured to start a timer when it is determined that data is discarded in the first data stream.
- the acquisition module 1401 is used to acquire the amount of discarded data of the first data flow within a preset time period when the timer times out.
- obtaining the amount of discarded data of the first data stream includes at least one of the following: a packet data convergence protocol PDCP entity of a terminal device obtains the amount of discarded data of a second data stream; a radio link layer control protocol RLC entity of the terminal device obtains the amount of discarded data of a third data stream; a media access control MAC entity of the terminal device obtains the amount of discarded data of the first data stream.
- the amount of discarded data of the first data stream includes at least one of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream; the amount of discarded data of the second data stream includes at least one of the following data contents: discarded PDCP service data unit SDU of the second data stream; discarded PDCP protocol data unit PDU to be transmitted of the second data stream; discarded PDCP PDU to be retransmitted of the second data stream; the amount of discarded data of the third data stream includes at least one of the following data contents: discarded RLC SDU and RLC SDU segments of the third data stream; discarded RLC PDU to be transmitted of the third data stream; discarded RLC PDU to be retransmitted of the third data stream.
- the processing module 1402 is used to indicate at least one of the first indication information, the discarded data volume information of the first data flow, or the cached data volume information of the first data flow to the MAC entity of the terminal device through the PDCP entity of the terminal device.
- the processing module 1402 is used to indicate at least one of the first indication information, the discarded data volume information of the first data flow, or the cached data volume information of the first data flow to the RLC entity of the terminal device through the PDCP entity of the terminal device.
- the first data stream includes a second data stream
- the processing module 1402 is used to indicate at least one of the first indication information, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream to the RLC entity through the PDCP entity when the discarded data amount of the second data stream is greater than the first threshold.
- the first data stream includes a second data stream
- the processing module 1402 is used to indicate the discarded data amount information of the second data stream to the RLC entity through the PDCP entity when the discarded data amount of the second data stream is less than or equal to the first threshold.
- the processing module 1402 is used to indicate at least one of the first indication information, the discarded data volume information of the first data stream, or the cached data volume information of the first data stream to the MAC entity of the terminal device through the RLC entity of the terminal device.
- the RLC entity is a RLC entity to which the PDCP entity determines to transmit a first data stream, and data in the first data stream is discarded; and the MAC entity is a MAC entity associated with the RLC entity.
- the processing module 1402 is used to indicate at least one of the first indication information, the discarded data volume information of the first data flow, or the cached data volume information of the first data flow to the network device through the MAC entity of the terminal device.
- the first threshold is configured by the network device; or, the first threshold is determined by the terminal device according to a buffer interval of a buffer status report BSR.
- the acquisition module 1401 is used to receive first information from a network device, and the first information includes at least one of the following information: whether to obtain the amount of discarded data of the first data stream; whether to indicate first indication information; whether to indicate the amount of discarded data of the first data stream; whether to indicate the cached data amount information of the first data stream.
- the first information further includes at least one of the following: a first threshold; and a length of a timer.
- the terminal device provided in this embodiment is used to implement the technical solution of the first node in the aforementioned method embodiment.
- the current principle and technical effect are similar and will not be described here.
- Figure 15 is a schematic diagram of the structure of a network device provided by an embodiment of the present application.
- the network device 1500 includes: a sending module 1501, which is used to send a first information, and the first information includes at least one of the following information: whether to obtain the amount of discarded data of the first data flow; whether to indicate the first indication information; whether to indicate the amount of discarded data of the first data flow; whether to indicate the amount of cached data of the first data flow.
- the first information further includes at least one of the following: a first threshold; and a length of a timer.
- the network device provided in this embodiment is used to implement the technical solution of the second node in the aforementioned method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
- Figure 16 is a schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application.
- the terminal device 1600 includes: a processor 1601 and a memory 1602; the memory 1602 stores computer-executable instructions; the processor 1601 executes the computer-executable instructions stored in the memory 1602, so that the terminal device executes the technical solution of the first node in the aforementioned method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
- Figure 17 is a schematic diagram of the hardware structure of the network device provided in the embodiment of the present application.
- the network device 1700 includes: a processor 1701 and a memory 1702; the memory 1702 stores computer-executable instructions; the processor 1701 executes the computer-executable instructions stored in the memory 1702, so that the network device executes the technical solution of the second node in the aforementioned method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
- An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program.
- the computer program is executed by a processor, the method steps performed by the first node in the aforementioned method embodiment are implemented.
- An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program.
- the computer program is executed by a processor, the method steps performed by the second node in the aforementioned method embodiment are implemented.
- An embodiment of the present application provides a computer program product, including a computer program.
- the computer program When the computer program is executed, the computer executes the method steps executed by the first node in the aforementioned method embodiment.
- An embodiment of the present application provides a computer program product, including a computer program.
- the computer program When the computer program is executed, the computer executes the method steps executed by the second node in the aforementioned method embodiment.
- Computer-readable media may include computer storage media and communication media, and may also include any medium that can transfer a computer program from one place to another.
- the storage medium may be any target medium that can be accessed by a computer.
- a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer.
- any connection is appropriately referred to as a computer-readable medium.
- a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology such as infrared, radio and microwave
- DSL digital subscriber line
- wireless technology such as infrared, radio and microwave
- Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVD), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.
- An embodiment of the present application provides a computer program product, which includes a computer program.
- the computer program When the computer program is executed, the computer executes the above method.
- each process and/or box in the flowchart and/or block diagram, and the combination of the process and/or box in the flowchart and/or block diagram can be implemented by computer program instructions.
- These computer program instructions can be provided to the processing unit of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable device to produce a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device produce a device for implementing the function specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
- Information Transfer Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本申请要求于2023年03月31日提交中国国家知识产权局、申请号为202310379972.5、申请名称为“信息指示方法、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on March 31, 2023, with application number 202310379972.5 and application name “Information Indication Method, Device and Storage Medium”, all contents of which are incorporated by reference in this application.
本申请涉及通信技术领域,尤其涉及一种信息指示方法、设备及存储介质。The present application relates to the field of communication technology, and in particular to an information indication method, device and storage medium.
在新一代无线(new radio,NR)系统中,终端设备通常会在分组数据汇聚协议(packet data convergence protocol,PDCP)实体和无线链路控制(radio link control,RLC)实体缓存上行数据流。如果上行数据流有数据丢弃,且在发生数据丢弃前终端设备已向网络侧上报缓存数据量,则可能导致网络侧为终端设备分配多余数量的资源。In new radio (NR) systems, terminal devices usually cache uplink data flows in packet data convergence protocol (PDCP) entities and radio link control (RLC) entities. If data in the uplink data flow is discarded and the terminal device has reported the amount of cached data to the network before the data is discarded, the network may allocate an excess amount of resources to the terminal device.
由于终端设备上报的缓存数据量通常为一个区间值,因此并不是只要有数据丢弃,就会导致之前上报的缓存数据量有误。鉴于此,如何避免数据丢弃导致的缓存上报误差,是目前亟待解决的一个问题。Since the amount of cache data reported by the terminal device is usually an interval value, it is not the case that as long as there is data discarded, the previously reported amount of cache data will be incorrect. In view of this, how to avoid cache reporting errors caused by data discard is a problem that needs to be solved urgently.
发明内容Summary of the invention
本申请实施例提供一种信息指示方法、设备及存储介质,避免由于数据丢弃导致上报的数据缓存存在误差。The embodiments of the present application provide an information indication method, device and storage medium to avoid errors in reported data cache due to data discard.
第一方面,本申请实施例提出一种信息指示方法,应用于无线通信的第一节点,该方法包括:获取第一数据流的丢弃数据量;当所述第一数据流的丢弃数据量大于第一门限时,指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项;其中所述第一指示信息用于指示所述第一数据流丢弃。In a first aspect, an embodiment of the present application proposes an information indication method, which is applied to a first node of wireless communication, and the method includes: obtaining the amount of discarded data of a first data stream; when the amount of discarded data of the first data stream is greater than a first threshold, indicating at least one of first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream; wherein the first indication information is used to indicate that the first data stream is discarded.
本申请第一方面的一个可选实施例中,获取所述第一数据流的丢弃数据量,包括:获取在预设时长内所述第一数据流的丢弃数据量。In an optional embodiment of the first aspect of the present application, obtaining the amount of discarded data of the first data stream includes: obtaining the amount of discarded data of the first data stream within a preset time length.
本申请第一方面的一个可选实施例中,所述方法还包括:确定所述第一数据流中有数据丢弃时,开启定时器。In an optional embodiment of the first aspect of the present application, the method further includes: when it is determined that data is discarded in the first data stream, starting a timer.
本申请第一方面的一个可选实施例中,获取在所述预设时长内所述第一数据流的丢弃数据量,包括:当定时器超时时,获取在所述预设时长内所述第一数据流的丢弃数据量。In an optional embodiment of the first aspect of the present application, obtaining the amount of discarded data of the first data stream within the preset time length includes: when a timer times out, obtaining the amount of discarded data of the first data stream within the preset time length.
本申请第一方面的一个可选实施例中,获取所述第一数据流的丢弃数据量,包括以下至少一项:所述第一节点的分组数据汇聚协议PDCP实体获取第二数据流的丢弃数据量;所述第一节点的无线链路层控制协议RLC实体获取第三数据流的丢弃数据量;所述第一节点的媒体访问控制MAC实体获取所述第一数据流的丢弃数据量。In an optional embodiment of the first aspect of the present application, obtaining the amount of discarded data of the first data stream includes at least one of the following: a packet data convergence protocol PDCP entity of the first node obtains the amount of discarded data of the second data stream; a radio link layer control protocol RLC entity of the first node obtains the amount of discarded data of the third data stream; a media access control MAC entity of the first node obtains the amount of discarded data of the first data stream.
本申请第一方面的一个可选实施例中,所述第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量的至少一项;所述第二数据流的丢弃数据量包括以下至少一项数据内容:丢弃的所述第二数据流的PDCP业务数据单元SDU;丢弃的所述 第二数据流的待传输的PDCP协议数据单元PDU;丢弃的所述第二数据流的待重传的PDCP PDU;所述第三数据流的丢弃数据量包括以下至少一项数据内容:丢弃的所述第三数据流的RLC SDU和RLC SDU分段;丢弃的所述第三数据流的待传输的RLC PDU;丢弃的所述第三数据流的待重传的RLC PDU。In an optional embodiment of the first aspect of the present application, the amount of discarded data of the first data stream includes at least one of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream; the amount of discarded data of the second data stream includes at least one of the following data contents: the discarded PDCP service data unit SDU of the second data stream; the discarded The PDCP protocol data unit PDU to be transmitted of the second data stream; the discarded PDCP PDU to be retransmitted of the second data stream; the discarded data amount of the third data stream includes at least one of the following data contents: the discarded RLC SDU and RLC SDU segments of the third data stream; the discarded RLC PDU to be transmitted of the third data stream; the discarded RLC PDU to be retransmitted of the third data stream.
本申请第一方面的一个可选实施例中,指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项,包括:所述第一节点的PDCP实体向所述第一节点的MAC实体指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment of the first aspect of the present application, indicating at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream includes: the PDCP entity of the first node indicates at least one item of the first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the MAC entity of the first node.
本申请第一方面的一个可选实施例中,指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项,包括:所述第一节点的PDCP实体向所述第一节点的RLC实体指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment of the first aspect of the present application, indicating at least one item of first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream includes: the PDCP entity of the first node indicates at least one item of the first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream to the RLC entity of the first node.
本申请第一方面的一个可选实施例中,所述第一数据流包括第二数据流,所述第一节点的PDCP实体向所述第一节点的RLC实体指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项,包括:当所述第二数据流的丢弃数据量大于所述第一门限时,所述PDCP实体向所述RLC实体指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment of the first aspect of the present application, the first data stream includes a second data stream, and the PDCP entity of the first node indicates at least one item of first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream to the RLC entity of the first node, including: when the discarded data amount of the second data stream is greater than the first threshold, the PDCP entity indicates at least one item of the first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream to the RLC entity.
本申请第一方面的一个可选实施例中,所述第一数据流包括第二数据流,所述第一节点的PDCP实体向所述第一节点的RLC实体指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项,包括:当所述第二数据流的丢弃数据量小于或等于所述第一门限时,所述PDCP实体向所述RLC实体指示所述第二数据流的丢弃数据量信息。In an optional embodiment of the first aspect of the present application, the first data stream includes a second data stream, and the PDCP entity of the first node indicates at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the RLC entity of the first node, including: when the discarded data volume of the second data stream is less than or equal to the first threshold, the PDCP entity indicates the discarded data volume information of the second data stream to the RLC entity.
本申请第一方面的一个可选实施例中,指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项,包括:所述第一节点的RLC实体向所述第一节点的MAC实体指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment of the first aspect of the present application, indicating at least one item of first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream includes: the RLC entity of the first node indicates at least one item of the first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream to the MAC entity of the first node.
本申请第一方面的一个可选实施例中,所述RLC实体为所述PDCP实体确定传输所述第一数据流到的RLC实体,所述第一数据流中有数据丢弃;所述MAC实体为与所述RLC实体关联的MAC实体。In an optional embodiment of the first aspect of the present application, the RLC entity determines the RLC entity to which the first data stream is transmitted for the PDCP entity, and data is discarded in the first data stream; the MAC entity is a MAC entity associated with the RLC entity.
本申请第一方面的一个可选实施例中,指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项,包括:所述第一节点的MAC实体向第二节点指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment of the first aspect of the present application, indicating at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream includes: the MAC entity of the first node indicates at least one item of the first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the second node.
本申请第一方面的一个可选实施例中,所述第一门限由第二节点配置;或者,所述第一门限由所述第一节点根据缓存状态报告BSR的缓存区间确定。In an optional embodiment of the first aspect of the present application, the first threshold is configured by the second node; or, the first threshold is determined by the first node according to a cache interval of a cache status report BSR.
本申请第一方面的一个可选实施例中,所述方法还包括:接收来自第二节点的第一信息,所述第一信息包括以下至少一项信息:是否获取所述第一数据流的丢弃数据量;是否指示所述第一指示信息;是否指示所述第一数据流的丢弃数据量信息;是否指示所述第一数据流的缓存数据量信息。 In an optional embodiment of the first aspect of the present application, the method also includes: receiving first information from a second node, the first information including at least one of the following information: whether to obtain the amount of discarded data of the first data stream; whether to indicate the first indication information; whether to indicate the amount of discarded data of the first data stream; whether to indicate the cached data amount information of the first data stream.
本申请第一方面的一个可选实施例中,所述第一信息还包括以下至少一项:所述第一门限;定时器的长度。In an optional embodiment of the first aspect of the present application, the first information further includes at least one of the following: the first threshold; the length of the timer.
第二方面,本申请实施例提出一种信息指示方法,应用于无线通信的第二节点,该方法包括:发送第一信息,所述第一信息包括以下至少一项信息:是否获取第一数据流的丢弃数据量;是否指示第一指示信息;是否指示所述第一数据流的丢弃数据量信息;是否指示所述第一数据流的缓存数据量信息。In the second aspect, an embodiment of the present application proposes an information indication method, which is applied to a second node of wireless communication, and the method includes: sending first information, wherein the first information includes at least one of the following information: whether to obtain the amount of discarded data of the first data stream; whether to indicate first indication information; whether to indicate the amount of discarded data of the first data stream; whether to indicate the cached data amount information of the first data stream.
本申请第二方面的一个可选实施例中,所述第一信息还包括以下至少一项:第一门限;定时器的长度。In an optional embodiment of the second aspect of the present application, the first information further includes at least one of the following: a first threshold; a length of a timer.
第三方面,本申请实施例提供一种终端设备,包括:获取模块,用于获取第一数据流的丢弃数据量;处理模块,用于当所述第一数据流的丢弃数据量大于第一门限时,指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项;其中所述第一指示信息用于指示所述第一数据流丢弃。In a third aspect, an embodiment of the present application provides a terminal device, comprising: an acquisition module, used to obtain the amount of discarded data of a first data stream; a processing module, used to indicate at least one of first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream when the amount of discarded data of the first data stream is greater than a first threshold; wherein the first indication information is used to indicate that the first data stream is discarded.
本申请第三方面的一个可选实施例中,所述获取模块,用于获取在预设时长内所述第一数据流的丢弃数据量。In an optional embodiment of the third aspect of the present application, the acquisition module is used to obtain the amount of discarded data of the first data flow within a preset time period.
本申请第三方面的一个可选实施例中,所述处理模块,用于确定所述第一数据流中有数据丢弃时,开启定时器。In an optional embodiment of the third aspect of the present application, the processing module is used to start a timer when it is determined that data is discarded in the first data stream.
本申请第三方面的一个可选实施例中,所述获取模块,用于当定时器超时时,获取在所述预设时长内所述第一数据流的丢弃数据量。In an optional embodiment of the third aspect of the present application, the acquisition module is used to acquire the amount of discarded data of the first data flow within the preset time period when the timer times out.
本申请第三方面的一个可选实施例中,获取所述第一数据流的丢弃数据量,包括以下至少一项:所述终端设备的分组数据汇聚协议PDCP实体获取第二数据流的丢弃数据量;所述终端设备的无线链路层控制协议RLC实体获取第三数据流的丢弃数据量;所述终端设备的媒体访问控制MAC实体获取所述第一数据流的丢弃数据量。In an optional embodiment of the third aspect of the present application, obtaining the amount of discarded data of the first data stream includes at least one of the following: a packet data convergence protocol PDCP entity of the terminal device obtains the amount of discarded data of the second data stream; a radio link layer control protocol RLC entity of the terminal device obtains the amount of discarded data of the third data stream; a media access control MAC entity of the terminal device obtains the amount of discarded data of the first data stream.
本申请第三方面的一个可选实施例中,所述第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量的至少一项;所述第二数据流的丢弃数据量包括以下至少一项数据内容:丢弃的所述第二数据流的PDCP业务数据单元SDU;丢弃的所述第二数据流的待传输的PDCP协议数据单元PDU;丢弃的所述第二数据流的待重传的PDCP PDU;所述第三数据流的丢弃数据量包括以下至少一项数据内容:丢弃的所述第三数据流的RLC SDU和RLC SDU分段;丢弃的所述第三数据流的待传输的RLC PDU;丢弃的所述第三数据流的待重传的RLC PDU。In an optional embodiment of the third aspect of the present application, the amount of discarded data of the first data stream includes at least one of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream; the amount of discarded data of the second data stream includes at least one of the following data contents: discarded PDCP service data unit SDU of the second data stream; discarded PDCP protocol data unit PDU to be transmitted of the second data stream; discarded PDCP PDU to be retransmitted of the second data stream; the amount of discarded data of the third data stream includes at least one of the following data contents: discarded RLC SDU and RLC SDU segments of the third data stream; discarded RLC PDU to be transmitted of the third data stream; discarded RLC PDU to be retransmitted of the third data stream.
本申请第三方面的一个可选实施例中,所述处理模块,用于通过所述终端设备的PDCP实体向所述终端设备的MAC实体指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment of the third aspect of the present application, the processing module is used to indicate at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the MAC entity of the terminal device through the PDCP entity of the terminal device.
本申请第三方面的一个可选实施例中,所述处理模块,用于通过所述终端设备的PDCP实体向所述终端设备的RLC实体指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment of the third aspect of the present application, the processing module is used to indicate at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the RLC entity of the terminal device through the PDCP entity of the terminal device.
本申请第三方面的一个可选实施例中,所述第一数据流包括第二数据流,所述处理模块,用于当所述第二数据流的丢弃数据量大于所述第一门限时,通过所述PDCP实体向所述RLC实体指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。 In an optional embodiment of the third aspect of the present application, the first data stream includes a second data stream, and the processing module is used to indicate at least one of first indication information, discarded data amount information of the first data stream, or cached data amount information of the first data stream to the RLC entity through the PDCP entity when the amount of discarded data of the second data stream is greater than the first threshold.
本申请第三方面的一个可选实施例中,所述第一数据流包括第二数据流,所述处理模块,用于当所述第二数据流的丢弃数据量小于或等于所述第一门限时,通过所述PDCP实体向所述RLC实体指示所述第二数据流的丢弃数据量信息。In an optional embodiment of the third aspect of the present application, the first data stream includes a second data stream, and the processing module is used to indicate the discarded data amount information of the second data stream to the RLC entity through the PDCP entity when the discarded data amount of the second data stream is less than or equal to the first threshold.
本申请第三方面的一个可选实施例中,所述处理模块,用于通过所述终端设备的RLC实体向所述终端设备的MAC实体指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment of the third aspect of the present application, the processing module is used to indicate at least one item of first indication information, discarded data volume information of the first data stream, or cached data volume information of the first data stream to the MAC entity of the terminal device through the RLC entity of the terminal device.
本申请第三方面的一个可选实施例中,所述RLC实体为所述PDCP实体确定传输所述第一数据流到的RLC实体,所述第一数据流中有数据丢弃;所述MAC实体为与所述RLC实体关联的MAC实体。In an optional embodiment of the third aspect of the present application, the RLC entity determines the RLC entity to which the first data stream is transmitted for the PDCP entity, and data is discarded in the first data stream; the MAC entity is a MAC entity associated with the RLC entity.
本申请第三方面的一个可选实施例中,所述处理模块,用于通过所述终端设备的MAC实体向网络设备指示第一指示信息、所述第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment of the third aspect of the present application, the processing module is used to indicate at least one item of the first indication information, the discarded data volume information of the first data flow, or the cached data volume information of the first data flow to the network device through the MAC entity of the terminal device.
本申请第三方面的一个可选实施例中,所述第一门限由网络设备配置;或者,所述第一门限由所述终端设备根据缓存状态报告BSR的缓存区间确定。In an optional embodiment of the third aspect of the present application, the first threshold is configured by a network device; or, the first threshold is determined by the terminal device according to a cache interval of a cache status report BSR.
本申请第三方面的一个可选实施例中,所述获取模块,用于接收来自网络设备的第一信息,所述第一信息包括以下至少一项信息:是否获取所述第一数据流的丢弃数据量;是否指示所述第一指示信息;是否指示所述第一数据流的丢弃数据量信息;是否指示所述第一数据流的缓存数据量信息。In an optional embodiment of the third aspect of the present application, the acquisition module is used to receive first information from a network device, and the first information includes at least one of the following information: whether to obtain the amount of discarded data of the first data stream; whether to indicate the first indication information; whether to indicate the amount of discarded data of the first data stream; whether to indicate the cached data amount information of the first data stream.
本申请第三方面的一个可选实施例中,所述第一信息还包括以下至少一项:所述第一门限;定时器的长度。In an optional embodiment of the third aspect of the present application, the first information further includes at least one of the following: the first threshold; the length of the timer.
第四方面,本申请实施例提供一种网络设备,包括:发送模块,用于发送第一信息,所述第一信息包括以下至少一项信息:是否获取第一数据流的丢弃数据量;是否指示第一指示信息;是否指示所述第一数据流的丢弃数据量信息;是否指示所述第一数据流的缓存数据量信息。In a fourth aspect, an embodiment of the present application provides a network device, including: a sending module, used to send first information, the first information including at least one of the following information: whether to obtain the amount of discarded data of the first data stream; whether to indicate first indication information; whether to indicate the amount of discarded data of the first data stream; whether to indicate the cached data amount information of the first data stream.
本申请第四方面的一个可选实施例中,所述第一信息还包括以下至少一项:第一门限;定时器的长度。In an optional embodiment of the fourth aspect of the present application, the first information also includes at least one of the following: a first threshold; a length of a timer.
第五方面,本申请实施例提供一种终端设备,包括:处理器和存储器;所述存储器存储计算机执行指令;所述处理器执行所述存储器存储的计算机执行指令,使得所述终端设备执行如本申请第一方面任一项所述的方法。In the fifth aspect, an embodiment of the present application provides a terminal device, comprising: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the terminal device executes the method described in any one of the first aspects of the present application.
第六方面,本申请实施例提供一种网络设备,包括:处理器和存储器;所述存储器存储计算机执行指令;所述处理器执行所述存储器存储的计算机执行指令,使得所述网络设备执行如本申请第二方面任一项所述的方法。In a sixth aspect, an embodiment of the present application provides a network device, comprising: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the network device executes the method as described in any one of the second aspects of the present application.
第七方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如本申请第一方面任一项所述的方法。In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects of the present application is implemented.
第八方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如本申请第二方面任一项所述的方法。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the second aspects of the present application is implemented.
第九方面,本申请实施例提供一种计算机程序产品,包括计算机程序,当所述计算机 程序被运行时,使得计算机执行如本申请第一方面任一项所述的方法。In a ninth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the program is executed, the computer is caused to execute the method as described in any one of the first aspects of the present application.
第十方面,本申请实施例提供一种计算机程序产品,包括计算机程序,当所述计算机程序被运行时,使得计算机执行如本申请第二方面任一项所述的方法。In a tenth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed, enables a computer to execute a method as described in any one of the second aspects of the present application.
本申请实施例提供一种信息指示方法、设备及存储介质,其中,信息指示方法包括:第一节点在确定第一数据流有数据丢弃时,获取第一数据流的丢弃数据量,若确定第一数据流的丢弃数据量大于第一门限,第一节点通过指示第一数据流丢弃、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项,以触发第一节点向第二节点上报缓存更新,避免由于数据丢弃导致第一节点之前上报的缓存存在误差的情况。An embodiment of the present application provides an information indication method, device and storage medium, wherein the information indication method includes: when the first node determines that data has been discarded in the first data stream, obtaining the amount of discarded data of the first data stream; if it is determined that the amount of discarded data of the first data stream is greater than a first threshold, the first node triggers the first node to report a cache update to the second node by indicating at least one of the discard of the first data stream, information on the amount of discarded data of the first data stream, or information on the amount of cached data of the first data stream, so as to avoid a situation in which errors exist in the cache previously reported by the first node due to data discard.
图1为本申请实施例提供的通信系统架构图;FIG1 is a diagram of a communication system architecture provided in an embodiment of the present application;
图2为本申请实施例提供的通信系统中的一种协议栈架构图;FIG2 is a diagram of a protocol stack architecture in a communication system provided in an embodiment of the present application;
图3为本申请实施例提供的信息指示方法的流程示意图一;FIG3 is a flow chart of an information indication method according to an embodiment of the present application;
图4为本申请实施例提供的信息指示方法的流程示意图二;FIG4 is a second flow chart of the information indication method provided in an embodiment of the present application;
图5为本申请实施例提供的信息指示方法的流程示意图三;FIG5 is a third flow chart of the information indication method provided in an embodiment of the present application;
图6为本申请实施例提供的信息指示方法的流程示意图四;FIG6 is a fourth flow chart of the information indication method provided in an embodiment of the present application;
图7为本申请实施例提供的信息指示方法的流程示意图五;FIG7 is a flowchart diagram 5 of the information indication method provided in an embodiment of the present application;
图8为本申请实施例提供的第一节点的内部实体的连接示意图;FIG8 is a schematic diagram of the connection of internal entities of a first node provided in an embodiment of the present application;
图9为本申请实施例提供的信息指示方法的流程示意图六;FIG9 is a sixth flow chart of the information indication method provided in an embodiment of the present application;
图10为本申请实施例提供的信息指示方法的流程示意图七;FIG10 is a flow chart of the seventh information indication method provided in an embodiment of the present application;
图11为本申请实施例提供的信息指示方法的流程示意图八;FIG11 is a flowchart of an information indication method according to an embodiment of the present application;
图12为本申请实施例提供的定时器的工作原理示意图;FIG12 is a schematic diagram of the working principle of a timer provided in an embodiment of the present application;
图13为本申请实施例提供的信息指示方法的流程示意图九;FIG13 is a flowchart diagram 9 of the information indication method provided in an embodiment of the present application;
图14为本申请实施例提供的终端设备的结构示意图;FIG14 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
图15为本申请实施例提供的网络设备的结构示意图;FIG15 is a schematic diagram of the structure of a network device provided in an embodiment of the present application;
图16为本申请实施例提供的终端设备的硬件结构示意图;FIG16 is a schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application;
图17为本申请实施例提供的网络设备的硬件结构示意图。FIG17 is a schematic diagram of the hardware structure of the network device provided in an embodiment of the present application.
为了便于清楚描述本申请实施例的技术方案,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character "/" generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple.
需要说明的是,本申请实施例中的“当……时”,可以为在某种情况发生的瞬时,也 可以为在某种情况发生后的一段时间内,本申请实施例对此不作具体限定。此外,本申请实施例提供的显示界面仅作为示例,显示界面还可以包括更多或更少的内容。It should be noted that the “when…” in the embodiments of the present application can be the instant when a certain situation occurs, or It may be a period of time after a certain situation occurs, and the embodiment of the present application does not specifically limit this. In addition, the display interface provided in the embodiment of the present application is only used as an example, and the display interface may also include more or less content.
为了更好地理解本申请实施例提供的信息指示方法,下面首先对本申请实施例的通信系统架构进行描述。In order to better understand the information indication method provided by the embodiment of the present application, the communication system architecture of the embodiment of the present application is first described below.
示例性的,图1为本申请实施例提供的通信系统架构图。如图1所示,该通信系统100包括终端设备101和网络设备102,终端设备101与网络设备102无线通信。本申请实施例中,当终端设备101向网络设备102传输数据时,可将待传输的数据存放在缓存器(buffer)中,通过向网络设备102上报数据缓存状态报告(buffer status report,BSR),申请上行无线资源。终端设备101根据网络设备102为其分配的上行无线资源传输数据。Exemplarily, FIG1 is a communication system architecture diagram provided in an embodiment of the present application. As shown in FIG1 , the communication system 100 includes a terminal device 101 and a network device 102, and the terminal device 101 communicates wirelessly with the network device 102. In the embodiment of the present application, when the terminal device 101 transmits data to the network device 102, the data to be transmitted can be stored in a buffer, and an uplink wireless resource can be applied for by reporting a data buffer status report (buffer status report, BSR) to the network device 102. The terminal device 101 transmits data according to the uplink wireless resource allocated to it by the network device 102.
本申请实施例涉及到的终端设备还可以称为终端,可以是一种具有无线收发功能的设备,其可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。终端设备可以是用户设备(user equipment,UE),其中,UE包括具有无线通信功能的手持式设备、车载设备、可穿戴设备或计算设备。示例性的,UE可以是手机(mobile phone)、平板电脑或带无线收发功能的电脑。终端设备还可以是虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制中的无线终端、无人驾驶中的无线终端、远程医疗中的无线终端、智能电网中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。本申请实施例中,用于实现终端的功能的装置可以是终端;也可以是能够支持终端实现该功能的装置,例如芯片系统,该装置可以被安装在终端中。The terminal device involved in the embodiment of the present application can also be called a terminal, which can be a device with wireless transceiver function, which can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on the water surface (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons and satellites, etc.). The terminal device can be a user equipment (UE), wherein the UE includes a handheld device, a vehicle-mounted device, a wearable device or a computing device with a wireless communication function. Exemplarily, the UE can be a mobile phone, a tablet computer or a computer with a wireless transceiver function. The terminal device can also be a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, 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, etc. In the embodiment of the present application, the device for realizing the function of the terminal can be a terminal; it can also be a device that can support the terminal to realize the function, such as a chip system, which can be installed in the terminal.
本申请实施例涉及到的网络设备包括接入网设备或核心网设备,例如,图1所示的网络设备为接入网设备,例如基站。The network devices involved in the embodiments of the present application include access network devices or core network devices. For example, the network device shown in Figure 1 is an access network device, such as a base station.
接入网设备是终端通过无线方式接入到核心网设备的中间设备,主要负责空口侧的无线资源管理、服务质量(quality of service,QoS)管理、数据压缩和加密等。例如:基站NodeB、演进型基站eNodeB、5G移动通信系统或新一代无线(new radio,NR)通信系统中的基站、未来移动通信系统中的基站等。Access network equipment is the intermediate equipment that terminals use to access core network equipment wirelessly. It is mainly responsible for wireless resource management, quality of service (QoS) management, data compression and encryption, etc. on the air interface side. For example: base station NodeB, evolved base station eNodeB, base station in 5G mobile communication system or new generation wireless (new radio, NR) communication system, base station in future mobile communication system, etc.
核心网设备包括用户面功能(user plane function,UPF)网元、接入和移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、策略控制功能(policy control function,PCF)网元等。其中,UPF网元主要负责用户数据的传输,其他网元可以称为控制面功能网元,主要负责认证、鉴权、注册管理、会话管理、移动性管理以及策略控制等,以保障用户数据可靠稳定的传输。The core network equipment includes user plane function (UPF) network elements, access and mobility management function (AMF) network elements, session management function (SMF) network elements, policy control function (PCF) network elements, etc. Among them, the UPF network element is mainly responsible for the transmission of user data, and other network elements can be called control plane function network elements, which are mainly responsible for authentication, authorization, registration management, session management, mobility management and policy control, etc., to ensure reliable and stable transmission of user data.
本申请实施例中,用于实现网络设备的功能的装置可以是网络设备,也可以是能够支持网络设备实现该功能的装置,例如芯片系统,该装置可以被安装在网络设备中。In an embodiment of the present application, the device for implementing the function of the network device may be a network device, or may be a device that can support the network device to implement the function, such as a chip system, which may be installed in the network device.
本申请实施例提供的技术方案可以应用于长期演进(Long Term Evolution,LTE)架构,还可以应用于通用移动通信系统(Universal Mobile Telecommunications System,UMTS)陆地无线接入网(UMTS Terrestrial Radio Access Network,UTRAN)架构,或者全球移动通信系统(Global System for Mobile Communication,GSM)/增强型数据速率GSM演进(Enhanced Data Rate for GSM Evolution,EDGE)系统的无线接入网(GSM EDGE Radio Access Network,GERAN)架构。此外,本申请实施例提供的技术方案还可以应用于其它任何有类似结构和功能的无线通信系统中,例如公共陆地移动网络(Public Land Mobile Network,PLMN)系统,5G通信系统或5G之后的通信系统等,对此本申请实施例不做任何限制。The technical solution provided in the embodiments of the present application can be applied to the Long Term Evolution (LTE) architecture, and can also be applied to the Universal Mobile Telecommunications System (UMTS) Terrestrial Radio Access Network (UTRAN) architecture, or the Global System for Mobile Communication (GSM)/Enhanced Data Rate for GSM Evolution (EDGE) system radio access network (GSM EDGE Radio Access Network, GERAN) architecture. In addition, the technical solution provided in the embodiments of the present application can also be applied to any other wireless communication system with similar structure and function, such as the Public Land Mobile Network (PLMN) The present invention does not impose any limitation on the embodiments of the present invention.
通信设备间的无线通信可以包括:网络设备和终端间的无线通信、网络设备和网络设备间的无线通信以及终端和终端间的无线通信。在本申请实施例中,术语“无线通信”还可以简称为“通信”,术语“通信”还可以描述为“数据传输”、“信息传输”或“传输”。本领域技术人员可以将本申请实施例提供的技术方案用于进行网络设备和终端间的无线通信,例如接入网设备和终端间的无线通信,核心网设备和终端间的无线通信。Wireless communication between communication devices may include: wireless communication between network devices and terminals, wireless communication between network devices and network devices, and wireless communication between terminals and terminals. In the embodiments of the present application, the term "wireless communication" may also be referred to as "communication", and the term "communication" may also be described as "data transmission", "information transmission" or "transmission". Those skilled in the art may use the technical solution provided in the embodiments of the present application for wireless communication between network devices and terminals, such as wireless communication between access network devices and terminals, and wireless communication between core network devices and terminals.
图2为本申请实施例提供的通信系统中的一种协议栈架构图。如图2所示,该协议栈架构包括:业务数据适配(Service Date Adaptation,SDAP)层,分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层,无线链路控制(Radio Link Control,RLC)层,媒体接入控制(Media Access Control,MAC)层。来自应用层的数据流依次经过SDAP层、PDCP层、RLC层、MAC层、物理(Physical)层的处理,在空口进行发送到接收端设备的相应层。在本申请实施例中,主要涉及到PDCP层、RLC层和MAC层。Figure 2 is a diagram of a protocol stack architecture in a communication system provided in an embodiment of the present application. As shown in Figure 2, the protocol stack architecture includes: a service data adaptation (SDAP) layer, a packet data convergence protocol (PDCP) layer, a radio link control (RLC) layer, and a media access control (MAC) layer. The data stream from the application layer is processed by the SDAP layer, the PDCP layer, the RLC layer, the MAC layer, and the physical layer in turn, and is sent to the corresponding layer of the receiving device at the air interface. In the embodiment of the present application, the PDCP layer, the RLC layer, and the MAC layer are mainly involved.
Rel-18XR课题引入了协议数据单元集(PDU set)的概念,一个PDUset通常包括多个PDU,例如PDU1、PDU2和PDU3,一个PDU set的数据量大小在几Mbits到几百Mbits之间。对于NR系统来说,终端设备会在PDCP层和RLC层缓存数据,如果发生了PDU set的丢弃,则终端设备的缓存数据量会发生较大变化。发生PDU set丢弃的可能原因包括例如PDU set中的一个或多个PDU已经不满足时延要求或者解码要求等。Rel-18XR introduces the concept of protocol data unit set (PDU set). A PDU set usually includes multiple PDUs, such as PDU1, PDU2 and PDU3. The data size of a PDU set ranges from a few Mbits to hundreds of Mbits. For the NR system, the terminal device will cache data at the PDCP layer and the RLC layer. If the PDU set is discarded, the amount of cached data of the terminal device will change significantly. Possible reasons for the PDU set discard include, for example, one or more PDUs in the PDU set no longer meet the delay requirements or decoding requirements.
如果终端设备在PDU set丢弃之前上报过缓存数据量,并且正在等待网络设备为其分配上行资源,则有可能终端设备上报了多余的缓存数量,那么网络设备可能会分配多余缓存数量的上行资源,造成网络资源的浪费,增加网络侧的负担,导致整个通信链路的状况变差。If the terminal device has reported the amount of cached data before the PDU set is discarded and is waiting for the network device to allocate uplink resources for it, it is possible that the terminal device has reported an excess amount of cache. In this case, the network device may allocate uplink resources with an excess amount of cache, resulting in a waste of network resources, an increase in the burden on the network side, and a deterioration in the condition of the entire communication link.
具体来说,终端设备可通过向网络设备上报BSR或者数据传输剩余延迟,申请上行资源。以BSR为例,终端设备上报的BSR中携带索引(index)值,一个索引值指示一个缓存数据量区间(缓存区间),网络设备根据BSR中携带的索引值获知终端设备的缓存区间,从而根据该缓存区间为终端设备分配上行资源。可见,终端设备向网络设备上报的缓存数据量为一个缓存区间,而不是一个确切的缓存值。Specifically, the terminal device can apply for uplink resources by reporting the BSR or the remaining delay of data transmission to the network device. Taking BSR as an example, the BSR reported by the terminal device carries an index value, and an index value indicates a cache data volume interval (cache interval). The network device obtains the cache interval of the terminal device according to the index value carried in the BSR, and allocates uplink resources to the terminal device according to the cache interval. It can be seen that the cache data volume reported by the terminal device to the network device is a cache interval, not an exact cache value.
当发生PDU set的丢弃时,终端设备可能会同时丢弃几个PDU set,或者PDU set数据量大小不一,因此并不是所有的PDU set的丢弃都会导致BSR的上报误差。因此,本申请实施例提出一种信息指示方法,以解决上述PDU set的丢弃导致BSR上报误差的情况。方案的发明思路如下:考虑到终端设备上报的缓存数据为一个缓存区间,可通过配置丢弃数据量的第一门限,当发生数据丢弃时,终端设备通过判断丢弃数据量是否大于第一门限,如果丢弃数据量大于第一门限,则说明终端设备的缓存数据量发生较大变化,那么终端设备之前上报的缓存区间存在较大误差,如果此时终端设备未接收到资源指示,可以向网络设备更新上报的缓存区间,从而避免由于数据丢弃导致网络侧为终端设备配置多余数量的资源。When a PDU set is discarded, the terminal device may discard several PDU sets at the same time, or the data volume of the PDU sets may be different. Therefore, not all discarded PDU sets will cause BSR reporting errors. Therefore, the embodiment of the present application proposes an information indication method to solve the situation where the above-mentioned PDU set discard causes BSR reporting errors. The inventive idea of the scheme is as follows: Considering that the cache data reported by the terminal device is a cache interval, a first threshold for the amount of discarded data can be configured. When data is discarded, the terminal device determines whether the amount of discarded data is greater than the first threshold. If the amount of discarded data is greater than the first threshold, it means that the amount of cached data of the terminal device has changed significantly, then there is a large error in the cache interval previously reported by the terminal device. If the terminal device does not receive a resource indication at this time, it can update the reported cache interval to the network device, thereby avoiding the network side configuring an excess number of resources for the terminal device due to data discard.
需要说明的是,上述PDU set的丢弃也可以描述为数据流的丢弃,或者数据包的丢弃,或者数据集的丢弃。下文实施例以数据流的丢弃为例进行方案说明。It should be noted that the above-mentioned discarding of the PDU set can also be described as discarding of the data stream, or discarding of the data packet, or discarding of the data set. The following embodiments take the discarding of the data stream as an example to illustrate the solution.
下面通过具体实施例对本申请所示的技术方案进行详细说明。需要说明的是,下面几 个实施例可以单独存在也可以相互结合。对于相同或相似的内容,例如,术语或名词的解释说明,及步骤的解释说明等,在不同的实施例中可以相互参考,不再重复说明。The technical solutions shown in this application are described in detail below through specific embodiments. The embodiments may exist separately or in combination with each other. For the same or similar contents, such as explanations of terms or nouns, and explanations of steps, etc., in different embodiments, reference may be made to each other and no repetition is given.
图3为本申请实施例提供的信息指示方法的流程示意图一。如图3所示,本实施例的信息指示方法应用于无线通信的第一节点,第一节点可以是图1所示的终端设备。该信息指示方法,包括:FIG3 is a flow chart of an information indication method provided in an embodiment of the present application. As shown in FIG3 , the information indication method of this embodiment is applied to a first node of wireless communication, and the first node may be the terminal device shown in FIG1 . The information indication method includes:
S301、获取第一数据流的丢弃数据量。S301: Obtain the amount of discarded data of a first data stream.
一种示例中,第一数据流包括一个或多个数据流,第一数据流可以为QoS流,或者数据突发(data burst)流,或者PDU set等,或者第一数据流为上行数据,上行数据包括多个数据包(业务数据单元SDU或协议数据单元PDU),对此本申请实施例不作限定。In one example, the first data stream includes one or more data streams, and the first data stream may be a QoS stream, or a data burst stream, or a PDU set, etc., or the first data stream is uplink data, and the uplink data includes multiple data packets (service data unit SDU or protocol data unit PDU), which is not limited to this embodiment of the present application.
一种示例中,第一节点在确定第一数据流有数据丢弃时,获取第一数据流的丢弃数据量。In one example, when the first node determines that data in the first data flow is discarded, the first node obtains the amount of discarded data in the first data flow.
一种示例中,丢弃数据量可以为缓存数据量差值。In one example, the discarded data amount may be a difference in the amount of cached data.
本实施例中,第一数据流包括第二数据流和第三数据流的至少一项。In this embodiment, the first data stream includes at least one of the second data stream and the third data stream.
其中,第二数据流可以是第一节点的PDCP层的数据流,包括第一节点的PDCP层传输成功的数据流(即该数据流中所有的数据已经传输成功),以及第一节点的PDCP层还未传输成功的数据流(即该数据流中还有至少一个数据没有传输成功)。第一节点的PDCP层还未传输成功的数据流中包括第二数据流中需要丢弃的数据单元。The second data stream may be a data stream of the PDCP layer of the first node, including a data stream successfully transmitted by the PDCP layer of the first node (i.e., all data in the data stream has been successfully transmitted), and a data stream not yet successfully transmitted by the PDCP layer of the first node (i.e., at least one data in the data stream has not been successfully transmitted). The data stream not yet successfully transmitted by the PDCP layer of the first node includes data units that need to be discarded in the second data stream.
一种示例中,第二数据流包括一个或多个数据流,第二数据流可以为QoS流,或者数据突发(data burst)流,或者PDU set等,或者第二数据流为上行数据,上行数据包括多个数据包(SDU或PDU),对此本申请实施例不作限定。In one example, the second data stream includes one or more data streams, and the second data stream can be a QoS stream, or a data burst stream, or a PDU set, etc., or the second data stream is uplink data, and the uplink data includes multiple data packets (SDU or PDU), which is not limited to this embodiment of the present application.
第二数据流中需要丢弃的数据单元包括以下至少一项:The data units to be discarded in the second data stream include at least one of the following:
丢弃的第二数据流的PDCP SDU(未组装成PDCP PDU的数据单元);The discarded PDCP SDUs (data units not assembled into PDCP PDUs) of the second data stream;
丢弃的第二数据流的待传输的PDCP PDU(未传输至RLC层的数据单元);The discarded PDCP PDUs to be transmitted of the second data stream (data units not transmitted to the RLC layer);
丢弃的第二数据流的待重传的PDCP PDU(传输至RLC层但需要重传的数据单元)。The discarded PDCP PDU to be retransmitted (data unit transmitted to the RLC layer but needs to be retransmitted) of the second data stream.
其中,第三数据流可以是第一节点的RLC层的数据流,包括第一节点的RLC层传输成功的数据流(即该数据流中所有的数据已经传输成功),以及第一节点的RLC层还未传输成功的数据流(即该数据流中还有至少一个数据没有传输成功)。第一节点的RLC层还未传输成功的数据流中包括第三数据流中需要丢弃的数据单元。The third data stream may be a data stream of the RLC layer of the first node, including a data stream successfully transmitted by the RLC layer of the first node (i.e., all data in the data stream has been successfully transmitted), and a data stream not yet successfully transmitted by the RLC layer of the first node (i.e., at least one data in the data stream has not been successfully transmitted). The data stream not yet successfully transmitted by the RLC layer of the first node includes data units that need to be discarded in the third data stream.
一种示例中,第三数据流包括一个或多个数据流,第三数据流可以为QoS流,或者数据突发(data burst)流,或者PDU set等,或者第三数据流为上行数据,上行数据包括多个数据包(SDU或PDU),对此本申请实施例不作限定。In one example, the third data stream includes one or more data streams, and the third data stream can be a QoS stream, or a data burst stream, or a PDU set, etc., or the third data stream is uplink data, and the uplink data includes multiple data packets (SDU or PDU), which is not limited to this embodiment of the present application.
第三数据流中需要丢弃的数据单元包括以下至少一项:The data units to be discarded in the third data stream include at least one of the following:
丢弃的第三数据流的RLC SDU和RLC SDU分段(未组装成RLC PDU的数据单元);The RLC SDUs and RLC SDU segments (data units not assembled into RLC PDUs) of the third data stream are discarded;
丢弃的第三数据流的待传输的RLC PDU(未传输至MAC层的数据单元);The discarded RLC PDUs to be transmitted of the third data stream (data units not transmitted to the MAC layer);
丢弃的第三数据流的待重传的RLC PDU(传输至MAC层但需要重传的数据单元)。The discarded RLC PDU to be retransmitted (data unit transmitted to the MAC layer but needs to be retransmitted) of the third data stream.
本实施例中,第一数据流的丢弃数据量信息包括第一数据流的丢弃数据量。其中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量的至少一项。In this embodiment, the discarded data amount information of the first data stream includes the discarded data amount of the first data stream, wherein the discarded data amount of the first data stream includes at least one of the discarded data amount of the second data stream and the discarded data amount of the third data stream.
一种可能的示例中,第一数据流的丢弃数据量是第二数据流的丢弃数据量。 In a possible example, the amount of discarded data of the first data flow is the amount of discarded data of the second data flow.
一种可能的示例中,第一数据流的丢弃数据量是第三数据流的丢弃数据量。In a possible example, the amount of discarded data of the first data flow is the amount of discarded data of the third data flow.
一种可能的示例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量,第一数据流的丢弃数据量是第二数据流和第三数据流的总的丢弃数据量。In a possible example, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream, and the amount of discarded data of the first data stream is the total amount of discarded data of the second data stream and the third data stream.
其中,第二数据流的丢弃数据量包括以下至少一项数据内容:The discarded data amount of the second data stream includes at least one of the following data contents:
丢弃的第二数据流的PDCP SDU;The PDCP SDU of the second data stream is discarded;
丢弃的第二数据流的待传输的PDCP PDU;the discarded PDCP PDUs to be transmitted of the second data stream;
丢弃的第二数据流的待重传的PDCP PDU。The discarded PDCP PDU to be retransmitted of the second data stream.
其中,第三数据流的丢弃数据量包括以下至少一项数据内容:The discarded data amount of the third data stream includes at least one of the following data contents:
丢弃的第三数据流的RLC SDU和RLC SDU分段;the discarded RLC SDUs and RLC SDU segments of the third data stream;
丢弃的第三数据流的待传输的RLC PDU;The RLC PDU to be transmitted of the third data stream is discarded;
丢弃的第三数据流的待重传的RLC PDU。The discarded RLC PDU to be retransmitted of the third data stream.
S302、当第一数据流的丢弃数据量大于第一门限时,指示以下至少一项:第一指示信息和/或第一数据流的丢弃数据量信息;第一数据流的缓存数据量信息。S302: When the amount of discarded data of the first data stream is greater than a first threshold, indicate at least one of the following: first indication information and/or information on the amount of discarded data of the first data stream; or information on the amount of cached data of the first data stream.
其中,第一指示信息用于指示第一数据流丢弃。The first indication information is used to indicate that the first data stream is discarded.
本实施例中,第一数据流的缓存数据量信息包括第一数据流的缓存数据量,第一数据流的缓存数据量为第一数据流发生数据丢弃后的缓存数据量。可选的,第一数据流的缓存数据量包括第二数据流的缓存数据量和第三数据流的缓存数据量的至少一项。第二数据流的缓存数据量为第二数据流发生数据丢弃后的缓存数据量,第三数据流的缓存数据量为第三数据流发生数据丢弃后的缓存数据量。In this embodiment, the cache data volume information of the first data stream includes the cache data volume of the first data stream, and the cache data volume of the first data stream is the cache data volume after data discard occurs in the first data stream. Optionally, the cache data volume of the first data stream includes at least one of the cache data volume of the second data stream and the cache data volume of the third data stream. The cache data volume of the second data stream is the cache data volume after data discard occurs in the second data stream, and the cache data volume of the third data stream is the cache data volume after data discard occurs in the third data stream.
本实施例中,第一门限的配置包括以下两种方式:In this embodiment, the configuration of the first threshold includes the following two methods:
一种可选的实施方式中,第一门限可由第二节点配置。例如,第一节点接收来自第二节点的第一信息,第一信息包括第一门限。第一门限可以是第二节点根据网络负载情况确定。In an optional implementation, the first threshold may be configured by the second node. For example, the first node receives first information from the second node, and the first information includes the first threshold. The first threshold may be determined by the second node according to network load conditions.
一种可选的实施方式中,第一门限由第一节点确定,一种实现方式,根据BSR的缓存区间确定。In an optional implementation manner, the first threshold is determined by the first node, and in one implementation manner, is determined according to a cache interval of the BSR.
示例性的,第一门限可以是BSR的缓存区间中最大缓存值和最小缓存值的差值,例如缓存区间为[5M,10M],则第一门限可以配置为5M(10M-5M)。Exemplarily, the first threshold may be a difference between a maximum cache value and a minimum cache value in a cache interval of the BSR. For example, if the cache interval is [5M, 10M], the first threshold may be configured as 5M (10M-5M).
可以理解,如果第一数据流的丢弃数据量大于第一节点上报BSR的缓存区间中最大缓存值和最小缓存值的差值,可能导致BSR上报的误差,实际的缓存区间可能是例如[3M,5M),因此适用BSR的缓存区间配置第一门限是合理的。It can be understood that if the amount of discarded data of the first data flow is greater than the difference between the maximum cache value and the minimum cache value in the cache interval of the BSR reported by the first node, it may cause errors in the BSR reporting. The actual cache interval may be, for example, [3M, 5M), so it is reasonable to configure the first threshold for the BSR cache interval.
示例性的,第一门限可以是BSR的缓存区间的中位数,例如缓存区间为[3M,5M],则第一门限可以配置为4M。Exemplarily, the first threshold may be the median of the BSR buffer interval. For example, if the buffer interval is [3M, 5M], the first threshold may be configured as 4M.
图4为本申请实施例提供的一种信息指示方法的流程示意图二。一种可选的实施例中,如图4所示,上述S302,包括:FIG4 is a second flow chart of an information indication method provided in an embodiment of the present application. In an optional embodiment, as shown in FIG4 , the above S302 includes:
S3021、当第一数据流的丢弃数据量大于第一门限时,第一节点的第一实体向第一节点的第二实体指示以下至少一项:第一指示信息;第一数据流的丢弃数据量信息;第一数据流的缓存数据量信息。S3021. When the amount of discarded data of the first data stream is greater than the first threshold, the first entity of the first node indicates at least one of the following to the second entity of the first node: first indication information; information on the amount of discarded data of the first data stream; information on the amount of cached data of the first data stream.
一种示例中,第一节点的第一实体包括第一节点的PDCP层和RLC层的至少一项,第 二实体包括第一节点的MAC层。另一种示例中,第一节点的第一实体为第一节点的PDCP层,第一节点的第二实体为第一节点的RLC层。In one example, the first entity of the first node includes at least one of a PDCP layer and an RLC layer of the first node, The second entity includes a MAC layer of the first node. In another example, the first entity of the first node is a PDCP layer of the first node, and the second entity of the first node is an RLC layer of the first node.
第一节点的上述指示用于第一节点的MAC层进行资源调度。示例性的,第一节点的MAC层可根据第一数据流的丢弃数据量信息,向第二节点上报最新的缓存区间,即重新上报BSR,其中第二节点可以是图1所示的网络设备。The above indication of the first node is used for resource scheduling by the MAC layer of the first node. Exemplarily, the MAC layer of the first node may report the latest cache interval to the second node according to the discarded data volume information of the first data stream, that is, re-report the BSR, wherein the second node may be the network device shown in FIG. 1.
下面结合附图5至7,对上述S3021进行详细说明。图5为本申请实施例提供的信息指示方法的流程示意图三,图6为本申请实施例提供的信息指示方法的流程示意图四,图7为本申请实施例提供的信息指示方法的流程示意图五。The above S3021 is described in detail below in conjunction with Figures 5 to 7. Figure 5 is a flowchart diagram 3 of the information indication method provided in the embodiment of the present application, Figure 6 is a flowchart diagram 4 of the information indication method provided in the embodiment of the present application, and Figure 7 is a flowchart diagram 5 of the information indication method provided in the embodiment of the present application.
具体来说,S3021可以包括以下几种执行方式的至少一种:Specifically, S3021 may include at least one of the following execution modes:
执行方式1:当第一数据流的丢弃数据量大于第一门限时,第一节点的PDCP实体向第一节点的MAC实体指示以下至少一项:第一指示信息;第一数据流的丢弃数据量信息;第一数据流的缓存数据量信息,如图5所示。Implementation method 1: When the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity of the first node indicates at least one of the following to the MAC entity of the first node: first indication information; discarded data amount information of the first data stream; cached data amount information of the first data stream, as shown in Figure 5.
也可以描述为:第一节点的MAC层获取第一节点的PDCP层指示的第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。It can also be described as: the MAC layer of the first node obtains at least one of the first indication information indicated by the PDCP layer of the first node, the discarded data amount information of the first data flow, or the buffered data amount information of the first data flow.
执行方式2:当第一数据流的丢弃数据量大于第一门限时,第一节点的PDCP实体向第一节点的RLC实体指示以下至少一项:第一指示信息;第一数据流的丢弃数据量信息;第一数据流的缓存数据量信息,如图6所示。Implementation method 2: When the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity of the first node indicates at least one of the following to the RLC entity of the first node: first indication information; discarded data amount information of the first data stream; cached data amount information of the first data stream, as shown in Figure 6.
也可以描述为:第一节点的RLC层获取第一节点的PDCP层指示的第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。It can also be described as: the RLC layer of the first node obtains at least one of the first indication information indicated by the PDCP layer of the first node, the discarded data amount information of the first data flow, or the buffered data amount information of the first data flow.
执行方式3:当第一数据流的丢弃数据量大于第一门限时,第一节点的RLC实体向第一节点的MAC实体指示以下至少一项:第一指示信息;第一数据流的丢弃数据量信息;第一数据流的缓存数据量信息,如图7所示。Execution method 3: When the amount of discarded data of the first data stream is greater than the first threshold, the RLC entity of the first node indicates at least one of the following to the MAC entity of the first node: first indication information; discarded data amount information of the first data stream; cached data amount information of the first data stream, as shown in Figure 7.
也可以描述为:第一节点的MAC层获取第一节点的RLC层指示的第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。It can also be described as: the MAC layer of the first node obtains at least one of the first indication information indicated by the RLC layer of the first node, the discarded data amount information of the first data flow, or the buffered data amount information of the first data flow.
可以理解的是,当第一数据流包括第二数据流的情况,PDCP实体判断第一数据流的丢弃数据量是否大于第一门限可以为PDCP实体判断第二数据流的丢弃数据量是否大于第一门限。当第一数据流包括第二数据流和第三数据流时,则PDCP实体判断第一数据流的丢弃数据量是否大于第一门限,包括PDCP实体判断第二数据流的丢弃数据量是否大于第一门限,或者PDCP实体判断第二数据流的丢弃数据量与第三数据流的丢弃数据量的总和是否大于第一门限。PDCP实体判断第二数据流的丢弃数据量与第三数据流的丢弃数据量的总和是否大于第一门限,可以包括第二数据流的丢弃数据量小于第一门限的情况或者第二数据流的丢弃数据量大于第一门限的情况,当第二数据流的丢弃数据量小于第一门限的情况,PDCP实体需要获取第三数据流的丢弃数据量。It can be understood that when the first data stream includes the second data stream, the PDCP entity determines whether the amount of discarded data of the first data stream is greater than the first threshold, which can be the PDCP entity determining whether the amount of discarded data of the second data stream is greater than the first threshold. When the first data stream includes the second data stream and the third data stream, the PDCP entity determines whether the amount of discarded data of the first data stream is greater than the first threshold, including the PDCP entity determining whether the amount of discarded data of the second data stream is greater than the first threshold, or the PDCP entity determining whether the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream is greater than the first threshold. The PDCP entity determines whether the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream is greater than the first threshold, which can include the case where the amount of discarded data of the second data stream is less than the first threshold or the case where the amount of discarded data of the second data stream is greater than the first threshold. When the amount of discarded data of the second data stream is less than the first threshold, the PDCP entity needs to obtain the amount of discarded data of the third data stream.
可以理解的是,当第一数据流包括第二数据流的情况,PDCP向MAC层指示第一指示信息(第一数据流丢弃)、第一数据流的丢弃数据量、或第一数据流的缓存数据量信息,可以为PDCP实体向MAC层指示第一指示信息(第二数据流丢弃)、第二数据流的丢弃数据量、或第二数据流的缓存数据量信息。当第一数据流包括第二数据流和第三数据流时,则PDCP向MAC层指示第一指示信息(第一数据流丢弃)、第一数据流的丢弃数据量、或第一数据流的缓存数据量信息,可以为PDCP向MAC层指示第一指示信息(第二数据流 丢弃)、第二数据流的丢弃数据量、或第二数据流的缓存数据量信息,也可以就是PDCP向MAC层指示第一指示信息(第一数据流丢弃)、第一数据流的丢弃数据量、或第一数据流的缓存数据量信息。It can be understood that, when the first data stream includes the second data stream, the PDCP indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer, and the PDCP entity can indicate the first indication information (the second data stream is discarded), the discarded data amount of the second data stream, or the buffered data amount information of the second data stream to the MAC layer. When the first data stream includes the second data stream and the third data stream, the PDCP indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer, and the PDCP indicates the first indication information (the second data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer. The PDCP layer may indicate to the MAC layer the first indication information (the first data stream is discarded), the amount of discarded data of the second data stream, or the amount of cached data of the second data stream. The PDCP layer may also indicate to the MAC layer the first indication information (the first data stream is discarded), the amount of discarded data of the first data stream, or the amount of cached data of the first data stream.
可以理解的是,当第一数据流包括第二数据流的情况,RLC实体判断第一数据流的丢弃数据量是否大于第一门限可以为RLC实体判断第二数据流的丢弃数据量是否大于第一门限。It can be understood that when the first data stream includes the second data stream, the RLC entity determining whether the amount of discarded data of the first data stream is greater than the first threshold may be the RLC entity determining whether the amount of discarded data of the second data stream is greater than the first threshold.
可以理解的是,当第一数据流包括第二数据流和第三数据流时,则RLC实体判断第一数据流的丢弃数据量是否大于第一门限,包括RLC实体判断第二数据流的丢弃数据量是否大于第一门限,或者RLC实体判断第三数据流的丢弃数据量是否大于第一门限,或者RLC实体判断第二数据流的丢弃数据量与第三数据流的丢弃数据量的总和是否大于第一门限。RLC实体判断第二数据流的丢弃数据量与第三数据流的丢弃数据量的总和是否大于第一门限,可以包括第二数据流的丢弃数据量小于第一门限的情况或者第二数据流的丢弃数据量大于第一门限的情况,当第二数据流的丢弃数据量小于第一门限的情况,RLC实体需要判断第二数据流和第三数据流的丢弃数据量总和是否大于第一门限;同时可以包括第三数据流的丢弃数据量小于第一门限的情况或者第三数据流的丢弃数据量大于第一门限的情况,当第三数据流的丢弃数据量小于第一门限的情况,RLC实体需要判断第二数据流和第三数据流的丢弃数据量总和是否大于第一门限。因此组合方式包括以下内容:It can be understood that when the first data stream includes the second data stream and the third data stream, the RLC entity determines whether the amount of discarded data of the first data stream is greater than the first threshold, including the RLC entity determining whether the amount of discarded data of the second data stream is greater than the first threshold, or the RLC entity determining whether the amount of discarded data of the third data stream is greater than the first threshold, or the RLC entity determining whether the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream is greater than the first threshold. The RLC entity determines whether the sum of the discarded data amount of the second data stream and the discarded data amount of the third data stream is greater than the first threshold, which may include the case where the discarded data amount of the second data stream is less than the first threshold or the case where the discarded data amount of the second data stream is greater than the first threshold. When the discarded data amount of the second data stream is less than the first threshold, the RLC entity needs to determine whether the sum of the discarded data amount of the second data stream and the third data stream is greater than the first threshold; it may also include the case where the discarded data amount of the third data stream is less than the first threshold or the case where the discarded data amount of the third data stream is greater than the first threshold. When the discarded data amount of the third data stream is less than the first threshold, the RLC entity needs to determine whether the sum of the discarded data amount of the second data stream and the third data stream is greater than the first threshold. Therefore, the combination method includes the following contents:
1)组合方式1:第一数据流大于第一门限,第二数据流小于第一门限,第三数据流小于第一门限;1) Combination mode 1: the first data stream is greater than the first threshold, the second data stream is less than the first threshold, and the third data stream is less than the first threshold;
2)组合方式2:第一数据流大于第一门限,第二数据流大于第一门限,第三数据流小于第一门限;2) Combination mode 2: the first data stream is greater than the first threshold, the second data stream is greater than the first threshold, and the third data stream is less than the first threshold;
3)组合方式3:第一数据流大于第一门限,第二数据流小于第一门限,第三数据流大于第一门限;3) Combination mode 3: the first data stream is greater than the first threshold, the second data stream is less than the first threshold, and the third data stream is greater than the first threshold;
4)组合方式4:第一数据流大于第一门限,第二数据流大于第一门限,第三数据流大于第一门限。4) Combination mode 4: the first data stream is greater than the first threshold, the second data stream is greater than the first threshold, and the third data stream is greater than the first threshold.
可以理解的是,当第一数据流包括第二数据流的情况,RLC向MAC层指示第一指示信息(第一数据流丢弃)、第一数据流的丢弃数据量、或第一数据流的缓存数据量信息,可以为RLC实体MAC层指示第一指示信息(第二数据流丢弃)、第二数据流的丢弃数据量、或第二数据流的缓存数据量信息。当第一数据流包括第二数据流和第三数据流时,则RLC向MAC层指示第一指示信息(第一数据流丢弃)、第一数据流的丢弃数据量、或第一数据流的缓存数据量信息,可以为RLC向MAC层指示第一指示信息(第二数据流丢弃)、第二数据流的丢弃数据量、或第二数据流的缓存数据量信息,也可以是RLC向MAC层指示第一指示信息(第三数据流丢弃)、第三数据流的丢弃数据量、或第三数据流的缓存数据量信息,也可以就是RLC向MAC层指示第一指示信息(第一数据流丢弃)、第一数据流的丢弃数据量、或第一数据流的缓存数据量信息。It can be understood that, when the first data stream includes the second data stream, the RLC indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer, which can be the RLC entity MAC layer indicating the first indication information (the second data stream is discarded), the discarded data amount of the second data stream, or the buffered data amount information of the second data stream. When the first data stream includes the second data stream and the third data stream, the RLC indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer, which can be the RLC indicating the first indication information (the second data stream is discarded), the discarded data amount of the second data stream, or the buffered data amount information of the second data stream to the MAC layer, or the RLC indicating the first indication information (the third data stream is discarded), the discarded data amount of the third data stream, or the buffered data amount information of the third data stream to the MAC layer, or the RLC indicating the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the buffered data amount information of the first data stream to the MAC layer.
可以理解的是,当PDCP实体向RLC实体指示信息的时候,PDCP实体需要确定第一数据流传输到的RLC实体,后续PDCP实体向该RLC实体传输信息。当PDCP实体向MAC实体指示信息的时候,PDCP实体需要确定第一数据流传输到的RLC实体,并且确定与该RLC实体关联的MAC实体,后续PDCP实体向该MAC实体传输信息。RLC实体 向MAC实体传输信息的时候,需要确定与RLC实体关联的MAC实体,后续向该MAC实体传输信息。It is understandable that when the PDCP entity indicates information to the RLC entity, the PDCP entity needs to determine the RLC entity to which the first data stream is transmitted, and the PDCP entity subsequently transmits information to the RLC entity. When the PDCP entity indicates information to the MAC entity, the PDCP entity needs to determine the RLC entity to which the first data stream is transmitted, and determine the MAC entity associated with the RLC entity, and the PDCP entity subsequently transmits information to the MAC entity. When transmitting information to a MAC entity, it is necessary to determine the MAC entity associated with the RLC entity and subsequently transmit information to the MAC entity.
需要说明的是,上述几种执行方式中,PDCP实体为第一节点的PDCP层的实体,RLC实体为第一节点的RLC层的实体,MAC实体为第一节点的MAC层的实体,其中PDCP实体与RLC实体具有关联关系,RLC实体与MAC实体具有关联关系。It should be noted that in the above-mentioned execution modes, the PDCP entity is an entity of the PDCP layer of the first node, the RLC entity is an entity of the RLC layer of the first node, and the MAC entity is an entity of the MAC layer of the first node, wherein the PDCP entity and the RLC entity have an associated relationship, and the RLC entity and the MAC entity have an associated relationship.
下面结合附图对PDCP实体、RLC实体和MAC实体的关联关系进行解释说明。示例性的,图8为本申请实施例提供的第一节点的内部实体的连接示意图。如图8所示,PDCP实体为第一节点的PDCP层的一个实体,对于该PDCP实体,可能会连接多个RLC实体,例如图8中的RLC实体1、RLC实体2、RLC实体3和RLC实体4。不同的RLC实体连接相同或不同的MAC实体,例如图8中的RLC实体1和RLC实体2连接MAC实体1,RLC实体3和RLC实体4连接MAC实体2。The association relationship among the PDCP entity, the RLC entity, and the MAC entity is explained below in conjunction with the accompanying drawings. Exemplarily, FIG8 is a connection diagram of the internal entities of the first node provided in an embodiment of the present application. As shown in FIG8 , the PDCP entity is an entity of the PDCP layer of the first node. For the PDCP entity, multiple RLC entities may be connected, such as RLC entity 1, RLC entity 2, RLC entity 3, and RLC entity 4 in FIG8 . Different RLC entities are connected to the same or different MAC entities, for example, RLC entity 1 and RLC entity 2 in FIG8 are connected to MAC entity 1, and RLC entity 3 and RLC entity 4 are connected to MAC entity 2.
基于图8所示的实体连接关系,一种示例中,若PDCP实体已经将有数据丢弃的数据流中的部分数据传输到RLC实体1,且该数据流的丢弃数据量大于或等于第一门限,则PDCP实体可以向RLC实体1指示该数据流丢弃、该数据流的丢弃数据量、或该数据流的缓存数据量的至少一项,和/或,向与RLC实体1连接的MAC实体1指示该数据流丢弃、该数据流的丢弃数据量、或该数据流的缓存数据量的至少一项。本示例中,PDCP实体与RLC实体1具有关联关系,RLC实体1与MAC实体1具有关联关系。可见,PDCP实体与RLC实体具有关联关系可以理解为PDCP实体与RLC实体之间有数据传输关系(具体指有丢弃数据流的传输关系),RLC实体与MAC实体具有关联关系也可以理解为RLC实体与MAC实体之间有数据传输关系。Based on the entity connection relationship shown in FIG8 , in one example, if the PDCP entity has transmitted part of the data in the data stream with data discarded to RLC entity 1, and the amount of discarded data in the data stream is greater than or equal to the first threshold, the PDCP entity may indicate to RLC entity 1 at least one of the discard of the data stream, the amount of discarded data in the data stream, or the amount of cached data in the data stream, and/or indicate to MAC entity 1 connected to RLC entity 1 at least one of the discard of the data stream, the amount of discarded data in the data stream, or the amount of cached data in the data stream. In this example, the PDCP entity has an association relationship with RLC entity 1, and RLC entity 1 has an association relationship with MAC entity 1. It can be seen that the association relationship between the PDCP entity and the RLC entity can be understood as a data transmission relationship between the PDCP entity and the RLC entity (specifically a transmission relationship with discarded data streams), and the association relationship between the RLC entity and the MAC entity can also be understood as a data transmission relationship between the RLC entity and the MAC entity.
基于图8所示的第一节点的内部实体的连接关系,在一些实施例中,信息指示方法还包括:第一节点的PDCP实体确定传输第一数据流到的第一节点的RLC实体,确定与该RLC实体关联的第一节点的MAC实体。Based on the connection relationship of the internal entities of the first node shown in Figure 8, in some embodiments, the information indication method also includes: the PDCP entity of the first node determines the RLC entity of the first node to which the first data stream is transmitted, and determines the MAC entity of the first node associated with the RLC entity.
下面对上述执行方式1进行详细说明。The above-mentioned execution mode 1 is described in detail below.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式1,包括:当第二数据流的丢弃数据量大于第一门限时,PDCP实体确定第二数据流到的RLC实体,确定与该RLC实体关联的MAC实体,通过该RLC实体向该MAC实体指示(即PDCP实体先发送信息到RLC实体,RLC实体接收后发给MAC实体)第一指示信息、第二数据流的丢弃数据量信息、或第二数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第二数据流丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 1 includes: when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the second data stream is sent, determines the MAC entity associated with the RLC entity, and indicates to the MAC entity through the RLC entity (that is, the PDCP entity first sends information to the RLC entity, and the RLC entity sends it to the MAC entity after receiving it) at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of buffered data of the second data stream. The first indication information is used to indicate that the second data stream is discarded.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式1,包括:当第二数据流的丢弃数据量大于第一门限时,PDCP实体确定第二数据流到的RLC实体,确定与该RLC实体关联的MAC实体,PDCP实体向该MAC实体指示第一指示信息、第二数据流的丢弃数据量信息、或第二数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第二数据流丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 1 includes: when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the second data stream is sent, determines the MAC entity associated with the RLC entity, and the PDCP entity indicates to the MAC entity at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream. The first indication information is used to indicate the discard of the second data stream.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式1,包括:第一节点的PDCP实体在确定第二数据流有数据丢弃时,获取第二数据流的丢弃数据量,当第二数据流的丢弃数据量大于第一门限时,PDCP实体向第一节点的MAC实体指示第一指示信息,其中第一指示信息用于指示第二数据流丢弃。 In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, the PDCP entity obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates first indication information to the MAC entity of the first node, wherein the first indication information is used to indicate that the second data stream is discarded.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式1,包括:第一节点的PDCP实体在确定第二数据流有数据丢弃时,获取第二数据流的丢弃数据量,当第二数据流的丢弃数据量大于第一门限时,PDCP实体向第一节点的MAC实体指示第二数据流的丢弃数据量信息。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, the PDCP entity obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates the information of the amount of discarded data of the second data stream to the MAC entity of the first node.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式1,包括:第一节点的PDCP实体在确定第二数据流有数据丢弃时,获取第二数据流的丢弃数据量,当第二数据流的丢弃数据量大于第一门限时,PDCP实体向第一节点的MAC实体指示第二数据流的缓存数据量信息。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, the PDCP entity obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates the cached data amount information of the second data stream to the MAC entity of the first node.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式1,包括:第一节点的PDCP实体在确定第二数据流有数据丢弃时,获取第二数据流的丢弃数据量,当第二数据流的丢弃数据量大于第一门限时,PDCP实体向第一节点的MAC实体指示以下至少两项:第一指示信息;第二数据流的丢弃数据量信息;第二数据流的缓存数据量信息。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, it obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates at least two of the following to the MAC entity of the first node: first indication information; information on the amount of discarded data of the second data stream; and information on the amount of cached data of the second data stream.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式1,包括:第一节点的PDCP实体在确定第二数据流有数据丢弃时,获取第二数据流的丢弃数据量,当第二数据流的丢弃数据量大于第一门限时,PDCP实体确定第二数据流到的RLC实体,确定与该RLC实体关联的MAC实体,向该MAC实体指示第一指示信息、第二数据流的丢弃数据量信息、或第二数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第二数据流丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that the second data stream has data discarded, it obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the second data stream is sent, determines the MAC entity associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream to the MAC entity. The first indication information is used to indicate the discard of the second data stream.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量。上述执行方式1,包括:当第一数据流的丢弃数据量大于第一门限时,PDCP实体确定第一数据流到的RLC实体,确定与该RLC实体关联的MAC实体,PDCP实体通过该RLC实体向该MAC实体指示,或者向MAC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第一数据流(包括第二数据流和第三数据流)丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream. The above-mentioned execution mode 1 includes: when the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the first data stream is sent, determines the MAC entity associated with the RLC entity, and the PDCP entity indicates to the MAC entity through the RLC entity, or indicates to the MAC entity at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream. The first indication information is used to indicate that the first data stream (including the second data stream and the third data stream) is discarded.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量。上述执行方式1,包括:第一节点的PDCP实体在确定第一数据流有数据丢弃时,获取第一数据流的丢弃数据量,当第一数据流的丢弃数据量大于第一门限时,向第一节点的MAC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第一数据流(包括第二数据流和第三数据流)丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream. The above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that the first data stream has data discarded, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than the first threshold, it indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the MAC entity of the first node. The first indication information is used to indicate that the first data stream (including the second data stream and the third data stream) is discarded.
示例性的,第一节点的PDCP实体在确定第二数据流有数据丢弃时,PDCP实体获取第二数据流的丢弃数据量和/或第二数据流的缓存数据量,和/或,PDCP实体从第一节点的RLC实体获取第三数据流的丢弃数据量和/或第三数据流的缓存数据量。PDCP实体确定第二数据流和第三数据流的总的丢弃数据量(第一数据流的丢弃数据量)大于第一门限时,PDCP实体向与该RLC实体关联的MAC实体指示第一指示信息(指示第一数据流丢弃)、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。本示例中,第一数据流的缓存数据量信息包括第二数据流的缓存数据量和/或第三数据流的缓存数据量。 Exemplarily, when the PDCP entity of the first node determines that data has been discarded in the second data stream, the PDCP entity obtains the amount of discarded data of the second data stream and/or the amount of cached data of the second data stream, and/or the PDCP entity obtains the amount of discarded data of the third data stream and/or the amount of cached data of the third data stream from the RLC entity of the first node. When the PDCP entity determines that the total amount of discarded data of the second data stream and the third data stream (the amount of discarded data of the first data stream) is greater than the first threshold, the PDCP entity indicates at least one of the first indication information (indicating the discard of the first data stream), the amount of discarded data information of the first data stream, or the amount of cached data information of the first data stream to the MAC entity associated with the RLC entity. In this example, the cached data amount information of the first data stream includes the cached data amount of the second data stream and/or the cached data amount of the third data stream.
上述示例中,第一节点的PDCP实体在确定第二数据流有数据丢弃时,PDCP实体获取第二数据流的丢弃数据量,一种可能的实施方式中,若PDCP实体确定第二数据流的丢弃数据量小于或等于第一门限,PDCP实体向第一节点的RLC实体指示第二数据流的丢弃数据量信息,如图9所示。另一种可能的实施方式中,若PDCP实体确定第二数据流的丢弃数据量大于第一门限,PDCP实体向RLC实体指示第一指示信息(指示第二数据流丢弃)、第二数据流的丢弃数据量信息、或第二数据流的缓存数据量信息的至少一项。基于上述两种实施方式中的任一项,RLC实体可以向PDCP实体指示第三数据流的丢弃数据量和/或第三数据流的缓存数据量,以便PDCP实体确定第二数据流和第三数据流的总的丢弃数据量是否大于第一门限。In the above example, when the PDCP entity of the first node determines that data has been discarded in the second data stream, the PDCP entity obtains the amount of discarded data of the second data stream. In one possible implementation, if the PDCP entity determines that the amount of discarded data of the second data stream is less than or equal to the first threshold, the PDCP entity indicates the amount of discarded data information of the second data stream to the RLC entity of the first node, as shown in Figure 9. In another possible implementation, if the PDCP entity determines that the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates at least one of the first indication information (indicating the discard of the second data stream), the amount of discarded data of the second data stream, or the amount of buffered data of the second data stream to the RLC entity. Based on any one of the above two implementations, the RLC entity may indicate the amount of discarded data of the third data stream and/or the amount of buffered data of the third data stream to the PDCP entity, so that the PDCP entity determines whether the total amount of discarded data of the second data stream and the third data stream is greater than the first threshold.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量。上述执行方式1,包括:第一节点的PDCP实体在确定第一数据流有数据丢弃时,获取第一数据流的丢弃数据量,当第一数据流的丢弃数据量大于第一门限时,PDCP实体确定第一数据流到的第一节点的RLC实体,确定与RLC实体关联的MAC实体,向该MAC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第一数据流。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream. The above-mentioned execution mode 1 includes: when the PDCP entity of the first node determines that there is data discard in the first data stream, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity determines the RLC entity of the first node to which the first data stream arrives, determines the MAC entity associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the MAC entity. The first indication information is used to indicate the first data stream.
下面对上述执行方式2进行详细说明。The above-mentioned execution mode 2 is described in detail below.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式2,包括:当第二数据流的丢弃数据量大于第一门限时,PDCP实体确定第二数据流到的RLC实体,向该RLC实体指示第一指示信息、第二数据流的丢弃数据量信息、或第二数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第二数据流丢弃。In an optional embodiment, the discarded data amount of the first data stream includes the discarded data amount of the second data stream. The above-mentioned execution mode 2 includes: when the discarded data amount of the second data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the second data stream is sent, and indicates at least one of the first indication information, the discarded data amount information of the second data stream, or the buffered data amount information of the second data stream to the RLC entity. The first indication information is used to indicate that the second data stream is discarded.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式2,包括:第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式2,包括:第一节点的PDCP实体在确定第二数据流有数据丢弃时,获取第二数据流的丢弃数据量,当第二数据流的丢弃数据量大于第一门限时,PDCP实体向第一节点的RLC实体指示第一指示信息,第一指示信息用于指示第二数据流丢弃。该实施例中,RLC实体接收第二数据流丢弃后,可以通知PDCP实体下发第二数据流的丢弃数据量,用以RLC实体确定总的丢弃数据量,总的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 2 includes: the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that there is data discarded in the second data stream, it obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates first indication information to the RLC entity of the first node, and the first indication information is used to indicate the discard of the second data stream. In this embodiment, after receiving the discard of the second data stream, the RLC entity can notify the PDCP entity to send the amount of discarded data of the second data stream, so that the RLC entity can determine the total amount of discarded data, and the total amount of discarded data includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式2,包括:第一节点的PDCP实体在确定第二数据流有数据丢弃时,获取第二数据流的丢弃数据量,当第二数据流的丢弃数据量大于第一门限时,PDCP实体向第一节点的RLC实体指示第二数据流的丢弃数据量信息。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, the PDCP entity obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates the information of the amount of discarded data of the second data stream to the RLC entity of the first node.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式2,包括:第一节点的PDCP实体在确定第二数据流有数据丢弃时,获取第二数据流的丢弃数据量,当第二数据流的丢弃数据量大于第一门限时,PDCP实体向第一节点的RLC实体指示第二数据流的缓存数据量信息。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that data of the second data stream is discarded, the PDCP entity obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates the buffered data amount information of the second data stream to the RLC entity of the first node.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式2,包括:第一节点的PDCP实体在确定第二数据流有数据丢弃时,获取第二数据流的丢弃数据量,当第二数据流的丢弃数据量大于第一门限时,PDCP实体向第一节点 的RLC实体指示以下至少两项:第一指示信息;第二数据流的丢弃数据量信息;第二数据流的缓存数据量信息。第一指示信息用于指示第二数据流丢弃。In an optional embodiment, the amount of discarded data of the first data flow includes the amount of discarded data of the second data flow. The above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that the second data flow has data discarded, obtaining the amount of discarded data of the second data flow, when the amount of discarded data of the second data flow is greater than the first threshold, the PDCP entity sends a message to the first node; The RLC entity indicates at least two of the following: first indication information; discarded data volume information of the second data flow; and buffered data volume information of the second data flow. The first indication information is used to indicate that the second data flow is discarded.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量。上述执行方式2,包括:第一节点的PDCP实体在确定第二数据流有数据丢弃时,获取第二数据流的丢弃数据量,当第二数据流的丢弃数据量大于第一门限时,PDCP实体确定第二数据流到的RLC实体,向该RLC实体指示第一指示信息、第二数据流的丢弃数据量信息、或第二数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第二数据流丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream. The above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that the second data stream has data discarded, it obtains the amount of discarded data of the second data stream, and when the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity determines the RLC entity to which the second data stream is sent, and indicates at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream to the RLC entity. The first indication information is used to indicate the discard of the second data stream.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量。上述执行方式2,包括:当第一数据流的丢弃数据量大于第一门限时,PDCP实体确定第一数据流到的第一节点的RLC实体,向该RLC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第一数据流。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream. The above-mentioned execution mode 2 includes: when the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity determines the RLC entity of the first node to which the first data stream is sent, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of buffered data of the first data stream to the RLC entity. The first indication information is used to indicate the first data stream.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量。上述执行方式2,包括:第一节点的PDCP实体在确定第一数据流有数据丢弃时,获取第一数据流的丢弃数据量,当第一数据流的丢弃数据量大于第一门限时,向第一节点的RLC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream. The above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that data of the first data stream is discarded, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than the first threshold, it indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of buffered data of the first data stream to the RLC entity of the first node.
示例性的,第一节点的PDCP实体在确定第二数据流有数据丢弃时,PDCP实体获取第二数据流的丢弃数据量和/或第二数据流的缓存数据量,和/或,PDCP实体从第一节点的RLC实体获取第三数据流的丢弃数据量和/或第三数据流的缓存数据量。PDCP实体确定第二数据流和第三数据流的总的丢弃数据量(第一数据流的丢弃数据量)大于第一门限时,PDCP实体向该RLC实体指示第一指示信息(指示第一数据流丢弃)、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。本示例中,第一数据流的缓存数据量信息包括第二数据流的缓存数据量和/或第三数据流的缓存数据量。Exemplarily, when the PDCP entity of the first node determines that data has been discarded in the second data stream, the PDCP entity obtains the amount of discarded data of the second data stream and/or the amount of cached data of the second data stream, and/or the PDCP entity obtains the amount of discarded data of the third data stream and/or the amount of cached data of the third data stream from the RLC entity of the first node. When the PDCP entity determines that the total amount of discarded data of the second data stream and the third data stream (the amount of discarded data of the first data stream) is greater than the first threshold, the PDCP entity indicates to the RLC entity at least one of the first indication information (indicating the discard of the first data stream), the amount of discarded data information of the first data stream, or the amount of cached data information of the first data stream. In this example, the cached data amount information of the first data stream includes the cached data amount of the second data stream and/or the cached data amount of the third data stream.
上述示例中,第一节点的PDCP实体在确定第二数据流有数据丢弃时,PDCP实体获取第二数据流的丢弃数据量,一种可能的实施方式中,若PDCP实体确定第二数据流的丢弃数据量小于或等于第一门限,PDCP实体向第一节点的RLC实体指示第二数据流的丢弃数据量信息,如图9所示。另一种可能的实施方式中,若PDCP实体确定第二数据流的丢弃数据量大于第一门限,PDCP实体向RLC实体指示第一指示信息(指示第二数据流丢弃)、第二数据流的丢弃数据量信息、或第二数据流的缓存数据量信息的至少一项。基于上述两种实施方式中的任一项,RLC实体可以向PDCP实体指示第三数据流的丢弃数据量和/或第三数据流的缓存数据量,以便PDCP实体确定第二数据流和第三数据流的总的丢弃数据量是否大于第一门限。In the above example, when the PDCP entity of the first node determines that data has been discarded in the second data stream, the PDCP entity obtains the amount of discarded data of the second data stream. In one possible implementation, if the PDCP entity determines that the amount of discarded data of the second data stream is less than or equal to the first threshold, the PDCP entity indicates the amount of discarded data information of the second data stream to the RLC entity of the first node, as shown in Figure 9. In another possible implementation, if the PDCP entity determines that the amount of discarded data of the second data stream is greater than the first threshold, the PDCP entity indicates at least one of the first indication information (indicating the discard of the second data stream), the amount of discarded data of the second data stream, or the amount of buffered data of the second data stream to the RLC entity. Based on any one of the above two implementations, the RLC entity may indicate the amount of discarded data of the third data stream and/or the amount of buffered data of the third data stream to the PDCP entity, so that the PDCP entity determines whether the total amount of discarded data of the second data stream and the third data stream is greater than the first threshold.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量。上述执行方式2,包括:第一节点的PDCP实体在确定第一数据流有数据丢弃时,获取第一数据流的丢弃数据量,当第一数据流的丢弃数据量大于第一门限时,PDCP实体确定第一数据流到的第一节点的RLC实体,向该RLC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第一数据流。 In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream. The above-mentioned execution mode 2 includes: when the PDCP entity of the first node determines that there is data discard in the first data stream, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than the first threshold, the PDCP entity determines the RLC entity of the first node to which the first data stream arrives, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the RLC entity. The first indication information is used to indicate the first data stream.
下面对上述执行方式3进行详细说明。The above-mentioned execution mode 3 is described in detail below.
基于图8所示的第一节点的内部实体的连接关系,在一些实施例中,信息指示方法还包括:第一节点的RLC实体确定与RLC实体关联的第一节点的MAC实体。Based on the connection relationship of the internal entities of the first node shown in FIG. 8 , in some embodiments, the information indication method further includes: the RLC entity of the first node determines the MAC entity of the first node associated with the RLC entity.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量,上述执行方式3,包括:当第二数据流的丢弃数据量大于第一门限时,RLC实体确定与RLC实体关联的第一节点的MAC实体,向该MAC实体指示第一指示信息、第二数据流的丢弃数据量信息、或第二数据流的缓存数据量信息的至少一项,其中第一指示信息用于指示第二数据流丢弃。本实施例中,数据丢弃发生在PDCP层,RLC层未发生数据丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream, and the above-mentioned execution mode 3 includes: when the amount of discarded data of the second data stream is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates to the MAC entity at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream, wherein the first indication information is used to indicate the discard of the second data stream. In this embodiment, data discard occurs at the PDCP layer, and no data discard occurs at the RLC layer.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量,上述执行方式3,包括:第一节点的RLC实体从第一节点的PDCP实体获取第二数据流的丢弃数据量和/或第二数据流的缓存数据量(也可以描述为:RLC实体接收来自PDCP实体指示的第二数据流的丢弃数据量和/或第二数据流的缓存数据量),当第二数据流的丢弃数据量大于第一门限时,RLC实体向第一节点的MAC实体指示第一指示信息、第二数据流的丢弃数据量信息、或第二数据流的缓存数据量信息的至少一项,其中第一指示信息用于指示第二数据流丢弃。本实施例中,数据丢弃发生在PDCP层,RLC层未发生数据丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream, and the above-mentioned execution mode 3 includes: the RLC entity of the first node obtains the amount of discarded data of the second data stream and/or the amount of cached data of the second data stream from the PDCP entity of the first node (it can also be described as: the RLC entity receives the amount of discarded data of the second data stream and/or the amount of cached data of the second data stream indicated by the PDCP entity), and when the amount of discarded data of the second data stream is greater than the first threshold, the RLC entity indicates at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream to the MAC entity of the first node, wherein the first indication information is used to indicate the discard of the second data stream. In this embodiment, data discard occurs at the PDCP layer, and no data discard occurs at the RLC layer.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量,上述执行方式3,包括:第一节点的RLC实体从第一节点的PDCP实体获取第二数据流的丢弃数据量和/或第二数据流的缓存数据量,当第二数据流的丢弃数据量大于第一门限时,RLC实体确定与RLC实体关联的第一节点的MAC实体,向该MAC实体指示第一指示信息、第二数据流的丢弃数据量信息、或第二数据流的缓存数据量信息的至少一项,其中第一指示信息用于指示第二数据流丢弃。本实施例中,数据丢弃发生在PDCP层,RLC层未发生数据丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream, and the above-mentioned execution mode 3 includes: the RLC entity of the first node obtains the amount of discarded data of the second data stream and/or the amount of cached data of the second data stream from the PDCP entity of the first node, and when the amount of discarded data of the second data stream is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the second data stream, or the amount of cached data of the second data stream to the MAC entity, wherein the first indication information is used to indicate the discard of the second data stream. In this embodiment, data discard occurs at the PDCP layer, and no data discard occurs at the RLC layer.
一种可选的实施例中,第一数据流的丢弃数据量包括第三数据流的丢弃数据量。上述执行方式3,包括:当第三数据流的丢弃数据量大于第一门限时,RLC实体确定与RLC实体关联的第一节点的MAC实体,向该MAC实体指示第一指示信息、第三数据流的丢弃数据量、或第三数据流的缓存数据量的至少一项,第一指示信息用于指示第三数据流丢弃。本实施例中,数据丢弃发生在RLC层,PDCP层未发生数据丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the third data stream. The above-mentioned execution mode 3 includes: when the amount of discarded data of the third data stream is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the third data stream, or the amount of cached data of the third data stream to the MAC entity, and the first indication information is used to indicate the discard of the third data stream. In this embodiment, data discard occurs at the RLC layer, and no data discard occurs at the PDCP layer.
一种可选的实施例中,第一数据流的丢弃数据量包括第三数据流的丢弃数据量。上述执行方式3,包括:第一节点的RLC实体在确定第三数据流有数据丢弃时,获取第三数据流的丢弃数据量和/或第三数据流的缓存数据量,当第三数据流的丢弃数据量大于第一门限时,RLC实体向第一节点的MAC实体指示第一指示信息、第三数据流的丢弃数据量、或第三数据流的缓存数据量的至少一项,第一指示信息用于指示第三数据流丢弃。本实施例中,数据丢弃发生在RLC层,PDCP层未发生数据丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the third data stream. The above-mentioned execution mode 3 includes: when the RLC entity of the first node determines that the third data stream has data discarded, it obtains the amount of discarded data of the third data stream and/or the amount of cached data of the third data stream, and when the amount of discarded data of the third data stream is greater than the first threshold, the RLC entity indicates at least one of the first indication information, the amount of discarded data of the third data stream, or the amount of cached data of the third data stream to the MAC entity of the first node, and the first indication information is used to indicate the discard of the third data stream. In this embodiment, data discard occurs at the RLC layer, and no data discard occurs at the PDCP layer.
一种可选的实施例中,第一数据流的丢弃数据量包括第三数据流的丢弃数据量。上述执行方式3,包括:第一节点的RLC实体在确定第三数据流有数据丢弃时,获取第三数据流的丢弃数据量和/或第三数据流的缓存数据量,当第三数据流的丢弃数据量大于第一门限时,RLC实体确定与RLC实体关联的第一节点的MAC实体,向该MAC实体指示第一指示信息、第三数据流的丢弃数据量、或第三数据流的缓存数据量的至少一项,第一指示信息用于指示第三数据流丢弃。本实施例中,数据丢弃发生在RLC层,PDCP层未发生数据 丢弃。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the third data stream. The above-mentioned execution method 3 includes: when the RLC entity of the first node determines that the third data stream has data discarded, it obtains the amount of discarded data of the third data stream and/or the amount of cached data of the third data stream. When the amount of discarded data of the third data stream is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the third data stream, or the amount of cached data of the third data stream to the MAC entity, and the first indication information is used to indicate that the third data stream is discarded. In this embodiment, data discard occurs at the RLC layer, and no data discard occurs at the PDCP layer. throw away.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量。上述执行方式3,包括:当第一数据流的丢弃数据量大于第一门限时,RLC实体确定与RLC实体关联的第一节点的MAC实体,向该MAC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream. The above-mentioned execution mode 3 includes: when the amount of discarded data of the first data stream is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the MAC entity.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量。上述执行方式3,包括:第一节点的RLC实体在确定第一数据流有数据丢弃时,获取第一数据流的丢弃数据量,当第一数据流的丢弃数据量大于第一门限时,向第一节点的MAC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream. The above-mentioned execution mode 3 includes: when the RLC entity of the first node determines that data of the first data stream is discarded, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than the first threshold, it indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the MAC entity of the first node.
一种可选的实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量。上述执行方式3,包括:第一节点的RLC实体在确定第一数据流有数据丢弃时,获取第一数据流的丢弃数据量,当第一数据流的丢弃数据量大于第一门限时,RLC实体确定与RLC实体关联的第一节点的MAC实体,向该MAC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment, the amount of discarded data of the first data stream includes the amount of discarded data of the second data stream and the amount of discarded data of the third data stream. The above-mentioned execution mode 3 includes: when the RLC entity of the first node determines that data of the first data stream is discarded, it obtains the amount of discarded data of the first data stream, and when the amount of discarded data of the first data stream is greater than a first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the MAC entity.
一种示例中,第一节点的RLC实体从第一节点的PDCP实体获取第二数据流的丢弃数据量和/或第二数据流的缓存数据量(也可以描述为:RLC实体接收来自PDCP实体指示的第二数据流的丢弃数据量和/或第二数据流的缓存数据量),RLC实体获取第三数据流的丢弃数据量和/或第二数据流的缓存数据量,RLC实体在确定第二数据流的丢弃数据量和第三数据流的丢弃数据量的总和(即第一数据流的丢弃数据量)大于第一门限时,RLC实体确定与RLC实体关联的第一节点的MAC实体,向该MAC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第一数据流丢弃。本示例中,第一节点的RLC实体从第一节点的PDCP实体获取第二数据流的丢弃数据量,即PDCP实体向RLC实体指示第二数据流的丢弃数据量。对于PDCP实体,当PDCP实体确定第二数据流的丢弃数据量小于或等于第一门限时,PDCP实体向RLC实体指示第二数据流的丢弃数据量。In one example, the RLC entity of the first node obtains the amount of discarded data of the second data stream and/or the amount of buffered data of the second data stream from the PDCP entity of the first node (it can also be described as: the RLC entity receives the amount of discarded data of the second data stream and/or the amount of buffered data of the second data stream indicated by the PDCP entity), and the RLC entity obtains the amount of discarded data of the third data stream and/or the amount of buffered data of the second data stream. When the RLC entity determines that the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream (i.e., the amount of discarded data of the first data stream) is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of buffered data of the first data stream to the MAC entity. The first indication information is used to indicate the discard of the first data stream. In this example, the RLC entity of the first node obtains the amount of discarded data of the second data stream from the PDCP entity of the first node, i.e., the PDCP entity indicates the amount of discarded data of the second data stream to the RLC entity. For the PDCP entity, when the PDCP entity determines that the amount of discarded data of the second data flow is less than or equal to the first threshold, the PDCP entity indicates the amount of discarded data of the second data flow to the RLC entity.
另一种示例中,第一节点的RLC实体接收到第一节点的PDCP实体指示的第一指示信息(指示第二数据流丢弃),RLC实体通知PDCP实体下发第二数据流的丢弃数据量和/或第二数据流的缓存数据量。RLC实体获取第三数据流的丢弃数据量和/或第三数据流的缓存数据量,RLC实体在确定第二数据流的丢弃数据量和第三数据流的丢弃数据量的总和(即第一数据流的丢弃数据量)大于第一门限时,RLC实体确定与RLC实体关联的第一节点的MAC实体,向该MAC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。其中第一指示信息用于指示第一数据流丢弃。In another example, the RLC entity of the first node receives the first indication information (indicating the discard of the second data stream) indicated by the PDCP entity of the first node, and the RLC entity notifies the PDCP entity to send the discarded data amount of the second data stream and/or the cached data amount of the second data stream. The RLC entity obtains the discarded data amount of the third data stream and/or the cached data amount of the third data stream. When the RLC entity determines that the sum of the discarded data amount of the second data stream and the discarded data amount of the third data stream (i.e., the discarded data amount of the first data stream) is greater than the first threshold, the RLC entity determines the MAC entity of the first node associated with the RLC entity, and indicates at least one of the first indication information, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream to the MAC entity. The first indication information is used to indicate the discard of the first data stream.
上述几个实施例中,数据丢弃发生在PDCP层和RLC层。RLC层与PDCP层不同在于,RLC层低于PDCP层,这样当发生数据丢弃时,PDCP层产生的丢弃数据量(和/或PDCP层的缓存数据量)可以通知到RLC层,因此RLC层可以获取PDCP层丢弃数据量的信息(和/或PDCP层的缓存数据量),RLC层可以结合本层的丢弃数据量信息,统计PCDP层和RLC层的总的丢弃数据量(和/或PDCP层和RLC层的总的缓存数据量),进而判断总的丢弃数据量是否大于第一门限,若总的丢弃数据量大于第一门限,RLC层向MAC层 指示数据丢弃、总的丢弃数据量信息、或者总的缓存数据量信息的至少一项。In the above-mentioned embodiments, data discard occurs at the PDCP layer and the RLC layer. The difference between the RLC layer and the PDCP layer is that the RLC layer is lower than the PDCP layer, so when data discard occurs, the amount of discarded data generated by the PDCP layer (and/or the amount of buffered data at the PDCP layer) can be notified to the RLC layer, so the RLC layer can obtain the information of the amount of discarded data at the PDCP layer (and/or the amount of buffered data at the PDCP layer). The RLC layer can combine the discarded data amount information of this layer to count the total amount of discarded data at the PCDP layer and the RLC layer (and/or the total amount of buffered data at the PDCP layer and the RLC layer), and then determine whether the total amount of discarded data is greater than the first threshold. If the total amount of discarded data is greater than the first threshold, the RLC layer sends a message to the MAC layer. Indicates at least one of data discard, total discarded data amount information, or total buffered data amount information.
上述几个实施例中,RLC实体是PDCP实体确定的已接收第二数据流中至少一个数据包的RLC实体,MAC实体是该RLC实体关联的MAC实体。In the above-mentioned embodiments, the RLC entity is an RLC entity determined by the PDCP entity to have received at least one data packet in the second data stream, and the MAC entity is a MAC entity associated with the RLC entity.
综上,S3021的信息指示可由第一节点的PDCP层或RLC层执行:In summary, the information indication of S3021 may be performed by the PDCP layer or the RLC layer of the first node:
PDPC层的执行,包括:在PDCP实体确定有数据丢弃时,PDCP实体获取丢弃数据量,若确定丢弃数据量大于第一门限,PDCP实体可以向RLC实体指示数据丢弃、丢弃数据量或缓存数据量的至少一项,还可以向与RLC实体关联的MAC实体指示数据丢弃、丢弃数据量或缓存数据量的至少一项。The execution of the PDPC layer includes: when the PDCP entity determines that data is discarded, the PDCP entity obtains the amount of discarded data. If it is determined that the amount of discarded data is greater than a first threshold, the PDCP entity can indicate at least one of the data discard, the amount of discarded data, or the amount of cached data to the RLC entity, and can also indicate at least one of the data discard, the amount of discarded data, or the amount of cached data to the MAC entity associated with the RLC entity.
RLC层的执行,包括:在RLC实体确定有数据丢弃时,RLC实体获取丢弃数据量,若确定丢弃数据量大于第一门限,RLC实体可以向与RLC实体关联的MAC实体指示数据丢弃、丢弃数据量或缓存数据量的至少一项。The execution of the RLC layer includes: when the RLC entity determines that data is discarded, the RLC entity obtains the amount of discarded data. If it is determined that the amount of discarded data is greater than a first threshold, the RLC entity can indicate at least one of the data discard, the amount of discarded data or the amount of cached data to the MAC entity associated with the RLC entity.
上述信息指示能够触发MAC实体上报缓存更新,可避免由于数据丢弃导致第一节点之前上报的缓存存在误差的情况。The above information indication can trigger the MAC entity to report cache update, which can avoid the situation where the cache previously reported by the first node has errors due to data discard.
图10为本申请实施例提供的一种信息指示方法的流程示意图七。一种可选的实施例中,如图10所示,上述S302,包括:FIG10 is a flow chart of an information indication method according to an embodiment of the present application. In an optional embodiment, as shown in FIG10 , the above S302 includes:
S3022、当第一数据流的丢弃数据量大于第一门限时,第一节点向第二节点指示以下至少一项:第一指示信息;第一数据流的丢弃数据量信息;第一数据流的缓存数据量信息。S3022. When the amount of discarded data of the first data stream is greater than the first threshold, the first node indicates at least one of the following to the second node: first indication information; information on the amount of discarded data of the first data stream; and information on the amount of cached data of the first data stream.
其中,第一指示信息用于指示第一数据流丢弃,第一数据流的丢弃数据量信息包括第一数据流的丢弃数据量,第一数据流的缓存数据量信息包括第一数据流的缓存数据量,第一数据流的缓存数据量为第一数据流发生数据丢弃后的缓存数据量。Among them, the first indication information is used to indicate that the first data stream is discarded, the discarded data volume information of the first data stream includes the discarded data volume of the first data stream, the cached data volume information of the first data stream includes the cached data volume of the first data stream, and the cached data volume of the first data stream is the cached data volume after data discard occurs in the first data stream.
一种可选的实施例中,当第一数据流的丢弃数据量大于第一门限时,第一节点的MAC层向第二节点指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项,以便第二节点为第一节点分配上行资源。In an optional embodiment, when the amount of discarded data of the first data stream is greater than a first threshold, the MAC layer of the first node indicates to the second node at least one of the first indication information, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream, so that the second node allocates uplink resources to the first node.
一种可选的实施例中,当第一数据流的丢弃数据量大于第一门限时,第一节点的MAC层向第二节点指示第一数据流的丢弃数据量信息,第二节点根据第一数据流的丢弃数据量信息和/或第一节点前次上报的缓存数据量信息,确定第一数据流的缓存数据量信息,进而为第一节点分配上行资源。In an optional embodiment, when the amount of discarded data of the first data stream is greater than a first threshold, the MAC layer of the first node indicates the discarded data amount information of the first data stream to the second node, and the second node determines the cached data amount information of the first data stream based on the discarded data amount information of the first data stream and/or the cached data amount information previously reported by the first node, and then allocates uplink resources to the first node.
一种可选的实施例中,当第一数据流的丢弃数据量大于第一门限时,第一节点的MAC层向第二节点指示第一数据流的缓存数据量信息,第二节点根据第一数据流的缓存数据量信息为第一节点分配上行资源。In an optional embodiment, when the amount of discarded data of the first data stream is greater than a first threshold, the MAC layer of the first node indicates the cached data amount information of the first data stream to the second node, and the second node allocates uplink resources to the first node based on the cached data amount information of the first data stream.
可以理解的是,当第一数据流包括第二数据流时,MAC实体判断第一数据流的丢弃数据量大于第一门限,可以为MAC实体判断第二数据流的丢弃数据量大于第一门限。It can be understood that when the first data stream includes the second data stream, the MAC entity determines that the amount of discarded data of the first data stream is greater than the first threshold, which may be the case that the MAC entity determines that the amount of discarded data of the second data stream is greater than the first threshold.
可以理解的是,当第一数据流包括第二数据流和第三数据流时则MAC实体判断第一数据流的丢弃数据量是否大于第一门限,包括MAC实体判断第二数据流的丢弃数据量是否大于第一门限,或者MAC实体判断第三数据流的丢弃数据量是否大于第一门限,或者MAC实体判断第二数据流的丢弃数据量与第三数据流的丢弃数据量的总和是否大于第一门限。MAC实体判断第二数据流的丢弃数据量与第三数据流的丢弃数据量的总和是否大于第一门限,可以包括第二数据流的丢弃数据量小于第一门限的情况或者第二数据流的丢弃数据量大于第一门限的情况,当第二数据流的丢弃数据量小于第一门限的情况,MAC 实体需要判断第二数据流和第三数据流的丢弃数据量总和是否大于第一门限;同时可以包括第三数据流的丢弃数据量小于第一门限的情况或者第三数据流的丢弃数据量大于第一门限的情况,当第三数据流的丢弃数据量小于第一门限的情况,MAC实体需要判断第二数据流和第三数据流的丢弃数据量总和是否大于第一门限。因此组合方式包括以下内容:It can be understood that when the first data stream includes the second data stream and the third data stream, the MAC entity determines whether the amount of discarded data of the first data stream is greater than the first threshold, including the MAC entity determining whether the amount of discarded data of the second data stream is greater than the first threshold, or the MAC entity determining whether the amount of discarded data of the third data stream is greater than the first threshold, or the MAC entity determining whether the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream is greater than the first threshold. The MAC entity determines whether the sum of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream is greater than the first threshold, which may include the case where the amount of discarded data of the second data stream is less than the first threshold or the case where the amount of discarded data of the second data stream is greater than the first threshold. When the amount of discarded data of the second data stream is less than the first threshold, the MAC The entity needs to determine whether the sum of the discarded data volume of the second data stream and the third data stream is greater than the first threshold; at the same time, it can include the case where the discarded data volume of the third data stream is less than the first threshold or the case where the discarded data volume of the third data stream is greater than the first threshold. When the discarded data volume of the third data stream is less than the first threshold, the MAC entity needs to determine whether the sum of the discarded data volume of the second data stream and the third data stream is greater than the first threshold. Therefore, the combination method includes the following contents:
1)组合方式1:第一数据流大于第一门限,第二数据流小于第一门限,第三数据流小于第一门限;1) Combination mode 1: the first data stream is greater than the first threshold, the second data stream is less than the first threshold, and the third data stream is less than the first threshold;
2)组合方式2:第一数据流大于第一门限,第二数据流大于第一门限,第三数据流小于第一门限;2) Combination mode 2: the first data stream is greater than the first threshold, the second data stream is greater than the first threshold, and the third data stream is less than the first threshold;
3)组合方式3:第一数据流大于第一门限,第二数据流小于第一门限,第三数据流大于第一门限;3) Combination mode 3: the first data stream is greater than the first threshold, the second data stream is less than the first threshold, and the third data stream is greater than the first threshold;
4)组合方式4:第一数据流大于第一门限,第二数据流大于第一门限,第三数据流大于第一门限。4) Combination mode 4: the first data stream is greater than the first threshold, the second data stream is greater than the first threshold, and the third data stream is greater than the first threshold.
可以理解的是,当MAC实体判断第一数据流的丢弃数据量是否大于第一门限的情况下,MAC实体需要获取到第一数据流的丢弃数据流It is understandable that when the MAC entity determines whether the amount of discarded data of the first data flow is greater than the first threshold, the MAC entity needs to obtain the amount of discarded data of the first data flow.
可以理解的是,当第一数据流包括第二数据流的情况,第一节点向第二节点指示第一指示信息(第一数据流丢弃)、第一数据流的丢弃数据量、或第一数据流的缓存数据量信息,可以为第一节点指示第一指示信息(第二数据流丢弃)、第二数据流的丢弃数据量、或第二数据流的缓存数据量信息。当第一数据流包括第二数据流和第三数据流时,则第一节点向第二节点指示第一指示信息(第一数据流丢弃)、第一数据流的丢弃数据量、或第一数据流的缓存数据量信息,可以为第一节点向第二节点层指示第一指示信息(第二数据流丢弃)、第二数据流的丢弃数据量、或第二数据流的缓存数据量信息,也可以是第一节点向第二节点指示第一指示信息(第三数据流丢弃)、第三数据流的丢弃数据量、或第三数据流的缓存数据量信息,也可以就是第一节点向第二节点指示第一指示信息(第一数据流丢弃)、第一数据流的丢弃数据量、或第一数据流的缓存数据量信息。It can be understood that when the first data stream includes the second data stream, the first node indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the cached data amount information of the first data stream to the second node, and the first indication information (the second data stream is discarded), the discarded data amount of the second data stream, or the cached data amount information of the second data stream can be indicated to the first node. When the first data stream includes the second data stream and the third data stream, the first node indicates the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the cached data amount information of the first data stream to the second node layer, and the first node can indicate the first indication information (the second data stream is discarded), the discarded data amount of the second data stream, or the cached data amount information of the second data stream to the second node layer, or the first node can indicate the first indication information (the third data stream is discarded), the discarded data amount of the third data stream, or the cached data amount information of the third data stream to the second node, or the first node can indicate the first indication information (the first data stream is discarded), the discarded data amount of the first data stream, or the cached data amount information of the first data stream to the second node.
本实施例示出的信息指示方法,通过向第二节点发送以上指示,以便第二节点基于该指示为第一节点分配上行资源,这样可以避免由于第一节点中数据丢弃导致第二节点为其分配多余的上行资源,从而提升整个通信链路的资源利用率。The information indication method shown in this embodiment sends the above indication to the second node so that the second node allocates uplink resources to the first node based on the indication. This can avoid the second node allocating excess uplink resources to the first node due to data discard in the first node, thereby improving the resource utilization of the entire communication link.
需要说明的是,若第一节点指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项之前,接收到来自第二节点的资源调度指示,则此前第一节点确定丢弃的数据量不会对资源调度产生影响,因此第一节点不需要指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。It should be noted that if the first node receives a resource scheduling indication from the second node before indicating at least one of the first indication information, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream, then the first node previously determined that the discarded data amount will not affect the resource scheduling, and therefore the first node does not need to indicate at least one of the first indication information, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream.
在上述各个实施例的基础上,一种可选实施例中,S302,可以包括:S3021(第一节点内部各实体的指示动作)和S3022(第一节点的MAC层向第二节点的指示动作)。Based on the above embodiments, in an optional embodiment, S302 may include: S3021 (indication action of each entity inside the first node) and S3022 (indication action of the MAC layer of the first node to the second node).
一种可选的实施例中,当第一数据流的丢弃数据量大于第一门限时,第一节点的第一实体(如,第一节点的PDCP层和RLC层的至少一项)向第一节点的第二实体(如,第一节点的MAC层)指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项;第一节点的第二实体向第二节点指示第一指示信息、第一数据流的丢弃数据量信息、或者第一数据流的缓存数据量信息的至少一项。对于“第一节点的第二实体向第二节点指示第一数据流的缓存数据量信息”,包括以下几种可能的实施方式: In an optional embodiment, when the amount of discarded data of the first data stream is greater than the first threshold, the first entity of the first node (e.g., at least one of the PDCP layer and the RLC layer of the first node) indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the second entity of the first node (e.g., the MAC layer of the first node); the second entity of the first node indicates at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream to the second node. The following possible implementations include "the second entity of the first node indicates the amount of cached data of the first data stream to the second node":
一种可能的实施方式中:若第一实体向第二实体指示第一指示信息,第二实体可通知第一实体下发第一数据流的丢弃数据量,第二实体可根据第一数据流的丢弃数据量确定第一数据流的缓存数据量,第二实体向第二节点指示第一数据流的缓存数据量信息。In a possible implementation: if the first entity indicates first indication information to the second entity, the second entity may notify the first entity to send the amount of discarded data of the first data flow, the second entity may determine the amount of cached data of the first data flow based on the amount of discarded data of the first data flow, and the second entity indicates the cached data amount information of the first data flow to the second node.
一种可能的实施方式中:若第一实体向第二实体指示第一指示信息,第二实体可通知第一实体下发第一数据流的缓存数据量,第二实体向第二节点指示第一数据流的缓存数据量信息。In a possible implementation: if the first entity indicates first indication information to the second entity, the second entity may notify the first entity to send the cached data volume of the first data flow, and the second entity indicates the cached data volume information of the first data flow to the second node.
一种可能的实施方式中:若第一实体向第二实体指示第一数据流的丢弃数据量,第二实体可根据第一数据流的丢弃数据量确定第一数据流的缓存数据量,第二实体向第二节点指示第一数据流的缓存数据量信息。In a possible implementation: if the first entity indicates the amount of discarded data of the first data flow to the second entity, the second entity can determine the amount of cached data of the first data flow based on the amount of discarded data of the first data flow, and the second entity indicates the cached data amount information of the first data flow to the second node.
一种可能的实施方式中:若第一实体向第二实体指示第一数据流的缓存数据量,第二实体向第二节点指示第一数据流的缓存数据量信息。In a possible implementation manner: if the first entity indicates the cached data volume of the first data flow to the second entity, the second entity indicates the cached data volume information of the first data flow to the second node.
可选的,在另一些实施例中,当第一节点的第一实体(如,第一节点的PDCP层和RLC层的至少一项)确定第一数据流有数据丢弃时,获取第一数据流的丢弃数据量信息,并向第一节点的第二实体(如,第一节点MAC层)指示第一数据流的丢弃数据量信息;第二实体判断第一数据流的丢弃数据量是否大于第一门限,若第一数据流的丢弃数据量大于第一门限,则第二实体确定第一数据流的缓存数据量信息,并向第二节点指示第一数据流的缓存数据量信息。其中,第一数据流的丢弃数据量信息包括PDCP层指示给MAC层的第二数据流的丢弃数据量,和/或,RLC层指示给MAC层的第三数据流的丢弃数据量。Optionally, in some other embodiments, when the first entity of the first node (e.g., at least one of the PDCP layer and the RLC layer of the first node) determines that the first data stream has data discarded, the discarded data volume information of the first data stream is obtained, and the discarded data volume information of the first data stream is indicated to the second entity of the first node (e.g., the MAC layer of the first node); the second entity determines whether the discarded data volume of the first data stream is greater than the first threshold. If the discarded data volume of the first data stream is greater than the first threshold, the second entity determines the buffered data volume information of the first data stream, and indicates the buffered data volume information of the first data stream to the second node. The discarded data volume information of the first data stream includes the discarded data volume of the second data stream indicated by the PDCP layer to the MAC layer, and/or the discarded data volume of the third data stream indicated by the RLC layer to the MAC layer.
与前述实施例不同的是,本实施例的第一节点的MAC层具有统计总的丢弃数据量、判断总的丢弃数据量是否大于第一门限的功能。Different from the above-mentioned embodiment, the MAC layer of the first node in this embodiment has the function of counting the total amount of discarded data and judging whether the total amount of discarded data is greater than the first threshold.
上述中第一节点的MAC层向第二节点指示的信息通过MAC CE(MAC Control Element,MAC控制单元)携带。The information indicated by the MAC layer of the first node to the second node in the above-mentioned process is carried by MAC CE (MAC Control Element).
需要说明的是,指示第一数据流的缓存数据量信息可以理解为在确定有数据丢弃,且数据丢弃量大于第一门限时,触发资源调度,如第一节点(如,MAC层)向第二节点重新上报BSR。It should be noted that the information indicating the amount of cached data of the first data flow can be understood as triggering resource scheduling when it is determined that data is discarded and the amount of data discarded is greater than the first threshold, such as the first node (such as the MAC layer) re-reporting the BSR to the second node.
综上所述,本申请实施例示出的信息指示方法,第一节点在确定第一数据流有数据丢弃时,获取第一数据流的丢弃数据量,若确定第一数据流的丢弃数据量大于第一门限,第一节点通过指示第一数据流丢弃、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项,以触发第一节点向第二节点上报缓存更新,避免由于数据丢弃导致第一节点之前上报的缓存存在误差的情况。To summarize, in the information indication method shown in the embodiment of the present application, when the first node determines that data has been discarded in the first data stream, it obtains the amount of discarded data of the first data stream. If it is determined that the amount of discarded data of the first data stream is greater than a first threshold, the first node triggers the first node to report a cache update to the second node by indicating at least one of the discard of the first data stream, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream, so as to avoid a situation where the cache previously reported by the first node has errors due to data discard.
在上述实施例的基础上,图11为本申请实施例提供的信息指示方法的流程示意图八。如图11所示,本实施例的信息指示方法应用于无线通信的第一节点,第一节点可以是图1所示的终端设备。该信息指示方法,包括:Based on the above embodiment, FIG11 is a flow chart of an information indication method provided in an embodiment of the present application. As shown in FIG11, the information indication method of this embodiment is applied to a first node of wireless communication, and the first node may be a terminal device as shown in FIG1. The information indication method includes:
S1101、获取在预设时长内第一数据流的丢弃数据量。S1101. Obtain the amount of discarded data of a first data stream within a preset time period.
本实施例中,预设时长可以由第二节点配置或者由第一节点自身获取的(例如第一节点通过一些参数计算得到的),本申请不做限定。In this embodiment, the preset duration may be configured by the second node or obtained by the first node itself (eg, obtained by the first node through calculation using some parameters), and this application does not limit this.
一个可选实施例中,预设时长可用于统计第一数据流的丢弃数据量,在预设时长结束的情况下可以统计第一数据流的丢弃数据量。 In an optional embodiment, the preset time period may be used to count the amount of discarded data of the first data stream, and the amount of discarded data of the first data stream may be counted when the preset time period expires.
一个可选实施例中,第一节点在确定第一数据流中有数据丢弃时,开启定时器。In an optional embodiment, when the first node determines that data is discarded in the first data flow, it starts a timer.
需要说明的是,在定时器开启的情况下,如果持续有数据丢弃,不会导致该定时器的重新开启,除非该定时器超时或停止后,又发生了新的数据丢弃。It should be noted that, when the timer is enabled, if data is continuously discarded, the timer will not be restarted unless new data is discarded after the timer times out or stops.
一个可选实施例中,S1101,可以包括:当定时器超时时,获取在预设时长内第一数据流的丢弃数据量。定时器的长度可以是该预设时长,定时器的长度可以由第二节点配置。获取的预设时长内的第一数据流的丢弃数据量包括触发该定时器开启的数据流的数据量。In an optional embodiment, S1101 may include: when the timer times out, obtaining the amount of discarded data of the first data flow within a preset time length. The length of the timer may be the preset time length, and the length of the timer may be configured by the second node. The amount of discarded data of the first data flow within the preset time length obtained includes the amount of data of the data flow that triggers the start of the timer.
一个可选的实施例中,定时器对应于一个数据无线承载(Data Radio Bearer,DRB)或者一个数据流。In an optional embodiment, the timer corresponds to a data radio bearer (DRB) or a data stream.
基于上述几个实施例,图12示出了定时器的工作原理示意图。Based on the above embodiments, FIG12 shows a schematic diagram of the working principle of a timer.
如图12的(a)所示,第一节点在确定第一数据流有数据丢弃时,开启定时器。第一节点可以在定时器超时时,统计在定时器时长内第一数据流的丢弃数据量,进而判断第一数据流的丢弃数据量是否大于第一门限。As shown in (a) of Figure 12, when the first node determines that data in the first data stream is discarded, it starts a timer. When the timer times out, the first node can count the amount of discarded data in the first data stream within the timer duration, and then determine whether the amount of discarded data in the first data stream is greater than the first threshold.
如图12的(b)所示,第一节点在确定第一数据流有数据丢弃时,开启定时器。第一节点在定时器超时之前,接收到资源调度指示,则停止该定时器,第一节点无需统计第一数据流的丢弃数据量。As shown in (b) of Figure 12, when the first node determines that data in the first data stream is discarded, it starts a timer. Before the timer expires, if the first node receives a resource scheduling indication, it stops the timer, and the first node does not need to count the amount of discarded data in the first data stream.
需要说明的是,如果该定时器配置在第一节点的第一协议层(如,PDCP层或RLC层),只有第一节点的第二协议层(MAC层)可以获取到资源调度指示,因此该资源调度指示可以由第一节点的第二协议层发给第一节点的第一协议层,第一节点的第一协议层停止该定时器。其中第一节点的第二协议层获取到的资源调度指示是由第二节点发送给第一节点的,也可以说第一节点接收到第二节点的资源调度指示。第一节点获取到资源调度指示的情况下,说明第一节点已经有资源进行数据传输,因此此前丢弃的数据量不会对资源调度产生影响,因此就不需要进行统计丢弃数据量的工作。It should be noted that if the timer is configured at the first protocol layer of the first node (such as the PDCP layer or the RLC layer), only the second protocol layer (MAC layer) of the first node can obtain the resource scheduling indication, so the resource scheduling indication can be sent by the second protocol layer of the first node to the first protocol layer of the first node, and the first protocol layer of the first node stops the timer. The resource scheduling indication obtained by the second protocol layer of the first node is sent to the first node by the second node, or it can be said that the first node receives the resource scheduling indication from the second node. When the first node obtains the resource scheduling indication, it means that the first node already has resources for data transmission, so the amount of data discarded before will not affect the resource scheduling, so there is no need to count the amount of discarded data.
基于图12的(b),可选的,定时器的长度小于或等于资源的平均调度时间。其中资源的平均调度时间可以理解为第一节点向第二节点上报BSR后获取到资源的时间间隔的平均值。Based on (b) of FIG12 , optionally, the length of the timer is less than or equal to the average scheduling time of the resource, wherein the average scheduling time of the resource can be understood as the average time interval for the first node to obtain the resource after reporting the BSR to the second node.
基于上述几个实施例,一个可选的实施例中,第一节点获取第一数据流的丢弃数据量,包括以下至少一项:第一节点的PDCP实体获取第二数据流的丢弃数据量;第一节点的RLC实体获取第三数据流的丢弃数据量;第一节点的MAC实体获取第一数据流的丢弃数据量。Based on the above-mentioned embodiments, in an optional embodiment, the first node obtains the amount of discarded data of the first data stream, including at least one of the following: the PDCP entity of the first node obtains the amount of discarded data of the second data stream; the RLC entity of the first node obtains the amount of discarded data of the third data stream; the MAC entity of the first node obtains the amount of discarded data of the first data stream.
一种可选的实施例中,第一节点的PDCP实体确定第二数据流有数据丢弃时,获取在预设时长内的第二数据流的丢弃数据量。In an optional embodiment, when the PDCP entity of the first node determines that data has been discarded in the second data stream, the amount of discarded data of the second data stream within a preset time length is obtained.
一种可选的实施例中,第一节点的PDCP实体确定第二数据流有数据丢弃时,开启第一定时器,在第一定时器超时时,获取第二数据流的丢弃数据量。其中,第一定时器的长度可由第二节点配置。该实施例中,PDCP实体用于统计第二数据流的丢弃数据量,若第二数据流包括多个数据流(例如多个PDU set),PDCP实体可以分别统计每个数据流(例如每个PDU set)的丢弃数据量,再统计多个数据流的总丢弃数据量。In an optional embodiment, when the PDCP entity of the first node determines that data has been discarded in the second data stream, the first timer is started, and when the first timer times out, the amount of discarded data in the second data stream is obtained. The length of the first timer can be configured by the second node. In this embodiment, the PDCP entity is used to count the amount of discarded data in the second data stream. If the second data stream includes multiple data streams (e.g., multiple PDU sets), the PDCP entity can count the amount of discarded data for each data stream (e.g., each PDU set) separately, and then count the total amount of discarded data for the multiple data streams.
一种可选的实施例中,第一节点的PDCP实体确定第二数据流有数据丢弃时,开启第一定时器,在第一定时器超时时,获取第二数据流的丢弃数据量。PDCP实体向第一节点的RLC实体指示第一指示信息和/或第二数据流的丢弃数据量,第一指示信息用于指示第二数据流丢弃。RLC实体在获取到第一指示信息和/或第二数据流的丢弃数据量时,RLC 可以获知在一段时间内丢弃了数据,即可以进行统计第三数据流的丢弃数据量,则RLC实体获取第一定时器时长内第三数据流的丢弃数据量。In an optional embodiment, when the PDCP entity of the first node determines that data of the second data stream is discarded, the first timer is started, and when the first timer times out, the amount of discarded data of the second data stream is obtained. The PDCP entity indicates the first indication information and/or the amount of discarded data of the second data stream to the RLC entity of the first node, and the first indication information is used to indicate the discard of the second data stream. When the RLC entity obtains the first indication information and/or the amount of discarded data of the second data stream, the RLC It can be known that data is discarded within a period of time, that is, the amount of discarded data of the third data flow can be counted, and the RLC entity obtains the amount of discarded data of the third data flow within the first timer duration.
在一种可选的实施例中,第一节点的PDCP实体确定第二数据流有数据丢弃时,向第一节点的RLC实体指示有数据丢弃的指示信息,此时RLC实体可以获知PDCP实体已经发生了数据丢弃,等RLC实体再次从PDCP实体接收到有数据丢弃的指示信息(即连续收到两次数据丢弃的指示信息)时,RLC实体统计两次数据丢弃的指示信息之间时长的第三数据流信息。In an optional embodiment, when the PDCP entity of the first node determines that data discard occurs in the second data stream, it indicates data discard indication information to the RLC entity of the first node. At this time, the RLC entity can learn that data discard has occurred at the PDCP entity. When the RLC entity receives data discard indication information from the PDCP entity again (i.e., receives data discard indication information twice in succession), the RLC entity counts the time length between the two data discard indication information for the third data stream.
一种可选的实施例中,第一节点的PDCP实体确定第二数据流有数据丢弃时,开启第一定时器,并向第一节点的RLC实体指示第一定时器开启的指示信息,此时RLC实体可以获知PDCP实体已经发生了数据丢弃,等RLC实体从PDCP实体接收到PDCP实体统计的第二数据流的丢弃数据量时,RLC实体统计从接收到第一定时器开启的指示信息到接收到第二数据流的丢弃数据量之间时长的第三数据流信息。该实施例中,RLC实体用于统计第二数据流的丢弃数据量和第三数据流的丢弃数据量的总和,即统计第一数据流的丢弃数据量。其中,第二数据流的丢弃数据量和第三数据流的丢弃数据量的总和是同一时段内PDCP层和RLC层的总的丢弃数据量。In an optional embodiment, when the PDCP entity of the first node determines that data has been discarded in the second data stream, it starts the first timer and indicates the indication information of the first timer being turned on to the RLC entity of the first node. At this time, the RLC entity can learn that data discard has occurred in the PDCP entity. When the RLC entity receives the discarded data amount of the second data stream counted by the PDCP entity from the PDCP entity, the RLC entity counts the third data stream information of the time from receiving the indication information of the first timer being turned on to receiving the discarded data amount of the second data stream. In this embodiment, the RLC entity is used to count the sum of the discarded data amount of the second data stream and the discarded data amount of the third data stream, that is, to count the discarded data amount of the first data stream. Among them, the sum of the discarded data amount of the second data stream and the discarded data amount of the third data stream is the total discarded data amount of the PDCP layer and the RLC layer in the same time period.
一种可选的实施例中,第一节点的MAC实体确定第一数据流有数据丢弃时,获取在预设时长内的第一数据流的丢弃数据量。In an optional embodiment, when the MAC entity of the first node determines that data in the first data stream is discarded, the amount of discarded data in the first data stream within a preset time length is obtained.
一种可选的实施例中,第一节点的MAC实体确定第一数据流有数据丢弃时,开启第三定时器,在第三定时器超时时,获取第一数据流的丢弃数据量。其中,第三定时器的长度可由第二节点配置。示例性的,在第三定时器超时时,MAC实体从第一节点的PDCP实体获取第二数据流的丢弃数据量,和/或,MAC实体从第一节点的RLC实体获取第三数据流的丢弃数据量。该实施例中,MAC实体用于统计在第三定时器时长内第二数据流和/或第三数据流的总的丢弃数据量(即统计在第三定时器时长内第一数据流的丢弃数据量)。In an optional embodiment, when the MAC entity of the first node determines that data has been discarded in the first data stream, the third timer is started, and when the third timer times out, the amount of discarded data in the first data stream is obtained. The length of the third timer can be configured by the second node. Exemplarily, when the third timer times out, the MAC entity obtains the amount of discarded data of the second data stream from the PDCP entity of the first node, and/or the MAC entity obtains the amount of discarded data of the third data stream from the RLC entity of the first node. In this embodiment, the MAC entity is used to count the total amount of discarded data of the second data stream and/or the third data stream within the duration of the third timer (i.e., count the amount of discarded data of the first data stream within the duration of the third timer).
一种可选的实施例中,第一节点的PDCP实体确定第二数据流有数据丢弃时,开启第一定时器,若在第一定时器超时之前,PDCP实体获取到资源调度指示(MAC实体指示资源调度指示至RLC实体,RLC实体再指示资源调度指示至PDCP实体;或者,MAC实体指示资源调度指示到PDCP实体),则PDCP实体停止第一定时器,PDCP实体无需统计第二数据流的丢弃数据量。In an optional embodiment, when the PDCP entity of the first node determines that data has been discarded in the second data stream, it starts a first timer. If, before the first timer expires, the PDCP entity obtains a resource scheduling indication (the MAC entity indicates the resource scheduling indication to the RLC entity, and the RLC entity then indicates the resource scheduling indication to the PDCP entity; or, the MAC entity indicates the resource scheduling indication to the PDCP entity), the PDCP entity stops the first timer, and the PDCP entity does not need to count the amount of discarded data in the second data stream.
一种可选的实施例中,第一节点的RLC实体确定第三数据流有数据丢弃时,获取在预设时长内的第三数据流的丢弃数据量。In an optional embodiment, when the RLC entity of the first node determines that data of the third data stream is discarded, the discarded data amount of the third data stream within a preset time length is obtained.
一种可选的实施例中,第一节点的RLC实体确定第三数据流有数据丢弃时,开启第二定时器,在第二定时器超时时,获取第三数据流的丢弃数据量。其中,第二定时器的长度可由第二节点配置。该实施例中,数据丢弃发生在RLC层,PDCP层未发生数据丢弃。该实施例中,RLC实体用于统计第三数据流的丢弃数据量,若第三数据流包括多个数据流,RLC实体可以分别通过每个数据流的丢弃数据量,再统计多个数据流的总的丢弃数据量。In an optional embodiment, when the RLC entity of the first node determines that data has been discarded in the third data stream, the second timer is started, and when the second timer times out, the amount of discarded data in the third data stream is obtained. The length of the second timer can be configured by the second node. In this embodiment, data discard occurs at the RLC layer, and no data discard occurs at the PDCP layer. In this embodiment, the RLC entity is used to count the amount of discarded data in the third data stream. If the third data stream includes multiple data streams, the RLC entity can count the total amount of discarded data in the multiple data streams by counting the amount of discarded data of each data stream respectively.
一种可选的实施例中,第一节点的RLC实体确定第三数据流有数据丢弃时,开启第二定时器,若在第二定时器超时之前,RLC实体通过第一节点的MAC实体获取到资源调度指示,则RLC实体停止第二定时器,RLC实体无需统计第三数据流的丢弃数据量。In an optional embodiment, when the RLC entity of the first node determines that data has been discarded in the third data stream, it starts a second timer. If, before the second timer expires, the RLC entity obtains a resource scheduling indication through the MAC entity of the first node, the RLC entity stops the second timer, and the RLC entity does not need to count the amount of discarded data in the third data stream.
需要说明的是,上述的第一定时器、第二定时器和第三定时器的长度可以相同或不同, 对此本实施例不作限定。It should be noted that the lengths of the first timer, the second timer and the third timer may be the same or different. This embodiment is not limited to this.
S1102、当第一数据流的丢弃数据量大于第一门限时,指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。S1102: When the amount of discarded data of the first data stream is greater than a first threshold, indicate at least one of first indication information, information about the amount of discarded data of the first data stream, or information about the amount of buffered data of the first data stream.
本实施例的S1102可参照上文实施例的S302,此处不再展开。S1102 of this embodiment may refer to S302 of the above embodiment, which will not be elaborated here.
综上所述,本申请实施例示出的信息指示方法,第一节点在确定第一数据流有数据丢弃时,获取在预设时长内的第一数据流的丢弃数据量后,若确定第一数据流的丢弃数据量大于第一门限,第一节点通过指示第一数据流丢弃、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项,以触发第一节点向第二节点上报缓存更新,避免由于数据丢弃导致第一节点之前上报的缓存存在误差的情况。To summarize, the information indication method shown in the embodiment of the present application is that when the first node determines that data has been discarded in the first data stream, after obtaining the amount of discarded data of the first data stream within a preset time length, if it is determined that the amount of discarded data of the first data stream is greater than a first threshold, the first node triggers the first node to report a cache update to the second node by indicating at least one of the discard of the first data stream, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream, so as to avoid the situation where the cache previously reported by the first node has errors due to data discard.
图13为本申请实施例提供的信息指示方法的流程示意图八。如图13所示,本实施例的信息指示方法,包括:FIG13 is a flow chart of an information indication method according to an embodiment of the present application. As shown in FIG13 , the information indication method according to the present embodiment includes:
S1301、第二节点发送第一信息。S1301. The second node sends first information.
一种示例中,第二节点向第一节点发送第一信息。In one example, the second node sends first information to the first node.
其中,第一信息包括以下至少一项信息:The first information includes at least one of the following information:
是否获取第一数据流的丢弃数据量;Whether to obtain the amount of discarded data of the first data stream;
是否指示第一指示信息;whether to indicate the first indication information;
是否指示第一数据流的丢弃数据量信息;Whether to indicate the amount of discarded data of the first data stream;
是否指示第一数据流的缓存数据量信息。Whether to indicate the cache data amount information of the first data stream.
一种可选的实施例中,第一信息包括是否获取第一数据流的丢弃数据量。In an optional embodiment, the first information includes whether to obtain the amount of discarded data of the first data flow.
一种示例中,第一信息包括第一标识信息,若第一标识信息用于指示第一节点获取第一数据流的丢弃数据量,则第一节点根据该第一标识信息,触发第一节点获取(或统计或计算)第一数据流的丢弃数据量的功能。In one example, the first information includes first identification information. If the first identification information is used to instruct the first node to obtain the amount of discarded data of the first data stream, the first node triggers the function of obtaining (or counting or calculating) the amount of discarded data of the first data stream based on the first identification information.
一种示例中,第一信息包括第一标识信息,若第一标识信息用于指示第一节点不获取第一数据流的丢弃数据量,第一节点根据该第一标识信息,不触发第一节点获取第一数据流的丢弃数据量的功能。In one example, the first information includes first identification information. If the first identification information is used to indicate that the first node does not obtain the amount of discarded data of the first data stream, the first node does not trigger a function of obtaining the amount of discarded data of the first data stream based on the first identification information.
可选的,在一些实施例中,第一信息不包括或者释放第一标识信息,该示例相当于第二节点没有在第一信息中配置是否获取第一数据流的丢弃数据量的标识信息,因此第一节点就不会触发获取第一数据流的丢弃数据量的功能。Optionally, in some embodiments, the first information does not include or releases the first identification information. This example is equivalent to the second node not configuring in the first information whether to obtain the identification information of the amount of discarded data of the first data stream. Therefore, the first node will not trigger the function of obtaining the amount of discarded data of the first data stream.
一种可选的实施例中,第一信息包括是否指示第一指示信息。In an optional embodiment, the first information includes whether to indicate first indication information.
一种示例中,第一信息包括第二标识信息,若第二标识信息用于指示第一节点指示第一指示信息,则第一节点根据该第二标识信息,触发第一节点指示第一指示信息的功能。In one example, the first information includes second identification information. If the second identification information is used to indicate that the first node indicates the first indication information, the first node triggers a function of the first node indicating the first indication information according to the second identification information.
一种示例中,第一信息包括第二标识信息,若第二标识信息用于指示第一节点不指示第一指示信息,第一节点根据该第二标识信息,不触发第一节点指示第一指示信息的功能。In one example, the first information includes second identification information. If the second identification information is used to indicate that the first node does not indicate the first indication information, the first node does not trigger a function of indicating the first indication information based on the second identification information.
可选的,在一些实施例中,第一信息不包括或者释放第二标识信息,该示例相当于第二节点没有在第一信息中配置是否指示第一指示信息的标识信息,因此第一节点就不会触发指示第一指示信息的功能。Optionally, in some embodiments, the first information does not include or releases the second identification information. This example is equivalent to the second node not configuring the identification information of whether to indicate the first indication information in the first information, so the first node will not trigger the function of indicating the first indication information.
一种可选的实施例中,第一信息包括是否指示第一数据流的丢弃数据量信息。In an optional embodiment, the first information includes information indicating whether to indicate the amount of discarded data of the first data flow.
一种示例中,第一信息包括第三标识信息,若第三标识信息用于指示第一节点指示第一数据流的丢弃数据量信息,则第一节点根据该第三标识信息,触发第一节点指示第一数 据流的丢弃数据量信息的功能。In one example, the first information includes third identification information. If the third identification information is used to indicate that the first node indicates the amount of discarded data of the first data flow, the first node triggers the first node to indicate the amount of discarded data of the first data flow according to the third identification information. The function to discard the amount of data flow information.
一种示例中,第一信息包括第三标识信息,若第三标识信息用于指示第一节点不指示第一数据流的丢弃数据量信息,第一节点根据该第三标识信息,不触发第一节点指示第一数据流的丢弃数据量信息的功能。In one example, the first information includes third identification information. If the third identification information is used to indicate that the first node does not indicate the discarded data volume information of the first data stream, the first node does not trigger the function of indicating the discarded data volume information of the first data stream based on the third identification information.
可选的,在一些实施例中,第一信息不包括或者释放第三标识信息,该示例相当于第二节点没有在第一信息中配置是否指示第一数据流的丢弃数据量信息的标识信息,因此第一节点就不会触发指示第一数据流的丢弃数据量信息的功能。Optionally, in some embodiments, the first information does not include or releases the third identification information. This example is equivalent to the second node not configuring the identification information indicating whether to indicate the discarded data volume information of the first data stream in the first information. Therefore, the first node will not trigger the function of indicating the discarded data volume information of the first data stream.
一种可选的实施例中,第一信息包括是否指示第一数据流的缓存数据量信息。或者第一信息包括指示第一节点在第一数据流丢弃的情况下,是否指示第一数据流的缓存数据量信息。In an optional embodiment, the first information includes information indicating whether to indicate the amount of buffered data of the first data flow. Or the first information includes information indicating whether the first node indicates the amount of buffered data of the first data flow when the first data flow is discarded.
一种示例中,第一信息包括第四标识信息,若第四标识信息用于指示第一节点指示第一数据流的缓存数据量信息,或者,指示第一节点在第一数据流丢弃的情况下指示第一数据流的缓存数据量信息,则第一节点根据该第四标识信息,触发第一节点指示第一数据流的缓存数据量信息的功能。In one example, the first information includes fourth identification information. If the fourth identification information is used to indicate the first node to indicate the cached data volume information of the first data stream, or to indicate the first node to indicate the cached data volume information of the first data stream when the first data stream is discarded, the first node triggers the function of the first node to indicate the cached data volume information of the first data stream based on the fourth identification information.
一种示例中,第一信息包括第四标识信息,若第四标识信息用于指示第一节点不指示第一数据流的缓存数据量信息,或者,指示第一节点在第一数据流丢弃的情况下不指示第一数据流的缓存数据量信息,第一节点根据该第四标识信息,不触发第一节点指示第一数据流的缓存数据量信息的功能。In one example, the first information includes fourth identification information. If the fourth identification information is used to indicate that the first node does not indicate the cached data volume information of the first data stream, or indicates that the first node does not indicate the cached data volume information of the first data stream when the first data stream is discarded, the first node does not trigger the function of the first node indicating the cached data volume information of the first data stream based on the fourth identification information.
可选的,在一些实施例中,第一信息不包括或者释放第四标识信息,该示例相当于第二节点没有在第一信息中配置是否指示第一数据流的缓存数据量信息的标识信息,因此第一节点就不会触发指示第一数据流的缓存数据量信息的功能。Optionally, in some embodiments, the first information does not include or releases the fourth identification information. This example is equivalent to the second node not configuring the identification information indicating the cached data volume information of the first data stream in the first information. Therefore, the first node will not trigger the function of indicating the cached data volume information of the first data stream.
在一些实施例中,第一信息还包括以下至少一项:第一门限;定时器的长度。In some embodiments, the first information further includes at least one of the following: a first threshold; a length of a timer.
可选的,第一信息可以包括以下至少一项:第一定时器的长度;第二定时器的长度;第三定时器的长度。其中第一定时器可以配置在第一节点的PDCP层,第二定时器可以配置在第一节点的RLC层,第三定时器可以配置在第一节点的MAC层。第一定时器、第二定时器和第三定时器的长度可以相同或不同。Optionally, the first information may include at least one of the following: the length of a first timer; the length of a second timer; the length of a third timer. The first timer may be configured at the PDCP layer of the first node, the second timer may be configured at the RLC layer of the first node, and the third timer may be configured at the MAC layer of the first node. The lengths of the first timer, the second timer, and the third timer may be the same or different.
综上所述,本申请实施例示出的信息指示方法,通过第二节点向第一节点发送第一信息,可以触发第一节点执行:在确定第一数据流有数据丢弃时,获取在预设时长内的第一数据流的丢弃数据量后,若确定第一数据流的丢弃数据量大于第一门限,向第二节点指示第一数据流丢弃、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项,避免由于数据丢弃导致第一节点向第二节点上报的缓存存在误差,导致第二节点为第一节点分配多余资源。To summarize, the information indication method shown in the embodiment of the present application can trigger the first node to execute by sending the first information to the first node through the second node: when it is determined that data has been discarded in the first data stream, after obtaining the discarded data amount of the first data stream within a preset time length, if it is determined that the discarded data amount of the first data stream is greater than a first threshold, indicating to the second node at least one of the discard of the first data stream, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream, to avoid errors in the cache reported by the first node to the second node due to data discard, causing the second node to allocate excess resources to the first node.
图14为本申请实施例提供的终端设备的结构示意图。如图14所示,终端设备1400,包括:获取模块1401,用于获取第一数据流的丢弃数据量;处理模块1402,用于当第一数据流的丢弃数据量大于第一门限时,指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项;其中第一指示信息用于指示第一数据流丢弃。Figure 14 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. As shown in Figure 14, the terminal device 1400 includes: an acquisition module 1401, which is used to acquire the amount of discarded data of the first data stream; a processing module 1402, which is used to indicate at least one of the first indication information, the amount of discarded data of the first data stream, or the amount of cached data of the first data stream when the amount of discarded data of the first data stream is greater than the first threshold; wherein the first indication information is used to indicate that the first data stream is discarded.
一个可选实施例中,获取模块1401,用于获取在预设时长内第一数据流的丢弃数据量。In an optional embodiment, the acquisition module 1401 is used to acquire the amount of discarded data of the first data flow within a preset time period.
一个可选实施例中,处理模块1402,用于确定第一数据流中有数据丢弃时,开启定时器。 In an optional embodiment, the processing module 1402 is configured to start a timer when it is determined that data is discarded in the first data stream.
一个可选实施例中,获取模块1401,用于当定时器超时时,获取在预设时长内第一数据流的丢弃数据量。In an optional embodiment, the acquisition module 1401 is used to acquire the amount of discarded data of the first data flow within a preset time period when the timer times out.
一个可选实施例中,获取第一数据流的丢弃数据量,包括以下至少一项:终端设备的分组数据汇聚协议PDCP实体获取第二数据流的丢弃数据量;终端设备的无线链路层控制协议RLC实体获取第三数据流的丢弃数据量;终端设备的媒体访问控制MAC实体获取第一数据流的丢弃数据量。In an optional embodiment, obtaining the amount of discarded data of the first data stream includes at least one of the following: a packet data convergence protocol PDCP entity of a terminal device obtains the amount of discarded data of a second data stream; a radio link layer control protocol RLC entity of the terminal device obtains the amount of discarded data of a third data stream; a media access control MAC entity of the terminal device obtains the amount of discarded data of the first data stream.
一个可选实施例中,第一数据流的丢弃数据量包括第二数据流的丢弃数据量和第三数据流的丢弃数据量的至少一项;第二数据流的丢弃数据量包括以下至少一项数据内容:丢弃的第二数据流的PDCP业务数据单元SDU;丢弃的第二数据流的待传输的PDCP协议数据单元PDU;丢弃的第二数据流的待重传的PDCP PDU;第三数据流的丢弃数据量包括以下至少一项数据内容:丢弃的第三数据流的RLC SDU和RLC SDU分段;丢弃的第三数据流的待传输的RLC PDU;丢弃的第三数据流的待重传的RLC PDU。In an optional embodiment, the amount of discarded data of the first data stream includes at least one of the amount of discarded data of the second data stream and the amount of discarded data of the third data stream; the amount of discarded data of the second data stream includes at least one of the following data contents: discarded PDCP service data unit SDU of the second data stream; discarded PDCP protocol data unit PDU to be transmitted of the second data stream; discarded PDCP PDU to be retransmitted of the second data stream; the amount of discarded data of the third data stream includes at least one of the following data contents: discarded RLC SDU and RLC SDU segments of the third data stream; discarded RLC PDU to be transmitted of the third data stream; discarded RLC PDU to be retransmitted of the third data stream.
一个可选实施例中,处理模块1402,用于通过终端设备的PDCP实体向终端设备的MAC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment, the processing module 1402 is used to indicate at least one of the first indication information, the discarded data volume information of the first data flow, or the cached data volume information of the first data flow to the MAC entity of the terminal device through the PDCP entity of the terminal device.
一个可选实施例中,处理模块1402,用于通过终端设备的PDCP实体向终端设备的RLC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment, the processing module 1402 is used to indicate at least one of the first indication information, the discarded data volume information of the first data flow, or the cached data volume information of the first data flow to the RLC entity of the terminal device through the PDCP entity of the terminal device.
一个可选实施例中,第一数据流包括第二数据流,处理模块1402,用于当第二数据流的丢弃数据量大于第一门限时,通过PDCP实体向RLC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment, the first data stream includes a second data stream, and the processing module 1402 is used to indicate at least one of the first indication information, the discarded data amount information of the first data stream, or the cached data amount information of the first data stream to the RLC entity through the PDCP entity when the discarded data amount of the second data stream is greater than the first threshold.
一个可选实施例中,第一数据流包括第二数据流,处理模块1402,用于当第二数据流的丢弃数据量小于或等于第一门限时,通过PDCP实体向RLC实体指示第二数据流的丢弃数据量信息。In an optional embodiment, the first data stream includes a second data stream, and the processing module 1402 is used to indicate the discarded data amount information of the second data stream to the RLC entity through the PDCP entity when the discarded data amount of the second data stream is less than or equal to the first threshold.
一个可选实施例中,处理模块1402,用于通过终端设备的RLC实体向终端设备的MAC实体指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment, the processing module 1402 is used to indicate at least one of the first indication information, the discarded data volume information of the first data stream, or the cached data volume information of the first data stream to the MAC entity of the terminal device through the RLC entity of the terminal device.
一个可选实施例中,RLC实体为PDCP实体确定传输第一数据流到的RLC实体,第一数据流中有数据丢弃;MAC实体为与RLC实体关联的MAC实体。In an optional embodiment, the RLC entity is a RLC entity to which the PDCP entity determines to transmit a first data stream, and data in the first data stream is discarded; and the MAC entity is a MAC entity associated with the RLC entity.
一个可选实施例中,处理模块1402,用于通过终端设备的MAC实体向网络设备指示第一指示信息、第一数据流的丢弃数据量信息、或第一数据流的缓存数据量信息的至少一项。In an optional embodiment, the processing module 1402 is used to indicate at least one of the first indication information, the discarded data volume information of the first data flow, or the cached data volume information of the first data flow to the network device through the MAC entity of the terminal device.
一个可选实施例中,第一门限由网络设备配置;或者,第一门限由终端设备根据缓存状态报告BSR的缓存区间确定。In an optional embodiment, the first threshold is configured by the network device; or, the first threshold is determined by the terminal device according to a buffer interval of a buffer status report BSR.
一个可选实施例中,获取模块1401,用于接收来自网络设备的第一信息,第一信息包括以下至少一项信息:是否获取第一数据流的丢弃数据量;是否指示第一指示信息;是否指示第一数据流的丢弃数据量信息;是否指示第一数据流的缓存数据量信息。In an optional embodiment, the acquisition module 1401 is used to receive first information from a network device, and the first information includes at least one of the following information: whether to obtain the amount of discarded data of the first data stream; whether to indicate first indication information; whether to indicate the amount of discarded data of the first data stream; whether to indicate the cached data amount information of the first data stream.
一个可选实施例中,第一信息还包括以下至少一项:第一门限;定时器的长度。In an optional embodiment, the first information further includes at least one of the following: a first threshold; and a length of a timer.
本实施例提供的终端设备,用于实现前述方法实施例中的第一节点的技术方案,其实 现原理和技术效果类似,在此不再赘述。The terminal device provided in this embodiment is used to implement the technical solution of the first node in the aforementioned method embodiment. The current principle and technical effect are similar and will not be described here.
图15为本申请实施例提供的网络设备的结构示意图。如图15所示,网络设备1500,包括:发送模块1501,用于发送第一信息,第一信息包括以下至少一项信息:是否获取第一数据流的丢弃数据量;是否指示第一指示信息;是否指示第一数据流的丢弃数据量信息;是否指示第一数据流的缓存数据量信息。Figure 15 is a schematic diagram of the structure of a network device provided by an embodiment of the present application. As shown in Figure 15, the network device 1500 includes: a sending module 1501, which is used to send a first information, and the first information includes at least one of the following information: whether to obtain the amount of discarded data of the first data flow; whether to indicate the first indication information; whether to indicate the amount of discarded data of the first data flow; whether to indicate the amount of cached data of the first data flow.
一个可选实施例中,第一信息还包括以下至少一项:第一门限;定时器的长度。In an optional embodiment, the first information further includes at least one of the following: a first threshold; and a length of a timer.
本实施例提供的网络设备,用于实现前述方法实施例中的第二节点的技术方案,其实现原理和技术效果类似,在此不再赘述。The network device provided in this embodiment is used to implement the technical solution of the second node in the aforementioned method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
图16为本申请实施例提供的终端设备的硬件结构示意图。如图16所示,终端设备1600,包括:处理器1601和存储器1602;所述存储器1602存储计算机执行指令;所述处理器1601执行所述存储器1602存储的计算机执行指令,使得所述终端设备执行前述方法实施例中第一节点的技术方案,其实现原理和技术效果类似,在此不再赘述。Figure 16 is a schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application. As shown in Figure 16, the terminal device 1600 includes: a processor 1601 and a memory 1602; the memory 1602 stores computer-executable instructions; the processor 1601 executes the computer-executable instructions stored in the memory 1602, so that the terminal device executes the technical solution of the first node in the aforementioned method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
图17为本申请实施例提供的网络设备的硬件结构示意图。如图17所示,网络设备1700,包括:处理器1701和存储器1702;所述存储器1702存储计算机执行指令;所述处理器1701执行所述存储器1702存储的计算机执行指令,使得所述网络设备执行前述方法实施例中第二节点的技术方案,其实现原理和技术效果类似,在此不再赘述。Figure 17 is a schematic diagram of the hardware structure of the network device provided in the embodiment of the present application. As shown in Figure 17, the network device 1700 includes: a processor 1701 and a memory 1702; the memory 1702 stores computer-executable instructions; the processor 1701 executes the computer-executable instructions stored in the memory 1702, so that the network device executes the technical solution of the second node in the aforementioned method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现如前述方法实施例中第一节点执行的方法步骤。An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method steps performed by the first node in the aforementioned method embodiment are implemented.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现如前述方法实施例中第二节点执行的方法步骤。An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method steps performed by the second node in the aforementioned method embodiment are implemented.
本申请实施例提供一种计算机程序产品,包括计算机程序,当计算机程序被运行时,使得计算机执行如前述方法实施例中第一节点执行的方法步骤。An embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed, the computer executes the method steps executed by the first node in the aforementioned method embodiment.
本申请实施例提供一种计算机程序产品,包括计算机程序,当计算机程序被运行时,使得计算机执行如前述方法实施例中第二节点执行的方法步骤。An embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed, the computer executes the method steps executed by the second node in the aforementioned method embodiment.
上述实施例中描述的方法可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。如果在软件中实现,则功能可以作为一个或多个指令或代码存储在计算机可读介质上或者在计算机可读介质上传输。计算机可读介质可以包括计算机存储介质和通信介质,还可以包括任何可以将计算机程序从一个地方传送到另一个地方的介质。存储介质可以是可由计算机访问的任何目标介质。The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media may include computer storage media and communication media, and may also include any medium that can transfer a computer program from one place to another. The storage medium may be any target medium that can be accessed by a computer.
一种可能的实现方式中,计算机可读介质可以包括RAM,ROM,只读光盘(compact disc read-only memory,CD-ROM)或其它光盘存储器,磁盘存储器或其它磁存储设备,或目标于承载的任何其它介质或以指令或数据结构的形式存储所需的程序代码,并且可由计算机访问。而且,任何连接被适当地称为计算机可读介质。例如,如果使用同轴电缆,光纤电缆,双绞线,数字用户线(Digital Subscriber Line,DSL)或无线技术(如红外,无线电和微波)从网站,服务器或其它远程源传输软件,则同轴电缆,光纤电缆,双绞线,DSL或诸如红外,无线电和微波之类的无线技术包括在介质的定义中。如本文所使用的磁盘和光盘包括光盘,激光盘,光盘,数字通用光盘(Digital Versatile Disc,DVD),软盘和蓝光盘,其中磁盘通常以磁性方式再现数据,而光盘利用激光光学地再现数据。上述的组合也应包括在计算机可读介质的范围内。 In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVD), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.
本申请实施例提供一种计算机程序产品,计算机程序产品包括计算机程序,当计算机程序被运行时,使得计算机执行上述方法。An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method.
本申请实施例是参照根据本申请实施例的方法、设备(系统)的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程设备的处理单元以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理单元执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application embodiment is described with reference to the flowchart and/or block diagram of the method, device (system) according to the embodiment of the present application. It should be understood that each process and/or box in the flowchart and/or block diagram, and the combination of the process and/or box in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processing unit of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable device to produce a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device produce a device for implementing the function specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
以上的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。 The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the protection scope of the present invention.
Claims (22)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310379972.5A CN118741599A (en) | 2023-03-31 | 2023-03-31 | Information indication method, device and storage medium |
| CN202310379972.5 | 2023-03-31 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024198499A1 true WO2024198499A1 (en) | 2024-10-03 |
Family
ID=92846269
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/137433 Pending WO2024198499A1 (en) | 2023-03-31 | 2023-12-08 | Information indication method, device and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118741599A (en) |
| WO (1) | WO2024198499A1 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090103478A1 (en) * | 2007-10-01 | 2009-04-23 | Interdigital Patent Holdings, Inc. | Method and apparatus for pcdp discard |
| CN107222427A (en) * | 2016-03-22 | 2017-09-29 | 华为技术有限公司 | The method and relevant device of a kind of Message processing |
| CN111034089A (en) * | 2017-06-26 | 2020-04-17 | 瑞典爱立信有限公司 | Buffer handling using in-band control signaling |
| CN111865820A (en) * | 2020-07-10 | 2020-10-30 | 锐迪科微电子科技(上海)有限公司 | Data transmission method, data transmission device, receiving end, communication system, device and medium |
| CN113472683A (en) * | 2021-07-23 | 2021-10-01 | Oppo广东移动通信有限公司 | Data discarding method and device, terminal and storage medium |
| CN113923713A (en) * | 2020-07-09 | 2022-01-11 | 维沃移动通信有限公司 | Data processing method and device |
-
2023
- 2023-03-31 CN CN202310379972.5A patent/CN118741599A/en active Pending
- 2023-12-08 WO PCT/CN2023/137433 patent/WO2024198499A1/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090103478A1 (en) * | 2007-10-01 | 2009-04-23 | Interdigital Patent Holdings, Inc. | Method and apparatus for pcdp discard |
| CN107222427A (en) * | 2016-03-22 | 2017-09-29 | 华为技术有限公司 | The method and relevant device of a kind of Message processing |
| CN111034089A (en) * | 2017-06-26 | 2020-04-17 | 瑞典爱立信有限公司 | Buffer handling using in-band control signaling |
| CN113923713A (en) * | 2020-07-09 | 2022-01-11 | 维沃移动通信有限公司 | Data processing method and device |
| CN111865820A (en) * | 2020-07-10 | 2020-10-30 | 锐迪科微电子科技(上海)有限公司 | Data transmission method, data transmission device, receiving end, communication system, device and medium |
| CN113472683A (en) * | 2021-07-23 | 2021-10-01 | Oppo广东移动通信有限公司 | Data discarding method and device, terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118741599A (en) | 2024-10-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11930391B2 (en) | Wireless communications apparatus and methods | |
| KR20230003065A (en) | Bearer configuration method and device, context information management method and device, release method and device, facility | |
| US10959129B2 (en) | Data transmission method, apparatus, and system, and device | |
| TWI734010B (en) | Method and apparatus for transmitting data | |
| CN110831061B (en) | Method and device for acquiring scheduling throughput, base station and storage medium | |
| WO2018202037A1 (en) | Data transmission method, terminal device, and network device | |
| CN108282292B (en) | Method, sending end and receiving end for processing data | |
| US20250184816A1 (en) | Data processing method and apparatus | |
| JP2017526296A (en) | Data transmission method and base station | |
| CN115334574A (en) | Application layer measuring method and related device | |
| WO2022056863A1 (en) | Switching method and apparatus | |
| US20250227550A1 (en) | Data Packet Discarding Method and Related Device | |
| CN108200605B (en) | A data transmission method and device for a base station | |
| CN108391297B (en) | Equipment switching method and equipment, bearer configuration method and equipment, and communication system | |
| US20240129788A1 (en) | Data transmission method, apparatus, and system | |
| WO2024198499A1 (en) | Information indication method, device and storage medium | |
| EP4401445A1 (en) | Communication method and apparatus | |
| GB2626626A (en) | Methods for controlling a packet data convergence protocol communication network | |
| US20250184251A1 (en) | Data processing method and apparatus | |
| WO2024207786A1 (en) | Information transmission method and device, and storage medium | |
| WO2024231496A1 (en) | Methods for controlling a packet data convergence protocol communication network | |
| WO2024208024A1 (en) | Communication method and communication apparatus | |
| WO2024188113A1 (en) | Communication method and apparatus | |
| GB2640761A (en) | Method for transmitting data within a communication network | |
| WO2024067374A1 (en) | Communication method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23930064 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |