CN109361774A - A kind of Internet of things system framework and data communications method - Google Patents
A kind of Internet of things system framework and data communications method Download PDFInfo
- Publication number
- CN109361774A CN109361774A CN201811528812.8A CN201811528812A CN109361774A CN 109361774 A CN109361774 A CN 109361774A CN 201811528812 A CN201811528812 A CN 201811528812A CN 109361774 A CN109361774 A CN 109361774A
- Authority
- CN
- China
- Prior art keywords
- node
- data
- communication
- cloud server
- sensor
- 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.)
- Withdrawn
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/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0823—Network architectures or network communication protocols for network security for authentication of entities using certificates
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of Internet of things system framework and data communications methods, wherein the Internet of things system framework includes Cloud Server layer, communication layers, local device layer and wireless sensor network layer, which comprises Cloud Server layer receives and stores the data of acquisition by communication layers from wireless sensor network layer;The Cloud Server layer receives the ID authentication request sent by the intelligent terminal in local device layer;The Cloud Server layer verifies the intelligent terminal according to the ID authentication request, after being proved to be successful, establishes and communicates to connect with the intelligent terminal;The data of the received acquisition are compared the Cloud Server layer with the normal data prestored, whether it is abnormal with the data of the determination acquisition, when the data of the acquisition are abnormal, abnormal data are sent to the intelligent terminal established communication by the Cloud Server layer.
Description
Technical field
The present invention relates to internet of things field, and in particular to a kind of Internet of things system framework and data communications method.
Background technique
With the development of science and technology, the personal monitoring of early stage is eliminated substantially, traditional way is exactly to send someone to each
Monitoring region holds the detection device data inputting that is monitored, and will acquire to relevant system, this monitoring method efficiency
It is low, at high cost, and user can not get required data in real time.
With the development of computer technology and wireless sensor network technology, the wireless monitor in extensive area is provided
Possible ways and means.Wireless sensor network is the net being made of a large amount of wireless sensor nodes with self-organizing mode
Network, it has, and sensor node density is high, network topology change is frequent and node power, computing capability and data storage capacities
The features such as limited, so that wireless sensor network is led in environmental monitoring military affairs, medical treatment & health, family intelligent monitoring and other business
Domain has a wide range of applications.However, the finite energy of existing wireless sensor network because sensor node, still remains
More defect.
Internet of Things (IOT, the Internet Of Things) is extension and expansion based on the internet, Internet of Things
It is a dynamic global network infrastructure, it has the self organization ability based on standard and interoperability communication protocol, wherein
Physics and virtual " object " have identity, physical attribute, virtual characteristic and intelligence interface, and with information network without
Seam integration.The key technology of Internet of Things has radio frequency identification (RFID, Radio Frequency Identification), sensing
Net, M2M, two change fusion etc..Internet of Things is by various information sensing devices, such as wireless sensor network (WSN, Wireless
Sensor Network) node, RFID device, infrared inductor, cell phone, PDA, global positioning system (GPS, Global
Positioning System), the various devices such as laser scanner combine with internet and a huge network being formed.
In modern society, the application of Internet of Things is quite extensive.
Summary of the invention
In view of the above-mentioned problems, the present invention provides a kind of Internet of things system framework and data communications method.
The purpose of the present invention is realized using following technical scheme:
The first aspect of the present invention embodiment provides a kind of Internet of things system framework, comprising:
Cloud Server layer, communication layers, local device layer and wireless sensor network layer, in which:
In the Cloud Server layer by the communication layers and the local device layer and wireless sensor network layer into
Row data communication;
Include at least one intelligent terminal in the local device layer, between each intelligent terminal by Zigbee or
Person Wifi carries out networking and communication;
Wherein, the wireless sensor network layer includes the sensor node of multiple responsible acquisition data and is responsible for convergence respectively
The aggregation node of the data of sensor node acquisition, the Cloud Server layer and the aggregation node carry out data communication;Sensing
Device node is communicated according to the mode of distance selection direct communication or indirect communication to aggregation node with the aggregation node, institute
Stating direct communication is that the data of acquisition are directly sent to the aggregation node by sensor node, and the indirect communication is sensor
The data of acquisition are sent to next-hop node by node, to forward the data of the acquisition by next-hop node, until the acquisition
Data be sent to aggregation node.
Wherein, the intelligent terminal includes Android device, iOS device, personal computer, embedded board and page visitor
At least one of family end.
In a kind of mode that can be realized of first aspect present invention embodiment, the Cloud Server layer includes using
The data storage server and data transfer server of mysql.
Second aspect of the present invention embodiment provides a kind of a kind of data for applying Internet of things system framework as described above
Communication means, this method comprises:
Cloud Server layer receives and stores the data of acquisition by communication layers from wireless sensor network layer;
The Cloud Server layer receives the ID authentication request sent by the intelligent terminal in local device layer;
The Cloud Server layer verifies the intelligent terminal according to the ID authentication request, is being proved to be successful
Afterwards, it establishes and communicates to connect with the intelligent terminal;
The data of the received acquisition are compared the Cloud Server layer with the normal data prestored, to determine
Whether the data for stating acquisition are abnormal, and when the data of the acquisition are abnormal, the Cloud Server layer is by abnormal number
According to being sent to the intelligent terminal established communication;
Wherein, the wireless sensor network layer includes the sensor node of multiple responsible acquisition data and is responsible for convergence respectively
The aggregation node of the data of sensor node acquisition, the Cloud Server layer and the aggregation node carry out data communication;Sensing
Device node is communicated according to the mode of distance selection direct communication or indirect communication to aggregation node with the aggregation node, institute
Stating direct communication is that the data of acquisition are directly sent to the aggregation node by sensor node, and the indirect communication is sensor
The data of acquisition are sent to next-hop node by node, to forward the data of the acquisition by next-hop node, until the acquisition
Data be sent to aggregation node.
In a kind of embodiment of second aspect of the present invention embodiment, the ID authentication request includes certificate, described
Cloud Server layer verifies the certificate, if the certificate is correct, decision verification success.
In the another embodiment of second aspect of the present invention embodiment, the ID authentication request includes key, institute
Cloud Server layer is stated to verify the key, if the key is correct, decision verification success.
In a kind of mode that can be realized of second aspect of the present invention embodiment, verified to the intelligent terminal
After success, the method also includes:
The Cloud Server layer detects the number that the intelligent terminal sends ID authentication request, asks when sending authentication
When the number asked is greater than preset threshold, refusal establishes connection with the intelligent terminal.
In a kind of mode that can be realized of second aspect of the present invention embodiment, verified to the intelligent terminal
After success, the method also includes:
The access request of the Cloud Server layer response intelligent terminal, provides the operation interface of the data of storage to the intelligence
It can terminal;
The Cloud Server layer responds operation of the intelligent terminal based on the operation interface.
The invention has the benefit that being based on wireless sensor network and technology of Internet of things, the channel radio of data is realized
Believe and uses manpower and material resources sparingly to the real-time monitoring and processing of data without wiring;Pass through the friendship of Cloud Server layer and intelligent terminal
Mutually, more effectively data needed for user can be presented to the user more in real time;By carrying out authentication to intelligent terminal,
Realize the protection of data-privacy.
Detailed description of the invention
The present invention will be further described with reference to the accompanying drawings, but the embodiment in attached drawing is not constituted to any limit of the invention
System, for those of ordinary skill in the art, without creative efforts, can also obtain according to the following drawings
Other attached drawings.
Fig. 1 is a kind of structural schematic block diagram of Internet of things system framework of an illustrative embodiment of the invention;
Fig. 2 is the flow diagram of the data communications method of an illustrative embodiment of the invention.
Appended drawing reference:
Cloud Server layer 1, communication layers 2, local device layer 3, wireless sensor network layer 4.
Specific embodiment
The invention will be further described with the following Examples.
Referring to Fig. 1, the first aspect of the present invention embodiment provides a kind of Internet of things system framework, comprising:
Cloud Server layer 1, communication layers 2, local device layer 3 and wireless sensor network layer 4, in which:
Pass through the communication layers 2 and the local device layer 3 and wireless sensor network layer in the Cloud Server layer 1
4 carry out data communication;
Include at least one intelligent terminal in the local device layer 3, passes through Zigbee between each intelligent terminal
Or Wifi carries out networking and communication;
Wherein, the wireless sensor network layer 4 includes multiple responsible sensor nodes for acquiring data and responsible convergence
The aggregation node of the data of each sensor node acquisition, the Cloud Server layer 1 carry out data communication with the aggregation node;It passes
Sensor node is communicated according to the mode of distance selection direct communication or indirect communication to aggregation node with the aggregation node,
The direct communication is that the data of acquisition are directly sent to the aggregation node by sensor node, and the indirect communication is sensing
The data of acquisition are sent to next-hop node by device node, to forward the data of the acquisition by next-hop node, until this is adopted
The data of collection are sent to aggregation node.
Wherein, the intelligent terminal includes Android device, iOS device, personal computer, embedded board and page visitor
At least one of family end.
In a kind of mode that can be realized of first aspect present invention embodiment, the Cloud Server layer 1 includes using
The data storage server and data transfer server of mysql.
As shown in Fig. 2, second aspect of the present invention embodiment provides a kind of application Internet of things system framework as described above
Data communications method, this method comprises:
S01 Cloud Server layer receives and stores the data of acquisition by communication layers from wireless sensor network layer.Wherein, institute
State the sensor node and be responsible for each sensor node acquisition of convergence that wireless sensor network layer includes multiple responsible acquisition data
Data aggregation node, the Cloud Server layer and the aggregation node carry out data communication;Sensor node according to converge
The distance selection direct communication of poly- node or the mode of indirect communication are communicated with the aggregation node, and the direct communication is to pass
The data of acquisition are directly sent to the aggregation node by sensor node, and the indirect communication is sensor node by the number of acquisition
According to next-hop node is sent to, to forward the data of the acquisition by next-hop node, until the data of the acquisition are sent to remittance
Poly- node.
Cloud Server layer described in S02 receives the ID authentication request sent by the intelligent terminal in local device layer.
Cloud Server layer described in S03 verifies the intelligent terminal according to the ID authentication request, verifying at
After function, establishes and communicate to connect with the intelligent terminal.In one embodiment, the ID authentication request includes certificate, institute
Cloud Server layer is stated to verify the certificate, if the certificate is correct, decision verification success.In another embodiment
In, the ID authentication request includes key, and the Cloud Server layer verifies the key, if the key is correct,
Then decision verification success.
The data of the received acquisition are compared Cloud Server layer described in S04 with the normal data prestored, with true
Whether the data of the fixed acquisition are abnormal, and when the data of the acquisition are abnormal, the Cloud Server layer will be abnormal
Data be sent to the intelligent terminal established communication.
In a kind of mode that can be realized, after being proved to be successful to the intelligent terminal, the method is also wrapped
It includes:
The Cloud Server layer detects the number that the intelligent terminal sends ID authentication request, asks when sending authentication
When the number asked is greater than preset threshold, refusal establishes connection with the intelligent terminal.
In a kind of mode that can be realized, after being proved to be successful to the intelligent terminal, the method is also wrapped
It includes:
The access request of the Cloud Server layer response intelligent terminal, provides the operation interface of the data of storage to the intelligence
It can terminal;
The Cloud Server layer responds operation of the intelligent terminal based on the operation interface.
The above embodiment of the present invention is based on wireless sensor network technology, realizes the wireless communication of data and to data
Real-time monitoring and processing use manpower and material resources sparingly without wiring;By the interaction of Cloud Server layer and intelligent terminal, can more have
Data needed for user are presented to the user by effect ground more in real time;By carrying out authentication to intelligent terminal, data are realized
The protection of privacy.
In the Internet of things system framework and data communications method of above-described embodiment, the sensor node according to convergence
The distance selection direct communication of node or the mode of indirect communication are communicated with the aggregation node, comprising:
(1) when initial, when the distance between sensor node and aggregation node are less than the distance threshold of setting, sensor
The mode of node selection direct communication;Otherwise, the mode of sensor node selection indirect communication;
(2) period Δ T is preset0, every to pass through a cycle Δ T0, the aggregation node collection directly communicate with it
The current remaining of sensor node calculates corresponding average value E according to the current remainingavg, and by EavgLetter
Breath is sent to the sensor node of directly communicate with it;The sensor node of the directly communicate with it is according to EavgUpdate distance
Threshold value, if the distance between the sensor node of the directly communicate with it and aggregation node are more than the distance threshold updated,
Communication pattern is switched to the mode of indirect communication by the sensor node of the directly communicate with it, and selects a neighbor node
As node is taken over sb.'s job, solicited message is sent to the node of taking over sb.'s job, so that the communication pattern for taking over sb.'s job node is switched to directly
The mode of communication;
Wherein, the more new formula of the distance threshold are as follows:
In formula,For the distance threshold updated with the sensor node i of aggregation node direct communication, DTFor the setting
Distance threshold, Ei0For the primary power of the sensor node i, EiFor the current remaining of the sensor node i, w1
For the preset energy consumption factor, w1Value range be [0.2,0.3], Ki(DT) it is the sensor node i in DTIn range
Neighbor node quantity, KiFor the neighbor node quantity of the sensor node i, α1、α2For preset weight coefficient, and α1+α2
=1, f (Eavg-Ei) it is to judge value function, work as Eavg-EiWhen > 0, f (Eavg-Ei)=1, works as Eavg-EiWhen≤0, f (Eavg-Ei)
=0;
Wherein, if the update times of distance threshold reach frequency threshold value, or the distance threshold updated is lower than DTWhen/2, pass
Sensor node is by the update of stop distance threshold value.
Wherein, the neighbor node is the other sensors node in sensor node communication range.
The present embodiment carries out regularly updating for distance threshold by sensor node and changes the sensing of directly communicate with it
The communication pattern of device node, wherein creatively setting the more new formula of distance threshold.According to the formula it is found that distance threshold
By increasing and be gradually reduced with sensor node energy consumption, distance threshold also by the neighbor node situation of sensor node with
And the influence of the average residual energy of aggregation node ambient sensors node.The present embodiment can promote energy sub-average
Sensor node switch communication mode early, can effectively avoid neighbour with aggregation node direct communication and apart from each other, neighbouring
The more sensor node consuming excess energy of node is occupied, the mechanism of node, Neng Gouyou are taken over sb.'s job by sensor node selection
The phenomenon that load of effect balance aggregation node ambient sensors node, reduction Energy volution, to facilitate to extend on the whole
The duty cycle of sensor node improves the stability of data communication.
It is in one embodiment, described to select a neighbor node as taking over sb.'s job node, comprising:
It (1), will be using indirect with the sensor node of aggregation node direct communication by the information exchange with neighbor node
The neighbor node of communication pattern is as both candidate nodes, if both candidate nodes quantity is 0, which abandons taking over sb.'s job node
Selection;
(2) when both candidate nodes quantity is 1, which directly selects corresponding both candidate nodes conduct and takes over sb.'s job section
Point;
(3) when both candidate nodes quantity is greater than 1, which calculates the weight of each both candidate nodes, and selects weight
Maximum both candidate nodes are used as and take over sb.'s job node, the calculation formula of the weight are as follows:
In formula, HabFor the weight of b-th of neighbor node of the sensor node a with aggregation node direct communication, EabFor institute
State the current remaining of b-th of neighbor node, Eab0For the primary power of b-th of neighbor node, Z (Eab-Eavg) it is another
One judges value function, works as Eab-EavgWhen >=0, Z (Eab-Eavg)=1, works as Eab-EavgWhen < 0, Z (Eab-Eavg)=0;MaFor institute
State the neighbor node quantity of sensor node a, MbFor the neighbor node quantity of b-th of neighbor node, Ma∩MbFor the biography
The neighbor node quantity that sensor node a and b-th of neighbor node share, w1For the preset energy consumption factor, w2For
Preset Social Relation degree impact factor, w2Value range be [0.3,0.4].
The present embodiment creatively sets the selection mechanism for taking over sb.'s job node, wherein setting the calculation formula of weight.It is logical
The weight computing formula is crossed, the energy advantage and position advantage of each neighbor node can be effectively measured, to help sensor
Node choose as far as possible it is optimal take over sb.'s job node, to preferably complete the data forwarding that is undertaken by the sensor node originally
Task.Node is taken over sb.'s job using selection mechanism determination, is conducive to optimally balance the negative of sensor node week mid-side node
It carries, and can be when communication pattern is switched to the mode of indirect communication by the sensor node, reduction mode conversion as much as possible
It is adversely affected to data communication bring, ensures the stability of wireless sensor network operation.
In one embodiment, when sensor node selection next-hop node, the neighbour of direct communication mode is used if it exists
Node is occupied, then the sensor node selects to save apart from nearest neighbours directly in the neighbor node using direct communication mode
Point is used as next-hop node;
If it does not exist use direct communication mode neighbor node, the sensor node to relative to it apart from aggregation node
Closer neighbor node sends request, and the neighbor node for receiving the request calculates the transfer capability of oneself, if transfer capability is big
In preset transfer capability threshold value, then the neighbor node is sent to the sensor node for sending the request comprising transfer capability
Feedback information, the sensor node select the maximum neighbor node of transfer capability as next-hop node, and the transfer capability is pressed
It is calculated according to following equation:
In formula, YxjExpression receives the transfer capability of j-th of neighbor node of sensor node x request, BxjIt is described
The current remaining of j neighbor node, EminLeast energy needed for maintaining work capacity for preset sensor node, Bxj
It is currently the data cached occupied cache size of packet, B for j-th of neighbor nodexj0For j-th of neighbor node
Initial spatial cache size, D (x, j) are the sensor node x at a distance from j-th of neighbor node, D0It is preset
Data packet forwards unit distance, and q is that the preset unit data congestion based on distance delays the factor, and the value range of q is
[0.01,0.03].
The present embodiment innovatively sets the selection mechanism of next-hop node, wherein being put forward for the first time the general of transfer capability
Considering its calculation formula.In the mechanism, the neighbor node for receiving the request of sensor node calculates the transfer capability of oneself, root
According to the comparison result of oneself transfer capability and preset transfer capability threshold value, it is determined whether go the next of election contest sensor node
Hop node.Wherein, the calculation formula of transfer capability innovatively introduces units when considering the cache size of neighbor node
Delay the factor according to congestion, so as to the calculating of the caching situation of neighbor node more added with robustness.The present embodiment can promote to pass
Sensor node selects to be closer as far as possible and the higher neighbor node of buffer efficiency is as next-hop node, advantageously reduces next
Hop node is because data buffer storage is excessively slow or energy is insufficient and the probability of packet loss, and then improves the reliability and effect of data communication
Rate.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function
The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds
Block is completed, i.e., the internal structure of system is divided into different functional modules, to complete all or part of function described above
Energy.The system of foregoing description and the specific work process of terminal, can refer to corresponding processes in the foregoing method embodiment, herein
It repeats no more.
Through the above description of the embodiments, those skilled in the art can be understood that it should be appreciated that can
To realize the embodiments described herein with hardware, software, firmware, middleware, code or its any appropriate combination.For hardware
It realizes, processor can be realized in one or more the following units: specific integrated circuit, digital signal processor, number letter
Number processing system, field programmable gate array, processor, controller, microcontroller, microprocessor, is set programmable logic device
Count other electronic units or combinations thereof for realizing functions described herein.For software implementations, the part of embodiment or complete
Portion's process can instruct relevant hardware to complete by computer program.When realization, above procedure can be stored in meter
It instructs in calculation machine readable medium or as the one or more on computer-readable medium or code is transmitted.It is computer-readable
Medium includes computer storage media and communication media, and wherein communication media includes convenient for passing from a place to another place
Send any medium of computer program.Storage medium can be any usable medium that computer can access.It is computer-readable
Medium can include but is not limited to random access memory, read-only memory mirror image, band Electrically Erasable Programmable Read-Only Memory or its
His optical disc storage, magnetic disk storage medium or other magnetic-memory systems or it can be used in carrying or storing that there is instruction or number
According to structure type desired program code and can be by any other medium of computer access.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than the present invention is protected
The limitation of range is protected, although explaining in detail referring to preferred embodiment to the present invention, those skilled in the art are answered
Work as understanding, it can be with modification or equivalent replacement of the technical solution of the present invention are made, without departing from the reality of technical solution of the present invention
Matter and range.
Claims (8)
1. a kind of Internet of things system framework, characterized in that the Internet of things system framework includes Cloud Server layer, communication layers, sheet
Ground mechanical floor and wireless sensor network layer, in which:
It is counted in the Cloud Server layer by the communication layers and the local device layer and wireless sensor network layer
According to communication;
Include at least one intelligent terminal in the local device layer, between each intelligent terminal by Zigbee or
Wifi carries out networking and communication;
Wherein, the wireless sensor network layer includes the sensor node of multiple responsible acquisition data and is responsible for each sensing of convergence
The aggregation node of the data of device node acquisition, the Cloud Server layer and the aggregation node carry out data communication;Sensor section
Point is communicated according to the mode of distance selection direct communication or indirect communication to aggregation node with the aggregation node, described straight
Connecting letter is that the data of acquisition are directly sent to the aggregation node by sensor node, and the indirect communication is sensor node
The data of acquisition are sent to next-hop node, to forward the data of the acquisition by next-hop node, until the number of the acquisition
According to being sent to aggregation node.
2. a kind of Internet of things system framework according to claim 1, characterized in that the Cloud Server layer includes using
The data storage server and data transfer server of mysql.
3. one kind is applied to one of Internet of things system framework as described in claim 1 data communications method, characterized in that
It the described method comprises the following steps:
Cloud Server layer receives and stores the data of acquisition by communication layers from wireless sensor network layer;
The Cloud Server layer receives the ID authentication request sent by the intelligent terminal in local device layer;
The Cloud Server layer verifies the intelligent terminal according to the ID authentication request, after being proved to be successful, with
The intelligent terminal establishes communication connection;
The data of the received acquisition are compared the Cloud Server layer with the normal data prestored, to adopt described in determination
Whether the data of collection are abnormal, and when the data of the acquisition are abnormal, the Cloud Server layer sends out abnormal data
It send to the intelligent terminal established communication.
4. a kind of data communications method according to claim 3, characterized in that the ID authentication request includes certificate,
The Cloud Server layer verifies the certificate, if the certificate is correct, decision verification success;
Alternatively, the ID authentication request includes key, the Cloud Server layer verifies the key, if the key
Correctly, then decision verification success.
5. a kind of data communications method according to claim 3, characterized in that verified into the intelligent terminal
After function, the method also includes:
The Cloud Server layer detects the number that the intelligent terminal sends ID authentication request, when transmission ID authentication request
When number is greater than preset threshold, refusal establishes connection with the intelligent terminal.
6. a kind of data communications method according to claim 3, characterized in that sensor node is according to arriving aggregation node
Distance selection direct communication or the mode of indirect communication are communicated with the aggregation node, comprising:
(1) when initial, when the distance between sensor node and aggregation node are less than the distance threshold of setting, sensor node
Select the mode of direct communication;Otherwise, the mode of sensor node selection indirect communication;
(2) period Δ T is preset0, every to pass through a cycle Δ T0, the sensing of the aggregation node collection directly communicate with it
The current remaining of device node calculates corresponding average value E according to the current remainingavg, and by EavgInformation hair
It send to the sensor node of directly communicate with it;The sensor node of the directly communicate with it is according to EavgDistance threshold is updated,
If the distance between the sensor node of the directly communicate with it and aggregation node are more than the distance threshold updated, it is described with
Communication pattern is switched to the mode of indirect communication by the sensor node of its direct communication, and select a neighbor node as after
Appoint node, solicited message is sent to the node of taking over sb.'s job, so that the communication pattern for taking over sb.'s job node is switched to direct communication
Mode;
Wherein, the more new formula of the distance threshold are as follows:
In formula,For the distance threshold updated with the sensor node i of aggregation node direct communication, DTFor the setting away from
From threshold value, Ei0For the primary power of the sensor node i, EiFor the current remaining of the sensor node i, w1It is pre-
If the energy consumption factor, w1Value range be [0.2,0.3], Ki(DT) it is the sensor node i in DTNeighbour in range
Occupy number of nodes, KiFor the neighbor node quantity of the sensor node i, α1、α2For preset weight coefficient, and α1+α2=1, f
(Eavg-Ei) it is to judge value function, work as Eavg-EiWhen > 0, f (Eavg-Ei)=1, works as Eavg-EiWhen≤0, f (Eavg-Ei)=0.
7. a kind of data communications method according to claim 6, characterized in that if the update times of distance threshold reach secondary
Number threshold value, or the distance threshold updated are lower than DTWhen/2, sensor node is by the update of stop distance threshold value.
8. a kind of data communications method according to claim 6, characterized in that it is described select a neighbor node as after
Appoint node, comprising:
(1) indirect communication will be used by the information exchange with neighbor node with the sensor node of aggregation node direct communication
The neighbor node of mode is as both candidate nodes, if both candidate nodes quantity is 0, which abandons taking over sb.'s job the choosing of node
It selects;
(2) when both candidate nodes quantity is 1, which directly selects corresponding both candidate nodes conduct and takes over sb.'s job node;
(3) when both candidate nodes quantity is greater than 1, which calculates the weight of each both candidate nodes, and selects maximum weight
Both candidate nodes as taking over sb.'s job node, the calculation formula of the weight are as follows:
In formula, HabFor the weight of b-th of neighbor node of the sensor node a with aggregation node direct communication, EabFor the b
The current remaining of a neighbor node, Eab0For the primary power of b-th of neighbor node, Z (Eab-Eavg) it is another judgement
Value function, works as Eab-EavgWhen >=0, Z (Eab-Eavg)=1, works as Eab-EavgWhen < 0, Z (Eab-Eavg)=0;MaFor the sensing
The neighbor node quantity of device node a, MbFor the neighbor node quantity of b-th of neighbor node, Ma∩MbFor the sensor section
The neighbor node quantity that point a and b-th of neighbor node share, w1For the preset energy consumption factor, w2It is preset
Social Relation degree impact factor, w2Value range be [0.3,0.4].
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811528812.8A CN109361774A (en) | 2018-12-13 | 2018-12-13 | A kind of Internet of things system framework and data communications method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811528812.8A CN109361774A (en) | 2018-12-13 | 2018-12-13 | A kind of Internet of things system framework and data communications method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109361774A true CN109361774A (en) | 2019-02-19 |
Family
ID=65329630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811528812.8A Withdrawn CN109361774A (en) | 2018-12-13 | 2018-12-13 | A kind of Internet of things system framework and data communications method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109361774A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109787840A (en) * | 2019-03-01 | 2019-05-21 | 苏州迈荣祥信息科技有限公司 | A kind of big data management system and method |
CN109787841A (en) * | 2019-03-11 | 2019-05-21 | 苏州宏裕千智能设备科技有限公司 | Network performance evaluation method and system |
CN109890000A (en) * | 2018-12-26 | 2019-06-14 | 苏州宏裕千智能设备科技有限公司 | A kind of Internet of things system framework and data communications method |
CN111711932A (en) * | 2020-06-16 | 2020-09-25 | 广州傲马科技有限公司 | Intelligent air pollution monitoring system based on big data |
CN115452046A (en) * | 2022-09-01 | 2022-12-09 | 康志文 | Environment-friendly monitoring system and method based on Internet of things |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080251438A1 (en) * | 2007-04-11 | 2008-10-16 | Ohsung E.R.S. Tech Co., Ltd. | Apparatus for fermenting and drying at high speed |
CN101557636A (en) * | 2009-05-15 | 2009-10-14 | 广东工业大学 | Wireless sensor network routing method |
CN101969475A (en) * | 2010-11-15 | 2011-02-09 | 张军 | Business data controllable distribution and fusion application system based on cloud computing |
US20130325924A1 (en) * | 2012-06-05 | 2013-12-05 | Mehran Moshfeghi | Method and system for server-assisted remote probing and data collection in a cloud computing environment |
CN106790283A (en) * | 2017-02-24 | 2017-05-31 | 广州华睿电子科技有限公司 | A kind of Internet of things system framework and data communications method |
CN108366126A (en) * | 2018-03-03 | 2018-08-03 | 深圳大图科创技术开发有限公司 | A kind of pest and disease monitoring early warning system based on WSN technology |
CN108769276A (en) * | 2018-09-05 | 2018-11-06 | 佛山铮荣科技有限公司 | Freshwater fish culturing environmental management system |
-
2018
- 2018-12-13 CN CN201811528812.8A patent/CN109361774A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080251438A1 (en) * | 2007-04-11 | 2008-10-16 | Ohsung E.R.S. Tech Co., Ltd. | Apparatus for fermenting and drying at high speed |
CN101557636A (en) * | 2009-05-15 | 2009-10-14 | 广东工业大学 | Wireless sensor network routing method |
CN101969475A (en) * | 2010-11-15 | 2011-02-09 | 张军 | Business data controllable distribution and fusion application system based on cloud computing |
US20130325924A1 (en) * | 2012-06-05 | 2013-12-05 | Mehran Moshfeghi | Method and system for server-assisted remote probing and data collection in a cloud computing environment |
CN106790283A (en) * | 2017-02-24 | 2017-05-31 | 广州华睿电子科技有限公司 | A kind of Internet of things system framework and data communications method |
CN108366126A (en) * | 2018-03-03 | 2018-08-03 | 深圳大图科创技术开发有限公司 | A kind of pest and disease monitoring early warning system based on WSN technology |
CN108769276A (en) * | 2018-09-05 | 2018-11-06 | 佛山铮荣科技有限公司 | Freshwater fish culturing environmental management system |
Non-Patent Citations (1)
Title |
---|
肖欣招等: ""无线传感器网络能量改进路由算法研究"", 《电子测量技术》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109890000A (en) * | 2018-12-26 | 2019-06-14 | 苏州宏裕千智能设备科技有限公司 | A kind of Internet of things system framework and data communications method |
CN109787840A (en) * | 2019-03-01 | 2019-05-21 | 苏州迈荣祥信息科技有限公司 | A kind of big data management system and method |
CN109787841A (en) * | 2019-03-11 | 2019-05-21 | 苏州宏裕千智能设备科技有限公司 | Network performance evaluation method and system |
CN111711932A (en) * | 2020-06-16 | 2020-09-25 | 广州傲马科技有限公司 | Intelligent air pollution monitoring system based on big data |
CN115452046A (en) * | 2022-09-01 | 2022-12-09 | 康志文 | Environment-friendly monitoring system and method based on Internet of things |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109361774A (en) | A kind of Internet of things system framework and data communications method | |
Al-Turjman | Cognitive routing protocol for disaster-inspired internet of things | |
Mostafaei | Energy-efficient algorithm for reliable routing of wireless sensor networks | |
Singh et al. | A Data Delivery Framework for Cognitive Information-Centric Sensor Networks in Smart Outdoor Monitoring 1 | |
Ma et al. | Tour planning for mobile data-gathering mechanisms in wireless sensor networks | |
Lee | Classification of node degree based on deep learning and routing method applied for virtual route assignment | |
Wu et al. | Node service ability aware packet forwarding mechanism in intermittently connected wireless networks | |
CN106105155B (en) | The load balancing of the Self management equipment in capillary network is considered indirectly | |
CN109361708A (en) | Data informationization acquisition, management and analysis system and method | |
CN109613867A (en) | A kind of Research on Vehicle Remote Monitoring System Based on GPRS and method | |
CN109587649A (en) | A kind of data communications method based on cloud service, apparatus and system | |
CN109618001A (en) | Internet-of-things terminal data managing and control system and its method based on cloud platform | |
Choi et al. | A novel framework for energy-efficient data gathering with random coverage in wireless sensor networks | |
CN109600728A (en) | A kind of method of data capture, apparatus and system | |
CN109587716A (en) | A kind of data communications method, apparatus and system | |
CN107801226A (en) | Based on node society similitude and the central data forwarding method of individual and device | |
CN109890000A (en) | A kind of Internet of things system framework and data communications method | |
CN109631989A (en) | A kind of bridge structure wireless monitor system of real-time intelligent | |
CN109688556A (en) | The system and method for data transmission and processing | |
CN109714833A (en) | A kind of data communications method, apparatus and system | |
CN101610549B (en) | Large-scale sensor network routing method based on routing verification and route reply (RREP) capture | |
CN107295585A (en) | A kind of data transmission method, the network equipment, terminal device and base station | |
CN109561482A (en) | A kind of data capture method, data acquisition facility and intelligent terminal | |
CN107483560A (en) | It is a kind of towards the multimode group-net communication of shared electricity consumption and system of selection | |
Navarro et al. | Efficient and Balanced Routing in Energy-Constrained Wireless Sensor Networks for Data Collection. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190219 |
|
WW01 | Invention patent application withdrawn after publication |