CN104836841B - A kind of management method of sensor network sensing node identification (RNC-ID) analytic procedural information - Google Patents
A kind of management method of sensor network sensing node identification (RNC-ID) analytic procedural information Download PDFInfo
- Publication number
- CN104836841B CN104836841B CN201510147745.5A CN201510147745A CN104836841B CN 104836841 B CN104836841 B CN 104836841B CN 201510147745 A CN201510147745 A CN 201510147745A CN 104836841 B CN104836841 B CN 104836841B
- Authority
- CN
- China
- Prior art keywords
- identification
- management
- rnc
- analytic
- information
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/80—Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
- G06F16/83—Querying
- G06F16/832—Query formulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/503—Internet protocol [IP] addresses using an authentication, authorisation and accounting [AAA] protocol, e.g. remote authentication dial-in user service [RADIUS] or Diameter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Medical Informatics (AREA)
- Health & Medical Sciences (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to a kind of management method of sensor network sensing node identification (RNC-ID) analytic procedural information, belong to wireless sensor network administrative skill field.Pass through the management to sensing node identification (RNC-ID) analytic procedural information, it is ensured that the normalization of sensing node identification (RNC-ID) analytic process and the normalization of identification (RNC-ID) analytic procedural information.This method mainly includes sensing node identification identifier coding consistency management, identification (RNC-ID) analytic NAPTR regular record Integrity Managements, node address information coherency management and the basic information norm management of node, four modules are realized to node identities identifier respectively more than, domain name mapping NAPTR regular records, identifier resolution NAPTR regular records, gateway ip address, node mailing address, the management of the identification (RNC-ID) analytic procedural information such as node perceived information, simultaneously, the present invention proposes that a kind of improved Sunday string matching algorithms improve the sensing node identification identifier coding consistency efficiency of management.
Description
Technical field
The invention belongs to wireless sensor network administrative skill field, is related to a kind of sensor network sensing node mark solution
Analyse the management method of procedural information.
Background technology
Sensor network has the three zones that perceive, calculate and communicate, and is owned by terms of smart home, medical treatment and traffic
Huge application value, it is the developing key components of technology of Internet of things.With the fast development of technology of Internet of things, sensing
Device network also shows the trend of extensive development and application, and sensor network has the characteristics of data-centered, various different
Structure sensor network is interconnected by wide area, and identifier technology is combined with sensor network technique, can not only obtain sensing
Device network sensing node information, and the different sensors network information truly can be realized with location information source
Intercommunication, but among the practical application of sensor network, the intercommunication for only realizing the network information is inadequate, it is also necessary to establishes one
Possess uniformity, comprehensive sensor network sensing node identification (RNC-ID) analytic management platform, utilize sensor network identification (RNC-ID) analytic
Mechanism collects the sensing node identifier information obtained to parsing, identity attribute information, application attribute information, parsing real time data
Information is counted, and carries out concrete management and analysis to these information, using the transmission for having special directive property, facilitates user couple
The discovery and maintenance of sensor network fault problem, laid the foundation for the development and application of sensor network.
Sensor network sensing node identification (RNC-ID) analytic management is the management to sensing node identification (RNC-ID) analytic procedural information, is to pass
Sensor network sensing node identification (RNC-ID) analytic procedural information correctness and normative guarantee.Therefore, sensor network sensing node
Identification (RNC-ID) analytic management system is believed sensing node the fault discovery during sensing node identification (RNC-ID) analytic, maintenance and user substantially
The control of breath is significant.
The content of the invention
In view of this, it is an object of the invention to provide a kind of sensor network sensing node identification (RNC-ID) analytic procedural information
Management method, this method are used for monitoring sensor network sensing node identifier resolution process, it is ensured that sensing node identification (RNC-ID) analytic
The normalization of process and the normalization of identification (RNC-ID) analytic procedural information.
To reach above-mentioned purpose, the present invention provides following technical scheme:
A kind of management method of sensor network sensing node identification (RNC-ID) analytic procedural information, this method comprise the following steps:
Step 1:User identifies into sensor network sensing node and solved when there is sensing node identification (RNC-ID) analytic regulatory requirement
Management system is analysed, selects registered user to log in and carries out the information inquiry of sensing node resolving, analysis management;
Step 2:User inputs the node identities identifier for needing to inquire about, and identification (RNC-ID) analytic management server judges whether to store
There is the node identities identifier, if it does not, illustrating that the identification identifier does not carry out coding consistency judgement, saved by sensing
Point identification identifier coding consistency management is split to the identification identifier, encoding verification and storage operate, and otherwise illustrates
The identification identifier meets coding consistency specification, performs step 3;
Step 3:The identification identifier that identification (RNC-ID) analytic management server inputs according to user constructs identification (RNC-ID) analytic NAPTR rules
Record management order, and send to domain name resolution server;
Step 4:Domain name mapping NAPTR record queries are carried out, domain name resolution server is inquired about corresponding to the identification identifier
Domain name mapping rule, if in the absence of null value is returned, inquiry failure, domain name resolution rules are otherwise returned to, while forward identification (RNC-ID) analytic
Administration order is to Sensor Network identification (RNC-ID) analytic management server;
Step 5:It is identified symbol parsing NAPTR record queries, the Sensor Network identification (RNC-ID) analytic server lookup identity
Identifier resolution rule corresponding to symbol, if returning to identifier resolution rule in the presence of if, otherwise return to null value, inquiry failure;
Step 6:Identification (RNC-ID) analytic management server is identified parsing NAPTR rules according to the identifier resolution rule of return
Integrity Management is recorded, and obtains SIS/NIS server ip address;The identification (RNC-ID) analytic NAPTR regular record Integrity Managements
Including domain name mapping NAPTR regular records management and identifier resolution NAPTR regular record management;
If what is returned is NIS server address, step 7-8 is carried out:
Step 7:The identification identifier structure node identity attribute information that identification (RNC-ID) analytic management server inputs according to user
Administration order is sent to NIS servers;
Step 8:Node identities attribute information inquiry is carried out, if in the presence of the request of NIS servers response management returns to the identity
Node identities attribute information corresponding to identifier, otherwise return to null value, inquiry failure;
If what step 6 obtained is SIS server address, step 9-12 is carried out:
Step 9:The identification identifier that identification (RNC-ID) analytic management server inputs according to user constructs sensing layer identification (RNC-ID) analytic pipe
Reason is ordered and sent to SIS servers;
Step 10:The parsing management request of SIS servers response identification, is inquired about belonging to sensing node corresponding to identification identifier
Sensor network gateway IP address, and identification (RNC-ID) analytic administration order is forwarded to gateway;
Step 11:Address mapping relation coherency management is carried out, the parsing management request of gateway response identification, inquires about and returns
Node address information, while forward node information parses administration order to sensing node,
16 bit walk short addresses in IP-based sensor network, gateway return node IP address and node net;
Based on non-IP sensor network, 16 bit walk short addresses in gateway return node net;
Step 12:The basic information norm management of node is carried out, the parsing management request of sensing node response identification, is returned existing
Field attribute information and perception information;
Step 13:Identification (RNC-ID) analytic management server is complete according to gained identification (RNC-ID) analytic procedural information progress NAPTR regular records
Whole property management, address mapping relation coherency management, the basic information norm management of node, and the NAPTR of generation is recorded into pipe
Reason information report, address mapping relation management information form and the basic information management table of node return to user.
Further, the sensing node identification identifier coding consistency management in the step 2 comprises the following steps:
21) character string cutting is carried out according to identification identifier coding rule, by a complete sensing node identity
Symbol is cut into management organization's code, version number, production firm's code, the part of product code four;
22) codes match is carried out to identification identifier using improved Sunday string matching algorithms, marked according to country
It is accurate《Sensor network sensing node identifier code specification》To each section of progress coding consistency pipe of sensing node identification identifier
Reason;
23) storage meets the sensing node identifier information of coding criterion.
Further, the improved Sunday string matching algorithms in the step 22) comprise the following steps:
221) text string is set as T [n], and pattern string is P [m], and m≤n;After text string aligns with pattern string, using end
Position differentiates mechanism, judges whether T [m] character is identical with P [m] character, if the same continues to compare T [m-1] characters and P [m-
1] whether character is identical, is finished until comparing, string matching, otherwise performs step 222);
222) judge whether occur in pattern string P in T [m] character, if occurring, it is assumed that P [i], P [j] characters and T [m]
Character is identical, and i<j<M, step 223) is performed, otherwise perform step 224);
223) according to nearby principle on the right side of pattern string, pattern string P [j] characters and text string T [m] alignment are made, if jumping
After turning (2m-j)>N, pattern string exceed text string lengths, and matching process terminates, otherwise return to step 221) continue to match;
224) T [m] character did not occurred in pattern string P, and pattern string P redirects its length m positions, if after redirecting (2m)>
N, pattern string exceed text string lengths, and matching process terminates, otherwise return to step 221) continue to match.
Further, the identification (RNC-ID) analytic NAPTR regular record Integrity Managements in the step 6 comprise the following steps:
61) sensing node identification (RNC-ID) analytic NAPTR regular record information, including domain name mapping NAPTR regular records letter are obtained
Breath and identifier resolution NAPTR regular record information;
62) the special-shaped expression formula matching of domain name mapping rule and the special-shaped expression formula matching of identifier resolution rule are carried out;
63) parsing NAPTR regular record service type coherency managements are identified;
64) parsing NAPTR regular record Integrity Managements are identified.
Further, the address mapping relation coherency management in the step 11 specifically includes following steps:
111) gateway is that the sensing node to network for the first time distributes communication short address in Sensor Network, and is uploaded according to sensing node
Identification identifier information establish mailing address mapping relations in sensing node identification identifier and Sensor Network;
112) broadcast singal of gateway sending node presence inquiry, presence acknowledgement frame is replied according to sensing node
Situation, delete the sensing node identification identifier for not replying acknowledgement frame and mailing address mapping relations in Sensor Network;
113) gateway response identification parsing administration order, is uploaded in sensing node identification identifier and Sensor Network communicatedly
Location, sensing node IP address mapping relation information;
114) sensing layer identification (RNC-ID) analytic (SIS) server response identification parsing administration order uploads sensing node identity
Symbol and mailing address, sensing node IP address mapping relation information in gateway ip address, Sensor Network;
115) identification (RNC-ID) analytic management server carries out uniformity judgement to the gateway ip address of acquisition, stores and returns to sensing
Node identities identifier and the short address that communicated in gateway ip address, node net, the mapping relations of node IP address.
Further, the basic information norm management of node in the step 12 comprises the following steps:
121) identification identifier that identification (RNC-ID) analytic management server inputs according to user issues identification (RNC-ID) analytic with management condition
Administration order;
122) node identification parsing (NIS) server response identification parsing management request, returns to sensing node identity attribute
Information;
123) target sensing node response identification parsing administration order, uploads live attribute information and the perception of sensing node
Information;
124) sensing node identity attribute information, live attribute information and perception of the identification (RNC-ID) analytic management server to acquisition
Information carries out the normative checking of nodal information, according to national standard《The part of information technology sensor network the 501st:Mark:Sensing
Node identifier establishment rules》Identity attribute information and the normative checking of live attribute information are carried out, is referred to according to the function of node
Scope is marked, verifies the normalization of sensing node perception information.
The beneficial effects of the present invention are:A kind of sensor network sensing node identification (RNC-ID) analytic process letter provided by the invention
The management method of breath, this method is on the basis based on IP Yu non-IP wireless sensor network sensing node identifier resolution framework
On, sensor network sensing node identifier resolution process is monitored, grasps sensor network sensing node identification (RNC-ID) analytic
During useful information, it is thus possible to it is comprehensive understand, monitoring sensing node identification (RNC-ID) analytic process, it is ensured that sensing node identifies
The normalization of resolving and the normalization of identification (RNC-ID) analytic procedural information.
Brief description of the drawings
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into
The detailed description of one step, wherein:
Fig. 1 is sensor network sensing node identification (RNC-ID) analytic management system Organization Chart;
Fig. 2 is the flow chart of the method for the invention;
Fig. 3 is improved Sunday string matching algorithms flow chart of the present invention;
Fig. 4 is sensor network sensing node identification (RNC-ID) analytic NAPTR regular record management;
Fig. 5 is sensing node identification (RNC-ID) analytic management in LAN.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described in detail.
It is as shown in Figure 1 sensor network sensing node identification (RNC-ID) analytic management system framework, including internet identification (RNC-ID) analytic
Server, nodal information identification (RNC-ID) analytic (NIS) server, identification (RNC-ID) analytic management server, sensing layer identification (RNC-ID) analytic (SIS) service
Device and LAN Managed node.
Internet identification (RNC-ID) analytic server, for providing sensing node identification (RNC-ID) analytic NAPTR regular records, including domain name turns
Change regular NAPTR regular records and identifier resolution NAPTR regular records;
Nodal information identification (RNC-ID) analytic (NIS) server, for providing sensing node identity attribute information;
Identification (RNC-ID) analytic management server, include a series of software function module, for receiving the sensing of user's input
Node identification parsing management information inquiry, analysis condition, call corresponding software functional module, inquiry, analysis identification (RNC-ID) analytic process
Information, and the information monitoring sensing node working site according to obtained by sensing node identification (RNC-ID) analytic;
Sensing layer identification (RNC-ID) analytic (SIS) server, for providing the affiliated sensor network gateway IP of target sensing node
Location;
LAN Managed node, identification identifier information, and response identification parsing administration order are uploaded, returns to live attribute
Information and perception information.
A kind of management method of sensor network sensing node identification (RNC-ID) analytic procedural information provided by the invention, including sensing
Node identities identifier code coherency management, sensing node identification (RNC-ID) analytic NAPTR regular records Integrity Management, sensing node
The management of address mapping relation consistency on messaging and the partial content of sensing node essential information normative management four, and propose that one kind changes
The Sunday string matching algorithms entered improve the efficiency of sensing node identification identifier coding consistency management.
If Fig. 2 is sensor network sensing node identification (RNC-ID) analytic management flow chart, sensing node identification (RNC-ID) analytic management process
It is as follows,
Step 1:User identifies into sensor network sensing node and solved when there is sensing node identification (RNC-ID) analytic regulatory requirement
Management system is analysed, selects registered user to log in and carries out the information inquiry of sensing node resolving, analysis management;
Step 2:User inputs the node identities identifier for needing to inquire about, and identification (RNC-ID) analytic management server judges whether to store
There is the node identities identifier, if it does not, illustrating that the identification identifier does not carry out coding consistency judgement, saved by sensing
Point identification identifier coding consistency management is split to the identification identifier, encoding verification and storage operate, and otherwise illustrates
The identification identifier meets coding consistency specification, performs step 3;
Step 3:The identification identifier that identification (RNC-ID) analytic management server inputs according to user constructs identification (RNC-ID) analytic NAPTR rules
Record management order, and send to domain name resolution server;
Step 4:Domain name mapping NAPTR record queries are carried out, domain name resolution server is inquired about corresponding to the identification identifier
Domain name mapping rule, if in the absence of null value is returned, inquiry failure, domain name resolution rules are otherwise returned to, while forward identification (RNC-ID) analytic
Administration order is to Sensor Network identification (RNC-ID) analytic management server;
Step 5:It is identified symbol parsing NAPTR record queries, the Sensor Network identification (RNC-ID) analytic server lookup identity
Identifier resolution rule corresponding to symbol, if returning to identifier resolution rule in the presence of if, otherwise return to null value, inquiry failure;
Step 6:Identification (RNC-ID) analytic management server is identified parsing NAPTR rules according to the identifier resolution rule of return
Integrity Management is recorded, and obtains SIS/NIS server ip address;
If what is returned is NIS server address, step 7-8 is carried out:
Step 7:The identification identifier structure node identity attribute information that identification (RNC-ID) analytic management server inputs according to user
Administration order is sent to NIS servers;
Step 8:Node identities attribute information inquiry is carried out, if in the presence of the request of NIS servers response management returns to the identity
Node identities attribute information corresponding to identifier, otherwise return to null value, inquiry failure;
If what step 6 obtained is SIS server address, step 9-12 is carried out:
Step 9:The identification identifier that identification (RNC-ID) analytic management server inputs according to user constructs sensing layer identification (RNC-ID) analytic pipe
Reason is ordered and sent to SIS servers;
Step 10:The parsing management request of SIS servers response identification, is inquired about belonging to sensing node corresponding to identification identifier
Sensor network gateway IP address, and identification (RNC-ID) analytic administration order is forwarded to gateway;
Step 11:Address mapping relation consistency on messaging management is carried out, the parsing management request of gateway response identification, inquiry is simultaneously
Return node address information, while forward node information parses administration order to sensing node,
16 bit walk short addresses in IP-based sensor network, gateway return node IP address and node net;
Based on non-IP sensor network, 16 bit walk short addresses in gateway return node net;
Step 12:The basic information norm management of node is carried out, the parsing management request of sensing node response identification, is returned existing
Field attribute information and perception information;
Step 13:Identification (RNC-ID) analytic management server is complete according to gained identification (RNC-ID) analytic procedural information progress NAPTR regular records
Whole property management, address mapping relation coherency management, the basic information norm management of node, and the NAPTR of generation is recorded into pipe
Reason information report, address mapping relation management information form and the basic information management table of node return to user.
Sensing node identification identifier in step 2 carries out identification identifier coding consistency management, is identification (RNC-ID) analytic pipe
Reason provides complete, the sensing node identification identifier information of specification, specifically includes following steps:
1) the management node identification identifier information inputted according to user is inquired about, if finding the identification identifier
Information, illustrate user's input is the identification identifier for meeting coding criterion, terminates sensing node identification identifier management, otherwise
Into step 2;
2) according to identification identifier coding rule, using string segmentation algorithm by a complete sensing node identity mark
Know symbol and be cut into four parts:
For vernier toward moving right since the first character of identification identifier, the character in identification identifier is common
ASC II, therefore, the moving step length of vernier is 1, the segmentation until completing substring.
It is assumed that:Sensing node identification identifier character string IDstr to be split
The segmentation length L of substring
Step:Mstr<-- first substring split
A) calculating character string IDstr length n;
If b) n is less than or equal to L,
Then:Mstr<--IDstr;Terminate;
c)i<-- 1, circulation:
i<--i+1;
If i is more than L, circulation is exited;
d)i<--i-1;
e)Mstr<-- take IDstr preceding i character strings;
F) terminate;
The substring of gained is followed successively by:Management organization's code (48bits), version number (8bits), production firm's code
(24bits), product code (40bits);
3) encoding verification of sensing node identification identifier is in national standard《Sensor network sensing node identifier is compiled
Code specification》Carry out on the premise of formulation, using a kind of improved Sunday string matching algorithms, identification identifier is carried out
Coding consistency matches, if four parts of identification identifier meet coding consistency, illustrates the identity mark of user's input
Know symbol and meet coding criterion, perform step 4, otherwise require that user re-enters identification identifier;
4) storage meets the sensing node identifier information of coding criterion.
Fig. 3 is a kind of improved Sunday string matching algorithms flow chart, is inquired about for sensing node identification identifier
Matching process, by increasing pattern string jump length, improve string matching efficiency.Improved Sunday string matchings are calculated
Method, using last position matching mechanisms, i.e., after the completion of the redirecting every time of character string, all compare since last position, by increasing mould
The jump length of formula string, the matching times of character string are greatly reduced, so as to improve the matching efficiency of character string:
Text string T [n], pattern string P [m], and m≤n are set first,
1) after text string aligns with pattern string, using last position differentiate mechanism, judge T [m] character whether with P [m] character phase
Together, if the same continue to compare T [m-1] characters and whether P [m-1] character be identical, finished until comparing, string matching,
Otherwise step 2 is performed;
2) judge whether occur in pattern string P in T [m] character, if occurring, it is assumed that P [i], P [j] characters and T [m] word
Accord with identical, and i<j<M, step 3 is performed, otherwise perform step 4;
3) according to nearby principle on the right side of pattern string, pattern string P [j] characters and text string T [m] alignment are made, if redirecting
(2m-j) afterwards>N, pattern string exceed text string lengths, and matching process terminates, and otherwise return to step 1 continues to match;
4) T [m] character did not occurred in pattern string P, and pattern string P redirects its length m positions, if after redirecting (2m)>N,
Pattern string exceeds text string lengths, and matching process terminates, and otherwise return to step 1 continues to match.
5) step 1 is performed to the process version number to sensing node identification identifier, the production firm's code respectively of step 4
Normative matching is carried out with product code part.
Sensing node identification (RNC-ID) analytic NAPTR regular record Integrity Managements in step 6, as shown in figure 4, for obtaining domain
Name parsing NAPTR regular records and identifier resolution NAPTR regular records, and then obtain nodal information identification (RNC-ID) analytic (NIS) clothes
Business device IP address, sensing layer identification (RNC-ID) analytic (SIS) server ip address information:
1) whether the sensing node identification identifier information inputted according to user, inquiry are stored with the complete of the identification identifier
Whole NAPTR regular records, if so, directly returning to the complete NAPTR regular records information of the identification identifier to user, otherwise
Perform step 2;
2) sensing node identification (RNC-ID) analytic NAPTR regular record information, including domain name mapping NAPTR regular record information are obtained
With identifier resolution NAPTR regular record information, and extract domain name mapping rule and identifier resolution Rule Information;
3) domain name mapping abnormity rule and identifier resolution abnormity rule are write respectively;
4) the special-shaped expression formula matching of domain name mapping rule and the special-shaped expression formula of identifier resolution rule are carried out respectively
Match somebody with somebody, if it does, explanation resolving meets specification, perform step 5, otherwise illustrate that resolving does not meet specification, inquiry is lost
Lose, it is desirable to which user parses again;
5) service type uniformity matching is carried out to the Service fields in identification (RNC-ID) analytic NAPTR regular records, judges domain
Whether the service type in name parsing NAPTR regular records is SNS, judges the service in identifier resolution NAPTR regular records
Whether type is SIS or NIS, if it is, complete identification (RNC-ID) analytic NAPTR regular record information tables are returned to user, otherwise,
Service fields are returned as empty identification (RNC-ID) analytic NAPTR regular record information tables to user;
If 6) Service fields meet rule, NIS server ip address, SIS server ip address are obtained, and store
Sensing node identification identifier and NIS/SIS server ip address mapping relations.
All NAPTR regular records corresponding with the identification identifier of identification identifier information inquiry inputted according to user
Information, to ensure that identification (RNC-ID) analytic rule is finally to parse gained, it is necessary to carry out special-shaped rule match to identification (RNC-ID) analytic rule, wherein
Domain name mapping abnormity rule is:
OID_Rule=!^(.{Length_X1})(.{Length_X2})…(.{Length_Xm})
…(.{Length_Xn})$!\I.\J.…\K!
Identifier resolution abnormity rule is:
RID_Rule=!^((:(:25[0-5]|2[0-4]\d|((1\d{2})|([1-9]\d)))\.){3}
(:25[0-5]|2[0-4]\d|((1\d{2})|([1-9]\d))))!
The special-shaped rule match of domain name mapping rule and identifier resolution rule is carried out according to formula 1, is found out final
Identification (RNC-ID) analytic rule
R+、R-Represent that the affirmative in the regular R of abnormity represents rule and representation of negations rule respectively,<Fact,R>Represent domain name
Resolution rules or identifier resolution rule meet special-shaped rule, and rule match conditions are triggered, if condition T is set up, rule
The match is successful, performs step 5;Otherwise inquiry failure is returned, it is desirable to which user parses again.
To ensure the integrality of NAPTR regular records, it is necessary to judge the Service in identification (RNC-ID) analytic NAPTR regular records
Field, the service type in domain name mapping NAPTR regular records are SNS, the service class in identifier resolution NAPTR regular records
Type is SIS or NIS, and the NAPTR regular records for meeting integrality are returned into user.
If Fig. 5 is sensing node identification (RNC-ID) analytic management in LAN.The management of LAN sensing node identification (RNC-ID) analytic includes passing
Feel node identification parsing address information management and sensing node basic information management two parts content, wherein,
The content of sensing node identification (RNC-ID) analytic address information management includes gateway IP address information, is communicated in sensing node net
The IP address information of address information and IP nodes.Gateway is that the sensing node to network first distributes communication short address in Sensor Network,
And identification identifier information is uploaded according to sensing node, in IP-based sensor network, sensing node uploads identity simultaneously
Identifier information and node IP address information, establish sensing node identification identifier and mailing address, sensing node in Sensor Network
The mapping relations of IP address (only in IP Sensor Networks).
Gateway sends a broadcast singal into Sensor Network at regular intervals, and the sensing node in Sensor Network need to reply really
Recognize frame response, gateway according to the response condition decision node of sensing node whether power down, the sensing for not responding broadcast message
Node, gateway discharge mailing address mapping relations in the identification identifier and net of the sensing node of storage.
The parsing administration order of gateway response identification uploads sensing node identification identifier and mailing address, sensing in Sensor Network
Node IP address (only in IP Sensor Networks) mapping relation information, sensing layer identification (RNC-ID) analytic (SIS) server response identification analytic tube
Reason order, upload mailing address in sensing node identification identifier and Sensor Network, sensing node IP address (only in IP Sensor Networks),
Gateway ip address mapping relation information, and store above- mentioned information.
Gateway ip address in address information management is registered through registrar, therefore identification (RNC-ID) analytic server is not only
Coherency management is carried out to sensing node address information, while coherency management is carried out to gateway ip address, such as formula 2,
X&Y=0 represents that the address information of gateway is consistent with gateway address information in registrar, when i is equal to n, i.e.,
All XiConsistent with address information in address mapping information Table A RMT, then address mapping relation management is completed, return mapping relation
Table.
Sensing node identification (RNC-ID) analytic address mapping relation consistency on messaging management in step 11, provide the user mark solution
The identification (RNC-ID) analytic address information of gateway IP address information and sensing node during analysis, grasp the presence of Managed node:
1) gateway is that the sensing node that networks first distributes communication short address in Sensor Network, and according to sensing node it is automatic on
The identification identifier information of biography establishes the mapping relations of identification identifier and mailing address in Sensor Network;
2) carry out secondary networking after sensing node power down, it is automatic to upload identification identifier information, IP sensing nodes simultaneously on
Pass the IP address information of sensing node;
3) gateway redistributes mailing address in net for the sensing node to network and updates the identification identifier with leading in net
Believe the mapping relations of address;
4) gateway broadcasts one query frame every 180s, and the sensing node for receiving the broadcast singal uploads identification identifier letter
Breath, identification identifier is carried out according to the response received and confirmed with communications address information in Sensor Network, for no reply acknowledgement frame
Sensing node, gateway, which regards it as exiting Sensor Network and discharges the mapping of identification identifier and mailing address in Sensor Network automatically, to close
System;
5) when user has sensing node identification (RNC-ID) analytic address information regulatory requirement, the parsing management request of gateway response identification,
Return to the mapping relations of sensing node identification identifier and mailing address in net;
6) sensing layer identification (RNC-ID) analytic (SIS) server storage and identification identifier and gateway ip address are returned to, in node net
Communicate short address, the mapping relations of node IP address (only in IP Sensor Networks);
7) identification (RNC-ID) analytic management server carries out uniformity judgement to the gateway ip address of acquisition, stores and returns to sensing section
Point identification identifier and gateway ip address, the mapping of node net interior communicate short address, node IP address (only in IP Sensor Networks)
Relation.
Sensing node basic information management content includes identity attribute information, live attribute information and the perception of sensing node
Information.The live attribute information and perception information of sensing node change according to the difference of sensing node working environment, have
There is real-time effectiveness feature, it is therefore desirable to obtain in real time, the sensing node body that identification (RNC-ID) analytic management server inputs according to user
Part identifier information and management condition issue identifier resolution administration order, sensing layer identification (RNC-ID) analytic (SIS) server forwarding mark
Parsing administration order is known to gateway, and gateway forwards identification (RNC-ID) analytic administration order to target sensing node, destination node, which uploads, to be had
Live attribute information and perception information under body environment, while nodal information identification (RNC-ID) analytic (NIS) server response identification parses
Administration order returns to sensing node identification identifier information, according to national standard《The part of information technology sensor network the 501st:
Mark:Sensing node identifier establishment rules》Defined identifier code specification, identification (RNC-ID) analytic management server is respectively to obtaining
Sensing node identity attribute information, live attribute information and perception information carry out normative management, for example, being provided in specification anti-
Quick-fried version number table, the type whether analysis decision node explosion-proof type belongs in the table are consistent, it then follows formula 3:
X represents sensing node identification (RNC-ID) analytic essential information, and Y represents the normative form or scope of node essential information, such as
Fruit f (x) values are 1, then it represents that sensing node essential information meets standard criterion, does not otherwise meet specification.Identification (RNC-ID) analytic management takes
Business device returns to the sensing node essential information for meeting specification to user, otherwise inquiry failure, it is desirable to which user parses again.
The real-time normative management of sensing node essential information in step 12, obtain sensing node identification (RNC-ID) analytic during
Sensing node identity attribute information, live attribute information and perception information, reliable data message is provided the user, ensure mark
The no-failure operation of resolving:
1) when user has sensing node identification (RNC-ID) analytic basic information management demand, input sensing node identification identifier and select
Management condition is selected, identification (RNC-ID) analytic management server issues identifier resolution administration order;
2) sensing layer identification (RNC-ID) analytic (SIS) server forwards identification (RNC-ID) analytic administration order to gateway;
3) gateway inquires about destination node address according to the mapping relations of mailing address in node identities identifier and node net
And identification (RNC-ID) analytic administration order is forwarded to target sensing node;
4) destination node uploads live attribute information and perception information under specific environment;
5) node identification parsing (NIS) server response identification parsing management request, returns to sensing node identity attribute letter
Breath;
6) identification (RNC-ID) analytic management server obtains sensing node identity attribute information, live attribute information and perception information,
And the normative checking of nodal information is carried out, according to national standard《The part of information technology sensor network the 501st:Mark:Sensing section
Point identifier establishment rules》Identity attribute information and the normative checking of live attribute information are carried out, according to the functional parameter of node
Scope, verify the normalization of sensing node perception information;
7) sensing node essential information is returned if specification is met, otherwise returns to inquiry error, it is desirable to which user solves again
Analysis.
Finally illustrate, preferred embodiment above is merely illustrative of the technical solution of the present invention and unrestricted, although logical
Cross above preferred embodiment the present invention is described in detail, it is to be understood by those skilled in the art that can be
Various changes are made to it in form and in details, without departing from claims of the present invention limited range.
Claims (3)
- A kind of 1. management method of sensor network sensing node identification (RNC-ID) analytic procedural information, it is characterised in that:This method includes Following steps:Step 1:User is when there is sensing node identification (RNC-ID) analytic regulatory requirement, into sensor network sensing node identification (RNC-ID) analytic pipe Reason system, select registered user to log in and carry out the information inquiry of sensing node resolving, analysis management;Step 2:User inputs the node identities identifier for needing to inquire about, and identification (RNC-ID) analytic management server judges whether to be stored with this Node identities identifier, if it does not, illustrating that the identification identifier does not carry out coding consistency judgement, pass through sensing node body Part identifier code coherency management is split to the identification identifier, encoding verification and storage operate, and otherwise illustrates the body Part identifier meets coding consistency specification, performs step 3;Step 3:The identification identifier construction identification (RNC-ID) analytic name grant pointers that identification (RNC-ID) analytic management server inputs according to user NAPTR regular record administration orders, and send to domain name resolution server;Step 4:Domain name mapping NAPTR record queries are carried out, domain name resolution server inquires about domain name corresponding to the identification identifier Resolution rules, if in the absence of null value is returned, inquiry failure, domain name resolution rules are otherwise returned to, while forward identification (RNC-ID) analytic management Order to Sensor Network identification (RNC-ID) analytic management server;Step 5:It is identified symbol parsing NAPTR record queries, the Sensor Network identification (RNC-ID) analytic server lookup identification identifier pair The identifier resolution rule answered, if returning to identifier resolution rule in the presence of if, otherwise return to null value, inquiry failure;Step 6:Identification (RNC-ID) analytic management server is identified parsing NAPTR regular records according to the identifier resolution rule of return Integrity Management, and obtain sensing layer identification (RNC-ID) analytic SIS/ nodal information identification (RNC-ID) analytic NIS server ip address;The mark solution Analysing NAPTR regular records Integrity Management includes domain name mapping NAPTR regular records management and identifier resolution NAPTR rule notes Record management;If what is returned is NIS server address, step 7-8 is carried out:Step 7:The identification identifier structure node identity attribute information management that identification (RNC-ID) analytic management server inputs according to user Order is sent to NIS servers;Step 8:Node identities attribute information inquiry is carried out, if in the presence of the request of NIS servers response management returns to the identity Node identities attribute information corresponding to symbol, otherwise return to null value, inquiry failure;If what step 6 obtained is SIS server address, step 9-12 is carried out:Step 9:The identification identifier that identification (RNC-ID) analytic management server inputs according to user constructs sensing layer identification (RNC-ID) analytic management life Make and send to SIS servers;Step 10:The parsing management request of SIS servers response identification, inquires about and is sensed belonging to sensing node corresponding to identification identifier Device gateway IP addresses, and identification (RNC-ID) analytic administration order is forwarded to gateway;Step 11:Address mapping relation consistency on messaging management is carried out, the parsing management request of gateway response identification, inquires about and returns Node address information, while forward node information parses administration order to sensing node,16 bit walk short addresses in IP-based sensor network, gateway return node IP address and node net;Based on non-IP sensor network, 16 bit walk short addresses in gateway return node net;Step 12:The basic information norm management of node is carried out, the parsing management request of sensing node response identification, returns to scene category Property information and perception information;Step 13:Identification (RNC-ID) analytic management server carries out NAPTR regular record integralities according to gained identification (RNC-ID) analytic procedural information Management, address mapping relation coherency management, the basic information norm management of node, and the NAPTR record managements of generation are believed Breath form, address mapping relation management information form and the basic information management table of node return to user;The basic information norm management of node in the step 12 comprises the following steps:121) identification identifier that identification (RNC-ID) analytic management server inputs according to user issues identification (RNC-ID) analytic management with management condition Order;122) node identification parsing (NIS) server response identification parsing management request, returns to sensing node identity attribute information;123) target sensing node response identification parsing administration order, upload the live attribute information of sensing node and perceive and believe Breath;124) sensing node identity attribute information, live attribute information and perception information of the identification (RNC-ID) analytic management server to acquisition The normative checking of nodal information is carried out, according to《The part of GB/T30269.501-2014 information technologies sensor network the 501st:Mark Know:Sensing node identifier establishment rules》Identity attribute information and the normative checking of live attribute information are carried out, according to node Functional parameter scope, verify the normalization of sensing node perception information;Sensing node identification identifier coding consistency management in the step 2 comprises the following steps:21) character string cutting is carried out according to identification identifier coding rule, a complete sensing node identification identifier is cut It is segmented into management organization's code, version number, production firm's code, the part of product code four;22) codes match is carried out to identification identifier using improved Sunday string matching algorithms, according to《GB/ The part of T30269.501-2014 information technologies sensor network the 501st:Mark:Sensing node identifier establishment rules》To sensing Each section of progress coding consistency management of node identities identifier;23) storage meets the sensing node identifier information of coding criterion;Improved Sunday string matching algorithms in the step 22) comprise the following steps:221) text string is set as T [n], and pattern string is P [m], and m≤n;After text string aligns with pattern string, sentenced using last position Other mechanism, judge whether T [m] character is identical with P [m] character, if the same continue to compare T [m-1] characters and P [m-1] word Whether symbol is identical, is finished until comparing, string matching, otherwise performs step 222);222) judge whether occur in pattern string P in T [m] character, if occurring, it is assumed that P [i], P [j] characters and T [m] character It is identical, and i < j < m, step 223) is performed, otherwise performs step 224);223) according to nearby principle on the right side of pattern string, pattern string P [j] characters and text string T [m] alignment are made, if after redirecting (2m-j) > n, pattern string exceed text string lengths, and matching process terminates, otherwise return to step 221) continue to match;224) T [m] character did not occurred in pattern string P, and pattern string P redirects its length m positions, if (2m) > n after redirecting, mould Formula string exceeds text string lengths, and matching process terminates, otherwise return to step 221) continue to match.
- 2. a kind of management method of sensor network sensing node identification (RNC-ID) analytic procedural information according to claim 1, its It is characterised by:Identification (RNC-ID) analytic NAPTR regular record Integrity Managements in the step 6 comprise the following steps:61) obtain sensing node identification (RNC-ID) analytic NAPTR regular record information, including domain name mapping NAPTR regular records information and Identifier resolution NAPTR regular record information;62) the special-shaped expression formula matching of domain name mapping rule and the special-shaped expression formula matching of identifier resolution rule are carried out;63) parsing NAPTR regular record service type coherency managements are identified;64) parsing NAPTR regular record Integrity Managements are identified.
- 3. a kind of management method of sensor network sensing node identification (RNC-ID) analytic procedural information according to claim 1, its It is characterised by:Address mapping relation consistency on messaging management in the step 11 specifically includes following steps:111) gateway is that the sensing node to network for the first time distributes communication short address in Sensor Network, and the body uploaded according to sensing node Part identifier information establishes sensing node identification identifier and mailing address mapping relations in Sensor Network;112) broadcast singal of gateway sending node presence inquiry, presence acknowledgement frame feelings are replied according to sensing node Condition, delete the sensing node identification identifier for not replying acknowledgement frame and mailing address mapping relations in Sensor Network;113) gateway response identification parsing administration order, sensing node identification identifier and mailing address, biography in Sensor Network are uploaded Feel node IP address mapping relation information;114) sensing layer identification (RNC-ID) analytic (SIS) server response identification parsing administration order upload sensing node identification identifier with Mailing address, sensing node IP address mapping relation information in gateway ip address, Sensor Network;115) identification (RNC-ID) analytic management server carries out uniformity judgement to the gateway ip address of acquisition, stores and returns to sensing node Identification identifier and the short address that communicated in gateway ip address, node net, the mapping relations of node IP address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510147745.5A CN104836841B (en) | 2015-03-31 | 2015-03-31 | A kind of management method of sensor network sensing node identification (RNC-ID) analytic procedural information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510147745.5A CN104836841B (en) | 2015-03-31 | 2015-03-31 | A kind of management method of sensor network sensing node identification (RNC-ID) analytic procedural information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104836841A CN104836841A (en) | 2015-08-12 |
CN104836841B true CN104836841B (en) | 2018-03-30 |
Family
ID=53814470
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510147745.5A Active CN104836841B (en) | 2015-03-31 | 2015-03-31 | A kind of management method of sensor network sensing node identification (RNC-ID) analytic procedural information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104836841B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107196774A (en) * | 2016-03-14 | 2017-09-22 | 重庆邮电大学 | The management method of information obtained by a kind of sensor network sensing node identifier resolution |
US11689414B2 (en) | 2017-11-10 | 2023-06-27 | International Business Machines Corporation | Accessing gateway management console |
CN108304465A (en) * | 2017-12-27 | 2018-07-20 | 重庆邮电大学 | A kind of information management and analysis method based on sensing node identifier platform |
CN110035097A (en) * | 2018-01-12 | 2019-07-19 | 广州中国科学院计算机网络信息中心 | Block chain identifies the isomery identification analytic method and system combined with Internet of Things |
CN109474714A (en) * | 2018-11-16 | 2019-03-15 | 重庆邮电大学 | A kind of sensor identification method for quickly querying |
CN110120918B (en) * | 2019-05-10 | 2020-05-08 | 北京邮电大学 | Identification analysis method and device |
CN110135194B (en) * | 2019-05-20 | 2020-10-30 | 北京邮电大学 | Block chain-based industrial internet digital object management method |
CN112069303B (en) * | 2020-09-17 | 2022-08-16 | 四川长虹电器股份有限公司 | Matching search method and device for character strings and terminal |
CN115767500A (en) * | 2022-11-07 | 2023-03-07 | 重庆沄析工业互联网有限公司 | Gateway coding system based on identification resolving capability |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1128635A2 (en) * | 2000-02-22 | 2001-08-29 | International Business Machines Corporation | Naming convention for different types of devices, and apparatus and methods using the naming convention |
CN102014407A (en) * | 2010-12-10 | 2011-04-13 | 北京交通大学 | Simple network management protocol (SNMP)-based wireless sensor network domain authorized proxy management mechanism |
CN202617166U (en) * | 2012-04-17 | 2012-12-19 | 长沙邦胜电子科技有限公司 | Wireless sensor network-based intelligent counting terminal |
CN102882990A (en) * | 2012-09-26 | 2013-01-16 | 重庆邮电大学 | Wireless sensor network identifier analysis method |
CN103546593A (en) * | 2013-10-29 | 2014-01-29 | 重庆邮电大学 | Wireless sensor network node identifier analyzing method based on IP and non-IP |
-
2015
- 2015-03-31 CN CN201510147745.5A patent/CN104836841B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1128635A2 (en) * | 2000-02-22 | 2001-08-29 | International Business Machines Corporation | Naming convention for different types of devices, and apparatus and methods using the naming convention |
CN102014407A (en) * | 2010-12-10 | 2011-04-13 | 北京交通大学 | Simple network management protocol (SNMP)-based wireless sensor network domain authorized proxy management mechanism |
CN202617166U (en) * | 2012-04-17 | 2012-12-19 | 长沙邦胜电子科技有限公司 | Wireless sensor network-based intelligent counting terminal |
CN102882990A (en) * | 2012-09-26 | 2013-01-16 | 重庆邮电大学 | Wireless sensor network identifier analysis method |
CN103546593A (en) * | 2013-10-29 | 2014-01-29 | 重庆邮电大学 | Wireless sensor network node identifier analyzing method based on IP and non-IP |
Also Published As
Publication number | Publication date |
---|---|
CN104836841A (en) | 2015-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104836841B (en) | A kind of management method of sensor network sensing node identification (RNC-ID) analytic procedural information | |
CN105763426B (en) | A kind of internet of things service processing system based on multi-protocol instant messaging system | |
US10623237B2 (en) | Method of managing zigbee network in the internet of things | |
CN104618919B (en) | Sensor network sensing node identifier resolution conformance test method | |
CN102427427B (en) | Method for querying resolution server in Hash network and index server | |
CN103546593B (en) | Wireless sensor network node identifier resolution method based on IP Yu non-IP | |
CN107016056A (en) | The distributed memory system and method for magnanimity heterogeneous sensor data in a kind of Internet of Things | |
CN103634214B (en) | A kind of routing iinformation generation method and device | |
CN107273504A (en) | Data query method and device based on Kudu | |
CN103281211B (en) | Large-scale network node system for managing in groups and management method | |
CN107959620A (en) | Fully-mechanized mining equipment recognition methods, device, system, gateway and storage medium | |
CN107222587A (en) | A kind of method for remotely accessing private network device | |
CN110995885A (en) | IP positioning method based on router error training | |
CN104008205B (en) | The querying method and system of a kind of contents construction | |
CN108076058A (en) | Heterogeneous network communications protocol method for amalgamation processing based on self-adapting changeable long codes | |
WO2018232910A1 (en) | Method and system for determining data transmission routes between internet of things devices | |
CN104253796A (en) | Domain name system fast region identification method based on network address binding region levels | |
CN105357118A (en) | Rule based flow classifying method and system | |
CN107807976A (en) | IP attribution inquiry methods and device | |
CN102820989B (en) | The network equipment and assets management method thereof | |
CN103957266A (en) | Device centralized control method for communication system | |
CN114793244B (en) | Resource processing method, device, equipment and medium for block chain | |
CN108768853B (en) | Distributed mixed domain name system and method based on domain name router | |
WO2013170796A1 (en) | Data updating method, system and device | |
CN103118105B (en) | A kind of querying method of the data query system based on wireless sensor network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |