CN105515903A - Test method of monitoring functions of FC switch - Google Patents
Test method of monitoring functions of FC switch Download PDFInfo
- Publication number
- CN105515903A CN105515903A CN201510894986.6A CN201510894986A CN105515903A CN 105515903 A CN105515903 A CN 105515903A CN 201510894986 A CN201510894986 A CN 201510894986A CN 105515903 A CN105515903 A CN 105515903A
- Authority
- CN
- China
- Prior art keywords
- port
- frame
- monitoring
- jump
- test logic
- 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
Classifications
-
- 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/04—Processing captured monitoring data, e.g. for logfile generation
-
- 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/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a test method of monitoring functions of a FC switch, belonging to the technology of computer communication. According to the method, firstly, a test logic is subjected to initial configuration through a test software, then, the test logic transmits and receives data and further compares the transmitted and received data so as to support test of the FC switch in monitoring modes, such as an input monitoring, output monitoring and message monitoring. The method provided by the invention may automatically report errors, and has no need of artificial observation and judgment; and the method also can compare frame content. The method can be realized easily by a FPGA, and is beneficial to miniaturization, low power consumption and portability of test equipment.
Description
Technical field
The invention belongs to computer communication technology, relate to a kind of FC switch test of supervisor method.
Background technology
FC network possesses high bandwidth, low delay and the characteristic such as highly reliable, is highly suitable in the distributed real-time systems had higher requirements to transfer of data real-time and uses.
FC switch, as whole FC server parts, except possessing the data communication functions such as clean culture, multicast, broadcast, also possessing monitoring function, carrying out analyzing and positioning problem by catching transmitted data on network.FC switch monitoring function is realized by policing port, and each policing port has three kinds of monitoring modes all respectively, comprises input monitoring pattern, output monitoring pattern and message monitoring pattern.Under input monitoring and output monitoring pattern, policing port can be monitored the input data of certain port and the output data of certain port respectively; Under message monitoring pattern, policing port can be monitored multiple message id.
Current FC testing equipment is when testing the monitoring function of FC switch, can only identify fundamental errors information such as CRC, EOF polarity of received frame, whether the monitoring function of FC switch correctly can only rely on and manually judge, and cannot compare to reception content frame, there is very large defect.
Summary of the invention
For solving the problem, the invention provides a kind of FC switch test of supervisor method, supporting the test under the monitoring modes such as the input monitoring of FC switch, output monitoring and message monitoring.
Technical solution of the present invention is,
A kind of FC switch test of supervisor method, comprises the following steps:
1) testing software carries out initial configuration to test logic, and deploy content comprises monitoring mode, input monitoring port numbers, output monitoring port numbers and message id allocation list; Monitoring mode comprises input monitoring pattern, input monitoring pattern and message monitoring pattern;
2) test logic is according to deploy content, sends Frame, and be stored in by Frame in each switching port transmission buffering area separately by switching port to tested FC switch;
3) each switching port of test logic and each policing port receive the Frame of tested FC switch feedback, and are written to by the Frame received in each switching port and each policing port reception buffer zone separately;
4) each switching port of test logic and each policing port judge whether the Frame received exists crc error or EOF incorrect polarity respectively:
If existed, jump to step 6); Otherwise jump procedure 5);
5) comparison of Frame:
Test logic judges the monitoring mode of each switching port, selects the Frame of the corresponding Frame of exchange port buffer and the reception buffer zone of policing port to compare according to monitoring mode, judges whether consistent, if consistent, jump procedure 2), if inconsistent, jump procedure 6);
6) flow process terminates, and reports mistake.
Wherein, step 5) in, the concrete grammar of Frame comparison is as follows:
5.1) if the monitoring mode of switching port is in input monitoring pattern, step 5.2 is jumped to); If be in output monitoring pattern, jump to step 5.4); If be in message monitoring pattern, jump to step 5.6);
5.2) test logic obtains input monitoring port numbers according to deploy content;
5.3) test logic reads the output buffer Frame of this port numbers corresponding ports, and compares with the reception buffer zone Frame of policing port, judges whether identical, if different, jumps to step 6); Otherwise, jump to step 2);
5.4) test logic obtains output monitoring port numbers according to deploy content;
5.5) test logic reads the input block Frame of this port numbers corresponding ports, and compares with the reception buffer zone Frame of policing port, judges whether identical, if different, jumps to step 6); Otherwise, jump to step 2);
5.6) test logic obtains S_ID and the message id of this Frame, searches the message id allocation list of corresponding policing port according to message id; Judge whether hit, if hit, jump to step 5.7); Otherwise, jump to step 6);
5.7) test logic reads the input block Frame of corresponding ports according to S_ID, and compares with policing port buffer data; Judge whether identical, if different, jump to step 6); Otherwise, jump to step 2).
The advantage that the present invention has is:
(1) input monitoring to FC switch, output monitoring and message monitoring functional test can be completed;
(2) can mistake be detected and automatically report, judging without the need to manual observation;
(3) can compare to content frame;
(4) be easy to FPGA realize, realize simple, be beneficial to the low-power consumption of testing equipment, miniaturization, be easy to carry.
Accompanying drawing explanation
Fig. 1 is FC switch test of supervisor schematic flow sheet.
Embodiment
A kind of FC switch test of supervisor method provided by the invention, comprise testing software and test logic two parts, wherein testing software has been mainly used to the display of configuration to test logic monitoring function and test result, and test logic has been mainly used to the test to FC switch monitoring function.
Below embodiments of the present invention are further described.
A kind of FC switch test of supervisor method, as shown in Figure 1, flow process is as follows:
1) testing software carries out initial configuration to test logic, and deploy content comprises monitoring mode, input monitoring port numbers, output monitoring port numbers and message id allocation list; Monitoring mode comprises input monitoring pattern, input monitoring pattern and message monitoring pattern;
2) test starts, and test logic, according to deploy content, sends Frame by switching port to tested FC switch, and is stored in by Frame in each switching port transmission buffering area separately;
3) each switching port of test logic and each policing port receive the Frame of tested FC switch feedback, and are written to by the Frame received in each switching port and each policing port reception buffer zone separately;
4) each switching port of test logic and each policing port judge whether the Frame received exists crc error or EOF incorrect polarity respectively: if had, jump to step 12); Otherwise, jump to step 5);
5) each policing port of test logic judges which kind of monitoring mode this policing port is in: if be in input monitoring pattern, jump to step 6); If be in output monitoring pattern, jump to step 8); If be in message monitoring pattern, jump to step 10);
6) test logic obtains input monitoring port numbers according to deploy content;
7) test logic reads the output buffer Frame of this port numbers corresponding ports, and compares with the reception buffer zone Frame of policing port, judges whether identical, if different, jumps to step 12); Otherwise, jump to step 2);
8) test logic obtains output monitoring port numbers according to deploy content;
9) test logic reads the input block Frame of this port numbers corresponding ports, and compares with the reception buffer zone Frame of policing port, judges whether identical, if different, jumps to step 12); Otherwise, jump to step 2);
10) test logic obtains S_ID and the message id of this Frame, searches the message id allocation list of corresponding policing port according to message id; Judge whether hit, if hit, jump to step 11); Otherwise, jump to step 12);
11) test logic reads the input block Frame of corresponding ports according to S_ID, and compares with policing port buffer data; Whether identically judge whether, if different, jump to step 12); Otherwise, jump to step 2);
12) flow process terminates, and reports mistake.
Claims (2)
1. a FC switch test of supervisor method, is characterized in that, comprise the following steps:
1) testing software carries out initial configuration to test logic, and deploy content comprises monitoring mode, input monitoring port numbers, output monitoring port numbers and message id allocation list; Monitoring mode comprises input monitoring pattern, input monitoring pattern and message monitoring pattern; Monitoring mode comprises input monitoring pattern, input monitoring pattern and message monitoring pattern;
2) test logic is according to deploy content, sends Frame, and be stored in by Frame in each switching port transmission buffering area separately by switching port to tested FC switch;
3) each switching port of test logic and each policing port receive the Frame of tested FC switch feedback, and are written to by the Frame received in each switching port and each policing port reception buffer zone separately;
4) each switching port of test logic and each policing port judge whether the Frame received exists crc error or EOF incorrect polarity respectively:
If existed, jump to step 6); Otherwise jump procedure 5);
5) comparison of Frame:
Test logic judges the monitoring mode of each switching port, selects the Frame of the corresponding Frame of exchange port buffer and the reception buffer zone of policing port to compare according to monitoring mode, judges whether consistent, if consistent, jump procedure 2), if inconsistent, jump procedure 6);
6) flow process terminates, and reports mistake.
2. FC switch test of supervisor method according to claim 1, is characterized in that,
Step 5) in, the concrete grammar of Frame comparison is as follows:
5.1) if the monitoring mode of switching port is in input monitoring pattern, step 5.2 is jumped to); If be in output monitoring pattern, jump to step 5.4); If be in message monitoring pattern, jump to step 5.6);
5.2) test logic obtains input monitoring port numbers according to deploy content;
5.3) test logic reads the output buffer Frame of this port numbers corresponding ports, and compares with the reception buffer zone Frame of policing port, judges whether identical, if different, jumps to step 6); Otherwise, jump to step 2);
5.4) test logic obtains output monitoring port numbers according to deploy content;
5.5) test logic reads the input block Frame of this port numbers corresponding ports, and compares with the reception buffer zone Frame of policing port, judges whether identical, if different, jumps to step 6); Otherwise, jump to step 2);
5.6) test logic obtains S_ID and the message id of this Frame, searches the message id allocation list of corresponding policing port according to message id; Judge whether hit, if hit, jump to step 5.7); Otherwise, jump to step 6);
5.7) test logic reads the input block Frame of corresponding ports according to S_ID, and compares with policing port buffer data; Judge whether identical, if different, jump to step 6); Otherwise, jump to step 2).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510894986.6A CN105515903A (en) | 2015-12-07 | 2015-12-07 | Test method of monitoring functions of FC switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510894986.6A CN105515903A (en) | 2015-12-07 | 2015-12-07 | Test method of monitoring functions of FC switch |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105515903A true CN105515903A (en) | 2016-04-20 |
Family
ID=55723562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510894986.6A Pending CN105515903A (en) | 2015-12-07 | 2015-12-07 | Test method of monitoring functions of FC switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105515903A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106100919A (en) * | 2016-05-27 | 2016-11-09 | 中国航空工业集团公司沈阳飞机设计研究所 | A kind of FC bus testing system and FC bus test method |
CN108616371A (en) * | 2016-12-12 | 2018-10-02 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of port monitoring method based on FC interchangers |
CN112995809A (en) * | 2021-04-22 | 2021-06-18 | 北京国科天迅科技有限公司 | Control method and device of FC switch, FC switch and storage medium |
CN115639805A (en) * | 2022-12-24 | 2023-01-24 | 中国航空工业集团公司西安飞机设计研究所 | Airborne PHM system state monitoring function test method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060095813A1 (en) * | 2003-12-16 | 2006-05-04 | Ikuya Yagisawa | Disk array system and interface converter |
CN1851665A (en) * | 2005-11-07 | 2006-10-25 | 华为技术有限公司 | Method for completing product automation test utilizing test kit |
CN103338134A (en) * | 2013-07-01 | 2013-10-02 | 盛科网络(苏州)有限公司 | Distributed network switch debugging system |
CN103560931A (en) * | 2013-10-30 | 2014-02-05 | 中国航空工业集团公司第六三一研究所 | Monitoring scheme switching method based on FC switch |
CN204425370U (en) * | 2014-12-09 | 2015-06-24 | 中国航空工业集团公司第六三一研究所 | A kind of FC switch supervisory circuit |
-
2015
- 2015-12-07 CN CN201510894986.6A patent/CN105515903A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060095813A1 (en) * | 2003-12-16 | 2006-05-04 | Ikuya Yagisawa | Disk array system and interface converter |
CN1851665A (en) * | 2005-11-07 | 2006-10-25 | 华为技术有限公司 | Method for completing product automation test utilizing test kit |
CN103338134A (en) * | 2013-07-01 | 2013-10-02 | 盛科网络(苏州)有限公司 | Distributed network switch debugging system |
CN103560931A (en) * | 2013-10-30 | 2014-02-05 | 中国航空工业集团公司第六三一研究所 | Monitoring scheme switching method based on FC switch |
CN204425370U (en) * | 2014-12-09 | 2015-06-24 | 中国航空工业集团公司第六三一研究所 | A kind of FC switch supervisory circuit |
Non-Patent Citations (2)
Title |
---|
冯善强,黄曙,胡春潮: "智能变电站用工业以太网交换机测试技术研究", 《广东电力》 * |
赵琳;何向栋;范超: "基于监听技术的FC交换网络数据监控设计与实现", 《信息系统工程》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106100919A (en) * | 2016-05-27 | 2016-11-09 | 中国航空工业集团公司沈阳飞机设计研究所 | A kind of FC bus testing system and FC bus test method |
CN106100919B (en) * | 2016-05-27 | 2019-07-19 | 中国航空工业集团公司沈阳飞机设计研究所 | A kind of FC bus testing system and FC bus test method |
CN108616371A (en) * | 2016-12-12 | 2018-10-02 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of port monitoring method based on FC interchangers |
CN108616371B (en) * | 2016-12-12 | 2022-05-17 | 中国航空工业集团公司西安航空计算技术研究所 | Port monitoring method based on FC switch |
CN112995809A (en) * | 2021-04-22 | 2021-06-18 | 北京国科天迅科技有限公司 | Control method and device of FC switch, FC switch and storage medium |
CN115639805A (en) * | 2022-12-24 | 2023-01-24 | 中国航空工业集团公司西安飞机设计研究所 | Airborne PHM system state monitoring function test method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105515903A (en) | Test method of monitoring functions of FC switch | |
CN204830331U (en) | Air purifier's control system of group | |
CN103249069B (en) | The test macro of the method for testing of mobile terminal and testing equipment, mobile terminal | |
WO2016045418A1 (en) | Reference signal receiving quality reporting method and device | |
US9380469B2 (en) | Measurement method, apparatus, and system for minimization of drive tests | |
CA2931150A1 (en) | Automatic inspection and monitoring method based on time domain slotting control | |
CN103686813A (en) | Device and method for testing automatic switching stability of wireless AP (access point) channels | |
CN102821416A (en) | System for testing abnormal interruption of wireless communication module and application method thereof | |
CN106411627A (en) | Network connection detection method and apparatus | |
CN104125594A (en) | User perception based wireless network optimization method and user perception based wireless network optimization system | |
CN105553885A (en) | FC switch priority testing method | |
CN103916898B (en) | A kind of method, apparatus and system of the leakage of automatic detection indoor signal | |
CN105024873A (en) | Protocol conformance testing system and method based on equipment and scene simulation | |
CN105491545A (en) | Processing method and device for early warning information data | |
WO2014063500A1 (en) | Method and terminal for finding problems of base station by combination of terminal and management | |
CN105407018A (en) | Automated testing method for FC switch | |
WO2018076724A1 (en) | Mobile station driving test and driving training method for automatically switching mode of receiving differential data | |
CN102684942A (en) | Method for testing performance of network equipment | |
CN201859341U (en) | Remote control device for probe station | |
CN105376117A (en) | FC switch chip data monitoring test method | |
CN101742533A (en) | Wireless communication handoff testing method, system and device and base station | |
CN203205980U (en) | High-voltage fault monitoring system based on Internet-of-things technology | |
CN103561451B (en) | A kind of method for searching network and wireless terminal | |
CN105044552A (en) | Fault diagnosis method, system and device for distribution network automation system | |
CN102088716A (en) | Method and system for realizing signal quality detection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160420 |
|
WD01 | Invention patent application deemed withdrawn after publication |