CN111950747A - Intelligent router automatic test system and method - Google Patents

Intelligent router automatic test system and method Download PDF

Info

Publication number
CN111950747A
CN111950747A CN202010888092.7A CN202010888092A CN111950747A CN 111950747 A CN111950747 A CN 111950747A CN 202010888092 A CN202010888092 A CN 202010888092A CN 111950747 A CN111950747 A CN 111950747A
Authority
CN
China
Prior art keywords
router
hardware
unqualified
qualified
marking
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
CN202010888092.7A
Other languages
Chinese (zh)
Other versions
CN111950747B (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 woxun Technology Industry Co.,Ltd.
Original Assignee
Guangzhou Wangyouyou Information Technology Development 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 Guangzhou Wangyouyou Information Technology Development Co ltd filed Critical Guangzhou Wangyouyou Information Technology Development Co ltd
Priority to CN202010888092.7A priority Critical patent/CN111950747B/en
Publication of CN111950747A publication Critical patent/CN111950747A/en
Application granted granted Critical
Publication of CN111950747B publication Critical patent/CN111950747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • G06Q10/063112Skill-based matching of a person or a group to a task
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages
    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Environmental & Geological Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Educational Administration (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an automatic testing system of an intelligent router, which comprises an electrical safety testing module, a hardware testing module, a software testing module, a registration logging module, a database, an alarm module, a maintenance distribution module and a performance testing module, wherein the electrical safety testing module is used for testing the electrical safety of the intelligent router; through electric safety test module, hardware test module, software test module and capability test module carry out comprehensive test to the router, can select unqualified router accurately effectively, and mark unqualified router, the efficiency of router test has been improved, and the router that is unqualified to the maintenance has brought the facility, can in time maintain unqualified router, maintenance personal can distinguish through the reference numeral when maintenance equipment, mark equipment mark is waiting to maintain equipment simultaneously, prevent a plurality of maintenance personal duplicate selection, the efficiency of maintenance has been improved.

Description

Intelligent router automatic test system and method
Technical Field
The invention relates to the technical field of router testing, in particular to an automatic testing system and method for an intelligent router.
Background
With the rapid development of the information industry, computer network technology is widely applied, computer networks have become an essential part in modern working life, routers are used as core devices of computer networks, and accordingly, the computer networks have wide application on the networks, high-end routers have become important telecommunication-level devices on public networks from enterprise-level devices, and with the gradual popularization of the internet and the increase of the importance of the high-end routers in life, the indexes of the routers, such as performance, function, safety, reliability and the like, become more and more important. Testing of routers is of importance and necessity.
However, in the prior art, the router cannot be comprehensively tested, and meanwhile, after a failed router is tested, corresponding maintenance personnel cannot be informed to maintain in time, and meanwhile, when the maintenance personnel maintain equipment, the same equipment is easily selected repeatedly, so that the maintenance efficiency is seriously influenced.
Disclosure of Invention
The invention aims to provide an automatic testing system and method for an intelligent router, which can accurately and effectively screen out unqualified routers and mark the unqualified routers by comprehensively testing the routers through an electrical safety testing module, a hardware testing module, a software testing module and a performance testing module, thereby improving the testing efficiency of the router and bringing convenience for maintaining the unqualified routers.
The purpose of the invention can be realized by the following technical scheme:
an automatic testing system of an intelligent router comprises an electrical safety testing module, a hardware testing module, a software testing module, a registration logging module, a database, an alarm module, a maintenance distribution module and a performance testing module;
the electrical safety testing module is used for testing circuit parameters of the router and marking the circuit parameters as electrical data, and comprises the following specific testing steps:
s1: acquiring the withstand voltage of the router, and marking the withstand voltage of the router as Ni, i-1.. n;
s2: acquiring the resistance value of an insulation resistor in the router, and marking the resistance value of the insulation resistor in the router as Zi, i is 1.. n;
s3: acquiring leakage current in a router, and marking the leakage current as Li, i-1.. n;
s4: by the formula
Figure BDA0002656139100000021
Acquiring an electrical safety factor Ai of the router, wherein beta is an error correction factor and is taken as 0.9856741, d1, d2 and d3 are preset proportionality coefficients, d1+ d2+ d3 are 1, and d1 is larger than d2 and larger than d 3;
s5: comparing the electrical safety factor Ai of the router with an electrical safety factor threshold value:
if the electrical safety coefficient Ai of the router is larger than or equal to the electrical safety coefficient threshold value, judging that the router is electrically qualified, generating an electrical qualified signal, sending the electrical qualified signal to a test platform, and marking the router as an electrically qualified router;
if the electrical safety coefficient Ai of the router is smaller than the electrical safety coefficient threshold value, judging that the router is electrically unqualified, generating an electrical unqualified signal, sending the electrical unqualified signal to a test platform, and marking the router as an electrically unqualified router;
the hardware testing module is used for testing hardware parameters of the router and marking the hardware parameters as hardware data, and the specific testing steps are as follows:
SS 1: acquiring the number of router interfaces, and marking the number of the router interfaces as Ki, wherein i is 1.. n;
SS 2: acquiring the number of available slots of a user on a router, and marking the number of the available slots of the user on the router as Ci, i being 1.. n;
SS 3: acquiring the port density of a router, and marking the port density as Mi, i-1.. n;
SS 4: by the formula
Figure BDA0002656139100000031
Acquiring a hardware qualified coefficient Qi of the router, wherein o, v and w are preset proportionality coefficients, o is greater than v and greater than w, o + v + w is 1, and e is a natural constant;
SS 5: comparing the hardware qualification coefficient Qi of the router with a hardware qualification coefficient threshold:
if the hardware qualification coefficient Qi of the router is larger than or equal to the hardware qualification coefficient threshold value, judging that the router hardware is qualified, generating a hardware qualification signal, sending the hardware qualification signal to a test platform, and marking the router as the hardware qualification router;
if the hardware qualification coefficient Qi of the router is smaller than the hardware qualification coefficient threshold, judging that the router hardware is unqualified, generating a hardware unqualified signal, sending the hardware unqualified signal to a test platform, and marking the router as a hardware unqualified router;
the software testing module is used for testing software capability data of the router, the software capability data comprises throughput and time delay of the router, the throughput of the router is represented as the limit of forwarding a packet by the router every second under the condition of no packet loss, the time delay is represented as the time interval from receiving the packet to forwarding the packet by the router in the throughput range, and the specific steps are as follows:
t1: setting a forwarding packet of the router per second as a function f (x), marking an interval where a zero point of the function f (x) is positioned as [ a, b ], satisfying f (a) f (b) < 0, and indicating that the forwarded data is lost if the function f (x) < 0;
t2: dividing the interval [ a, b ] into two parts, marking the obtained intervals as [ a, m ] and [ m, b ], taking out the [ a, m ] or [ m, b ] where the zero point is located according to f (a) f (b) less than 0, and still marking as [ a, b ];
t3: repeating the steps until the interval [ a, b ] containing the zero point reaches a preset range, wherein the number in the [ a, b ] is a limit value, if the limit value is greater than or equal to S1, the throughput of the router is judged to be qualified, otherwise, the router is marked as a router with unqualified throughput, and S1 is a limit value threshold;
t4: testing the time interval from receiving a packet to forwarding the packet by the router in a throughput range, recording the time interval twenty times, calculating the average value of the time interval, if the average value of the time interval is greater than or equal to S2, judging that the time delay of the router is qualified, otherwise, marking the router as a router with unqualified time delay, and S2 is a time interval threshold value;
t5: if the throughput and the time delay of the router are judged to be qualified, generating a software capability qualified signal, sending the software capability qualified signal to a test platform, and marking the router as a router with qualified software capability, otherwise, generating a software capability unqualified signal, sending the software capability unqualified signal to the test platform, and marking the router as a router with unqualified software capability;
the performance testing module is used for testing the performance of the router, the number of the users connected with the router reaches the maximum value, the connected users are downloaded simultaneously and work continuously for a week for 24 hours each day, the downloaded network speed and network speed fluctuation are recorded in real time, and if the network speed and the network speed fluctuation are within a preset range, the stability of the router is qualified; testing the time for recovering the normal work of the router after overload, sending a smaller value between the throughput of 110% and the line speed to the port of the router, recording the time interval from the time when the rate is reduced to 50% to the last packet loss time after the router lasts for 60 seconds, and if the time interval is within a preset range, determining that the reliability of the router is qualified; if the stability and the reliability of the router are both qualified, generating a performance qualified signal, sending the performance qualified signal to a test platform, and marking the equipment as a performance qualified router, otherwise, generating a performance unqualified signal, sending the performance unqualified signal to the test platform, and marking the equipment as a performance unqualified router;
the testing platform sends router numbers with qualified electrical, hardware, software capabilities and performances to a database for storage, and sends electrical unqualified signals, hardware unqualified signals, software capability unqualified signals and performance unqualified signals to an alarm module, the alarm module sends router numbers with unqualified electrical, hardware, software and performance to a maintenance distribution module, the maintenance distribution module sets the router with unqualified electrical with a number 1, sets the router with unqualified hardware with a number 2, sets the router with unqualified software or performance with a number 3, and sends the router numbers and the numbers to a mobile phone terminal of a maintenance worker in the form of short messages, the maintenance worker immediately selects the equipment numbers and the numbers to be maintained after receiving the short messages, and marks the equipment corresponding to the numbers and the numbers as equipment to be maintained, and the selected serial number and the selected label are sent to a database together, the equipment to be maintained is changed and marked as maintained equipment after maintenance is finished, and equipment which is not maintained with the corresponding label of the maintenance type of the maintenance personnel is selected again.
The system comprises a registration login module, a database and a database, wherein the registration login module is used for a tester and a maintainer to submit tester information and maintainer information through a mobile phone terminal to register and send the tester information and the maintainer information which are successfully registered to the database to be stored, the tester information comprises test type data and tester data, the test type data is represented as an electrical safety test, a hardware test and a software test, the tester data is represented as a tester name, an enrollment time and a mobile phone number for personal real name authentication, the maintainer information comprises maintenance type data and maintainer data, the maintenance type data comprises electrical maintenance, hardware maintenance and software maintenance, and the maintainer data is represented as a maintainer name, an enrollment time and a mobile phone number for personal real name authentication.
Further, the electrical data comprise the withstand voltage of the router, the resistance value of the insulation resistor and the leakage current, wherein the withstand voltage is represented by the maximum voltage which can be borne by the circuit in the router, and the leakage current is represented by the current value for leakage protection in the router.
Further, the hardware data includes the number of router interfaces, the number of user-available slots, and the port density, expressed as the number of ports per inch on the router.
An automatic testing method for an intelligent router comprises the following specific steps:
the method comprises the following steps: testing circuit parameters of the router, obtaining an electrical safety coefficient Ai of the router through a formula, comparing the electrical safety coefficient Ai of the router with an electrical safety coefficient threshold, if the electrical safety coefficient Ai of the router is larger than or equal to the electrical safety coefficient threshold, generating an electrical qualified signal, sending the electrical qualified signal to a test platform, and meanwhile, marking the router as the electrically qualified router; otherwise, generating an electrical unqualified signal and sending the electrical unqualified signal to the test platform, and marking the router as an electrical unqualified router;
step two: testing hardware parameters of the router, acquiring a hardware qualification coefficient Qi of the router through a formula, and comparing the hardware qualification coefficient Qi of the router with a hardware qualification coefficient threshold: if the hardware qualification coefficient Qi of the router is larger than or equal to the hardware qualification coefficient threshold value, judging that the router hardware is qualified, generating a hardware qualification signal, sending the hardware qualification signal to a test platform, and marking the router as the hardware qualification router; otherwise, generating a hardware unqualified signal and sending the hardware unqualified signal to the test platform, and simultaneously marking the router as the hardware unqualified router;
step three: testing software capability data of the router, if the throughput and the time delay of the router are judged to be qualified, generating a software capability qualified signal, sending the software capability qualified signal to a testing platform, and marking the router as a router with qualified software capability, otherwise, generating a software capability unqualified signal, sending the software capability unqualified signal to the testing platform, and marking the router as a router with unqualified software capability;
step four: testing the performance of the router, and if the network speed and the network speed fluctuation are within a preset range, determining that the stability of the router is qualified; if the time interval is within the preset range, the reliability of the router is qualified; if the stability and the reliability of the router are both qualified, generating a performance qualified signal, sending the performance qualified signal to a test platform, and marking the equipment as a performance qualified router, otherwise, generating a performance unqualified signal, sending the performance unqualified signal to the test platform, and marking the equipment as a performance unqualified router;
step five: the testing platform sends the router numbers with qualified electrical, hardware, software capabilities and performance to the database for storage, and sends electrical disqualification signals, hardware disqualification signals, software capability disqualification signals and performance disqualification signals to the alarm module, the alarm module sends the router numbers with unqualified electrical, hardware disqualification, software capability disqualification and performance to the maintenance distribution module, and the maintenance distribution module performs maintenance for corresponding equipment by distribution personnel.
Compared with the prior art, the invention has the beneficial effects that:
1. the router is comprehensively tested through the electric safety testing module, the hardware testing module, the software testing module and the performance testing module, unqualified routers can be accurately and effectively screened out, the unqualified routers are marked, the router testing efficiency is improved, and convenience is brought to maintenance of unqualified routers;
2. the router numbers with unqualified electrical, unqualified hardware, unqualified software capability and unqualified performance are sent to a maintenance distribution module through an alarm module, the maintenance distribution module carries out maintenance on corresponding equipment by distribution personnel, the router with unqualified electrical is set with a number 1, the router with unqualified hardware is set with a number 2, the router with unqualified software capability or unqualified performance is set with a number 3, the numbers and the numbers of the routers are sent to a mobile phone terminal of maintenance personnel in a short message mode, the maintenance personnel immediately selects the numbers and the numbers of the equipment to be maintained after receiving the short message, the equipment with the corresponding numbers and the numbers is marked as equipment to be maintained, the selected numbers and the numbers are sent to a database together, the equipment to be maintained is changed and marked as maintained equipment after the maintenance is finished, and the equipment with the corresponding number of the maintenance type of maintenance personnel and the maintenance type of the equipment which is not maintained, can in time maintain unqualified router, maintenance personal can distinguish through the reference numeral when the maintenance equipment, marks equipment mark as the equipment of waiting to maintain simultaneously, prevents a plurality of maintenance personal duplicate selection, has improved the efficiency of maintenance.
Drawings
In order to facilitate understanding for those skilled in the art, the present invention will be further described with reference to the accompanying drawings.
Fig. 1 is a schematic block diagram of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood 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, an automatic testing system and method for an intelligent router includes an electrical safety testing module, a hardware testing module, a software testing module, a registration logging module, a database, an alarm module, a maintenance distribution module, and a performance testing module;
the system comprises a registration login module, a database and a database, wherein the registration login module is used for a tester and a maintainer to submit tester information and maintainer information to register through a mobile phone terminal and send the tester information and the maintainer information which are successfully registered to the database for storage, the tester information comprises test type data and tester data, the test type data is represented as an electrical safety test, a hardware test and a software test, the tester data is represented as the name, the time of entry and the mobile phone number of real name authentication of the tester, the maintainer information comprises the maintenance type data and the maintainer data, the maintenance type data comprises electrical maintenance, hardware maintenance and software maintenance, and the maintainer data is represented as the name, the time of entry and the mobile phone number of real name authentication of the person;
the electric safety test module is used for testing circuit parameters of the router and marking the circuit parameters as electric data, the electric data comprise withstand voltage of the router, resistance of an insulation resistor and leakage current, the withstand voltage represents the maximum voltage which can be borne by a circuit in the router, the leakage current represents the current value for leakage protection in the router, and the specific test steps are as follows:
s1: acquiring the withstand voltage of the router, and marking the withstand voltage of the router as Ni, i-1.. n;
s2: acquiring the resistance value of an insulation resistor in the router, and marking the resistance value of the insulation resistor in the router as Zi, i is 1.. n;
s3: acquiring leakage current in a router, and marking the leakage current as Li, i-1.. n;
s4: by the formula
Figure BDA0002656139100000081
Acquiring an electrical safety factor Ai of the router, wherein beta is an error correction factor and is taken as 0.9856741, d1, d2 and d3 are preset proportionality coefficients, d1+ d2+ d3 are 1, and d1 is larger than d2 and larger than d 3;
s5: comparing the electrical safety factor Ai of the router with an electrical safety factor threshold value:
if the electrical safety coefficient Ai of the router is larger than or equal to the electrical safety coefficient threshold value, judging that the router is electrically qualified, generating an electrical qualified signal, sending the electrical qualified signal to a test platform, and marking the router as an electrically qualified router;
if the electrical safety coefficient Ai of the router is smaller than the electrical safety coefficient threshold value, judging that the router is electrically unqualified, generating an electrical unqualified signal, sending the electrical unqualified signal to a test platform, and marking the router as an electrically unqualified router;
the hardware testing module is used for testing hardware parameters of the router and marking the hardware parameters as hardware data, the hardware data comprises the number of router interfaces, the number of available slots for users and port density, the port density is expressed as the number of ports per inch on the router, and the specific testing steps are as follows:
SS 1: acquiring the number of router interfaces, and marking the number of the router interfaces as Ki, wherein i is 1.. n;
SS 2: acquiring the number of available slots of a user on a router, and marking the number of the available slots of the user on the router as Ci, i being 1.. n;
SS 3: acquiring the port density of a router, and marking the port density as Mi, i-1.. n;
SS 4: by the formula
Figure BDA0002656139100000091
Acquiring a hardware qualified coefficient Qi of the router, wherein o, v and w are preset proportionality coefficients, o is greater than v and greater than w, o + v + w is 1, and e is a natural constant;
SS 5: comparing the hardware qualification coefficient Qi of the router with a hardware qualification coefficient threshold:
if the hardware qualification coefficient Qi of the router is larger than or equal to the hardware qualification coefficient threshold value, judging that the router hardware is qualified, generating a hardware qualification signal, sending the hardware qualification signal to a test platform, and marking the router as the hardware qualification router;
if the hardware qualification coefficient Qi of the router is smaller than the hardware qualification coefficient threshold, judging that the router hardware is unqualified, generating a hardware unqualified signal, sending the hardware unqualified signal to a test platform, and marking the router as a hardware unqualified router;
the software testing module is used for testing software capability data of the router, the software capability data comprises throughput and time delay of the router, the throughput of the router is represented as the limit of forwarding a packet by the router every second under the condition of no packet loss, the time delay is represented as the time interval from receiving the packet to forwarding the packet by the router in the throughput range, and the specific steps are as follows:
t1: setting a forwarding packet of the router per second as a function f (x), marking an interval where a zero point of the function f (x) is positioned as [ a, b ], satisfying f (a) f (b) < 0, and indicating that the forwarded data is lost if the function f (x) < 0;
t2: dividing the interval [ a, b ] into two parts, marking the obtained intervals as [ a, m ] and [ m, b ], taking out the [ a, m ] or [ m, b ] where the zero point is located according to f (a) f (b) less than 0, and still marking as [ a, b ];
t3: repeating the steps until the interval [ a, b ] containing the zero point reaches a preset range, wherein the number in the [ a, b ] is a limit value, if the limit value is greater than or equal to S1, the throughput of the router is judged to be qualified, otherwise, the router is marked as a router with unqualified throughput, and S1 is a limit value threshold;
t4: testing the time interval from receiving a packet to forwarding the packet by the router in a throughput range, recording the time interval twenty times, calculating the average value of the time interval, if the average value of the time interval is greater than or equal to S2, judging that the time delay of the router is qualified, otherwise, marking the router as a router with unqualified time delay, and S2 is a time interval threshold value;
t5: if the throughput and the time delay of the router are judged to be qualified, generating a software capability qualified signal, sending the software capability qualified signal to a test platform, and marking the router as a router with qualified software capability, otherwise, generating a software capability unqualified signal, sending the software capability unqualified signal to the test platform, and marking the router as a router with unqualified software capability;
the performance testing module is used for testing the performance of the router, the number of the users connected with the router reaches the maximum value, the connected users are downloaded simultaneously and work continuously for a week for 24 hours each day, the downloaded network speed and network speed fluctuation are recorded in real time, and if the network speed and the network speed fluctuation are within a preset range, the stability of the router is qualified; testing the time for recovering the normal work of the router after overload, sending a smaller value between the throughput of 110% and the line speed to the port of the router, recording the time interval from the time when the rate is reduced to 50% to the last packet loss time after the router lasts for 60 seconds, and if the time interval is within a preset range, determining that the reliability of the router is qualified; if the stability and the reliability of the router are both qualified, generating a performance qualified signal, sending the performance qualified signal to a test platform, and marking the equipment as a performance qualified router, otherwise, generating a performance unqualified signal, sending the performance unqualified signal to the test platform, and marking the equipment as a performance unqualified router;
the testing platform sends router numbers with qualified electrical, hardware, software capabilities and performances to a database for storage, and sends electrical unqualified signals, hardware unqualified signals, software capability unqualified signals and performance unqualified signals to an alarm module, the alarm module sends router numbers with unqualified electrical, hardware, software and performance to a maintenance distribution module, the maintenance distribution module sets the router with unqualified electrical with a number 1, sets the router with unqualified hardware with a number 2, sets the router with unqualified software or performance with a number 3, and sends the router numbers and the numbers to a mobile phone terminal of a maintenance worker in the form of short messages, the maintenance worker immediately selects the equipment numbers and the numbers to be maintained after receiving the short messages, and marks the equipment corresponding to the numbers and the numbers as equipment to be maintained, and the selected serial number and the selected label are sent to a database together, the equipment to be maintained is changed and marked as maintained equipment after maintenance is finished, and equipment which is not maintained with the corresponding label of the maintenance type of the maintenance personnel is selected again.
The environment testing module is used for testing the placement environment of the router, increasing the ambient temperature around the router in real time, calculating and recording the highest limit temperature on the premise of not influencing the operation of equipment, reducing the ambient temperature around the router in real time, calculating and recording the lowest limit temperature on the premise of not influencing the operation of the equipment, increasing the humidity of the ambient environment around the router in real time, calculating and recording the highest limit humidity on the premise of not influencing the operation of the equipment, judging that the environment test of the router is qualified when the highest limit temperature, the lowest limit temperature and the highest limit humidity of the tested router are all larger than preset values, marking the router as a qualified router for the environment test, sending the serial number of the router to a database for storage, otherwise, judging that the environment test of the router is unqualified, and marking the router as an unqualified router for the environment test, and sends the serial number of the router to the alarm module.
The working principle of the invention is as follows:
testing circuit parameters of the router through the electrical safety testing module, obtaining an electrical safety coefficient Ai of the router through a formula, if the electrical safety coefficient Ai of the router is larger than or equal to an electrical safety coefficient threshold value, generating an electrical qualified signal, sending the electrical qualified signal to the testing platform, and meanwhile, marking the router as the electrical qualified router; otherwise, generating an electrical unqualified signal and sending the electrical unqualified signal to the test platform, and marking the router as an electrical unqualified router; testing hardware parameters of the router through a hardware testing module, obtaining a hardware qualification coefficient Qi of the router through a formula, and comparing the hardware qualification coefficient Qi of the router with a hardware qualification coefficient threshold value: judging that the router hardware is qualified, generating a hardware qualified signal, sending the hardware qualified signal to a test platform, and marking the router as a hardware qualified router; otherwise, generating a hardware unqualified signal and sending the hardware unqualified signal to the test platform, and simultaneously marking the router as the hardware unqualified router; testing software capability data of the router through a software testing module, if the throughput and the time delay of the router are judged to be qualified, generating a software capability qualified signal, sending the software capability qualified signal to a testing platform, and marking the router as a router with qualified software capability, otherwise, generating a software capability unqualified signal, sending the software capability unqualified signal to the testing platform, and marking the router as a router with unqualified software capability; testing the performance of the router through a performance testing module, if the stability and the reliability of the router are both qualified, generating a performance qualified signal, sending the performance qualified signal to a testing platform, and marking the equipment as a performance qualified router, otherwise, generating a performance unqualified signal, sending the performance unqualified signal to the testing platform, and marking the equipment as a performance unqualified router; the router numbers with qualified electrical, hardware, software capabilities and performances are sent to a database through a test platform to be stored, meanwhile, electrical unqualified signals, hardware unqualified signals, software capability unqualified signals and performance unqualified signals are sent to an alarm module, the alarm module sends the router numbers with unqualified electrical, hardware unqualified, software capability unqualified and performance unqualified signals to a maintenance distribution module, and the maintenance distribution module carries out maintenance on corresponding equipment by distribution personnel.
The above formulas are all quantitative calculation, the formula is a formula obtained by acquiring a large amount of data and performing software simulation to obtain the latest real situation, and the preset parameters in the formula are set by the technical personnel in the field according to the actual situation.
The foregoing is merely exemplary and illustrative of the present invention and various modifications, additions and substitutions may be made by those skilled in the art to the specific embodiments described without departing from the scope of the invention as defined in the following claims.

Claims (5)

1. An automatic testing system of an intelligent router is characterized by comprising an electrical safety testing module, a hardware testing module, a software testing module, a registration logging module, a database, an alarm module, a maintenance distribution module and a performance testing module;
the electrical safety testing module is used for testing circuit parameters of the router and marking the circuit parameters as electrical data, and comprises the following specific testing steps:
s1: acquiring the withstand voltage of the router, and marking the withstand voltage of the router as Ni, i-1.. n;
s2: acquiring the resistance value of an insulation resistor in the router, and marking the resistance value of the insulation resistor in the router as Zi, i is 1.. n;
s3: acquiring leakage current in a router, and marking the leakage current as Li, i-1.. n;
s4: by the formula
Figure FDA0002656139090000011
Acquiring an electrical safety factor Ai of the router, wherein beta is an error correction factor and is taken as 0.9856741, d1, d2 and d3 are preset proportionality coefficients, d1+ d2+ d3 are 1, and d1 is larger than d2 and larger than d 3;
s5: comparing the electrical safety factor Ai of the router with an electrical safety factor threshold value:
if the electrical safety coefficient Ai of the router is larger than or equal to the electrical safety coefficient threshold value, judging that the router is electrically qualified, generating an electrical qualified signal, sending the electrical qualified signal to a test platform, and marking the router as an electrically qualified router;
if the electrical safety coefficient Ai of the router is smaller than the electrical safety coefficient threshold value, judging that the router is electrically unqualified, generating an electrical unqualified signal, sending the electrical unqualified signal to a test platform, and marking the router as an electrically unqualified router;
the hardware testing module is used for testing hardware parameters of the router and marking the hardware parameters as hardware data, and the specific testing steps are as follows:
SS 1: acquiring the number of router interfaces, and marking the number of the router interfaces as Ki, wherein i is 1.. n;
SS 2: acquiring the number of available slots of a user on a router, and marking the number of the available slots of the user on the router as Ci, i being 1.. n;
SS 3: acquiring the port density of a router, and marking the port density as Mi, i-1.. n;
SS 4: by the formula
Figure FDA0002656139090000021
Acquiring a hardware qualified coefficient Qi of the router, wherein o, v and w are preset proportionality coefficients, o is greater than v and greater than w, o + v + w is 1, and e is a natural constant;
SS 5: comparing the hardware qualification coefficient Qi of the router with a hardware qualification coefficient threshold:
if the hardware qualification coefficient Qi of the router is larger than or equal to the hardware qualification coefficient threshold value, judging that the router hardware is qualified, generating a hardware qualification signal, sending the hardware qualification signal to a test platform, and marking the router as the hardware qualification router;
if the hardware qualification coefficient Qi of the router is smaller than the hardware qualification coefficient threshold, judging that the router hardware is unqualified, generating a hardware unqualified signal, sending the hardware unqualified signal to a test platform, and marking the router as a hardware unqualified router;
the software testing module is used for testing software capability data of the router, the software capability data comprises throughput and time delay of the router, the throughput of the router is represented as the limit of forwarding a packet by the router every second under the condition of no packet loss, the time delay is represented as the time interval from receiving the packet to forwarding the packet by the router in the throughput range, and the specific steps are as follows:
t1: setting a forwarding packet of the router per second as a function f (x), marking an interval where a zero point of the function f (x) is positioned as [ a, b ], satisfying f (a) f (b) < 0, and indicating that the forwarded data is lost if the function f (x) < 0;
t2: dividing the interval [ a, b ] into two parts, marking the obtained intervals as [ a, m ] and [ m, b ], taking out the [ a, m ] or [ m, b ] where the zero point is located according to f (a) f (b) less than 0, and still marking as [ a, b ];
t3: repeating the steps until the interval [ a, b ] containing the zero point reaches a preset range, wherein the number in the [ a, b ] is a limit value, if the limit value is greater than or equal to S1, the throughput of the router is judged to be qualified, otherwise, the router is marked as a router with unqualified throughput, and S1 is a limit value threshold;
t4: testing the time interval from receiving a packet to forwarding the packet by the router in a throughput range, recording the time interval twenty times, calculating the average value of the time interval, if the average value of the time interval is greater than or equal to S2, judging that the time delay of the router is qualified, otherwise, marking the router as a router with unqualified time delay, and S2 is a time interval threshold value;
t5: if the throughput and the time delay of the router are judged to be qualified, generating a software capability qualified signal, sending the software capability qualified signal to a test platform, and marking the router as a router with qualified software capability, otherwise, generating a software capability unqualified signal, sending the software capability unqualified signal to the test platform, and marking the router as a router with unqualified software capability;
the performance testing module is used for testing the performance of the router, the number of the users connected with the router reaches the maximum value, the connected users are downloaded simultaneously and work continuously for a week for 24 hours each day, the downloaded network speed and network speed fluctuation are recorded in real time, and if the network speed and the network speed fluctuation are within a preset range, the stability of the router is qualified; testing the time for recovering the normal work of the router after overload, sending a smaller value between the throughput of 110% and the line speed to the port of the router, recording the time interval from the time when the rate is reduced to 50% to the last packet loss time after the router lasts for 60 seconds, and if the time interval is within a preset range, determining that the reliability of the router is qualified; if the stability and the reliability of the router are both qualified, generating a performance qualified signal, sending the performance qualified signal to a test platform, and marking the equipment as a performance qualified router, otherwise, generating a performance unqualified signal, sending the performance unqualified signal to the test platform, and marking the equipment as a performance unqualified router;
the testing platform sends router numbers with qualified electrical, hardware, software capabilities and performances to a database for storage, and sends electrical unqualified signals, hardware unqualified signals, software capability unqualified signals and performance unqualified signals to an alarm module, the alarm module sends router numbers with unqualified electrical, hardware, software and performance to a maintenance distribution module, the maintenance distribution module sets the router with unqualified electrical with a number 1, sets the router with unqualified hardware with a number 2, sets the router with unqualified software or performance with a number 3, and sends the router numbers and the numbers to a mobile phone terminal of a maintenance worker in the form of short messages, the maintenance worker immediately selects the equipment numbers and the numbers to be maintained after receiving the short messages, and marks the equipment corresponding to the numbers and the numbers as equipment to be maintained, and the selected serial number and the selected label are sent to a database together, the equipment to be maintained is changed and marked as maintained equipment after maintenance is finished, and equipment which is not maintained with the corresponding label of the maintenance type of the maintenance personnel is selected again.
2. The intelligent router automation test system of claim 1, the registration login module is used for a tester and a maintainer to submit tester information and maintainer information to register through a mobile phone terminal and send the tester information and the maintainer information which are successfully registered to a database for storage, the tester information comprises test type data and tester data, the test type data is represented as an electrical safety test, a hardware test and a software test, the tester data is represented as the name, the time of entry and the mobile phone number of real name authentication of the tester, the maintainer information comprises the maintenance type data and the maintainer data, the maintenance type data comprises electrical maintenance, hardware maintenance and software maintenance, and the maintainer data is represented as the name, the time of entry and the mobile phone number of real name authentication of the person.
3. The intelligent router automation test system of claim 1, wherein the electrical data comprises a withstand voltage of the router, the resistance value of the insulation resistor and the leakage current, the withstand voltage is represented by the maximum voltage that the circuit in the router can withstand, and the leakage current is represented by the current value for leakage protection in the router.
4. The intelligent router automation test system of claim 1 wherein the hardware data includes a number of router interfaces, a number of user available slots, and a port density expressed as ports per inch on the router.
5. An automatic testing method for an intelligent router is characterized by comprising the following specific steps:
the method comprises the following steps: testing circuit parameters of the router, obtaining an electrical safety coefficient Ai of the router through a formula, comparing the electrical safety coefficient Ai of the router with an electrical safety coefficient threshold, if the electrical safety coefficient Ai of the router is larger than or equal to the electrical safety coefficient threshold, generating an electrical qualified signal, sending the electrical qualified signal to a test platform, and meanwhile, marking the router as the electrically qualified router; otherwise, generating an electrical unqualified signal and sending the electrical unqualified signal to the test platform, and marking the router as an electrical unqualified router;
step two: testing hardware parameters of the router, acquiring a hardware qualification coefficient Qi of the router through a formula, and comparing the hardware qualification coefficient Qi of the router with a hardware qualification coefficient threshold: if the hardware qualification coefficient Qi of the router is larger than or equal to the hardware qualification coefficient threshold value, judging that the router hardware is qualified, generating a hardware qualification signal, sending the hardware qualification signal to a test platform, and marking the router as the hardware qualification router; otherwise, generating a hardware unqualified signal and sending the hardware unqualified signal to the test platform, and simultaneously marking the router as the hardware unqualified router;
step three: testing software capability data of the router, if the throughput and the time delay of the router are judged to be qualified, generating a software capability qualified signal, sending the software capability qualified signal to a testing platform, and marking the router as a router with qualified software capability, otherwise, generating a software capability unqualified signal, sending the software capability unqualified signal to the testing platform, and marking the router as a router with unqualified software capability;
step four: testing the performance of the router, and if the network speed and the network speed fluctuation are within a preset range, determining that the stability of the router is qualified; if the time interval is within the preset range, the reliability of the router is qualified; if the stability and the reliability of the router are both qualified, generating a performance qualified signal, sending the performance qualified signal to a test platform, and marking the equipment as a performance qualified router, otherwise, generating a performance unqualified signal, sending the performance unqualified signal to the test platform, and marking the equipment as a performance unqualified router;
step five: the testing platform sends the router numbers with qualified electrical, hardware, software capabilities and performance to the database for storage, and sends electrical disqualification signals, hardware disqualification signals, software capability disqualification signals and performance disqualification signals to the alarm module, the alarm module sends the router numbers with unqualified electrical, hardware disqualification, software capability disqualification and performance to the maintenance distribution module, and the maintenance distribution module performs maintenance for corresponding equipment by distribution personnel.
CN202010888092.7A 2020-08-28 2020-08-28 Intelligent router automatic test system and method Active CN111950747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010888092.7A CN111950747B (en) 2020-08-28 2020-08-28 Intelligent router automatic test system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010888092.7A CN111950747B (en) 2020-08-28 2020-08-28 Intelligent router automatic test system and method

Publications (2)

Publication Number Publication Date
CN111950747A true CN111950747A (en) 2020-11-17
CN111950747B CN111950747B (en) 2022-03-18

Family

ID=73366781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010888092.7A Active CN111950747B (en) 2020-08-28 2020-08-28 Intelligent router automatic test system and method

Country Status (1)

Country Link
CN (1) CN111950747B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115396351A (en) * 2022-08-25 2022-11-25 广东省高峰科技有限公司 Automatic router test method, device, equipment and storage medium
CN117749655A (en) * 2024-02-21 2024-03-22 深圳市通恒伟创科技有限公司 Router performance detection method based on 5G network
CN118501172A (en) * 2024-05-13 2024-08-16 昆山市原来塑胶有限公司 Router shell detecting system based on image detection
CN118688407A (en) * 2024-08-23 2024-09-24 江苏盛捷半导体材料有限公司 Multidimensional performance test system suitable for semiconductor material processing

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075965A (en) * 2009-11-24 2011-05-25 中国移动通信集团天津有限公司 Mobile terminal performance evaluation method and device
CN103513174A (en) * 2012-06-15 2014-01-15 鸿富锦精密工业(深圳)有限公司 Intelligent test system and method
CN104092583A (en) * 2014-07-14 2014-10-08 杭州东信北邮信息技术有限公司 Automated test method and system for intelligent router
WO2016019662A1 (en) * 2014-08-04 2016-02-11 国家电网公司 Closed loop test system for monitoring host of intelligent substation and test method therefor
CN106452975A (en) * 2016-11-18 2017-02-22 上海斐讯数据通信技术有限公司 Method and system for testing router
CN107864067A (en) * 2017-10-23 2018-03-30 上海斐讯数据通信技术有限公司 A kind of method and system of test router compatibility
CN110166319A (en) * 2019-05-24 2019-08-23 温州易思网络科技有限公司 A kind of network equipment parameter collecting method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075965A (en) * 2009-11-24 2011-05-25 中国移动通信集团天津有限公司 Mobile terminal performance evaluation method and device
CN103513174A (en) * 2012-06-15 2014-01-15 鸿富锦精密工业(深圳)有限公司 Intelligent test system and method
CN104092583A (en) * 2014-07-14 2014-10-08 杭州东信北邮信息技术有限公司 Automated test method and system for intelligent router
WO2016019662A1 (en) * 2014-08-04 2016-02-11 国家电网公司 Closed loop test system for monitoring host of intelligent substation and test method therefor
CN106452975A (en) * 2016-11-18 2017-02-22 上海斐讯数据通信技术有限公司 Method and system for testing router
CN107864067A (en) * 2017-10-23 2018-03-30 上海斐讯数据通信技术有限公司 A kind of method and system of test router compatibility
CN110166319A (en) * 2019-05-24 2019-08-23 温州易思网络科技有限公司 A kind of network equipment parameter collecting method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115396351A (en) * 2022-08-25 2022-11-25 广东省高峰科技有限公司 Automatic router test method, device, equipment and storage medium
CN115396351B (en) * 2022-08-25 2024-04-30 广东省高峰科技有限公司 Automatic router testing method, device, equipment and storage medium
CN117749655A (en) * 2024-02-21 2024-03-22 深圳市通恒伟创科技有限公司 Router performance detection method based on 5G network
CN117749655B (en) * 2024-02-21 2024-05-14 深圳市通恒伟创科技有限公司 Router performance detection method based on 5G network
CN118501172A (en) * 2024-05-13 2024-08-16 昆山市原来塑胶有限公司 Router shell detecting system based on image detection
CN118688407A (en) * 2024-08-23 2024-09-24 江苏盛捷半导体材料有限公司 Multidimensional performance test system suitable for semiconductor material processing

Also Published As

Publication number Publication date
CN111950747B (en) 2022-03-18

Similar Documents

Publication Publication Date Title
CN111950747B (en) Intelligent router automatic test system and method
CN114977483B (en) Fault diagnosis system for intelligent power grid regulation control equipment
CN105471647B (en) A kind of power communication network fault positioning method
WO2019137052A1 (en) Method and device for network operation and maintenance
CN108111361A (en) Transmission network fault locating analysis method and system based on big data analysis
CN112214577A (en) Target user determination method, device, equipment and computer storage medium
CN113835417A (en) Fault detection and diagnosis method based on 5G communication network
CN114779878B (en) System and method for calculating simulation step length time of power system
US6944448B1 (en) Method for the automated analysis of a mobile radio telephone system
CN115372694A (en) Non-technical loss detection method for power distribution system, electronic device, and storage medium
CN112101435B (en) Abnormal connection diagnosis method for distribution network equipment in energy Internet
CN114444096A (en) Network data storage encryption detection system based on data analysis
CN113791306A (en) Power distribution network fault processing system and method based on data acquisition
CN113660009A (en) Testing system and testing method for power distribution and utilization communication
CN117348557B (en) Automatic control system and control method
CN116542655B (en) Event tree-based power transformation equipment fault mechanism deduction method
CN115996259B (en) Smart phone communication test system based on communication monitoring technology
CN111565124A (en) Topology analysis method and device
CN116723089A (en) Meter reading link fault positioning method based on Internet of things
CN111490991A (en) Multiple server connection request system and method based on communication equipment
CN117082462A (en) Health monitoring system of short message platform
CN111614083B (en) Big data analysis method suitable for 400V power supply network topology identification
CN113645101A (en) Automatic verification method for CSD link of intelligent substation switch
CN114125685A (en) Data processing system for running of Bluetooth headset antenna based on internet
CN118014564B (en) Power equipment fault diagnosis system and method based on data driving

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
TA01 Transfer of patent application right

Effective date of registration: 20220228

Address after: 518000 403a, block B, Huayuan city digital building, 1079 Nanhai Avenue, Yanshan community, merchants street, Nanshan District, Shenzhen, Guangdong Province

Applicant after: Shenzhen Hongtai Shenghe Technology Co.,Ltd.

Address before: 510000 402, 4th floor, No.7 Fengyuan street, Shipai West Road, Tianhe District, Guangzhou City, Guangdong Province

Applicant before: Guangzhou wangyouyou Information Technology Development Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220728

Address after: 518051 403a, block B, huayuancheng digital building, No. 1079, Nanhai Avenue, Yanshan community, merchants street, Nanshan District, Shenzhen, Guangdong Province

Patentee after: Shenzhen woxun Technology Industry Co.,Ltd.

Address before: 518000 403a, block B, Huayuan city digital building, 1079 Nanhai Avenue, Yanshan community, merchants street, Nanshan District, Shenzhen, Guangdong Province

Patentee before: Shenzhen Hongtai Shenghe Technology Co.,Ltd.

TR01 Transfer of patent right