Data testing method for high layer protocol of wireless network, computing device, chip, computer readable storage medium and computer program product

By providing control interfaces and data interfaces for multiple layers of the high-level protocol stack, flexible control of wireless network high-level protocol data testing is achieved, solving the problem of difficulty in constructing abnormal data content in existing technologies and improving the pertinence and accuracy of testing.

CN120455339BActive Publication Date: 2025-10-17CHINA SATENT NETWORK APPLICATION RESEARCH INSTITUTE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510962598.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-14
Publication Date
2025-10-17
Estimated Expiration
2045-07-14

AI Technical Summary

Technical Problem

In existing wireless network high-level protocol data testing, it is difficult to effectively control the data under test, especially in field testing or base station simulation test scenarios, where it is difficult to construct abnormal data content for targeted testing.

Method used

Provides control interfaces and data interfaces for multiple layers of the high-level protocol stack, allowing the selective enabling of data test mode, and interacting with the protocol stack layer through these interfaces, bypassing the hierarchical structure above this layer to achieve flexible control and construction of data.

Benefits of technology

It realizes flexible control of wireless network high-level protocol data testing, can construct normal and abnormal data packets, simplifies the complexity of data packet construction, and improves the pertinence and accuracy of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120455339B_ABST
    Figure CN120455339B_ABST
Patent Text Reader

Abstract

Provided are a data testing method for a high layer protocol of a wireless network, a computing device, a chip, a computer readable storage medium, and a computer program product, relating to the technical field of communication. The data testing method for the high layer protocol of the wireless network comprises: providing a corresponding control interface and a corresponding data interface for each layer of a plurality of layers of a high layer protocol stack, wherein the plurality of layers are configured to process data according to the high layer protocol and to transfer data between layers according to a layer hierarchy of the plurality of layers, the control interface is configured to selectively enable a data testing mode of a corresponding layer of the plurality of layers, and the data interface is configured to interact with the corresponding layer of the plurality of layers; in response to the data testing mode of any layer of the plurality of layers being enabled via the control interface of the layer, bypassing layers higher than the layer in the layer hierarchy via the data interface of the layer to interact with the layer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a data testing method, computing device, chip, computer-readable storage medium, and computer program product for a wireless network high-layer protocol. Background Art

[0002] Data testing of higher-layer protocols (those above the physical layer) is an essential step in wireless network testing. Currently, in major higher-layer protocol data testing, test equipment constructs data using a real or simulated higher-layer protocol stack (such as the Layer 2 protocol stack). Because the protocol stack complies with the core specifications for wireless network higher-layer protocols, in actual use, the upper-layer test control unit configures the necessary parameters for the protocol stack. The higher-layer protocol stack then generates the corresponding data for uplink and downlink transmission according to the core specifications. This makes it difficult to control the data under test. In this article, the term "core specification" refers to the 3GPP standard's higher-layer technical specifications for wireless access networks, and the term "high-layer protocol stack" refers to the software written to comply with the core specifications' requirements for data processing at each higher-layer protocol layer. Summary of the Invention

[0003] To alleviate, mitigate or eliminate the above technical problems, the present disclosure provides a data testing method, computing device, chip, computer-readable storage medium and computer program product for a wireless network high-layer protocol.

[0004] In a first aspect, the present disclosure provides a data testing method for a wireless network high-level protocol, comprising:

[0005] providing a corresponding control interface and a corresponding data interface for each of a plurality of layers of a high-level protocol stack, wherein the plurality of layers are configured to perform data processing according to the high-level protocol and to perform inter-layer data transmission according to the hierarchical structure of the plurality of layers, the control interface is configured to selectively enable a data test mode of a corresponding layer of the plurality of layers, and the data interface is configured to perform data exchange with the corresponding layer of the plurality of layers;

[0006] In response to a data test mode of any layer among the plurality of layers being enabled via the control interface of the layer, data is interacted with the layer via the data interface of the layer to bypass layers higher than the layer in the hierarchical structure.

[0007] In a second aspect, the present disclosure provides a computing device. The computing device includes: one or more processors; and one or more memories coupled to the one or more processors and storing instructions thereon. When the instructions are executed individually or collectively by the one or more processors, the computing device performs the method described in the first aspect.

[0008] In a third aspect, the present disclosure provides a chip. The chip comprises circuitry configured to perform the method of the first aspect.

[0009] In a fourth aspect, the present disclosure provides a non-transitory computer- readable storage medium storing machine executable instructions. The machine executable instructions, when executed by one or more processors of a machine, cause the machine to perform the method of the first aspect.

[0010] In a fifth aspect, the present disclosure provides a computer program product comprising machine executable instructions. The machine executable instructions, when executed by one or more processors of a machine, cause the machine to perform the method of the first aspect.

