CN113098731B - Protocol stack testing method, testing system and computer storage medium - Google Patents

Protocol stack testing method, testing system and computer storage medium Download PDF

Info

Publication number
CN113098731B
CN113098731B CN202110227696.1A CN202110227696A CN113098731B CN 113098731 B CN113098731 B CN 113098731B CN 202110227696 A CN202110227696 A CN 202110227696A CN 113098731 B CN113098731 B CN 113098731B
Authority
CN
China
Prior art keywords
test
unit
downlink
uplink
protocol stack
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110227696.1A
Other languages
Chinese (zh)
Other versions
CN113098731A (en
Inventor
苏怀文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110227696.1A priority Critical patent/CN113098731B/en
Publication of CN113098731A publication Critical patent/CN113098731A/en
Application granted granted Critical
Publication of CN113098731B publication Critical patent/CN113098731B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The embodiment of the application discloses a method for testing a protocol stack, which comprises the following steps: the method comprises the steps that a test unit of a data surface sends a downlink test data packet to a downlink protocol stack unit, the downlink protocol stack unit processes the downlink test data packet to obtain payload data of the downlink test data packet, the payload data is sent to an uplink protocol stack unit, the uplink protocol stack unit packs the payload data to obtain an uplink test data packet, the uplink test data packet is sent to the test unit of the data surface, and the test unit of the data surface determines test results of the downlink protocol stack unit and the uplink protocol stack unit according to the downlink test data packet and the uplink test data packet. The embodiment of the application also provides a test system and a computer storage medium.

Description

Protocol stack testing method, testing system and computer storage medium
Technical Field
The present application relates to a test technology for a protocol stack unit of a data plane, and in particular, to a test method, a test system, and a computer storage medium for a protocol stack.
Background
The existing test method of the data plane unit is according to the data plane test standard requirement of the third Generation Partnership Project (3 GPP, third Generation Partnership Project) protocol stack, manually constructs the format of various test data packets, manually constructs scenes such as disorder and the like for testing, because the test case defined by the standard is relatively limited, the manually constructed data has large workload, the existing test method can not completely generate the format of various complex packet, and the distance between the format and the real scene is far; therefore, the technical problem of low test efficiency exists in the existing test method of the protocol stack unit of the data plane.
Disclosure of Invention
The embodiment of the application provides a test method, a test system and a computer storage medium of a protocol stack, which can improve the test efficiency of a protocol stack unit.
The technical scheme of the application is realized as follows:
the embodiment of the application provides a method for testing a protocol stack, which comprises the following steps:
the test unit of the data surface sends a downlink test data packet to a downlink protocol stack unit;
the downlink protocol stack unit processes the downlink test data packet to obtain payload data of the downlink test data packet, and sends the payload data to an uplink protocol stack unit;
the uplink protocol stack unit packs the payload data to obtain an uplink test data packet, and sends the uplink test data packet to a test unit of the data plane;
and the test unit of the data plane determines the test results of the downlink protocol stack unit and the uplink protocol stack unit according to the downlink test data packet and the uplink test data packet.
An embodiment of the present application provides a test system, including: a test unit of a data plane, a downlink protocol stack unit and an uplink protocol stack unit; wherein the content of the first and second substances,
the test unit of the data plane is used for sending a downlink test data packet to the downlink protocol stack unit;
the downlink protocol stack unit is configured to process the downlink test data packet to obtain payload data of the downlink test data packet, and send the payload data to the uplink protocol stack unit;
the uplink protocol stack unit is used for packaging the payload data to obtain an uplink test data packet and sending the uplink test data packet to the test unit of the data plane;
and the test unit of the data plane is used for determining the test results of the downlink protocol stack unit and the uplink protocol stack unit according to the downlink test data packet and the uplink test data packet.
An embodiment of the present application further provides a test system, where the test system includes: the test system comprises a processor and a storage medium storing instructions executable by the processor, wherein the storage medium depends on the processor to execute operations through a communication bus, and when the instructions are executed by the processor, the test method of the protocol stack of one or more of the above embodiments is executed.
The embodiment of the application provides a computer storage medium, which stores executable instructions, and when the executable instructions are executed by one or more processors, the processors execute the protocol stack testing method described in one or more embodiments above.
The embodiment of the application provides a test method, a test system and a computer storage medium of a protocol stack, wherein the method comprises the following steps: a test unit of a data surface sends a downlink test data packet to a downlink protocol stack unit, the downlink protocol stack unit processes the downlink test data packet to obtain payload data of the downlink test data packet, the payload data is sent to an uplink protocol stack unit, the uplink protocol stack unit packs the payload data to obtain an uplink test data packet, the uplink test data packet is sent to the test unit of the data surface, and the test unit of the data surface determines test results of the downlink protocol unit and the uplink protocol stack unit according to the downlink test data packet and the uplink test data packet; that is to say, in this embodiment of the application, the test unit of the data plane sends a downlink test data packet to the downlink protocol stack unit, the downlink protocol stack unit processes the downlink test data packet, and sends the processed payload data to the uplink protocol stack unit, so that the uplink protocol stack unit can implement the packing and sending of the payload data, and finally the test unit of the data plane obtains the uplink test data packet, and can determine the test result of testing the uplink and downlink protocol stack according to the sent downlink test data packet and the obtained uplink test data packet.
Drawings
Fig. 1 is a schematic flowchart of an optional protocol stack test method according to an embodiment of the present disclosure;
FIG. 2 is a schematic structural diagram of an example one of an alternative test system provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a second example of an alternative test system according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of an example one of an optional protocol stack test method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a second example of a test method of an optional protocol stack according to an embodiment of the present application;
fig. 6 is a schematic flowchart of an example three of an optional protocol stack test method provided in the embodiment of the present application;
fig. 7 is a schematic flowchart of an example four of an optional protocol stack test method provided in the embodiment of the present application;
fig. 8 is a first schematic structural diagram of a test system according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a test system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Example one
Fig. 1 is a schematic flow chart of a method for testing a protocol stack, where fig. 1 is a schematic flow chart of the method for testing a protocol stack provided in the embodiment of the present application, and with reference to fig. 1, the method for testing a protocol stack may include:
s101: the test unit of the data plane sends a downlink test data packet to a downlink protocol stack unit;
the existing test scheme of the Data plane Unit is to manually construct formats of various Data packets of a Media Access Control (MAC) Protocol Data Unit (PDU), a Radio Link Control (RLC) layer and a Packet Data Convergence Protocol (PDCP) layer carried by the PDU according to requirements of a Data plane test specification of a 3GPP Protocol stack, and to manually construct scenarios such as RLC fragmentation or PDCP PDU disorder for testing.
However, because the test cases defined by the specification are relatively limited, the workload of manually constructing data is large, the existing test method cannot completely generate various complex packet formats, and the distance is far from the real scene, so that the test efficiency is low.
In order to improve testing efficiency, an embodiment of the present application provides a method for testing a protocol stack, where the method is applied to a test system, and the test system may include: first, through configuration of a test system, the test unit of the data plane sends a downlink test data packet to the downlink protocol stack unit, where the type of the downlink test data packet may be a newly transmitted packet, a retransmitted packet, a segmented packet, a status packet, and the like, and this is not specifically limited in this embodiment of the present application.
S102: the downlink protocol stack unit processes the downlink test data packet to obtain payload data of the downlink test data packet, and sends the payload data to the uplink protocol stack unit;
specifically, after receiving a downlink test data packet, a downlink protocol stack unit processes the downlink test data packet to obtain payload data of the downlink test data packet, wherein the downlink protocol stack unit mainly analyzes header information and control information of the downlink test data packet for the downlink test data packet to obtain payload data, and finally sends the payload data to an uplink protocol stack unit.
In order to implement the test of the downlink protocol stack unit, in an alternative embodiment, S102 may include:
a downlink data plane unit of a downlink protocol stack unit receives a downlink test data packet and analyzes the downlink test data packet to obtain payload data of the downlink test data packet;
a High Layer Protocol (HLP) unit of the downlink Protocol stack unit transmits payload data to the uplink Protocol stack unit.
Specifically, the downlink protocol stack unit may generally include a downlink data plane unit and a downlink HLP unit, and then, after the test unit of the data plane sends the downlink test data packet, the downlink data plane unit receives the downlink test data packet, and then analyzes the downlink test data packet, specifically analyzes the header information and the control information of each unit in the downlink data plane unit, to obtain payload data of the downlink test data packet, and then transmits the payload data to the downlink HLP unit, and the downlink HLP unit sends the payload data to the uplink protocol stack unit.
Further, for the architecture of the radio access stratum, in an optional embodiment, in order to implement that the downlink data plane unit of the downlink protocol stack unit receives the downlink test data packet, and analyzes the downlink test data packet to obtain payload data of the downlink test data packet, the method includes:
a downlink MAC unit of a downlink data plane unit receives a downlink test data packet;
and the downlink MAC unit, the downlink RLC unit and the downlink PDCP unit of the downlink data plane unit respectively analyze the downlink test data packet to obtain the payload data of the downlink test data packet.
For the architecture of the radio access Layer, the downlink data plane unit of the downlink protocol stack unit may include a downlink MAC unit, a downlink RLC unit, and a downlink PDCP unit, where the downlink MAC unit receives a downlink test packet from an interface between an MAC and a Physical Layer (PHY), processes the downlink test packet, analyzes MAC HEADER information (HEADER) and MAC CE, removes MAC HEADER and a MAC Control Element (CE, control Element) from the downlink test packet, obtains the downlink test packet processed by the downlink MAC unit, and transmits the downlink test packet to the downlink RLC unit.
The downlink RLC unit processes the downlink test data packet processed by the downlink MAC unit to analyze the downlink test data packet to RLC HEADER, and removes RLC HEADER from the downlink test data packet processed by the downlink MAC unit to obtain the downlink test data packet processed by the downlink RLC unit and transmits the downlink test data packet to the downlink PDCP unit.
The downlink PDCP unit processes the downlink test data packet processed by the downlink RLC unit, resolves PDCP HEADER, removes PDCP HEADER from the downlink test data packet processed by the downlink RLC unit, obtains the downlink test data packet processed by the downlink PDCP unit, namely payload data of the downlink test data packet, and transmits the payload data to the downlink HLP unit.
S103: the uplink protocol stack unit packs the payload data to obtain an uplink test data packet, and sends the uplink test data packet to a test unit of a data plane;
specifically, after receiving the payload data of the downlink test data packet, the uplink protocol stack unit packages the payload data to obtain an uplink test data packet, wherein the uplink protocol stack unit parses the header information and the control information related to the uplink protocol stack unit, packages the related header information, the control information, and the payload data to obtain an uplink test data packet, and finally sends the uplink test data packet to the test unit of the data plane.
In order to implement the test on the uplink protocol stack unit, in an alternative embodiment, S103 may include:
an uplink HLP unit of an uplink protocol stack unit receives payload data;
and an uplink data surface unit of the uplink protocol stack unit packs the payload data to obtain an uplink test data packet, and sends the uplink test data packet to a test unit of a data surface.
Specifically, the uplink protocol stack unit may generally include an uplink data plane unit and an uplink HLP unit, and then, after the downlink protocol stack unit sends payload data to the uplink protocol stack unit, the uplink HLP unit receives the payload data, and then the uplink data plane unit packages the payload data, specifically, first analyzes header information and control information related to each unit in the uplink data plane unit, and packages the analyzed header information, control information, and payload data to obtain an uplink test data packet, and then sends the uplink test data packet to the test unit of the data plane.
Further, for the architecture of the radio access stratum, in order to implement an optional embodiment, an uplink data plane unit of an uplink protocol stack unit packages the payload data to obtain an uplink test data packet, and sends the uplink test data packet to a test unit of the data plane, including:
an uplink PDCP unit, an uplink RLC unit and an uplink MAC unit of the uplink data plane unit pack the payload data respectively to obtain an uplink test data packet;
and the uplink MAC unit sends the uplink test data packet to the test unit of the data plane.
For the architecture of the radio access layer, the uplink data plane unit of the uplink protocol stack unit may include an uplink MAC unit, an uplink RLC unit, and an uplink PDCP unit, where the uplink PDCP unit obtains payload data from the uplink HLP unit, and then the uplink PDCP unit, the uplink RLC unit, and the uplink MAC unit sequentially pack the payload data, and pack the payload data with the parsed payload data PDCP HEADER, RLC HEADER, MAC HEADER and MAC CE to obtain an uplink test data packet; and finally, the uplink MAC unit sends the uplink test data packet obtained by packaging to a test unit of the data plane through an interface between the uplink MAC unit and the PHY.
S104: and the test unit of the data plane determines the test results of the downlink protocol stack unit and the uplink protocol stack unit according to the downlink test data packet and the uplink test data packet.
After receiving the uplink test data packet, the test unit of the data plane determines whether the protocol stack unit (i.e., the downlink protocol stack unit and the uplink protocol stack unit) for transmitting the test data packet succeeds in testing according to the uplink test data packet and the downlink test data packet.
In order to determine the test results of the uplink protocol stack unit and the downlink protocol stack unit, in an alternative embodiment, S104 may include:
when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the test unit of the data plane determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful;
specifically, the test unit of the data plane may compare whether the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, and if the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, it indicates that no abnormal transmission occurs in the transmission process of the downlink protocol stack unit and the uplink protocol stack unit, so the test unit of the data plane determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful, and if the payload data of the uplink test data packet is different from the payload data of the downlink test data packet, it indicates that an abnormal transmission occurs in the transmission process of the downlink protocol stack unit and the uplink protocol stack unit.
Here, it should be noted that the successful test indicates that both the uplink protocol stack unit and the downlink protocol stack unit operate normally.
Further, in order to determine the test results of the uplink protocol stack unit and the downlink protocol stack unit, in an optional embodiment, S104 may include:
and when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet and the header information of the downlink test data packet is the same as the header information in the pre-stored test value, the test unit of the data plane determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful.
Specifically, the test unit of the data plane may compare whether the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, and also compare whether the header information of the uplink test data is the same as the header information in the pre-stored test value, where the header information in the pre-stored test value is the correct test value in the current test.
Then, when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, and the header information of the downlink test data packet is the same as the header information in the pre-stored test value, it indicates that no abnormal transmission occurs in the transmission process of the downlink protocol stack unit and the uplink protocol stack unit, so the test unit of the data plane determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful.
In addition, when the payload data of the uplink test data packet is different from the payload data of the downlink test data packet, and/or the header information of the downlink test data packet is different from the header information in the pre-stored test value, it indicates that a transmission abnormality occurs in the transmission process of the downlink protocol stack unit and the uplink protocol stack unit, so the test result is a test abnormality, that is, the test fails.
Further, in order to determine the test results of the uplink protocol stack unit and the downlink protocol stack unit, in an alternative embodiment, S104 may include:
and when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the header information of the downlink test data packet is the same as the header information in the prestored test value, the state variable value of the uplink RLC unit is the sending state variable value in the prestored test value, and the state variable value of the downlink RLC unit is the receiving state variable value in the prestored test value, the test unit of the data plane determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful.
Specifically, the test unit of the data plane may compare whether the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, and compare whether the header information of the uplink test data is the same as the header information in the prestored test value, and also need to compare whether the value of the state variable of the uplink RLC unit is the same as the value of the transmitted state variable in the prestored test value, and whether the value of the state variable of the downlink RLC unit is the same as the value of the received state variable in the prestored test value, where the header information in the prestored test value is prestored, and the value of the transmitted state variable in the prestored test value and the value of the received state variable in the prestored test value are correct test values in this test.
When the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, and the header information of the downlink test data packet is the same as the header information of the prestored test value, and the state variable value of the uplink RLC unit is the transmission state variable value of the prestored test value, and the state variable value of the downlink RLC is the reception state variable value of the prestored test value, it indicates that no transmission abnormality occurs in the transmission process of the downlink protocol stack unit and the uplink protocol stack unit, so the test unit of the data plane determines that the test result of the downlink protocol stack and the uplink protocol stack unit is a test success, and when the payload data of the uplink test data packet is different from the payload data of the downlink test data packet, and/or the header information of the downlink test data packet is different from the header information of the prestored test value, and/or the state variable value of the uplink RLC unit is different from the transmission state variable value of the prestored test value, and/or the test result of the downlink RLC failure occurs.
In addition, when the downlink test data packet includes a status packet, and accordingly, the uplink test data packet includes a status packet, in an alternative embodiment, S104 may include:
when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the header information of the downlink test data packet is the same as the header information in the prestored test value, the state variable value of the uplink RLC unit is the sending state variable value in the prestored test value, the state variable value of the downlink RLC unit is the receiving state variable value in the prestored test value, and the state information in the state packet of the uplink test data packet is the same as the state information in the prestored test value, the test unit of the data plane determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful.
Specifically, for the case of triggering the state packet during the test, the test unit of the data plane may compare whether the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, compare whether the header of the uplink test data is the same as the header information in the pre-stored test value, compare whether the state variable value of the uplink RLC unit is the same as the transmission state variable value in the pre-stored test value, and compare whether the state variable value of the downlink RLC unit is the same as the reception state variable value in the pre-stored test value, and need to determine the state information of the state packet in the uplink test data packet, where the header information in the pre-stored test value, the transmission state variable value in the pre-stored test value, and the reception state variable value in the pre-stored test value are correct test values in the test.
Then, when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, and the header information of the downlink test data packet is the same as the header information in the prestored test value, and the state variable value of the uplink RLC unit is the sending state variable value in the prestored test value, and the state variable value of the downlink RLC is the receiving state variable value in the prestored test value, and the state information in the state packet of the uplink test data packet is the same as the state information in the prestored test value, it indicates that no transmission abnormality occurs in the transmission process of the downlink protocol stack unit and the uplink protocol stack unit, and therefore, the test unit of the data plane determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful in testing.
When the payload data of the uplink test data packet is different from the payload data of the downlink test data packet, and/or the header information of the downlink test data packet is different from the header information in the prestored test value, and/or the state variable value of the uplink RLC unit is different from the transmitted state variable value in the prestored test value, and/or the state variable value of the downlink RLC is different from the received state variable value in the prestored test value, and/or the state information in the state packet of the uplink test data packet is different from the state information in the prestored test value, it is indicated that a transmission abnormality occurs in the transmission process of the downlink protocol stack unit and the uplink protocol stack unit, so the test result is a test abnormality, namely a test failure.
In order to better control the testing of the protocol stack unit, in an optional embodiment, the method may further include:
when a test unit of a data plane sends a downlink test data packet to a downlink protocol stack unit, setting an initial value of a test frequency i to be 0;
correspondingly, after S103, the method further includes:
updating i to i +1;
when i is less than or equal to a preset test threshold value, the test unit of the data plane re-determines the downlink test data packet according to the uplink test data packet, returns to execute the downlink protocol stack unit to process the downlink test data packet to obtain payload data of the downlink test data packet, and sends the payload data to the uplink protocol stack unit;
and when the i is greater than the preset test threshold, the test unit of the data plane determines the test results of the downlink protocol stack unit and the uplink protocol stack unit according to the downlink test data packet and the uplink test data packet.
Specifically, when the test unit on the data plane sends a downlink test data packet to the downlink protocol stack unit, the test frequency i is set, and the initial value of the test frequency i is set to 0.
Then, the downlink protocol stack unit processes the downlink test data packet to obtain payload data of the downlink test data packet, and the payload data is sent to the uplink protocol stack unit; and the uplink protocol stack unit packs the payload data to obtain an uplink test data packet, sends the uplink test data packet to the test unit of the data plane, and updates i to i +1.
And judging i, when i is less than or equal to a preset test threshold value, the test is not completed, then determining a downlink test data packet according to the received uplink test data packet, after determining the downlink test data packet, returning to execute S102, and when i is greater than the preset test threshold value, executing S104.
In the cyclic test, in order to determine the downlink test data packet again, the uplink test data packet may be directly determined as the downlink test data packet, and may also determine the downlink test data packet again, in an alternative embodiment, the determining, by the test unit of the data plane, the downlink test data packet again according to the uplink test data packet may include:
and the test unit of the data surface repackages the uplink test data according to the authorization size to obtain a downlink test data packet.
Specifically, the test unit of the data plane determines the authorization size according to the random function, and then packages the uplink test data packet again to obtain the downlink test data packet, so that the downlink test data packet can be determined again.
The following describes a method for testing a protocol stack in one or more embodiments described above by way of example.
Fig. 2 is a schematic structural diagram of an example one of an optional test system provided in an embodiment of the present application, and as shown in fig. 2, the test system may include: radio Resource Control Simulator (RRCSIM) 21, packet Simulator (PKTSIM) 22, MAC23, RLC24, PDCP25 and HLP26; the RRCSIM21 simulates an RRC layer, and sends data plane configuration to the MAC23, the RLC24, the PDCP25 and the HLP26; the PKTSIM22 simulates PHY and gNB protocol stacks and processes the transmission and reception of uplink and downlink data packets and status packets.
Based on the architecture of fig. 2, fig. 3 is a schematic structural diagram of an example two of an optional test system provided in the embodiment of the present application, and as shown in fig. 3, the test system may include: a RRCSIM301, a downlink PKTSIM (PKTSIMD) 302, a downlink MAC (MACD) 303, a downlink RLC (RLCD) 304, a downlink PDCP (PDCPD) 305, a downlink HLP (HLPD) 306, an uplink HLP (HLPU) 307, an uplink PDCP (PDCPU) 308, an uplink RLC (RLCU) 309, an uplink MAC (MACU) 310 and an uplink PKTSIM (PKTSIMU) 311; wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE001
the RRCSIM301 sends the configuration message of the test case to each unit, PKTSIMD302 and PKTSIMU311;
Figure DEST_PATH_IMAGE002
a PKTSIMD302 that generates a packet in Transport Block (TB) units according to the configuration, and transmits the packet to the MACD303 via an interface between the MACD303 and the PHY;
Figure DEST_PATH_IMAGE003
downlink (MACD 303, RLCD304, PDCPD 305) processing the TB and returning (loopback) the downlink data packets to uplink (HLPU 307, PDCPU308, RLCU309 and MACU 310) at HLPD306 level;
Figure DEST_PATH_IMAGE004
the PKTSIMU311 extracts the TB packet from the interface between the MAC and PHY, parses MAC HEADER, MAC CE, RLC HEADER, PDCP HEADER contents, and writes the parsed information into the configuration of the PKTSIM for generating the next downlink packet.
That is to say, in this example, a pure software unit test method is provided to help debug each protocol module, the software constructs a downlink transport block TB, the downlink transport block TB is processed by downlink protocol stacking units MACD303, RLCD304, and PDCPD305, and then original data packet loads are restored, and these data are returned to the upper layer HLPD306 of the PDCPD305, and are used as uplink data to request uplink protocol modules PDCPU308, RLCU309, and MACU310 to perform packet transmission; the uplink data is packaged into MAC sub-PDUs with different formats according to the random authorization size, then packaged into uplink Transport Blocks (TB) for analog transmission, the uplink transport blocks are returned again after simple processing (mainly the movement of MAC CE) in PKTSIM, and the uplink transport blocks are used as new downlink data transport blocks to start a new round of encapsulation test, and the steps are repeated.
Fig. 4 is a flowchart illustrating a first example of a test method of an optional protocol stack according to an embodiment of the present application, and as shown in fig. 4, based on the test system in fig. 3, for a new packet, the test method may include:
firstly, the PKTSIMD sends a data packet with SN =0, and the data packet SN =0 is received and detected by the PKTSIMU through the tested units (MACD, RLCD, PDCPD, HLPD, HLPU, PDCPU, RLCU and MACU);
the detection conditions may include: a packet Sequence Number (SN) Number, a packet content (corresponding to the payload data), a state variable Vts of the RLCU, and a state variable Vrr of the RLCD;
the detection result is as follows: if the received data packet SN =0, the data content is correct, and Vts =1, vrr =1, the test is passed.
Fig. 5 is a flowchart illustrating a second example of a test method of an optional protocol stack provided in an embodiment of the present application, and as shown in fig. 5, based on the test system in fig. 3, for a segmented packet, the test method may include:
the PKTSIMD sends a data packet with SN =1, the authorization size Grantsize is reduced after passing through the unit to be tested, and the PKTSIMU receives a segmented packet with SN =1 SEG1;
the PKTSIMD repackages the received SEG1 data bits into SEG1 with SN =2 and transmits the SEG1, and the PKTSIMU receives the segmentation packet with SN =1 SEG2;
the PKTSIMD repackages the received SEG2 data bits into SEG2 with SN =2 and transmits the SEG2, the grant size is increased, and the PKTSIMU receives the complete packet SN =2;
the detection conditions may include: packet SN, information of the fragmentation Information (SI), fragmentation Offset (SO), packet content, state variable of RLCU and state variable Vrr of RLCD;
the detection result is as follows: the first received packet SN =1, si, so correct, content correct, and Vts =1, vrr =2; the second received packet SN =1, si, so correct, content correct, and Vts =2, vrr =2; the third received packet SN =2, si, so correct, content correct, and Vts =3, vrr =3, test passed.
Fig. 6 is a schematic flowchart of an example three of a selectable protocol stack test method provided in an embodiment of the present application, and as shown in fig. 6, based on the test system in fig. 3, for a status packet, the test method may include:
the PKTSIMD sends a data packet with SN =3, and after passing through the test unit, the PKTSIMU receives the data packet with SN =3;
the PKTSIMD sends a data packet with SN =5, and after passing through the test unit, the PKTSIMU receives the data packet with SN =4;
the PKTSIMD sends a data packet with SN =7 and triggers the sending of a status packet, and after passing through the test unit, the PKTSIMU receives the data packet with SN =5 and receives the status packet;
the detection conditions may include: the data packet SN, SI, SO value, data packet content, state variable of RLCU and state variable Vrr of RLCD, and the analysis state packet.
The detection result is as follows: the first received packet SN =3, si, so correct, content correct, and Vts =4, vrr =4; the second received packet SN =4, si, so correct, content correct, and Vts =5, vrr =4; the third received packet SN =2, si, so correct, content correct, and Vts =6, vrr =4; and the status packet contains indication information indicating that the data packet with SN =4 and SN =6 is not received, and the test is passed.
Fig. 7 is a flowchart illustrating a fourth example of a test method of an optional protocol stack provided in an embodiment of the present application, and as shown in fig. 7, based on the test system in fig. 3, for a retransmission packet, the test method may include:
the PKTSIMD sends a data packet with SN =4, and after passing through the test unit, the PKTSIMU receives the data packet with SN =6;
the PKTSIMD sends a data packet with SN =6, and after passing through the test unit, the PKTSIMU receives the data packet with SN =7;
the detection conditions may include: packet SN, SI, SO value, packet content, state variable of RLCU and state variable Vrr of RLCD.
The detection result is as follows: SN =6, si, so correct, content correct for the first received packet, and Vts =7, vrr =6; the second received packet SN =7, si, so correct, content correct, and Vts =8, vrr =8, test passed.
By the above example, the uplink and downlink data paths of the whole data plane can be tested, various types of data packets can be simulated by different PKTSIM configurations, such as parameters of SN, SO, SI, and the like, such as retransmission packets, newly transmitted packets, segmentation packets, STATUS packets, and the PKTSIM can also generate and analyze STATUS packets, such as RLC STATUS PDU, PDCP STATUS PDU, PKTSIM, and RRCSIM, and can be expanded according to requirements, output and filed, and can be used as a script of a test case for regression testing.
In addition, the PKTSIM module and the RRCSIM module are matched for use, different cases are tested through configuration selection, random authorization and uplink and downlink return test can ensure the randomness of a data packet format, the real test effect is achieved, a return test script is output, the functions of a base station (gNB, generation NodeB) can be perfected through expanding the PKTSIM module, more scenes are covered, and the functions of signaling processing, cell switching and the like can be added through expanding the RRCSIM module, so that more scenes are covered.
The embodiment of the application provides a method for testing a protocol stack, which comprises the following steps: a test unit of a data surface sends a downlink test data packet to a downlink protocol stack unit, the downlink protocol stack unit processes the downlink test data packet to obtain payload data of the downlink test data packet, the payload data is sent to an uplink protocol stack unit, the uplink protocol stack unit packs the payload data to obtain an uplink test data packet, the uplink test data packet is sent to the test unit of the data surface, and the test unit of the data surface determines test results of the downlink protocol unit and the uplink protocol stack unit according to the downlink test data packet and the uplink test data packet; that is to say, in this embodiment of the application, the test unit of the data plane sends a downlink test data packet to the downlink protocol stack unit, the downlink protocol stack unit processes the downlink test data packet, and sends the processed payload data to the uplink protocol stack unit, so that the uplink protocol stack unit can implement the packing and sending of the payload data, and finally the test unit of the data plane obtains the uplink test data packet, and can determine the test result of testing the uplink and downlink protocol stack according to the sent downlink test data packet and the obtained uplink test data packet.
Example two
Fig. 8 is a first schematic structural diagram of a test system provided in an embodiment of the present application, and as shown in fig. 8, an embodiment of the present application provides a test system, including: a test unit 81, a downlink protocol stacking unit 82 and an uplink protocol stacking unit 83 on the data plane; wherein the content of the first and second substances,
a data plane test unit 81, configured to send a downlink test data packet to the downlink protocol stack unit 82;
a downlink protocol stack unit 82, configured to process the downlink test data packet, obtain payload data of the downlink test data packet, and send the payload data to an uplink protocol stack unit 83;
an uplink protocol stack unit 83, configured to pack payload data to obtain an uplink test data packet, and send the uplink test data packet to the test unit 81 of the data plane;
and the data plane testing unit 81 is configured to determine a testing result of the downlink protocol stack unit and the uplink protocol stack unit according to the downlink testing data packet and the uplink testing data packet.
Optionally, the test unit 81 of the data plane is further configured to:
when the test unit 81 on the data plane sends a downlink test data packet to the downlink protocol stack unit 82, setting the initial value of the test times i to be 0;
correspondingly, after the uplink protocol stack unit 83 packages the payload data to obtain an uplink test data packet, and sends the uplink test data packet to the test unit 81 of the data plane, the test unit 81 of the data plane is further configured to:
updating i to i +1;
when i is less than or equal to the preset test threshold, the test unit 81 of the data plane re-determines the downlink test data packet according to the uplink test data packet, returns to execute the downlink protocol stack unit 82 to process the downlink test data packet to obtain payload data of the downlink test data packet, and sends the payload data to the uplink protocol stack unit 83;
when i is greater than the preset test threshold, the test unit 81 of the data plane determines the test results of the downlink protocol stacking unit 82 and the uplink protocol stacking unit 83 according to the downlink test data packet and the uplink test data packet.
Optionally, the determining, by the test unit 81 of the data plane, the downlink test data packet again according to the uplink test data packet includes:
and the test unit of the data surface repackages the uplink test data packet according to the authorization size to obtain the downlink test data packet.
Optionally, the downlink protocol stack unit 82 processes the downlink test data packet to obtain payload data of the downlink test data packet, and sends the payload data to the uplink protocol stack unit 83, including:
a downlink data plane unit of the downlink protocol stack unit 82 receives the downlink test data packet, and analyzes the downlink test data packet to obtain payload data of the downlink test data packet;
the downlink HLP unit of the downlink protocol stack unit sends the payload data to the uplink protocol stack unit 83.
Optionally, the step of receiving the downlink test data packet by the downlink data plane unit of the downlink protocol stack unit 82, analyzing the downlink test data packet, and obtaining payload data of the downlink test data packet includes:
a downlink MAC unit of a downlink data plane unit receives a downlink test data packet;
and the downlink MAC unit, the downlink RLC unit and the downlink PDCP unit of the downlink data plane unit respectively analyze the downlink test data packet to obtain the payload data of the downlink test data packet.
Optionally, the uplink protocol stack unit 83 packages payload data to obtain an uplink test data packet, and sends the uplink test data packet to the test unit of the data plane, including:
an uplink HLP unit of the uplink protocol stack unit 83 receives payload data;
the uplink data plane unit of the uplink protocol stack unit 83 packages the payload data to obtain an uplink test data packet, and sends the uplink test data packet to the test unit 81 of the data plane.
Optionally, the uplink data plane unit of the uplink protocol stack unit 83 packages payload data to obtain an uplink test data packet, and sends the uplink test data packet to the test unit 81 of the data plane, including:
an uplink PDCP unit, an uplink RLC unit and an uplink MAC unit of the uplink data plane unit pack the payload data respectively to obtain an uplink test data packet;
the upstream MAC unit sends the upstream test packet to the test unit 81 of the data plane.
Optionally, the determining, by the data plane testing unit 81, the test results of the downlink protocol stacking unit 82 and the uplink protocol stacking unit 83 according to the downlink test data packet and the uplink test data packet includes:
when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the test unit 81 of the data plane determines that the test results of the downlink protocol stack unit 82 and the uplink protocol stack unit 83 are successful; wherein, the successful test indicates that both the uplink protocol stack unit 83 and the downlink protocol stack unit 82 operate normally.
Optionally, when it is determined that the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the determining, by the test unit 81 of the data plane, that the test results of the downlink protocol stacking unit 82 and the uplink protocol stacking unit 83 are successful in testing includes:
when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, and the header information of the uplink test data packet is the same as the header information in the pre-stored test value, the test unit 81 of the data plane determines that the test results of the downlink protocol stack unit 82 and the uplink protocol stack unit 83 are successful.
Optionally, when it is determined that the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the determining, by the data plane testing unit 81, that the test results of the downlink protocol stacking unit 82 and the uplink protocol stacking unit 83 are successful in testing includes:
when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the header information of the uplink test data packet is the same as the header information in the prestored test value, the state variable value of the uplink RLC unit is the sending state variable value in the prestored test value, the state variable value of the downlink RLC unit is the receiving state variable value in the prestored test value, and the test results of the downlink protocol stack unit 82 and the uplink protocol stack unit 83 are determined as successful tests.
Optionally, when the downlink test data packet includes a status packet, correspondingly, the uplink test data packet includes the status packet, and when it is determined that the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the determining, by the data plane testing unit 81, that the test results of the downlink protocol stack unit 82 and the uplink protocol stack unit 83 are successful in the test includes:
when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the header information of the uplink test data packet is the same as the header information in the prestored test value, the state variable value of the uplink RLC unit is the sending state variable value in the prestored test value, the state variable value of the downlink RLC unit is the receiving state variable value in the prestored test value, and when the state information in the state packet is the same as the state information in the prestored test value, the test unit 81 of the data plane determines that the test results of the downlink protocol stack unit 82 and the uplink protocol stack unit 83 are successful.
In practical applications, the test Unit 81, the downlink protocol stacking Unit 82, and the uplink protocol stacking Unit 83 of the data plane may be implemented by a processor located on a test system, specifically, implemented by a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 9 is a schematic structural diagram of a second test system provided in the embodiment of the present application, and as shown in fig. 9, the embodiment of the present application provides a test system 900, including:
a processor 91 and a storage medium 92 storing instructions executable by the processor 91, wherein the storage medium 92 depends on the processor 91 to perform operations through a communication bus 93, and when the instructions are executed by the processor 91, the method for testing a protocol stack according to the first embodiment is performed.
It should be noted that, in practical applications, the various components in the terminal are coupled together by a communication bus 93. It is understood that the communication bus 93 is used to enable connection communication between these components. The communication bus 93 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. But for clarity of illustration the various buses are labeled as communication bus 93 in figure 9.
The embodiment of the present application provides a computer storage medium, which stores executable instructions, and when the executable instructions are executed by one or more processors, the processors execute the method for testing a protocol stack according to the first embodiment.
The computer-readable storage medium may be a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM).
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (14)

