A PDU set error rate measurement method and related equipment
By using reserved bits at the PDCP layer to identify the PDU set location, the problem of PDU set error rate measurement is solved, accurate measurement of the PDU set error rate and link layer parameter adjustment are achieved, and communication system performance is improved.
Patent Information
- Application Number
- CN202410435653.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-11
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-04-11
AI Technical Summary
It is difficult to effectively measure the PDU set error rate (PSER) with existing technology, which affects link layer parameter configuration and communication system performance.
By using reserved bits at the PDCP layer to identify the position of the PDU in the PDU set, the receiving end can determine the split point and error rate of the PDU set without changing the data structure and avoiding the delay and resource overhead caused by reordering.
It achieves accurate measurement of PDU set error rate, improves the accuracy of link layer parameter adjustment and system performance, is compatible with existing PDU formats, and has high availability.
Smart Images

Figure CN118042514B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method for measuring a protocol data unit (PDU) set error rate, an electronic device, a communication system, and a computer-readable storage medium. Background Art
[0002] With the development of mobile communication technology, especially the fifth generation mobile networks (5G) and other new generation mobile communication technologies, the functions of communication systems are constantly being enhanced. Specifically, 5G communication systems can provide enhanced mobile broadband (eMBB), with faster connections, higher throughput and greater capacity, as well as ultra-reliable low-latency communications (uRLLC), so that the network can be applied in mission-critical scenarios that require uninterrupted and stable data links, meeting the ultra-high reliability and low latency requirements of wireless communication networks.
[0003] The communication system defines a layered network structure, such as the multi-layer structure in the Open System Interconnection (OSI) reference model. Each layer of the communication system can establish a protocol data unit (PDU). PDU refers to the unit of data transmitted between peer layers. For example, the PDU of the physical layer is a data bit, the PDU of the data link layer is a data frame, the PDU of the network layer is a packet, the PDU of the transport layer is a data segment, and the PDU of other higher layers is a message. The PDU contains information from the upper layer, as well as additional information from the entity of the current layer. The PDU can then be transmitted to the next lower layer.
[0004] When transmitting data, the communication system can adjust the parameter configuration of the link layer based on the PDU Set Error Rate (PSER) to improve performance. Among them, PSER defines the proportion of PDU Sets that are processed by the link layer of the sender but not delivered to the upper layer by the equivalent receiving layer. Based on this, the industry urgently needs to provide a PSER measurement method. Summary of the invention
[0005] The present application provides a method for measuring a PDU set error rate and related equipment, aiming to solve the problem of PSER measurement, so as to adjust the link layer parameter configuration based on PSER and improve system performance.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] The first aspect of the present application provides a method for measuring a PDU set error rate. The method can be performed by a receiving end. In an uplink transmission scenario, the receiving end can be a network side device, such as a base station, and in a downlink transmission scenario, the receiving end can be a terminal.
[0008] Specifically, the receiving end may receive multiple PDUs of the packet data convergence protocol PDCP layer, at least two reserved bits of the PDU are used to identify the position of the PDU in the PDU set (Set), and the position of the PDU in the PDU set includes the head, the middle or the tail. Then the receiving end determines at least one PDU set according to at least two reserved bits of each PDU in the multiple PDUs. Then the receiving end may determine the PDU set error rate according to the at least one PDU set and the reception status of the PDU in the at least one PDU set.
[0009] This method takes into account that the RLC or PDCP layer does not contain PDU Set information (PDU Set info), so it is impossible to identify the segmentation point of PDU Set, and the order in which the data packets reach RLC is out of order, and RLC will not reorder the data packets. Therefore, it is proposed to identify the beginning (or head) and end (or tail) of PDU Set at the PDCP layer and determine PSER at the PDCP layer. By using the reserved bits of the PDCP layer itself to indicate the beginning and end of PDU Set, PSER statistics can be performed without changing the data structure, providing a reference for link layer parameter adjustment. In addition, the PDCP layer will reorder the PDU, avoiding the delay and resource overhead caused by reordering at other layers.
[0010] In some possible implementations, when the two reserved bits of the PDU take the first value, the PDU is at the head of the PDU set; when the two reserved bits of the PDU take the second value, the PDU is in the middle of the PDU set; when the two reserved bits of the PDU take the third value, the PDU is at the end of the PDU set.
[0011] The method indicates the position of the PDU in the PDU set by multiplexing two reserved bits of the PDU, thereby providing a reference for PDU segmentation. Moreover, the method does not require changing the PDU format, is compatible with existing PDUs, and has high availability.
[0012] In some possible implementations, when at least two reserved bits of a first PDU among multiple PDUs indicate that the first PDU is at the end of a PDU set, and at least two reserved bits of a second PDU among multiple PDUs indicate that the second PDU is at the end of the PDU set. At least two reserved bits of a third PDU between the first PDU and the second PDU indicate that the third PDU is in the middle of the PDU set, it is determined that the second PDU and the third PDU belong to the same PDU set. The PDU located at the head of the PDU set to which the second PDU and the third PDU belong is discarded.
[0013] In this way, even if the PDU at the head of the PDU set is discarded, the segmentation point of the PDU set can be accurately identified, so that the segmentation has high accuracy, and the PDU set error rate determined by the segmented PDU sets also has high accuracy.
[0014] In some possible implementations, when at least two reserved bits of a first PDU among multiple PDUs indicate that the first PDU is at the head of a PDU set, at least two reserved bits of a second PDU among multiple PDUs indicate that the second PDU is at the head of a PDU set, and at least two reserved bits of a third PDU between the first PDU and the second PDU indicate that the third PDU is in the middle of the PDU set, it is determined that the first PDU and the third PDU belong to the same PDU set. The PDU at the tail of the PDU set to which the first PDU and the third PDU belong is discarded.
[0015] In this way, even if the PDU at the tail of the PDU set is discarded, the segmentation point of the PDU set can be accurately identified, so that the segmentation has high accuracy, and the PDU set error rate determined by the segmented PDU sets also has high accuracy.
[0016] In some possible implementations, when at least two reserved bits of a first PDU in a plurality of PDUs identify that the first PDU is at the head of a PDU set, and at least two reserved bits of a second PDU in a plurality of PDUs identify that the second PDU is at the tail of the PDU set, and the number of PDUs from the first PDU to the second PDU is less than or equal to a preset number, it is determined that the first PDU and the second PDU belong to the same PDU set.
[0017] The method can realize accurate identification of a PDU set when a PDU located in the middle of the PDU set is discarded, thereby performing PDU segmentation, and the PDU set error rate determined based on the segmented PDU sets has high accuracy.
[0018] In some possible implementations, a PDU set sequence number is inserted between the PDCP sequence number and the data in the PDU. The receiving end can determine at least one PDU set based on at least two reserved bits of each PDU in the multiple PDUs and the PDU set sequence number. The method can further improve the segmentation accuracy by segmenting multiple PDUs in combination with the PDU set sequence number.
[0019] In some possible implementations, when at least two reserved bits of a first PDU among multiple PDUs identify that the first PDU is at the head of a PDU set, at least two reserved bits of a second PDU among multiple PDUs identify that the second PDU is at the tail of a PDU set, at least two reserved bits of a third PDU between the first PDU and the second PDU identify that the third PDU is in the middle of a PDU set, and a PDU set sequence number inserted in the first PDU is different from a PDU set sequence number inserted in the second PDU, the receiving end can determine that the first PDU belongs to the first PDU set and the second PDU belongs to the second PDU set. The PDU at the tail of the first PDU set is discarded, and the PDU at the head of the second PDU set is discarded.
[0020] This can solve the problem that the method of using only reserved bits to determine the PDU set may result in misjudgment when both the head PDU and the tail PDU are discarded. Even if the head PDU of one PDU set and the tail PDU of another PDU set are discarded at the same time, the PDU can be accurately segmented in combination with the PDU set SN to obtain the corresponding PDU set.
[0021] A second aspect of the present application provides a PSER measurement device. The PSER measurement device may include:
[0022] A communication module, configured to receive a plurality of PDUs of a packet data convergence protocol PDCP layer, wherein at least two reserved bits of the PDUs are used to identify a position of the PDU in a PDU set, and the position of the PDU in the PDU set includes a head, a middle, or a tail;
[0023] A determination module, configured to determine at least one PDU set according to at least two reserved bits of each PDU in the plurality of PDUs;
[0024] The determination module is further configured to determine the PDU set error rate according to the at least one PDU set and a reception status of a PDU in the at least one PDU set.
[0025] In some possible implementations, when the two reserved bits of the PDU take the first value, the PDU is at the head of the PDU set; when the two reserved bits of the PDU take the second value, the PDU is in the middle of the PDU set; when the two reserved bits of the PDU take the third value, the PDU is at the end of the PDU set.
[0026] In some possible implementations, the determining module is specifically configured to:
[0027] When at least two reserved bits of the first PDU among the multiple PDUs identify that the first PDU is at the end of the PDU set, at least two reserved bits of the second PDU among the multiple PDUs identify that the second PDU is at the end of the PDU set, and at least two reserved bits of the third PDU between the first PDU and the second PDU identify that the third PDU is in the middle of the PDU set, it is determined that the second PDU and the third PDU belong to the same PDU set, and the PDU at the head of the PDU set to which the second PDU and the third PDU belong is discarded.
[0028] In some possible implementations, the determining module is specifically configured to:
[0029] When at least two reserved bits of the first PDU among the multiple PDUs identify that the first PDU is at the head of the PDU set, at least two reserved bits of the second PDU among the multiple PDUs identify that the second PDU is at the head of the PDU set, and at least two reserved bits of the third PDU between the first PDU and the second PDU identify that the third PDU is in the middle of the PDU set, it is determined that the first PDU and the third PDU belong to the same PDU set, and the PDU at the tail of the PDU set to which the first PDU and the third PDU belong is discarded.
[0030] In some possible implementations, the determination module is specifically configured to:
[0031] When at least two reserved bits of a first PDU among the multiple PDUs indicate that the first PDU is at the head of a PDU set, and at least two reserved bits of a second PDU among the multiple PDUs indicate that the second PDU is at the tail of the PDU set, and the number of PDUs from the first PDU to the second PDU is less than or equal to a preset number, it is determined that the first PDU and the second PDU belong to the same PDU set.
[0032] In some possible implementations, a PDU set sequence number is inserted between the PDCP sequence number and the data in the PDU;
[0033] The determination module is specifically used for:
[0034] At least one PDU set is determined according to at least two reserved bits of each PDU in the multiple PDUs and the PDU set sequence number.
[0035] In some possible implementations, the determining module is specifically configured to:
[0036] When at least two reserved bits of a first PDU among the multiple PDUs identify that the first PDU is at the head of a PDU set, at least two reserved bits of a second PDU among the multiple PDUs identify that the second PDU is at the tail of a PDU set, at least two reserved bits of a third PDU between the first PDU and the second PDU identify that the third PDU is in the middle of a PDU set, and a PDU set sequence number inserted in the first PDU is different from a PDU set sequence number inserted in the second PDU, it is determined that the first PDU belongs to the first PDU set and the second PDU belongs to the second PDU set, the PDU at the tail of the first PDU set is discarded, and the PDU at the head of the second PDU set is discarded.
[0037] The third aspect of the present application provides an electronic device, which may be a network side device, such as a base station, or a terminal. The electronic device includes: a memory and at least one processor. The memory is used to store a program, and the at least one processor is used to run the program, so that the electronic device implements the PDU set error rate measurement method provided by the first aspect of the present application.
[0038] The fourth aspect of the present application provides a communication system, including a first device and a second device. The first device may be a network side device such as a base station, and the second device may be a terminal. The first device and the second device are used to perform the PDU set error rate measurement method provided in the first aspect of the present application.
[0039] The fifth aspect of the present application is a computer storage medium for storing a computer program, which, when executed, is used to implement the method for measuring the PDU set error rate provided in the first aspect of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 An example diagram of a communication system architecture disclosed in an embodiment of the present application;
[0041] Figure 2 A schematic diagram of a hierarchical network structure of a communication system disclosed in an embodiment of the present application;
[0042] Figure 3 A schematic diagram of multiple PDU segmentation disclosed in an embodiment of the present application;
[0043] Figure 4 A flow chart of a method for measuring a PDU set error rate disclosed in an embodiment of the present application;
[0044] Figure 5 A schematic diagram of a PDU format disclosed in an embodiment of the present application;
[0045] Figure 6A schematic diagram of segmenting a PDU when a PDU concentrated head PDU is discarded according to an embodiment of the present application;
[0046] Figure 7 A schematic diagram of segmenting a PDU when the tail PDU of a PDU set is discarded according to an embodiment of the present application;
[0047] Figure 8 A schematic diagram of segmenting a PDU when an intermediate PDU in a PDU set is discarded according to an embodiment of the present application;
[0048] Fig. 9 A schematic diagram of splitting a PDU when a head PDU and a tail PDU of a PDU set disclosed in an embodiment of the present application are discarded at the same time;
[0049] Fig.10 A schematic diagram of the structure of a device for measuring a PDU set error rate disclosed in an embodiment of the present application;
[0050] Fig.11 This is a structural example diagram of an electronic device disclosed in an embodiment of the present application;
[0051] Fig.12 This is a structural example diagram of another electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the embodiments of the present application, "one or more" refers to one, two or more; "and / or" describes the association relationship of the 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 objects associated before and after are in an "or" relationship.
[0053] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0054] The multiple involved in the embodiments of the present application means greater than or equal to two. It should be noted that in the description of the embodiments of the present application, the words "first", "second", etc. are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.
[0055] The embodiments of the present application are applied to a communication system, which may be a second generation (2G) communication system, a third generation (3G) communication system, an LTE system, a fifth generation (5G) communication system, an LTE and 5G hybrid architecture, a 5G new wireless (5G New Radio, 5G NR) system, and new communication systems that will emerge in future communication developments.
[0056] The communication system includes network equipment and terminals. Among them, the network equipment is a device used to provide network communication functions on the network side, sometimes also called a network element, and the network equipment can usually be a base station, a functional unit of a base station, or a combination of functional units of a base station.
[0057] In the embodiments provided in the present application, the base station may be any device having a wireless transceiver function, including but not limited to: an evolved base station (NodeB or eNB or e-NodeB, evolutionary Node B) in long term evolution (LTE), a base station (gNodeB or gNB) or a transmission receiving point / transmission reception point (TRP) in new radio (NR), a base station of subsequent evolution of 3GPP, an access node in a Wi-Fi system, a wireless relay node, a wireless backhaul node, etc. The base station may be: a macro base station, a micro base station, a micro-micro base station, a small station, a relay station, or a balloon station, etc. The base station may include one or more co-site or non-co-site transmission points (Transmission Reception Point, TRP). The base station may also be a wireless controller, a centralized unit (CU), and / or a distributed unit (DU) in a cloud radio access network (CRAN) scenario. The base station may communicate with the terminal, or communicate with the terminal through a relay station. The terminal can communicate with multiple base stations of different technologies. For example, the terminal can communicate with a base station supporting an LTE network, and can also communicate with a base station supporting a 5G network. The terminal can also establish dual connections with a base station supporting an LTE network and a base station supporting a 5G network.
[0058] In the embodiments provided in the present application, the terminal may be in various forms, for example, a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a wearable terminal device, etc. The terminal may also be sometimes referred to as a terminal device, a user equipment (UE), an access terminal device, a vehicle-mounted terminal, an industrial control terminal, a UE unit, a UE station, a mobile station, a mobile station, a remote station, a remote terminal device, a mobile device, a UE terminal device, a terminal device, a wireless communication device, a UE agent or a UE device, etc. The terminal may also be a fixed terminal or a mobile terminal.
[0059] Figure 1 An example of a communication system architecture suitable for an embodiment of the present application. Figure 1 The naming of each network element included in is just a name, and the name does not limit the function of the network element itself. In 5G networks and other future networks, the above-mentioned network elements may also have other names, and the embodiments of the present application do not specifically limit this. For example, in a 6G network, some or all of the above-mentioned network elements may use the terminology in 5G, or may be other names, etc., which are uniformly explained here and will not be repeated below.
[0060] It should be noted that Figure 1 The network elements in the network do not have to exist at the same time, and the required network elements can be determined based on the needs. Figure 1 The connection relationship between each network element in the network is not uniquely determined and can be adjusted according to needs.
[0061] It is understandable that the above network element can be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualized function instantiated on a platform (e.g., a cloud platform).
[0062] The communication system defines a hierarchical network structure. The following is an example of a 5G communication system. According to the 3GPP definition, the 5G standard can be divided into two modes: non-standalone (NSA) and standalone (SA). From the perspective of network architecture, NSA refers to the coexistence of 4G base stations and 5G base stations on the wireless side, and the core network adopts the networking architecture of the 4G core network or the 5G core network. SA refers to the networking architecture of the wireless side using 5G base stations and the core network using the 5G core network. This architecture is the ultimate goal of the evolution of the 5G network. Under the SA networking, the concept of wireless bearer in the 4G network is still used, but in order to make the service more refined, the transmission unit of the basic service of 5G is refined from the concept of bearer in the 4G era to the quality of service (QoS) Flow. The newly added Service Data Adaptation Protocol (SDAP) in the 5G system is used to complete the mapping of the data radio bearer (DRB) on the wireless side and the QoS Flow in the 5G core network (5G core, 5GC).
[0063] Among them, Radio Bearer (RB) is a general term for different layer protocol entities and configurations allocated by the base station to the UE, including a series of resources allocated to each layer of protocol entities. Packet Data Convergence Protocol PDCP protocol entity, RLC protocol entity, MAC protocol entity and a series of resources allocated by PHY, etc. RB is the channel for the wireless interface to connect the base station (such as eNodeB) and the terminal (such as UE). Any data transmitted on the wireless interface must pass through RB. There are two types of radio bearers, one is the signaling bearer called SRB, and the other is the data bearer called DRB. The two have their own division of labor, and the layered structure ensures the effectiveness of wireless transmission.
[0064] See also Figure 2 The schematic diagram of the hierarchical network structure of a communication system shown in FIG. 1 shows that the terminals and base stations in the communication system may include a physical (physic, abbreviated as PHY) layer, a media access control (Media Access Control, MAC) layer, a radio link control (Radio Link Control, RLC) layer, a PDCP layer, and a SDAP layer. Among them, the MAC layer, the RLC layer, the PDCP layer, and the SDAP layer are sublayers of the data link layer. The functions of each layer are introduced below.
[0065] The physical layer is the bottom layer of the hierarchical network structure. It provides mechanical, electronic, functional and regulatory characteristics for the creation, maintenance and removal of physical links required for data transmission. The physical layer ensures that the original data can be transmitted on various physical media.
[0066] The MAC layer is used for addressing and control. Addressing refers to determining the recipient of a data packet, and control refers to controlling the order in which data packets are sent, as well as the way to handle problems that occur when data packets are sent. In a communication system, data transmitted between a terminal and a base station will eventually be converted into electrical signals and sent out on a physical transmission medium. The physical transmission medium is shared, and when sending data, it is necessary to consider issues such as the order of sending, conflicts, or packet loss.
[0067] The RLC layer is mainly used for retransmission management. The RLC layer is located below the PDCP layer. The RLC layer entities are divided into transport mode (TM) entities, unreliable mode (UM) entities, and reliable mode (AM) entities. AM data transmission and reception share one entity, while UM and TM transmission and reception entities are separate. Unlike LTE, when the NR RLC layer assembles the RLC layer PDU, it does not need the underlying MAC to notify whether there is a transmission opportunity, and can encapsulate the PDU packet first.
[0068] The PDCP layer is used to transmit user plane data and control plane data, maintain PDCP sequence numbers (SN), cipher / decipher, integrity protection, and duplicate discard. In the NR system, the PDCP layer also adds routing and repetition functions, reordering functions (moved from the RLC layer to the PDCP layer), and supports out-of-order delivery.
[0069] When the above-mentioned communication system is transmitting data, there may be a situation where the data is processed by the link layer (such as RLC) of the sending end, but is not delivered to the upper layer by the peer receiving layer. This may cause data packet loss. When the packet loss rate reaches a certain level, the service may be affected and difficult to operate normally. To this end, the communication system (such as a terminal in the communication system) can monitor the PDU set error rate in order to adjust the parameters of the link layer in time. Among them, the PDU set error rate (PDU Set ErrorRate, PSER) can be the proportion of PDU Sets that are processed by the link layer of the sending end but are not delivered to the upper layer by the peer receiving layer.
[0070] Take uplink (UL) as an example. Figure 3 As shown in the figure, for a service flow, when measuring PSER, the receiving end such as a base station usually needs the following information to identify PSER: the reception status of the PDU and the segmentation point of the PDE Set. Among them, the segmentation point of the PDU Set is used to divide multiple PDUs into PDU Sets, and the reception status of the PDU is used to determine whether the data processed by the link layer of the transmitting end is delivered to the upper layer by the peer receiving layer.
[0071] Since the RLC or PDCP layer does not contain PDU Set information, it is impossible to identify the segmentation point of PDU Set. Moreover, the order in which the data packets reach the RLC is out of order, and the RLC will not reorder the data packets, but will reorder them at the PDCP layer.
[0072] To this end, the present application proposes to identify the start (or head) and end (or tail) of a PDU Set at the PDCP layer of the transmitting end, and determine the PSER at the PDCP layer. Specifically, the present application can use at least two original reserved bits in the PDU of the PDCP layer to identify the position of the PDU in the PDU Set, such as the head, middle or tail, so that at least one PDU Set can be determined, and the PSER can be determined according to the at least one PDU Set and the reception status of the PDU in the PDU Set.
[0073] This method uses the reserved bits of the PDCP layer to indicate the start and end of the PDU Set, without changing the data structure, to perform PSER statistics, providing a reference for link layer parameter adjustment. In addition, the PDCP layer will reorder the PDUs, avoiding the delay and resource overhead caused by reordering in other layers.
[0074] In order to make the technical solution of the present application clearer and easier to understand, the measurement method of the PDU set error rate of the present application is introduced below with reference to the accompanying drawings.
[0075] See also Figure 4 A flow chart of a method for measuring a PDU set error rate is shown, the method comprising:
[0076] S402: A receiving end receives multiple PDUs at a PDCP layer.
[0077] At least two reserved bits of a PDU are used to identify the position of the PDU in a PDU set. The position of a PDU in a PDU set includes the head, the middle, or the tail. The number of reserved bits may be different depending on the PDCP layer data PDU format. Specifically, the length of the PDCP sequence number (SN) of a DRB may be 12 bits (bit) or 18 bits.
[0078] like Figure 5As shown in the figure, for a PDCP SN of 12 bits in length, the PDU can provide a 2-byte (16 bits in total) PDU header, 12 bits in the PDU header are used to fill the PDCP SN, and 1 bit in the remaining 4 bits is used to fill the PDU type. For example, the first bit in the PDU header is used to identify the PDU as a data PDU (data PDU) or a control PDU (control PDU), and the other 3 bits are reserved bits (denoted as R). For a PDCP SN of 18 bits in length, the PDU can provide a 3-byte (24 bits in total) PDU header, 18 bits in the PDU header are used to fill the PDCP SN, and 1 bit in the remaining 4 bits is used to fill the PDU type, and the other 5 bits are reserved bits (denoted as R). In addition to the data part, the PDU can also include an integrity check code, denoted as MAC-I.
[0079] For ease of understanding, the following example uses two reserved bits of a PDU to identify the position of a PDU in a PDU set. When the PDCP layer hands data to the RLC layer, it means that the data is sent to the link layer. The transmitting PDCP can use the two reserved bits to identify the start or end of the PDU Set.
[0080] When the two reserved bits of the PDU take the first value, the PDU is at the head of the PDU Set. When the two reserved bits of the PDU take the second value, the PDU is in the middle of the PDU Set. When the two reserved bits of the PDU take the third value, the PDU is at the end of the PDU Set. For example, when the two reserved bits take the value of 01, it indicates the start of the PDU Set, that is, the current PDU is at the head of the PDU Set; when the two reserved bits take the value of 10, it indicates the middle data of the PDU Set, that is, the current PDU is in the middle of the PDU Set; when the two reserved bits take the value of 11, it indicates the end of the PDU Set, that is, the current PDU is at the end of the PDU Set.
[0081] In the uplink scenario, the receiving end may be an access network device, including but not limited to base stations such as gNodeB and eNodeB. The access network device may receive data sent by a terminal connected to the access network device, and transmit the data from the PHY layer of the access network device to the PDCP layer to obtain multiple PDUs of the PDCP layer. In some possible implementations, the PSER measurement method of the present application may also be applied to the downlink scenario, which refers to the transmission of data from the network side to the terminal side. In the downlink scenario, the receiving end may be the terminal.
[0082] S404: The receiving end determines at least one PDU Set according to at least two reserved bits of each PDU in the multiple PDUs.
[0083] A PDU Set includes at least a PDU at the head (also called a head PDU) and a PDU at the tail (also called a tail PDU). Furthermore, a PDU Set may also include a PDU in the middle (or called a middle PDU). Based on this, the receiving end can determine the position of each PDU in the PDU Set according to at least two reserved bits of each PDU, and divide multiple PDUs according to their position distribution, thereby determining at least one PDU Set.
[0084] Generally, the head PDU and the tail PDU closest to the head PDU in multiple PDUs can belong to the same PDU Set. If there is an intermediate PDU between the head PDU and the tail PDU, the intermediate PDU, the head PDU and the tail PDU belong to the same PDU Set. Considering the situation that PDUs are discarded in multiple PDUs, the receiving end can divide multiple PDUs according to the location distribution of different PDUs to obtain at least one PDU Set.
[0085] The following is an example of determining at least one PDU Set when a head PDU, a tail PDU, or a middle PDU in a PDU Set is discarded.
[0086] In a first possible implementation, when at least two reserved bits of a first PDU among multiple PDUs indicate that the first PDU is at the end of a PDU Set, at least two reserved bits of a second PDU among multiple PDUs indicate that the second PDU is at the end of a PDU Set, and at least two reserved bits of a third PDU between the first PDU and the second PDU indicate that the third PDU is in the middle of a PDU Set, it indicates that the head PDU (PDU Set head) is discarded, and the receiving end can determine that the second PDU and the third PDU belong to the same PDU Set. Among them, the PDU located at the head of the PDU set to which the second PDU and the third PDU belong is discarded.
[0087] Figure 6 An example of PDU Set header discarding is also provided. Figure 6 As shown, the two reserved bits of each PDU in the multiple PDUs received by the receiving end are 01, 10, 10, 11, 10, 10 and 11 respectively. Among them, 01 indicates that the PDU is a head PDU, 11 indicates that the PDU is a tail PDU, and 10 indicates that the PDU is an intermediate PDU. The two tail PDUs are both intermediate PDUs, indicating that the head PDU of the next PDU Set is discarded. Based on this, the receiving end can divide the first 4 PDUs into a PDU Set, recorded as PDU Set1, and the last 3 PDUs into a PDU Set, recorded as PDU Set2, wherein the head PDU of PDU Set2 is discarded.
[0088] In a second possible implementation, when at least two reserved bits of a first PDU among multiple PDUs indicate that the first PDU is at the head of a PDU Set, at least two reserved bits of a second PDU among multiple PDUs indicate that the second PDU is at the head of a PDU Set, and at least two reserved bits of a third PDU between the first PDU and the second PDU indicate that the third PDU is in the middle of a PDU Set, it indicates that the tail PDU of a previous PDU Set is discarded, based on which the receiving end can determine that the first PDU and the third PDU belong to the same PDU Set. Among them, the PDU at the tail of the PDU Set to which the first PDU and the third PDU belong is discarded.
[0089] The following is an example to illustrate this. Figure 7 As shown, the two reserved bits of each PDU in the multiple PDUs received by the receiving end are 01, 10, 10, 01, 10, 10 and 11 respectively. Among them, 01 indicates that the PDU is a head PDU, 11 indicates that the PDU is a tail PDU, and 10 indicates that the PDU is an intermediate PDU. The two head PDUs are all intermediate PDUs, indicating that the tail PDU of the previous PDU Set is discarded. Based on this, the receiving end can divide the first 3 PDUs into a PDU Set, recorded as PDU Set1, and the last 4 PDUs into a PDU Set, recorded as PDU Set2, wherein the tail PDU of PDU Set1 is discarded.
[0090] In a third possible implementation, when at least two reserved bits of a first PDU among multiple PDUs indicate that the first PDU is at the head of a PDU set, and at least two reserved bits of a second PDU among multiple PDUs indicate that the second PDU is at the tail of a PDU set, the number of PDUs from the first PDU to the second PDU is less than or equal to a preset number, wherein the preset number may be the number of PDUs in a PDU set, which may usually be preconfigured. The number of the first PDU to the second PDU is less than the preset number, indicating that an intermediate PDU of the PDU Set is discarded, and the number of the first PDU to the second PDU is equal to the preset number, indicating that there are no discarded PDUs in the PDU Set. Based on this, the receiving end can determine that the first PDU and the second PDU belong to the same PDU Set.
[0091] The following is an example to illustrate this. Figure 8As shown, the two reserved bits of each PDU in the multiple PDUs received by the receiving end take the values of 01, 10, 10, 11, 01, 10 and 11 respectively. Among them, 01 indicates that the PDU is a head PDU, 11 indicates that the PDU is a tail PDU, and 10 indicates that the PDU is an intermediate PDU. In this example, the head PDU and the tail PDU both include intermediate PDUs. The receiving end can divide the first head PDU and the first tail PDU and the intermediate PDUs between them into a PDU Set, denoted as PDUSet1, and divide the second head PDU, the second tail PDU and the intermediate PDUs between them into a PDU Set, denoted as PDUSet2, wherein the intermediate PDUs of PDU Set2 are discarded.
[0092] S406: The receiving end determines a PSER according to at least one PDU Set and a reception status of a PDU in at least one PDU Set.
[0093] For each PDU Set, the receiving end can determine the receiving status of the PDU in the PDU Set. Specifically, the receiving end can determine the receiving status of the PDU by checking the number of PDUs in the PDU Set. For example, if the number of PDUs in the PDU Set is less than the preset number, it means that there are PDUs in the PDU Set that are discarded, and if the number of PDUs in the PDU Set is equal to the preset number, it means that the PDUs in the PDU Set are received successfully. The receiving end can determine the PSER based on the number of PDU Sets that were unsuccessfully received (for example, PDU Sets in which PDUs were discarded) and the total number of PDU Sets. For example, the PSER can be equal to the ratio of the number of PDU Sets that were unsuccessfully received to the total number of PDU Sets.
[0094] Based on the above description, it can be seen that the PSER determination method of the present application indicates the start and end of the PDU Set by using the reserved bits of the PDCP layer itself, and the PSER statistics can be performed by multiplexing the reserved bits, providing a reference for link layer parameter adjustment. This method does not require changes to the data structure and has high availability and compatibility. In addition, the PDCP layer will reorder the PDU, avoiding the delay and resource overhead caused by reordering in other layers.
[0095] Furthermore, considering that a PDU Set may discard both the tail PDU and the head PDU of the PDU Set, if the PDU segmentation is performed using the position determined by at least two reserved bits of the PDU, misjudgment may occur. For example, the head PDU of a PDU Set and the tail PDU of the next PDU Set may be divided into one PDU Set.
[0096] To this end, the present application also supports adding one byte of information to indicate the PDU Set sequence number, namely, the PDU SetSN. For example, a PDU Set SN is inserted between the PDCP SN and the data in the PDU. Among them, the transmitting end can insert the PDU Set SN between the PDCP SN and the data when at least two reserved bits are the first value, the second value or the third value mentioned above. Taking the example of two reserved bits identifying the PDU position as an example, when the two reserved bits of the PDU are not 0, the transmitting end inserts the PDU Set SN between the PDCP SN and the data. Accordingly, the receiving end can determine at least one PDU Set based on at least two reserved bits of each PDU in multiple PDUs and the PDU Set SN. In this way, even if the head PDU of one PDU Set and the tail PDU of another PDU Set are discarded at the same time, the PDU can be accurately segmented in combination with the PDU Set SN to obtain the corresponding PDU Set.
[0097] The specific implementation of segmenting multiple PDUs in combination with the PDU Set SN to obtain at least one PDU Set is described in detail below.
[0098] Specifically, when at least two reserved bits of the first PDU among multiple PDUs indicate that the first PDU is at the head of the PDU Set, at least two reserved bits of the second PDU among multiple PDUs indicate that the second PDU is at the tail of the PDU Set, at least two reserved bits of the third PDU between the first PDU and the second PDU indicate that the third PDU is in the middle of the PDU Set, and the PDU Set sequence number inserted in the first PDU is different from the PDU set sequence number inserted in the second PDU, it means that the first PDU and the second PDU belong to different PDU Sets, and the receiving end can determine that the first PDU belongs to the first PDU Set and the second PDU belongs to the second PDU Set. Among them, the PDU at the tail of the first PDU Set is discarded, and the PDU at the head of the second PDU Set is discarded.
[0099] like Fig. 9As shown, the two reserved bits of each of the multiple PDUs received by the receiving end take the values of 01, 10, 10, 10, 10 and 11 respectively. Among them, 01 indicates that the PDU is a head PDU, 11 indicates that the PDU is a tail PDU, and 10 indicates that the PDU is an intermediate PDU. In this example, the first three PDUs are also inserted with the PDU Set1 sequence number, such as SN1, and the last three PDUs are also inserted with the PDU Set2 sequence number, such as SN2. The tail of PDU Set1 and the head of PDU Set2 are discarded at the same time, and the receiving end can also accurately identify the above PDU Set1 and PDU Set2, and determine that the receiving status of PDU Set1 and PDU Set2 is reception failure.
[0100] It should be noted that the present application may also support adding one byte to each PDU to represent the PDU Set SN. Accordingly, when the receiving end receives multiple PDUs, it may segment the multiple PDUs according to the above PDU Set SN to obtain at least one PDU Set. The receiving end segments the multiple PDUs according to the PDU Set SN, and may divide the PDUs with the same PDU SetSN into the same PDU Set. PDUs with different PDU Set SNs are divided into different PDU Sets.
[0101] Furthermore, the PDU Set SN is mainly used to distinguish different PDU Sets. In other possible implementation methods of the embodiments of the present application, it can also be implemented through other PDU Set identifiers (identifiers, IDs). In addition, the sending end (such as UE) can also provide the number of PDUs in the PDU Set and the end mark of the data burst. Among them, the end mark can be in the PDU header of the last PDU in the data burst. For downlink scenarios, PDU Set information (such as PDU Set info) can also be added to the header of the General Packet Radio Service Tunnelling Protocol (GTP) on the data plane. Among them, the sending end can add PDU Setinfo to the header of GTP-U. GTP-U is used to provide one or more tunnels for each Packet Data Protocol (PDP) context for transmitting user data.
[0102] Based on the aforementioned PSER measurement method, the present application further provides a PSER measurement device. The PSER measurement device of the present application is described in detail below in conjunction with the accompanying drawings.
[0103] See also Fig.10 The structural diagram of a PSER measuring device is shown in FIG. 1 . The PSER measuring device 1000 may include:
[0104] The communication module 1002 is used to receive a plurality of PDUs of a packet data convergence protocol PDCP layer, wherein at least two reserved bits of the PDU are used to identify a position of the PDU in a PDU set, and the position of the PDU in the PDU set includes a head, a middle, or a tail;
[0105] A determination module 1004 is configured to determine at least one PDU set according to at least two reserved bits of each PDU in the plurality of PDUs;
[0106] The determining module 1004 is further configured to determine the PDU set error rate according to the at least one PDU set and a reception status of a PDU in the at least one PDU set.
[0107] In some possible implementations, when the two reserved bits of the PDU take the first value, the PDU is at the head of the PDU set; when the two reserved bits of the PDU take the second value, the PDU is in the middle of the PDU set; when the two reserved bits of the PDU take the third value, the PDU is at the end of the PDU set.
[0108] In some possible implementations, the determining module 1004 is specifically configured to:
[0109] When at least two reserved bits of the first PDU among the multiple PDUs identify that the first PDU is at the end of the PDU set, at least two reserved bits of the second PDU among the multiple PDUs identify that the second PDU is at the end of the PDU set, and at least two reserved bits of the third PDU between the first PDU and the second PDU identify that the third PDU is in the middle of the PDU set, it is determined that the second PDU and the third PDU belong to the same PDU set, and the PDU at the head of the PDU set to which the second PDU and the third PDU belong is discarded.
[0110] In some possible implementations, the determining module 1004 is specifically configured to:
[0111] When at least two reserved bits of the first PDU among the multiple PDUs identify that the first PDU is at the head of the PDU set, at least two reserved bits of the second PDU among the multiple PDUs identify that the second PDU is at the head of the PDU set, and at least two reserved bits of the third PDU between the first PDU and the second PDU identify that the third PDU is in the middle of the PDU set, it is determined that the first PDU and the third PDU belong to the same PDU set, and the PDU at the tail of the PDU set to which the first PDU and the third PDU belong is discarded.
[0112] In some possible implementations, the determining module 1004 is specifically configured to:
[0113] When at least two reserved bits of a first PDU among the multiple PDUs indicate that the first PDU is at the head of a PDU set, and at least two reserved bits of a second PDU among the multiple PDUs indicate that the second PDU is at the tail of the PDU set, and the number of PDUs from the first PDU to the second PDU is less than or equal to a preset number, it is determined that the first PDU and the second PDU belong to the same PDU set.
[0114] In some possible implementations, a PDU set sequence number is inserted between the PDCP sequence number and the data in the PDU;
[0115] The determining module 1004 is specifically used for:
[0116] At least one PDU set is determined according to at least two reserved bits of each PDU in the multiple PDUs and the PDU set sequence number.
[0117] In some possible implementations, the determining module 1004 is specifically configured to:
[0118] When at least two reserved bits of a first PDU among the multiple PDUs identify that the first PDU is at the head of a PDU set, at least two reserved bits of a second PDU among the multiple PDUs identify that the second PDU is at the tail of a PDU set, at least two reserved bits of a third PDU between the first PDU and the second PDU identify that the third PDU is in the middle of a PDU set, and a PDU set sequence number inserted in the first PDU is different from a PDU set sequence number inserted in the second PDU, it is determined that the first PDU belongs to the first PDU set and the second PDU belongs to the second PDU set, the PDU at the tail of the first PDU set is discarded, and the PDU at the head of the second PDU set is discarded.
[0119] It should be noted that the various embodiments of the present application can be combined with or referenced to each other. The specific implementation of the communication module 1002 and the determination module 1004 can refer to the relevant content description of the above embodiments, which will not be repeated here.
[0120] Fig.11 An example of the composition of an electronic device provided in an embodiment of the present application. The electronic device may be a first device, including but not limited to a base station and a core network unit. Fig.11A simplified schematic diagram of the base station structure is shown. The base station includes part 1110, part 1120 and part 1130. Part 1110 is mainly used for baseband processing, controlling the base station, etc.; part 1110 is usually the control center of the base station, which can be usually called a processor, and is used to control the base station to perform the processing operation on the first device side in the above method embodiment. Part 1120 is mainly used to store computer program code and data. Part 1130 is mainly used for receiving and transmitting radio frequency signals and converting radio frequency signals to baseband signals; part 1130 can usually be called a transceiver module, a transceiver, a transceiver circuit, or a transceiver. The transceiver module of part 1130 can also be called a transceiver or a transceiver, etc., which includes an antenna 1133 and a radio frequency circuit (not shown in the figure), wherein the radio frequency circuit is mainly used for radio frequency processing. Optionally, the device used to implement the receiving function in part 1130 can be regarded as a receiver, and the device used to implement the sending function can be regarded as a transmitter, that is, part 1130 includes a receiver 1132 and a transmitter 1131. A receiver may also be called a receiving module, a receiver, or a receiving circuit, etc., and a transmitter may be called a transmitting module, a transmitter, or a transmitting circuit, etc.
[0121] Part 1110 and part 1120 may include one or more single boards, each of which may include one or more processors and one or more memories. The processor is used to read and execute the program in the memory to realize the baseband processing function and the control of the base station. If there are multiple single boards, each single board can be interconnected to enhance the processing capability. As an optional implementation, multiple single boards may share one or more processors, or multiple single boards may share one or more memories, or multiple single boards may share one or more processors at the same time.
[0122] For example, in one implementation, the transceiver module of part 1130 is used to execute the transceiver-related process executed by the base station (first device) in the aforementioned method embodiment. The processor of part 1110 is used to execute the processing-related process executed by the base station in the aforementioned method embodiment.
[0123] It should be understood that Fig.11 This is only an example and not a limitation. The network device including the processor, memory and transceiver may not rely on Fig.11 The structure shown.
[0124] Fig.12Another example of the composition of an electronic device provided in an embodiment of the present application. The electronic device may be a second device, and the second device may be a terminal, including but not limited to a mobile phone, a smart wearable device (such as a smart watch) and other electronic devices. Taking a mobile phone as an example, the electronic device may include a processor 310, an external memory interface 320, an internal memory 321, a display screen 330, a camera 340, an antenna 1, an antenna 2, a mobile communication module 350, and a wireless communication module 360, etc.
[0125] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0126] The processor 310 may include one or more processing units, for example, the processor 310 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0127] It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0128] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 310 through the external memory interface 320 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
[0129] The internal memory 321 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 310 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 321. The internal memory 321 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 321 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 310 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 321, and / or the instructions stored in the memory provided in the processor.
[0130] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor and baseband processor.
[0131] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0132] The mobile communication module 350 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied in electronic devices. The mobile communication module 350 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 350 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 350 can be set in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 350 can be set in the same device as at least some of the modules of the processor 310.
[0133] In some embodiments, the electronic device initiates or receives a call request through the mobile communication module 350 and the antenna 1 .
[0134] In addition, an operating system is running on the above components. For example, an iOS operating system, an Android operating system, a Windows operating system, etc. Applications can be installed and run on the operating system. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the explanation and beneficial effects of the relevant contents in any of the electronic devices provided above can refer to the corresponding method embodiments provided above, and will not be repeated here.
[0135] The present application also provides a communication system, which may include: Fig.11 The first device shown (for example, a network device such as a base station) and Fig.12 The second device shown (eg, a terminal such as a mobile phone).
[0136] In this application, a terminal or network device may include a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. Among them, the hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system of the operating system layer may be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system. The application layer may include applications such as browsers, address books, word processing software, and instant messaging software.
[0137] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0138] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0139] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0140] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0141] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the part that essentially contributes to the technical solution of the present application or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the process of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories, random access memories, magnetic disks or optical disks.
[0142] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for measuring a protocol data unit (PDU) set error rate, characterized in that: The method comprises: The receiving end receives a plurality of PDUs of a packet data convergence protocol PDCP layer, wherein at least two reserved bits in a PDCP header of the PDU are used to identify a position of the PDU in a PDU set, and the position of the PDU in the PDU set includes a head, a middle or a tail; The receiving end determines at least one PDU set according to at least two reserved bits in the PDCP header of each PDU in the multiple PDUs; The receiving end determines the PDU set error rate according to the at least one PDU set and a reception status of a PDU in the at least one PDU set; The determining, according to at least two reserved bits in the PDCP headers of the multiple PDUs, at least one PDU set comprises: When at least two reserved bits in the PDCP header of the first PDU among the multiple PDUs indicate that the first PDU is at the end of the PDU set, at least two reserved bits in the PDCP header of the second PDU among the multiple PDUs indicate that the second PDU is at the end of the PDU set, and at least two reserved bits in the PDCP header of the third PDU between the first PDU and the second PDU indicate that the third PDU is in the middle of the PDU set, the receiving end determines that the second PDU and the third PDU belong to the same PDU set, and the PDU at the head of the PDU set to which the second PDU and the third PDU belong is discarded.
2. The method according to claim 1, characterized in that When the two reserved bits of the PDU are set to the first value, the PDU is at the head of the PDU set; when the two reserved bits of the PDU are set to the second value, the PDU is in the middle of the PDU set; When the two reserved bits of the PDU take the third value, the PDU is at the end of the PDU set.
3. The method according to claim 1 or 2, characterized in that: The receiving end determines at least one PDU set according to at least two reserved bits in a PDCP header of each PDU in the multiple PDUs, including: When at least two reserved bits in the PDCP header of the first PDU among the multiple PDUs identify that the first PDU is at the head of the PDU set, at least two reserved bits in the PDCP header of the second PDU among the multiple PDUs identify that the second PDU is at the head of the PDU set, and at least two reserved bits in the PDCP header of the third PDU between the first PDU and the second PDU identify that the third PDU is in the middle of the PDU set, the receiving end determines that the first PDU and the third PDU belong to the same PDU set, and the PDU at the tail of the PDU set to which the first PDU and the third PDU belong is discarded.
4. The method according to claim 1 or 2, characterized in that: The receiving end determines at least one PDU set according to at least two reserved bits in a PDCP header of each PDU in the multiple PDUs, including: When at least two reserved bits in the PDCP header of the first PDU among the multiple PDUs indicate that the first PDU is at the head of the PDU set, and at least two reserved bits in the PDCP header of the second PDU among the multiple PDUs indicate that the second PDU is at the tail of the PDU set, and the number of PDUs from the first PDU to the second PDU is less than or equal to a preset number, the receiving end determines that the first PDU and the second PDU belong to the same PDU set.
5. The method according to claim 1 or 2, characterized in that: A PDU set sequence number is inserted between the PDCP sequence number and the data in the PDU; The receiving end determines at least one PDU set according to at least two reserved bits in a PDCP header of each PDU in the multiple PDUs, including: The receiving end determines at least one PDU set according to at least two reserved bits in the PDCP header of each PDU in the multiple PDUs and the PDU set sequence number.
6. The method according to claim 5, characterized in that The receiving end determines at least one PDU set according to at least two reserved bits in a PDCP header of each PDU in the multiple PDUs, including: When at least two reserved bits in the PDCP header of the first PDU among the multiple PDUs indicate that the first PDU is at the head of the PDU set, at least two reserved bits in the PDCP header of the second PDU among the multiple PDUs indicate that the second PDU is at the tail of the PDU set, at least two reserved bits in the PDCP header of the third PDU between the first PDU and the second PDU indicate that the third PDU is in the middle of the PDU set, and the PDU set sequence number inserted in the first PDU is different from the PDU set sequence number inserted in the second PDU, the receiving end determines that the first PDU belongs to the first PDU set and the second PDU belongs to the second PDU set, the PDU located at the tail of the first PDU set is discarded, and the PDU located at the head of the second PDU set is discarded.
7. A device for measuring a protocol data unit (PDU) set error rate, characterized in that: The device is deployed at a receiving end, and the device includes: A communication module, configured to receive a plurality of PDUs of a packet data convergence protocol PDCP layer, wherein at least two reserved bits in a PDCP header of the PDU are used to identify a position of the PDU in a PDU set, and the position of the PDU in the PDU set includes a head, a middle, or a tail; A determination module, configured to determine at least one PDU set based on at least two reserved bits in a PDCP header of each PDU in the plurality of PDUs; The determining module is further configured to determine the PDU set error rate according to the at least one PDU set and a reception status of a PDU in the at least one PDU set; When the determining module determines at least one PDU set according to at least two reserved bits in the PDCP headers of the multiple PDUs, it is specifically used to: When at least two reserved bits in the PDCP header of the first PDU among the multiple PDUs indicate that the first PDU is at the end of the PDU set, at least two reserved bits in the PDCP header of the second PDU among the multiple PDUs indicate that the second PDU is at the end of the PDU set, and at least two reserved bits in the PDCP header of the third PDU between the first PDU and the second PDU indicate that the third PDU is in the middle of the PDU set, the receiving end determines that the second PDU and the third PDU belong to the same PDU set, and the PDU at the head of the PDU set to which the second PDU and the third PDU belong is discarded.
8. The device according to claim 7, characterized in that When the two reserved bits of the PDU are set to the first value, the PDU is at the head of the PDU set; when the two reserved bits of the PDU are set to the second value, the PDU is in the middle of the PDU set; When the two reserved bits of the PDU take the third value, the PDU is at the end of the PDU set.
9. The device according to claim 7 or 8, characterized in that The determination module is specifically used for: When at least two reserved bits in the PDCP header of the first PDU among the multiple PDUs identify that the first PDU is at the head of the PDU set, at least two reserved bits in the PDCP header of the second PDU among the multiple PDUs identify that the second PDU is at the head of the PDU set, and at least two reserved bits in the PDCP header of the third PDU between the first PDU and the second PDU identify that the third PDU is in the middle of the PDU set, it is determined that the first PDU and the third PDU belong to the same PDU set, and the PDU at the tail of the PDU set to which the first PDU and the third PDU belong is discarded.
10. The device according to claim 7 or 8, characterized in that The determination module is specifically used for: When at least two reserved bits in the PDCP header of the first PDU among the multiple PDUs indicate that the first PDU is at the head of the PDU set, and at least two reserved bits in the PDCP header of the second PDU among the multiple PDUs indicate that the second PDU is at the tail of the PDU set, and the number of PDUs from the first PDU to the second PDU is less than or equal to a preset number, it is determined that the first PDU and the second PDU belong to the same PDU set.
11. The device according to claim 7 or 8, characterized in that A PDU set sequence number is inserted between the PDCP sequence number and the data in the PDU; The determination module is specifically used for: At least one PDU set is determined according to at least two reserved bits in a PDCP header of each PDU in the multiple PDUs and the PDU set sequence number.
12. The device according to claim 11, characterized in that The determination module is specifically used for: When at least two reserved bits in the PDCP header of the first PDU among the multiple PDUs identify that the first PDU is at the head of the PDU set, at least two reserved bits in the PDCP header of the second PDU among the multiple PDUs identify that the second PDU is at the tail of the PDU set, at least two reserved bits in the PDCP header of the third PDU between the first PDU and the second PDU identify that the third PDU is in the middle of the PDU set, and the PDU set sequence number inserted in the first PDU is different from the PDU set sequence number inserted in the second PDU, it is determined that the first PDU belongs to the first PDU set and the second PDU belongs to the second PDU set, the PDU located at the tail of the first PDU set is discarded, and the PDU located at the head of the second PDU set is discarded.
13. An electronic device, characterized in that: The electronic device comprises: Memory for storing computer programs or computer instructions; A processor, configured to execute a computer program or computer instruction stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 6.
14. A computer storage medium, characterized in that: The computer storage medium is used to store a computer program, and when the computer program is executed, it is used to implement the method according to any one of claims 1 to 6.
