CN111355634A - Network interface testing method - Google Patents

Network interface testing method Download PDF

Info

Publication number
CN111355634A
CN111355634A CN202010105729.0A CN202010105729A CN111355634A CN 111355634 A CN111355634 A CN 111355634A CN 202010105729 A CN202010105729 A CN 202010105729A CN 111355634 A CN111355634 A CN 111355634A
Authority
CN
China
Prior art keywords
data
test
tested
interface
network interface
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.)
Granted
Application number
CN202010105729.0A
Other languages
Chinese (zh)
Other versions
CN111355634B (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.)
Beijing HWA Create Co Ltd
Original Assignee
Beijing HWA Create Co 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 Beijing HWA Create Co Ltd filed Critical Beijing HWA Create Co Ltd
Priority to CN202010105729.0A priority Critical patent/CN111355634B/en
Publication of CN111355634A publication Critical patent/CN111355634A/en
Application granted granted Critical
Publication of CN111355634B publication Critical patent/CN111355634B/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/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/24Testing correct operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a network interface testing method, which comprises the following steps: sending the first data to the tested device; the first data is data obtained by encoding the test data by the interface test simulator by using a first encoding rule; receiving second data obtained by processing the first data by the tested device through a tested network interface returned by the tested device; judging whether the second data is consistent with the test data or not to obtain a judgment result; when the judgment result is that the second data is consistent with the test data, the tested network interface is represented to be consistent in decoding; and otherwise, representing that the decoding of the tested network interface is inconsistent so as to verify the consistency of the network interface of the network element equipment.

Description

Network interface testing method
Technical Field
The present application relates to the field of communication network interface technologies, and in particular, to a network interface testing method.
Background
In 3rd-Generation, 4G and 5G mobile communication systems, the network-side part is composed of an access network and a core network, and is connected through network interfaces, such as an interface between the access network and the access network, an interface between the access network and the core network, and an interface between the core network and the core network, and the network interfaces among the network elements implement communication among the network elements by carrying communication interface protocols established by the 3rd Generation Partnership Project (3 GPP) organization, thereby completing communication of the whole system.
For a mobile communication system, a large number of users may be in signaling process or voice call or data service at the same time, and the service of these users basically involves signaling message and service data transmission of interfaces between network elements, so stable and reliable interface communication is very important for a large-scale mobile communication system. Because of standardization of network element interfaces of mobile communication systems, operators often purchase equipment of multiple manufacturers for networking, and therefore, network element equipment of different manufacturers must be subjected to interface consistency test before networking, so that interface communication is guaranteed to meet technical requirements of interface protocols.
Content of application
In view of this, an object of the embodiments of the present application is to provide a network interface testing method to verify the consistency of network interfaces of network element devices.
In a first aspect, an embodiment of the present application provides a network interface testing method, which is applied to a network interface testing simulator, and the method includes: sending the first data to the tested device; the first data is data obtained by encoding the test data by the interface test simulator by using a first encoding rule; receiving second data obtained by processing the first data by the tested device through a tested network interface returned by the tested device; judging whether the second data is consistent with the test data or not to obtain a judgment result; when the judgment result is that the second data is consistent with the test data, the tested network interface is represented to be consistent in decoding; and otherwise, representing that the decoding of the tested network interface is inconsistent.
In the implementation process, the first data obtained by encoding the test data by using the first encoding rule is sent to the tested device, when the tested network interface of the tested device processes the first data by adopting the rule corresponding to the first coding rule (namely the decoding of the tested network interface is consistent with the coding of the interface test simulator), the second data obtained by the method is consistent with the test data, otherwise, when the tested network interface adopts a rule which is not corresponding to the first coding rule to process the first data (the decoding of the tested network interface is not consistent with the coding of the interface test simulator), and then whether the decoding of the network interface to be tested is consistent with the coding of the interface test simulator can be determined by using the result that whether the second data is consistent with the test data.
Based on the first aspect, in a possible design, the determining, by the second data, whether the second data is consistent with the test data to obtain a determination result by using a predetermined second encoding rule to encode data obtained by decoding the first data by using the network interface under test by the device under test, includes: decoding the second data by using a decoding rule corresponding to the second encoding rule to obtain third data; judging whether the third data is the same as the test data or not to obtain the judgment result; when the judgment result is that the third data is the same as the test data, the second data is represented to be consistent with the test data; and otherwise, the second data and the test data are represented to be inconsistent.
In the implementation process, the second data is decoded by using a decoding rule corresponding to the second encoding rule to obtain third data, whether the second data is consistent with the test data is verified by verifying whether the third data is the same as the test data, so that the situation that the tested equipment does not decode the first data by using the tested network interface but directly returns the first data to an interface test simulator is prevented, and the accuracy of a judgment result is further ensured.
Based on the first aspect, in one possible design, before sending the first data to the device under test, the method further includes: sending an interface test request to the tested device; and receiving information which is returned by the tested device based on the interface test request and is used for representing that the tested network interface is controlled to enter an interface test mode.
In the implementation process, before the first data is sent, the tested network interface is confirmed to enter the interface test mode, so that the tested device is ensured to shield the complex processing irrelevant to the tested network interface in the tested device, the first data sent by the interface test simulator can be decoded by using the tested network interface in time, the interface test simulator is ensured to receive the second data returned by the tested device in time after the first data is sent, and finally the decoding consistency test of the tested network interface is facilitated.
In a possible design based on the first aspect, after obtaining the determination result, the method further includes: sending a request for representing and ending the interface test to the tested device; receiving information which is returned by the tested device and represents that the interface test mode is exited; and responding to the information and sending the judgment result to the user terminal.
In the implementation process, the tested equipment can be prompted to exit the interface test mode in time in the mode, and the judgment result is sent to the user terminal, so that the user experience is improved.
In a second aspect, an embodiment of the present application provides a network interface testing method, which is applied to a device under test, and the method includes: receiving first data sent by an interface test simulator; the first data is obtained after the interface test simulator encodes the test data by using a first encoding rule; processing the first data by using a tested network interface on the tested equipment to obtain second data; sending the second data to the interface test simulator so that the interface test simulator can judge whether the second data is consistent with the test data or not, wherein when the second data is consistent with the test data, the decoding of the tested network interface is represented to be consistent; otherwise, the tested network interface decoding is inconsistent.
In the implementation process, the test simulator encodes the first data obtained by encoding the test data by using the first encoding rule through the receiving interface, when the tested network interface of the tested device processes the first data by adopting the rule corresponding to the first coding rule (namely the decoding of the tested network interface is consistent with the coding of the interface test simulator), the second data obtained by the method is consistent with the test data, otherwise, when the tested network interface adopts a decoding rule which is not corresponding to the first encoding rule to process the first data (the decoding of the tested network interface is not consistent with the encoding of the interface test simulator), and then whether the decoding of the network interface to be tested is consistent with the coding of the interface test simulator can be determined by using the result that whether the second data is consistent with the test data.
Based on the second aspect, in a possible design, processing the first data by using the tested network interface to obtain second data includes: decoding the first data by using the tested network interface to obtain decoded data; and encoding the decoded data by using a predetermined second encoding rule to obtain the second data, wherein the second encoding rule corresponds to a decoding rule adopted when the interface test simulator judges whether the second data is consistent with the test data.
In the implementation process, the tested device uses a predetermined second coding rule to code the data obtained by decoding the tested network interface to obtain second data, and the interface test simulator can use a decoding rule corresponding to the second coding rule to decode the second data to verify the consistency of the second data and the test data, so as to ensure the accuracy of the judgment result obtained by the interface test simulator.
Based on the second aspect, in one possible design, before receiving the first data sent by the interface test simulator, the method further includes: receiving an interface test request sent by the interface test simulator; and responding to the test request, controlling the tested network interface to enter an interface test mode, and sending interface test starting information to the interface test simulator.
In the implementation process, the tested network interface is controlled to enter the interface test mode, so that the tested device is ensured to shield the complex processing of the interior of the tested device, which is irrelevant to the tested network interface, and then the first data sent by the interface test simulator can be decoded by using the tested network interface in time, the interface test simulator is ensured to receive the second data returned by the tested device in time after the first data is sent, and finally the decoding consistency test of the tested network interface is facilitated.
Based on the second aspect, in one possible design, after sending the second data to the interface test simulator, the method further includes: receiving a request for representing and finishing the interface test sent by the interface test simulator; and responding to the request for finishing the interface test, controlling the interface to exit the interface test mode, and sending interface test finishing confirmation information to the interface test simulator so that the interface test simulator sends a judgment result of whether the second data and the test data are consistent to the user terminal.
In the implementation process, the tested network interface can be controlled to exit the interface test mode in time in the above mode, and the interface test simulator can send the judgment result to the user terminal in time, so that the user experience is improved.
In a third aspect, an embodiment of the present application provides a network interface testing method, which is applied to an interface testing simulator, and the method includes: sending the third data to the tested device; receiving fourth data obtained by processing the third data by the tested device by using a tested network interface; decoding the fourth data by using a third decoding rule to obtain fifth data; judging whether the fifth data is consistent with the third data or not to obtain a judgment result; when the judgment result is that the fifth data is consistent with the third data, representing that the codes of the tested network interfaces are consistent; and on the contrary, the tested network interface codes are not consistent.
In the implementation process, when the rule adopted by the tested network interface of the tested device to process the third data corresponds to the decoding rule adopted by the interface test simulator to decode the fourth data (i.e. the code of the tested network interface is consistent with the decoding of the interface test simulator), the fifth data obtained by the method is consistent with the third data, otherwise, when the third data is coded by the network interface to be tested by adopting a rule which is not corresponding to the interface test simulator (the coding of the network interface to be tested is not consistent with the decoding of the interface test simulator), and then, whether the code of the tested network interface is consistent with the decoding of the interface test simulator can be determined by using the judgment result of whether the fifth data is consistent with the third data.
Based on the third aspect, in one possible design, before sending the third data to the device under test, the method further includes: encoding the test data by using a fourth encoding rule to obtain third data; wherein the fourth encoding rule and the third decoding rule do not correspond; receiving fourth data obtained by processing the third data by the device under test through a network interface under test, including: and receiving fourth data obtained by the equipment to be tested by utilizing a network interface to be tested to encode the decoded data, wherein the decoded data is obtained by utilizing a decoding rule corresponding to the fourth encoding rule to decode the third data by the equipment to be tested.
In the implementation process, the test data is encoded by using the fourth encoding rule to obtain third data, wherein the fourth encoding rule does not correspond to the third decoding rule, so that the tested device can be prevented from directly returning the third data to the interface test simulator, and the validity of the judgment result is ensured.
In a fourth aspect, an embodiment of the present application provides a network interface testing method, which is applied to a device under test, and the method includes: receiving third data sent by the interface test simulator; processing the third data by using a tested network interface on the tested equipment to obtain fourth data; sending the fourth data to the interface test simulator, so that the interface test simulator decodes the fourth data by using a third decoding rule, judges whether the decoded fifth data is consistent with the third data or not, and represents that the interface codes of the tested network are consistent when the fifth data is consistent with the third data; otherwise, the tested network interface codes are inconsistent.
In the implementation process, when the rule adopted by the tested network interface of the tested device to process the third data corresponds to the third decoding rule adopted by the interface test simulator to decode the fourth data (i.e. the code of the tested network interface is consistent with the decoding of the interface test simulator), the fifth data obtained by the method is consistent with the third data, otherwise, when the third data is processed by the network interface under test by adopting a rule which is not corresponding to the third decoding rule (the coding of the network interface under test is not consistent with the decoding of the interface test simulator), and then whether the code of the network interface to be tested is consistent with the decoding of the interface test simulator can be determined by using the result that whether the fifth data is consistent with the third data.
Based on the fourth aspect, in a possible design, if the third data is data obtained by encoding the test data by the interface test simulator using a fourth encoding rule, the obtaining the fourth data includes: decoding the third data by using a decoding rule corresponding to the fourth encoding rule to obtain decoded data; and decoding the decoded data by using a tested network interface on the tested equipment to obtain the fourth data.
In the implementation process, the tested device decodes the third data by using the decoding rule corresponding to the fourth encoding rule, so that the interface test simulator can decode the fourth data by using the decoding rule corresponding to the third encoding rule to verify the consistency of the fifth data and the third data, and further, the accuracy of the judgment result obtained by the interface test simulator is ensured.
In a fifth aspect, an embodiment of the present application provides a network interface testing apparatus, which is applied to an interface testing simulator, and the apparatus includes: the first sending unit is used for sending the first data to the tested equipment; the first data is obtained by processing the test data by the interface test simulator by using a first coding rule; the first receiving unit is used for receiving second data obtained by decoding the first data by the tested device through a tested network interface, wherein the second data is returned by the tested device; the first judging unit is used for judging whether the second data is consistent with the test data or not to obtain a judging result; when the judgment result is that the second data is consistent with the test data, the tested network interface is represented to be consistent in decoding; and otherwise, representing that the decoding of the tested network interface is inconsistent.
Based on the fifth aspect, in a possible design, the second data is data obtained by encoding, by the device under test, data obtained by decoding the first data by using the network interface under test by using a predetermined second encoding rule, where the second encoding rule is different from the first encoding rule, and the first determining unit is specifically configured to decode the second data by using a decoding rule corresponding to the second encoding rule to obtain third data; judging whether the third data is the same as the test data or not to obtain the judgment result; when the judgment result is that the third data is the same as the test data, the second data is represented to be consistent with the test data; and otherwise, the second data and the test data are represented to be inconsistent.
In a possible design based on the fifth aspect, the apparatus further includes: the test starting unit is used for sending an interface test request to the tested device; and receiving information which is returned by the tested device based on the interface test request and is used for representing that the tested network interface is controlled to enter an interface test mode.
In a possible design based on the fifth aspect, the apparatus further includes: the test ending unit is used for sending a request for representing and ending the interface test to the tested equipment; receiving information which is returned by the tested device and represents that the interface test mode is exited; and responding to the information and sending the judgment result to the user terminal.
In a sixth aspect, an embodiment of the present application provides a network interface testing apparatus, which is applied to a device under test, and the apparatus includes: the second receiving unit is used for receiving the first data sent by the interface test simulator; the first data is obtained after the interface test simulator processes the test data by using a first coding rule; the first decoding unit is used for decoding the first data by using a tested network interface on the tested equipment to obtain second data; a second sending unit, configured to send the second data to the interface test simulator, so that the interface test simulator determines whether the second data is consistent with the test data, where when the second data is consistent with the test data, it indicates that the decoding of the tested network interface is consistent; otherwise, the tested network interface decoding is inconsistent.
Based on the sixth aspect, in a possible design, the first decoding unit is specifically configured to decode the first data by using the network interface under test, so as to obtain decoded data; and encoding the decoded data by using a predetermined second encoding rule to obtain the second data, wherein the second encoding rule corresponds to a decoding rule adopted when the interface test simulator judges whether the second data is consistent with the test data, and the second encoding rule is different from the first encoding rule.
In a possible design based on the sixth aspect, the apparatus further includes: the test starting unit is used for receiving an interface test request sent by the interface test simulator; and responding to the test request, controlling the tested network interface to enter an interface test mode, and sending interface test starting information to the interface test simulator.
In a possible design based on the sixth aspect, the apparatus further includes: the test ending unit is used for receiving a request for representing and ending the interface test, which is sent by the interface test simulator; and responding to the request for finishing the interface test, controlling the interface to exit the interface test mode, and sending interface test finishing confirmation information to the interface test simulator so that the interface test simulator sends a judgment result of whether the second data and the test data are consistent to the user terminal.
In a seventh aspect, an embodiment of the present application provides a network interface testing apparatus, which is applied to an interface testing simulator, and the apparatus includes: the third sending unit is used for sending the third data to the tested equipment; a third receiving unit, configured to receive fourth data obtained by processing the third data by using a network interface to be tested, of the device to be tested; a second decoding unit, configured to decode the fourth data by using a third decoding rule to obtain fifth data; a second judging unit, configured to judge whether the fifth data is consistent with the third data, so as to obtain a judgment result; when the judgment result is that the fifth data is consistent with the third data, representing that the codes of the tested network interfaces are consistent; and on the contrary, the tested network interface codes are not consistent.
In a possible design, based on the seventh aspect, the apparatus further includes: the data acquisition unit is used for encoding the test data by using a fourth encoding rule to obtain third data; the third receiving unit is specifically configured to receive fourth data obtained by encoding the decoded data by the device under test using a network interface under test, where the decoded data is obtained by decoding the third data by the device under test using a decoding rule corresponding to the fourth encoding rule.
In an eighth aspect, an embodiment of the present application provides a network interface testing apparatus, which is applied to a device under test, and the apparatus includes: the fourth receiving unit is used for receiving third data sent by the interface test simulator; the encoding unit is used for processing the third data by using a tested network interface on the tested equipment to obtain fourth data; a fourth sending unit, configured to send the fourth data to the interface test simulator, so that the interface test simulator decodes the fourth data, and when a first decoded data is determined to be consistent, the interface test simulator represents that the tested network interface codes are consistent; otherwise, the tested network interface codes are inconsistent.
Based on the eighth aspect, in a possible design, if the third data is data obtained by encoding test data by the interface test simulator using a fourth encoding rule, where the fourth encoding rule does not correspond to the third decoding rule, the encoding unit is specifically configured to decode the third data using a decoding rule corresponding to the fourth encoding rule to obtain decoded data; and decoding the decoded data by using a tested network interface on the tested equipment to obtain the fourth data.
In a ninth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory connected to the processor, where the memory stores a computer program, and when the computer program is executed by the processor, the electronic device is caused to perform the method of the first, second, third or fourth aspect.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a network interface testing method according to a first embodiment of the present application.
Fig. 2 is a schematic flowchart of a network interface testing method according to a second embodiment of the present application.
Fig. 3 is a schematic structural diagram of a network interface testing apparatus according to a third embodiment of the present application.
Fig. 4 is a schematic structural diagram of another network interface testing apparatus according to a third embodiment of the present application.
Fig. 5 is a schematic structural diagram of a network interface testing apparatus according to a fourth embodiment of the present application.
Fig. 6 is a schematic structural diagram of another network interface testing apparatus according to a fourth embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Detailed Description
The technical solution in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a flowchart of a network interface testing method according to a first embodiment of the present application, and a decoding consistency testing process of the network interface shown in fig. 1 will be described in detail below, where the method includes the steps of: s11, S12, S13, S14, S15 and S16.
S11: the interface test simulator sends the first data to the tested equipment; the first data is obtained by encoding the test data by the interface test simulator by using a first encoding rule.
S12: the device under test receives the first data.
S13: and the tested equipment processes the first data by utilizing a tested network interface on the tested equipment to obtain second data.
S14: and the tested device sends the second data to the interface test simulator.
S15: the interface test simulator receives the second data.
S16: the interface test simulator judges whether the second data is consistent with the test data or not to obtain a judgment result; when the judgment result is that the second data is consistent with the test data, the tested network interface is represented to be consistent in decoding; and otherwise, representing that the decoding of the tested network interface is inconsistent.
The above method is described in detail below.
Because of standardization of network element interfaces of mobile communication systems, operators often purchase equipment of multiple manufacturers for networking, and therefore, network element equipment of different manufacturers must be subjected to interface consistency tests before networking, so that interface communication is guaranteed to meet technical requirements of interface protocols.
As an embodiment, before S11, the method further includes the steps of: a1, a2, A3 and a 4.
A1: the interface test simulator sends an interface test request to the device under test.
When the encoding consistency or the decoding consistency of a tested network interface of a tested device needs to be tested, an interface test simulator sends an interface test request to the tested device, wherein the interface test request comprises: encoding the conformance test request or decoding the conformance test request.
A2: and the tested device receives the interface test request.
A3: and the tested equipment responds to the test request, controls the tested network interface to enter an interface test mode, and sends interface test starting information to the interface test simulator.
The tested equipment responds to the test request, and when the test request represents that a decoding consistency test needs to be carried out, the tested equipment controls the tested network interface to enter a decoding test mode.
When the test request represents that a coding consistency test needs to be performed, the tested device controls the tested network interface to enter a coding test mode, and it can be understood that after the coding test mode is entered, the tested network interface encodes the data code stream received by the tested network interface, and the tested device also sends interface starting test information to the interface test simulator.
A4: and the interface test simulator receives the starting interface test information.
S11: the interface test simulator sends the first data to the tested equipment; the first data is obtained by encoding the test data by the interface test simulator by using a first encoding rule.
The first data may be data obtained by encoding the test data by the interface test simulator using the first encoding rule in advance.
As an implementation manner, the first data may also be data obtained by encoding, by the interface test simulator, the test data by using the first encoding rule after receiving the start interface test information sent by the device under test. The same first encoding rule is used for encoding different test data, and the obtained first data are different, which can be understood that the first data corresponding to different test data are different.
After the interface test simulator transmits the first data to the device under test, step S12 is performed.
S12: the device under test receives the first data.
And the tested device receives the first data sent by the interface test simulator through a transmission layer.
S13: and the tested equipment processes the first data by utilizing a tested network interface on the tested equipment to obtain second data.
As an embodiment, S13 includes the steps of: b1 and B2.
B1: and the tested equipment decodes the first data by using the tested network interface to obtain decoded data.
Wherein, the decoding rule adopted when the tested network interface decodes the first data is predefined, it can be understood that the decoding rule adopted when the tested network interface decodes is determined when the device is produced.
It can be understood that, if the tested network interface decodes the first data consistently with the interface test simulator, the tested network interface may adopt a decoding rule corresponding to the first encoding rule when decoding the first data, and then the decoded data is the same as the test data, otherwise, if the tested network interface decodes the first data differently from the interface test simulator, the tested network interface may adopt a decoding rule not corresponding to the first encoding rule when decoding the first data, and then the decoded data is different from the test data.
B2: and the tested equipment encodes the decoded data by using a predetermined second encoding rule to obtain the second data, wherein the second encoding rule corresponds to a decoding rule adopted when the interface test simulator judges whether the second data is consistent with the test data, and the second encoding rule is different from the first encoding rule.
It is understood that the second encoding rule is set to be different from the first encoding rule, so as to prevent the device under test from directly returning the first data to the test simulator.
And the tested equipment encodes the decoded data by using a second encoding rule which is sent to the tested equipment by the interface test simulator in advance to obtain the second data, wherein the second encoding rule corresponds to a decoding rule adopted when the interface test simulator judges whether the second data is consistent with the test data.
Wherein the interface test simulator may send the second encoding rule to the device under test in the form of a static database (Library, Lib) Library file or other forms.
As an embodiment, the second data in S13 may also be the decoded data in step B1.
After the device under test obtains the second data, the device under test performs step S14.
S14: and the tested device sends the second data to the interface test simulator.
And the tested device sends the second data to the interface test simulator through a transmission layer of the tested device.
S15: the interface test simulator receives the second data.
The interface test simulator receives the second data through a transmission layer of the interface test simulator.
S16: the interface test simulator judges whether the second data is consistent with the test data or not to obtain a judgment result; when the judgment result is that the second data is consistent with the test data, the tested network interface is represented to be consistent in decoding; and otherwise, representing that the decoding of the tested network interface is inconsistent.
As an embodiment, when the second data is the decoded data obtained in step B1, S16 may be implemented as follows, where the interface test simulator determines whether the decoded data is the same as the test data, and obtains the determination result; when the judgment result is that the decoded data is the same as the test data, the second data and the test data are represented to be consistent, namely the tested network interface is represented to be consistent in decoding; and on the contrary, the second data and the test data are represented to be inconsistent, namely the tested network interface is represented to be inconsistent in decoding.
As an embodiment, if the second data is data obtained by encoding, by the device under test, data obtained by decoding the first data by using the network interface under test using a predetermined second encoding rule, S16 includes: c1 and C2.
C1: and the interface test simulator decodes the second data by using a decoding rule corresponding to the second encoding rule to obtain third data.
C2: the interface test simulator judges whether the third data is the same as the test data or not to obtain the judgment result; when the judgment result is that the third data is the same as the test data, the second data is represented to be consistent with the test data; and otherwise, the second data and the test data are represented to be inconsistent.
After the interface test simulator obtains the third data, the interface test simulator compares the third data with the test data to judge whether the third data is the same as the test data, so as to obtain a judgment result, wherein when the judgment result is that the third data is the same as the test data, the second data is represented to be consistent with the test data, namely, the tested network interface of the tested device is represented to be consistent with the decoding of the interface test simulator, otherwise, the second data is represented to be inconsistent with the test data, namely, the tested network interface of the tested device is represented to be inconsistent with the decoding of the interface test simulator.
As an embodiment, when the number of the first data is multiple groups, where the multiple groups of first data may be the same or different, a group of second data may be obtained according to a group of first data, and a judgment result may be obtained according to a group of second data, it can be understood that the first data, the second data, and the judgment result are in one-to-one correspondence. When the tested network interface is tested, only one set of the first data is used for executing the steps S11-S16 to test at a time, and after the test is finished, the next set of the first data is used for executing the steps S11-S16 to test the tested network interface.
As an embodiment, after obtaining a determination result by using a set of first data, if the determination result indicates that the decoding of the tested network interface is consistent, performing steps S11-S16 on the tested network interface by using the next set of first data again to obtain a new determination result, and if the new determination result indicates that the decoding of the tested network interface is inconsistent, ending the test.
As an implementation manner, after obtaining a judgment result by using a set of first data, if the judgment result indicates that the decoding of the tested network interface is consistent, performing steps S11-S16 on the tested network interface by using the next set of first data again to obtain a new judgment result, ending the test until steps S11-S16 are performed by using all the first data, obtaining a plurality of judgment results, and determining the decoding consistency of the tested network interface according to the plurality of judgment results.
As an embodiment, when each of the plurality of determination results represents that the decoding of the network interface under test is consistent, it is determined that the decoding of the network interface under test is consistent, and otherwise, the decoding of the network interface under test is inconsistent.
In one embodiment, when a ratio of a determination result representing that the tested network interface is consistent in decoding among the plurality of determination results is greater than or equal to one half, it is determined that the tested network interface is consistent in decoding, and otherwise, the tested network interface is inconsistent.
As an embodiment, after S16, the method further includes the steps of: d1, D2, D3 and D4. It is understood that the steps D1-D4 are performed after all the first data are performed in the steps S11-S16, or the steps D1-D4 are performed when the second data and the test data are inconsistent as a result of the judgment in S16.
D1: the interface test simulator sends a request for representing the end of the interface test to the device under test.
D2: and the tested device receives the request for finishing the interface test, controls the interface to exit the interface test mode, and sends interface test finishing confirmation information to the interface test simulator.
The tested device responds to the test request, and when the request representation of the test receiving interface requires decoding consistency test to be finished, the tested device controls the tested network interface to exit from the decoding test mode.
When the request for testing the receiving interface shows that the coding consistency test is needed to be finished, the tested device controls the tested network interface to exit the coding test mode, and after exiting the coding test mode, the tested device sends interface test finishing confirmation information to the interface test simulator.
D3: the interface test simulator receives the information which is returned by the tested device and is used for representing that the interface test mode is exited.
D4: and the interface test simulator responds to the information and sends a judgment result of whether the second data is consistent with the test data to the user terminal.
When the second data is also the decoded data in step B1, as an embodiment, after step D3, the interface test simulator transmits the second data and the test data to the user terminal in response to the information.
As an implementation manner, after the step D3, the interface test simulator responds to the information, and sends the third data and the test data to the user terminal.
Second embodiment
After the process of testing the decoding consistency of the network interface is described, please refer to fig. 2, where fig. 2 is a flowchart of a method for testing the network interface according to a second embodiment of the present application, and the process of testing the encoding consistency of the network interface shown in fig. 2 will be described in detail below, where the method includes the steps of: s21, S22, S23, S24, S25 and S26.
S21: and the interface test simulator transmits the third data to the tested device.
S22: and the tested device receives the third data.
S23: and the tested equipment processes the third data by utilizing a tested network interface on the tested equipment to obtain fourth data.
S24: and the tested device sends the fourth data to the interface test simulator.
S25: the interface test simulator receives the fourth data.
S26: and the interface test simulator decodes the fourth data by using a third decoding rule to obtain fifth data.
S27: judging whether the fifth data is consistent with the third data or not to obtain a judgment result; when the judgment result is that the fifth data is consistent with the third data, representing that the codes of the tested network interfaces are consistent; and on the contrary, the tested network interface codes are not consistent.
The above method is described in detail below.
As an implementation manner, before step S21, the method further includes the steps in the first embodiment: a1, a2, A3 and a 4. For the specific implementation of A1-A4, please refer to the first embodiment, which is not described herein.
In order to prevent the device under test from directly returning the third data to the test simulator to interfere with the accuracy of the determination result, as an embodiment, before S21, the method further includes: step E: and the interface test simulator encodes the test data by using a fourth encoding rule to obtain the third data.
S21: and the interface test simulator transmits the third data to the tested device.
Wherein the third data may be the test data in step E.
The third data may also be data obtained by encoding the test data using a fourth encoding rule.
S22: and the tested device receives the third data.
S23: and the tested equipment processes the third data by utilizing a tested network interface on the tested equipment to obtain fourth data.
As an implementation manner, when the third data is the test data in step E, S23 may be implemented as follows, where the device under test encodes the test data by using a network interface under test on the device under test, so as to obtain fourth data.
The encoding rule adopted by the tested network interface to encode the third data is predefined, and it can be understood that the encoding rule adopted by the tested network interface to decode is determined when the device is produced.
As an embodiment, when the third data is data obtained by encoding the test data by using a fourth encoding rule, S23 includes the steps of: f1 and F2.
F1: and the tested equipment decodes the third data by using the decoding rule corresponding to the fourth encoding rule to obtain decoded data.
And the tested equipment decodes the third data by using a decoding rule which is sent to the tested equipment in advance by using an interface test simulator and corresponds to the fourth encoding rule to obtain the decoded data.
The interface test simulator may send the decoding rule corresponding to the fourth encoding rule to the device under test in the form of a Lib library file or in other forms.
F2: and the tested equipment decodes the decoded data by using a tested network interface on the tested equipment to obtain the fourth data.
S24: and the tested device sends the fourth data to the interface test simulator.
S25: the interface test simulator receives the fourth data.
S26: and the interface test simulator decodes the fourth data by using a third decoding rule to obtain fifth data.
It can be understood that, if the code of the tested network interface is consistent with that of the interface test simulator, when the tested network interface encodes the third data, the coding rule corresponding to the third decoding rule may be adopted, then the interface test simulator decodes the fourth data by using the third decoding rule, and the obtained fifth data may be consistent with the third data, otherwise, if the code of the tested network interface is different from that of the interface test simulator, when the tested network interface encodes the third data, the coding rule not corresponding to the third decoding rule may be adopted, and then the third data is inconsistent with the fifth data.
S27: judging whether the fifth data is consistent with the third data or not to obtain a judgment result; when the judgment result is that the fifth data is consistent with the third data, representing that the codes of the tested network interfaces are consistent; and on the contrary, the tested network interface codes are not consistent.
As an embodiment, when the third data is the test data in step E, S27 may be implemented as follows, to determine whether the fifth data is the same as the third data, and obtain a determination result; when the judgment result shows that the fifth data is the same as the third data, representing that the tested network interface codes are consistent; and on the contrary, the tested network interface codes are not consistent.
As an embodiment, when the third data is data obtained by encoding the test data by the interface test simulator according to the third encoding rule, S27 may be implemented as follows, to determine whether the fifth data is the same as the test data, and obtain a determination result; when the judgment result shows that the fifth data is the same as the test data, the fifth data is represented to be consistent with the third data, namely the tested network interface codes are represented to be consistent; and conversely, the fifth data and the third data are represented to be inconsistent, namely the tested network interface coding is represented to be inconsistent.
As an embodiment, when the number of the third data is multiple groups, where the multiple groups of the third data may be the same or different, a group of fourth data is obtained according to a group of the third data, a group of fifth data is obtained according to a group of the fourth data, and a judgment result is obtained according to a group of the third data, it can be understood that the third data, the fourth data, the fifth data, and the judgment result are in a one-to-one correspondence. When the tested network interface is tested, only one set of the third data is used for executing the steps S21-S27 to test at a time, and after the test is finished, the next set of the first data is used for executing the steps S21-S27 to test the tested network interface.
As an embodiment, after obtaining a determination result by using a set of third data, if the determination result indicates that the codes of the tested network interfaces are consistent, performing steps S21-S27 on the tested network interfaces by using the next set of first data again to obtain a new determination result, and if the new determination result indicates that the codes of the tested network interfaces are not consistent, ending the test.
As an implementation manner, after obtaining a judgment result by using a set of third data, if the judgment result indicates that the codes of the tested network interfaces are consistent, the next set of third data is reused to perform steps S21-S27 on the tested network interfaces to obtain a new judgment result, until the steps S21-S27 are performed by using all the third data, the test is ended to obtain a plurality of judgment results, and the code consistency of the tested network interfaces is determined according to the plurality of judgment results.
As an embodiment, when each of the plurality of determination results represents that the interface codes of the network under test are consistent, it is determined that the interface codes of the network under test are consistent, and otherwise, the interface codes of the network under test are inconsistent.
In one embodiment, when a ratio of a determination result representing that the tested network interface codes are consistent among the plurality of determination results is greater than or equal to one half, it is determined that the tested network interface codes are consistent, and otherwise, the tested network interface codes are inconsistent.
As an implementation, after S27, the method further includes the steps in the first embodiment: d1, D2, D3 and D4. Please refer to the first embodiment for the specific implementation of D1-D4, which will not be described herein.
Third embodiment
Referring to fig. 3, fig. 3 is a block diagram illustrating a network interface testing apparatus 300 according to a third embodiment of the present application. The block diagram shown in fig. 3 will be explained below, and the apparatus is applied to an interface test simulator, and includes:
a first sending unit 310, configured to send the first data to the device under test; the first data is obtained by encoding the test data by the interface test simulator by using a first encoding rule.
The first receiving unit 320 is configured to receive second data, obtained by processing the first data by using a network interface under test, of the device under test returned by the device under test.
A first determining unit 330, configured to determine whether the second data and the test data are consistent, so as to obtain a determination result; when the judgment result is that the second data is consistent with the test data, the tested network interface is represented to be consistent in decoding; and otherwise, representing that the decoding of the tested network interface is inconsistent.
As an implementation manner, the second data is data obtained by encoding, by the device under test, data obtained by decoding the first data by using the network interface under test by using a predetermined second encoding rule, where the second encoding rule is different from the first encoding rule, and the first determining unit 330 is specifically configured to decode the second data by using a decoding rule corresponding to the second encoding rule to obtain third data; judging whether the third data is the same as the test data or not to obtain the judgment result; when the judgment result is that the third data is the same as the test data, the second data is represented to be consistent with the test data; and otherwise, the second data and the test data are represented to be inconsistent.
As an embodiment, the apparatus further comprises: the test starting unit is used for sending an interface test request to the tested device; and receiving information which is returned by the tested device based on the interface test request and is used for representing that the tested network interface is controlled to enter an interface test mode.
As an embodiment, the apparatus further comprises: the test ending unit is used for sending a request for representing and ending the interface test to the tested equipment; receiving information which is returned by the tested device and represents that the interface test mode is exited; and responding to the information and sending the judgment result to the user terminal.
Referring to fig. 4, fig. 4 is a block diagram illustrating another network interface testing apparatus 400 according to a third embodiment of the present application. The structural block diagram shown in fig. 3 will be explained below, and the apparatus is applied to a device under test, and includes:
a second receiving unit 410, configured to receive first data sent by the interface test simulator; the first data is obtained by encoding the test data by the interface test simulator by using a first encoding rule.
The first decoding unit 420 is configured to process the first data by using a network interface under test on the device under test, so as to obtain second data.
A second sending unit 430, configured to send the second data to the interface test simulator, so that the interface test simulator determines whether the second data is consistent with the test data, where when the second data is consistent with the test data, it indicates that the decoding of the tested network interface is consistent; otherwise, the tested network interface decoding is inconsistent.
As an implementation manner, the first decoding unit 420 is specifically configured to decode the first data by using the network interface under test to obtain decoded data; and encoding the decoded data by using a predetermined second encoding rule to obtain the second data, wherein the second encoding rule corresponds to a decoding rule adopted when the interface test simulator judges whether the second data is consistent with the test data, and the second encoding rule is different from the first encoding rule.
As an embodiment, the apparatus further comprises: the test starting unit is used for receiving an interface test request sent by the interface test simulator; and responding to the test request, controlling the tested network interface to enter an interface test mode, and sending interface test starting information to the interface test simulator.
As an embodiment, the apparatus further comprises: the test ending unit is used for receiving a request for representing and ending the interface test, which is sent by the interface test simulator; and responding to the request for finishing the interface test, controlling the interface to exit the interface test mode, and sending interface test finishing confirmation information to the interface test simulator so that the interface test simulator sends a judgment result of whether the second data and the test data are consistent to the user terminal.
Fourth embodiment
Referring to fig. 5, fig. 5 is a block diagram illustrating a network interface testing apparatus 500 according to a fourth embodiment of the present disclosure. The block diagram shown in fig. 5 will be explained below, and the apparatus is applied to an interface test simulator, and includes:
a third sending unit 510, configured to send third data to the device under test.
A third receiving unit 520, configured to receive fourth data obtained by processing the third data by the device under test using a network interface under test.
A second decoding unit 530, configured to decode the fourth data by using a third decoding rule, so as to obtain fifth data.
A second judging unit 540, configured to judge whether the fifth data is consistent with the third data, so as to obtain a judgment result; when the judgment result is that the fifth data is consistent with the third data, representing that the codes of the tested network interfaces are consistent; and on the contrary, the tested network interface codes are not consistent.
As an embodiment, the apparatus further comprises: the data acquisition unit is used for encoding the test data by using a fourth encoding rule to obtain third data; the third receiving unit 520 is specifically configured to receive fourth data obtained by encoding, by the device under test, the decoded data by using a network interface under test, where the decoded data is obtained by decoding, by the device under test, the third data by using a decoding rule corresponding to the fourth encoding rule.
Referring to fig. 6, fig. 6 is a block diagram of another network interface testing apparatus 600 according to a fourth embodiment of the present application. The structural block diagram shown in fig. 6 will be explained, and the apparatus is applied to a device under test, and includes:
the fourth receiving unit 610 is configured to receive third data sent by the interface test simulator.
And the encoding unit 620 is configured to process the third data by using a tested network interface on the device under test, so as to obtain fourth data.
A fourth sending unit 630, configured to send the fourth data to the interface test simulator, so that the interface test simulator decodes the fourth data, and when a first decoded data is determined to be consistent, the interface test simulator represents that the interface codes of the network under test are consistent; otherwise, the tested network interface codes are inconsistent.
As an implementation manner, if the third data is data obtained by encoding test data by using a fourth encoding rule by the interface test simulator, where the fourth encoding rule does not correspond to the third decoding rule, the encoding unit 620 is specifically configured to decode the third data by using a decoding rule corresponding to the fourth encoding rule to obtain decoded data; and decoding the decoded data by using a tested network interface on the tested equipment to obtain the fourth data.
For the process of implementing each function by each functional unit in this embodiment, please refer to the content described in the embodiment shown in fig. 1-2, which is not described herein again.
Fifth embodiment
Referring to fig. 7, a fifth embodiment of the present application provides a schematic structural diagram of an electronic device 100, where the electronic device may be the device under test and the interface test simulator in the above embodiments, and the electronic device 100 may be a Personal Computer (PC), a tablet computer, a smart phone, a Personal Digital Assistant (PDA), and the like.
The electronic device 100 may include: memory 102, process 101, communication interface 103, and a communication bus for enabling the connection communications of these components.
The Memory 102 is used for storing various data such as a computer program instruction corresponding to the network interface testing method and device provided in the embodiment of the present application, where the Memory 102 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 101 is configured to read and execute computer program instructions corresponding to the network interface testing method and apparatus stored in the memory, so as to determine the encoding consistency and the decoding consistency of the tested network interface of the device under test.
The processor 101 may be an integrated circuit chip having signal processing capability. The Processor 101 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
A communication interface 103 for receiving or transmitting data.
In addition, a storage medium is provided in an embodiment of the present application, and a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is caused to execute the method provided in any embodiment of the present application.
In summary, the network interface testing method provided in the embodiments of the present application sends the first data obtained by encoding the test data by using the first encoding rule to the device under test, when the tested network interface of the tested device processes the first data by adopting the rule corresponding to the first coding rule (namely the decoding of the tested network interface is consistent with the coding of the interface test simulator), the second data obtained by the method is consistent with the test data, otherwise, when the tested network interface adopts a rule which is not corresponding to the first coding rule to process the first data (the decoding of the tested network interface is not consistent with the coding of the interface test simulator), and then whether the decoding of the network interface to be tested is consistent with the coding of the interface test simulator can be determined by using the result that whether the second data is consistent with the test data.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based devices that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

Claims (10)

1. A network interface test method is applied to an interface test simulator, and comprises the following steps:
sending the first data to the tested device; the first data is data obtained by encoding the test data by the interface test simulator by using a first encoding rule;
receiving second data obtained by processing the first data by the tested device through a tested network interface returned by the tested device;
judging whether the second data is consistent with the test data or not to obtain a judgment result; when the judgment result is that the second data is consistent with the test data, the tested network interface is represented to be consistent in decoding; and otherwise, representing that the decoding of the tested network interface is inconsistent.
2. The method of claim 1, wherein if the second data is data obtained by encoding, by the device under test, data obtained by decoding the first data by using the network interface under test using a predetermined second encoding rule, determining whether the second data is consistent with the test data, and obtaining a determination result, the method includes:
decoding the second data by using a decoding rule corresponding to the second encoding rule to obtain third data;
judging whether the third data is the same as the test data or not to obtain the judgment result; when the judgment result is that the third data is the same as the test data, the second data is represented to be consistent with the test data; and otherwise, the second data and the test data are represented to be inconsistent.
3. The method of claim 1, wherein prior to transmitting the first data to the device under test, the method further comprises:
sending an interface test request to the tested device;
and receiving information which is returned by the tested device based on the interface test request and is used for representing that the tested network interface is controlled to enter an interface test mode.
4. The method of claim 1, wherein after obtaining the determination, the method further comprises:
sending a request for representing and ending the interface test to the tested device;
receiving information which is returned by the tested device and represents that the interface test mode is exited;
and responding to the information and sending the judgment result to the user terminal.
5. A network interface test method is applied to a device to be tested, and the method comprises the following steps:
receiving first data sent by an interface test simulator; the first data is obtained after the interface test simulator encodes the test data by using a first encoding rule;
processing the first data by using a tested network interface on the tested equipment to obtain second data;
sending the second data to the interface test simulator so that the interface test simulator can judge whether the second data is consistent with the test data or not, wherein when the second data is consistent with the test data, the decoding of the tested network interface is represented to be consistent; otherwise, the tested network interface decoding is inconsistent.
6. The method of claim 5, wherein processing the first data using the tested network interface to obtain second data comprises:
decoding the first data by using the tested network interface to obtain decoded data;
and encoding the decoded data by using a predetermined second encoding rule to obtain the second data, wherein the second encoding rule corresponds to a decoding rule adopted when the interface test simulator judges whether the second data is consistent with the test data.
7. A network interface test method is applied to an interface test simulator, and comprises the following steps:
sending the third data to the tested device;
receiving fourth data obtained by processing the third data by the tested device by using a tested network interface;
decoding the fourth data by using a third decoding rule to obtain fifth data;
judging whether the fifth data is consistent with the third data or not to obtain a judgment result; when the judgment result is that the fifth data is consistent with the third data, representing that the codes of the tested network interfaces are consistent; and on the contrary, the tested network interface codes are not consistent.
8. The method of claim 7, wherein prior to sending the third data to the device under test, the method further comprises:
encoding the test data by using a fourth encoding rule to obtain third data; wherein the fourth encoding rule and the third decoding rule do not correspond;
receiving fourth data obtained by processing the third data by the device under test through a network interface under test, including:
and receiving fourth data obtained by the equipment to be tested by utilizing a network interface to be tested to encode the decoded data, wherein the decoded data is obtained by utilizing a decoding rule corresponding to the fourth encoding rule to decode the third data by the equipment to be tested.
9. A network interface test method is applied to a device to be tested, and the method comprises the following steps:
receiving third data sent by the interface test simulator;
processing the third data by using a tested network interface on the tested equipment to obtain fourth data;
sending the fourth data to the interface test simulator, so that the interface test simulator decodes the fourth data by using a third decoding rule, judges whether the decoded fifth data is consistent with the third data or not, and represents that the interface codes of the tested network are consistent when the fifth data is consistent with the third data; otherwise, the tested network interface codes are inconsistent.
10. The method of claim 9, wherein if the third data is data obtained by encoding test data by the interface test simulator using a fourth encoding rule, wherein the fourth encoding rule does not correspond to the third decoding rule, the obtaining of the fourth data comprises:
decoding the third data by using a decoding rule corresponding to the fourth encoding rule to obtain decoded data;
and decoding the decoded data by using a tested network interface on the tested equipment to obtain the fourth data.
CN202010105729.0A 2020-02-20 2020-02-20 Network interface testing method Active CN111355634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010105729.0A CN111355634B (en) 2020-02-20 2020-02-20 Network interface testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010105729.0A CN111355634B (en) 2020-02-20 2020-02-20 Network interface testing method

Publications (2)

Publication Number Publication Date
CN111355634A true CN111355634A (en) 2020-06-30
CN111355634B CN111355634B (en) 2021-12-14

Family

ID=71197052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010105729.0A Active CN111355634B (en) 2020-02-20 2020-02-20 Network interface testing method

Country Status (1)

Country Link
CN (1) CN111355634B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6055649A (en) * 1997-11-19 2000-04-25 Texas Instruments Incorporated Processor test port with scan chains and data streaming
CN1878373A (en) * 2005-06-09 2006-12-13 大唐移动通信设备有限公司 Device and method for terminal consistency test in mobile communication system
US20070061022A1 (en) * 1991-12-23 2007-03-15 Hoffberg-Borghesani Linda I Adaptive pattern recognition based controller apparatus and method and human-factored interface therefore
CN101227312A (en) * 2007-01-19 2008-07-23 中兴通讯股份有限公司 Method for improving correctness of coding and decoding in network managing system
CN101917248A (en) * 2010-07-20 2010-12-15 北京全路通信信号研究设计院 Method, device and system for processing train control message
US20120257537A1 (en) * 2011-04-06 2012-10-11 Hon Hai Precision Industry Co., Ltd. Interface detection device and detection method employing the same
CN103346927A (en) * 2013-07-02 2013-10-09 工业和信息化部电信传输研究所 System and method for testing terminal consistency
CN103391291A (en) * 2013-07-18 2013-11-13 工业和信息化部电信传输研究所 Codec based on terminal consistency testing system and coding and decoding method
US9084166B1 (en) * 2012-08-27 2015-07-14 Sprint Spectrum L.P. Managing codec consistency across a communication session
CN105991358A (en) * 2015-02-06 2016-10-05 中兴通讯股份有限公司 Method, device, test board and system for testing traffic of interface board
CN107341083A (en) * 2017-06-29 2017-11-10 北京东土军悦科技有限公司 A kind of verification method of interface controller and checking system
CN107957952A (en) * 2017-12-18 2018-04-24 马上消费金融股份有限公司 A kind of interface test method, device and medium
CN109257117A (en) * 2018-09-26 2019-01-22 郑州云海信息技术有限公司 A kind of common public radio interface test method and system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061022A1 (en) * 1991-12-23 2007-03-15 Hoffberg-Borghesani Linda I Adaptive pattern recognition based controller apparatus and method and human-factored interface therefore
US6055649A (en) * 1997-11-19 2000-04-25 Texas Instruments Incorporated Processor test port with scan chains and data streaming
CN1878373A (en) * 2005-06-09 2006-12-13 大唐移动通信设备有限公司 Device and method for terminal consistency test in mobile communication system
CN101227312A (en) * 2007-01-19 2008-07-23 中兴通讯股份有限公司 Method for improving correctness of coding and decoding in network managing system
CN101917248A (en) * 2010-07-20 2010-12-15 北京全路通信信号研究设计院 Method, device and system for processing train control message
US20120257537A1 (en) * 2011-04-06 2012-10-11 Hon Hai Precision Industry Co., Ltd. Interface detection device and detection method employing the same
US9084166B1 (en) * 2012-08-27 2015-07-14 Sprint Spectrum L.P. Managing codec consistency across a communication session
CN103346927A (en) * 2013-07-02 2013-10-09 工业和信息化部电信传输研究所 System and method for testing terminal consistency
CN103391291A (en) * 2013-07-18 2013-11-13 工业和信息化部电信传输研究所 Codec based on terminal consistency testing system and coding and decoding method
CN105991358A (en) * 2015-02-06 2016-10-05 中兴通讯股份有限公司 Method, device, test board and system for testing traffic of interface board
CN107341083A (en) * 2017-06-29 2017-11-10 北京东土军悦科技有限公司 A kind of verification method of interface controller and checking system
CN107957952A (en) * 2017-12-18 2018-04-24 马上消费金融股份有限公司 A kind of interface test method, device and medium
CN109257117A (en) * 2018-09-26 2019-01-22 郑州云海信息技术有限公司 A kind of common public radio interface test method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
彭志强等: "电力系统通用服务协议一致性测试技术", 《电力系统保护与控制》 *
曹晶垚: "TD-LTE终端协议一致性测试编解码方案研究", 《现代电信科技》 *

Also Published As

Publication number Publication date
CN111355634B (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN113190388B (en) TCP interface test method, medium, equipment and device
CN108199942B (en) Automobile diagnosis method, device, equipment, system and diagnosis connecting equipment
CN104348802A (en) Quick registration method, device, and system, cell phone, and register server
CN105657781B (en) WiFi network access method and device
CN111225414A (en) Multimode communication device, communication method thereof and multimode communication system
KR20140106857A (en) Protocol conformity verification method, apparatus performing the same and systme performing the same
CN111355634B (en) Network interface testing method
US20040087303A1 (en) System and method for collecting debugging and system crash information from a mobile phone
CN104077216A (en) Software test method and test device
CN104917720A (en) Method and device for resetting password
CN105808549B (en) Client method for automatically framing and analyzing frames based on mapping file
CN116306479A (en) UVM-based Ethernet PHY universal verification platform and verification method
CN114866952A (en) Positioning method, positioning device, electronic equipment and storage medium
CN113329404B (en) Network access method and device
CN105025243A (en) Video call method and device
CN112149100A (en) Verification method, verification device, electronic equipment and storage medium
US20180069659A1 (en) Method for processing signaling sub-segment, processing apparatus, access point, and station
CN115202949A (en) Chip signal monitoring device and method, computer equipment and storage medium
CN112861475A (en) Encoding and decoding processing method, device, equipment and storage medium
CN103391291A (en) Codec based on terminal consistency testing system and coding and decoding method
CN112530435B (en) Data transmission method, device and system, readable storage medium and electronic equipment
CN114116356A (en) Simulation test method, device, equipment and medium
CN112532661B (en) Method, device, equipment and medium for pairing connection between same video applications
CN112151069A (en) Voice data processing method and device, computer equipment and storage medium
CN113079056A (en) Terminal protocol consistency test method and device

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