1. A method for testing a protocol stack, comprising:
the test unit of the data plane sends a downlink test data packet to a downlink protocol stack unit;
the downlink protocol stack unit processes the downlink test data packet to obtain payload data of the downlink test data packet, and sends the payload data to an uplink protocol stack unit;
the uplink protocol stack unit packs the payload data to obtain an uplink test data packet, and sends the uplink test data packet to a test unit of the data plane;
and the test unit of the data plane determines the test results of the downlink protocol stack unit and the uplink protocol stack unit according to the downlink test data packet and the uplink test data packet.
2. The method of claim 1, further comprising:
when a test unit of a data plane sends a downlink test data packet to a downlink protocol stack unit, setting an initial value of a test frequency i to be 0;
correspondingly, after the uplink protocol stack unit packs the payload data to obtain an uplink test data packet and sends the uplink test data packet to the test unit of the data plane, the method further includes:
updating i to i +1;
when i is less than or equal to a preset test threshold value, the test unit of the data plane re-determines the downlink test data packet according to the uplink test data packet, returns to execute the downlink protocol stack unit to process the downlink test data packet to obtain payload data of the downlink test data packet, and sends the payload data to the uplink protocol stack unit;
and when i is greater than a preset test threshold value, the test unit of the data plane determines test results of the downlink protocol stack unit and the uplink protocol stack unit according to the downlink test data packet and the uplink test data packet.
3. The method of claim 2, wherein the step of the test unit of the data plane re-determining the downlink test packet according to the uplink test packet comprises:
and the test unit of the data surface repackages the uplink test data packet according to the authorized size to obtain the downlink test data packet.
4. The method according to claim 1, wherein the processing, by the downlink protocol stacking unit, the downlink test packet to obtain payload data of the downlink test packet, and sending the payload data to the uplink protocol stacking unit includes:
a downlink data plane unit of the downlink protocol stack unit receives the downlink test data packet, and analyzes the downlink test data packet to obtain payload data of the downlink test data packet;
and the downlink HLP unit of the downlink protocol stack unit sends the payload data to the uplink protocol stack unit.
5. The method of claim 4, wherein the receiving, by the downlink data plane unit of the downlink protocol stack unit, the downlink test packet, and analyzing the downlink test packet to obtain payload data of the downlink test packet, comprises:
a downlink MAC unit of the downlink data plane unit receives the downlink test data packet;
and the downlink MAC unit, the downlink RLC unit and the downlink PDCP unit of the downlink data plane unit respectively analyze the downlink test data packet to obtain the payload data of the downlink test data packet.
6. The method of claim 1, wherein the packing the payload data by the uplink protocol stack unit to obtain an uplink test packet, and sending the uplink test packet to the test unit of the data plane comprises:
an uplink HLP unit of the uplink protocol stack unit receives the payload data;
and an uplink data surface unit of the uplink protocol stack unit packs the payload data to obtain the uplink test data packet, and sends the uplink test data packet to a test unit of the data surface.
7. The method of claim 6, wherein an uplink data plane unit of the uplink protocol stack unit packs the payload data to obtain the uplink test data packet, and sends the uplink test data packet to a test unit of the data plane, comprising:
an uplink PDCP unit, an uplink RLC unit and an uplink MAC unit of the uplink data plane unit pack the payload data respectively to obtain the uplink test data packet;
and the uplink MAC unit sends the uplink test data packet to a test unit of the data plane.
8. The method of claim 1, wherein determining, by the test unit of the data plane, the test result of the downlink protocol stack unit and the uplink protocol stack unit according to the downlink test packet and the uplink test packet comprises:
when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the test unit of the data plane determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful; and the successful test represents that the uplink protocol stack unit and the downlink protocol stack unit both run normally.
9. The method according to claim 1, wherein when it is determined that the payload data of the uplink test packet is the same as the payload data of the downlink test packet, the determining, by the data plane testing unit, that the test results of the downlink protocol stacking unit and the uplink protocol stacking unit are successful includes:
and when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet and the header information of the uplink test data packet is the same as the header information in the prestored test value, the test unit of the data plane determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful.
10. The method according to claim 5 or 7, wherein when it is determined that the payload data of the uplink test packet and the payload data of the downlink test packet are the same, the determining, by the test unit of the data plane, that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful includes:
when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the header information of the uplink test data packet is the same as the header information in the prestored test value, the state variable value of the uplink RLC unit is the sending state variable value in the prestored test value, the state variable value of the downlink RLC unit is the receiving state variable value in the prestored test value, and the test unit of the data plane determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful;
wherein, the uplink RLC unit is a unit in an uplink data plane unit of the uplink protocol stack unit; the downlink RLC unit is a unit in a downlink data plane unit of the downlink protocol stack unit.
11. The method according to claim 5 or 7, wherein when the downlink test data packet includes a status packet, and accordingly, the uplink test data packet includes the status packet, and when it is determined that the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the data plane test unit determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful, including:
when the payload data of the uplink test data packet is the same as the payload data of the downlink test data packet, the header information of the uplink test data packet is the same as the header information in the prestored test value, the state variable value of the uplink RLC unit is the sending state variable value in the prestored test value, the state variable value of the downlink RLC unit is the receiving state variable value in the prestored test value, and the state information in the state packet is the same as the state information in the prestored test value, the test unit of the data plane determines that the test results of the downlink protocol stack unit and the uplink protocol stack unit are successful;
wherein, the uplink RLC unit is a unit in an uplink data plane unit of the uplink protocol stack unit; the downlink RLC unit is a unit in a downlink data plane unit of the downlink protocol stack unit.
12. A test system, comprising: a test unit of a data surface, a downlink protocol stack unit and an uplink protocol stack unit; wherein the content of the first and second substances,
the test unit of the data plane is used for sending a downlink test data packet to the downlink protocol stack unit;
the downlink protocol stack unit is configured to process the downlink test data packet to obtain payload data of the downlink test data packet, and send the payload data to the uplink protocol stack unit;
the uplink protocol stack unit is used for packaging the payload data to obtain an uplink test data packet, and sending the uplink test data packet to the test unit of the data plane;
and the test unit of the data plane is used for determining the test results of the downlink protocol stack unit and the uplink protocol stack unit according to the downlink test data packet and the uplink test data packet.
13. A test system, the test system comprising: a processor and a storage medium storing instructions executable by the processor to perform operations dependent on the processor via a communication bus, the instructions when executed by the processor performing a method of testing a protocol stack as claimed in any one of claims 1 to 11 above.
14. A computer storage medium having stored thereon executable instructions which, when executed by one or more processors, perform the method of testing a protocol stack of any one of claims 1 to 11.
CN202110227696.1A 2021-03-01 2021-03-01 Protocol stack testing method, testing system and computer storage medium Active CN113098731B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110227696.1A CN113098731B (en) 2021-03-01 2021-03-01 Protocol stack testing method, testing system and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110227696.1A CN113098731B (en) 2021-03-01 2021-03-01 Protocol stack testing method, testing system and computer storage medium

