CN103746879A - Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol - Google Patents

Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol Download PDF

Info

Publication number
CN103746879A
CN103746879A CN201310757071.1A CN201310757071A CN103746879A CN 103746879 A CN103746879 A CN 103746879A CN 201310757071 A CN201310757071 A CN 201310757071A CN 103746879 A CN103746879 A CN 103746879A
Authority
CN
China
Prior art keywords
test
testing
module
ipv6
equipment
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
Application number
CN201310757071.1A
Other languages
Chinese (zh)
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.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
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 State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI filed Critical State Grid Corp of China SGCC
Priority to CN201310757071.1A priority Critical patent/CN103746879A/en
Publication of CN103746879A publication Critical patent/CN103746879A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention relates to a testing system and method for the consistency of an IPv6 (Internet Protocol Version 6) protocol. The system comprises an accessing module, a parameter configuration module, a test case set selection module, a tested equipment configuration command module, a test executing module, a test result output module, an exception handling module and a configuration management module. The method comprises the following steps: (1) finishing all configurations needed by the configuration management module; (2) accessing IPv6 Protocol consistency testing equipment and to-be-tested equipment; (3) performing initializing operation and selecting a testing manner; (4) outputting a testing result. According to the testing system and method, the protocol consistency tests of different types of IPv6 equipment can be flexibly realized; manual testing or automatic testing can be supported at the same time so that the testing and the positioning are convenient; the testing system and method provide rich testing result items; testing results are convenient to check and recheck, and the problems are convenient to position; the testing system and method can be used for processing abnormal conditions to guarantee the stability of the system.

Description

A kind of test macro of IPv6 protocol conformance and method thereof
Technical field
The invention belongs to a kind of test macro and method thereof, specifically relate to a kind of test macro and method thereof of IPv6 protocol conformance.
Background technology
The Address Run Short problem of IPv4 has caused the appearance of IPv6.Due to the otherness between IPv6 and IPv4, to IPv6 agreement, as RFC2460IPv6 standard, RFC4861IPv6 neighbours' discovery, the uniformity test of RFC4443ICMPv6 agreement etc. is just necessary very much.
Testing protocol consistency standard for the RFC standard formulation of a certain IPv6 agreement generally all comprises a lot of content measurements, efficiency while adopting manual mode test can be very low, and, the expected results of testing protocol consistency is clear and definite by RFC standard-required, is well suited for adopting automatic mode to test.But sometimes, only need to single test by item do not tested and positioning analysis, at this moment, adopt manual test more convenient.Therefore, need to consider mutually combining between automatic test and manual test.
Summary of the invention
For the deficiencies in the prior art, the invention provides a kind of test macro and method thereof of IPv6 protocol conformance.Testing protocol consistency is generally by testing protocol consistency equipment, equipment under test to be tested, and object is in order to verify whether consistent with consensus standard the agreement of equipment under test realizes.The present invention is in conjunction with automatic test and manual test, and a kind of simple consistency testing system that is applicable to multi-protocols is provided.
The object of the invention is to adopt following technical proposals to realize:
A kind of test macro of IPv6 protocol conformance, its improvements are, described system comprises that access module, parameter configuration module, test use cases select module, equipment under test configuration order module, testing execution module, test result output module, abnormality processing module and Configuration Manager;
Described access module comprises the access of testing protocol consistency equipment and the access of equipment under test;
Described parameter configuration module comprises the parameter configuration of testing protocol consistency equipment;
Described test use cases selects module to select to need the test use cases of test, and it comprises at least one IPv6 agreement;
Described equipment under test configuration order module comprises equipment under test required configuration order in test item, and during for automatic test, testing execution module calls;
Described testing execution module comprises that IPv6 testing protocol consistency equipment structure protocol massages is sent to equipment under test, receives equipment under test feedback message and analyzes, and log information during output test execution, captures and preserve mutual message;
Described test result output module comprises the test result of exporting each test item, daily record, and message, and provide with PDF or HTML mode:
Described abnormality processing module comprises processes and reports reason extremely to what occur;
Described Configuration Manager comprises the configuration of management access module, parameter configuration module and test use cases selection module.
The present invention is based on the method for testing of a kind of IPv6 protocol conformance that another object provides, its improvements are, described method comprises
(1) complete the required configuration of Configuration Manager;
(2) access IPv6 testing protocol consistency equipment and equipment under test;
(3) initialization operation select test mode;
(4) test result output.
Preferably, described step (2) comprises configuration access IPv6 testing protocol consistency equipment and the equipment under test according to access module, and overtime cannot access called abnormality processing module and stopped test, report reason.
Preferably, described step (3) comprises according to parameter configuration module to be determined and adopts automatic test or manual test, determine whether to carry out daily record preservation, confirm test use cases, determine interface and the equipment under test interface message of IPv6 testing protocol consistency equipment, when abnormal, call abnormality processing module.
Further, described automatic test comprises
A) initialization equipment under test;
B) call IPv6 testing protocol consistency equipment and start test, carry out the crawl of mutual message;
C) IPv6 testing protocol consistency equipment is constructed this test item test packet, from the interface of configuration, sends to equipment under test;
D) corresponding configuration of calling as required in equipment under test configuration order module is configured equipment under test;
E) equipment under test need to be restarted, call equipment under test access module, wait for that equipment under test can access rear continuation test;
F) receive the message of equipment under test feedback, the message of this message and expection is analyzed, be confirmed whether correctly, according to real-time demonstration test log is set;
G) test finishes the rear test result that records this test item, finishes crawl the file of mutual message;
H) in measuring executing process, there is abnormal generation, call abnormality processing, stop the test execution of this test item or the execution of whole test, and report reason.
Further, described manual test is included in manual input test instruction in IPv6 testing protocol consistency equipment, according to test instruction, carries out test execution.
Preferably, described step (4) comprises by test item statistical test result, and mutual message and daily record by number and not by number information, generate PDF or html format file in statistical test item.
Further, have during the output of described test result and call abnormality processing module when abnormal.
Compared with the prior art, beneficial effect of the present invention is:
1, the present invention can realize the testing protocol consistency of different IP v6 equipment very neatly;
2, the present invention can realize the testing protocol consistency of different IP v6 agreement very neatly, can be one or more agreements, can support the customization of all or part of test item, can test targetedly;
3, the present invention can support manual test or automatic test simultaneously, convenient test and location;
4, the invention provides abundant test result item, facilitate the check of test result, check and positioning problems;
5, the present invention can process for abnormal conditions, guarantees the stability of system.
Accompanying drawing explanation
Fig. 1 is the test macro schematic diagram of a kind of IPv6 protocol conformance provided by the invention.
Fig. 2 is the method for testing flow chart of a kind of IPv6 protocol conformance provided by the invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.
The test macro and the method thereof that the object of this invention is to provide a kind of IPv6 protocol conformance, in conjunction with automatic test and manual test, provide a kind of simple consistency testing system that is applicable to multi-protocols.
As shown in Figure 1, the test macro of a kind of IPv6 protocol conformance of the present invention comprises the operation of IPv6 testing protocol consistency equipment and the operation to equipment under test, specifically comprises as lower module;
(1) access module: comprise the access of testing protocol consistency equipment and the access of equipment under test.Access module need to be considered the plurality of access modes such as serial ports, Telnet, SSH, and can support IPv4 access and IPv6 access.The user name that user accesses IPv6 testing protocol consistency equipment need to be set, and password, arranges the mode that user accesses equipment under test, user name, and passwords etc., arrange the stand-by period of accessing equipment under test, time-out time etc.
(2) parameter configuration module: the parameter configuration that comprises testing protocol consistency equipment, as IPv6 address, interface arranges, and daily record saves contents etc., also comprises the parameter setting of equipment under test, as equipment under test information, interface message, MAC Address, IPv6 address, specify the parameter of automatic test or manual test, daily record saves contents etc.
(3) test use cases is selected module: the test use cases of selecting to need test, it can be single IPv6 agreement, also can be a plurality of IPv6 agreements, can determine test use cases according to the type of equipment under test (as DHCPv6server or DHCPv6client), can be also directly to specify single or multiple continuous test items etc.
(4) equipment under test configuration order module: comprise equipment under test needed configuration order in each test item, while facilitating automatic test, testing execution module calls.
(5) testing execution module: IPv6 testing protocol consistency equipment structure protocol massages sends to equipment under test, and receives the feedback message of equipment under test, and feedback message is analyzed, and determines whether this test item passes through.Meanwhile, the log information in the time of can exporting test execution, captures and preserves mutual message.
(6) test result output module: export the test result of each test item, daily record, message etc., and provide in the mode of the easy-to-reads such as PDF or HTML.
(7) abnormality processing module: can extremely process the various of generation, stop if desired test execution, and report reason.
(8) Configuration Manager: be responsible for the configuration that access module, parameter configuration module and test use cases are selected module.
As shown in Figure 2, the method for testing idiographic flow of a kind of IPv6 protocol conformance of the present invention is as follows:
Step 1: complete the various configurations that Configuration Manager needs.
Step 2: according to configuration access IPv6 testing protocol consistency equipment and the equipment under test of access module, the overtime 300s time can cannot be accessed and call abnormality processing module later, stops test, report reason.Wherein, time-out time can according to circumstances be set voluntarily.
Step 3: initialization operation, according to parameter configuration module, determine it is automatic test or manual test, determine whether to carry out daily record preservation etc., confirm test use cases etc., determine the information such as the interface of IPv6 testing protocol consistency equipment and equipment under test interface.When abnormal, call abnormality processing module.
Step 4: if automatic test carries out the test execution of test item in order according to test use cases.Be specially:
A) initialization equipment under test, only retains the minimum configuration (as accessible equipment, enabling IPv6) of equipment under test;
B) call IPv6 testing protocol consistency equipment and start test, start to carry out the crawl of mutual message;
C) IPv6 testing protocol consistency equipment is constructed the test packet that this test item needs, and from the interface of configuration, sends to equipment under test;
D) corresponding configuration of calling as required in equipment under test configuration order module is configured equipment under test;
E) if equipment under test need to be restarted, call equipment under test access module, wait for that equipment under test can access rear continuation test;
F) receive the message of equipment under test feedback, the message of this message and expection is analyzed, be confirmed whether correct.According to real-time demonstration test log is set;
G) test finishes the rear test result that records this test item, finishes crawl the file of mutual message;
H) if there is abnormal generation in measuring executing process, call abnormality processing, stop the test execution of this test item or the execution of whole test, and report reason.
Step 5: if manual test, manual input test instruction, carries out test execution according to test instruction in IPv6 testing protocol consistency equipment.
Step 6; Test result output, by each test item statistical test result, mutual message, daily records etc., add up in all test items and pass through number, by information such as numbers, generate the formatted files such as PDF or HTML.If have and call abnormality processing module when abnormal.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit, although the present invention is had been described in detail with reference to above-described embodiment, those of ordinary skill in the field are to be understood that: still can modify or be equal to replacement the specific embodiment of the present invention, and do not depart from any modification of spirit and scope of the invention or be equal to replacement, it all should be encompassed in the middle of claim scope of the present invention.