[0011] It should be understood that the summary is not intended to identify key or essential features of embodiments of the present disclosure or limit the scope of the present disclosure. Other features, details, and advantages of the present disclosure will become apparent from the following description of some embodiments of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0012] The above and other objects, features and advantages of the present disclosure will become more apparent from the following description when taken in conjunction with the accompanying drawings, in which:

[0013] Figure 1 An exemplary communication network in which exemplary embodiments of the present disclosure can be implemented is shown;

[0014] Figure 2 A flowchart illustrating a data testing method for a wireless network high layer protocol according to some embodiments of the present disclosure is shown;

[0015] Figure 3 An exemplary L2 protocol stack in which exemplary embodiments of the present disclosure can be implemented is shown;

[0016] Figure 4 An exemplary testing system in which exemplary embodiments of the present disclosure can be implemented is shown;

[0017] Figure 5 A generation diagram of data according to some embodiments of the present disclosure is shown;

[0018] Figure 6 A simplified block diagram of a testing apparatus suitable for implementing exemplary embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0019] The principles of the present disclosure will now be described with reference to some embodiments. It should be understood that the description of these embodiments is merely intended to illustrate the principles of the disclosure and to help the understanding and implementation of the disclosure by those skilled in the art, and does not suggest any limitation on the scope of the disclosure. The disclosure described herein can be implemented in ways different than those described below.

[0020] In the following description and claims, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.

[0021] Reference herein to "one embodiment", "an embodiment", "exemplary embodiment", or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the disclosure. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an example embodiment, it is submitted that it is within the purview of one skilled in the art to effect such feature, structure, or characteristic in connection with other

[0022] It should be understood that although the terms "first" and "second" etc. can be used herein to describe various objects, these objects should not be limited by these terms. These terms are only used to distinguish one object from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed terms.

[0023] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising", when used in this specification, specify the presence of stated features, elements, and / or components, but do not preclude the presence or addition of one or more other features, elements, components, and / or groups thereof.

[0024] As used herein, the term "circuitry" can refer to one or more or all of the following:

[0025] (a) hardware-only circuitry implementations (e.g., implementations in analog circuitry and / or digital circuitry);

[0026] (b) combinations of hardware circuits and software, such as (as applicable):

[0027] (i) combinations of software and / or firmware and hardware circuitry;

[0028] (ii) any portions of hardware processor(s) with software (including digital signal processors) that work together to cause an apparatus, such as a mobile phone or server, to perform various functions, and

[0029] (c) hardware circuitry and / or a processor, such as a microprocessor or a portion thereof, that requires software (e.g., firmware) for operation, but need not necessarily have such software (e.g., firmware) when it is not needed for operation.

[0030] This definition of circuitry applies to all uses of this term herein, including in any claims. As a further example, as used herein, the term circuitry also includes an implementation that is at least partially functional and / or that is combined with software and / or firmware on a hardware circuitry (or multiple hardware circuits), such as to create a general purpose hardware circuitry which is modeled upon more than one general purpose hardware circuitry.

[0031] As used herein, the term “communication network” refers to a network that follows any appropriate communication standard, such as Long Term Evolution (LTE), LTE-Advanced (LTE-A), Wideband Code Division Multiple Access (WCDMA), High Speed Packet Access (HSPA), Narrow Band Internet of Things (NB-IoT), New Radio (NR), Non-Terrestrial Network (NTN), etc. In addition, communication between terminal devices and network devices in a communication network can be performed according to any appropriate generation communication protocol, including but not limited to, first generation (1G), second generation (2G), 2.5G, 2.75G, third generation (3G), fourth generation (4G), 4.5G, fifth generation (5G), future sixth generation (6G) communication protocols, and / or any other protocols that are currently known or that will be developed in the future. Embodiments of the present disclosure can be applied in satellite communication systems. In view of the rapid development in communications, it will of course also be possible to use future types of communication technologies and systems in addition to those mentioned above. The scope of the present disclosure should therefore not be limited to the aforementioned systems.

[0032] The term “satellite network equipment” refers to a node in a satellite communication network that is set up on a satellite or a ground segment. Terminal equipment accesses the network and receives services therefrom through the node. Depending on the terminology and technology applied, the satellite network equipment can refer to a base station (BS) or access point (AP) as a satellite payload, such as a Node B (NodeB or NB), an evolved Node B (eNodeB or eNB), an NR NB (also known as gNB), a remote radio unit (RRU), a radio head (RH), a remote radio head (RRH), a relay node. An example of a relay node can be an integrated access and backhaul (IAB) node. The distributed unit (DU) part of an IAB node can perform the functions of “satellite network equipment” and thus can operate as network equipment. In the following description, the terms “satellite network equipment”, “BS” and “node” can be used interchangeably.