Publications (2)

Publication Number Publication Date
CN113098731A CN113098731A (en) 2021-07-09
CN113098731B true CN113098731B (en) 2022-11-08

Family

ID=76667683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110227696.1A Active CN113098731B (en) 2021-03-01 2021-03-01 Protocol stack testing method, testing system and computer storage medium

Country Status (1)

Country Link
CN (1) CN113098731B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420713A (en) * 2010-09-28 2012-04-18 大唐移动通信设备有限公司 Test data packet packaging method and equipment
CN102420717B (en) * 2011-11-04 2016-03-30 展讯通信(上海)有限公司 Mobile terminal protocol stack method of testing and system
CN103379651B (en) * 2012-04-13 2016-12-14 华为技术有限公司 The method and apparatus of transmission signal
CN103684913B (en) * 2013-12-09 2017-11-07 北京创毅视讯科技有限公司 Method of testing, physical equipment, terminal and the system of protocol stack
CN107872828B (en) * 2017-12-15 2021-04-13 北京泰德东腾通信技术有限公司 eIMTA terminal consistency test method and device
CN109067617B (en) * 2018-08-27 2020-12-01 东软集团(北京)有限公司 V2X protocol consistency test method, device and system
CN111726823B (en) * 2019-03-22 2023-04-28 大唐联仪科技有限公司 EN-DC link establishment method and device suitable for testing
CN111565131B (en) * 2020-04-22 2022-04-08 烽火通信科技股份有限公司 Speed measuring method and system for household gateway CPU

