CN112491905B - Performance test method, device and system of network equipment - Google Patents

Performance test method, device and system of network equipment Download PDF

Info

Publication number
CN112491905B
CN112491905B CN202011382596.8A CN202011382596A CN112491905B CN 112491905 B CN112491905 B CN 112491905B CN 202011382596 A CN202011382596 A CN 202011382596A CN 112491905 B CN112491905 B CN 112491905B
Authority
CN
China
Prior art keywords
time
network equipment
scheduling
network device
execution body
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011382596.8A
Other languages
Chinese (zh)
Other versions
CN112491905A (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.)
Zhengzhou Angshi Information Technology Co ltd
Original Assignee
Zhengzhou Angshi Information 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 Zhengzhou Angshi Information Technology Co ltd filed Critical Zhengzhou Angshi Information Technology Co ltd
Priority to CN202011382596.8A priority Critical patent/CN112491905B/en
Publication of CN112491905A publication Critical patent/CN112491905A/en
Application granted granted Critical
Publication of CN112491905B publication Critical patent/CN112491905B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a performance test method, device and system of network equipment, comprising the following steps: in the test process of the network equipment, determining the cleaning time of a single executing body pool, the scheduling time of an online executing body, the scheduling period of the network equipment, the system recovery time of the network equipment and the request response time; if the cleaning time of the single execution body pool, the scheduling time of the online execution body, the scheduling period of the network equipment, the system recovery time and the request response time of the network equipment all meet preset conditions, determining that the performance of the network equipment is normal, otherwise, determining that the performance of the network equipment is abnormal. The method and the device can automatically test the performance of the network equipment and improve the testing efficiency and accuracy of the network equipment.

Description