Claims (8)

1. the test macro of an IPv6 protocol conformance, it is characterized in that, described system comprises access module, parameter configuration module, test use cases selection module, equipment under test configuration order module, testing execution module, test result output module, abnormality processing module and Configuration Manager;
Described access module comprises the access of testing protocol consistency equipment and the access of equipment under test;
Described parameter configuration module comprises the parameter configuration of testing protocol consistency equipment;
Described test use cases selects module to select to need the test use cases of test, and it comprises at least one IPv6 agreement;
Described equipment under test configuration order module comprises equipment under test required configuration order in test item, and during for automatic test, testing execution module calls;
Described testing execution module comprises that IPv6 testing protocol consistency equipment structure protocol massages is sent to equipment under test, receives equipment under test feedback message and analyzes, and log information during output test execution, captures and preserve mutual message;
Described test result output module comprises the test result of exporting each test item, daily record, and message, and provide with PDF or HTML mode;
Described abnormality processing module comprises processes and reports reason extremely to what occur;
Described Configuration Manager comprises the configuration of management access module, parameter configuration module and test use cases selection module.
2. a method of testing for IPv6 protocol conformance, is characterized in that, described method comprises
(1) complete the required configuration of Configuration Manager;
(2) access IPv6 testing protocol consistency equipment and equipment under test;
(3) initialization operation select test mode;
(4) test result output.
3. the method for testing of a kind of IPv6 protocol conformance as claimed in claim 2, it is characterized in that, described step (2) comprises configuration access IPv6 testing protocol consistency equipment and the equipment under test according to access module, overtime cannot access call abnormality processing module stop test, report reason.
4. the method for testing of a kind of IPv6 protocol conformance as claimed in claim 2, it is characterized in that, described step (3) comprises according to parameter configuration module to be determined and adopts automatic test or manual test, determine whether to carry out daily record preservation, confirm test use cases, determine interface and the equipment under test interface message of IPv6 testing protocol consistency equipment, when abnormal, call abnormality processing module.
5. the method for testing of a kind of IPv6 protocol conformance as claimed in claim 4, is characterized in that, described automatic test comprises
A) initialization equipment under test;
B) call IPv6 testing protocol consistency equipment and start test, carry out the crawl of mutual message;
C) IPv6 testing protocol consistency equipment is constructed this test item test packet, from the interface of configuration, sends to equipment under test;
D) corresponding configuration of calling as required in equipment under test configuration order module is configured equipment under test;
E) equipment under test need to be restarted, call equipment under test access module, wait for that equipment under test can access rear continuation test;
F) receive the message of equipment under test feedback, the message of this message and expection is analyzed, be confirmed whether correctly, according to real-time demonstration test log is set;
G) test finishes the rear test result that records this test item, finishes crawl the file of mutual message;
H) in measuring executing process, there is abnormal generation, call abnormality processing, stop the test execution of this test item or the execution of whole test, and report reason.
6. the method for testing of a kind of IPv6 protocol conformance as claimed in claim 4, is characterized in that, described manual test is included in manual input test instruction in IPv6 testing protocol consistency equipment, according to test instruction, carries out test execution.
7. the method for testing of a kind of IPv6 protocol conformance as claimed in claim 2, it is characterized in that, described step (4) comprises by test item statistical test result, mutual message and daily record, in statistical test item, by number and not by number information, generate PDF or html format file.
8. the method for testing of a kind of IPv6 protocol conformance as claimed in claim 7, is characterized in that, has and call abnormality processing module when abnormal during the output of described test result.
CN201310757071.1A 2013-12-28 2013-12-28 Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol Pending CN103746879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310757071.1A CN103746879A (en) 2013-12-28 2013-12-28 Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310757071.1A CN103746879A (en) 2013-12-28 2013-12-28 Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol

Publications (1)

Publication Number Publication Date
CN103746879A true CN103746879A (en) 2014-04-23

Family

ID=50503870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310757071.1A Pending CN103746879A (en) 2013-12-28 2013-12-28 Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol

Country Status (1)

Country Link
CN (1) CN103746879A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518929A (en) * 2014-12-26 2015-04-15 北京航天测控技术有限公司 Automatic comprehensive test system for IPv6 protocol
CN109067617A (en) * 2018-08-27 2018-12-21 东软集团(北京)有限公司 A kind of V2X protocol conformance test method, apparatus and system
CN109218132A (en) * 2018-09-13 2019-01-15 郑州云海信息技术有限公司 A kind of method of automatic testing service device IPv6 stability
CN109471791A (en) * 2018-09-25 2019-03-15 中国电力科学研究院有限公司 A kind of demand response communication consistency testing system and method
CN110708216A (en) * 2019-10-12 2020-01-17 深圳市吉祥腾达科技有限公司 Switch LLDP protocol test method and test system
CN111431770A (en) * 2020-04-03 2020-07-17 宁波艾欧迪互联科技有限公司 Terminal protocol consistency test system and method for 5G communication
CN115250249A (en) * 2022-09-02 2022-10-28 北京安盟信息技术股份有限公司 IPv6 Ready-based automatic testing method, device, medium and equipment
CN115396335A (en) * 2022-08-11 2022-11-25 重庆邮电大学 Industrial wireless network equipment access IPv6 testing system and method based on micro-service
CN115550231A (en) * 2022-03-31 2022-12-30 许昌开普检测研究院股份有限公司 Multi-protocol testing platform based on configuration file and testing method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697407A (en) * 2005-06-30 2005-11-16 信息产业部电信传输研究所 Implementation method and system for testing consistency of border gateway protocol of supporting IPv6
CN101227343A (en) * 2008-02-01 2008-07-23 中兴通讯股份有限公司 Method and device for testing TCPv6 and UDPv6
US20090175177A1 (en) * 2006-03-06 2009-07-09 Nxp B.V. Method for testing a wireless network device
CN101951298A (en) * 2010-09-15 2011-01-19 北京航空航天大学 Mthod and system for consistency test of an air ground communication system
CN102695187A (en) * 2012-06-01 2012-09-26 重庆邮电大学 Distributed Web-based device and method for testing 6LoWPAN protocol consistency

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697407A (en) * 2005-06-30 2005-11-16 信息产业部电信传输研究所 Implementation method and system for testing consistency of border gateway protocol of supporting IPv6
US20090175177A1 (en) * 2006-03-06 2009-07-09 Nxp B.V. Method for testing a wireless network device
CN101227343A (en) * 2008-02-01 2008-07-23 中兴通讯股份有限公司 Method and device for testing TCPv6 and UDPv6
CN101951298A (en) * 2010-09-15 2011-01-19 北京航空航天大学 Mthod and system for consistency test of an air ground communication system
CN102695187A (en) * 2012-06-01 2012-09-26 重庆邮电大学 Distributed Web-based device and method for testing 6LoWPAN protocol consistency

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518929B (en) * 2014-12-26 2017-11-03 北京航天测控技术有限公司 A kind of IPv6 protocol synthesises Auto-Test System
CN104518929A (en) * 2014-12-26 2015-04-15 北京航天测控技术有限公司 Automatic comprehensive test system for IPv6 protocol
CN109067617A (en) * 2018-08-27 2018-12-21 东软集团(北京)有限公司 A kind of V2X protocol conformance test method, apparatus and system
CN109218132B (en) * 2018-09-13 2022-02-18 郑州云海信息技术有限公司 Method for automatically testing stability of IPv6 of server
CN109218132A (en) * 2018-09-13 2019-01-15 郑州云海信息技术有限公司 A kind of method of automatic testing service device IPv6 stability
CN109471791A (en) * 2018-09-25 2019-03-15 中国电力科学研究院有限公司 A kind of demand response communication consistency testing system and method
CN110708216A (en) * 2019-10-12 2020-01-17 深圳市吉祥腾达科技有限公司 Switch LLDP protocol test method and test system
CN111431770A (en) * 2020-04-03 2020-07-17 宁波艾欧迪互联科技有限公司 Terminal protocol consistency test system and method for 5G communication
CN111431770B (en) * 2020-04-03 2021-12-07 宁波艾欧迪互联科技有限公司 Terminal protocol consistency test system and method for 5G communication
CN115550231A (en) * 2022-03-31 2022-12-30 许昌开普检测研究院股份有限公司 Multi-protocol testing platform based on configuration file and testing method thereof
CN115396335A (en) * 2022-08-11 2022-11-25 重庆邮电大学 Industrial wireless network equipment access IPv6 testing system and method based on micro-service
CN115396335B (en) * 2022-08-11 2023-05-16 重庆邮电大学 Industrial wireless network equipment access IPv6 test system and method based on micro-service
WO2024032100A1 (en) * 2022-08-11 2024-02-15 重庆邮电大学 Micro service-based test system and method for industrial wireless network device accessing ipv6
CN115250249A (en) * 2022-09-02 2022-10-28 北京安盟信息技术股份有限公司 IPv6 Ready-based automatic testing method, device, medium and equipment
CN115250249B (en) * 2022-09-02 2023-02-03 北京安盟信息技术股份有限公司 IPv6 Ready-based automatic testing method, device, medium and equipment

Similar Documents

Publication Publication Date Title
CN103746879A (en) Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol
CN104579822B (en) Mobile application automated performance testing system and method based on Http agreements
WO2018006789A1 (en) Parameter checking method and apparatus, and network management server and computer storage medium
CN108399114B (en) System performance testing method and device and storage medium
CN109617759A (en) Block catenary system stability test method, apparatus, equipment and storage medium
US11405302B1 (en) Methods, systems, and computer readable media for network testing using configurable test infrastructure
CN111181800B (en) Test data processing method and device, electronic equipment and storage medium
CN108174405A (en) Product test method and apparatus
CN106776346B (en) Test method and device of CCMTS (China center testing System) equipment
CN105487859B (en) A kind of big data component WEB dispositions methods based on template
CN109460367A (en) Method based on the sustainable integrated automation performance test of Jmeter
CN107992403B (en) IO performance test method, device, equipment and computer readable storage medium
WO2019178957A1 (en) Distributed system test method and device, computer device and storage medium
WO2019075994A1 (en) Method, device and system for mock data at ios end, and storage medium
CN105786695A (en) Data test method and system
US11849492B2 (en) Unified query tool for network function virtualization architecture
CN104978262A (en) Terminal test method and terminal test device
CN109284227A (en) A kind of automation method for testing pressure and device calculate equipment and storage medium
CN116303034A (en) Automatic test system, method, equipment and medium for network on chip
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN104899134A (en) Automatic domain name registration server testing system and method
Lando et al. Evaluating the performance of open source software implementations of the 5g network core
CN102750143A (en) Digital signal processing (DSP) developing method based on matrix laboratory (MATLAB) component object model (COM) component calling
KR100551452B1 (en) Grid computing system for testing application program capacity of server
CN112954725A (en) Test method, communication system and NB-IoT device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140423

RJ01 Rejection of invention patent application after publication