CN104618919A - Method for testing sensing node identifier resolution consistency of sensor network - Google Patents

Method for testing sensing node identifier resolution consistency of sensor network Download PDF

Info

Publication number
CN104618919A
CN104618919A CN201510002662.7A CN201510002662A CN104618919A CN 104618919 A CN104618919 A CN 104618919A CN 201510002662 A CN201510002662 A CN 201510002662A CN 104618919 A CN104618919 A CN 104618919A
Authority
CN
China
Prior art keywords
test
node
identifier
sensor network
uniformity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510002662.7A
Other languages
Chinese (zh)
Other versions
CN104618919B (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 CN201510002662.7A priority Critical patent/CN104618919B/en
Publication of CN104618919A publication Critical patent/CN104618919A/en
Application granted granted Critical
Publication of CN104618919B publication Critical patent/CN104618919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a method for testing sensing node identifier resolution consistency of a sensor network, and belongs to the technical field of a wireless sensor network. The method comprises a node identity label coding consistency test, OID (object identifier) coding type analysis consistency test, sensing network identifier resolution consistency test, node information identifier (NIS) resolution consistency test and sensing layer identifier (SIS) resolution consistency test, and other testing cases, wherein every testing case is composed of one or more testing steps. Through the method for testing sensing node identifier resolution consistency of the sensor network, verifications if the resolution process of the sensing node identify label complies with standard specification and if the realizing step and method of the resolution process are consistent with the identifier resolution testing specification are realized, and thereby confirming the correctness and integrity of the tested node identifier during the process of realizing the resolution process. Meanwhile, the method for testing sensing node identifier resolution consistency of the invention can independently serve for testing the sensing node identifier resolution consistency of the sensor network, thus the expansibility and the universality of the method area added.

Description

Sensor network sensing node identifier resolution conformance test method
Technical field
The invention belongs to wireless sensor network technology field, relate to a kind of sensor network sensing node identifier resolution conformance test method.
Background technology
In recent years, along with the develop rapidly of sensor network technique, its application obtains great expansion, becomes the important component part of Internet of Things future development.Sensor Network identifier resolution specification, as the standard obtaining the production attribute information of certain node in sensor network, apply property information and perception information, has been included in the standards system of standardization body.
Domestic and international at present have large quantifier elimination to sensor network sensing node identifier resolution specification, when sensor network sensing node identifier research in all at known sensing node identification identifier and this identification identifier specification is unique carry out, as in " a kind of identification analytic method based on wireless sensor network " patent and " the wireless sensor network node identifier resolution method based on IP and non-IP " patent, if cannot obtain in wireless sensor network sensing node identifier situation or the sensing node identifier obtained be do not meet specification or not unique when, identifier resolution and practical application can not be carried out.Further, in the research of each sensor network sensing node identifier resolution method and system, whether sensing node identification (RNC-ID) analytic implementation procedure is consistent with identifier resolution is problem faced by sensing node identifier resolution system needs.
In fact, uniformity test is the important step of certification Open System Interconnection product, and being also the guarantee of sensing node identifier extension application, is mutual exercisable prerequisite.Sensor network sensing node identifier resolution uniformity test is the test to sensing node identifier resolution process, is the guarantee of sensing node identifier resolution process conformity and integrality.Therefore, the expansion application of sensor network sensing node identifier resolution uniformity test to the design of sensing node identifier resolution system and Sensor Network identifier is had great significance.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of sensor network sensing node identifier resolution conformance test method, the method for verifying the resolving of sensing node identification identifier and whether meet standard criterion and whether resolving performing step being consistent with identifier resolution test specification with mode, thus determines that tested node identifier realizes analytical capabilities correctness and integrality.
For achieving the above object, the invention provides following technical scheme:
A kind of sensor network sensing node identifier resolution conformance test method, the method is used for normalization and the consistency of verificating sensor network sensing node identifier resolution process; Described sensor network sensing node identifier resolution uniformity test, based on the sensing node identification identifier that specification is unique, comprising: node identities identifier code uniformity test, OID type of coding resolve uniformity test, Sensor Network identification (RNC-ID) analytic uniformity test, nodal information mark (NIS) resolves uniformity test, sensing layer mark (SIS) resolves uniformity test;
Described node identities identifier code uniformity test, for verifying normalization and the uniqueness of node identities identifier code, for sensor network identifier resolution uniformity test provides safeguard; Described node identities identifier is provided by test subscriber, if test subscriber only provides sensing node, and sensing node identification identifier is unknown, then need to carry out sensor network sensing node identifier code uniformity test; If the known described node identities identifier of test subscriber, then need to carry out the node identities identifier code uniformity test based on the Internet;
Described OID type of coding resolves uniformity test, is be whether meet standard criterion based on the resolving of OID domain name transformation rule to verify by node identities identifier resolution;
Described Sensor Network identification (RNC-ID) analytic uniformity test is to verify whether the process by resolving to Sensor Network mark domain name transformation rule based on OID domain name transformation rule meets standard criterion;
Described NIS resolves uniformity test, is to verify whether identify by Sensor Network the resolving that domain name transformation rule resolves to NIS nodal information meets standard criterion;
Described SIS resolves uniformity test, is to verify whether identify by Sensor Network the resolving that domain name transformation rule resolves to SIS nodal information meets standard criterion.
Described sensor network sensing node identifier code conformance test method not only can carry out uniformity test to sensor network sensing node identification identifier coding, also can carry out uniformity test as a kind of method of testing to sensor network sensing node identifier code separately.
Further, if test subscriber only provides sensing node, and sensing node identification identifier is unknown, then need to carry out sensor network sensing node identifier code uniformity test, and concrete steps are as follows:
1) test subscriber provides the tested node having unique identity symbol, and accesses testing server by browser mode, carries out as the configuration accordingly such as channel number, PANID according to tested node to test router;
2) test subscriber is by tested node and test router MANET, and testing server stores the networking short address of tested node, and generates test-request command according to its networking short address;
3) testing server sends test request to test router, after test router receives test request, according to step 2) in short address in test-request command send test-request command to the tested node distributing this short address;
4) test-request command of tested node response test router, uploading nodes identification identifier response message is to test router, and test router transmitted response information is to testing server;
5) testing server will receive step 4) response message after, process according to the identification identifier code parsing test model based on regular expression, and mate with identifier registry regulator, draw test result.
Further, if the known described node identities identifier of test subscriber, then need to carry out the node identities identifier code uniformity test based on the Internet, whether the node identities identifier that the described node identities identifier code uniformity test based on the Internet is used for validation test user input meets standard criterion, specifically comprise: the node identities identifier that test subscriber inputs by testing server carries out the identification identifier code parsing verification model process based on regular expression, and mate with identifier registry regulator, verify whether this node identities identifier meets standard criterion.
Further, described identification identifier coding consistency test cases is made up of 4 identification identifier coding consistency test steps; Described identification identifier coding consistency test step, formulates according to sensor network sensing node identification identifier coding composition, comprises management organization's code tester step, version number's test step, generates manufacturer's test step, product code test step; The success or not of identification identifier coding consistency test cases is determined by each identification identifier coding consistency test step.
Further, described OID type of coding is resolved uniformity test and is carried out under the successful prerequisite of node identities identifier code uniformity test, specifically comprises the following steps:
1) testing server processes node identities identifier, extracts the management organization's code in node identities identifier, and line pipe of going forward side by side reason Institution Code encryption algorithm obtains the management organization's code based on OID type of coding;
2) testing server issues OID to OID resolution server and resolves test-request command, returns based on OID domain name transformation rule after the test-request command that OID resolution server receives;
3) testing server is by step 1) in the management organization's code based on OID type of coding and step 2) in carry out matching test checking based on OID domain name transformation rule, if both couplings, return Sensor Network identification (RNC-ID) analytic server address information to testing server, carry out next test cases; If do not mate, then test crash.
Further, described Sensor Network identification (RNC-ID) analytic uniformity test, carries out, specifically comprises the following steps under OID type of coding resolves the successful prerequisite of uniformity test:
1) testing server sends Sensor Network identification (RNC-ID) analytic uniformity test request command to Sensor Network identification (RNC-ID) analytic server;
2) testing server judges whether tested node identities identifier exists in Sensor Network identification (RNC-ID) analytic server, if exist, Sensor Network identification (RNC-ID) analytic server goes to step 3 after returning Sensor Network mark domain name transformation rule NAPTR record corresponding to tested node identities identifier); If do not exist, then Sensor Network identification (RNC-ID) analytic uniformity test failure, test completes;
3) testing server is by step 2) Sensor Network that obtains mark domain name transformation rule carries out resolving checking based on the NAPTR record of regular expression, judges whether this NAPTR record meets standard criterion, if meet, carries out next test cases; If do not meet, test crash.
Further, described NIS resolves uniformity test, carry out under test subscriber has sensing node information analysis uniformity test demand and the successful prerequisite of Sensor Network identification (RNC-ID) analytic uniformity test, test process is as follows: testing server sends NIS and resolves uniformity test request command to NIS resolution server, testing server checking NIS server this tested node identities identifier whether registered, if registered, return node identification identifier information, tests successfully; If not registration, then test crash, test completes.
Further, described SIS resolves uniformity test, carries out under test subscriber has sensing layer nodal information to resolve uniformity test demand and the successful prerequisite of Sensor Network identification (RNC-ID) analytic uniformity test; Be divided into based on IP and based on non-IP two type according to sensor network, the parse addresses relation that the test router of tested node in two kinds of test networks is set up is also different: in described IP-based sensor network, test be tested node identities identifier and its IP address bindings; In the described sensor network based on non-IP, test be mailing address mapping relations in vertical tested node identities identifier and its net; SIS resolves uniformity test, specifically comprises the following steps:
1) node identities identifier and test router IP address mapping relation are tested: " node identities identifier and test router IP address mapping relation " is resolved test command and be sent to test router by testing server, if test router responds this test-request command, then carry out step 2); If without response, then show the node identities identifier that client server is set up and test router IP address mapping relation mistake, test crash;
2) according to test router response, judge test network type, if this test network is IP network, then carry out step 3); If this test network is non-IP network, then carry out step 31);
3) in IP-based sensor network, carry out node identities identifier on client server and node IP address binding relationship is tested: " the node identities identifier on client server and node IP address binding relationship " is resolved test command and be sent to test router by testing server, test router returns to the IP address of this tested node to testing server, testing server carries out checking mate " node identities identifier and node IP address binding relationship " interior joint IP address that this IP address and client server are set up, if the match is successful, then carry out step 4), if mate unsuccessful, then show the node identities identifier that client server is set up and node IP address binding relationship mistake, test crash,
31) in the sensor network based on non-IP, the node identities identifier carried out on test router is tested with mailing address mapping relations in its net: testing server sends, and " the node identities identifier on test router and the short address mapping relations that communicate in node net " resolve test command to tested node, tested node returns SIS resolving information to testing server, carry out step 6);
4) in IP-based sensor network, carry out identification identifier on test router and node IP address binding relationship is tested: testing server sends " the node identities identifier on test router and its IP address bindings " resolves test request to tested node, after tested node receives test command, return packet node IP address response message to test router, response message is forwarded to testing server by test router, testing server carries out the coupling of node IP address, if the match is successful, then carry out step 5); If unsuccessful, then test crash;
5) in IP-based sensor network, the node identities identifier carried out on test router is tested with the short address mapping relations that communicate in node net: according to step 4) node IP address matching result, testing server finds node networking short address according to node IP address mapping relations, testing server generates tested node identifier resolve command according to node networking short address and is sent to tested node, tested node returns SIS resolving information, carry out step 6);
6) testing server carries out mating according to the SIS resolving information returned and the data of resolution server, analyze, shows, and test completes.
User resolves testing requirement, comprises sensing node information analysis uniformity test demand and sensing layer nodal information resolves uniformity test demand.Sensing node information analysis uniformity test is the test to being obtained node identities attribute information process by node identities identifier; It is to the test by node identities identifier acquisition node apply property information and perception information process that sensing layer nodal information resolves uniformity test.According to the difference of resolving testing requirement, the sensor network sensing node identifier resolution consistency case of carrying out is also different, but it is complementary for resolving between each test cases in test, and whether relevant with the test result of a upper test cases execution of next test cases is.
Beneficial effect of the present invention is: pass through the present invention, achieve and verify whether the resolving of sensing node identification identifier meets standard criterion and whether resolving performing step is consistent with identifier resolution test specification with mode, thus determine that tested node identifier realizes correctness and the integrality of analytical capabilities.The node identities identifier code conformance test method that simultaneously the present invention relates to, can be separately the service of sensor network sensing node identifier code uniformity test, add autgmentability of the present invention and versatility.
Accompanying drawing explanation
In order to make object of the present invention, technical scheme and beneficial effect clearly, the invention provides following accompanying drawing and being described:
Fig. 1 is a kind of sensor network sensing node identifier resolution consistency testing system overall architecture schematic diagram;
Fig. 2 is a kind of sensor network sensing node identifier resolution uniformity test flow process;
Fig. 3 is sensor network sensing node identifier code uniformity test data flow;
Fig. 4 is the identification identifier code parsing checking flow process based on regular expression;
Fig. 5 is that OID type of coding resolves uniformity test flow process;
Fig. 6 is Sensor Network identification (RNC-ID) analytic uniformity test flow process;
Fig. 7 is that SIS resolves uniformity test framework;
Fig. 8 is sensor network sensing node identifier resolution uniformity test abstract test suite.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described in detail.
Fig. 1 is sensor network sensing node identifier resolution consistency testing system overall architecture schematic diagram, as shown in the figure, test subscriber, Sensor Network identifier resolution testing server, OID resolution server, Sensor Network identification (RNC-ID) analytic server, information server SIS, sensing layer identification (RNC-ID) analytic server NIS, identifier register regulator, client server, test router, tested sensing node is comprised.
Test subscriber: test subscriber provides identification identifier or provides has the tested sensing node of uniquely identified, user's telnet access testing server, configuration testing router, performs identifier resolution uniformity test.
Testing server: generate and resolve test-request command, initiate to resolve test request, the response message that each test case returns is processed, as functions such as checking node identities identifier code coherency response information, XM identification identifier management organization code coding algorithms.
OID resolution server: response OID type of coding resolves uniformity test request, returns based on OID domain name transformation rule to testing server.
Sensor Network identification (RNC-ID) analytic server: response Sensor Network identification (RNC-ID) analytic uniformity test request, returns Sensor Network mark domain name transformation rule NAPTR and is recorded to testing server.
Information server NIS: response NIS resolves uniformity test request, returns the IP address bindings of tested node identities identifier and information server NIS, node identities attribute information to testing server.
Sensing layer identification (RNC-ID) analytic server S IS: response SIS resolves uniformity test request, return node identification identifier and client server IP address bindings.
Identifier register regulator: registration regulator is the information server of identity-based identifier, is responsible for store and management sensing node identifier, definition, revision apply property identifier code.
Client server: set up the binding relationship of the IP address of sensing node identification identifier and sensing node, sensing node identification identifier and gateway ip address test router and forward and resolve mapping relations; Memory node apply property information and perception information.
Test router: uniformity test request and tested node response message, simultaneously test router memory node identification identifier and node IP address binding relationship or node identities identifier and 16 mapping relations communicating short address in its net.
Tested sensing node: have test subscriber to provide, store the identification identifier that to can be used in global range uniquely, unambiguously identify sensing node identity, the test request of response test router, returns response message to test router.
Fig. 2 is a kind of sensor network sensing node identifier resolution uniformity test flow process;
Step 1: provide the mode of node identities identifier to carry out node identities identifier code uniformity test according to test subscriber:
If a. test subscriber only provides tested sensing node, then carry out sensor network sensing node identifier code uniformity test.
If the b. manual input node identification identifier of test subscriber, then carry out the node identities identifier code uniformity test based on the Internet.
Step 2: if node identities identifier code is tested successfully, then carry out OID type of coding and resolve uniformity test; If node identities identifier code test crash, then test end;
Step 3: if OID type of coding resolves uniformity test success, then carry out Sensor Network identification (RNC-ID) analytic uniformity test; If OID type of coding resolves uniformity test failure, then test end;
Step 4: if the success of Sensor Network identification (RNC-ID) analytic uniformity test, carries out NIS according to testing requirement and resolves uniformity test or SIS parsing uniformity test.
Step 5: if step 1-4 is successful, then resolve uniformity test success; If any step test crash in step 1-4, then resolve uniformity test failure.
Fig. 3 is sensor network sensing node identifier code uniformity test data flow, Fig. 4 is the identification identifier code parsing flow process based on regular expression, Fig. 3 and Fig. 4 is combined into sensor network sensing node identifier code uniformity test flow process, and Fig. 4 can be used as the node identities identifier code uniformity test flow process based on the Internet.What Fig. 3 related to have the test preparatory stage, stage and test response information analysis test phase are carried out in test, but Fig. 3 is mainly test carries out the stage, and Fig. 4 is mainly node identities identifier response message parsing test phase.
The test preparatory stage:
(1) tested sensing node is provided by test subscriber, and have unique identity symbol in tested sensing node, test subscriber configures accordingly to test router according to demand, tested node and test router MANET.
(2) testing server is according to the information of tested node Ad Hoc network, stores the networking short address of tested node, and generates test-request command according to its networking short address, and equipment under test enters state to be tested.
The stage is carried out in test:
(1) testing server sends test request to test router, after test router receives test request, sends test-request command according to the short address in test-request command to the tested node distributing this short address;
(2) request command of tested node response test router, uploading nodes identification identifier response message is to test router, and test router transmitted response information is to testing server.
(3) the identification identifier code parsing verification model process that will carry out after the tested node identities identifier response message received based on regular expression of testing server, and mate with identifier registry regulator, draw identification identifier encode test results, test completes.
Test response information analysis test phase:
Testing server uses the identification identifier response message of identification identifier code parsing test model to tested node based on regular expression to carry out parsing coupling, resolves coupling step as shown in Figure 4:
Step 401: parse node response message, judges that whether the identification identifier response message of tested node is empty, if not empty, then performs step 402, if it is empty, then represents the online or network problem of tested node, test crash.
Step 402: the identification identifier response message of tested node is not empty, judges whether the length of this identification identifier response message meets standard criterion, if meet, then carry out step 403, if do not meet, then represent that response message does not meet standard criterion, test crash.
Step 403: according to identification identifier coding establishment rules, the every partial data reference format of the identifier that determines one's identity (datastandardformat, be called for short DSF) with matching regular expressions pattern (the regular expressionmatching mode of its matches criteria form, be called for short REMM) production Methods, as shown in formula (1), wherein the G () production Methods that is DSF to REMM.
DSF → G (REMM) formula (1)
Step 404: under step 2 successfully situation, enter response message to identification identifier to split, comprise management organization's code, version number, generation vendor code, product code etc. 4 kinds segmentation response message (splitresponse information, be called for short SRI), use REMM to mate it successively according to SRI information category, matching relationship is as described in formula (2):
formula (2)
F (k, i) represents the result of the coupling after mating step successively, and k is coupling step, and identification identifier codes match step is 4 steps, so 0≤k≤4; ifor matching result, when the match is successful for coupling step, iadd 1, so 0≤i≤4; M (k) represents the step of mating and proceeding to; represent the matching relationship of REMM and RSI.Work as k=4, i=4, represent that coupling step completes, numerical digit that the match is successful 4, namely coupling is proved to be successful.
From formula (2), each type format Data Matching is a test step, identification identifier coding consistency example has 4 test steps, if 4 test steps all pass through, then represent that every same data message of identification identifier information meets canonical code establishment rules, this identification identifier meets standard criterion, carry out step 405; If any one test step does not pass through, then test crash.
Step 405: to the identification identifier response message of tested node meeting specification, regulator mates at identifier registry, verifies whether the identification identifier of this tested node is registered.Regular expression is used to mate registration regulator huge database, the tested node identities identifier response message meeting specification is generated matching regular expressions pattern, mate with the data in registration regulator, if what return is the single substring carrying out multiple character strings of mating for pattern, then carry out step 406; If what return is multiple substring or does not return results, then show matching test failure;
Step 406: test successfully, survey tested node identities identifier and meet sensing node identifier code specification, and register in registration regulator, then this tested node identities identifier code specification is unique, can carry out identifier resolution uniformity test.
Fig. 5 is that OID type of coding resolves uniformity test flow process:
OID type of coding is resolved uniformity test and is carried out under the successful prerequisite of node identities identifier code uniformity test, and its step is as follows:
Step 1: testing server sends OID type of coding and resolves uniformity test request to OID resolution server;
Step 2:OID resolution server returns OID domain name transformation rule response message to testing server after just receiving and resolving test request;
Step 2 ': testing server extracts management organization's code of tested node identities identifier, according to management organization's code coding algorithm, draws the management organization's code based on OID type of coding;
Step 3: testing server is to step 2 and step 2 ' result carry out coupling checking, if coupling is proved to be successful, then OID type of coding resolves uniformity test success, returns Sensor Network identification (RNC-ID) analytic server address information to testing server, carries out the next one and resolves test cases; If coupling authentication failed, then OID type of coding resolves uniformity test failure, and test terminates.
Fig. 6 is Sensor Network identification (RNC-ID) analytic uniformity test flow process:
Sensor Network identification (RNC-ID) analytic uniformity test carries out under OID type of coding resolves the successful prerequisite of uniformity test:
Step 1: testing server sends the request of Sensor Network identification (RNC-ID) analytic uniformity test to Sensor Network identifier resolution server, and testing server judges whether Sensor Network identifier resolution server has this tested node identities identifier, if exist, then carry out step 2; If do not exist, then test crash;
Step 2: the domain name transformation rule NAPTR that Sensor Network identifier resolution server returns this tested node identities identifier is recorded to testing server, the Sensor Network of acquisition mark domain name transformation rule carries out resolving checking based on the NAPTR record of regular expression by testing server, verify whether it meets standard criterion, if meet standard criterion, then carry out next test cases; If do not meet standard criterion, then test crash.
Fig. 7 is that SIS resolves uniformity test Organization Chart, as shown in the figure, comprise based on IP and non-IP Sensor Network SIS resolve uniformity test.According to different from the parse addresses that tested node in the Sensor Network of non-IP is set up on client server, test router based on IP, SIS resolves uniformity test to be needed to carry out following steps:
Step 1: node identities identifier and test router IP address mapping relation are tested: " node identities identifier and test router IP address mapping relation " is resolved test command and be sent to test router by testing server, if test router responds this test-request command, then carry out step 2; If without response, then show the node identities identifier that client server is set up and test router IP address mapping relation mistake, test crash;
Step 2: according to test router response, judge test network type, if this test network is IP network, then carry out step 3; If this test network is non-IP network, then carry out step 3';
Step 3: in IP-based sensor network, carry out node identities identifier on client server and node IP address binding relationship is tested: " the node identities identifier on client server and node IP address binding relationship " is resolved test command and be sent to test router by testing server, test router returns to the IP address of this tested node to testing server, testing server carries out checking mate " node identities identifier and node IP address binding relationship " interior joint IP address that this IP address and client server are set up, if the match is successful, then carry out step 4, if mate unsuccessful, then show the node identities identifier that client server is set up and node IP address binding relationship mistake, test crash,
Step 3': in the sensor network based on non-IP, the node identities identifier carried out on test router is tested with mailing address mapping relations in its net: testing server sends, and " the node identities identifier on test router and the short address mapping relations that communicate in node net " resolve test command to tested node, tested node returns SIS resolving information to testing server, carry out step 6;
Step 4: in IP-based sensor network, carry out identification identifier on test router and node IP address binding relationship is tested: testing server sends " the node identities identifier on test router and its IP address bindings " resolves test request to tested node, after tested node receives test command, return packet node IP address response message to test router, response message is forwarded to testing server by test router, testing server carries out the coupling of node IP address, if the match is successful, then carry out step 5; If unsuccessful, then test crash;
Step 5: in IP-based sensor network, the node identities identifier carried out on test router is tested with the short address mapping relations that communicate in node net: according to step 4 node IP address matching result, testing server finds node networking short address according to node IP address mapping relations, testing server generates tested node identifier resolve command according to node networking short address and is sent to tested node, tested node returns SIS resolving information, carry out step 6;
Step 6 testing server carries out mating according to the SIS resolving information returned and the data of resolution server, analyze, shows, and test completes.
Fig. 8 is sensor network sensing node identifier resolution uniformity test abstract test suite, sensor network sensing node identifier resolution uniformity test abstract test suite is formulated with " information technology sensor network the 502nd part: identify: sensing node identifier resolution specification " according to national sensor network standards working group WGSN PG5 identification item group " information technology sensor network the 501st part: mark: sensing node identifier establishment rules ", comprise identification identifier coding consistency test case, apply property identifier code uniformity test example, OID type of coding resolves uniformity test example, Sensor Network identification (RNC-ID) analytic uniformity test example, nodal information mark (NIS) is resolved uniformity test example and is identified (SIS) resolve uniformity test example with sensing layer, each test case is divided into multiple test step according to specification again, specifically see Fig. 8.The relation of sensor network sensing node identifier resolution uniformity test abstract test suite and each test case is as shown in Equation 3:
formula (3)
TS represents parsing uniformity test abstract test suite, TC irepresent each examination example, p represents the number of test case, so 0≤p≤5, i represents test case successfully number, so 0≤i≤p, s represents success.From formula (3), resolve uniformity test abstract test suite TS to be made up of each test case TC, whether whether successfully successful execution determines parsing uniformity test to each test case, and be complementary between each test case, whether relevant with the test result of a upper test cases execution of next test cases is.So, the normalization of checking node identities identifier resolution process and consistency, need the necessary success of each test cases, each test cases is only had to adjudicate successfully, could illustrate that the resolving of this tested node identities identifier meets standard criterion, and to resolve test performing step be consistent with mode with parsing test specification.Wherein identification identifier coding consistency test case, apply property identifier code uniformity test example can separately as sensor network sensing node identification identifier coding consistency test set.
What finally illustrate is, above preferred embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although by above preferred embodiment to invention has been detailed description, but those skilled in the art are to be understood that, various change can be made to it in the form and details, and not depart from claims of the present invention limited range.

Claims (8)

1. a sensor network sensing node identifier resolution conformance test method, the method is used for normalization and the consistency of verificating sensor network sensing node identifier resolution process, it is characterized in that: described sensor network sensing node identifier resolution uniformity test is based on the sensing node identification identifier that specification is unique, comprise: node identities identifier code uniformity test, OID type of coding resolves uniformity test, Sensor Network identification (RNC-ID) analytic uniformity test, nodal information mark (NIS) resolves uniformity test, sensing layer mark (SIS) resolves uniformity test,
Described node identities identifier code uniformity test, for verifying normalization and the uniqueness of node identities identifier code, for sensor network identifier resolution uniformity test provides safeguard; Described node identities identifier is provided by test subscriber, if test subscriber only provides sensing node, and sensing node identification identifier is unknown, then need to carry out sensor network sensing node identifier code uniformity test; If the known described node identities identifier of test subscriber, then need to carry out the node identities identifier code uniformity test based on the Internet;
Described OID type of coding resolves uniformity test, is be whether meet standard criterion based on the resolving of OID domain name transformation rule to verify by node identities identifier resolution;
Described Sensor Network identification (RNC-ID) analytic uniformity test is to verify whether the process by resolving to Sensor Network mark domain name transformation rule based on OID domain name transformation rule meets standard criterion;
Described NIS resolves uniformity test, is to verify whether identify by Sensor Network the resolving that domain name transformation rule resolves to NIS nodal information meets standard criterion;
Described SIS resolves uniformity test, is to verify whether identify by Sensor Network the resolving that domain name transformation rule resolves to SIS nodal information meets standard criterion.
2. a kind of sensor network sensing node identifier resolution conformance test method according to claim 1, it is characterized in that: if test subscriber only provides sensing node, and sensing node identification identifier is unknown, then need to carry out sensor network sensing node identifier code uniformity test, concrete steps are as follows:
1) test subscriber provides the tested node having unique identity symbol, and accesses testing server by browser mode, carries out as the configuration accordingly such as channel number, PANID according to tested node to test router;
2) test subscriber is by tested node and test router MANET, and testing server stores the networking short address of tested node, and generates test-request command according to its networking short address;
3) testing server sends test request to test router, after test router receives test request, according to step 2) in short address in test-request command send test-request command to the tested node distributing this short address;
4) test-request command of tested node response test router, uploading nodes identification identifier response message is to test router, and test router transmitted response information is to testing server;
5) testing server will receive step 4) response message after, process according to the identification identifier code parsing test model based on regular expression, and mate with identifier registry regulator, draw test result.
3. a kind of sensor network sensing node identifier resolution conformance test method according to claim 1, it is characterized in that: if the known described node identities identifier of test subscriber, then need to carry out the node identities identifier code uniformity test based on the Internet, whether the node identities identifier that the described node identities identifier code uniformity test based on the Internet is used for validation test user input meets standard criterion, specifically comprise: the node identities identifier that test subscriber inputs by testing server carries out the identification identifier code parsing verification model process based on regular expression, and mate with identifier registry regulator, verify whether this node identities identifier meets standard criterion.
4. a kind of sensor network sensing node identifier resolution conformance test method according to claim 1, is characterized in that: described identification identifier coding consistency test cases is made up of 4 identification identifier coding consistency test steps; Described identification identifier coding consistency test step, formulates according to sensor network sensing node identification identifier coding composition, comprises management organization's code tester step, version number's test step, generates manufacturer's test step, product code test step; The success or not of identification identifier coding consistency test cases is determined by each identification identifier coding consistency test step.
5. a kind of sensor network sensing node identifier resolution conformance test method according to claim 1, it is characterized in that: described OID type of coding is resolved uniformity test and carried out under the successful prerequisite of node identities identifier code uniformity test, specifically comprises the following steps:
1) testing server processes node identities identifier, extracts the management organization's code in node identities identifier, and line pipe of going forward side by side reason Institution Code encryption algorithm obtains the management organization's code based on OID type of coding;
2) testing server issues OID to OID resolution server and resolves test-request command, returns based on OID domain name transformation rule after the test-request command that OID resolution server receives;
3) testing server is by step 1) in the management organization's code based on OID type of coding and step 2) in carry out matching test checking based on OID domain name transformation rule, if both couplings, return Sensor Network identification (RNC-ID) analytic server address information to testing server, carry out next test cases; If do not mate, then test crash.
6. a kind of sensor network sensing node identifier resolution conformance test method according to claim 1, it is characterized in that: described Sensor Network identification (RNC-ID) analytic uniformity test, carry out under OID type of coding resolves the successful prerequisite of uniformity test, specifically comprise the following steps:
1) testing server sends Sensor Network identification (RNC-ID) analytic uniformity test request command to Sensor Network identification (RNC-ID) analytic server;
2) testing server judges whether tested node identities identifier exists in Sensor Network identification (RNC-ID) analytic server, if exist, Sensor Network identification (RNC-ID) analytic server goes to step 3 after returning Sensor Network mark domain name transformation rule NAPTR record corresponding to tested node identities identifier); If do not exist, then Sensor Network identification (RNC-ID) analytic uniformity test failure, test completes;
3) testing server is by step 2) Sensor Network that obtains mark domain name transformation rule carries out resolving checking based on the NAPTR record of regular expression, judges whether this NAPTR record meets standard criterion, if meet, carries out next test cases; If do not meet, test crash.
7. a kind of sensor network sensing node identifier resolution conformance test method according to claim 1, it is characterized in that: described NIS resolves uniformity test, carry out under test subscriber has sensing node information analysis uniformity test demand and the successful prerequisite of Sensor Network identification (RNC-ID) analytic uniformity test, test process is as follows: testing server sends NIS and resolves uniformity test request command to NIS resolution server, testing server checking NIS server this tested node identities identifier whether registered, if registered, return node identification identifier information, test successfully, if not registration, then test crash, test completes.
8. a kind of sensor network sensing node identifier resolution conformance test method according to claim 7, it is characterized in that: described SIS resolves uniformity test, carry out under test subscriber has sensing layer nodal information to resolve uniformity test demand and the successful prerequisite of Sensor Network identification (RNC-ID) analytic uniformity test; Be divided into based on IP and based on non-IP two type according to sensor network, the parse addresses relation that the test router of tested node in two kinds of test networks is set up is also different: in described IP-based sensor network, test be tested node identities identifier and its IP address bindings; In the described sensor network based on non-IP, test be mailing address mapping relations in vertical tested node identities identifier and its net; SIS resolves uniformity test, specifically comprises the following steps:
1) node identities identifier and test router IP address mapping relation are tested: " node identities identifier and test router IP address mapping relation " is resolved test command and be sent to test router by testing server, if test router responds this test-request command, then carry out step 2); If without response, then show the node identities identifier that client server is set up and test router IP address mapping relation mistake, test crash;
2) according to test router response, judge test network type, if this test network is IP network, then carry out step 3); If this test network is non-IP network, then carry out step 31);
3) in IP-based sensor network, carry out node identities identifier on client server and node IP address binding relationship is tested: " the node identities identifier on client server and node IP address binding relationship " is resolved test command and be sent to test router by testing server, test router returns to the IP address of this tested node to testing server, testing server carries out checking mate " node identities identifier and node IP address binding relationship " interior joint IP address that this IP address and client server are set up, if the match is successful, then carry out step 4), if mate unsuccessful, then show the node identities identifier that client server is set up and node IP address binding relationship mistake, test crash,
31) in the sensor network based on non-IP, the node identities identifier carried out on test router is tested with mailing address mapping relations in its net: testing server sends, and " the node identities identifier on test router and the short address mapping relations that communicate in node net " resolve test command to tested node, tested node returns SIS resolving information to testing server, carry out step 6);
4) in IP-based sensor network, carry out identification identifier on test router and node IP address binding relationship is tested: testing server sends " the node identities identifier on test router and its IP address bindings " resolves test request to tested node, after tested node receives test command, return packet node IP address response message to test router, response message is forwarded to testing server by test router, testing server carries out the coupling of node IP address, if the match is successful, then carry out step 5); If unsuccessful, then test crash;
5) in IP-based sensor network, the node identities identifier carried out on test router is tested with the short address mapping relations that communicate in node net: according to step 4) node IP address matching result, testing server finds node networking short address according to node IP address mapping relations, testing server generates tested node identifier resolve command according to node networking short address and is sent to tested node, tested node returns SIS resolving information, carry out step 6);
6) testing server carries out mating according to the SIS resolving information returned and the data of resolution server, analyze, shows, and test completes.
CN201510002662.7A 2015-01-05 2015-01-05 Sensor network sensing node identifier resolution conformance test method Active CN104618919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510002662.7A CN104618919B (en) 2015-01-05 2015-01-05 Sensor network sensing node identifier resolution conformance test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510002662.7A CN104618919B (en) 2015-01-05 2015-01-05 Sensor network sensing node identifier resolution conformance test method

Publications (2)

Publication Number Publication Date
CN104618919A true CN104618919A (en) 2015-05-13
CN104618919B CN104618919B (en) 2018-02-06

Family

ID=53153148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510002662.7A Active CN104618919B (en) 2015-01-05 2015-01-05 Sensor network sensing node identifier resolution conformance test method

Country Status (1)

Country Link
CN (1) CN104618919B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016192495A1 (en) * 2015-05-29 2016-12-08 阿里巴巴集团控股有限公司 Account theft risk identification method, identification apparatus, and prevention and control system
CN106850245A (en) * 2015-12-07 2017-06-13 中兴通讯股份有限公司 A kind of diagnostic test message treatment method and device
CN107197475A (en) * 2016-03-14 2017-09-22 重庆邮电大学 A kind of sensing node identifier resolution method of testing and system based on multithreading
CN107196774A (en) * 2016-03-14 2017-09-22 重庆邮电大学 The management method of information obtained by a kind of sensor network sensing node identifier resolution
CN108647333A (en) * 2018-05-11 2018-10-12 中国林业科学研究院资源信息研究所 A kind of information sharing method, device and equipment
CN112153079A (en) * 2020-11-18 2020-12-29 福州大学 Reference gateway device and method for industrial internet gateway test
CN114115201A (en) * 2021-11-29 2022-03-01 上海地铁维护保障有限公司 Vehicle-mounted controller static test method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030217267A1 (en) * 2002-05-16 2003-11-20 Kindberg Timothy P.J.G. Authenticating a web hyperlink associated with a physical object
US20100278131A1 (en) * 2009-04-29 2010-11-04 Samsung Electronics Co., Ltd. Apparatus and method for managing a random access channel in a mobile communication system
US8274986B2 (en) * 2007-05-16 2012-09-25 National Institute Of Information And Communications Technology Packet communication method using node identifier and locator
CN103546593A (en) * 2013-10-29 2014-01-29 重庆邮电大学 Wireless sensor network node identifier analyzing method based on IP and non-IP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030217267A1 (en) * 2002-05-16 2003-11-20 Kindberg Timothy P.J.G. Authenticating a web hyperlink associated with a physical object
US8274986B2 (en) * 2007-05-16 2012-09-25 National Institute Of Information And Communications Technology Packet communication method using node identifier and locator
US20100278131A1 (en) * 2009-04-29 2010-11-04 Samsung Electronics Co., Ltd. Apparatus and method for managing a random access channel in a mobile communication system
CN103546593A (en) * 2013-10-29 2014-01-29 重庆邮电大学 Wireless sensor network node identifier analyzing method based on IP and non-IP

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谢昊飞,李艳丽,罗志勇,韦鹏: "基于Web的WIA-PA一致性测试系统的设计和实现", 《自动化与仪表》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016192495A1 (en) * 2015-05-29 2016-12-08 阿里巴巴集团控股有限公司 Account theft risk identification method, identification apparatus, and prevention and control system
KR20180013998A (en) * 2015-05-29 2018-02-07 알리바바 그룹 홀딩 리미티드 Account theft risk identification method, identification device, prevention and control system
KR102138965B1 (en) 2015-05-29 2020-07-29 알리바바 그룹 홀딩 리미티드 Account theft risk identification method, identification device, prevention and control system
US11233812B2 (en) 2015-05-29 2022-01-25 Advanced New Technologies Co., Ltd. Account theft risk identification
CN106850245A (en) * 2015-12-07 2017-06-13 中兴通讯股份有限公司 A kind of diagnostic test message treatment method and device
CN107197475A (en) * 2016-03-14 2017-09-22 重庆邮电大学 A kind of sensing node identifier resolution method of testing and system based on multithreading
CN107196774A (en) * 2016-03-14 2017-09-22 重庆邮电大学 The management method of information obtained by a kind of sensor network sensing node identifier resolution
CN108647333A (en) * 2018-05-11 2018-10-12 中国林业科学研究院资源信息研究所 A kind of information sharing method, device and equipment
CN112153079A (en) * 2020-11-18 2020-12-29 福州大学 Reference gateway device and method for industrial internet gateway test
CN114115201A (en) * 2021-11-29 2022-03-01 上海地铁维护保障有限公司 Vehicle-mounted controller static test method and system

Also Published As

Publication number Publication date
CN104618919B (en) 2018-02-06

Similar Documents

Publication Publication Date Title
CN104618919A (en) Method for testing sensing node identifier resolution consistency of sensor network
CN109033471B (en) Information asset identification method and device
Gunes et al. Analytical IP alias resolution
CN102006183A (en) Configuration parameter based Method and configuration equipment for configuring network equipment
CN101902367A (en) Method and device for producing test case
CN105991164B (en) A kind of network-building method and system of bluetooth
CN105119722A (en) Identity verification method, equipment and system
CN109257764B (en) User portrait data processing method and device
CN102255983B (en) Entity identifier allocation system, source tracing and authentication methods and server
JP2009528730A (en) Method and apparatus for conformance test of secure access protocol of authentication server
CN110476166A (en) Unique device identifier in grading plant certificate is expressed as fully qualified domain name
CN104184583B (en) Method and system for distributing IP address
US20120287817A1 (en) Apparatus, method and computer program product for replicating settings information
CN103546593A (en) Wireless sensor network node identifier analyzing method based on IP and non-IP
CN108848164A (en) Show connection method, display equipment and the system of equipment
CN106302303A (en) A kind of for across application user profile transmission log in agreement operation method
CN107071079A (en) A kind of private net terminal obtains the method and system of public network IP
CN108881503B (en) Central automatic distribution method for railway signal safety data network IP automatic configuration
TW201511505A (en) Automatic test system for IPv6 CE standard
JP4291803B2 (en) Authentication system, terminal, authentication server, authentication method and program
CN104539748A (en) Unified addressing method for resources of internet of things
CN106301833A (en) A kind of transformer station schedule information method of testing
JP6220075B2 (en) Authentication server test method and system
CN104767749B (en) A kind of information processing method based on wireless Internet of Things
JP5266997B2 (en) Network connection station information output device, network connection station information output method, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant