CN105610998B - A kind of Data Identification method based on wireless sensor network - Google Patents
A kind of Data Identification method based on wireless sensor network Download PDFInfo
- Publication number
- CN105610998B CN105610998B CN201610116642.7A CN201610116642A CN105610998B CN 105610998 B CN105610998 B CN 105610998B CN 201610116642 A CN201610116642 A CN 201610116642A CN 105610998 B CN105610998 B CN 105610998B
- Authority
- CN
- China
- Prior art keywords
- node
- symbol
- wireless sensor
- identification method
- sensor network
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/681—Types of network addresses using addresses for wireless personal area networks or wireless sensor networks, e.g. Zigbee addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The Data Identification method based on wireless sensor network that the invention discloses a kind of;Belong to field of communication technology;Technical essential includes the format of identification method are as follows: { [mark]=[value], { [mark]=[value] ... };Wherein: (1) every data with " " be bebinning character, with " " be final character;(2) multiple entries are identified in " { } ", are separated between entry with ", ";(3) it identifies is defined as: variable symbol: A0~A7, D0, D1, V0~V7;Order symbol: CD0, OD0, CD1, OD1;Special parameter symbol: ECHO, TYPE, PN, PANID, CHANNEL;Wherein variable symbol A0~A7 is for identifying the numerical value of the sensor of some node or the information content of carrying in wireless sensor network;The present invention is intended to provide a kind of easy to use, Data Identification method based on wireless sensor network for working well;Mark for data.
Description
Technical field
The present invention relates to a kind of identification methods, more specifically more particularly to a kind of data based on wireless sensor network
Identification method.
Background technique
There are many wireless sensor networks on the market at present, common wireless sensor network has ZigBee, WiFi, zwave etc.
Wireless sensor network.For these wireless sensor networks in the data of transmission, user wishes that the data obtained are mostly used some not having greatly
Regular is usual by the customized byte of bottom code author or character string identification.When wireless sensor network interior joint quantity is many
When more, these random codings or for character string writes bottom code, reads cause great obstacle;Together
When, upper layer application parsing pass wireless sensor network data when, need to parse substantial amounts miscellaneous byte or
Character string, this is a very big challenge for the written in code person of upper layer.
Summary of the invention
It is an object of the invention in view of the above shortcomings of the prior art, provide the base that one kind is easy to use, works well
In the Data Identification method of wireless sensor network.
The technical scheme of the present invention is realized as follows: a kind of Data Identification method based on wireless sensor network, described
The format of identification method are as follows: { [mark]=[value], { [mark]=[value] ... };Wherein:
(1) every data with " " be bebinning character, with " " be final character;
(2) multiple entries are identified in " { } ", are separated between entry with ", ";
(3) it identifies is defined as:
Variable symbol: A0~A7, D0, D1, V0~V7;
Order symbol: CD0, OD0, CD1, OD1;
Special parameter symbol: ECHO, TYPE, PN, PANID, CHANNEL;
Wherein:
(a) variable symbol A0~A7: for identifying the numerical value of the sensor of some node in wireless sensor network or taking
The information content of band;
(b) Bit0~Bit7 of variable symbol D0:D0 respectively correspond A0~A7 whether active upload state, permission be only
Can by assignment "? " to carry out inquiring current numerical value;
(c) variable symbol D1:D1 indicate control mark, permission be can only by assignment "? " to carry out inquiry current identification
Numerical value, user is according to attribute sensor come custom feature;
(d) variable symbol V0~V7: the parameter of sensor is identified, user is according to attribute sensor custom feature, permission
It is read-write;
(e) special parameter symbol ECHO: the instruction online for detection node echoes the value of transmission;
(f) special parameter symbol TYPE: indicate that node type, the information contain node classification, node type, node name
Claim, permission be can only by assignment "? " to carry out inquiry current value;
(g) special parameter symbol PN: identifying the upstream node address information and all neighbor node address informations of node, power
Be limited to can only by assignment "? " to carry out inquiry current value;
(h) special parameter symbol PANID: the mark ID and personal area network mark of node networking are identified, permission is readable
It writes;
(i) special parameter symbol CHANNEL: identifying the communication channel of node networking, and permission is read-write.
In a kind of above-mentioned Data Identification method based on wireless sensor network, variable symbol A0~A7 permission is only
Can by assignment "? " to carry out inquiring the information content of current sensor values or carrying.
In a kind of above-mentioned Data Identification method based on wireless sensor network, Bit0~Bit7 of the variable symbol D0
In 0 indicate forbid uploading, 1 indicate allow active upload.
In a kind of above-mentioned Data Identification method based on wireless sensor network, the order symbol CD0/OD0: to D0's
Position is operated, and CD0 indicates position clear operation, and OD0 indicates that position one operates.
In a kind of above-mentioned Data Identification method based on wireless sensor network, order symbol CD1/OD1: to the position of D1 into
Row operation, CD1 indicate position clear operation, and OD1 indicates that position one operates.
In a kind of above-mentioned Data Identification method based on wireless sensor network, the value of the special parameter symbol TYPE by
5 ascii byte representations, the 1st byte representation node classification, node classification are as follows: 1:ZigBee, 2:RF433,3:Wi-Fi, 4:
BLE, 5:IPv6 are customized by the user;2nd byte representation node type, node type: 0: collect node, 1: routing/relaying section
Point, 2: terminal node is customized by the user;3rd, 4,5 byte indicates that nodename, coding are customized by the user altogether.
In a kind of above-mentioned Data Identification method based on wireless sensor network, the value of the special parameter symbol PN is upper
The combination of row node address and all neighbor node addresses;Wherein 4, first 4 after every 4 byte representations, one node address
4 after the byte representation node upstream node, 4 behind 2~n its all neighbor node address of 4 byte representations.
In a kind of above-mentioned Data Identification method based on wireless sensor network, each node is portion identification or all marks
Know.
In a kind of above-mentioned Data Identification method based on wireless sensor network, character used in the format is English
DBC case.
The present invention with the above structure, bottom code is easy to write, read, and upper layer parsing is relatively simple, solves on upper layer
During analysis, parsing substantial amounts, miscellaneous byte or character string are not needed, makes the writing, read of code, parse and become
Simply, conveniently;It solves during writing bottom code, user needs a large amount of the problem of naming Data Identification, increases generation
The readability of code;The process for simplifying the code of upper layer parsing sensor node data simultaneously, reduces product software cost.
Specific embodiment
A kind of Data Identification method based on wireless sensor network of the invention, the format of the identification method are as follows: { [mark
Know]=[value], { [mark]=[value] ... };Wherein:
(1) every data with " " be bebinning character, with " " be final character;
(2) multiple entries are identified in " { } ", are separated between entry with ", ";
(3) it identifies is defined as:
Variable symbol: A0~A7, D0, D1, V0~V7;
Order symbol: CD0, OD0, CD1, OD1;
Special parameter symbol: ECHO, TYPE, PN, PANID, CHANNEL;
Wherein:
(a) variable symbol A0~A7: for identifying the numerical value of the sensor of some node in wireless sensor network or taking
The information content of band;Preferably, variable symbol A0~A7 permission be can only by assignment "? " to carry out inquiring current sensing
Device numerical value or the information content of carrying.Such as: in wireless sensor network, some node is Temperature Humidity Sensor node, then can be with
With A0 come scaling temp, A1 identifies humidity.When this node receives " { A1=? } ", show to inquire its current humidity value.It is right
In different nodes, A0~A7 can identify the value of different sensors, and when node is illuminance sensing node, A0 can be used
To identify illuminance.
(b) Bit0~Bit7 of variable symbol D0:D0 respectively correspond A0~A7 whether active upload state, permission be only
Can by assignment "? " to carry out inquiring current numerical value;Preferably, 0 expression is prohibited in Bit0~Bit7 of the variable symbol D0
It only uploads, 1 indicates to allow active upload.Such as: in wireless sensor network, some node is Temperature Humidity Sensor node, and A0 is used
Carry out scaling temp, A1 is used to identify humidity.If D0=2 in this node, its higher level is given in this node meeting active reporting { A1=xx },
Show active reporting humidity value;If D0=3, its higher level is given in this node meeting active reporting { A0=xx, A1=xx }, shows actively
Report temperature value and humidity value.Wherein xx expression value.
(c) variable symbol D1:D1 indicate control mark, permission be can only by assignment "? " to carry out inquiry current identification
Numerical value, user is according to attribute sensor come custom feature;Such as: in wireless sensor network, some node is relay section
Point can then indicate the folding condition of sensor with the position of D1, and 0 indicates to disconnect, and 1 indicates to be attracted, and bit0 indicates sensor 0,
Bit1 indicates sensor 1 etc..D1=1 indicates that relay 0 is attracted, and relay 1 disconnects.
(d) variable symbol V0~V7: the parameter of sensor is identified, user is according to attribute sensor custom feature, permission
It is read-write;Such as: V0 can be defined as reporting time interval automatically, V1 is defined as motor speed etc..
(e) special parameter symbol ECHO: the instruction online for detection node echoes the value of transmission;Such as: sending
{ ECHO=test }, if node online if reply data: { ECHO=test } shows that node is online.
(f) special parameter symbol TYPE: indicate that node type, the information contain node classification, node type, node name
Claim, permission be can only by assignment "? " to carry out inquiry current value;Preferably, the value of the special parameter symbol TYPE is by 5
Ascii byte representation, the 1st byte representation node classification, node classification are as follows: 1:ZigBee, 2:RF433,3:Wi-Fi, 4:BLE,
5:IPv6 is customized by the user;2nd byte representation node type, node type: 0: collect node, 1: routing/relay node,
2: terminal node is customized by the user;3rd, 4,5 byte indicates that nodename, coding are customized by the user altogether.Such as: false
If 010 indicates Temperature Humidity Sensor, then TYPE=12010 indicates ZigBee-network temperature and humidity sensing terminal node.
(g) special parameter symbol PN: identifying the upstream node address information and all neighbor node address informations of node, power
Be limited to can only by assignment "? " to carry out inquiry current value;Preferably, the value of the special parameter symbol PN is for upstream node
The combination of location and all neighbor node addresses;Wherein 4 after every 4 byte representations, one node address, first 4 byte representation
4 after the node upstream node, 4 behind 2~n its all neighbor node address of 4 byte representations.
(h) special parameter symbol PANID: the mark ID and personal area network mark of node networking are identified, permission is readable
Write, i.e. { PANID=? indicate to read, { PANID=xx } expression is write, and wherein xx indicates numerical value.
(i) special parameter symbol CHANNEL: identifying the communication channel of node networking, and permission is read-write, i.e. { CHANNEL
=? indicate to read, { CHANNEL=xx } expression is write, and wherein xx indicates numerical value.
Preferably, the order symbol CD0/OD0: operating the position of D0, and CD0 indicates position clear operation, and OD0 is indicated
Position one operates.Such as: when some node receives { OD0=1 }, indicating the bit0 of its D0 setting 1;When receiving { CD0=3 }, table
Show and resets bit0, bit1 of its D0.
Preferably, order symbol CD1/OD1: operating the position of D1, and CD1 indicates position clear operation, and OD1 indicates position
One operation.The application method of order symbol CD1/OD1 is identical as order symbol CD0/OD0.
Preferably, each node is portion identification or all marks.
Preferably, character used in the format is English DBC case.
Be a case using this identification method below: gas alarm node has following spy in wireless sensor network
Property, coal gas detection passes mould group, a sound-light alarm mould group, an air draft mould group, it is desirable that by following function: 1. equipment can be with
Switching Power Supply;2. can be with real-time report gas concentration value;3. combined aural and visual alarm will call the police, simultaneously when combustion gas reaches certain peak value
Exhaust fan can work;4. according to the difference of gas concentration, alarm frequency of sound wave and exhaust fan revolving speed meeting difference.
It, can be according to the mark variable of following table according to the demand:
1 gas alarm node of table
In table 1: R indicates readable, and W indicates writeable.
Embodiment provided above is better embodiment of the invention, only is used to facilitate to illustrate the present invention, not to this hair
It is bright to make any form of restriction, any those of ordinary skill in the art, if not departing from the proposed skill of the present invention
In the range of art feature, using the equivalent embodiment for locally changing or modifying made by disclosed technology contents, and
Without departing from technical feature content of the invention, in the range of still falling within the technology of the present invention feature.
Claims (7)
1. a kind of Data Identification method based on wireless sensor network, which is characterized in that the format of the identification method are as follows: { [mark
Know]=[value], [mark]=[value] ... };Wherein:
(1) every data with " " be bebinning character, with " " be final character;
(2) multiple entries are identified in " { } ", are separated between entry with ", ";
(3) it identifies is defined as:
Variable symbol: A0~A7, D0, D1, V0~V7;
Order symbol: CD0, OD0, CD1, OD1;
Special parameter symbol: ECHO, TYPE, PN, PANID, CHANNEL;
Wherein:
(a) variable symbol A0~A7: for identifying the numerical value of the sensor of some node in wireless sensor network or carrying
Information content;
(b) Bit0~Bit7 of variable symbol D0:D0 respectively correspond A0~A7 whether active upload state, permission be can only lead to
Cross assignment "? " to carry out inquiring current numerical value;
(c) variable symbol D1:D1 indicate control mark, permission be can only by assignment "? " to carry out the number of inquiry current identification
Value, user is according to attribute sensor come custom feature;
(d) variable symbol V0~V7: the parameter of sensor is identified, for user according to attribute sensor custom feature, permission is can
Read-write;
(e) special parameter symbol ECHO: the instruction online for detection node echoes the value of transmission;
(f) special parameter symbol TYPE: indicating that node type, the information contain node classification, node type, nodename,
Permission be can only by assignment "? " to carry out inquiry current value;
(g) special parameter symbol PN: the upstream node address information and all neighbor node address informations, permission for identifying node be
Can only by assignment "? " to carry out inquiry current value;
(h) special parameter symbol PANID: the mark ID and personal area network mark of node networking are identified, permission is read-write;
(i) special parameter symbol CHANNEL: identifying the communication channel of node networking, and permission is read-write;
The order symbol CD0/OD0: operating the position of D0, and CD0 indicates position clear operation, and OD0 indicates that position one operates;
Order symbol CD1/OD1: operating the position of D1, and CD1 indicates position clear operation, and OD1 indicates that position one operates.
2. a kind of Data Identification method based on wireless sensor network according to claim 1, which is characterized in that the change
Quantity symbol A0~A7 permission be can only by assignment "? " to carry out inquiring the information content of current sensor values or carrying.
3. a kind of Data Identification method based on wireless sensor network according to claim 1, which is characterized in that the change
0 indicates to forbid uploading in Bit0~Bit7 of quantity symbol D0, and 1 indicates to allow active upload.
4. a kind of Data Identification method based on wireless sensor network according to claim 1, which is characterized in that the spy
The value of different pa-rameter symbols TYPE is by 5 ascii byte representations, the 1st byte representation node classification, node classification are as follows: 1:ZigBee,
2:RF433,3:Wi-Fi, 4:BLE, 5:IPv6 are customized by the user;2nd byte representation node type, node type: 0: collecting
Node, 1: routing/relay node, 2: terminal node is customized by the user;3rd, 4,5 byte indicates nodename altogether, compiles
Code is customized by the user.
5. a kind of Data Identification method based on wireless sensor network according to claim 1, which is characterized in that the spy
The value of different pa-rameter symbols PN is the combination of upstream node address and all neighbor node addresses;Wherein every 4 byte representations one
4 after node address, 4 after first 4 byte representations node upstream node, 2~n 4 byte representations its all neighbours
4 after node address.
6. a kind of Data Identification method based on wireless sensor network according to claim 1, which is characterized in that each node
It is portion identification or all marks.
7. a kind of Data Identification method based on wireless sensor network according to claim 1, which is characterized in that the format
Used in character be English DBC case.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610116642.7A CN105610998B (en) | 2016-02-29 | 2016-02-29 | A kind of Data Identification method based on wireless sensor network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610116642.7A CN105610998B (en) | 2016-02-29 | 2016-02-29 | A kind of Data Identification method based on wireless sensor network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105610998A CN105610998A (en) | 2016-05-25 |
CN105610998B true CN105610998B (en) | 2019-02-22 |
Family
ID=55990532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610116642.7A Expired - Fee Related CN105610998B (en) | 2016-02-29 | 2016-02-29 | A kind of Data Identification method based on wireless sensor network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105610998B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108401004A (en) * | 2017-02-08 | 2018-08-14 | 广东交通职业技术学院 | A kind of agricultural intelligent networking gateway design method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013039977A2 (en) * | 2011-09-16 | 2013-03-21 | Cisco Technology, Inc. | Upstream external phy interface for data and control plane traffic |
CN103117881A (en) * | 2013-02-27 | 2013-05-22 | 中国电子器材总公司 | Resource management system of Internet of Things |
CN103336813A (en) * | 2013-06-27 | 2013-10-02 | 南京邮电大学 | Data integrated management scheme for Internet of Things based on middleware framework |
CN104268617A (en) * | 2014-09-04 | 2015-01-07 | 浙江托普仪器有限公司 | RFID-based plant data integrated management system |
CN104331053A (en) * | 2014-11-10 | 2015-02-04 | 重庆邮电大学 | 6LoWPAN smart home system and method for achieving same |
-
2016
- 2016-02-29 CN CN201610116642.7A patent/CN105610998B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013039977A2 (en) * | 2011-09-16 | 2013-03-21 | Cisco Technology, Inc. | Upstream external phy interface for data and control plane traffic |
CN103117881A (en) * | 2013-02-27 | 2013-05-22 | 中国电子器材总公司 | Resource management system of Internet of Things |
CN103336813A (en) * | 2013-06-27 | 2013-10-02 | 南京邮电大学 | Data integrated management scheme for Internet of Things based on middleware framework |
CN104268617A (en) * | 2014-09-04 | 2015-01-07 | 浙江托普仪器有限公司 | RFID-based plant data integrated management system |
CN104331053A (en) * | 2014-11-10 | 2015-02-04 | 重庆邮电大学 | 6LoWPAN smart home system and method for achieving same |
Also Published As
Publication number | Publication date |
---|---|
CN105610998A (en) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20090044312A (en) | Method and apparatus for displaying topology information of a wireless sensor network and system therefor | |
CN107767618A (en) | wireless environment monitoring system based on internet of things | |
CN106297252B (en) | A kind of industrial park air pollution surveillance system | |
Alhmiedat | A Survey on Environmental Monitoring Systems using Wireless Sensor Networks. | |
CN104713600A (en) | Real-time dynamic urban atmospheric environment monitoring system integrating ZigBee technique and GIS technique | |
Wicaksono et al. | Design and analysis automatic temperature control in the broiler poultry farm based on wireless sensor network | |
CN108012312A (en) | It is paged device, paging equipment and method | |
CN105610998B (en) | A kind of Data Identification method based on wireless sensor network | |
CN107896120B (en) | Automatic environmental information monitoring method and system | |
CN111665328A (en) | Indoor air quality intelligent monitoring system based on Internet of things | |
CN107659612A (en) | Data transfer control method and device based on device packets | |
Wang et al. | Vanet meets deep learning: The effect of packet loss on the object detection performance | |
CN107343254A (en) | The acquisition processing system and its method of a kind of agricultural data | |
CN103744361A (en) | Intelligent home system based on wireless sensor network technology | |
CN105588606A (en) | Plant environmental monitoring system | |
Sardar et al. | Indoor occupancy estimation using the LTE-CommSense system | |
Guang et al. | Application of Internet of Things (IoT) for home energy management | |
CN201974925U (en) | Remote fire monitoring alarm system based on internet of things | |
CN106792484A (en) | A kind of novel tree-like structure wireless Sensor Network network-building method and its system | |
CN106124699B (en) | A kind of intelligent air quality Real-Time Evaluation device and its evaluation method | |
CN201993891U (en) | Remote temperature monitoring and alarming system based on Internet of things | |
CN107025248B (en) | A kind of map location editor orientation system based on parent-offspring's safety | |
WO2019071549A1 (en) | Positioning method and positioning system for rfid tags | |
Brito et al. | An intelligent home automation control system based on a novel heat pump and Wireless Sensor Networks | |
CN114465906A (en) | Network topology generation method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190222 |