Performance test method, device and system of network equipment
Technical Field
The present disclosure relates to the field of network security technologies, and in particular, to a method, an apparatus, and a system for testing performance of a network device.
Background
The mimicry defense mechanism can help solve various vulnerabilities existing in network devices, so that the mimicry defense mechanism is widely applied to various network devices: mimicry Web servers, routers, domain name servers, etc. The mimicry defense mechanism is based on the basic ideas of isomerism, redundancy and dynamics, and inevitably brings performance loss to network equipment in the use process.
Therefore, after the mimicry defense mechanism is added in the network equipment, performance test needs to be performed on the network equipment. At present, the performance test of the network equipment is not unified and standardized temporarily, and in the process of verifying whether the performance of the network equipment is normal, different technicians can use different performance indexes to verify whether the performance of the network equipment is normal.
Because the manual test speed is slower and a single performance test index is insufficient to fully reflect the performance of the network equipment, the test efficiency and the test accuracy of the scheme for manually performing the performance test in the prior art are required to be improved.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, and a system for testing performance of a network device, which can improve testing efficiency and accuracy of the network device.
In order to achieve the above object, the present invention provides the following technical features:
a method for testing performance of a network device, comprising:
in the test process of the network equipment, analyzing the execution states of the plurality of execution pools, and taking the time required by the single execution pool to recover from an abnormal state to a normal state as the cleaning time of the single execution pool;
in the test process of the network equipment, taking the scheduling time required by one-time periodical cleaning operation as the scheduling time of an online executive body;
in the test process of the network equipment, acquiring a time interval of two adjacent periodic cleaning operations, and taking the time interval as a scheduling period of the network equipment;
in the test process of the network equipment, calculating the system recovery time of the network equipment;
in the test process of the network equipment, taking the time interval between the receiving time of the request sent by the receiving client and the feedback time of the request result fed back to the client as the request response time;
if the cleaning time of the single execution body pool, the scheduling time of the online execution body, the scheduling period of the network equipment, the system recovery time and the request response time of the network equipment all meet preset conditions, determining that the performance of the network equipment is normal, otherwise, determining that the performance of the network equipment is abnormal.
Optionally, the time required for recovering the single execution body pool from the abnormal state to the normal state in the testing process of the network device, as the cleaning time of the single execution body pool, includes:
in the testing process of the network equipment, obtaining a voting result of a distribution voter, and determining the execution states of the plurality of execution body pools based on the voting result;
determining the time required for each execution body pool to recover from an abnormal state to a normal state according to each execution body pool with the abnormality;
taking the average value of the time required by the plurality of execution body pools as the time required by the single execution body pool to recover from the abnormal state to the normal state;
the time required for the single execution body pool to return from the abnormal state to the normal state is taken as the cleaning time of the single execution body pool.
Optionally, in the testing process of the network device, the time required by one time of periodic cleaning operation is used as the scheduling time of the online executive body, and the method includes:
recording the starting scheduling time and the ending scheduling time of the dynamic scheduler for executing the periodical cleaning operation on the plurality of execution body pools;
the end scheduling time and the start scheduling time are used as scheduling time required by one time of periodic cleaning operation and used as scheduling time of an online executive body.
Optionally, during the testing of the network device, acquiring a time interval between two adjacent periodic cleaning operations, and taking the time interval as a scheduling period of the network device includes:
acquiring a time interval for executing the periodical cleaning operation from the dynamic scheduler;
the time interval is taken as a scheduling period of the network device.
Optionally, in the testing process of the network device, calculating a system recovery time of the network device includes:
dividing the scheduling time of the online executors by the number of the online executors to obtain the scheduling time of a single executor;
taking the cleaning time of the single executing body pool as the cleaning time of the single executing body;
the sum of the scheduling time of the single execution body and the cleaning time of the single execution body is taken as the time required for the single execution body to recover from the abnormal state to the normal state;
and determining the product of the time required for the single execution body to recover from the abnormal state to the normal state and the number of all execution bodies as the system recovery time of the network equipment.
Optionally, in the testing process of the network device, a time interval between a receiving time for receiving a request sent by the client and a feedback time for feeding back a request result to the client is used as a request response time, where the time interval includes:
in the network equipment testing process, taking the time of a receiving client sending a request as the receiving time;
taking the time of sending the request result to the client as the sending time;
the time interval between the transmission time and the reception time is taken as the request response time.
Optionally, if the cleaning time of the single execution body pool, the scheduling time of the online execution body, the scheduling period of the network device, the system recovery time of the network device, and the request response time all meet preset conditions, determining that the performance of the network device is normal, otherwise, determining that the performance of the network device is abnormal includes:
if the cleaning time of the single execution body pool is smaller than the cleaning threshold, the scheduling time of the online execution body is smaller than the scheduling threshold, the scheduling period of the network equipment is not larger than the scheduling period threshold, the system recovery time of the network equipment is smaller than the system recovery threshold and the request response time is smaller than the response threshold, determining that the performance of the network equipment is normal, otherwise determining that the performance of the network equipment is abnormal.
Optionally, the method further comprises:
after the performance of the network equipment is determined to be normal, sending a prompt message indicating that the test is passed;
and after determining that the performance of the network equipment is abnormal, sending a prompt message representing test failure so as to adjust the mimicry defense mechanism of the network equipment.
A performance testing apparatus of a network device, comprising:
the first unit is used for analyzing the execution states of the plurality of execution body pools and taking the time required by the single execution body pool to recover from the abnormal state to the normal state as the cleaning time of the single execution body pool in the test process of the network equipment;
the second unit is used for taking the scheduling time required by one time of periodic cleaning operation as the scheduling time of the online executive body in the test process of the network equipment;
a third unit, configured to obtain a time interval between two adjacent periodic cleaning operations during a testing process of a network device, and take the time interval as a scheduling period of the network device;
a fourth unit, configured to calculate a system recovery time of the network device during a test process of the network device;
a fifth unit, configured to, in a testing process of the network device, use a time interval between a receiving time for receiving a request sent by the client and a feedback time for feeding back a request result to the client as a request response time;
and a sixth unit, configured to determine that the performance of the network device is normal if the cleaning time of the single execution body pool, the scheduling time of the online execution body, the scheduling period of the network device, the system recovery time and the request response time of the network device all meet preset conditions, or determine that the performance of the network device is abnormal.
A performance testing system for a network device, comprising:
test equipment and network equipment, the network equipment includes: the system comprises a distribution voter, a plurality of execution body pools connected with the distribution voter and a dynamic scheduler connected with the plurality of execution body pools, wherein each execution body pool comprises at least two execution bodies;
the test equipment is used for executing the performance test method of the network equipment.
Through the technical means, the following beneficial effects can be realized:
the scheme provided by the invention can automatically acquire the cleaning time of a single executive body pool, the scheduling time of an online executive body, the scheduling period of the network equipment, the system recovery time of the network equipment and the request response time in the network equipment testing process, and then judge the testing performance of the network equipment from the multiple dimensions, thereby improving the testing efficiency and accuracy of the network equipment.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1a is a schematic structural diagram of a network device according to an embodiment of the present application;
fig. 1b is a schematic structural diagram of a performance test system of a network device according to an embodiment of the present application;
fig. 2 is a flowchart of a performance testing method of a network device according to an embodiment of the present application;
fig. 3 is a performance testing apparatus of a network device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Referring to fig. 1a, a schematic diagram of a network device includes:
the network device comprises a distribution voter 100, a plurality of execution volume pools 200 connected to the distribution voter 100, and a dynamic scheduler 300 connected to the plurality of execution volume pools 200, and each execution volume pool comprises at least two execution volumes.
The network device applies a mimicry defense mechanism to cope with network attacks after the network device is online. Performance testing of network devices is required before they are shipped.
Referring to fig. 1b, a schematic diagram of a performance test system of a network device includes:
network equipment and test equipment.
The test equipment simulates a client to send an attack-carried request and a normal request to the network equipment so as to simulate whether a simulated defense mechanism in the network equipment can normally perform disaster recovery switching and executable cleaning, so as to verify the emergency processing capacity, the periodical cleaning capacity, the abnormal recovery capacity and the system response capacity of the executable, thereby automatically and comprehensively performing performance test on the network equipment.
Referring to fig. 2, the present invention provides a performance testing method of a network device, which is applied to the testing device shown in fig. 1b, and the method includes:
step S201: in the test process of the network equipment, the execution states of the plurality of execution pools are analyzed, and the time required by the single execution pool to recover from the abnormal state to the normal state is taken as the cleaning time of the single execution pool.
The step can be realized by adopting S11 to S14:
s11: and in the testing process of the network equipment, obtaining the voting result of the distribution voter, and determining the execution states of the execution body pools based on the voting result.
In the testing process of the network equipment, the testing equipment sends a request to the network equipment, and the network equipment outputs a voting result through the distribution voter after internal processing.
The distribution voter distributes the request to each execution body pool for processing, and obtains the execution result of each execution body pool on the request. Each executive pool only has one online executive and the rest is standby executive so as to switch disaster recovery.
The distribution voter typically employs a large-scale resolution algorithm by which the voting results can be determined. The test equipment can obtain the execution result and the voting result of each execution body pool, if the execution result of one execution body pool is consistent with the voting result, the execution state of the execution body pool is determined to be a normal state, otherwise, the execution state of the execution body pool is determined to be an abnormal state.
The test equipment records the execution state of each execution body pool.
S12: for each executing body pool with the abnormality, determining the time required for each executing body pool to recover from the abnormal state to the normal state.
After determining that the executing body pool is abnormal, the network equipment performs disaster recovery switching, namely, an online executing body in one executing body pool is offline, and another executing body is online.
The test equipment continues to test the network equipment, and in the test process of the network equipment, the test equipment repeatedly executes the process of the step S11, and if an execution body pool is restored to a normal state from an abnormal state, the time required for the execution body pool to be restored to the normal state from the abnormal state is taken.
S13: and taking the average value of the time required by the plurality of execution body pools as the time required by the single execution body pool to recover from the abnormal state to the normal state.
The time required for one execution body pool to return from the abnormal state to the normal state is not universal, so that the time required for a plurality of execution body pools to return from the abnormal state to the normal state can be determined in the test process of the network equipment, and the average value of the time required for a plurality of execution body pools is calculated as the time required for a single execution body pool to return from the abnormal state to the normal state.
S14: the time required for the single execution body pool to return from the abnormal state to the normal state is taken as the cleaning time of the single execution body pool.
The time required for the single execution body pool to return from the abnormal state to the normal state is taken as the cleaning time of the single execution body pool. The cleaning time of a single executive body pool can reflect the emergency processing capability of the network equipment.
Step S202: in the test process of the network equipment, the scheduling time required by one time of periodic cleaning operation is used as the scheduling time of the online executive body.
The network device periodically performs a periodic cleaning operation on an online executable in the plurality of executable pools, and a dynamic scheduler performs a scheduling operation during the periodic cleaning operation. For one execution body pool, the time required for executing the offline operation of one online execution body pool and the online operation of the other execution body is one scheduling time.
In the test process of the network equipment, the test equipment records the starting scheduling time and the ending scheduling time of the dynamic scheduler for executing the periodic cleaning operation on the plurality of execution body pools; the end scheduling time and the start scheduling time are used as scheduling time required by one time of periodic cleaning operation and used as scheduling time of an online executive body.
Step S203: and in the test process of the network equipment, acquiring the time interval of two adjacent periodic cleaning operations, and taking the time interval as the scheduling period of the network equipment.
The dynamic scheduler has a preset time interval, and the test equipment can acquire the time interval for executing the periodical cleaning operation, and takes the time interval as the scheduling period of the network equipment.
Step S202 and step S203 can measure the performance of the test equipment from the aspect of scheduling, and the scheduling time of the online executor and the scheduling period of the network equipment can reflect the emergency processing capability of the network equipment.
Step S204: and in the testing process of the network equipment, calculating the system recovery time of the network equipment.
S41: and dividing the scheduling time of the online executors by the number of the online executors to obtain the scheduling time of the single executor.
Dividing the scheduling time T of the online executor determined in step S202 by the number n of online executors w A scheduling time for a single executable is obtained.
S42: the cleaning time of the single execution body pool is taken as the cleaning time of the single execution body.
Since there is only one online executable in one executable pool, the cleaning time of the single executable pool is the cleaning time of the single executable, so the cleaning time Te of the single executable pool determined in step S201 is taken as the cleaning time of the single executable.
S43: and the sum of the scheduling time of the single execution body and the cleaning time of the single execution body is taken as the time required for the single execution body to recover from the abnormal state to the normal state.
S44: and determining the product of the time required for the single execution body to recover from the abnormal state to the normal state and the number of all execution bodies as the system recovery time of the network equipment.
TS=n p *(Te+T/n w ) Wherein TS is system recovery time, T is scheduling time of on-line execution body, n w To execute the volume quantity on line, n p For the number of all executives.
The system recovery time may reflect an abnormal recovery capability of the network device.
Step S205: in the test process of the network equipment, the time interval between the receiving time of the request sent by the receiving client and the feedback time of the request result fed back to the client is taken as the request response time.
In the network equipment testing process, taking the time of a receiving client sending a request as the receiving time; taking the time of sending the request result to the client as the sending time; the time interval between the transmission time and the reception time is taken as the request response time.
The response time may reflect a system response capability of the network device.
Step S206: if the cleaning time of the single execution body pool, the scheduling time of the online execution body, the scheduling period of the network equipment, the system recovery time and the request response time of the network equipment all meet preset conditions, determining that the performance of the network equipment is normal, otherwise, determining that the performance of the network equipment is abnormal.
The test equipment stores a cleaning threshold T of a single execution body pool in advance Cleaning threshold Scheduling threshold T of online executor Scheduling threshold Scheduling period threshold T of the network device Scheduling period threshold System recovery threshold T for network device System recovery threshold Response threshold of network deviceValue T Response to
The network device is always in a synchronous calculation and comparison and arbitration state due to the fact that the execution bodies are scheduled to be on-line and off-line too frequently, so that system stability is affected, and further the execution service is possibly affected.
Thus scheduling period threshold T Scheduling period threshold At least one time of redundant time should be reserved on the basis of the online execution volume cleaning time, and the scheduling period threshold value can be expressed as T Scheduling period threshold =2*n w *T Cleaning threshold . To avoid frequent scheduling affecting system operation stability, the scheduling period should be above a scheduling period threshold.
System recovery threshold T for network devices System recovery threshold =n p *(T Cleaning threshold +T Scheduling threshold /n w )。
If the cleaning time of the single execution body pool is smaller than the cleaning threshold, the scheduling time of the online execution body is smaller than the scheduling threshold, the scheduling period of the network equipment is not larger than the scheduling period threshold, the system recovery time of the network equipment is smaller than the system recovery threshold and the request response time is smaller than the response threshold, determining that the performance of the network equipment is normal, otherwise determining that the performance of the network equipment is abnormal.
Step S207: after the performance of the network equipment is determined to be normal, sending a prompt message indicating that the test is passed; and after determining that the performance of the network equipment is abnormal, sending a prompt message representing test failure so as to adjust the mimicry defense mechanism of the network equipment.
Through the technical means, the following beneficial effects can be realized:
the scheme provided by the invention can automatically acquire the cleaning time of a single executive body pool, the scheduling time of an online executive body, the scheduling period of the network equipment, the system recovery time of the network equipment and the request response time in the network equipment testing process, and then judge the testing performance of the network equipment from the multiple dimensions, thereby improving the testing efficiency and accuracy of the network equipment.
Referring to fig. 3, the present application provides a performance testing apparatus for a network device, including:
a first unit 31, configured to analyze an execution state of the plurality of execution pools and a time required for restoring the single execution pool from an abnormal state to a normal state as a cleaning time of the single execution pool during a test of the network device;
a second unit 32, configured to use a scheduling time required by a periodic cleaning operation as a scheduling time of an online executive during a testing process of the network device;
a third unit 33, configured to obtain a time interval between two adjacent periodic cleaning operations during a testing process of a network device, and take the time interval as a scheduling period of the network device;
a fourth unit 34, configured to calculate a system recovery time of the network device during a test process of the network device;
a fifth unit 35, configured to use, as a request response time, a time interval between a receiving time for receiving a request sent by a client and a feedback time for feeding back a request result to the client in a testing process of the network device;
a sixth unit 36, configured to determine that the performance of the network device is normal if the cleaning time of the single execution pool, the scheduling time of the online execution pool, the scheduling period of the network device, the system recovery time of the network device, and the request response time all meet preset conditions, or determine that the performance of the network device is abnormal.
The time required for recovering the single execution body pool from the abnormal state to the normal state in the test process of the network equipment is taken as the cleaning time of the single execution body pool, and the time comprises the following steps:
in the testing process of the network equipment, obtaining a voting result of a distribution voter, and determining the execution states of the plurality of execution body pools based on the voting result;
determining the time required for each execution body pool to recover from an abnormal state to a normal state according to each execution body pool with the abnormality;
taking the average value of the time required by the plurality of execution body pools as the time required by the single execution body pool to recover from the abnormal state to the normal state;
the time required for the single execution body pool to return from the abnormal state to the normal state is taken as the cleaning time of the single execution body pool.
The method for testing the network equipment comprises the steps of taking time required by one time of periodical cleaning operation as scheduling time of an online executive body in the testing process of the network equipment, wherein the scheduling time comprises the following steps:
recording the starting scheduling time and the ending scheduling time of the dynamic scheduler for executing the periodical cleaning operation on the plurality of execution body pools;
the end scheduling time and the start scheduling time are used as scheduling time required by one time of periodic cleaning operation and used as scheduling time of an online executive body.
The method for testing the network equipment comprises the steps of obtaining a time interval of two adjacent periodical cleaning operations in the testing process of the network equipment, and taking the time interval as a scheduling period of the network equipment, wherein the time interval comprises the following steps:
acquiring a time interval for executing the periodical cleaning operation from the dynamic scheduler;
the time interval is taken as a scheduling period of the network device.
Wherein, in the process of testing the network device, calculating the system recovery time of the network device includes:
dividing the scheduling time of the online executors by the number of the online executors to obtain the scheduling time of a single executor;
taking the cleaning time of the single executing body pool as the cleaning time of the single executing body;
the sum of the scheduling time of the single execution body and the cleaning time of the single execution body is taken as the time required for the single execution body to recover from the abnormal state to the normal state;
and determining the product of the time required for the single execution body to recover from the abnormal state to the normal state and the number of all execution bodies as the system recovery time of the network equipment.
In the testing process of the network device, the time interval between the receiving time of the receiving client sending the request and the feedback time of the feedback request result to the client is used as the request response time, and the method comprises the following steps:
in the network equipment testing process, taking the time of a receiving client sending a request as the receiving time;
taking the time of sending the request result to the client as the sending time;
the time interval between the transmission time and the reception time is taken as the request response time.
The determining that the performance of the network device is normal if the cleaning time of the single executing body pool, the scheduling time of the online executing body, the scheduling period of the network device, the system recovery time of the network device and the request response time all meet preset conditions, otherwise, determining that the performance of the network device is abnormal comprises:
if the cleaning time of the single execution body pool is smaller than the cleaning threshold, the scheduling time of the online execution body is smaller than the scheduling threshold, the scheduling period of the network equipment is not larger than the scheduling period threshold, the system recovery time of the network equipment is smaller than the system recovery threshold and the request response time is smaller than the response threshold, determining that the performance of the network equipment is normal, otherwise determining that the performance of the network equipment is abnormal.
Wherein, still include:
after the performance of the network equipment is determined to be normal, sending a prompt message indicating that the test is passed;
and after determining that the performance of the network equipment is abnormal, sending a prompt message representing test failure so as to adjust the mimicry defense mechanism of the network equipment.
The specific implementation of the performance test apparatus of the network device may be referred to the embodiment shown in fig. 2, and will not be described herein.
Through the technical means, the following beneficial effects can be realized:
the scheme provided by the invention can automatically acquire the cleaning time of a single executive body pool, the scheduling time of an online executive body, the scheduling period of the network equipment, the system recovery time of the network equipment and the request response time in the network equipment testing process, and then judge the testing performance of the network equipment from the multiple dimensions, thereby improving the testing efficiency and accuracy of the network equipment.
The functions described in the method of this embodiment, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computing device readable storage medium. Based on such understanding, a portion of the embodiments of the present application that contributes to the prior art or a portion of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for testing performance of a network device, comprising:
in the test process of the network equipment, analyzing the execution states of a plurality of execution body pools, and taking the time required by the single execution body pool to recover from an abnormal state to a normal state as the cleaning time of the single execution body pool;
in the test process of the network equipment, taking the scheduling time required by one-time periodical cleaning operation as the scheduling time of an online executive body;
in the test process of the network equipment, acquiring a time interval of two adjacent periodic cleaning operations, and taking the time interval as a scheduling period of the network equipment;
in the test process of the network equipment, calculating the system recovery time of the network equipment;
in the test process of the network equipment, taking the time interval between the receiving time of the request sent by the receiving client and the feedback time of the request result fed back to the client as the request response time;
if the cleaning time of the single execution body pool, the scheduling time of the online execution body, the scheduling period of the network equipment, the system recovery time and the request response time of the network equipment all meet preset conditions, determining that the performance of the network equipment is normal, otherwise, determining that the performance of the network equipment is abnormal.
2. The method of claim 1, wherein the time required for the single execution pool to return from the abnormal state to the normal state during the testing of the network device, as the cleaning time of the single execution pool, comprises:
in the testing process of the network equipment, obtaining a voting result of a distribution voter, and determining the execution states of the plurality of execution body pools based on the voting result;
determining the time required for each execution body pool to recover from an abnormal state to a normal state according to each execution body pool with the abnormality;
taking the average value of the time required by the plurality of execution body pools as the time required by the single execution body pool to recover from the abnormal state to the normal state;
the time required for the single execution body pool to return from the abnormal state to the normal state is taken as the cleaning time of the single execution body pool.
3. The method of claim 2, wherein the time required for a periodic cleaning operation during the testing of the network device is used as the scheduling time of the online executive, and the method comprises:
recording the starting scheduling time and the ending scheduling time of the dynamic scheduler for executing the periodical cleaning operation on the plurality of execution body pools;
the end scheduling time and the start scheduling time are used as scheduling time required by one time of periodic cleaning operation and used as scheduling time of an online executive body.
4. The method of claim 1, wherein the acquiring a time interval between two adjacent periodic cleaning operations during the testing of the network device and taking the time interval as the scheduling period of the network device comprises:
acquiring a time interval for executing the periodical cleaning operation from the dynamic scheduler;
the time interval is taken as a scheduling period of the network device.
5. The method of claim 3, wherein calculating a system recovery time of the network device during testing of the network device comprises:
dividing the scheduling time of the online executors by the number of the online executors to obtain the scheduling time of a single executor;
taking the cleaning time of the single executing body pool as the cleaning time of the single executing body;
the sum of the scheduling time of the single execution body and the cleaning time of the single execution body is taken as the time required for the single execution body to recover from the abnormal state to the normal state;
and determining the product of the time required for the single execution body to recover from the abnormal state to the normal state and the number of all execution bodies as the system recovery time of the network equipment.
6. The method as claimed in claim 1, wherein the step of setting a time interval between a reception time of the request transmitted from the receiving client and a feedback time of the request result fed back to the client as the request response time in the test process of the network device comprises:
in the network equipment testing process, taking the time of a receiving client sending a request as the receiving time;
taking the time of sending the request result to the client as the sending time;
the time interval between the transmission time and the reception time is taken as the request response time.
7. The method of claim 1, wherein determining that the performance of the network device is normal if the cleaning time of the single executable pool, the scheduling time of the online executable, the scheduling period of the network device, the system recovery time of the network device, and the request response time all satisfy preset conditions, and otherwise determining that the performance of the network device is abnormal comprises:
if the cleaning time of the single execution body pool is smaller than the cleaning threshold, the scheduling time of the online execution body is smaller than the scheduling threshold, the scheduling period of the network equipment is not larger than the scheduling period threshold, the system recovery time of the network equipment is smaller than the system recovery threshold and the request response time is smaller than the response threshold, determining that the performance of the network equipment is normal, otherwise determining that the performance of the network equipment is abnormal.
8. The method as recited in claim 1, further comprising:
after the performance of the network equipment is determined to be normal, sending a prompt message indicating that the test is passed;
and after determining that the performance of the network equipment is abnormal, sending a prompt message representing test failure so as to adjust the mimicry defense mechanism of the network equipment.
9. A performance testing apparatus for a network device, comprising:
the first unit is used for analyzing the execution states of the plurality of execution pools and taking the time required by the single execution pool to recover from the abnormal state to the normal state as the cleaning time of the single execution pool in the test process of the network equipment;
the second unit is used for taking the scheduling time required by one time of periodic cleaning operation as the scheduling time of the online executive body in the test process of the network equipment;
a third unit, configured to obtain a time interval between two adjacent periodic cleaning operations during a testing process of a network device, and take the time interval as a scheduling period of the network device;
a fourth unit, configured to calculate a system recovery time of the network device during a test process of the network device;
a fifth unit, configured to, in a testing process of the network device, use a time interval between a receiving time for receiving a request sent by the client and a feedback time for feeding back a request result to the client as a request response time;
and a sixth unit, configured to determine that the performance of the network device is normal if the cleaning time of the single execution body pool, the scheduling time of the online execution body, the scheduling period of the network device, the system recovery time and the request response time of the network device all meet preset conditions, or determine that the performance of the network device is abnormal.
10. A performance testing system for a network device, comprising:
test equipment and network equipment, the network equipment includes: the system comprises a distribution voter, a plurality of execution body pools connected with the distribution voter and a dynamic scheduler connected with the plurality of execution body pools, wherein each execution body pool comprises at least two execution bodies;
wherein the test device is adapted to perform the performance test method of the network device according to any of claims 1-8.
CN202011382596.8A 2020-12-01 2020-12-01 Performance test method, device and system of network equipment Active CN112491905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011382596.8A CN112491905B (en) 2020-12-01 2020-12-01 Performance test method, device and system of network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011382596.8A CN112491905B (en) 2020-12-01 2020-12-01 Performance test method, device and system of network equipment

Publications (2)

Publication Number Publication Date
CN112491905A CN112491905A (en) 2021-03-12
CN112491905B true CN112491905B (en) 2023-05-05

Family

ID=74938623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011382596.8A Active CN112491905B (en) 2020-12-01 2020-12-01 Performance test method, device and system of network equipment

Country Status (1)

Country Link
CN (1) CN112491905B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1058869A1 (en) * 1998-03-05 2000-12-13 Alternative Systems, Inc. Integrated hazardous substance tracking and compliance
CN106411937A (en) * 2016-11-15 2017-02-15 中国人民解放军信息工程大学 Mimicry defense architecture based zero-day attack detection, analysis and response system and method thereof
CN110460658A (en) * 2019-08-05 2019-11-15 上海拟态数据技术有限公司 A kind of distributed storage construction method based on mimicry construction
CN111314337A (en) * 2020-02-11 2020-06-19 之江实验室 Mimicry scheduling method based on credibility and credibility coefficient
CN111431946A (en) * 2020-06-10 2020-07-17 网络通信与安全紫金山实验室 Mimicry router execution body scheduling method and mimicry router
AU2020204526A1 (en) * 2001-06-29 2020-07-30 Meso Scale Technologies, Llc. Assay plates reader systems and methods for luminescence test measurements

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7516082B2 (en) * 2003-04-29 2009-04-07 Ecolab Inc. Scheduling delivery of chemical products based on a predicted estimated time of exhaustion
US8484068B2 (en) * 2005-12-14 2013-07-09 Crane Merchandising Systems, Inc. Method and system for evaluating consumer demand for multiple products and services at remotely located equipment
US8589625B2 (en) * 2010-09-15 2013-11-19 Pure Storage, Inc. Scheduling of reconstructive I/O read operations in a storage environment
US8801862B2 (en) * 2010-09-27 2014-08-12 General Electric Company Dishwasher auto hot start and DSM
US8855988B2 (en) * 2011-02-23 2014-10-07 Landmark Graphics Corporation Method and systems of determining viable hydraulic fracture scenarios
US9448276B2 (en) * 2012-04-11 2016-09-20 Advantest Corporation Creation and scheduling of a decision and execution tree of a test cell controller
US20180174078A1 (en) * 2016-12-19 2018-06-21 Mohannad Barakat Real-Time and On-Demand Scheduling System
US10521981B2 (en) * 2017-06-06 2019-12-31 Ge Aviation Systems Llc Vehicle wash assessment
CN109726843B (en) * 2017-10-30 2023-09-15 阿里巴巴集团控股有限公司 Method, device and terminal for predicting distribution data
CN110515819A (en) * 2019-08-27 2019-11-29 深圳市网心科技有限公司 Performance test methods, electronic equipment, scheduling system and medium
CN110569238B (en) * 2019-09-12 2023-03-24 成都中科大旗软件股份有限公司 Data management method, system, storage medium and server based on big data
CN111049677B (en) * 2019-11-27 2021-11-23 网络通信与安全紫金山实验室 Cleaning and recovering method and device for mimic switch heterogeneous execution body

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1058869A1 (en) * 1998-03-05 2000-12-13 Alternative Systems, Inc. Integrated hazardous substance tracking and compliance
AU2020204526A1 (en) * 2001-06-29 2020-07-30 Meso Scale Technologies, Llc. Assay plates reader systems and methods for luminescence test measurements
CN106411937A (en) * 2016-11-15 2017-02-15 中国人民解放军信息工程大学 Mimicry defense architecture based zero-day attack detection, analysis and response system and method thereof
CN110460658A (en) * 2019-08-05 2019-11-15 上海拟态数据技术有限公司 A kind of distributed storage construction method based on mimicry construction
CN111314337A (en) * 2020-02-11 2020-06-19 之江实验室 Mimicry scheduling method based on credibility and credibility coefficient
CN111431946A (en) * 2020-06-10 2020-07-17 网络通信与安全紫金山实验室 Mimicry router execution body scheduling method and mimicry router

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
拟态防御系统的时间自动机模型和验证;王婷;项露露;陈铁明;;小型微型计算机系统(第08期);全文 *