Also Published As

Publication number Publication date
CN113098731A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
KR102253086B1 (en) Uplink data decompression and compression method and apparatus therefor
CN103595504B (en) The method for packing and method of calibration of packet
CN102143523B (en) Service delivery platform and application testing method based on service delivery platform
CN110798480B (en) Data communication method and system between safety instrument systems
CN110035016B (en) Data transmission method and device
CN107770786B (en) Method, equipment and system for testing network performance
CN109691159B (en) PDCP COUNT handling in RRC connection recovery
CN104348578B (en) The method and device of data processing
CN109525542A (en) Data reconstruction method, transmitting/receiving means and computer readable storage medium
CN108123775A (en) The method and apparatus of transmission packet
CN103647724B (en) Adaptation method and device of maximum transmission unit (MTU)
Wang et al. OpenAirInterface-An effective emulation platform for LTE and LTE-Advanced
CN113098731B (en) Protocol stack testing method, testing system and computer storage medium
CN110149242B (en) Protocol conversion function verification device and method supporting SRIO and Ethernet
CN105848173B (en) Method and device for recovering service after decryption or decompression failure
CN114915555B (en) Gateway drive communication method, device, equipment and storage medium
CN114389895B (en) Ethernet frame safe transmission method, device and system
CN112188553A (en) Data transmission method and device of 5G system
CN105142159A (en) Test system for L2 (Layer 2) in LTE (Long Term Evolution) base station
CN109672707B (en) Data transmission method and device and computer storage medium
CN114641000A (en) Intelligent networking automobile wireless safety monitoring system
CN114553429A (en) Chameleon hash-based block chain cross-chain transaction method and device and storage medium
CN109245816A (en) A kind of chain circuit detecting method and device
CN109246169B (en) Preset dictionary synchronization method and terminal
CN111262837A (en) Data encryption method, data decryption method, system, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant