CN113824613A - Network reliability test method, test system and storage medium - Google Patents

Network reliability test method, test system and storage medium Download PDF

Info

Publication number
CN113824613A
CN113824613A CN202111110833.XA CN202111110833A CN113824613A CN 113824613 A CN113824613 A CN 113824613A CN 202111110833 A CN202111110833 A CN 202111110833A CN 113824613 A CN113824613 A CN 113824613A
Authority
CN
China
Prior art keywords
network
test
test result
result
tested
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
CN202111110833.XA
Other languages
Chinese (zh)
Other versions
CN113824613B (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN202111110833.XA priority Critical patent/CN113824613B/en
Publication of CN113824613A publication Critical patent/CN113824613A/en
Application granted granted Critical
Publication of CN113824613B publication Critical patent/CN113824613B/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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a network reliability testing method, which is used for a main control end, wherein the main control end is connected with a network to be tested and comprises an attenuator; the method comprises the following steps: determining an adjusting value of the attenuator based on a preset networking mode; configuring the attenuator by using the adjusting value to obtain a configured network to be tested; and carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result. The invention also discloses a test system and a computer readable storage medium. The main control end automatically configures the network to be tested and automatically tests the network performance of the configured network to be tested without manual operation of technicians, so that the operation steps are greatly reduced, the testing time is shortened, and the technical effect of improving the testing efficiency of the network to be tested is achieved.

Description

Network reliability test method, test system and storage medium
Technical Field
The present invention relates to the field of network testing technologies, and in particular, to a network reliability testing method, a testing system, and a computer-readable storage medium.
Background
In the era of mobile internet, people not only pursue WiFi speed, but also have higher and higher requirements for coverage of WiFi signals. The power of the WiFi router is strictly limited by the country, only one router is used for signal coverage, and comprehensive WiFi network coverage is difficult to provide for large-dwelling and villa users, so that the WiFi-Mesh router is produced.
A WiFi-Mesh network, i.e. a wireless Mesh network, is a multi-hop (multi-hop) network, and is one of the key technologies for solving the problem of the last mile. The WiFi-Mesh network constructed by the WiFi-Mesh router can cooperatively communicate with other networks, and the network is a dynamic network which can be continuously expanded; any two node devices in the WiFi-Mesh network can be wirelessly interconnected, and each node device in the WiFi-Mesh network can seamlessly roam. Therefore, in order to guarantee the user experience, the WiFi-Mesh network needs to have higher signal stability and signal reliability.
In the related art, a technician manually sets a network to be tested in a test environment, and then manually tests the constructed network to be tested to obtain a test result of the network to be tested.
However, the existing testing method has low testing efficiency of the network to be tested.
Disclosure of Invention
The invention mainly aims to provide a network reliability testing method, a testing system and a computer readable storage medium, aiming at solving the technical problem that the testing efficiency of a network to be tested is lower by adopting the existing testing method in the prior art.
In order to achieve the purpose, the invention provides a network reliability testing method, which is used for a main control end, wherein the main control end is connected with a network to be tested and comprises an attenuator; the method comprises the following steps:
determining an adjusting value of the attenuator based on a preset networking mode;
configuring the attenuator by using the adjusting value to obtain a configured network to be tested;
and carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result.
Optionally, the network to be tested further includes a main network device and a plurality of proxy network devices; the main network device is connected with the plurality of proxy network devices through the attenuator, and the plurality of proxy network devices are connected through the attenuator; before the step of performing a network performance test on the configured network to be tested by using the preset test script to obtain a test result, the method further includes:
sending an inspection command to the main network device to enable the main network device to perform networking mode detection on the main network device and the plurality of proxy network devices by using the inspection command to obtain a detection networking mode;
receiving the detection networking mode returned by the main network equipment;
the step of utilizing the preset test script to carry out the network performance test on the configured network to be tested to obtain the test result comprises the following steps:
and when the detection networking mode is matched with the preset networking mode, carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result.
Optionally, before the step of performing a network performance test on the configured network to be tested by using a preset test script when the detection networking mode is matched with the preset networking mode, and obtaining a test result, the method further includes:
when the detection network mode is matched with the preset network mode, a connectivity test script is used for obtaining a connectivity test command;
sending the connectivity test command to the main network device, so that the main network device performs connectivity test with the plurality of agent network devices based on the connectivity test command to obtain a connectivity test result;
receiving the connectivity test result sent by the main network device;
when the detection networking mode is matched with the preset networking mode, a preset test script is used for carrying out network performance test on the configured network to be tested to obtain a test result, and the method comprises the following steps:
and when the connectivity test result meets a preset condition, carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result.
Optionally, the network to be tested further includes a first accompanying terminal and a plurality of second accompanying terminals, the first accompanying terminal is connected to the main network device, and the plurality of second accompanying terminals are connected to the plurality of agent network devices; the step of utilizing the preset test script to carry out the network performance test on the configured network to be tested to obtain the test result comprises the following steps:
determining a selected second accompanying terminal in the plurality of second accompanying terminals based on the preset networking mode;
sending a throughput testing command to the first test assistant terminal by using a throughput testing script in a preset testing script, so that the first test assistant terminal performs throughput testing with the selected second test assistant terminal based on the throughput testing command to obtain a throughput testing result;
receiving the throughput testing result sent by the first accompanying terminal;
and obtaining the test result based on the throughput test result.
Optionally, before the step of obtaining the test result based on the throughput test result, the method further includes:
sending a connection quantity test command to the first test partner by using a connection quantity test script in a preset test script, so that the first test partner performs connection quantity test with the selected second test partner based on the connection quantity test command to obtain a connection quantity test result;
receiving the connection quantity test result sent by the first accompanying terminal;
the step of obtaining the test result based on the throughput test result includes:
and obtaining the test result based on the connection quantity test result and the throughput test result.
Optionally, the network system to be tested further includes an associated testing partner associated with the main network device and/or the plurality of agent network devices; before the step of obtaining the test result based on the connection volume test result and the throughput volume test result, the method further includes:
generating a disassociation command;
sending the disassociation command to the association accompanying terminal so that the association accompanying terminal performs disassociation operation with the main network device and/or the plurality of agent network devices based on the disassociation command and obtains disassociation results;
receiving the decorrelation result sent by the associated accompanying terminal;
the step of obtaining the test result based on the connection quantity test result and the throughput quantity test result includes:
and obtaining the test result based on the connection quantity test result, the throughput quantity test result and the disassociation result.
Optionally, the network system to be tested further includes an unassociated accompanying terminal unassociated with the main network device and the plurality of proxy network devices; before the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result, and the disassociation result, the method further includes:
generating an association command;
sending the association command to the non-association accompanying terminal so that the non-association accompanying terminal performs association operation with the main network device and/or the plurality of agent network devices based on the association command and obtains an association result;
receiving the correlation result sent by the non-correlation accompanying and measuring terminal;
the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result and the disassociation result includes:
and obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result and the association result.
Optionally, when the preset networking is a herringbone networking, before the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result, and the association result, the method further includes:
generating a diagnosis command in the process that the first testing partner performs throughput testing on the basis of the throughput testing command and the selected second testing partner;
sending the diagnosis command to diagnosis agent network equipment so that the diagnosis agent network equipment performs network diagnosis operation with the main network equipment based on the diagnosis command to obtain a network diagnosis result, wherein the diagnosis agent network equipment is agent network equipment corresponding to a non-selected accompanying terminal in the plurality of agent network equipment, and the non-selected accompanying terminal is an accompanying terminal except for the selected second accompanying terminal in the second accompanying terminals;
receiving the network diagnosis result sent by the diagnosis agent network equipment;
the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result, and the association result includes:
and obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result, the association result and the network diagnosis result.
In addition, in order to achieve the above object, the present invention further provides a test system, where the test system includes a main control end and a network to be tested, the network to be tested includes an attenuator, the main control end stores a network reliability test program, and the main control end implements the steps of the network reliability test method according to any one of the above items when executing the network reliability test program.
Furthermore, to achieve the above object, the present invention also provides a computer readable storage medium having a network reliability test program stored thereon, which when executed by a processor implements the steps of the network reliability test method according to any one of the above.
The technical scheme of the invention provides a network reliability testing method, which is used for a main control end, wherein the main control end is connected with a network to be tested and comprises an attenuator; the method comprises the following steps: determining an adjusting value of the attenuator based on a preset networking mode; configuring the attenuator by using the adjusting value to obtain a configured network to be tested; and carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result.
In the existing method, a technician manually sets a network to be tested in a test environment based on a preset networking mode, and then manually tests the constructed network to be tested to obtain a test result of the network to be tested. By adopting the method of the invention, the main control end automatically configures the network to be tested and automatically tests the network performance of the configured network to be tested without manual operation of technicians, thereby greatly reducing operation steps, shortening test time and achieving the technical effect of improving the test efficiency of the network to be tested.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a main control end of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a network reliability testing method according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of a topology of a network under test according to the present invention;
FIG. 4 is a diagram illustrating a connection measurement result corresponding to the inventor's font networking;
FIG. 5 is a schematic diagram of throughput test results corresponding to a chevron network of the present invention;
FIG. 6 is a diagram illustrating the results of relevance tests for the inventor's glyph networking;
FIG. 7 is a diagram illustrating a connection measurement result corresponding to a line-shaped network according to the present invention;
fig. 8 is a schematic diagram of throughput test results corresponding to the in-line networking of the present invention;
FIG. 9 is a diagram illustrating correlation test results corresponding to a line-shaped networking of the present invention;
FIG. 10 is a block diagram of a network reliability testing device according to a first embodiment of the present invention;
FIG. 11 is a diagram of a test system according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a main control end structure of a hardware operating environment according to an embodiment of the present invention.
Generally, the master side includes: at least one processor 301, a memory 302, and a network reliability test program stored on the memory and executable on the processor, the network reliability test program configured to implement the steps of the network reliability test method as previously described.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. Processor 301 may also include an AI (Artificial Intelligence) processor for processing relevant network reliability test method operations such that the network reliability test method model may be trained and learned autonomously, improving efficiency and accuracy.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the network reliability testing method provided by the method embodiments herein.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to power various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the master and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a network reliability test program is stored, and when the network reliability test program is executed by a processor, the steps of the network reliability test method described above are implemented. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. It is determined that the program instructions may be deployed to be executed on one master or on multiple masters located at one site or distributed across multiple sites and interconnected by a communication network, as examples.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Based on the hardware structure, the embodiment of the network reliability testing method is provided.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of a network reliability testing method according to the present invention, where the method is used in a master control end, and the method includes the following steps:
step S11: and determining the adjusting value of the attenuator based on a preset networking mode.
Step S12: and configuring the attenuator by using the adjusting value to obtain the configured network to be tested.
It should be noted that the execution main body of the invention is a main control end, the main control end is provided with a network reliability test program, and the steps of the network reliability test method of the invention are realized when the main control end executes the network reliability test program. Generally, the master control terminal is connected to a network to be tested (the master control terminal is connected to each device in the network to be tested), and the network to be tested includes an attenuator, a master network device, an agent network device, and an accompanying terminal (including a first accompanying terminal, a second accompanying terminal, an associated accompanying terminal, and an unassociated accompanying terminal described below), where the master network device and the agent network device may be network devices with a WiFi-Mesh function. Such as a router, etc.
In the invention, network devices of a network to be tested (including a main network device and an Agent network device, wherein the main network device is a Controller, and the Agent network device is an Agent) are connected in a wired manner through an attenuator, so that the signal intensity among the network devices is adjusted by using the attenuator, and the networking manner of the network to be tested is further adjusted; at this time, the network devices are no longer connected wirelessly, and the wireless function of the network devices may be turned off or the wireless signals of the network devices may be shielded. By arranging the shielding box, the network equipment (including the main network equipment and the proxy network equipment) in the network to be tested can not be interfered by external electromagnetic waves, and meanwhile, the network equipment in the network to be tested is ensured not to have electromagnetic wave interference, so that the accuracy of the test result of the network to be tested is higher
Referring to fig. 3, fig. 3 is a schematic diagram of a topology structure of a network to be tested according to the present invention. The network devices (including the main network device and the proxy network device) are all arranged in the shielding box and used for shielding the interference of external electromagnetic waves and avoiding the network devices in the shielding box from generating electromagnetic wave interference on other external network devices. The main network device can be connected into the antenna in the shielding box in a wired mode, and the antenna is used for realizing wireless connection with the main network device. Meanwhile, the main network device transmits the data to the first accompanying and measuring terminal in a wired mode through another antenna in the shielding box. The network devices are connected by the attenuator in a wired manner (in fig. 3, one attenuator is shown, which means that a plurality of attenuators are represented, and each two network devices need to be connected by the attenuator). Namely, the attenuator in the network to be tested comprises a plurality of attenuators which operate independently, and the main control end controls the plurality of attenuators.
In addition, in the present invention, the preset networking manner may include: the method comprises the following steps of I-shaped networking, herringbone networking, one-to-three I-shaped networking self-healing to one-to-two (or one-to-one) I-shaped networking, I-shaped networking self-healing to herringbone networking and/or random self-healing of all networking topologies, and the like. And in different networking modes, the corresponding attenuators have different adjusting values, and the network to be tested is enabled to have the same networking mode as the preset networking mode by adjusting the adjusting values of the attenuators.
For example, the network to be tested includes a main network device and 2 proxy network devices, the main network device is connected with the proxy network device 1 through the attenuator 1 by wire, the main network device is connected with the proxy network device 2 through the attenuator 2 by wire, and the proxy network device 1 is connected with the proxy network device 2 through the attenuator 3 by wire. When the preset networking mode is in-line networking, the corresponding adjusting values of the attenuator 1, the attenuator 2 and the attenuator 3 are respectively 0dBm, automatic adjustment and 0 dBm; if the preset networking mode is herringbone networking, the corresponding adjustment values of the attenuator 1, the attenuator 2 and the attenuator 3 are all 0 dBm.
After the adjustment values of the attenuators are obtained, the master control end directly configures the attenuators by using the adjustment values so as to realize the configuration of the network to be tested and obtain the configured network to be tested.
Step S13: and carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result.
The preset test scripts (or preset test tools) include different types of test scripts, and are used for testing the configured network to be tested to obtain a connection quantity test result, a throughput test result, a disassociation result, a correlation result, a network diagnosis result and the like.
Further, the network to be tested also comprises a main network device and a plurality of agent network devices; the main network device is connected with the plurality of proxy network devices through the attenuator, and the plurality of proxy network devices are connected through the attenuator; before the step of performing a network performance test on the configured network to be tested by using the preset test script to obtain a test result, the method further includes: sending an inspection command to the main network device to enable the main network device to perform networking mode detection on the main network device and the plurality of proxy network devices by using the inspection command to obtain a detection networking mode; receiving the detection networking mode returned by the main network equipment; correspondingly, the step of utilizing the preset test script to perform the network performance test on the configured network to be tested to obtain the test result includes: and when the detection networking mode is matched with the preset networking mode, carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result.
In this embodiment, the configured network to be tested needs to be detected in a networking mode to obtain a detection networking mode, and only when the detection networking mode is matched with the preset networking mode (in the present invention, the detection networking mode is the same as the preset networking mode, and they are matched), it indicates that the adjustment value of the attenuator is correct, and the attenuator is configured by using the adjustment value, so that the correct configuration of the network to be tested is realized.
And if not, re-determining a new adjusting value of the attenuator, and reconfiguring the network to be tested by using the new adjusting value until the obtained detection networking mode is matched with the preset networking mode, and continuing to perform the subsequent testing step.
Further, before the step of performing a network performance test on the configured network to be tested by using a preset test script when the detection networking mode is matched with the preset networking mode, and obtaining a test result, the method further includes: when the detection network mode is matched with the preset network mode, a connectivity test script is used for obtaining a connectivity test command; sending the connectivity test command to the main network device, so that the main network device performs connectivity test with the plurality of agent network devices based on the connectivity test command to obtain a connectivity test result; receiving the connectivity test result sent by the main network device; correspondingly, when the detection networking mode is matched with the preset networking mode, the step of utilizing a preset test script to perform network performance test on the configured network to be tested to obtain a test result comprises the following steps: and when the connectivity test result meets a preset condition, carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result.
It should be noted that the connectivity test script may refer to a script capable of sending a Ping command request, and the connectivity test command sent by the connectivity test script may be a Ping command request (generally, only one Ping command request is sent to check connectivity, and persistent sending is not required). The preset condition may be that all network devices (including the main network device and the proxy network device) in the configured network to be tested can be connected and can communicate with each other. And performing connectivity test on the main network equipment and the plurality of agent network equipment to obtain a connectivity test result, and when the connectivity test result meets a preset condition, indicating that the network equipment can be normally connected and intercommunicated. At this moment, the subsequent testing steps can be continuously executed, otherwise, the testing network to be tested is reconfigured until the connectivity testing result corresponding to the network to be tested meets the preset condition, and the subsequent testing steps are continuously executed.
Furthermore, the network to be tested further comprises a first accompanying terminal and a plurality of second accompanying terminals, wherein the first accompanying terminal is connected with the main network device, and the plurality of second accompanying terminals are connected with the plurality of agent network devices; the step of utilizing the preset test script to carry out the network performance test on the configured network to be tested to obtain the test result comprises the following steps: determining a selected second accompanying terminal in the plurality of second accompanying terminals based on the preset networking mode; sending a throughput testing command to the first test assistant terminal by using a throughput testing script in a preset testing script, so that the first test assistant terminal performs throughput testing with the selected second test assistant terminal based on the throughput testing command to obtain a throughput testing result; receiving the throughput testing result sent by the first accompanying terminal; and obtaining the test result based on the throughput test result.
Referring to fig. 3, each network device corresponds to one accompanying terminal, where the first accompanying terminal is connected to the main network device only, a plurality of second accompanying terminals are connected to the plurality of agent network devices, and one second accompanying terminal is connected to one agent network device. The throughput test script in the preset test script may be IxChariot or iPerf.
Different networking modes are adopted, and correspondingly selected second accompanying and measuring terminals are different; for example, the network to be tested comprises a main network device and 2 agent network devices, the main network device is in wired connection with the agent network device 1 through an attenuator 1, the main network device is in wired connection with the agent network device 2 through an attenuator 2, the agent network device 1 is in wired connection with the agent network device 2 through an attenuator 3, the second testing partner ends comprise two, the second testing partner end PC2 is connected with the agent network device 1, and the second testing partner end PC3 is connected with the agent network device 2.
When the preset networking mode is in a straight-line networking mode, the adjusting values corresponding to the attenuator 1, the attenuator 2 and the attenuator 3 are 0dBm, automatic adjustment and 0dBm respectively, and at the moment, the second accompanying end is selected to be a second accompanying end PC 3; if the preset networking mode is herringbone networking, the adjusting values corresponding to the attenuator 1, the attenuator 2 and the attenuator 3 are all 0, and at this time, the second testing partner end is selected to be the second testing partner end PC 2.
In this example, if the network is a herringbone network, the master terminal calls IxChariot or iPerf to test the return throughput stability (including one-way and two-way) of the first testing partner PC1 and the selected second testing partner PC 2; if the network is in a straight-line shape, the main control end calls IxChariot or iPerf to test the return throughput stability (comprising one-way and two-way) of the first accompanied measurement end PC1 and the selected second accompanied measurement end PC 3. In some embodiments, the throughput test result includes a unidirectional test result and a bidirectional test result, and the throughput test result may also be sent from the selected second testing partner to the master control terminal in the selected second testing partner.
It is understood that in this embodiment, the throughput test is an apersistence test, and the throughput test command is obtained by using the throughput test script, and the throughput test command is an apersistence test command. The throughput test result of the network to be tested in a fixed time duration needs to be obtained, that is, the throughput test command may include a test time duration, and the test time duration may be set by a user based on a requirement. Wherein the throughput test result is a part of the final test result.
Further, before the step of obtaining the test result based on the throughput test result, the method further includes: sending a connection quantity test command to the first test partner by using a connection quantity test script in a preset test script, so that the first test partner performs connection quantity test with the selected second test partner based on the connection quantity test command to obtain a connection quantity test result; receiving the connection quantity test result sent by the first accompanying terminal; correspondingly, the step of obtaining the test result based on the throughput test result includes: and obtaining the test result based on the connection quantity test result and the throughput test result.
It should be noted that the connection quantity test script may be a script that sends a Ping command, that is, the connection quantity test command is the Ping command. When the Ping command is used for carrying out connection quantity test, mutual Ping is actually carried out between the first testing partner and the selected second testing partner. It can be understood that the process of the connection quantity test is also a continuous process, and a connection quantity test result of the network to be tested within a fixed time period needs to be obtained, that is, the connection quantity test command may also include a test time period, and when the test time period arrives, the connection quantity test is stopped to obtain the connection quantity test result. The joint volume test result is yet another part of the final test result. The test duration of the connection quantity test can be the same as the test duration of the throughput test, and a user can set the test duration based on requirements.
Further, the network system to be tested further comprises an associated testing partner terminal associated with the main network device and/or the plurality of agent network devices; before the step of obtaining the test result based on the connection volume test result and the throughput volume test result, the method further includes: generating a disassociation command; sending the disassociation command to the association accompanying terminal so that the association accompanying terminal performs disassociation operation with the main network device and/or the plurality of agent network devices based on the disassociation command and obtains disassociation results; receiving the decorrelation result sent by the associated accompanying terminal; correspondingly, the step of obtaining the test result based on the connection quantity test result and the throughput test result includes: and obtaining the test result based on the connection quantity test result, the throughput quantity test result and the disassociation result.
And further, the network system to be tested further comprises an unassociated accompanying terminal which is not associated with the main network device and the plurality of agent network devices; before the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result, and the disassociation result, the method further includes: generating an association command; sending the association command to the non-association accompanying terminal so that the non-association accompanying terminal performs association operation with the main network device and/or the plurality of agent network devices based on the association command and obtains an association result; receiving the correlation result sent by the non-correlation accompanying and measuring terminal; correspondingly, the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result and the disassociation result includes: and obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result and the association result.
It should be noted that the associated accompanying terminal and the non-associated accompanying terminal may communicate with the network device in a wireless manner, for example, the associated accompanying terminal and the non-associated accompanying terminal are connected to an antenna through a wire, and the antenna is disposed in a shielding box of the network device, so as to implement wireless communication between the associated accompanying terminal and the non-associated accompanying terminal and the network device. The associated accompanying terminal and the non-associated accompanying terminal can both comprise a plurality of terminals, a plurality of associated accompanying terminals can be respectively associated with the main network device and the plurality of agent network devices, and a plurality of associated accompanying terminals can be only associated with the plurality of agent network devices. Similarly, the plurality of non-associated accompanying terminals may perform association operations with the main network device and the plurality of agent network devices, respectively, and the plurality of non-associated accompanying terminals may perform association operations with only the plurality of agent network devices, respectively.
It can be understood that, when the test of the test network to be tested is performed, the correlation accompanying terminal needs to be subjected to the decorrelation operation, and the non-correlation accompanying terminal needs to be subjected to the correlation operation, so that the obtained test result includes more contents, and the coverage of the test result is wider.
Further, when the preset networking is a herringbone networking, before the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result, and the association result, the method further includes: generating a diagnosis command in the process that the first testing partner performs throughput testing on the basis of the throughput testing command and the selected second testing partner; sending the diagnosis command to diagnosis agent network equipment so that the diagnosis agent network equipment performs network diagnosis operation with the main network equipment based on the diagnosis command to obtain a network diagnosis result, wherein the diagnosis agent network equipment is agent network equipment corresponding to a non-selected accompanying terminal in the plurality of agent network equipment, and the non-selected accompanying terminal is an accompanying terminal except for the selected second accompanying terminal in the second accompanying terminals; receiving the network diagnosis result sent by the diagnosis agent network equipment; correspondingly, the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result, and the association result includes: and obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result, the association result and the network diagnosis result.
It should be noted that, in the present invention, a second testing partner other than the selected second testing partner is the unselected testing partner, and the agent network device connected to the unselected testing partner is the diagnostic agent network device. Only herringbone networking needs network diagnosis operation, because in the herringbone networking, the agent network device corresponding to the selected second accompanied measuring end is always in a connected state, and meanwhile, continuously interacts with the main network device. However, the diagnostic proxy network device may disconnect as soon as it does not interact with the primary network device, requiring network diagnostic operations. Wherein, the diagnosis command can be a Ping request command of Gateway IP.
In addition, the connection quantity test result, the throughput test result, the disassociation result, the association result, and the network diagnosis result may have a timestamp for indicating a specific time of the test, and the obtained test result may also have a timestamp for indicating an obtaining time of the test result and a test time corresponding to each test result in the test result.
In the present invention, the test results may be presented in a table form, or may be presented in other manners. When the test result is displayed in a table form, the table theme is a preset networking mode, and the essential content of the table is the corresponding connection quantity test result, the throughput quantity test result, the disassociation result, the association result and the network diagnosis result in the preset networking mode.
Referring to fig. 4-6, fig. 4 is a schematic diagram illustrating a result of testing connection amount corresponding to the inventor's font networking; FIG. 5 is a schematic diagram of throughput test results corresponding to a chevron network of the present invention; FIG. 6 is a diagram illustrating the results of the correlation test for the inventor's glyph networking. In fig. 4-6, the topology of fig. 3 is based, that is, PC1 is the first co-terminal connected to the master network device, and PC2 is the selected second co-terminal connected to the proxy network device. The Agent is diagnosis Agent network equipment in the Agent network equipment, and the wireless equipment correlation result comprises a correlation result of the non-correlation accompanying terminal and a disassociation result of the correlation accompanying terminal.
Referring to fig. 7-9, fig. 7 is a schematic diagram illustrating a connection quantity test result corresponding to the in-line networking according to the present invention; fig. 8 is a schematic diagram of throughput test results corresponding to the in-line networking of the present invention; FIG. 9 is a diagram illustrating a correlation test result corresponding to a line-shaped networking according to the present invention. In fig. 7-9, the topology of fig. 3 is based, i.e., PC1 is the first co-terminal connected to the primary network device, and PC3 is the selected second co-terminal connected to the proxy network device. The wireless device correlation result comprises a correlation result of the non-correlation terminal and a decorrelation result of the correlation terminal.
The technical scheme of the invention provides a network reliability testing method, which is used for a main control end, wherein the main control end is connected with a network to be tested and comprises an attenuator; the method comprises the following steps: determining an adjusting value of the attenuator based on a preset networking mode; configuring the attenuator by using the adjusting value to obtain a configured network to be tested; and carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result.
In the existing method, a technician manually sets a network to be tested in a test environment based on a preset networking mode, and then manually tests the constructed network to be tested to obtain a test result of the network to be tested. By adopting the method of the invention, the main control end automatically configures the network to be tested and automatically tests the network performance of the configured network to be tested without manual operation of technicians, thereby greatly reducing operation steps, shortening test time and achieving the technical effect of improving the test efficiency of the network to be tested.
Referring to fig. 10, fig. 10 is a block diagram of a first embodiment of a network reliability testing apparatus according to the present invention, where the apparatus is used at a master control end, and based on the same inventive concept as the previous embodiment, the apparatus includes:
and the determining module 10 is configured to determine an adjustment value of the attenuator based on a preset networking mode.
And the adjusting module 20 is configured to configure the attenuator by using the adjusting value to obtain the configured network to be tested.
And the test module 30 is configured to perform a network performance test on the configured network to be tested by using a preset test script to obtain a test result.
It should be noted that, since the steps executed by the apparatus of this embodiment are the same as the steps of the foregoing method embodiment, the specific implementation and the achievable technical effects thereof can refer to the foregoing embodiment, and are not described herein again.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a test system according to the present invention. The test system comprises a main control end 40 and a network to be tested 50, the network to be tested comprises an attenuator 51, the main control end 40 stores a network reliability test program, and the main control end realizes the steps of the network reliability test method when executing the network reliability test program.
In some embodiments, the network to be tested may further include a main network device, a proxy network device, a first accompanying terminal, a plurality of second accompanying terminals, an associated accompanying terminal, a non-associated accompanying terminal, and the like, and embodiments and technical effects related to various devices included in the network to be tested are described with reference to the foregoing description, which is not described herein again.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A network reliability test method is characterized in that the method is used for a main control end, and the main control end is connected with a network to be tested comprising an attenuator; the method comprises the following steps:
determining an adjusting value of the attenuator based on a preset networking mode;
configuring the attenuator by using the adjusting value to obtain a configured network to be tested;
and carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result.
2. The method of claim 1, wherein the network under test further comprises a master network device and a plurality of proxy network devices; the main network device is connected with the plurality of proxy network devices through the attenuator, and the plurality of proxy network devices are connected through the attenuator; before the step of performing a network performance test on the configured network to be tested by using the preset test script to obtain a test result, the method further includes:
sending an inspection command to the main network device to enable the main network device to perform networking mode detection on the main network device and the plurality of proxy network devices by using the inspection command to obtain a detection networking mode;
receiving the detection networking mode returned by the main network equipment;
the step of utilizing the preset test script to carry out the network performance test on the configured network to be tested to obtain the test result comprises the following steps:
and when the detection networking mode is matched with the preset networking mode, carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result.
3. The method of claim 2, wherein before the step of performing a network performance test on the configured network to be tested by using a preset test script when the detection networking mode matches the preset networking mode to obtain a test result, the method further comprises:
when the detection network mode is matched with the preset network mode, a connectivity test script is used for obtaining a connectivity test command;
sending the connectivity test command to the main network device, so that the main network device performs connectivity test with the plurality of agent network devices based on the connectivity test command to obtain a connectivity test result;
receiving the connectivity test result sent by the main network device;
when the detection networking mode is matched with the preset networking mode, a preset test script is used for carrying out network performance test on the configured network to be tested to obtain a test result, and the method comprises the following steps:
and when the connectivity test result meets a preset condition, carrying out network performance test on the configured network to be tested by using a preset test script to obtain a test result.
4. The method of claim 3, wherein the network under test further comprises a first test partner connected to the primary network device and a plurality of second test partners connected to the plurality of broker network devices; the step of utilizing the preset test script to carry out the network performance test on the configured network to be tested to obtain the test result comprises the following steps:
determining a selected second accompanying terminal in the plurality of second accompanying terminals based on the preset networking mode;
sending a throughput testing command to the first test assistant terminal by using a throughput testing script in a preset testing script, so that the first test assistant terminal performs throughput testing with the selected second test assistant terminal based on the throughput testing command to obtain a throughput testing result;
receiving the throughput testing result sent by the first accompanying terminal;
and obtaining the test result based on the throughput test result.
5. The method of claim 4, wherein said step of obtaining said test result based on said throughput test result is preceded by the step of:
sending a connection quantity test command to the first test partner by using a connection quantity test script in a preset test script, so that the first test partner performs connection quantity test with the selected second test partner based on the connection quantity test command to obtain a connection quantity test result;
receiving the connection quantity test result sent by the first accompanying terminal;
the step of obtaining the test result based on the throughput test result includes:
and obtaining the test result based on the connection quantity test result and the throughput test result.
6. The method of claim 5, wherein the network system under test further comprises an associated test terminal associated with the primary network device and/or the plurality of surrogate network devices; before the step of obtaining the test result based on the connection volume test result and the throughput volume test result, the method further includes:
generating a disassociation command;
sending the disassociation command to the association accompanying terminal so that the association accompanying terminal performs disassociation operation with the main network device and/or the plurality of agent network devices based on the disassociation command and obtains disassociation results;
receiving the decorrelation result sent by the associated accompanying terminal;
the step of obtaining the test result based on the connection quantity test result and the throughput quantity test result includes:
and obtaining the test result based on the connection quantity test result, the throughput quantity test result and the disassociation result.
7. The method of claim 6, wherein the network system under test further comprises an unassociated companion terminal that is unassociated with the primary network device and the plurality of proxy network devices; before the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result, and the disassociation result, the method further includes:
generating an association command;
sending the association command to the non-association accompanying terminal so that the non-association accompanying terminal performs association operation with the main network device and/or the plurality of agent network devices based on the association command and obtains an association result;
receiving the correlation result sent by the non-correlation accompanying and measuring terminal;
the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result and the disassociation result includes:
and obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result and the association result.
8. The method of claim 7, wherein before the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result, and the association result when the predetermined network is a herringbone network, the method further comprises:
generating a diagnosis command in the process that the first testing partner performs throughput testing on the basis of the throughput testing command and the selected second testing partner;
sending the diagnosis command to diagnosis agent network equipment so that the diagnosis agent network equipment performs network diagnosis operation with the main network equipment based on the diagnosis command to obtain a network diagnosis result, wherein the diagnosis agent network equipment is agent network equipment corresponding to a non-selected accompanying terminal in the plurality of agent network equipment, and the non-selected accompanying terminal is an accompanying terminal except for the selected second accompanying terminal in the second accompanying terminals;
receiving the network diagnosis result sent by the diagnosis agent network equipment;
the step of obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result, and the association result includes:
and obtaining the test result based on the connection quantity test result, the throughput quantity test result, the disassociation result, the association result and the network diagnosis result.
9. A test system, characterized in that the test system comprises a main control end and a network to be tested, the network to be tested comprises an attenuator, the main control end stores a network reliability test program, and the main control end implements the steps of the network reliability test method according to any one of claims 1 to 8 when executing the network reliability test program.
10. A computer-readable storage medium, having stored thereon a network reliability test program which, when executed by a processor, implements the steps of the network reliability test method of any of claims 1 to 8.
CN202111110833.XA 2021-09-22 2021-09-22 Network reliability test method, test system and storage medium Active CN113824613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111110833.XA CN113824613B (en) 2021-09-22 2021-09-22 Network reliability test method, test system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111110833.XA CN113824613B (en) 2021-09-22 2021-09-22 Network reliability test method, test system and storage medium

Publications (2)

Publication Number Publication Date
CN113824613A true CN113824613A (en) 2021-12-21
CN113824613B CN113824613B (en) 2023-04-18

Family

ID=78920945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111110833.XA Active CN113824613B (en) 2021-09-22 2021-09-22 Network reliability test method, test system and storage medium

Country Status (1)

Country Link
CN (1) CN113824613B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115378840A (en) * 2022-10-24 2022-11-22 北京智芯微电子科技有限公司 Communication chip test system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018044A (en) * 2017-04-27 2017-08-04 上海斐讯数据通信技术有限公司 A kind of wireless throughput performance automated testing method of router and system
CN108770012A (en) * 2018-05-29 2018-11-06 四川斐讯信息技术有限公司 A kind of automated wireless attenuation test system and method allowing hand over test environment
CN108847899A (en) * 2018-06-19 2018-11-20 Oppo广东移动通信有限公司 Electronic equipment radio communication Performance Test System, method, device and equipment
CN109151874A (en) * 2018-09-30 2019-01-04 广州掌动智能科技有限公司 WIFI performance test methods, device, computer equipment and storage medium
CN112882773A (en) * 2021-04-29 2021-06-01 鹏城实验室 Network performance detection method, device, test terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018044A (en) * 2017-04-27 2017-08-04 上海斐讯数据通信技术有限公司 A kind of wireless throughput performance automated testing method of router and system
CN108770012A (en) * 2018-05-29 2018-11-06 四川斐讯信息技术有限公司 A kind of automated wireless attenuation test system and method allowing hand over test environment
CN108847899A (en) * 2018-06-19 2018-11-20 Oppo广东移动通信有限公司 Electronic equipment radio communication Performance Test System, method, device and equipment
CN109151874A (en) * 2018-09-30 2019-01-04 广州掌动智能科技有限公司 WIFI performance test methods, device, computer equipment and storage medium
CN112882773A (en) * 2021-04-29 2021-06-01 鹏城实验室 Network performance detection method, device, test terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115378840A (en) * 2022-10-24 2022-11-22 北京智芯微电子科技有限公司 Communication chip test system and method
CN115378840B (en) * 2022-10-24 2023-01-20 北京智芯微电子科技有限公司 Communication chip test system and method

Also Published As

Publication number Publication date
CN113824613B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
CN110032512B (en) Debugging method of small program, related equipment and terminal
CN110536344A (en) A kind of measurement report method, electronic equipment and storage medium
CN111343699B (en) Icon display method and device, storage medium and electronic equipment
CN110213058A (en) A kind of block chain all-in-one machine for realizing data cochain
CN110198545A (en) A kind of secondary cell group adding method, terminal device and host node
CN104080194A (en) Method for wirelessly configuring WIFI access parameters of zero-input terminal equipment through mobile phone
US10912027B2 (en) Scanning method and device
CN104679627A (en) Testing method and device
CN107861783A (en) The method, apparatus and storage medium and electronic equipment of page rendering
CN113824613B (en) Network reliability test method, test system and storage medium
CN107295621B (en) Control method, device, storage medium and the electronic equipment of transmission power
CN104363590A (en) Access point connection method and device
CN112689172A (en) Program playing method and device, set top box and storage medium
CN108770055A (en) Transmission power adjustment method, device and electronic device
CN113326204B (en) Substation system testing method and device, terminal equipment and storage medium
CN112583907A (en) Connection method and device, smart home equipment and computer readable storage medium
CN113824612B (en) Network equipment compatibility testing method, terminal equipment and storage medium
CN112612526B (en) Application program control method, device, terminal equipment and storage medium
CN104135396B (en) Show the method for network speed information, device and terminal
CN112351097A (en) Device control method, device, sending end and storage medium
CN112882773B (en) Network performance detection method, device, test terminal and storage medium
CN113225234B (en) Asset detection method, device, terminal equipment and computer readable storage medium
CN106571878A (en) RF fault detection method and device
CN107463524A (en) A kind of method and relevant device for accessing data
CN110849407B (en) Sensor testing method and device, storage medium and electronic equipment

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