Also Published As

Publication number Publication date
CN112491905A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
Littlewood et al. Some conservative stopping rules for the operational testing of safety critical software
US8645769B2 (en) Operation management apparatus, operation management method, and program storage medium
CN108388489B (en) Server fault diagnosis method, system, equipment and storage medium
US20190220345A1 (en) Forecasting workload transaction response time
CN110618924B (en) Link pressure testing method of web application system
CN112115031A (en) Cluster state monitoring method and device
CN110377703A (en) Error information processing method, device and equipment
CN115509858A (en) Business system monitoring method and device, storage medium and computer equipment
JP6252309B2 (en) Monitoring omission identification processing program, monitoring omission identification processing method, and monitoring omission identification processing device
CN112491905B (en) Performance test method, device and system of network equipment
CN112804333B (en) Exception handling method, device and equipment for out-of-block node and storage medium
Trivedi et al. Achieving and assuring high availability
CN113688021B (en) Load balancing service processing method, device, equipment and readable storage medium
CN109493230A (en) A kind of amended record method and device of unilateral transaction
Buchholz et al. Markov modeling of availability and unavailability data
Tai et al. A performability-oriented software rejuvenation framework for distributed applications
Sun et al. Quantifying failure risk of version switch for rolling upgrade on clouds
CN110362464B (en) Software analysis method and equipment
CN112463444A (en) Data inconsistency repairing method and related device
JP2018028798A (en) Information processing apparatus and program
Yang et al. Analysis of instantaneous availability of communication system based on the influence of support equipment
CN113541979B (en) Fault dynamic prediction method and device based on time sequence data and computing equipment
CN108984285B (en) Data collision flow analysis method and device, storage medium and terminal
WO2024106174A1 (en) Fault analysis system and fault analysis method
Mondal et al. Defects per million (dpm) evaluation for a cloud dealing with vm failures using checkpointing

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