[0033] The term “terminal equipment” refers to any terminal equipment capable of wireless communication. By way of example and not limitation, terminal equipment can also be referred to as a communication device, user equipment (UE), subscriber station (SS), portable user station, mobile station (MS), or access terminal (AT). The terminal equipment can include, but is not limited to, a mobile phone, a cellular phone, a smart phone, a voice over Internet Protocol (VoIP) phone, a wireless local loop phone, a tablet, a wearable terminal device, a personal digital assistant (PDA), a portable computer, a desktop computer, an image capture terminal device such as a digital camera, a game terminal device, a music storage and playback appliance, a vehicle-mounted wireless terminal device, a wireless endpoint, a mobile station, a laptop-embedded equipment (LEE), a laptop-mounted equipment (LME), a USB dongle, a smart device, a wireless customer-premise equipment (CPE), an Internet of Things (Iot) device, a watch or other wearable device, a head-mounted display (HMD), a vehicle, a drone, medical devices and applications (e.g., remote surgery), industrial devices and applications (e.g., robots and / or other wireless devices operating in an industrial and / or an automated processing chain contexts), consumer electronics, a relay node, devices operating on a business and / or industrial wireless network, etc. The mobile terminal (MT) part of an IAB node can perform the functions of “terminal equipment” and thus can operate as terminal equipment. In the following description, the terms “terminal equipment”, “communication device”, “terminal”, “user equipment” and “UE” can be used interchangeably.

[0034] Although the functionality described herein can be implemented in various example embodiments in fixed and / or wireless network nodes, in other example embodiments, the functionality can be implemented in user equipment devices, such as cellular phones, or tablet computers, or laptop computers, or desktop computers, or mobile Internet of Things devices, or fixed Internet of Things devices. For example, the user equipment devices can suitably have the respective capabilities described in relation to the fixed and / or wireless network nodes. The user equipment devices can be user equipment and / or control devices, e.g. chipsets or processors, configured to control the user equipment when the user equipment is installed therein. Examples of these functionalities include bootstrap server functionality and / or home subscriber server, which can be implemented in the user equipment devices by providing the user equipment devices with software configured to cause the user equipment devices to perform from the perspective of these functionalities / nodes.

[0035] Figure 1 An example communication network 100 in which embodiments of the present disclosure can be implemented is shown. The communication network 100 includes a satellite network device 110 and terminal devices 120A and 120B served by the satellite network device 110. The terminal devices 120A and 120B can also be collectively referred to as terminal devices 120. The communication network 100 can provide a serving cell 130 to serve the terminal devices 120A and 120B. In Figure 1 In an example, as a satellite communication network, the communication network 100 further includes a ground station 140, a gNB 150, a next generation core network NGC 160, and a data network 170. The satellite communication network can include low earth orbit (LEO), medium earth orbit (MEO), or geosynchronous earth orbit (GEO) satellites.

[0036] The ground station 140 acts as a gateway for connecting a non-terrestrial network and a public data network. The gNB 150 acts as an access network connecting the ground station 140 to the core network NGC 160. The NGC 160 can also be connected to the data network 170 to provide, for example, Internet content services. It will be understood that the communication network 100 does not necessarily have to include all the elements shown in Figure 1

[0037] In some embodiments, the satellite network device 110 can be communicatively connected with the terminal devices 120A and 120B as a base station, or can be a transparent forwarding node to transparently forward signals transmitted by the ground station 140 to the terminal devices 120A and 120B. In the former case, the satellite network device 110 has all or part of the functions of a base station. For example, the satellite network device 110 can be a gNB or a gNB-DU, and the satellite network device 110 having gNB functions can have an inter-satellite link ISL or not. In the case of a transparent forwarding node, the satellite network device 110 only performs transparent forwarding. ​

[0038] It should be understood that the number of satellite network devices 110, terminal devices 120A and 120B, and serving cells 130 is for illustrative purposes only and is not intended to be limiting. The communication network 100 can include any suitable number of satellite network devices, terminal devices, and serving cells suitable for implementing embodiments of the present disclosure. It should be noted that the terms “cell” and “serving cell” can be used interchangeably herein.

[0039] In the communication network 100, the satellite network devices 110 can transmit data and control information to the terminal devices 120A and 120B, and the terminal devices 120A and 120B can also transmit data and control information to the satellite network devices 110. The links from the satellite network devices 110 to the terminal devices 120A and 120B are called downlinks (DLs) or forward links, while the links from the terminal devices 120 to the satellite network devices 110 are called uplinks (ULs) or reverse links.

[0040] The communication in the communication network 100 can conform to any suitable standards, but is not limited to Long Term Evolution (LTE), LTE Evolution, LTE-Advanced (LTE-A), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Global System for Mobile Communications (GSM), etc. In addition, the communication can be performed according to any generation of communication protocols that are currently known or will be developed in the future. Examples of the communication protocols include, but are not limited to, first generation (1G), second generation (2G), 2.5G, 2.75G, third generation (3G), fourth generation (4G), 4.5G, fifth generation (5G), sixth generation (6G) communication protocols.

[0041] A Third Generation Partnership Project (3GPP) protocol structure includes a physical (PHY) layer and higher layers. The higher layers include a media access control (MAC) layer, a radio link control (RLC) layer, a packet data convergence protocol (PDCP) layer, etc. In this document, other layers above the physical layer can be referred to as higher layers. Software written according to the core specification for data processing requirements of the higher layer protocol layers can be referred to as a higher layer protocol stack. The higher layer protocol stack includes one layer or multiple layers, where the multiple layers are configured to perform data processing according to the higher layer protocol and perform inter-layer data transfer according to the layer hierarchy of the multiple layers.

[0042] In current data testing of main high-layer protocols, the corresponding data for uplink and downlink transmission is usually generated by the high-layer protocol stack according to the requirements of the core specification, so that it is difficult to control the data in the test. In addition, the current data testing is mostly in the form of field testing or base station simulation testing, and the scene established in this way is mostly a base station test scene of real network configuration or specified configuration. In this scene, the high-layer data transmission usually uses the protocol stack to generate autonomously, so the obtained data content is the normal data content matching the core specification, and it is difficult to construct abnormal data content. If an abnormal scene needs to be constructed, additional signal interference or the like is needed to enter the abnormal scene. However, in this scene, it is difficult to accurately control the actual generation of abnormal data of the high-layer protocol, and as a protocol test, it is difficult to test the specified rules of the core specification.

[0043] Figure 2 A flowchart of a data testing method 200 for a high-layer protocol of a wireless network according to some embodiments of the present disclosure is shown. It should be understood that the method 200 can include additional steps not shown and / or some of the shown steps can be omitted, and the scope of the present disclosure is not limited in this regard.

[0044] In step S210, a corresponding control interface and a corresponding data interface are provided for each of a plurality of layers of a high-layer protocol stack. The plurality of layers of the high-layer protocol stack are configured to process data according to a high-layer protocol and to perform inter-layer data transfer according to a layer hierarchy of the plurality of layers, the control interface is configured to selectively enable a data test mode of a corresponding layer of the plurality of layers, and the data interface is configured to interact with the corresponding layer of the plurality of layers.

[0045] In the following description, the high-layer protocol is taken as an example of L2 protocol and is described in detail. However, it should be understood that the high-layer herein is not limited to L2.

[0046] Figure 3 An exemplary L2 protocol stack 300 in which embodiments of the present disclosure can be implemented is shown. The L2 protocol stack 300 includes a service data adaptation protocol (SDAP) layer 301, a packet data convergence protocol (PDCP) layer 302, a radio link control (RLC) layer 303, and a media access control (MAC) layer 304. The four layers are configured to process data according to an L2 protocol and to perform inter-layer data transfer according to a layer hierarchy of the four layers.

[0047] In one example embodiment, each of the SDAP layer 301, the PDCP layer 302, the RLC layer 303, and the MAC layer 304 of the L2 protocol stack 300 is provided with a corresponding control interface and a corresponding data interface. The control interface of the SDAP layer 301 is configured to selectively enable a data test mode of the SDAP layer 301, and the data interface is configured to interact with the SDAP layer 301 for data. The control interface of the PDCP layer 302 is configured to selectively enable a data test mode of the PDCP layer 302, and the data interface is configured to interact with the PDCP layer 302 for data. The control interface of the RLC layer 303 is configured to selectively enable a data test mode of the RLC layer 303, and the data interface is configured to interact with the RLC layer 303 for data. The control interface of the MAC layer 304 is configured to selectively enable a data test mode of the MAC layer 304, and the data interface is configured to interact with the MAC layer 304 for data.

[0048] Reference is made to Figure 4 The test system 400 includes a test control unit 410 and the L2 protocol stack 300. The test control unit 410 is configured to control a test procedure, send control instructions to each layer of the L2 protocol stack 300, and construct simulated L2 data. The control instructions mainly include cell establishment, link establishment of each layer of the protocol stack, and activation / deactivation of a data test mode switch. After the data test mode of a corresponding layer of the L2 protocol stack 300 is enabled, the L2 protocol stack 300 switches the data upload and delivery channel between the layer and a layer above the layer to a data channel connected to the test control unit 410.

[0049] In some embodiments, on the basis of a standard L2 protocol, each layer of the L2 protocol stack 300 is divided into a control plane and a data plane. The control plane is configured to receive instructions of the test control unit 410, and is mainly used to create and delete wireless link resources and logical channel resources of each layer, and configure channel-related parameters of each layer. The data plane is configured to process air interface data, and perform parsing, packet assembly, and other processing on uplink and downlink data according to requirements of a core specification.

[0050] Figure 4 In the illustrated embodiment, a data test mode switch is arranged in the control interface between the control plane of each layer of the L2 protocol stack 300 and the test control unit 410, and a data interface for data interaction between the data plane of each layer and the test control unit 410 is additionally arranged. Meanwhile, the original functions of the data plane of each layer of the L2 protocol stack 300 and the data transmission interface and functions between the data planes in accordance with requirements of the core specification are retained. The additional data interface of each layer of the L2 protocol stack 300 can be used only after the test control unit 410 activates the data test mode switch of the control plane of the layer.

[0051] At step S220, in response to the data test mode of any one of the plurality of layers being enabled via the control interface of the layer, data is interacted with the layer via the data interface of the layer to bypass the layers above the layer in the hierarchy.

[0052] In this document, bypassing the layers above the layer in the hierarchy means that the layer does not interact data with the layers above the layer.

[0053] In one example embodiment, referring to Figure 4 , in response to the data test mode of the PDCP layer 302 being enabled via the control interface of the layer, data is interacted with the layer via the data interface of the layer to bypass the layers above the layer (SDAP layer 301) in the hierarchy. For example, when the test control unit 410 activates the control plane data test mode switch of the PDCP layer 302, the MAC layer 304 and the RLC layer 303 still process data and complete inter-layer transfer according to the core specification requirements because they do not receive the instruction to activate the data test mode, and the data plane of the PDCP layer 302 receives data, and because the layer is in the data test mode, the data plane of the PDCP layer 302 will directly transfer the data to the test control unit 410 via the newly added data interface, and no longer upload the data to the SDAP layer 301. Similarly, the data plane of the PDCP layer 302 no longer receives the data issued by the SDAP layer 301, but receives the PDCP data packet of the test control unit 410 via the newly added data interface, and issues it to the RLC layer 303.

[0054] In some embodiments, interacting data with the layer via the data interface of the layer includes at least one of the following: constructing a data packet for the layer by a data construction function for the layer and sending the constructed data packet to the layer via the data interface; receiving a data packet from the layer via the data interface. Wherein the data construction function includes a data processing function. Constructing a data packet for the layer includes constructing a data packet header of the data packet by the data processing function.

[0055] Referring to Figure 4 , in addition to constructing the user data payload, the data construction function of the test control unit 410 also constructs the data packet header of the data packet of each layer from the SDAP layer 301 to the MAC layer 304, and selectively calls according to the type of the data test mode.

[0056] Figure 4In the illustrated embodiment, the data construction functions of the test control unit 410 are divided according to the hierarchy of the L2 protocol stack 300. The SDAP data construction is a data construction function for the SDAP layer 301. The PDCP data construction is a data construction function for the PDCP layer 302. The RLC data construction is a data construction function for the RLC layer 303. The MAC data construction is a data construction function for the MAC layer 304. The data construction functions for the respective layers each include a corresponding data processing function by which a packet header of a data packet of the corresponding layer is constructed. In some embodiments, the data construction functions for the respective layers each further include a corresponding exception field writing function by which an exception data packet is constructed.

[0057] In some embodiments, constructing the data packet for the layer further includes: in response to receiving a modification to a field in the constructed packet header, modifying the field to generate an exception data packet; and in response to not receiving a modification to the field in the constructed packet header, refraining from modifying the field to generate a normal data packet. In some embodiments, modifying the field in the packet header includes at least one of: modifying an encoding value of the field beyond a predefined range; modifying a data packet segment sequence number corresponding to the field.

[0058] When an exception scenario needs to be constructed, a field modification can be made in the processed packet header to implement the construction of the exception data packet. In some embodiments, the exception data packet includes a field encoding value exception or a data logic exception. The field encoding value exception refers to a case where the field value is beyond the range defined by the core specification. In this scenario, by removing the limitation of the encoding value check in the data packet encoder, the data packet encoder of the test control unit 410 can still complete the encoding and deliver the data packet, and check the reaction of the terminal device to the exception data packet. The data logic exception refers to a case where the values of the fields of the data packet are not out of range, but the sending timing does not meet the requirements of the core specification, such as a segment sending order exception by rewriting the data packet segment sequence number when sending multiple segment data packets, or a segment loss scenario. In this scenario, the data packet encoder of the test control unit 410 can complete the encoding and deliver the data packet, and check the reaction of the terminal device to the exception data packet.

[0059] Reference is made to Figure 5The "abnormal field writing" in the data construction function of each layer is an optional function. The SDAP layer data processing mainly includes QFI mapping calculation function. The PDCP layer data processing mainly includes PDCP sequence number calculation function. The RLC layer data processing mainly includes RLC sequence number calculation function, RLC data packet indication function, data packet segmentation function and data packet grouping function. The MAC layer data processing mainly includes data packet list reading and generation function, MAC CE generation function and MACPadding generation function. The normal processing flow of the functions of the above layers all comply with the requirements of the core specification.

[0060] After each layer completes the corresponding function operation of the layer, an additional abnormal field writing function position is provided to construct an abnormal data packet (optional function). Then, it is determined whether to send the data packet (including normal data packet and possible abnormal data packet) directly to the L2 protocol stack or pass it to the next layer data processing function according to the type of the current test mode.

[0061] In some embodiments, in response to the data test mode of a non-top layer in the hierarchy of multiple layers of the high-layer protocol stack being enabled via the control interface of the layer, the data of the data packet constructed for the data construction function of the upper layer of the layer is taken as the input parameter of the data processing function of the layer, and the data packet for the layer is generated by the data processing function of the layer.

[0062] Continuing to refer to Figure 5 In one exemplary embodiment, the data test mode of the SDAP layer 301 of the L2 protocol stack 300 is enabled via the control interface of the layer, and the current test mode is the SDAP mode. After the data processing function of the SDAP layer 301 of the test control unit 410 completes data generation, the data packet is directly sent to the SDAP layer 301 of the L2 protocol stack 300. After the SDAP layer 301 of the L2 protocol stack 300 receives the data packet, the data packet is passed to the PDCP layer 302. In another exemplary embodiment, the data test mode of the PDCP layer 302 of the L2 protocol stack 300 is enabled via the control interface of the layer, and the current test mode is the PDCP mode. The SDAP layer data generated by the data processing function of the SDAP layer 301 is taken as the input parameter of the data processing function of the PDCP layer 302 of the test control unit 410. The data processing function of the PDCP layer 302 takes the SDAP layer data as the service data unit (SDU), completes the PDCP sequence number calculation function, and generates the PDCP protocol data unit (PDU) and sends it to the PDCP layer 302 of the L2 protocol stack 300. After the PDCP layer 302 of the L2 protocol stack 300 receives the data packet, the data packet is passed to the RLC layer 303.

[0063] In some embodiments, in response to the data test mode of any one of the plurality of layers of the high layer protocol stack being enabled via the control interface of the layer, the data packet for the layer is constructed by the data construction function for the layer, and the type of the constructed data packet is identified, indicating whether the layer of the high layer protocol stack needs to process the data packet (such as packetization, packet assembly, etc.) before passing to the next layer. The type of the data packet includes two types of service data unit type and protocol data unit type. Illustratively, the type of the constructed data packet is identified as the service data unit type, indicating that the layer will process the received data packet before passing to the next layer of the layer. The type of the constructed data packet is identified as the protocol data unit type, indicating that the layer will directly pass the received data packet to the next layer of the layer.

[0064] With continued reference to Figure 5 In one exemplary embodiment, the data test mode of the SDAP layer 301 of the L2 protocol stack 300 is enabled via the control interface of the layer, and the current test mode is the SDAP PDU mode, then the data processing function of the SDAP layer 301 of the test control unit 410, after completing data generation, also identifies the type of the data packet as SDAP PDU, and the data packet will be sent to the SDAP layer 301 of the L2 protocol stack 300 according to the type of the data packet. After the SDAP layer 301 of the L2 protocol stack 300 receives the data packet, the data packet is directly passed to the PDCP layer 302 according to the type of the data packet. Alternatively, the current test mode is the SDAP SDU mode, then the data processing function of the SDAP layer 301 of the test control unit 410, after completing data generation, also identifies the type of the data packet as SDAP SDU, and the data packet will be sent to the SDAP layer 301 of the L2 protocol stack 300 according to the type of the data packet. After the SDAP layer 301 of the L2 protocol stack 300 receives the data packet, the data packet is processed before being passed to the PDCP layer 302 according to the type of the data packet.

[0065] Embodiments of the present disclosure can flexibly control data in data testing of high layer protocols of wireless networks, and realize flexible construction of normal data packets and / or abnormal data packets. The information element (IE) items of the data packet header of each layer of the data packet can be conveniently constructed, abnormal data packets can be constructed, and the normal processing function of a reserved part of the layer can be flexibly selected, simplifying the complexity of data packet construction.

[0066] In some embodiments, information indicating the time of packet delivery is further provided in the constructed data packet; and the data packet is sent to the higher-level protocol stack based on the delivery time. The delivery time of the data packet includes, for example, a frame number, a time slot number, etc. Exemplarily, the delivery time of the data packet is incorporated into the additional information portion of the data packet. When the higher-level protocol stack's runtime reaches a specified time, the data packet is sent to the higher-level protocol stack. Upon receiving the data packet, the higher-level protocol stack reads the additional information portion of the data packet and delivers the data packet based on the delivery time indicated therein.

[0067] In an exemplary embodiment, setting information in a data packet indicating the time of packet delivery includes: sending a control primitive to a higher-level protocol stack to query the current time (e.g., frame number); in response to receiving the current time as fed back by the higher-level protocol stack based on the control primitive, incrementing the received current time by a target increment to obtain the packet delivery time; and incorporating the obtained delivery time into the additional information portion of the data packet. In some embodiments, to improve compliance of the delivery time with protocol requirements, only the fed-back frame number may be used. The time slot number for the current downlink data may be generated by determining the time slot number corresponding to the downlink time slot based on the time slot allocation during cell establishment.

[0068] In another exemplary embodiment, setting information in a data packet to indicate the time point of sending the data packet includes: obtaining time information in the additional information part of the uplink data packet sent by the high-level protocol stack; obtaining the time point of sending the data packet based on the time information; and incorporating the obtained time point of sending into the additional information part of the data packet.

[0069] The embodiments of the present disclosure can control the time point of sending key data packets of concern in data testing, which is convenient for verifying time-related test items such as data channel timers.

[0070] The embodiment of the present disclosure also provides a chip. The chip includes a circuit system, which is configured to execute a reference Figures 2-5 Any process that is public in question.

[0071] Figure 6 FIG6 is a simplified block diagram of a device 600 suitable for implementing embodiments of the present disclosure. For example, satellite network device 110, terminal device 120, terminal device 220, and computing device may be implemented by device 600. As shown, device 600 includes one or more processors 610, one or more memories 620 coupled to processor 610, and one or more communication modules 640 coupled to processor 610.

[0072] The communication module 640 is for bidirectional communication. The communication module 640 has at least one antenna to facilitate communication. The communication interface can represent any interface necessary to communicate with other network elements.

[0073] The processor 610 can be of any type suitable to the local technical network and can include one or more of microprocessors, digital signal processors (DSPs), microcontrollers, processors based on a multi-core processor architecture, as non-limiting examples. The device 600 can have multiple processors for

[0074] The memory 620 can include one or more non-transitory memories and one or more transitory memories. Examples of non-transitory memories include, but are not limited to, read-only memory (ROM) 624, electrically programmable read only memory (EPROM), flash memory, a hard disk, a compact disc (CD), a digital video disc (DVD), and other magnetic and / or optical storage devices. Examples of transitory memories include, but are not limited to, random access memory (RAM) 622 and other volatile memories that do not persist after a power duration.

[0075] The computer program 630 includes computer-executable instructions executed by the associated processor 610. The program 630 can be stored in the ROM 624. The processor 610 can perform any appropriate action and processing by loading the program 630 into the RAM 622.

[0076] Embodiments of the present disclosure can be implemented through the program 630 so that the device 600 can perform any process discussed with reference to the present disclosure. Embodiments of the present disclosure can also be implemented through hardware or through a combination of software and hardware. Figures 2-5

[0077] In some embodiments, the program 630 can be tangibly embodied in a computer- readable medium, which can be included in the device 600 (e.g., the memory 620) or in another storage device accessible by the device 600. The device 600 can load the program 630 from the computer-readable medium into the RAM 622 for execution. The computer-readable medium can include any type of tangible non-transitory memory, such as ROM, EPROM, flash memory, a hard disk, a CD-ROM, a DVD, and the like. The program 630 is stored on the computer-readable medium.

[0078] ​In general, the various embodiments of the disclosure can be implemented in hardware or special-purpose circuits, software, logic or any combination thereof. Some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software which can be executed by a controller, microprocessor or other computing device. While various aspects of embodiments of the disclosure are illustrated and described as block diagrams, flow charts, or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein can be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.

[0079] Embodiments of the disclosure also provide at least one computer program product which is tangibly stored on a non-transitory computer readable storage medium. The computer program product includes computer executable instructions, for example, instructions included in program modules, executed by devices at a target real or virtual processor to perform any of the processes of the disclosure described above. Figures 2-5 Generally, program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The functionality of the program modules can be combined or split between program modules as desired in various embodiments. Machine executable instructions for program modules can be executed within a local or distributed device. In a distributed device, program modules can be located in local and remote memory storage devices.

[0080] Program code for carrying out methods of embodiments of the disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor of the computer or other programmable data processing apparatus, enables the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code can execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.

[0081] In the context of this document, a computer program code or related data can be carried by any suitable carrier and means to enable a device, apparatus or processor to perform various processes and operations as described above. Examples of carriers include signals, computer readable media, etc.

[0082] The computer readable medium can be a computer readable signal medium or a computer readable storage medium. It can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0083] Further, although operations are described as being in a particular order, this should not be understood as requiring the operations to be performed in the particular order, or in sequential order, or as requiring all illustrated operations to be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing can be advantageous. Likewise, while several specific implementation details are contained in the above discussion, these should not be construed as limiting the scope of the disclosure, but merely as being descriptive of particular embodiments thereof. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.

[0084] While the disclosure has been described in terms of specific embodiments thereof, it is to be understood that the disclosure defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the overall functionality of the specific features and acts described above are merely provided as examples of the disclosure.

[0085] It should be fully appreciated that the use of personally identifiable information should follow privacy practices that are commonly considered to meet or exceed industry or governmental requirements for maintaining the privacy of users. In particular, personally identifiable information data should be managed and processed so as to minimize the risk of unintentional or unauthorized access or use, and the nature of authorized use should be clearly indicated to users.

Claims

1. A data testing method for testing a wireless network high-level protocol, characterized in that: include: providing a corresponding control interface and a corresponding data interface for each of a plurality of layers of a high-level protocol stack, wherein the plurality of layers are configured to perform data processing according to the high-level protocol and to perform inter-layer data transmission according to the hierarchical structure of the plurality of layers, the control interface is configured to selectively enable a data test mode of a corresponding layer of the plurality of layers, and the data interface is configured to perform data exchange with the corresponding layer of the plurality of layers; For any one of the multiple layers, in response to enabling the data test mode of the layer via the control interface of the layer, data interaction is performed with the layer via the data interface of the layer to bypass the layers higher than the layer in the hierarchical structure, so that the layer does not interact with data with the layers higher than the layer.

2. The method according to claim 1, wherein The data interaction with the layer via the data interface of the layer includes at least one of the following: constructing a data packet for the layer by using a data construction function for the layer and sending the constructed data packet to the layer via the data interface; Data packets from this layer are received via the data interface.

3. The method according to claim 2, wherein The data construction function includes a data processing function, and the construction of the data packet for this layer includes: The data packet header of the data packet is constructed through the data processing function.

4. The method according to claim 3, wherein The data packet for the layer is constructed further comprising: In response to receiving a modification to a field in the constructed data packet header, modifying the field to generate an abnormal data packet; and In response to not receiving a modification to a field in the constructed data packet header, abandoning the modification to the field to generate a normal data packet.

5. The method according to claim 4, wherein The modifying of the field comprises at least one of the following: Modify the code value of the field to be outside the predefined range; Modify the data packet segment sequence number corresponding to the field.

6. The method according to any one of claims 3 to 5, wherein: Any layer is a non-top layer in the hierarchical structure, and constructing a data packet for the layer includes: The data of the data packet constructed by the data construction function of the layer above this layer is used as the input parameter of the data processing function of this layer, and the data packet for this layer is generated by the data processing function of this layer.

7. The method according to any one of claims 2 to 5, wherein: The constructing of the data packet for the layer includes at least one of the following: Identifies the constructed data packet as a service data unit type, indicating that the layer will process the received data packet before passing it to the next layer; Identifies the type of the constructed data packet as a protocol data unit type, instructing the layer to pass the received data packet directly to the next layer.

8. The method according to any one of claims 2 to 5, wherein: Also includes: Setting information in the data packet for indicating a time point at which the data packet is to be sent; as well as The data packet is sent to the high-level protocol stack according to the sending time point.

9. The method according to claim 8, wherein The information set in the data packet for indicating the time point of sending the data packet includes: Sending a control primitive for querying the current time point to the high-level protocol stack; In response to receiving the current time point fed back by the high-level protocol stack according to the control primitive, increasing the received current time point by a target increment to obtain a time point for sending the data packet; and The obtained sending time point is compiled into the additional information part of the data packet.

10. The method according to claim 9, wherein The current time point includes a frame number.

11. The method according to claim 8, wherein The information set in the data packet for indicating the time point of sending the data packet includes: Acquire time information in the additional information portion of the uplink data packet sent by the high-level protocol stack; Obtaining a time point for sending the data packet according to the time information; and The obtained sending time point is compiled into the additional information part of the data packet.

12. A computing device, characterized in that: include: one or more processors; as well as One or more memories coupled to the one or more processors and storing thereon instructions, which, when executed individually or collectively by the one or more processors, cause the computing device to perform the method of any one of claims 1-11.

13. A chip, characterized in that: The method comprises a circuit system configured to perform the method of any one of claims 1-11.

14. A non-transitory computer-readable storage medium storing machine-executable instructions, which, when executed by one or more processors of a machine, cause the machine to perform the method of any one of claims 1-11.

15. A computer program product comprising machine-executable instructions which, when executed by one or more processors of a machine, cause the machine to perform the method of any one of claims 1-11.

Citation Information

Patent Citations

  • Base station simulation test terminal, test method and device

    CN112867044A