CN113542020A - Configuration method of switch product detection function test item - Google Patents
Configuration method of switch product detection function test item Download PDFInfo
- Publication number
- CN113542020A CN113542020A CN202110752627.2A CN202110752627A CN113542020A CN 113542020 A CN113542020 A CN 113542020A CN 202110752627 A CN202110752627 A CN 202110752627A CN 113542020 A CN113542020 A CN 113542020A
- Authority
- CN
- China
- Prior art keywords
- test
- automatic detection
- automatic
- menu
- item list
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/12—Network monitoring probes
Abstract
The invention relates to a configuration method of a detection function test item of a switch product, which comprises the following steps: step one, electrifying a switch, and detecting whether a system is in an automatic detection mode; step two, if the system is not in the automatic detection mode, the system starts a menu instruction, enters the automatic detection menu, configures the automatic detection mode to be started or closed, configures the automatic detection test items, the cycle test times and the test interval time, and stores the test items in a manual configuration test item list; then, returning to the step one, detecting whether the system is in the automatic detection mode again; if the system is in an automatic detection mode, the system checks the driving equipment, automatically configures detection function parameters and adds the detection function parameters into an automatic identification test item list, and the like; the invention can adapt to a plurality of switch products with different forms, reduces the repeated updating iteration times of the software version caused by not adapting to different testing requirements, saves time, improves efficiency and reduces the production testing cost.
Description
Technical Field
The invention belongs to the field of switch detection, and particularly relates to a configuration method of a switch product detection function test item.
Background
The production of the managed switch relates to a plurality of test items, particularly automatic detection, the automatic detection function is relatively more automatic, if the automation degree is not enough, personnel and equipment are accessed too much, the automatic detection efficiency is very low, and the production test cost is increased. The existing management type switch has various product models and high updating iteration speed, and different main chips have different requirements on test items and parameters of the test items during automatic detection, so that adaptive automatic detection software needs to be developed for switches of all models and after updating iteration of the switches to automatically detect the switches, so that the working period is long, and the efficiency is low.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provides a configuration method of a detection function test item of an exchanger product, which can be suitable for a plurality of exchanger products in different forms.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a configuration method for detecting functional test items of a switch product comprises the following steps:
step one, electrifying a switch, and detecting whether a system is in an automatic detection mode;
step two, if the system is not in the automatic detection mode, the system starts a menu instruction, enters an automatic detection menu, configures an opening or closing automatic detection mode, configures automatic detection test items, circulating test times and test interval time, and stores the automatic detection test items, the circulating test times and the test interval time in a manual configuration test item list; then, returning to the step one, restarting the equipment, and detecting whether the system is in the automatic detection mode again;
if the system is in an automatic detection mode, the system checks the driving equipment, automatically configures detection function parameters according to the characteristics of different driving equipment and adds the detection function parameters into an automatic identification test item list;
step three, comparing a manual configuration test item list with an automatic identification test item list by the system, merging the same test items, and adding different test items and the merged test items into an automatic detection list by taking the test parameters in the manual configuration test item list as the standard when the test parameters in the manual configuration test item list are different from the test parameters in the automatic identification test item list;
step four, executing automatic detection according to an automatic detection list, and storing an automatic detection result to a flash;
further, the configuration method further comprises a fifth step of executing automatic detection according to an automatic detection list, if the detection result is abnormal in test and the flow test is abnormal in port, centralizing the problem equipment, and then performing flow test in a convergence mode to check the specific abnormal port; or logging in the Switch equipment, checking the test result of the aging flow by using a command, and determining the port with the abnormality.
Further, the menu instruction includes a manual test menu, a configuration automatic detection menu, a manufacturing information read-write menu, and the like.
Compared with the prior art, the invention has the beneficial effects that:
the invention realizes flexible automatic detection function by adding the test items required by manual preparation and automatic identification in automatic detection, and adding the interface driven by the automatic identification system into the test item of the automatic detection function, thereby not only being suitable for a plurality of switch products with different forms, but also reducing the repeated update iteration times of software versions caused by not being suitable for different test requirements, saving time, improving efficiency and reducing production and test cost. The added function of manually preparing the test items can adapt to different test requirements, and the switches of different styles (based on the same main chip) can be tested by using the same software, thereby greatly improving the test efficiency.
Drawings
FIG. 1 is a flow chart of manually formulating an automated test protocol in accordance with an embodiment of the present invention;
FIG. 2 is a flow diagram of automatically identifying test items in accordance with an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. 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.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The present invention will be described in further detail with reference to the accompanying drawings.
An embodiment of a configuration method for detecting functional test items of a switch product according to the present invention as shown in fig. 1 includes:
step one, electrifying a switch, and detecting whether a system is in an automatic detection mode;
step two, if the system is not in the automatic detection mode, the system starts a menu instruction, including a manual test menu, an automatic detection configuration menu, a manufacturing information reading and writing menu and the like, enters the automatic detection menu, configures the opening or closing of the automatic detection mode, configures automatic detection test items, cycle test times and test interval time, and stores the automatic detection test items, the cycle test times and the test interval time into a manual configuration test item list; then, returning to the step one, restarting the equipment, and detecting whether the system is in the automatic detection mode again;
if the system is in an automatic detection mode, the system checks the driving equipment, automatically configures detection function parameters according to the characteristics of different driving equipment and adds the detection function parameters into an automatic identification test item list;
step three, comparing a manual configuration test item list with an automatic identification test item list by the system, merging the same test items, and adding different test items and the merged test items into an automatic detection list by taking the test parameters in the manual configuration test item list as the standard when the test parameters in the manual configuration test item list are different from the test parameters in the automatic identification test item list;
step four, executing automatic detection according to an automatic detection list, and storing an automatic detection result to a flash;
fifthly, executing automatic detection according to an automatic detection list, if the detection result is abnormal in test and the streaming test is abnormal in port, centralizing the problem equipment, and then performing streaming by using a convergence mode to check the specific abnormal port; or logging in the Switch equipment, checking the test result of the aging flow by using a command, and determining the port with the abnormality.
The invention realizes flexible automatic detection function by adding the test items required by manual preparation and automatic identification in automatic detection, and adding the interface driven by the automatic identification system into the test item of the automatic detection function, thereby not only being suitable for a plurality of switch products with different forms, but also reducing the repeated update iteration times of software versions caused by not being suitable for different test requirements, saving time, improving efficiency and reducing production and test cost. The added function of manually preparing the test items can adapt to different test requirements, and the switches of different styles (based on the same main chip) can be tested by using the same software, thereby greatly improving the test efficiency.
The embodiments described above are only preferred embodiments of the invention and are not exhaustive of the possible implementations of the invention. Any obvious modifications to the above would be obvious to those of ordinary skill in the art, but would not bring the invention so modified beyond the spirit and scope of the present invention.
Claims (3)
1. A configuration method for detecting functional test items of a switch product is characterized by comprising the following steps:
step one, electrifying a switch, and detecting whether a system is in an automatic detection mode;
step two, if the system is not in the automatic detection mode, the system starts a menu instruction, enters an automatic detection menu, configures an opening or closing automatic detection mode, configures automatic detection test items, circulating test times and test interval time, and stores the automatic detection test items, the circulating test times and the test interval time in a manual configuration test item list; then, returning to the step one, restarting the equipment, and detecting whether the system is in the automatic detection mode again;
if the system is in an automatic detection mode, the system checks the driving equipment, automatically configures detection function parameters according to the characteristics of different driving equipment and adds the detection function parameters into an automatic identification test item list;
step three, comparing a manual configuration test item list with an automatic identification test item list by the system, merging the same test items, and adding different test items and the merged test items into an automatic detection list by taking the test parameters in the manual configuration test item list as the standard when the test parameters in the manual configuration test item list are different from the test parameters in the automatic identification test item list;
and step four, executing automatic detection according to an automatic detection list, and storing an automatic detection result to the flash.
2. The method for configuring function test items of switch product inspection according to claim 1,
step five, according to an automatic detection list, executing automatic detection, if the detection result is abnormal in test and the flow test is abnormal in port, centralizing the problem equipment, and then performing flow by using a convergence mode to check the specific abnormal port; or logging in the Switch equipment, checking the test result of the aging flow by using a command, and determining the port with the abnormality.
3. The method as claimed in claim 1, wherein the menu command includes a manual test menu, a configuration automatic test menu, and a manufacturing information read/write menu.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110752627.2A CN113542020A (en) | 2021-07-02 | 2021-07-02 | Configuration method of switch product detection function test item |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110752627.2A CN113542020A (en) | 2021-07-02 | 2021-07-02 | Configuration method of switch product detection function test item |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113542020A true CN113542020A (en) | 2021-10-22 |
Family
ID=78126677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110752627.2A Pending CN113542020A (en) | 2021-07-02 | 2021-07-02 | Configuration method of switch product detection function test item |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113542020A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180321303A1 (en) * | 2017-05-03 | 2018-11-08 | Pegatron Corporation | Arrangement unit, testing system and testing method |
CN109062817A (en) * | 2018-10-15 | 2018-12-21 | 网宿科技股份有限公司 | Automated testing method and system |
CN109889407A (en) * | 2019-02-12 | 2019-06-14 | 太仓市同维电子有限公司 | A kind of managed switches production test method |
WO2021052827A1 (en) * | 2019-09-16 | 2021-03-25 | Assa Abloy Entrance Systems Ab | Testing system for swing door-based entrance system |
-
2021
- 2021-07-02 CN CN202110752627.2A patent/CN113542020A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180321303A1 (en) * | 2017-05-03 | 2018-11-08 | Pegatron Corporation | Arrangement unit, testing system and testing method |
CN109062817A (en) * | 2018-10-15 | 2018-12-21 | 网宿科技股份有限公司 | Automated testing method and system |
CN109889407A (en) * | 2019-02-12 | 2019-06-14 | 太仓市同维电子有限公司 | A kind of managed switches production test method |
WO2021052827A1 (en) * | 2019-09-16 | 2021-03-25 | Assa Abloy Entrance Systems Ab | Testing system for swing door-based entrance system |
Non-Patent Citations (1)
Title |
---|
陈芳芳;: "AFDX交换机测试系统的原理及方法", 国外电子测量技术, no. 06, pages 89 - 92 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103578568B (en) | The performance test methods of solid state hard disc and device | |
CN106201804A (en) | The device of a kind of measuring and calculation mainboard, method and system | |
CN101859266B (en) | Backplane test method | |
CN109117327A (en) | A kind of hard disk detection method and device | |
CN112230095B (en) | Load identification module hardware interface detection equipment and automatic detection method thereof | |
CN110750396A (en) | Server operating system compatibility testing method and device and storage medium | |
CN105760268A (en) | On-chip random access memory built-in self-testing method and device | |
CN111104275A (en) | Automatic testing method and device for flash SSD hard disk power supply | |
CN112231163A (en) | Multifunctional computer detection equipment and operation method thereof | |
CN111371590A (en) | Method, system and storage medium for monitoring BMC log of switch | |
CN104239174A (en) | BMC (baseboard management controller) remote debugging system and method | |
CN113270136B (en) | Control method and control system for testing Nand-flash bad block | |
CN113542020A (en) | Configuration method of switch product detection function test item | |
CN113409878A (en) | Flash memory error information detection method, replacement method, device, equipment and storage medium | |
CN111352783A (en) | Method and system for automatically controlling hard disk identification and test | |
CN113538725B (en) | Method for testing hardware products and related equipment | |
CN113852502A (en) | Fault diagnosis method, device and equipment of intelligent network card and readable medium | |
CN112346921A (en) | Automatic function test system | |
CN113407402A (en) | Automatic testing system and method of SSD | |
CN106844125B (en) | The automatic recording device and method of commissioning stage debugging information to be measured | |
CN112213980A (en) | Singlechip fault diagnosis board card and method | |
CN106817631B (en) | Automatic detection method for wireless communication module | |
CN112946529B (en) | Control line checking method, system and medium based on detection module | |
CN109558330A (en) | A kind of automated testing method and device | |
CN113010388B (en) | USB flash disk detection method and system |
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 |