CN105916165A - Wireless sensor network and data processing method thereof - Google Patents
Wireless sensor network and data processing method thereof Download PDFInfo
- Publication number
- CN105916165A CN105916165A CN201610195139.5A CN201610195139A CN105916165A CN 105916165 A CN105916165 A CN 105916165A CN 201610195139 A CN201610195139 A CN 201610195139A CN 105916165 A CN105916165 A CN 105916165A
- Authority
- CN
- China
- Prior art keywords
- data
- formula
- wireless senser
- wireless
- data formula
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- 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)
- Arrangements For Transmission Of Measured Signals (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a wireless sensor network and a data processing method thereof, belongs to the technical field of the wireless sensor network and solves a problem that conflict resolution and data constraint can not be realized in a wireless sensor network in the prior art. The method comprises steps that the detection data of each wireless sensor is received, and the detection data is utilized to generate data formulas corresponding to each wireless sensor; all the data formulas form a data formula set D; whether union of the D and a C is consistent is determined, the C is a constraint formula set formed by preset constraint formulas, the data formulas and the constraint formulas are preferably well-posed description logic formulas; if union of the D and the C is determined to be consistent, the D is added to a processing result; if union of the D and the C is determined to be not consistent, data formulas of the D which cause inconsistency are removed, and the D after removal is added to the processing result.
Description
Technical field
The invention belongs to wireless sensor network technology field, be specifically related to a kind of wireless biography
Sensor network and data processing method thereof.
Background technology
Wireless sensor network (WSN, Wireless Sensor Network) is in Internet of Things
A kind of sensing network, they multiple wireless sensers including being distributed in diverse location, this
A little wireless sensers are by the self-organizing network of communication composition multi-hop, collaborative sense
Know, gather the information of physical world, and send detection data (testing result) to convergence joint
Point (sink node) or executor, issue upper strata (such as Access Layer, Internet etc.) afterwards and use
In subsequent process.Along with the development of technology, wireless sensor network is in space exploration, army
Thing investigation, environment measuring, medical monitoring, commercial production, agricultural breeding, business are applied
Obtain in field and be increasingly widely applied.
Owing to the wireless senser in wireless sensor network is large number of and is distributed in difference
Position, therefore be difficult to they regularly be safeguarded and detects;Meanwhile, single for avoiding
The inaccuracy of wireless senser, therefore it is frequently necessary to use multiple wireless senser comprehensively to enter
Row detection.As during oil exploration, for judging the oil gas situation in stratum, need to be
Well logging is arranged substantial amounts of wireless senser with obtain the resistance of Different Strata, mud density,
The information such as pore pressure.In practice, due to wireless senser fault, transmission interference etc.
Factor, often there will be the irrational phenomenon of detection data (the data punching of part wireless senser
Prominent), the temperature of the stratum same position of wireless sensers as multiple in synchronization detection exists
The biggest difference;Or, the detection number of the wireless senser of one rotor rotation situation of detection
According to being the one in " clockwise ", " counterclockwise ", " stall ", but may
Its detection data are but numerals.
Existing wireless sensor network is only to detecting the verity of data or reliably newly testing
Card, whether i.e. whether checking detection data are from predetermined wireless senser, have in transmission
Mistake etc., and do not consider whether detect data itself exists unreasonable or wrong (i.e. conflict),
But directly report upper strata, thus mistake is caused (such as to send out in the follow-up work on upper strata
An existing point has two temperature, causes problem because employing the temperature of mistake), or need
Follow-up work is carried out process again and (judge which detection data is correct if desired for thinking
).
Summary of the invention
The present invention is directed to existing wireless sensor network and do not carry out conflict resolution and data
The problem of method of constraint, it is provided that a kind of carry out the wireless of conflict resolution and data constraint
Sensor network and data processing method thereof.
Solve the technology of the present invention problem and be employed technical scheme comprise that a kind of wireless sensor network
Network data processing method, comprising:
Receive the detection data of each wireless senser and generate and each wireless senser pair with it
The data formula answered;
Data formula collection D is formed by each described data formula;
Judging the concordance of D ∪ C, wherein C is for be made up of constraint formulations set in advance
Constraint formulations collection;
If D ∪ C is consistent, then D is added in result;If D ∪ C is inconsistent,
Then remove in D and can cause inconsistent data formula, afterwards D is added in result.
Preferably, described with the detection data genaration of each wireless senser and each wireless biography
The data formula that sensor is corresponding includes: right by the detection data of each wireless senser and detection
As generating the data formula corresponding with each wireless senser.
Preferably, generating the data formula corresponding with each wireless senser and using each institute
State data formula composition data formula collection D between also include: by described data formula and with
The credibility of the wireless senser of its correspondence is associated, the credibility of described wireless senser
It is default.
It may further be preferable that described removing D can cause inconsistent data formula,
Afterwards D is added result to include: gradually utilize the consistency detection of description logic
Method, removes in D and can cause inconsistent data formula, D ∪ C will be made afterwards consistent
D add in result.
It may further be preferable that the described consistency detecting method gradually utilizing description logic,
Remove in D and can cause inconsistent data formula, D consistent for D ∪ C will be made to add afterwards
Enter result to include: find out and D causes this inconsistent data formula, and use
The abnormal formulary DF of its composition, makes D=D-DF;Make DF=DF-F, wherein F be low can
The abnormal formulary of letter, it is made up of the data formula being associated with lowest confidence in DF;
Judge the concordance of DF ∪ C;If DF ∪ C is consistent, then DF is added in result;
If DF ∪ C is inconsistent, then return the described step making DF=DF-F;Sentence described in return
The conforming step of disconnected D ∪ C.
Solve the technology of the present invention problem and be employed technical scheme comprise that a kind of wireless sensor network
Network, comprising:
Multiple wireless sensers;
Pretreatment module, for receiving the detection data of each wireless senser and generating with it
The data formula corresponding with each wireless senser;
Processing module, for forming data formula collection D by each described data formula, and uses
In judging the concordance of D ∪ C, if D ∪ C is consistent, then D is added in result;
If D ∪ C is inconsistent, then removes in D and can cause inconsistent data formula, afterwards will
D adds in result, and wherein, C is the pact being made up of constraint formulations set in advance
Bundle formulary.
Preferably, described wireless sensor network also includes: wireless senser management mould
Block, for receiving and store the detection object of each wireless senser;Described pretreatment module
For generating and each wireless senser with the detection data of each wireless senser and detection object
Corresponding data formula.
Preferably, described wireless sensor network also includes: wireless senser management mould
Block, for receiving and store the credibility of each described wireless senser;Pretreatment module is also
For the credibility of described data formula and corresponding wireless senser is associated,
The credibility of described wireless senser is default.
It may further be preferable that described removing D can cause inconsistent data formula,
Afterwards D is added result to include: gradually utilize the consistency detection of description logic
Method, removes in D and can cause inconsistent data formula, D ∪ C will be made afterwards consistent
D add in result.
It may further be preferable that the described consistency detecting method gradually utilizing description logic,
Remove in D and can cause inconsistent data formula, D consistent for D ∪ C will be made to add afterwards
Enter result to include: find out and D causes this inconsistent data formula, and use
The abnormal formulary DF of its composition, makes D=D-DF;Make DF=DF-F, wherein F be low can
The abnormal formulary of letter, it is made up of the data formula being associated with lowest confidence in DF;
Judge the concordance of DF ∪ C;If DF ∪ C is consistent, then DF is added in result;
If DF ∪ C is inconsistent, then return the described step making DF=DF-F;Sentence described in return
The conforming step of disconnected D ∪ C.
The wireless sensor network data processing method of the present invention can be at wireless sensor network
Aspect i.e. eliminates the detection data (i.e. carrying out data constraint) that there is conflict, to ensure to be uploaded to
The detection data on upper strata are all the qualified detection data that there is not conflict, thus on being conducive to
The layer utilization to detection data, and the operation on upper strata can be simplified;Meanwhile, these detection data
As long as processing method sets simple constraints, can be by repeatedly description logic
Consistency detection computing realizes, and its operation method is simple, easily realizes, it is not necessary to carry out big
The judgement of amount complexity, setting etc..
The wireless sensor network of the present invention can eliminate the detection data of existence conflict and (i.e. enter
Row data constraint), to ensure that the detection data being uploaded to upper strata are all to there is not the conjunction of conflict
Lattice detection data, thus the beneficially upper strata utilization to detection data, and upper strata can be simplified
Operation;Meanwhile, as long as its data processing method used sets simply retrains bar
Part, can be realized by the consistency detection computing in repeatedly description logic, its computing side
Method is simple, easily realizes, it is not necessary to carry out the judgement of large amount of complex, setting etc..
Accompanying drawing explanation
Fig. 1 is a kind of wireless sensor network data processing method of embodiments of the invention
Flow chart;
Fig. 2 is the another kind of wireless sensor network data process side of embodiments of the invention
The flow chart of method;
Fig. 3 is the another kind of wireless sensor network data process side of embodiments of the invention
The process schematic of method;
Fig. 4 is the composition schematic block of a kind of wireless sensor network of embodiments of the invention
Figure;
Fig. 5 is the composition signal of the another kind of wireless sensor network of embodiments of the invention
Block diagram.
Detailed description of the invention
For making those skilled in the art be more fully understood that technical scheme, knot below
Close the drawings and specific embodiments the present invention is described in further detail.
Embodiment 1:
As it is shown in figure 1, the present embodiment provides a kind of wireless sensor network data process side
Method, comprising:
S101, receive each wireless senser detection data and with its generate with each wireless biography
The data formula that sensor is corresponding;
S102, with each data formula form data formula collection D;
S103, judging the concordance of D ∪ C, wherein C is by constraint public affairs set in advance
The constraint formulations collection of formula composition;
If S104 D ∪ C is consistent, then D is added in result;If D ∪ C is not
Unanimously, then remove in D and can cause inconsistent data formula, afterwards D addition is processed
In result.
The wireless sensor network data processing method of the present embodiment can be at wireless sensor network
Network layers face i.e. eliminates the detection data (i.e. carrying out data constraint) that there is conflict, to ensure to upload
It is all the qualified detection data that there is not conflict to the detection data on upper strata, thus is conducive to
The upper strata utilization to detection data, and the operation on upper strata can be simplified;Meanwhile, this detection number
As long as setting simple constraints according to processing method, can be by repeatedly description logic
Consistency detection computing realize, its operation method is simple, easily realizes, it is not necessary to carry out
The judgement of large amount of complex, setting etc..
Embodiment 2:
As shown in Figure 2 and Figure 3, the present embodiment provides a kind of wireless sensor network data
Processing method, comprising:
S200, reception constraint (Constraint) formula, and form about with these constraint formulations
Bundle formulary C.
It is to say, processing module receives the constraint formulations being set by the user in advance, and use
These constraint formulations composition one set, i.e. constraint formulations collection C.
Wherein, to be one " general for each constraint formulations (the best fixed description logic formula)
Thought is asserted ", have expressed the constraints to certain data.Such as, patrol according to description
The semanteme of volume ALCOQ and syntactic definition, concept assert "1Reads.R (TA) " represent (its
Middle R is for there being type territory real number domain), temperature TA in A room can only be a real number value;
For another example, concept is assertedRepresent the pressure of certain B location
Press is only in tri-values of v1, v2, v3, in other words the value model of press
Enclose be made up of v1, v2, v3 enumerate set, wherein, " { v1, v2, v3} " is to extract
ConceptShorthand.
Certainly, it is above the citing to partially restrained formula, and also can be according to need in reality
Use the description logic language with different ability to express, set and represent other constraints
Constraint formulations.Such as, (temperature such as water exists the value of certain detection data within the specific limits
0~100 degree), the value of certain several detection data must be identical or different, certain several detection number
According to value must be fulfilled for certain relation (being such as gradually increased) etc..These concrete constraint formulations can
It is set according to the actual requirement detecting data by user, is not described in detail at this.
S201, receive the detection data (testing result) of each wireless senser and generate with it
Data (Data) formula corresponding with each wireless senser.
Wherein, each wireless senser be distributed in multiple diverse location, for detect temperature,
Humidity, pressure, voltage, electric current, resistance, magnetic field conditions, electric field conditions, rotation feelings
Condition etc..
In this step, wireless senser was detected by setpoint frequency or time, and will inspection
Survey result (detection data) to be sent to pretreatment module by wireless communication mode.Wherein, nothing
Line sensor send information except detection data in addition to, may also include wireless senser mark,
Wireless senser certification key, acquisition time, data form etc..
Pretreatment module receives the information (including detecting data) from each wireless senser, and
By predetermined protocol, information is resolved, afterwards with detection data genaration and each wireless sensing
The data formula that device is corresponding, thus, the data formula of certain wireless senser corresponding is at least wrapped
Include the detection data of this wireless senser.
Wherein, pretreatment module also wireless senser can be identified, wireless senser certification
Keys etc. are sent to wireless senser management module, by wireless senser management module to nothing
Line sensor is authenticated, to judge whether this wireless senser belongs to this wireless senser
Network.
Preferably, with the detection data genaration of each wireless senser and each wireless senser pair
The data formula answered includes: generate with the detection data of each wireless senser and detection object
The data formula corresponding with each wireless senser.
It is to say, wireless senser management module also can store each wireless senser
Detection object, and pretreatment module generate detection formula time, can will detection object also
It is added thereto, thus detection formula includes detection data and the inspection of unified wireless senser
Survey object.
Wherein, detection object represent with detect data corresponding be what physics in reality
Amount, the temperature in e.g. A room, or the pressure etc. of B location.Therefore, detection public affairs
The actual value embodying detection data of formula and the relation of its physical significance.
Wherein, each data formula (the best fixed description logic formula) namely
" role assertion ".Such as, according to grammer and the semantical definition of description logic ALCOQ,
Role assertion " reads (TA, 29.6) " represents that temperature TA of room A is 29.6 DEG C, and
Role assertion " reads (press, v4) " represents that pressure p ress of B location is v4 etc..
Certainly, as long as data formula includes that above content is exactly feasible, it not necessarily uses
Above concrete form.Such as, if each wireless senser has unique numbering, and
Known to the physical significance that each numbering is corresponding, the most also can represent above inspection by this numbering
Survey object.
Preferably, generating the data formula corresponding with each wireless senser and using each data
Also include between formula composition data formula collection D: by data formula and corresponding nothing
The credibility of line sensor is associated, and the credibility of wireless senser is default.
It is to say, can be that each wireless senser presets credibility, and be deposited
Store up in wireless senser management module, and pretreatment module is generating data above formula
After, also can be relevant to each data formula as additional information using the credibility of wireless senser
Connection, being i.e. equivalent to each data formula has the credibility of correspondence.
If it addition, wireless sensor network wireless senser to be processed is when multiple difference
Between the detection data (i.e. its be not in real time process) that gather, then above associate with data formula
Additional information may also include acquisition time etc..
Wherein, above data formula, additional information etc. all can with character string, encode whole
The forms such as number exist;And association between the two can be realized by specific storage form, example
As, Hash table can be used to store form, and the key of " data formula-additional information " is set
It is right to be worth.
S202, with each data formula form data formula collection D.
It is to say, processing module receives the above each data formula from pretreatment module
(and additional information), and form set, i.e. a data formula collection D by data formula.
S203, judge the concordance of D ∪ C.
Wherein, data formula collection D is the set of volume of data formula, or perhaps one
The set of series role assertion.
Accordingly, constraint formulations collection C is the set of a series of constraint formulations, or perhaps
The set that series of concepts is asserted, or perhaps the set of a series of constraints.
In this step, data formulary D and constraint formulary C is first entered by processing module
Row takes the operation of union, obtains new set D ∪ C.
Afterwards, processing module detection set D ∪ C concordance, in other words, detect with
Whether the formula in upper two formulary D and C can cause contradiction, conflict etc. irrational
Situation, if contradictory, then causes the discordance of D ∪ C set (to have data in other words
Conflict), if noncontradictory, D ∪ C set then can be judged as consistent (no data in other words
Conflict).
Such as, if two wireless sensers detect the temperature in A room simultaneously, count accordingly
According to formulary D has two data formula, " reads (TA, 29.6) " and
" reads (TA, 34.6) ", represents two detection data in TA a certain moment: 29.6, respectively
34.6, and in constraint formulations collection C, Constrained formula "1Reads.R (TA) " limit
Temperature TA can only be a real number value (wherein R is for there being type territory real number domain);So at collection
Closing in D ∪ C, TA has two follow-up individualities by " reads " relation: " 29.6 ",
“34.6”., according to constraint formulations "1Reads.R (TA) ", the two is individual " 29.6 "
Should be same individuality with " 34.6 ", i.e. by set explanation, they be explained to real number
" real number 29.6 is equal to real number 34.6 " is drawn after domain.Obviously, conclusions is and reality
The fundamental theorem contradiction in number theory territory, is wrong, or perhaps there is contradiction, thus
Cause D ∪ C inconsistent, and " reads (TA, 29.6) " and " reads (TA, 34.6) " is just
It is to cause inconsistent data formula.
For another example, if certain data formula " reads (press, v4) " represents that press is equal to v4,
And constraint formulationsRepresent press be only v1, v2,
In v3 one, press represents press equal to v4 and has taken the value outside it enumerates scope,
This is not inconsistent with the basic meaning enumerated, and thus there is contradiction.D caused by this contradiction
∪ C is inconsistent will be detected by the Algorithm for Consistency Checking of description logic..
Certainly, reality also has many other cause inconsistent situation (such as liquid water
Temperature be 150 degree etc.), be not described in detail at this.
Wherein, the conforming concrete mode of above judgement is various, such as can be by retouching
The tableau algorithm stating logic ALCOQ checks concordance, therefore is not described in detail at this.
If S204 D ∪ C is consistent, then D is added in result;If D ∪ C is not
Unanimously, then remove in D and can cause inconsistent data formula, afterwards D addition is processed
In result.
If it is to say, processing module judges that formulary D ∪ C is consistent, not existing
Data collision, then can add in result by the data formula of D, and such as data process
Result can be result formulary Res, the most now can make Res=Res ∪ D.
And if processing module through judgement find formulary D ∪ C inconsistent, the most preferably by
The secondary consistency detecting method utilizing description logic, removes in D and can cause inconsistent number
According to formula, D consistent for D ∪ C will be made to add in result afterwards;It is to say,
Gradually find out in D and cause inconsistent data formula, and all of which is removed from D,
D consistent for D ∪ C is made to add in result by remaining afterwards.Above procedure is concrete
Comprise the steps that
A () is found out and is caused this inconsistent data formula in D, and abnormal public with its composition
Formula collection DF, makes D=D-DF.
It is to say, gradually orient with tableau algorithm D ∪ C causes inconsistent
Data formula, only location causes an inconsistent data formula i.e. every time, and with causing
This inconsistent abnormal formulary DF of data formula composition.Such as, at certain tableau
In detection, above " reads (TA, 29.6) ", " reads (TA, 34.6) " constitutes this
The DF detected, i.e. DF={reads (TA, 29.6), reads (TA, 34.6) }.
Update D afterwards, make it be equal to the difference set of original D Yu DF, incite somebody to action this in other words
Data formula in secondary DF removes from D, afterwards using remaining data formula as treating
The data formula set D next time detected.
B () makes DF=DF-F, wherein F is low credible abnormal formulary, its by DF with
The data formula composition that lowest confidence is associated.
It is to say, by analyzing the credibility that is associated of data formula each with DF (i.e.
The credibility of wireless senser), thus find out the data formula that wherein credibility is minimum, and
Low credible abnormal formulary F is formed with them.Such as, if data above formula
The credibility of " reads (TA, 29.6) " is 1, and the credibility of " reads (TA, 34.6) " is 2,
Then " reads (TA, 34.6) " is added in F (assuming that implementer thinks that 1 to 2 is more credible).
Afterwards, make DF=DF-F, i.e. remove the data formula that in DF, credibility is minimum.
Typically, when multiple data exist conflict, it is not offered as all of which wrong,
But part data therein are wrong and other data are correct, it is clear that with a low credibility
Data occur that the probability of mistake is bigger.Therefore, this step is exactly to be existed by most probable in DF
The data formula of mistake removes, and retains data formula the most with a high credibility as far as possible.When
So, for self in-problem data formula of part, in example above, cause not
Consistent DF={reads (press, v4) }, its only one of which credibility, therefore be also " minimum "
, it will it is removed.
C () judges the concordance of DF ∪ C.
That is, it is judged that the concordance of union DF ∪ C, i.e. judge remove credible
After spending minimum data formula, it is inconsistent whether the data formula in DF still suffers from.
Wherein, have a kind of situation be the total data formula in DF all have identical can
Reliability, therefore they all can be included in low credible abnormal formulary F together, so
The DF necessarily empty set obtained after DF=DF-F operation, this represents the total data in DF
Formula is all problematic, all should remove.In the case, inevitable consistent (this of DF ∪ C
In invention, constraint formulations set is consistent, i.e. C itself will not cause inconsistent), therefore its
Need not individually judge.
If d () DF ∪ C is consistent, then DF is added in result;If DF ∪ C is not
Unanimously, then return makes the step of DF=DF-F.
If it is to say, now DF ∪ C is consistent, then it represents that DF is truly present mistake
Data formula be removed, remaining data formula is not conflicted, and can add
Enter in result.
And if now DF ∪ C is inconsistent, then it represents that DF yet suffers from the number of conflict
According to formula, therefore return above step (b), again remove now in DF credibility minimum
Data formula;The most repeatedly, until DF ∪ C is consistent.
Visible, this step eventually (includes that DF is empty set in the case of DF ∪ C is consistent
Situation) carry out the operation of Res=Res ∪ DF, DF will not actually exist mistake
Data formula is incorporated to Res, and Res also includes gradually remove D can cause inconsistent
Data formula after make the data formula of D consistent for D ∪ C, therefore this step S204 is
Termination fruit is " if D ∪ C is inconsistent, gradually to utilize the consistency detection side of description logic
Method, removes in D and can cause inconsistent data formula, D ∪ C will be made consistent afterwards
D adds in result ".
It is the situation of empty set for DF, it is possible between step (b) and step (c), increases
Judge that whether DF is the step of empty set, if otherwise entering step (c), if the most directly entering
Enter next step (e) (not carrying out judging the step that DF ∪ C is consistent).Owing to judging set
The computing substantially ratio whether being empty judges that conforming step is simple, therefore so can reduce fortune
Calculation amount, but need to increase a calculation step.
E () returns the conforming step (step S203) of described judgement D ∪ C.
It is to say, D causes this inconsistent number eliminating according to above method
After formula, again judge the concordance of D ∪ C.
An inconsistent data formula is caused owing to D now has eliminated, if therefore
Inconsistent without other, then judged result is consistent, hence into step S204
After, D can be added in result, even Res=Res is ∪ D by nature.
And if D ∪ C is the most inconsistent (still suffers from D in other words causing other inconsistent numbers
According to formula), then after entering step S204, can again carry out the above step taking DF etc.,
Again remove from D and cause another inconsistent data formula, so circulate, until
All causing inconsistent data formula to be all removed in D, D ∪ C is consistent, and D is added into
In result.
Certainly, actual being not necessarily to after step (d) of this step is carried out, and is carrying out
After making the operation (step (a)) of D=D-DF, it can be carried out;Certainly premise is step (b)
Also to carry out to (e), it is impossible to stop, in order to determining in DF, which data formula should simultaneously
Work as reservation.
Certainly, above S204 step be the present invention a kind of object lesson rather than
Restriction to it, also many modifications may be made to for it: such as, it is possible to by changing algorithm,
D will all cause inconsistent data formula all find out, and be uniformly processed;For another example,
Without credibility, then abnormal data can be caused public by random fashion removing part
Formula, judges the concordance etc. of the set after removing these data formula afterwards;In a word, exist
These deformation are no longer described in detail by one by one, as long as it can realize " drawing in D
Play inconsistent data formula all to remove, D consistent for D ∪ C will can be made to add afterwards
Result " purpose.
S205, the detection data in result are reported upper strata (such as Access Layer, network
Layer etc.).
It is to say, using the detection data in the data formula in Res as final knot
Really, report Access Layer, Internet etc., for follow-up use.
Visible, according to the wireless sensor network data processing method of the present embodiment, can be
Wireless sensor network aspect i.e. eliminates the detection data of existence conflict and (i.e. carries out data about
Bundle), to ensure that the detection data being uploaded to upper strata are all to there is not the qualified detection number of conflict
According to, thus the beneficially upper strata utilization to detection data, and the operation on upper strata can be simplified;
Meanwhile, as long as this detection data processing method sets simple constraints, can pass through
Repeatedly the consistency detection computing in description logic realizes, and its operation method is simple, easily
Realize, it is not necessary to carry out the judgement of large amount of complex, setting etc..
Embodiment 3:
As shown in Figure 4, the present embodiment provides a kind of wireless sensor network, comprising:
Multiple wireless sensers;
Pretreatment module, for receiving the detection data of each wireless senser and generating with it
The data formula corresponding with each wireless senser;
Processing module, for forming data formula collection D by each data formula, and is used for sentencing
The concordance of disconnected D ∪ C, if D ∪ C is consistent, then adds D in result;If D
∪ C is inconsistent, then remove in D and can cause inconsistent data formula, added by D afterwards
Entering in result, wherein, C is that the constraint being made up of constraint formulations set in advance is public
Formula collection.
The wireless sensor network of the present embodiment can eliminate and there are the detection data of conflict (i.e.
Carry out data constraint), to ensure that the detection data being uploaded to upper strata are all to there is not conflict
Qualified detection data, thus the beneficially upper strata utilization to detection data, and on can simplifying
The operation of layer;Meanwhile, as long as its data processing method used sets simple constraint
Condition, can be realized by the consistency detection computing in repeatedly description logic, its computing
Method is simple, easily realizes, it is not necessary to carry out the judgement of large amount of complex, setting etc..
Embodiment 4:
As it is shown in figure 5, the present embodiment provides a kind of wireless sensor network, comprising:
Multiple wireless sensers, they are used for gathering various detection data (testing result), and
Send it to pretreatment module.
Wherein, each wireless senser send also wireless senser can be identified, wireless sensing
Device certification key, acquisition time, data form etc. issue pretreatment module together.
Pretreatment module, for receiving the detection data of each wireless senser and generating with it
The data formula corresponding with each wireless senser.
Preferably, pretreatment module is used for the detection data with each wireless senser and detection
Object generates the data formula corresponding with each wireless senser.
Preferably, what pretreatment module was additionally operable to data formula and wireless senser is credible
The additional informations (may also include acquisition time etc.) such as degree are associated.
Processing module, for forming data formula collection D by each data formula, and is used for sentencing
The concordance of disconnected D ∪ C, if D ∪ C is consistent, then adds D in result;If D
∪ C is inconsistent, then remove in D and can cause inconsistent data formula, added by D afterwards
Entering in result, wherein, C is that the constraint being made up of constraint formulations set in advance is public
Formula collection.
Concrete, more than remove in D and can cause inconsistent data formula, afterwards by D
Add result to include: gradually utilize the consistency detecting method of description logic, remove
Go D can cause inconsistent data formula, D consistent for D ∪ C will be made to add afterwards
In result.
Preferably, gradually utilize the consistency detecting method of description logic, remove meeting in D
Cause inconsistent data formula, D consistent for D ∪ C will be made to add result afterwards
Include: find out and D causes this inconsistent data formula, and abnormal with its composition
Formulary DF, makes D=D-DF;Making DF=DF-F, wherein F is low credible abnormal formula
Collection, it is made up of the data formula being associated with lowest confidence in DF;Judge DF ∪
The concordance of C;If DF ∪ C is consistent, then DF is added in result;If DF
∪ C is inconsistent, then return the step making DF=DF-F;Return and judge that D ∪ C's is consistent
The step of property.
Preferably, this processing module is additionally operable to receive (user sets) constraint formulations, and uses
It forms constraint formulations collection C.
Certainly, this processing module can be additionally used in the amendment of constraint formulations, editor etc..
Wireless senser management module, for receiving and store the detection of each wireless senser
Object;And/or, for receiving and store the credibility of each wireless senser.
It is to say, processing module is for storing the inspection of each wireless senser that user sets
Survey object, credibility etc., in order to these information be used in data handling procedure.
Certainly, this wireless senser management module also can store legal wireless sensing
The mark of the wireless senser of device, key etc., be authenticated for wireless senser.
Certainly, wireless senser management module can be additionally used in the dosing of wireless senser, deletes
Remove, amendment etc..
The wireless sensor network of the present embodiment can eliminate and there are the detection data of conflict (i.e.
Carry out data constraint), to ensure that the detection data being uploaded to upper strata are all to there is not conflict
Qualified detection data, thus the beneficially upper strata utilization to detection data, and on can simplifying
The operation of layer;Meanwhile, as long as its data processing method used sets simple constraint
Condition, can be realized by the consistency detection computing in repeatedly description logic, its computing
Method is simple, easily realizes, it is not necessary to carry out the judgement of large amount of complex, setting etc..
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present
And the illustrative embodiments used, but the invention is not limited in this.For ability
For those of ordinary skill in territory, in the situation without departing from spirit and substance of the present invention
Under, various modification and improvement can be made, these modification and improvement are also considered as the present invention's
Protection domain.
Claims (10)
1. a wireless sensor network data processing method, it is characterised in that including:
Receive the detection data of each wireless senser and generate and each wireless senser pair with it
The data formula answered;
Data formula collection D is formed by each described data formula;
Judging the concordance of D ∪ C, wherein C is for be made up of constraint formulations set in advance
Constraint formulations collection;
If D ∪ C is consistent, then D is added in result;If D ∪ C is inconsistent,
Then remove in D and can cause inconsistent data formula, afterwards D is added in result.
Wireless sensor network data processing method the most according to claim 1, its
It is characterised by, described with the detection data genaration of each wireless senser and each wireless senser
Corresponding data formula includes:
Generate and each wireless senser with the detection data of each wireless senser and detection object
Corresponding data formula.
Wireless sensor network data processing method the most according to claim 1, its
It is characterised by, generates the data formula corresponding with each wireless senser and by each described data
Also include between formula composition data formula collection D:
The credibility of described data formula and corresponding wireless senser is associated,
The credibility of described wireless senser is default.
Wireless sensor network data processing method the most according to claim 3, its
It is characterised by, described removing D can cause inconsistent data formula, afterwards D is added
Enter result to include:
Gradually utilize the consistency detecting method of description logic, remove D can cause and differ
The data formula caused, will make D consistent for D ∪ C add in result afterwards.
Wireless sensor network data processing method the most according to claim 4, its
It is characterised by, the described consistency detecting method gradually utilizing description logic, removes in D
Inconsistent data formula can be caused, D addition consistent for D ∪ C will be made to process knot afterwards
Fruit includes:
Find out and D causes this inconsistent data formula, and form abnormal formula with it
Collection DF, makes D=D-DF;
Making DF=DF-F, wherein F is low credible abnormal formulary, its by DF with
The data formula composition that low credibility is associated;
Judge the concordance of DF ∪ C;
If DF ∪ C is consistent, then DF is added in result;If DF ∪ C is inconsistent,
Then return the described step making DF=DF-F;
Return the conforming step of described judgement D ∪ C.
6. a wireless sensor network, it is characterised in that including:
Multiple wireless sensers;
Pretreatment module, for receiving the detection data of each wireless senser and generating with it
The data formula corresponding with each wireless senser;
Processing module, for forming data formula collection D by each described data formula, and uses
In judging the concordance of D ∪ C, if D ∪ C is consistent, then D is added in result;
If D ∪ C is inconsistent, then removes in D and can cause inconsistent data formula, afterwards will
D adds in result, and wherein, C is the pact being made up of constraint formulations set in advance
Bundle formulary.
Wireless sensor network the most according to claim 6, it is characterised in that also
Including:
Wireless senser management module, for receiving and store the detection of each wireless senser
Object;
Described pretreatment module is used for the detection data with each wireless senser and detection object
Generate the data formula corresponding with each wireless senser.
Wireless sensor network the most according to claim 6, it is characterised in that also
Including:
Wireless senser management module, for receiving and store each described wireless senser
Credibility;
Pretreatment module is additionally operable to described data formula and corresponding wireless senser
Credibility be associated, the credibility of described wireless senser is default.
Wireless sensor network the most according to claim 8, it is characterised in that institute
State in removing D and can cause inconsistent data formula, afterwards D is added in result
Including:
Gradually utilize the consistency detecting method of description logic, remove D can cause and differ
The data formula caused, will make D consistent for D ∪ C add in result afterwards.
Wireless sensor network the most according to claim 6, it is characterised in that
The described consistency detecting method gradually utilizing description logic, removes can cause in D and differs
The data formula caused, includes making D consistent for D ∪ C add result afterwards:
Find out and D causes this inconsistent data formula, and form abnormal formula with it
Collection DF, makes D=D-DF;
Making DF=DF-F, wherein F is low credible abnormal formulary, its by DF with
The data formula composition that low credibility is associated;
Judge the concordance of DF ∪ C;
If DF ∪ C is consistent, then DF is added in result;If DF ∪ C is inconsistent,
Then return the described step making DF=DF-F;
Return the conforming step of described judgement D ∪ C.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610195139.5A CN105916165B (en) | 2016-03-30 | 2016-03-30 | Wireless sensor network and its data processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610195139.5A CN105916165B (en) | 2016-03-30 | 2016-03-30 | Wireless sensor network and its data processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105916165A true CN105916165A (en) | 2016-08-31 |
CN105916165B CN105916165B (en) | 2019-07-16 |
Family
ID=56745371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610195139.5A Active CN105916165B (en) | 2016-03-30 | 2016-03-30 | Wireless sensor network and its data processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105916165B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110098609A (en) * | 2018-01-29 | 2019-08-06 | 中国电力科学研究院有限公司 | A kind of measurement upload data preparation method and system towards power distribution network |
CN112533168A (en) * | 2020-11-30 | 2021-03-19 | 南京林业大学 | Data processing method of wireless sensor network node |
CN114061068A (en) * | 2020-08-07 | 2022-02-18 | 海信(山东)空调有限公司 | Air conditioner and CO2Sensor fault detection method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101415011A (en) * | 2008-10-31 | 2009-04-22 | 北京工业大学 | Safety effective data polymerization method for wireless sensor network |
CN101957600A (en) * | 2009-07-16 | 2011-01-26 | 上海海洋大学 | Water quality detection wireless transmission collection node device and information fusion method |
CN102184267A (en) * | 2011-04-14 | 2011-09-14 | 上海同岩土木工程科技有限公司 | Abnormal data filtration method for interference elimination of automatic data acquisition system |
CN103916896A (en) * | 2014-03-26 | 2014-07-09 | 浙江农林大学 | Anomaly detection method based on multi-dimensional Epanechnikov kernel density estimation |
CN104968477A (en) * | 2012-08-28 | 2015-10-07 | 睿信科机器人有限公司 | Monitoring robot sensor consistency |
-
2016
- 2016-03-30 CN CN201610195139.5A patent/CN105916165B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101415011A (en) * | 2008-10-31 | 2009-04-22 | 北京工业大学 | Safety effective data polymerization method for wireless sensor network |
CN101957600A (en) * | 2009-07-16 | 2011-01-26 | 上海海洋大学 | Water quality detection wireless transmission collection node device and information fusion method |
CN102184267A (en) * | 2011-04-14 | 2011-09-14 | 上海同岩土木工程科技有限公司 | Abnormal data filtration method for interference elimination of automatic data acquisition system |
CN104968477A (en) * | 2012-08-28 | 2015-10-07 | 睿信科机器人有限公司 | Monitoring robot sensor consistency |
CN103916896A (en) * | 2014-03-26 | 2014-07-09 | 浙江农林大学 | Anomaly detection method based on multi-dimensional Epanechnikov kernel density estimation |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110098609A (en) * | 2018-01-29 | 2019-08-06 | 中国电力科学研究院有限公司 | A kind of measurement upload data preparation method and system towards power distribution network |
CN110098609B (en) * | 2018-01-29 | 2023-05-02 | 中国电力科学研究院有限公司 | Measurement uploading data preparation method and system for power distribution network |
CN114061068A (en) * | 2020-08-07 | 2022-02-18 | 海信(山东)空调有限公司 | Air conditioner and CO2Sensor fault detection method |
CN112533168A (en) * | 2020-11-30 | 2021-03-19 | 南京林业大学 | Data processing method of wireless sensor network node |
Also Published As
Publication number | Publication date |
---|---|
CN105916165B (en) | 2019-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108604236B (en) | RESTFUL operation of semantic IOT (Internet of things) | |
CN104965507B (en) | Generate the method and device of open diagnostic data switching database | |
CN103761681A (en) | Intelligent comparison method of SCD and Excel virtual terminal table of intelligent substation | |
CN107038258B (en) | Groundwater monitoring data acquisition release management system | |
CN105916165A (en) | Wireless sensor network and data processing method thereof | |
CN109635564A (en) | A kind of method, apparatus, medium and equipment detecting Brute Force behavior | |
CN104618919B (en) | Sensor network sensing node identifier resolution conformance test method | |
CN102281337A (en) | destination address access control method and system | |
US20140289185A1 (en) | Apparatus and Method for Policy Based Rebalancing in a Distributed Document-Oriented Database | |
CN103200254A (en) | Water conservation Internet of things oriented multi-source heterogeneous data obtaining and transmitting method | |
CN107026773A (en) | Automatic correlation method for interface automatic test | |
Malewski et al. | StarFL–a modularised metadata language for sensor descriptions | |
CN106547658A (en) | A kind of automated testing method and device | |
CN106571979A (en) | Link detection method for process-level switch of intelligent substation and switch | |
CN104767744B (en) | Protocol state machine active estimating method based on protocol knowledge | |
CN107484189A (en) | LTE data handling systems | |
CN107169294A (en) | The secondary judgement processing method of Excel forms in a kind of ATS for Environmental Test | |
CN111125066B (en) | Method and device for detecting functions of database auditing equipment | |
Liu et al. | Positive Solutions of a Two‐Point Boundary Value Problem for Singular Fractional Differential Equations in Banach Space | |
CN108287876A (en) | Support the power quality data service quality detection method and device of multiple format | |
CN106776255A (en) | The log extracting method and device of intelligent television system | |
CN103778218B (en) | Cloud computation-based standard information consistency early warning system and method | |
CN103281221B (en) | Fire-fighting Internet of things system method of testing | |
CN108205732A (en) | A kind of method of calibration of the new energy prediction data access based on file | |
CN103092752B (en) | Error identification method of instrument attributes |
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 |