Summary of the invention
In view of the above-mentioned problems, the present invention provides the collection control method and terminal of a kind of information.
The purpose of the present invention is realized using following technical scheme:
First aspect present invention provides a kind of collection control method of information, this method comprises:
Security control center receives the heat transfer agent that wireless sensor network end obtains;
The security control center carries out importance differentiation to heat transfer agent, is divided into heat transfer agent according to differentiation result
Important information and insignificant information, and corresponding access permission level and mark are distributed for insignificant information;
The security control center encrypts the important information, to prevent the important information from illegally being distorted;
The security control center receives the access request that user terminal is sent, and the access request includes that the user is whole
The mark of the access permission level at end and the insignificant information requested access to;
The security control center is in the mark that the access permission level of the user terminal is more than with the insignificant information
When knowing corresponding access permission level, insignificant information corresponding with the mark of the insignificant information is sent to the user
Terminal;
Wherein, the wireless sensor network includes multiple sensor nodes and single aggregation node, each sensor section
Point acquires the heat transfer agent of monitored position, and mode is communicated the aggregation node with sensor node by wireless communication,
It collects the heat transfer agent and is sent to the security control center.
In a kind of mode that can be realized of first aspect present invention, the security control center is also important information point
Permission Levels and mark are checked with corresponding, and the security control center receives the request of checking of user terminal transmission, described to look into
See that request includes the mark of the user terminal checked Permission Levels and request the important information checked;
The security control center checks that Permission Levels are more than the mark with the important information the user terminal
Corresponding when checking Permission Levels, generating for the user terminal includes important information corresponding with the mark of the important information
Query interface.
Present embodiment defines that important information can only be checked, and only user terminal meet check Permission Levels requirement
Shi Caineng checks corresponding important information, has further ensured the confidentiality of important information.
In a kind of mode that can be realized of first aspect present invention, the method also includes depositing the important information
The step of being stored in cloud storage.
In a kind of mode that can be realized of first aspect present invention, the security control center is stored with important sensing
Device node identification list, it is described that importance differentiation is carried out to heat transfer agent, comprising:
Obtain the corresponding sensor node mark of heat transfer agent;
The important sensor node identification list is inquired according to sensor node mark, if the sensor node
Mark determines the heat transfer agent for important information in the important sensor node identification list.
In a kind of mode that can be realized of first aspect present invention, the security control center is stored with threshold range
Information, it is described that importance differentiation is carried out to heat transfer agent, further includes:
Heat transfer agent is compared with corresponding threshold range, if the heat transfer agent corresponding threshold range it
Outside, determine the heat transfer agent for important information.
In a kind of mode that can be realized of first aspect present invention, if the corresponding sensor node mark of heat transfer agent
In the important sensor node identification list, and the heat transfer agent determines the biography except corresponding threshold range
Sense information is level-one important information, and distribution level-one checks Permission Levels;
If the corresponding sensor node mark of heat transfer agent is in the important sensor node identification list, and the biography
Information is felt within corresponding threshold range, determines the heat transfer agent for second level important information, distribution second level checks permission etc.
Grade;
If the corresponding sensor node of heat transfer agent identifies not in the important sensor node identification list, and described
Heat transfer agent determines the heat transfer agent except corresponding threshold range for three-level important information, distribution three-level checks permission
Grade.
In a kind of mode that can be realized of first aspect present invention, if the corresponding sensor node mark of heat transfer agent
Not in the important sensor node identification list, and the heat transfer agent is except corresponding threshold range, described in judgement
Heat transfer agent is insignificant information.
In a kind of mode that can be realized of first aspect present invention, the security control center is stored with insignificant biography
Sensor node rank list, the security control center is according to the corresponding sensor node ranking score of insignificant information with corresponding
Access level permission.
Second aspect of the present invention provides a kind of collection controlling terminal of information, and the terminal includes:
Receiving module, the heat transfer agent obtained for receiving wireless sensor network end;
Importance discrimination module draws heat transfer agent according to differentiation result for carrying out importance differentiation to heat transfer agent
It is divided into important information and insignificant information, and distributes corresponding access permission level and mark for insignificant information;
Encrypting module, for being encrypted to the important information, to prevent the important information from illegally being distorted;
The receiving module is also used to receive the access request of user terminal transmission, and the access request includes the user
The mark of the access permission level of terminal and the insignificant information requested access to;
Control module is all connect with the receiving module, importance discrimination module, encrypting module, in the user
The access permission level of terminal be more than access permission level corresponding with the mark of the insignificant information when, will with it is described non-heavy
The corresponding insignificant information of the mark of information is wanted to be sent to the user terminal;
Wherein, the wireless sensor network includes multiple sensor nodes and single aggregation node, each sensor section
Point acquires the heat transfer agent of monitored position, and mode is communicated the aggregation node with sensor node by wireless communication,
It collects the heat transfer agent and is sent to the receiving module.
Present embodiment is gathered around by the way that access permission level is arranged for insignificant information to ensure that insignificant information is transferred into
The user having permission, it is ensured that the safe transmission of heat transfer agent encrypts important information, can ensure that third party cannot
The information content for knowing or distorting encryption has ensured the confidentiality of heat transfer agent.
In a kind of mode that can be realized of first aspect present invention, the importance discrimination module is also important information
It distributes and corresponding checks Permission Levels and mark;
The receiving module is also used to receive the request of checking of user terminal transmission, described to check that request includes the user
The mark of terminal checked Permission Levels and request the important information checked;
The control module is also used to check that Permission Levels are more than the mark with the important information in the user terminal
Know corresponding when checking Permission Levels, generating for the user terminal includes important letter corresponding with the mark of the important information
The query interface of breath.
In a kind of mode that can be realized of second aspect of the present invention, the terminal further includes cloud storage module, described
Cloud storage module is for storing the important information.
In a kind of mode that can be realized of second aspect of the present invention, the terminal further includes database, the data
Inventory contains important sensor node identification list;It is described that importance differentiation is carried out to heat transfer agent:
The importance discrimination module obtains the corresponding sensor node mark of heat transfer agent;
The importance discrimination module is inquired the important sensor node identification according to sensor node mark and is arranged
Table, if sensor node mark in the important sensor node identification list, determines that the heat transfer agent is important
Information.
In a kind of mode that can be realized of second aspect of the present invention, the database is also stored with threshold range letter
Breath, it is described that importance differentiation is carried out to heat transfer agent, further includes:
Heat transfer agent is compared by the importance discrimination module with corresponding threshold range, if the heat transfer agent exists
Except corresponding threshold range, determine the heat transfer agent for important information.
In a kind of mode that can be realized of second aspect of the present invention, if the corresponding sensor node mark of heat transfer agent
In the important sensor node identification list, and the heat transfer agent is except corresponding threshold range, the importance
Discrimination module determines that the heat transfer agent is level-one important information, and distribution level-one checks Permission Levels;
If the corresponding sensor node mark of heat transfer agent is in the important sensor node identification list, and the biography
Information is felt within corresponding threshold range, the importance discrimination module determines that the heat transfer agent is second level important information,
Distribution second level checks Permission Levels;
If the corresponding sensor node of heat transfer agent identifies not in the important sensor node identification list, and described
For heat transfer agent except corresponding threshold range, the importance discrimination module determines that the heat transfer agent is the important letter of three-level
Breath, distribution three-level check Permission Levels.
In a kind of mode that can be realized of second aspect of the present invention, if the corresponding sensor node mark of heat transfer agent
Not in the important sensor node identification list, and the heat transfer agent is except corresponding threshold range, described important
Property discrimination module determine that the heat transfer agent is insignificant information.
In a kind of mode that can be realized of second aspect of the present invention, the database is also stored with insignificant sensor
Node level list, the importance discrimination module are visited according to the corresponding sensor node ranking score of insignificant information with corresponding
Ask level privileges.
The invention has the benefit that realizing the collection of heat transfer agent by wireless sensor network, and pass through safety
Control centre to heat transfer agent carry out importance differentiation, and to important information carry out encryption and setting check Permission Levels, and
Access permission level is arranged to insignificant information, guarantees that heat transfer agent is only transmitted to the user for possessing access authority or is provided with
The user of permission checks, heat transfer agent is effectively prevent to be distorted, pry through by third party in transmission process, it is ensured that collected sensing
The safety of information.
Specific embodiment
The invention will be further described with the following Examples.
Referring to Fig. 1, first aspect present invention provides a kind of collection control method of information, this method comprises:
S1 security control center receives the heat transfer agent that wireless sensor network end obtains.
Security control center described in S2 carries out importance differentiation to heat transfer agent, is divided heat transfer agent according to differentiation result
For important information and insignificant information, and for insignificant information distribute corresponding access permission level and mark.
Security control center described in S3 encrypts the important information, to prevent the important information from illegally being usurped
Change.
Security control center described in S4 receives the access request that user terminal is sent, and the access request includes the user
The mark of the access permission level of terminal and the insignificant information requested access to.
Security control center described in S5 the user terminal access permission level be more than and the insignificant information
When identifying corresponding access permission level, insignificant information corresponding with the mark of the insignificant information is sent to the use
Family terminal.
Wherein, the wireless sensor network includes multiple sensor nodes and single aggregation node, each sensor section
Point acquires the heat transfer agent of monitored position, and mode is communicated the aggregation node with sensor node by wireless communication,
It collects the heat transfer agent and is sent to the security control center.
Present embodiment is gathered around by the way that access permission level is arranged for insignificant information to ensure that insignificant information is transferred into
The user having permission, it is ensured that the safe transmission of heat transfer agent encrypts important information, can ensure that third party cannot
The information content for knowing or distorting encryption has ensured the confidentiality of heat transfer agent.
In a kind of mode that can be realized of first aspect present invention, the security control center is also important information point
Permission Levels and mark are checked with corresponding, and the security control center receives the request of checking of user terminal transmission, described to look into
See that request includes the mark of the user terminal checked Permission Levels and request the important information checked;
The security control center checks that Permission Levels are more than the mark with the important information the user terminal
Corresponding when checking Permission Levels, generating for the user terminal includes important information corresponding with the mark of the important information
Query interface.
Present embodiment defines that important information can only be checked, and only user terminal meet check Permission Levels requirement
Shi Caineng checks corresponding important information, has further ensured the confidentiality of important information.
In a kind of mode that can be realized of first aspect present invention, the method also includes depositing the important information
The step of being stored in cloud storage.
In a kind of mode that can be realized of first aspect present invention, the security control center is stored with important sensing
Device node identification list, it is described that importance differentiation is carried out to heat transfer agent, comprising:
Obtain the corresponding sensor node mark of heat transfer agent;
The important sensor node identification list is inquired according to sensor node mark, if the sensor node
Mark determines the heat transfer agent for important information in the important sensor node identification list.
In a kind of mode that can be realized of first aspect present invention, the security control center is stored with threshold range
Information, it is described that importance differentiation is carried out to heat transfer agent, further includes:
Heat transfer agent is compared with corresponding threshold range, if the heat transfer agent corresponding threshold range it
Outside, determine the heat transfer agent for important information.
In a kind of mode that can be realized of first aspect present invention, if the corresponding sensor node mark of heat transfer agent
In the important sensor node identification list, and the heat transfer agent determines the biography except corresponding threshold range
Sense information is level-one important information, and distribution level-one checks Permission Levels;
If the corresponding sensor node mark of heat transfer agent is in the important sensor node identification list, and the biography
Information is felt within corresponding threshold range, determines the heat transfer agent for second level important information, distribution second level checks permission etc.
Grade;
If the corresponding sensor node of heat transfer agent identifies not in the important sensor node identification list, and described
Heat transfer agent determines the heat transfer agent except corresponding threshold range for three-level important information, distribution three-level checks permission
Grade.
In a kind of mode that can be realized of first aspect present invention, if the corresponding sensor node mark of heat transfer agent
Not in the important sensor node identification list, and the heat transfer agent is except corresponding threshold range, described in judgement
Heat transfer agent is insignificant information.
In a kind of mode that can be realized of first aspect present invention, the security control center is stored with insignificant biography
Sensor node rank list, the security control center is according to the corresponding sensor node ranking score of insignificant information with corresponding
Access level permission.
As shown in Fig. 2, second aspect of the present invention embodiment provides a kind of collection controlling terminal of information, the terminal packet
It includes:
Receiving module 2, the heat transfer agent obtained for receiving wireless sensor network end;
Importance discrimination module 4 draws heat transfer agent according to differentiation result for carrying out importance differentiation to heat transfer agent
It is divided into important information and insignificant information, and distributes corresponding access permission level and mark for insignificant information;
Encrypting module 6, for being encrypted to the important information, to prevent the important information from illegally being distorted;
The receiving module 2 is also used to receive the access request of user terminal transmission, and the access request includes the use
The mark of the access permission level of family terminal and the insignificant information requested access to;
Control module 8 is all connect with the receiving module 2, importance discrimination module 4, encrypting module 6, for described
The access permission level of user terminal be more than access permission level corresponding with the mark of the insignificant information when, will with it is described
The corresponding insignificant information of the mark of insignificant information is sent to the user terminal;
Wherein, the wireless sensor network includes multiple sensor nodes and single aggregation node, each sensor section
Point acquires the heat transfer agent of monitored position, and mode is communicated the aggregation node with sensor node by wireless communication,
It collects the heat transfer agent and is sent to the receiving module 2.
Present embodiment is gathered around by the way that access permission level is arranged for insignificant information to ensure that insignificant information is transferred into
The user having permission, it is ensured that the safe transmission of heat transfer agent encrypts important information, can ensure that third party cannot
The information content for knowing or distorting encryption has ensured the confidentiality of heat transfer agent.
In a kind of mode that can be realized of first aspect present invention, the importance discrimination module 4 is also important letter
Breath distribution is corresponding to check Permission Levels and mark;
The receiving module 2 is also used to receive the request of checking of user terminal transmission, described to check that request includes the use
The mark of family terminal checked Permission Levels and request the important information checked;
The control module 8 is also used to check that Permission Levels are more than the mark with the important information in the user terminal
Know corresponding when checking Permission Levels, generating for the user terminal includes important letter corresponding with the mark of the important information
The query interface of breath.
Present embodiment defines that important information can only be checked, and only user terminal meet check Permission Levels requirement
Shi Caineng checks corresponding important information, has further ensured the confidentiality of important information.
In a kind of mode that can be realized of second aspect of the present invention, the terminal further includes cloud storage module, described
Cloud storage module is for storing the important information.
In a kind of mode that can be realized of second aspect of the present invention, the terminal further includes database, the data
Inventory contains important sensor node identification list;It is described that importance differentiation is carried out to heat transfer agent:
The importance discrimination module 4 obtains the corresponding sensor node mark of heat transfer agent;
The importance discrimination module 4 is inquired the important sensor node identification according to sensor node mark and is arranged
Table, if sensor node mark in the important sensor node identification list, determines that the heat transfer agent is important
Information.
In a kind of mode that can be realized of second aspect of the present invention, the database is also stored with threshold range letter
Breath, it is described that importance differentiation is carried out to heat transfer agent, further includes:
Heat transfer agent is compared by the importance discrimination module 4 with corresponding threshold range, if the heat transfer agent
Except corresponding threshold range, determine the heat transfer agent for important information.
In a kind of mode that can be realized of second aspect of the present invention, if the corresponding sensor node mark of heat transfer agent
In the important sensor node identification list, and the heat transfer agent is except corresponding threshold range, the importance
Discrimination module 4 determines the heat transfer agent for level-one important information, and distribution level-one checks Permission Levels;
If the corresponding sensor node mark of heat transfer agent is in the important sensor node identification list, and the biography
Feel information within corresponding threshold range, the importance discrimination module 4 determine the heat transfer agent for second level important information,
Distribution second level checks Permission Levels;
If the corresponding sensor node of heat transfer agent identifies not in the important sensor node identification list, and described
For heat transfer agent except corresponding threshold range, the importance discrimination module 4 determines the heat transfer agent for the important letter of three-level
Breath, distribution three-level check Permission Levels.
In a kind of mode that can be realized of second aspect of the present invention, if the corresponding sensor node mark of heat transfer agent
Not in the important sensor node identification list, and the heat transfer agent is except corresponding threshold range, described important
Property discrimination module 4 determine the heat transfer agent be insignificant information.
In a kind of mode that can be realized of second aspect of the present invention, the database is also stored with insignificant sensor
Node level list, the importance discrimination module 4 is according to the corresponding sensor node ranking score of insignificant information with corresponding
Access level permission.
The above embodiment of the present invention realizes the collection of heat transfer agent by wireless sensor network, and passes through security control
Center carries out importance differentiation to heat transfer agent, and carries out encryption to important information and Permission Levels are checked in setting, and to non-
Access permission level is arranged in important information, guarantees that heat transfer agent is only transmitted to the user for possessing access authority or for having permission
User check, effectively prevent heat transfer agent to be distorted, pry through by third party in transmission process, it is ensured that collected heat transfer agent
Safety.
In a kind of mode that can be realized of above-described embodiment, each sensor node is divided into directly by the aggregation node
Communication node and indirect communication node are connect, in data transmission procedure, the indirect communication node is opposite in its communication range
In it in the closer sensor node of aggregation node, select nearest sensor node as next-hop, by the institute of acquisition
The heat transfer agent of monitoring position is sent to next-hop;And the heat transfer agent of acquisition is sent directly to the remittance by direct communication node
Poly- node;Wherein, described that each sensor node is divided into direct communication node and indirect communication node, comprising: according to sensing
The distance of device node to aggregation node determines each sensor node, when sensor node meets direct communication condition,
The sensor node is determined for direct communication node, if not satisfied, being determined as indirect communication node, and wide to each sensor node
Broadcast judgement information;
The direct communication condition are as follows:
In formula, LsaIndicate aggregation node at a distance from a-th of sensor node,Indicate aggregation node and distance most
The distance of close sensor node,Indicate aggregation node and the distance apart from secondary close sensor node,It indicates
Aggregation node and the distance apart from farthest sensor node, N are the sensor node quantity in network.
The present embodiment by the way that sensor node is divided into two kinds of node types of direct communication node and indirect communication node,
So that sensor node is communicated with aggregation node according to own type using different communication modes, improve sensor node and
The flexibility routed between aggregation node.Corresponding differentiation is creatively wherein proposed according to the deployment scenario of sensor node
Condition, it is ensured that have appropriate number of sensor node and aggregation node direct communication, ensure the collection of heat transfer agent.
In a kind of mode that can be realized, the aggregation node is every a preset period Δ T1, according to directly logical
The heat transfer agent that letter node and its neighbor node acquired within a upper period calculates the letter of direct communication node and its neighbor node
Difference degree is ceased, if information gap degree is greater than the difference degree threshold value of setting, the aggregation node records the direct communication
The insincere number of node adds 1, when the insincere number that aggregation node is accumulated to the direct communication node reaches preset number
When the upper limit, the aggregation node sends dormancy instruction to the direct communication node, and the direct communication node is promoted to enter suspend mode
State, the calculation formula of the information gap degree are as follows:
In formula, CI(t) indicate direct communication node I during t-th of period with the information gap degree of its neighbor node,
xI(a) heat transfer agent acquired for direct communication node I at a moment,Neighbor node for direct communication node I exists
The average value for the heat transfer agent that a moment acquires, the neighbor node are the sensing in direct communication node I communication range
Device node.
When carrying out information collection using wireless sensor network technology, since there are finite energies, possibility for sensor node
The features such as failure, influencing vulnerable to environment be easy to cause the precision of collected information lower.For this problem, this implementation
The heat transfer agent of the heat transfer agent that example is periodically acquired direct communication node by aggregation node and its ambient sensors node into
Row compares, and carries out insincere number record to direct communication node when information gap degree is greater than certain threshold value, when being accumulated to
When the insincere number of the direct communication node reaches preset maximum number of times, suspend mode is carried out to the direct communication node.This reality
Acquisition and transmission that example is able to suppress incredible heat transfer agent are applied, the energy consumption of information transmission is reduced, avoids information collection precision
The sensor node of difference influences the precision of Global Information, improves the accuracy that heat transfer agent is collected.
If the aggregation node is in the communication range of some sensor node, then it represents that some sensor node has energy
Power and the aggregation node direct communication.
In a kind of mode that can be realized, the aggregation node will be able to the indirect communication node of directly communicate with it
Node is changed as communication pattern;Every a preset period Δ T2, the aggregation node judges that direct communication node is
It is no to meet following condition, if satisfied, it is direct that the aggregation node, which selects the communication pattern for setting quantity to change node updates,
Communication node, and the communication pattern that more new information is broadcasted to the setting quantity changes node:
In formula, Qavg1Indicate the average value of the current remaining of the direct communication node of non-suspend mode, Qavg2It is connected between expression
Believe the average value of the current remaining of node, MyFor the quantity of the direct communication node of suspend mode, MYFor direct communication in network
The quantity of node, N are the sensor node quantity in network, and δ is preset adjustment factor, the value range of δ be [0.7,
0.8],To judge value function, whenWhen,When When,
Wireless sensor network is the network being made of a large amount of wireless sensor nodes with self-organizing mode, it has sensing
Device node density is high, network topology change frequently and node power, the features such as computing capability and data storage capacities are preferable, make
Obtaining wireless sensor network can be used in monitoring field.However, the energy of existing wireless sensor network because sensor node
It measures limited, still remains more defect.Based on the problem, the present embodiment is based further on the energy information of each sensor node
The switch condition of indirect communication node is provided, wherein the average energy in the direct communication node of non-suspend mode is lower than certain condition
When, or when the direct communication number of nodes of suspend mode meets certain proportion, the communication of the aggregation node selection setting quantity
Mode variables more node updates are direct communication node, are conducive to the energy for further balancing each sensor node in network, into
One step avoids the generation of Energy volution phenomenon, improves the stability of wireless sensor network operation, reliably to carry out sensing letter
Breath is collected and is laid a good foundation.
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.