CN103560932B - Wireless sensor network remote protocol conformance testing system and method - Google Patents

Wireless sensor network remote protocol conformance testing system and method Download PDF

Info

Publication number
CN103560932B
CN103560932B CN201310542850.XA CN201310542850A CN103560932B CN 103560932 B CN103560932 B CN 103560932B CN 201310542850 A CN201310542850 A CN 201310542850A CN 103560932 B CN103560932 B CN 103560932B
Authority
CN
China
Prior art keywords
test
protocol
testing
module
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310542850.XA
Other languages
Chinese (zh)
Other versions
CN103560932A (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.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN201310542850.XA priority Critical patent/CN103560932B/en
Publication of CN103560932A publication Critical patent/CN103560932A/en
Application granted granted Critical
Publication of CN103560932B publication Critical patent/CN103560932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a wireless sensor network remote protocol conformance testing system which comprises at least one client terminal, a front-end testing device and a remote protocol conformance testing server. A user applies a testing request to the remote protocol conformance testing server through a Web browser of the client terminal. The remote protocol conformance testing server intelligently processes the testing request through a protocol demand model and an executable testing set can be automatically generated. The remote protocol conformance testing server is connected with the front-end testing device through the Internet, transmits a test configuration order, remotely controls the front-end testing device to receive the test configuration order in a dispatched mode, stimulates a measured device and acquires information of the measured network and the measured device. The remote protocol conformance testing server carries out protocol analysis on the obtained information according to an internal protocol analysis model in the remote protocol conformance testing server and a protocol conformance test report is generated. The wireless sensor network remote protocol conformance testing system can solve the problems that an existing protocol conformance testing system is small in test control distance range and low in automation level.

Description

A kind of wireless sensor network remote protocol consistency testing system and method
Technical field
The present invention relates to a kind of test device is and in particular to a kind of wireless sensor network remote protocol uniformity test system System and method.
Background technology
Software engineering and network technology develop rapidly the major transformation causing measuring technology.Traditional measuring technology, It is all based on manual test or the automatic test of unit.Automated test tool based on unit is it is impossible to realize strange land in fact When test, bring great inconvenience to user, and test consume resource many, inefficient.Long-range survey based on Internet Examination, enables strange land and tests in real time, supports long-range testing and control and test result feedback, has been applied to weaponry and survey The fields such as examination, communication network test.
With the popularization of network, using HTTP (Hyper Text Transfer Protocol, HTML (Hypertext Markup Language)) B/S (Browser/Server Mode) business being communicated as carrier is fairly common, has been become based on the application system of Web Software system development for current and future and the main flow implemented.Meanwhile, manual test high cost, time length, coverage rate are low, far It is not well positioned to meet the demand of test.For improving testing efficiency, reduce testing cost, exploitation is a kind of to adopt automatic test skill The remote wireless sensors network protocol conformance test system of art, executes wireless sensor network association by Web browser View uniformity test is also increasingly paid close attention to by people.
Wireless sensor network protocols implementor can lead to different protocol realization for the different understanding of standard, sometimes very To be mistake realization it is therefore desirable to a kind of effective method protocol realization is verified and differentiates.Protocol conformance is surveyed Examination is the inspection most important means of wireless sensor network protocols correctness.Uniformity test refers to verify that certain system under test (SUT) is No comply fully with consensus standard, can correctly execute the function that agreement specifies under given conditions.Uniformity test is substantially A kind of Black-box Testing, it is made analysis according to the external behavior feature of system under test (SUT) and judges, thus to execution protocol conformance The test system of test proposes higher requirement.
Existing test system and method for testing can not meet the requirement of remote testing, and web testing service device only carries For single testing service, server utilization is low.Meanwhile, equipment need to be transferred specialty by the test certification report that need to obtain authority Testing service mechanism so that testing cost is higher.
Content of the invention
In view of this, it is an object of the invention to provide a kind of radio sensing network remote protocol consistency testing system and Method, client realizes the test of remote wireless sensors network protocol conformance by Internet, and obtains authoritative test report. There is structure simple, high degree of automation, testing cost is low, the high feature of testing service device utilization rate.
An object of the present invention is realized by such technical scheme, a kind of wireless sensor network remote protocol Consistency testing system, including at least one client, front end test device and remote protocol uniformity test server;Described Client is passed through Web browser and is submitted test request to remote protocol uniformity test server;Described remote protocol concordance Testing service device passes through Web browser provides test process information inspection and operation service for client, and process test is asked and led to Cross Internet and connect front end test device, forward end test equipment sends test configurations order simultaneously;Described head end test sets Standby reception test configurations order, encourages equipment under test, obtains tested network and facility information, and forward information to remote protocol Uniformity test server;Described remote protocol uniformity test server parses the test request of user, generates test cases, Monitor in real time test process, parses the data being got by front end test device and generates test report.
Further, described front end test device includes comprehensive tester, protocol analyzer and subtest equipment;Described comprehensive Close tester and serve as coordinator, gateway, router, terminal node role in wireless sensor network, and there is test work( Can, described comprehensive tester calls test agent function that tested real-time performance is entered with row energization, transmitted test proxy commands and upper Pass response message to remote protocol uniformity test server;Described protocol analyzer has the function of multi-protocols analysis, helps User captures the packet in test network and it is analyzed, realize to test process monitor and be test result whether By providing basis for estimation, described protocol analyzer is by the packet in the captured in real time test network of data acquisition end and to it It is analyzed, protocol-decoding, performance evaluation, analysis of network function are provided;Described subtest equipment includes routing device and end End equipment, described subtest equipment and tested node build networking operational environment jointly, set as standard in tested network Standby or jamming equipment, assists comprehensive tester to complete test process.
Further, described comprehensive tester passes through universal test/service interface and remote protocol uniformity test server Set up and connect, realize equipment by special test/service interface and different wireless sensor network protocols and set up connection;Described Comprehensive tester includes protocol realization module, test agent module and management information bank, and described protocol realization module references are different Standard protocol stack is realized accessing different wireless sensor networks, and described test agent module is to be embedded into before testing with reference to association Realize user's application process of tester agent functionality in view, test process is acted on behalf of testing service device and sends test agent life Order, by calling encapsulation and the transmission completing test agent order with reference to agreement, and test agent response message is uploaded to survey Examination server, completes tested protocol realization Service controll is observed;Simultaneously can also be directly to standard protocol stack interface and special Test/service interface calls, and enters row energization to tested protocol realization, and the lower service completing tested protocol realization is realized controlling Observe;Described management information library module is carried out to its protocol realization including version, operating system, hardware configuration, running log letter The integrated management of breath.
Further, described remote protocol uniformity test server includes test module, protocol-analysis model, test report Generation module and management information bank;Described test module asks to generate testing requirement model according to user test, in conjunction with abstract survey Examination collection, covering configuration file, test script and PICS/PIXIT carry out model analyzing, generate ets (executive testing suite), and will test Cross newly-generated test cases in generation to be added in system case library for calling again;Described test module includes test and holds Row module, described testing execution module calls sequencing contro, test configurations according to ets (executive testing suite), test is worked in coordination with, topology is controlled System executes test;Described protocol-analysis model provides the protocol analysis model according to constructed by consensus standard, will be from integration test The data that instrument and protocol analyzer get carries out protocol-decoding, analysis of network, performance evaluation with reference to protocol analysis model, obtains Protocol analysis result, and analysis result is sent to test report generation module;Described test report generation module is according to agreement Analysis result obtains test result with reference to demand model, generates test report;It is consistent that described management information bank is used for remote protocol Property testing service device integrated management data service, to remote protocol uniformity test server provide include log recording, Fault diagnosis data management service.
Further, described ets (executive testing suite) is obtained using regression test technology.
The second object of the present invention is to provide a kind of method tested using above-mentioned test system, and this purpose is to pass through Come to realize, a kind of wireless sensor network remote protocol conformance test method comprises the following steps technical scheme below:
Step 1:User accesses remote protocol uniformity test server by Internet, and equipment under test is accessed Internet;
Step 2:User pass through remote protocol uniformity test server for the edition interface that it provides write testing requirement, Test cases and PICS/PIXIT, testing service device combines abstract test suite and existing covering configuration according to PICS/PIXIT information File automatically generates ets (executive testing suite);
Step 3:Remote protocol uniformity test server, according to ets (executive testing suite) scheduling tests case execution sequence, is adjusted With the test configurations in testing execution module, sequencing contro, test is worked in coordination with, topology controls the execution of remotely control front end test device Test cases;
Step 4:Front end test device receives and transmitted test control command, and returns test response letter by Internet Breath;
Step 5:The protocol-analysis model of testing protocol consistency server will obtain from comprehensive tester and protocol analyzer The test response message got carries out agreement with reference to protocol analysis mathematical model, network, performance evaluation obtain protocol analysis result;
Step 6:User checks the multidate information in measuring executing process in client by interpersonal interactive interface, and can be By associative operation, test process is effectively controlled on interface;
Step 7:Remote protocol uniformity test server is analyzed to test process and result, and generates test report Accuse.
Further, described front end test device includes comprehensive tester, protocol analyzer and subtest equipment;Described comprehensive Close tester and serve as coordinator, gateway, router, terminal node role in wireless sensor network, and there is test work( Can, described comprehensive tester calls test agent function that tested real-time performance is entered with row energization, transmitted test proxy commands and upper Pass response message to remote protocol uniformity test server;Described protocol analyzer has the function of multi-protocols analysis, helps User captures the packet in test network and it is analyzed, realize to test process monitor and be test result whether By providing basis for estimation, described protocol analyzer is by the packet in the captured in real time test network of data acquisition end and to it It is analyzed, protocol-decoding, performance evaluation, analysis of network function are provided;Described subtest equipment includes routing device and end End equipment, described subtest equipment and tested node build networking operational environment jointly, set as standard in tested network Standby or jamming equipment, assists comprehensive tester to complete test process.
Further, described remote protocol uniformity test server includes test module, protocol-analysis model, test report Generation module and management information bank;Described test module asks to generate testing requirement model according to user test, in conjunction with abstract survey Examination collection, covering configuration file, test script and PICS/PIXIT carry out model analyzing, generate ets (executive testing suite), and will test Cross newly-generated test cases in generation to be added in system case library for calling again;Described test module includes test and holds Row module, described testing execution module calls sequencing contro, test configurations according to ets (executive testing suite), test is worked in coordination with, topology is controlled System executes test;Described protocol-analysis model provides the protocol analysis model according to constructed by consensus standard, will be from integration test The data that instrument and protocol analyzer get carries out protocol-decoding, analysis of network, performance evaluation with reference to protocol analysis model, obtains Protocol analysis result, and analysis result is sent to test report generation module;Described test report generation module is according to agreement Analysis result obtains test result with reference to demand model, generates test report;It is consistent that described management information bank is used for remote protocol Property testing service device integrated management data service, to remote protocol uniformity test server provide include log recording, Fault diagnosis data management service.
Further, described comprehensive tester passes through universal test/service interface and remote protocol uniformity test server Set up and connect, realize equipment by special test/service interface and different wireless sensor network protocols and set up connection;Described Comprehensive tester includes protocol realization module, test agent module and management information bank, and described protocol realization module references are different Standard protocol stack is realized accessing different wireless sensor networks, and described test agent module is to be embedded into before testing with reference to association Realize user's application process of tester agent functionality in view, test process is acted on behalf of testing service device and sends test agent life Order, by calling encapsulation and the transmission completing test agent order with reference to agreement, and test agent response message is uploaded to survey Examination server, completes tested protocol realization Service controll is observed;Simultaneously can also be directly to standard protocol stack interface and special Test/service interface calls, and enters row energization to tested protocol realization, and the lower service completing tested protocol realization is realized controlling Observe;Described management information library module is carried out to its protocol realization including version, operating system, hardware configuration, running log letter The integrated management of breath.
Due to employing technique scheme, the present invention has the advantage that:
The present invention passes through network and can achieve that remote wireless sensors network protocol conformance is tested it is not necessary to set tested Tested for delivering to professional testing agency, test be can achieve by network remote, test process automation is run, there is provided The modelling analytic method of testing requirement and protocol analysis, effectively make use of regression test technical method, and obtains authority's survey Examination report, improves testing efficiency, reduces testing cost.There is structure simultaneously simple, high degree of automation, testing cost Low, the high feature of testing service device utilization rate.
Brief description
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into The detailed description of one step, wherein:
Fig. 1 is the structural representation of the radio sensing network remote protocol consistency testing system that the present invention provides;
Fig. 2 is that the radio sensing network remote protocol consistency testing system overall frame structure that the present invention provides is illustrated Figure;
Fig. 3 is that the radio sensing network remote protocol uniformity test server test modular structure that the present invention provides is illustrated Figure;
Fig. 4 is the flow process of the radio sensing network remote protocol uniformity test server test embodiment that the present invention provides Figure;
Fig. 5 is the flow chart of the method for testing that the present invention provides.
Specific embodiment
Below with reference to accompanying drawing, the preferred embodiments of the present invention are described in detail;It should be appreciated that preferred embodiment Only for the present invention is described, rather than in order to limit the scope of the invention.
As shown in figure 1, a kind of radio sensing network remote protocol consistency testing system, including at least one client, Front end test device and remote protocol uniformity test server;It is consistent to remote protocol that described client passes through Web browser Property testing service device submit to test request;Described remote protocol uniformity test server passes through Web browser to be provided for client Test process information inspection and operation service, process test is asked and is connected front end test device by Internet(By WAN Or LAN connects comprehensive tester and protocol analyzer, equipment under test and subtest equipment are connected by comprehensive tester), with When forward end test equipment send test configurations order(Read including information, parameter setting, test request etc. is ordered);Before described End test equipment receives test configurations order, encourages equipment under test, obtains tested network and facility information, and by the quilt getting Survey grid network and facility information are forwarded to remote protocol uniformity test server;Described remote protocol uniformity test server solution The test request of analysis user, generates test cases, monitor in real time test process, parsing is set the number making every effort to get by head end test According to and generate test report.
Front end test device includes comprehensive tester, protocol analyzer and subtest equipment;Comprehensive tester is wireless Serve as the roles such as coordinator, gateway, router, terminal node in sensor network, and there is test function, survey can be called Examination agent functionality is realized into row energization to tested, and transmitted test proxy commands and upload response message are surveyed to remote protocol concordance Examination server.
Comprehensive tester is passed through universal test/service interface and is connected with the foundation of remote protocol uniformity test server, leads to Cross special test/service interface and realize equipment foundation connection from different procotols.Its internal main inclusion protocol realization, surveys Examination agency and three main functional modules of management information library module.Protocol realization module references various criterion protocol stack is realized accessing Different wireless sensor networks, such as ISA100.11a, 6LowPAN, WIA-PA etc..Test agent module, tester is acted on behalf of (Test Agent, TA)It is to be embedded into before testing with reference to agreement(Reference Implementation, RI)Middle realization is surveyed User's application process of examination device agent functionality, acts on behalf of testing service device in test process and sends test agent order, by adjusting Complete encapsulation and the transmission of test agent order with RI, and test agent response message is uploaded to testing service device, it is right to complete Tested protocol realization Service controll is observed;Directly standard protocol stack interface and special test/service interface can also be entered simultaneously Row calls, and realizes into row energization to tested, controlled observation is realized in the lower service completing tested realization.Described management information library module Its protocol realization is carried out including version, operating system, hardware configuration, running log information integrated management.
Protocol analyzer provides the function of multi-protocols analysis, helps user to capture the packet in test network and to it Be analyzed, realize to the monitoring of test process and for test result whether by providing basis for estimation, by data acquisition Hold the packet in captured in real time test network and it is analyzed, protocol-decoding, performance evaluation, analysis of network work(are provided Energy;Described subtest equipment includes routing device and terminal unit, and described subtest equipment and tested node build jointly Networking operational environment, as standard device or jamming equipment in tested network, assists comprehensive tester to complete test process.
As shown in Fig. 2 remote protocol uniformity test server includes test module, protocol-analysis model, test report Generation module and management information bank;
As shown in figure 3, described test module asks to generate testing requirement model according to user test, in conjunction with abstract test Collection, covering configuration file, test script and PICS/PIXIT carry out model analyzing, using regression test technical finesse test script Generate ets (executive testing suite), and be added to testing newly-generated test cases in generation in system case library for adjusting again With.Described test module includes testing execution module, described testing execution module according to ets (executive testing suite) call sequencing contro, Test configurations, test are worked in coordination with, topology control executes test.Test module sets in testing protocol consistency server and head end test After standby foundation connects, directly communicated with comprehensive tester or protocol analyzer by UDP.
Described protocol-analysis model provides a protocol analysis model according to constructed by consensus standard, will be from integration test The data that instrument and protocol analyzer get carries out agreement with reference to protocol analysis mathematical model, network, performance evaluation obtain agreement Analysis result.Protocol-analysis model receives, by UDP, the network equipment being derived from accessed by comprehensive tester and protocol analyzer Information, and energy binding test module the testing and control command recognition being sent and multiple test response data packet that sort are right respectively Each packet is analyzed calculating with protocol capabilities.Analysis result is sent and generates mould to test report by protocol-analysis model Block.
Described test report generation module obtains test result according to protocol analysis result with reference to demand model, generates test Report;Test report is shown to user in the form of Web page view, and provides test report file to download for user.
Described management information bank is used for the integrated management data service of remote protocol uniformity test server, to long-range Testing protocol consistency server provides and includes log recording, fault diagnosis data management service.Integrated management realize to Family test operation, functional module running record simultaneously diagnoses, and stores in SQL Server data base in the form of a file, There is provided reference for remote protocol uniformity test maintenance management server personnel.Data management service is the internal work(of testing service device Module desired data storage can be provided and manage.The data storage medium that the system was used is mainly SQL Server number According to storehouse and XML file.Described management information bank is the attribute information to all devices(Including device id, test record, event day Will etc.)And system operation daily record carries out integrated management.
The present invention passes through network and can achieve that remote wireless sensors network protocol conformance is tested it is not necessary to set tested Tested for delivering to professional testing agency, test be can achieve by network remote, test process automation is run, there is provided The modelling analytic method of testing requirement and protocol analysis, effectively make use of regression test technical method, and obtains authority's survey Examination report, improves testing efficiency, reduces testing cost.There is structure simultaneously simple, high degree of automation, testing cost Low, the high feature of testing service device utilization rate.
A kind of radio sensing network remote protocol consistency testing system being illustrated in figure 4 present invention offer carries out agreement The flow process of uniformity test embodiment, comprises the following steps,
Step 401, user input testing requirement information, this demand information can include:Equipment under test information, such as coordinates Device, router or terminal unit;Test-types information, predominantly all of wireless sensor network protocols standard gauge at this stage Model, such as WIA-PA, ISA100.11a, 6LowPAN etc., the corresponding different types of test again of every kind of protocol type, as consistent in agreement Property test, safety test, mark test, performance test etc., can arbitrarily select test-types;Test mode information, such as single Test cases, individual feature, device type object, protocol network etc.;User test demand information, including protocol realization concordance Statement and protocol test realize additional information.
Step 402, testing service device forms testing requirement model according to the testing requirement of user input, by model inspection Generate user's request file, this file format type is XML document;
Step 403, judges user the need of changing testing requirement information, modified as needed to then proceeding to step 401, otherwise, Proceed to step 404;
Step 404, testing service device model file according to demand, ets (executive testing suite) is generated using regression test technology.
Step 405, judges whether to start test, if do not started, continues to proceed to step 403 and judges whether to need modification survey Examination demand information, otherwise proceeds to step 406;
Step 406, testing service device remotely connects front end test device by Internet;
Step 407, judges Remote testing device whether successful connection, does not such as have successful connection then to continue step 406 and connect Test equipment, otherwise proceeds to step 408;
Step 408, reads head end test test configurations information, configuration equipment wireless senser network node equipment network ginseng Number, this network parameter can include:Wireless sensor network radio communication channel number, equipment PANId, IEEE address etc.;
Step 409, testing service device executes test cases successively according to the ets (executive testing suite) being generated, in each survey Need according to testing requirement information, equipment is carried out with reading and the configuration of network parameter before examination case execution;
Step 410, testing service device testing execution module judges whether current test cases executes and terminates, without then Carry out step 411 to terminate until executing simultaneously;Otherwise enter step 412;
Step 411, the actual implementing result of comparative analysiss test execution and expected execution result;Testing execution module is passed through to join Put, sequencing contro, Collaborative Control, topology controls testing results case successively pre-configured, test step process.By protocol analysis mould The protocol analysis model providing inside block carries out related protocol parsing, and shows that test cases runs resolving;
Step 412, judges in ets (executive testing suite) whether all test cases execute and terminates, without going successively to walk Rapid 409 execution next one test cases, otherwise enter step 413;
Step 413, generates test report, and this test report content comprises process code, report number, measuring unit, survey Examination foundation, test result, standard requirement, result judgement etc..
A kind of remote protocol conformance test method of present invention offer is provided, comprises the following steps,
Step 1, user accesses remote protocol uniformity test server by Internet, and equipment under test is accessed Internet;
Step 2, user pass through remote protocol uniformity test server for the edition interface that it provides write testing requirement, Test cases and PICS(Protocol implementation conformance, PICS)/PIXIT (Protocol implementation extra information for testing, protocol test realizes additional information), Testing service device combines abstract test suite according to PICS/PIXIT information and existing covering configuration file generates ets (executive testing suite);
Step 3, remote protocol uniformity test server, according to ets (executive testing suite) scheduling tests case execution sequence, is adjusted With the test configurations in testing execution module, sequencing contro, test is worked in coordination with, topology controls the execution of remotely control front end test device Test cases;
Step 4, front end test device receives and transmitted test control command, and returns test response letter by Internet Breath;
Step 5, the protocol-analysis model of testing protocol consistency server will obtain from comprehensive tester and protocol analyzer The test response message got carries out agreement with reference to protocol analysis mathematical model, network, performance evaluation obtain protocol analysis result;
Step 6, user checks the multidate information in measuring executing process in client by interpersonal interactive interface, and can be By associative operation, test process is effectively controlled on interface;
Step 7, remote protocol uniformity test server is analyzed to test process and result, and generates test report Accuse.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention it is clear that those skilled in the art Member the present invention can be carried out various change and modification without departing from the spirit and scope of the present invention.So, if the present invention These modifications and modification belong within the scope of the claims in the present invention and its equivalent technologies, then the present invention is also intended to comprise these Including change and modification.

Claims (3)

1. a kind of wireless sensor network remote protocol consistency testing system it is characterised in that:Including at least one client, Front end test device and remote protocol uniformity test server;
Described client is passed through Web browser and is submitted test request to remote protocol uniformity test server;
Described remote protocol uniformity test server passes through Web browser provides test process information inspection and operation for client Service, process test is asked and is connected front end test device by Internet, and forward end test equipment sends test and joins simultaneously Put order;
Described front end test device receives test configurations order, encourages equipment under test, obtains tested network and facility information, and will Information is forwarded to remote protocol uniformity test server;
Described remote protocol uniformity test server parses the test request of user, generates test cases, and monitor in real time is tested Process, parses the data being got by front end test device and generates test report;
Described front end test device includes comprehensive tester, protocol analyzer and subtest equipment;
Described comprehensive tester serves as coordinator, gateway, router, terminal node role in wireless sensor network, and There is test function, described comprehensive tester calls test agent function that tested real-time performance is entered row energization, transmitted test generation Reason order and upload response message are to remote protocol uniformity test server;
Described protocol analyzer has the function of multi-protocols analysis, helps user to capture the packet in test network and it is entered Row analysis, realizes the monitoring to test process and for test result whether by providing basis for estimation, described protocol analyzer leads to Cross the packet in the captured in real time test network of data acquisition end and it is analyzed, protocol-decoding, performance evaluation, net are provided Network analytic function;
Described subtest equipment includes routing device and terminal unit, and described subtest equipment is built jointly with equipment under test Networking operational environment, as standard device or jamming equipment in tested network, assists comprehensive tester to complete test process;
Described remote protocol uniformity test server include test module, protocol-analysis model, test report generation module and Management information bank;
Described test module according to user test ask generate testing requirement model, in conjunction with abstract test suite, cover configuration file, Test script and PICS/PIXIT carry out model analyzing, generate ets (executive testing suite), and will test newly-generated survey in generation Examination case is added in system case library for calling again;Described test module includes testing execution module, and described test is held Row module calls sequencing contro, test configurations according to ets (executive testing suite), test is worked in coordination with, topology control executes test;
Described protocol-analysis model provides the protocol analysis model according to constructed by consensus standard, will be from comprehensive tester and agreement The data that analyser gets carries out protocol-decoding, analysis of network, performance evaluation with reference to protocol analysis model, obtains protocol analysis As a result, and by analysis result send to test report generation module;
Described test report generation module obtains test result according to protocol analysis result with reference to demand model, generates test report Accuse;
Described management information bank is used for the integrated management data service of remote protocol uniformity test server, to remote protocol Uniformity test server provides and includes log recording, fault diagnosis data management service;
Described ets (executive testing suite) is obtained using regression test technology.
2. wireless sensor network remote protocol consistency testing system according to claim 1 it is characterised in that:Described Comprehensive tester is passed through universal test/service interface and is connected with the foundation of remote protocol uniformity test server, by special survey Examination/service interface is realized equipment from different wireless sensor network protocols and is set up connection;Described comprehensive tester includes agreement Realize module, test agent module and management information library module,
Described protocol realization module references various criterion protocol stack is realized accessing different wireless sensor networks,
Described test agent module be embedded into before testing with reference to the user realizing tester agent functionality in agreement apply into Journey, acts on behalf of testing service device in test process and sends test agent order, completes test agent life by calling with reference to agreement The encapsulation of order and transmission, and test agent response message is uploaded to testing service device, complete to tested protocol realization service control System is observed;Directly standard protocol stack interface and special test/service interface can also be called simultaneously, real to tested agreement Now enter row energization, controlled observation is realized in the lower service completing tested protocol realization;
Described management information library module is carried out including version, operating system, hardware configuration, running log information to its protocol realization Integrated management.
3. a kind of wireless sensor network remote protocol conformance test method is it is characterised in that comprise the following steps:
Step 1:User accesses remote protocol uniformity test server by Internet, and equipment under test is accessed Internet;
Step 2:User writes testing requirement, test by remote protocol uniformity test server for the edition interface that it provides Case and PICS/PIXIT, testing service device combines abstract test suite according to PICS/PIXIT information and existing covering configures literary composition Part automatically generates ets (executive testing suite);
Step 3:Remote protocol uniformity test server, according to ets (executive testing suite) scheduling tests case execution sequence, calls survey Try the test configurations in performing module, sequencing contro, test is worked in coordination with, topology controls remotely control front end test device to execute test Case;
Step 4:Front end test device receives and transmitted test control command, and returns test response message by Internet;
Step 5:The test getting from headend equipment is responded by the protocol-analysis model of remote protocol uniformity test server Information carries out agreement with reference to protocol analysis mathematical model, network, performance evaluation obtain protocol analysis result;
Step 6:User checks the multidate information in measuring executing process in client by interpersonal interactive interface, and can be at interface Above by associative operation, test process is effectively controlled;
Step 7:Remote protocol uniformity test server is analyzed to test process and result, and generates test report;Institute State front end test device and include comprehensive tester, protocol analyzer and subtest equipment;
Described comprehensive tester serves as coordinator, gateway, router, terminal node role in wireless sensor network, and There is test function, described comprehensive tester calls test agent function that tested real-time performance is entered row energization, transmitted test generation Reason order and upload response message are to remote protocol uniformity test server;
Described protocol analyzer has the function of multi-protocols analysis, helps user to capture the packet in test network and it is entered Row analysis, realizes the monitoring to test process and for test result whether by providing basis for estimation, described protocol analyzer leads to Cross the packet in the captured in real time test network of data acquisition end and it is analyzed, protocol-decoding, performance evaluation, net are provided Network analytic function;
Described subtest equipment includes routing device and terminal unit, and described subtest equipment is built jointly with equipment under test Networking operational environment, as standard device or jamming equipment in tested network, assists comprehensive tester to complete test process;Institute State remote protocol uniformity test server and include test module, protocol-analysis model, test report generation module and management letter Breath storehouse;
Described test module according to user test ask generate testing requirement model, in conjunction with abstract test suite, cover configuration file, Test script and PICS/PIXIT carry out model analyzing, generate ets (executive testing suite), and will test newly-generated survey in generation Examination case is added in system case library for calling again;Described test module includes testing execution module, and described test is held Row module calls sequencing contro, test configurations according to ets (executive testing suite), test is worked in coordination with, topology control executes test;
Described protocol-analysis model provides the protocol analysis model according to constructed by consensus standard, will be from comprehensive tester and agreement The data that analyser gets carries out protocol-decoding, analysis of network, performance evaluation with reference to protocol analysis model, obtains protocol analysis As a result, and by analysis result send to test report generation module;
Described test report generation module obtains test result according to protocol analysis result with reference to demand model, generates test report Accuse;
Described management information bank is used for the integrated management data service of remote protocol uniformity test server, to remote protocol Uniformity test server provides and includes log recording, fault diagnosis data management service;Described comprehensive tester passes through logical Set up with test/service interface and remote protocol uniformity test server and be connected, by special test/service interface from different Wireless sensor network protocols realize equipment set up connect;Described comprehensive tester includes protocol realization module, test agent Module and management information library module,
Described protocol realization module references various criterion protocol stack is realized accessing different wireless sensor networks,
Described test agent module be embedded into before testing with reference to the user realizing tester agent functionality in agreement apply into Journey, acts on behalf of testing service device in test process and sends test agent order, completes test agent life by calling with reference to agreement The encapsulation of order and transmission, and test agent response message is uploaded to testing service device, complete to tested protocol realization service control System is observed;Directly standard protocol stack interface and special test/service interface can also be called simultaneously, real to tested agreement Now enter row energization, controlled observation is realized in the lower service completing tested protocol realization;
Described management information library module is carried out including version, operating system, hardware configuration, running log information to its protocol realization Integrated management.
CN201310542850.XA 2013-11-05 2013-11-05 Wireless sensor network remote protocol conformance testing system and method Active CN103560932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310542850.XA CN103560932B (en) 2013-11-05 2013-11-05 Wireless sensor network remote protocol conformance testing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310542850.XA CN103560932B (en) 2013-11-05 2013-11-05 Wireless sensor network remote protocol conformance testing system and method

Publications (2)

Publication Number Publication Date
CN103560932A CN103560932A (en) 2014-02-05
CN103560932B true CN103560932B (en) 2017-02-08

Family

ID=50015086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310542850.XA Active CN103560932B (en) 2013-11-05 2013-11-05 Wireless sensor network remote protocol conformance testing system and method

Country Status (1)

Country Link
CN (1) CN103560932B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125116A (en) * 2014-08-04 2014-10-29 上海斐讯数据通信技术有限公司 Method and system for testing protocol conformance
CN104202210B (en) * 2014-08-06 2017-11-14 上海交通大学 User customizable protocol capabilities test system
CN104615928B (en) * 2014-11-28 2018-07-17 北京振兴计量测试研究所 Measurement and examination method, verification system and server
CN104703206B (en) * 2015-02-15 2018-05-18 中国科学院上海微系统与信息技术研究所 Towards the Network Protocol Performance Testing bed system and test method of wireless sense network
CN104899150B (en) * 2015-06-30 2018-03-02 上海斐讯数据通信技术有限公司 Automated testing method and system and automation platform based on object-oriented
CN105158719B (en) * 2015-09-30 2018-04-03 国家电网公司 A kind of partial discharge intelligent assembly check system and method
CN107786671A (en) * 2017-11-10 2018-03-09 广东电网有限责任公司电力科学研究院 A kind of power equipment remote test system
CN108924951B (en) * 2018-06-01 2021-11-26 晶晨半导体(上海)股份有限公司 Information interaction method
CN109039824B (en) * 2018-08-27 2023-05-12 一汽解放汽车有限公司 Automatic test system and method for wireless remote communication protocol of vehicle-mounted terminal
CN110071958B (en) * 2019-02-01 2020-07-28 西安电子科技大学 Sensor node control method based on embedded web
CN110380939B (en) * 2019-08-08 2022-03-29 重庆邮电大学 Consistency test method and system for local communication protocol in electricity consumption information acquisition system
CN112564934B (en) * 2019-09-26 2024-04-09 中国移动国际有限公司 Fault positioning method and equipment for special line service circuit and computer storage medium
CN110830330B (en) * 2019-12-06 2022-01-28 浙江中控技术股份有限公司 Firewall testing method, device and system
CN112417798B (en) * 2020-11-27 2023-05-23 成都海光微电子技术有限公司 Time sequence testing method and device, electronic equipment and storage medium
CN112527645B (en) * 2020-12-14 2023-05-30 机械工业仪器仪表综合技术经济研究所 OPC-UA consistency automatic test method
CN113515415B (en) * 2021-04-12 2024-03-08 山东英信计算机技术有限公司 Test medium generation method, system and medium
CN113852426A (en) * 2021-09-24 2021-12-28 博鼎实华(北京)技术有限公司 Remote testing method, device and system
CN115550231A (en) * 2022-03-31 2022-12-30 许昌开普检测研究院股份有限公司 Multi-protocol testing platform based on configuration file and testing method thereof
CN117672342B (en) * 2024-01-29 2024-04-05 合肥康芯威存储技术有限公司 Protocol monitoring system and method for memory chip

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867504A (en) * 2010-06-17 2010-10-20 中控科技集团有限公司 Method and device for testing consistency of automation fieldbus
CN102695187A (en) * 2012-06-01 2012-09-26 重庆邮电大学 Distributed Web-based device and method for testing 6LoWPAN protocol consistency

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808355B (en) * 2009-12-28 2013-03-20 重庆邮电大学 System and method for testing consistency of industrial wireless network protocol
CN102158882B (en) * 2011-05-27 2014-07-09 重庆邮电大学 Two-channel data detection and protocol analysis meter based on 6LowPAN and method
TW201322687A (en) * 2011-11-25 2013-06-01 Askey Technology Jiang Su Ltd Test method of a wireless network device and test system thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867504A (en) * 2010-06-17 2010-10-20 中控科技集团有限公司 Method and device for testing consistency of automation fieldbus
CN102695187A (en) * 2012-06-01 2012-09-26 重庆邮电大学 Distributed Web-based device and method for testing 6LoWPAN protocol consistency

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Research of Conformance Testing of Low-rate Wireless Sensor Networks based on Remote Test Method;Haofei Xie, Liu Wei;《2013 International Conference on Computational and Information Sciences》;20130623;全文 *

Also Published As

Publication number Publication date
CN103560932A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
CN103560932B (en) Wireless sensor network remote protocol conformance testing system and method
CN103812726B (en) Automated testing method and device for data communication equipment
CN102402215B (en) For collecting the method and device of process control data
CN106961362B (en) Automated testing method and mobile cloud test system
CN102244594B (en) At the networks simulation technology manually and in automatic testing instrument
CN108733552B (en) FPGA remote debugging system and remote debugging method
CN102695187B (en) Distributed Web-based device and method for testing 6LoWPAN protocol consistency
CN104539053B (en) Power dispatching automation polling robot and method based on reptile technology
KR100551454B1 (en) Grid computing control method for testing application program capacity of server and service method there of
CN107341098A (en) Software performance testing method, platform, equipment and storage medium
CN102141962A (en) Safety distributed test framework system and test method thereof
CN101478449A (en) Protocol automatic test method and system thereof
CN104932974B (en) A kind of script conversion method and device
CN107682404B (en) Remote control system and control method for multi-protocol environmental test equipment
CN109446075A (en) Interface testing method and device
CN111211934B (en) Cluster remote communication test method and system
CN113419920A (en) Real-time monitoring method for joint debugging test process of simulation test system of Internet of things management platform
CN106933712A (en) Networking remote test system and method based on B/S frameworks
KR100551452B1 (en) Grid computing system for testing application program capacity of server
CN106909615A (en) Data message consistency verification method and device between a kind of main website and substation
CN116662204A (en) Method, device, system and storage medium for generating code-free test cases
CN107104997A (en) A kind of reorientation method, terminal and system
CN201315020Y (en) Remote calibration system
CN108363922A (en) A kind of automation malicious code emulation detection method and system
Lagerqvist et al. IoT Latency and Power consumption: Measuring the performance impact of MQTT and CoAP

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant