CN103376787B - System and method for sensing management control conflicts in a network - Google Patents

System and method for sensing management control conflicts in a network Download PDF

Info

Publication number
CN103376787B
CN103376787B CN201210183941.4A CN201210183941A CN103376787B CN 103376787 B CN103376787 B CN 103376787B CN 201210183941 A CN201210183941 A CN 201210183941A CN 103376787 B CN103376787 B CN 103376787B
Authority
CN
China
Prior art keywords
control
hazard
priority
time window
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210183941.4A
Other languages
Chinese (zh)
Other versions
CN103376787A (en
Inventor
魏铭贤
刘新盛
李岳峰
吴俊贤
李泱融
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial Technology Research Institute ITRI
Original Assignee
Industrial Technology Research Institute ITRI
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Industrial Technology Research Institute ITRI filed Critical Industrial Technology Research Institute ITRI
Publication of CN103376787A publication Critical patent/CN103376787A/en
Application granted granted Critical
Publication of CN103376787B publication Critical patent/CN103376787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

Systems and methods for sensing management control conflicts in a network. In a system for managing control conflicts, a control conflict detector determines a time window for a new control based on a type of a sensor derived from the new control and a type of an actuator, and determines that the new control has a control conflict when the actuator is the same as at least one target actuator of at least one original control and the time window overlaps at least one time window of the at least one original control. A control conflict resolution module generates a control attribute of the new control and compares the new control with at least one control attribute of at least one original control according to at least one priority rule of a current mode to arbitrate which of the new control and the at least one original control is the winner.

Description

The System and method for of control hazard is managed in sensor network
Technical field
The disclosure relates to the System and method for managing control hazard (conflictmanagement) in a kind of sensor network.
Background technology
Include multiple sensor (sensor) with the sensor network of actuator (actuator) at one, sensor is used to detection event, and actuator is used to arouse action.Many controlling behavior may be had in sensor network, also may collide with one another between controlling and controlling.When its condition of event that a sensor detects is set up, performed the action of specifying by actuator, this sensor can set up a contact relation therewith between actuator.This relation is called link (binding), and the behavior performing this link is called control.The event that one example detects as, sensor be " pressing switch ", when " pressing switch " sets up, by the action of actuator execution " electric light unlatching ".The event that another example detects as, sensor be " temperature is more than 30 degree ", when " temperature is more than 30 degree " are set up, by the action of actuator execution " cold air unlatching ".Along with sensor network becomes increasingly complex, control just to have an opportunity to produce between control to conflict.
Some patent documentations are had to disclose the technology of collision detection (conflictdetection) and/or Conflict solving (conflictresolution).Such as, a kind of can Detection of content conflict (contextconflict) and service-impacting (serviceconflict) for the intelligent control technology in household digital network, and adopt the method based on right of priority (priority-based) to solve these conflicts.A kind of technology detects and the content conflicts (contextconflict) solved because separate sources information causes.A kind of resource management system being used in multimedia and storage system can select a suitable signal to originate to obtain data on file automatically, also can detect by each storage action duration window (timewindow) is whether overlapping the resource contention occurred when multiple audiovisual materials will be pre-recorded, and decide how to solve this conflict by the processing rule of systemic presupposition or prompting user.A kind of framework for multiple core processor can detect and the access conflict solving common access memory and cause; Its collision detection is according in window sometime, if when having multiple core to access same storage address simultaneously, will clash, its Conflict solving is then decide to allow to perform this requirement according to the sequencing (FIFO) sending requirement.One is applied in semiconductor production process, causes the technology of conflict to be judged and this control hazard of solution by a monitoring controller (supervisorycontroller) when solving multiple Production Controller.
Usually, solving control hazard can be manual/auto with manually/half.Refer to when the conflict occurs manually to solve control hazard, determine how to manage conflict by user.Manually solving control hazard with half refers to when the conflict occurs, determines how to manage conflict, but has enough algorithms or learning ability, can reduce the intervention of user by user.Refer to when the conflict occurs automatically to solve control hazard, user need not get involved completely, and system can be settled a dispute by the parties concerned themselves conflict.
Some non-patent literatures are had to disclose the technology of collision detection and/or Conflict solving.Such as, one section of paper proposes the framework of a kind of perception of content (context-aware), be used for collecting the content being positioned at family expenses sensing platform and user, and be that conflict between different users and different service proposes a kind of solution based on weight or right of priority, type of its conflict is under the jurisdiction of actuator control hazard and conflicts with environmental Kuznets Curves.One section of paper proposes a kind of conflict management technology based on the meaning of one's words (semantic), the framework of a kind of perception of content of this technical design and conflict management serves multidigit user and multiple group, and the control hazard that can detect and solve between service on the meaning of one's words, the type of its conflict is under the jurisdiction of actuator control hazard.One section of paper proposes a kind of computing framework being called Physicalnet, can manage and the environment arranging Heterogeneous Sensor/actuator, multimeshed network and multi-user, its technology uses the mode of fine granularity (fine-grained) access right to solve conflict, and the type of its conflict is under the jurisdiction of sensor configuration setting (configuration) control hazard.
One section of paper proposes a kind of Conflict solving technology to process the control hazard caused between energy-saving application and comfortable application.The right of priority of this technical area between different users reaches with authority-average (privilege-average) control conflicted, and use frequency identification system (RFID) to identify different users, and the preference (preference) of access user, the type of its conflict is under the jurisdiction of actuator control hazard.Fig. 1 is an example schematic of the application situation of this Conflict solving technology.Application situation in Fig. 1 is an intelligent type energy saving office 100, office 100 comprises a Precinct (personalizedzone) 110 and a public area (publiczone) 120, and has a central control system (centralcontrolnoartificial) and multiple other control system.Each system has all installed self-operated thermostatic controller (thermostat), RFID reader (reader) and antenna and sensor and actuator.
One section of paper is had to be for the pervasive computing environment of multi-user proposes the algorithm of a group Conflict solving.This conflict resolution algorithm considers the factors such as the formula of trying to be the first (preemptivebased), non-preemptive formula (non-preemptivebased), role (rolebased), right of priority, time slice (timeslicebased), democracy formula (democraticbased) and individual preference (personalpreference) and solves conflict, and the type of its conflict is under the jurisdiction of actuator control hazard.
Above-mentioned most control hazard administrative skill is not for the control hazard in sensor network environment, and focuses on the aspect solving control hazard, solves the mode of control hazard nothing more than passing through right of priority or algorithm etc.The control hazard administrative skill of few part has the mechanism disclosing how detection control conflict.Control is the most basic behavior pattern of sensor network.Along with sensor network becomes increasingly complex, the chance that control hazard occurs also more improves.The generation of control hazard, gently then can cause user to control inconvenience; Heavy then can threat to life safety.Therefore, how detection control conflict to solve control hazard be very important in sensor network environment.
Summary of the invention
Disclosure embodiment can provide the System and method for managing control hazard in a kind of sensor network.
A disclosed embodiment is the system about managing control hazard in a kind of sensor network.This system can comprise a control hazard detecting device (ControlConflictDetector) and a control hazard solves module (ConflictResolutionModule).This control hazard detecting device is according to the type of a sensor obtained from newly control (newcontrol) and the type of an actuator, determine a time window (timewindow) of this new control, and when at least one time window of this actuator and this time window identical with at least one target actuators of at least one former control (originalcontrol) at least one former control therewith has overlap, judge to clash.This control hazard solves the controlled attribute (controlattribute) that module produces this new control, and the relatively new at least one controlled attribute controlling at least one former control therewith, with arbitrate this new control therewith at least one former control whichever for the person of winning (winner).
Another disclosed embodiment is a kind of method about managing control hazard in sensor network.The method can comprise: according to the type of a sensor obtained from newly control and the type of an actuator, determine a time window of this new control and give a controlled attribute; When this actuator is identical with at least one target actuators of at least one former control, and when at least one time window of this time window at least one former control therewith has an overlap, judge to clash; And when the conflict occurs, according at least one priority rules (priorityrule), the relatively priority ranking of this new control at least one controlled attribute of at least one former control therewith, arbitrate this new control therewith at least one former control whichever be the person of winning.
The detailed description of present cooperation following schemes, embodiment and claims, by address after other advantages of the present invention are specified in.
Accompanying drawing explanation
Fig. 1 is an example schematic of the application situation of a Conflict solving technology.
Fig. 2 A is the example schematic according to the disclosure one embodiment, illustrate two control the mistiming had slightly time, also may produce control hazard.
Fig. 2 B is the example schematic according to the disclosure one embodiment, illustrate two control have a very large mistiming time, also may produce control hazard.
Fig. 3 is according to the disclosure one embodiment, and the time window of Four types is described.
Fig. 4 is according to the disclosure one embodiment, illustrates in a sensor network system, multiple control schematic diagram in time.
Fig. 5 is according to the disclosure one embodiment, illustrates that control hazard detects the part comprised.
Fig. 6 is according to the disclosure one embodiment, and the composition of each unit in control hazard detecting device is described, and operates in a sensor network environment.
Fig. 7 is according to the disclosure one embodiment, and the thin portion running of control hazard detecting device is described.
Fig. 8 A is according to the disclosure one embodiment, and the example of the attribute description of sensor is described.
Fig. 8 B is according to the disclosure one embodiment, and the example of the attribute description of actuator is described.
Fig. 9 is according to the disclosure one embodiment, and the example automatically giving the controlled attribute controlled is described.
Figure 10 is according to the disclosure one embodiment, the example of the description document of priority rules.
Figure 11 A and Figure 11 B is that the priority rules according to a manual mode describes document according to the disclosure one embodiment, arbitrates the right of priority of two controls with binary differentiating approach.
Figure 12 is according to the disclosure one embodiment, illustrates that a control hazard solves the composition of each unit in module, and operates in a sensor network environment.
Figure 13 is according to the disclosure one embodiment, illustrates that this control hazard solves the thin portion running of module.
Figure 14 is according to the disclosure one embodiment, and the system managing control hazard in a kind of sensor network is described.
Figure 15 is according to the disclosure one embodiment, and a kind of method managing control hazard in sensor network is described.
[main element symbol description]
100 intelligent type energy saving office 110 Precincts
120 public areas
510 automatic classification 520 control time windows produce
Whether 530 Automatic Detection and Control conflicts occur
600 control hazard detecting device 610 control tactics unit
620 time window determining means 630 control hazard determining meanss
640 control hazards solve module 650 and control execution module
660 control and management modules 670 control generation module
666 sensor network environment 680 control time window lists
610a newly controls 612 sensor types
614 actuator types 622,630a time window
690 sensor 692 actuators
710 obtain a sensor and the type causing a dynamic device from new control
720 according to sensor type and actuator types, determines that a time window controls to new
730 check whether the time window of the new time window controlled at least one former control therewith has overlap
740 judge that new control has control hazard
750 judge that new control does not have control hazard
1200 control hazards solve module 1210 controlled attribute generation unit
1220 priority rules storehouse 1230 control hazard moderators
1310, by the new sensor type that controls and actuator types, give the new controlled attribute controlled
1320 according to a present mode, obtains corresponding priority rules from priority rules storehouse
1330 controlled attributes comparing this new control and at least one former control
1340 check whether new control has higher right of priority
1350 judge that new control is won
1360 judge that this at least one former control is won
The system of 1400 management control hazards
1510, according to the type of a sensor obtained from newly control and the type of an actuator, determine a time window of this new control and give a controlled attribute
1520 when this actuator identical with at least one target actuators of at least one former control, and when at least one time window of this time window at least one former control therewith has an overlap, judge to clash
1530 when the conflict occurs, according at least one priority rules, compares the priority ranking of this controlled attribute at least one controlled attribute of at least one former control therewith, arbitrate this new control therewith at least one former control whichever be the person of winning
Embodiment
In a sensor network including multiple sensor and actuator, when the condition of the event produced by sensor is set up, gone by actuator to perform the action of specifying.A series of like this behavior, is called control.That is, the control in sensor network is made up of sensor and actuator.A control has oneself action time, in the disclosure, is defined the time window (timewindow) for this reason controlled this action time.When one controls in the time window also at oneself, representing this control still has effect, if when therefore having other target actuators controlled to control identical with this, will there is control hazard.Along with sensor network becomes increasingly complex, the chance that control hazard occurs also more improves, therefore, regular time window length be not suitable for all control.
In the environment of sensor network, disclosure embodiment provides a kind of administrative mechanism of the control hazard based on time window.The administrative mechanism of this control hazard mainly comprises two parts, and a part is that control hazard detects, and another part is that control hazard solves.Control hazard detects system and automatically determines time window size according to sensor and actuator types, and when time window overlaps, control hazard will occur.Control hazard solves system and gives different attributes according to different control, and judges the priority of controlled attribute according to the priority rules of different patterns.
In sensor network, when having plural control for same actuator effect, that is, when same actuator has plural controlling behavior to occur simultaneously, control hazard will be there is simultaneously.Such as, user by telepilot by " cold air unlatching "; Meanwhile, the accumulative number of degrees of the power consumption that ammeter detects are more than 100 degree of electricity, and system is automatically by " cold air closedown ".At this time control hazard will be produced.
If two control the mistiming had slightly time, also may produce control hazard.Such as, in the example of Fig. 2 A, electric light is closed (in the control 1 that the time 1 occurs) by switch by user, and electric light is opened (in the control 2 that the time 2 occurs) according to illumination deficiency by environmental control system.For user, in fact can think there is conflict.This is because user just closes electric light, but opened by non-artificial.If two control have a very large mistiming time, also may produce control hazard.Such as, in the example of Fig. 2 B, the control 1 occurred in the time 0 is that user pushes button, and cold air is opened four hours; The control 2 occurred in the time 3 is that system meter detects power consumption more than 5 degree of electricity, is closed by cold air.Because the action time controlling 1 needs lasting four hours, but controlling 2 just produced at the 3rd hour, so can there is control hazard.
Disclosure embodiment carrys out generation time window with sensor (event) and actuator (action) type, responds the Control Cooling of sensor network complexity.That is, the length of time window controlled is that the type of the action of event and the actuator produced by sensor determines jointly.In the disclosure, the event that sensor produces can be divided into disposable triggering and conditionality to trigger.Disposable triggering refers to sensor only can detect a single state, and when this state is set up trigger event.Such as, the event that produces of the sensor of the type such as TV remote controller, electric rolling door telepilot, bell button (button), user's interface button.Conditionality triggers and refers to sensor and can detect plural continuous state, and when designated state is set up trigger event; Such as, the event that produces of the sensor of the type such as thermometer, smoke-detectors, switch (switch).
In the disclosure, actuator (action) can be divided into and not specify the execution time and have the appointment execution time.The connotation of execution time is not specified to be that actuator continues to perform an action, the action of the types such as such as electric light is opened, the closedown of gas valve when the event of sensor detection is triggered.Have and specify the connotation of execution time to be when the event of sensor detection is triggered, actuator at the appointed time in perform an action, such as cold air opens one hour, the action of the type such as door bell rings 10 seconds.
Accept above-mentioned, the combination according to sensor (event) and actuator (action) can obtain the combination of four kinds of time window types.Fig. 3 is according to the disclosure one embodiment, and the time window of this Four types is described.Type one for sensor be disposable triggering, actuator does not specify the execution time; Type two for sensor be disposable triggering, actuator has the appointment execution time; Type three for sensor be conditionality trigger, actuator is the situation of not specifying the execution time; Type four for sensor be conditionality trigger, actuator has the appointment execution time.
When one controls as type a period of time (sensor (event) is disposable triggering, and actuator (action) does not specify the execution time), this time window length controlled is unlimited; Time window produces when the event that this controls is triggered, and can not terminate.Such as, when TV remote controller presses switch, TV is opened.The action time controlled is unlimited, and TV can not be closed voluntarily.
When one controls as (sensor (event) is disposable triggering, and actuator (action) has the appointment execution time) during type two, namely this time window length controlled specifies the execution time for this reason; Time window produces when the event that this controls is triggered, and disappears after the execution time terminates.Such as, when doorbell button is pressed, bell rings 10 second.The action time controlled was 10 seconds, and control action just finishes after 10 seconds.In other words, this time window controlled specifies the execution time to determine thus.
When one controls as (sensor (event) is that conditionality triggers, and actuator (action) does not specify the execution time) during type three, it is whether relevant that this time window length controlled and condition are set up.Time window produces when the event condition that this controls is set up, and disappears when the event condition that this controls is false.Such as, when light switch is unlocked, electric light is opened.The action time controlled is that switch is unlocked until switch is closed.In other words, when the condition of event is false, this time window controlled disappears.
When one controls as (sensor (event) is that conditionality triggers, and actuator (action) has the appointment execution time) during type four, it is whether relevant that this time window length controlled specifies execution time and condition to set up therewith.Time window result from event condition set up time, and when the condition of event is false disappear or the longest for herein means determine the execution time terminate after disappear.Such as, human motion detecting device detects people, electric light is opened 3 minutes.The action time the longest controlled is 3 minutes, if people do not detected in 3 minutes, the action time of control can terminate in advance.In other words, time window is specified the execution time to determine thus or is disappeared when the condition of event is false.
After control has had time window, just can judge whether there is generation control hazard between control.As described above, the control also in the time window of oneself represents this control, and still tool is effective.The different time window controlled can be different length.Therefore, if there is plural control, its time window overlaps each other, and when the target actuators controlled is identical, control hazard will occur.When different control is for different target actuators effects, if the wherein control that overlaps each other of free window, also not having conflict each other, because when time window overlaps each other, is control, so can not there is control hazard for different target actuators.
According to this, according to the disclosure one embodiment, Fig. 4 is in a sensor network system, multiple control schematic diagram in time, and wherein each square bar chart represents a control, and the pattern of different bar chart is different for list-directed target actuators.With reference to figure 4, when the time 0, this system has control A, control B and control C.Because control A, control B and control C control for different target, therefore do not conflict each other.When the time 1, this system has control A, control B and control C.At this time control D will be performed, but identical with the target actuators of the control C in system, and therefore control hazard occurs for control C and control D.When the time 2, this system has control A, at this time control E and will be performed, and control not identical with the target actuators of control E in this system, therefore control E control hazard does not occur.
So, after controlling generation when one, control can obtain the event of sensor generation and the action of actuator since then, then carry out automatic classification according to the type of sensor and the type of actuator.Such as, one controls as " when thermometer detects temperature higher than 30 degree, being opened by cold air ", then controlling the event after being disassembled is " thermometer detects that temperature is higher than 30 degree ", and therefore, sensor type is " conditionality triggering "; Control the action after being disassembled for " cold air is opened ", therefore, actuator types is " not specifying the execution time ".So after automatic classification, this time window controlled belongs to " type three " in Fig. 3.Again such as, one controls as " when doorbell switch is pressed, by door bell rings 10 seconds ", then controlling the event after being disassembled is " doorbell switch is pressed ", and therefore, sensor type is " disposable triggering "; Control the action after being disassembled for " door bell rings 10 seconds ", therefore, actuator types is " having the appointment execution time ".So after automatic classification, this time window controlled belongs to " type two " in Fig. 3.
After automatic classification, the time window controlled can be decided according to drawn time window type.In other words, the type of the action of the event that the sensor that a time window controlled controls thus produces and actuator determines jointly.And one of same target actuators newly controls whether to conflict with the former control in system, can determine whether the time window in this new control is overlapped in the respective time window of former control.
Hold above-mentioned, as shown in Figure 5, after controlling generation when one, control hazard detection can comprise automatic classification 510, control time window generation 520 and Automatic Detection and Control conflict and whether occur 530.When not detecting that control hazard occurs, then carry out control and perform (controlexecution); When detecting that control hazard occurs, then solve this control hazard.Fig. 6 is according to an embodiment, and the composition of each unit in a control hazard detecting device is described, and operates in a sensor network environment 666.Fig. 7 is according to an embodiment, and the thin portion running of this control hazard detecting device is described.
Please also refer to Fig. 6 and Fig. 7.Control hazard detecting device 600 comprises control tactics unit (ControlClassificationUnit) 610, time window determining means (TimeWindowDeterminationUnit) 620 and a control hazard determining means (ConflictDeterminationUnit) 630.When a new control 610a enters control hazard detecting device 600, control tactics unit 610 is classified according to the characteristic of sensor and actuator, from new control 610a, obtain the type (step 710) of a sensor and an actuator, and sensor type (sensortype) 612 and actuator types (actuatortype) 614 are supplied to time window determining means 620.The type 612 of time window determining means 620 according to sensor and the type 614 of actuator, determine that a time window 622 is to new control 610a (step 720).When this actuator is identical with at least one target actuators of at least one former control, whether at least one time window 630a of the time window 622 that control hazard determining means 630 checks new control 610a at least one former control therewith has overlap (step 730).
When the time window 630a of time window 622 at least one former control therewith of new control 610a has overlap, control hazard determining means 630 judges that newly control 610a has control hazard (step 740), and notify that a control hazard solves module 640, carry out control hazard settlement procedure.When time window 622 does not have overlapping with time window 630a, control hazard determining means 630 judges that newly control 610a does not have control hazard (step 750), notify a control execution module (ControlExecutionModule) 650, perform the action of new control 610a until its time window 622 disappears.
According to disclosure embodiment, in the sensor network environment 666 of Fig. 6, when the state that sensor 690 detects is set up, can notify that a control generation module (ControlGenerationModule) 670 produces newly control 610a.When the time window 622 of new controls 610a does not have overlapping with the time window 630a of control movable at present, control execution module can notify have the actuator 692 of connection relationship to perform the action of newly control 610a with new control 610a.Control hazard determining means 630 is by a control and management module (ControlmanagementModule) 660, obtain the time window 630a of at least one former control from control time window list (ControlTimeWindowList) 680, also by control and management module 660, the time window 622 of new control 610a can be stored in control time window list 680.
Accept above-mentioned, the control hazard detection technique used in the sensor network of disclosure embodiment decides control hazard occurs to have two of the same target actuators action times (time window) controlled during overlap, and be the type deciding the time window that this controls with an event (sensor type) controlled and action (actuator types).So the control hazard testing mechanism of disclosure embodiment automatically according to the event controlled and an action, can produce the time window that this controls; Also effectively can know and when control.When a collision occurs, this control hazard detection technique automatically can detect control hazard.
When a mechanism detects that a newly control clashes with current movable control, the technology that this mechanism needs control hazard to solve solves conflict.As mentioned before, the administrative mechanism of the control hazard of disclosure embodiment, except comprising the part of control hazard detection, also comprises the part that control hazard solves.And control hazard solves system and gives different attributes according to different control, is also judged the priority of controlled attribute by different patterns.By the priority of controlled attribute, arbitrate the going or staying of two controls, to reach the solution of control hazard.In other words, the part that this control hazard solves contains the arbitration (controlarbitration) of the generation (controlattributegeneration) of controlled attribute, priority rules storehouse (priorityrulerepository), control hazard.
Each controls to give corresponding controlled attribute by disclosure embodiment, this controlled attribute can indicate this characteristic controlling to possess, such as, artificially (artificial), security (safety), maintainability (security), comfortableness (comfortableness) etc., binary of arranging in pairs or groups again differentiating approach decides former control or the new going or staying controlled, to reach the solution of control hazard.Binary differentiating approach can pass through pattern, dynamically change order, to meet various use situation.
According to disclosure embodiment, when control hazard occurs, compare the controlled attribute of two controls, decide the right of priority controlled.Disclosure embodiment gives controlled attribute according to the sensor (event) controlled and the type of actuator (action).One controlled attribute controlled describes the applicating category of this control.Controlled attribute is mainly divided into use situation (applicationdomain), operator message (userinformation) and positional information (locationinformation), totally three kinds.The type of situation is used to comprise as saved type (securitydomain), security type (safetydomain) and comfortable type (comfortablenessdomain) and energy saving type (energysavingdomain) etc. from damage.The type of operator message comprises as artificial (artificial) and non-artificial (noartificial).Positional information (locationinformation) has two types, to comprise in region outside (inside) and region (outside).
When a controlled attribute controlled belongs to " use situation ", this event controlled and action must be same situations.Such as: detect cigarette device and smog (safety) detected, warning horn is opened (safety), wherein this event controlled and action are all security type, so this controlled attribute controlled is " security type ".So, when the controlled attribute of control belongs to " use situation ", can be produced by the combination of sensor (event) type and actuator (action) type.When a controlled attribute controlled belongs to " operator message ", this controlled attribute " operator message " can be decided by sensor (event) type.Such as: telepilot pushes button (artificially), socket is opened (non-artificial), wherein this event controlled is artificial, so this controlled attribute controlled is " artificially ".When a controlled attribute controlled belongs to " positional information ", if this event controlled and action are at the same area, then this controlled attribute controlled is " in region "; Otherwise be " outside region ".Such as: on off state is ON (parlor), open electric light (parlor), wherein this event controlled and action are in same parlor, so this controlled attribute controlled is " in region ".
Accept above-mentioned can learning, the sensor (event) that namely source of controlled attribute controlled controls for this reason and actuator (action).In order to automatically give the controlled attribute that each controls, disclosure embodiment possesses the description of multiple sensors and actuator, and it describes the attribute description that content is sensor and actuator, comprises and uses situation, operator message and positional information.Fig. 8 A and Fig. 8 B is some examples according to the sensor of disclosure embodiment and the attribute description of actuator respectively.In fig. 8 a, such as, the attribute description of On/Off (On/Off) event corresponding to switch (Switch) is: use situation (comfortable), operator message (artificially) and positional information (parlor).In the fig. 8b, such as, the attribute description of On/Off (Turnon/off) action corresponding to electric light (Light) is: use situation (comfortable), operator message (artificially) and positional information (parlor).
Therefore, know sensor type and the actuator types of a control, and with reference to the attribute description of the sensor that provides in advance and actuator, just can know this controlled attribute controlled.Fig. 9 is according to the disclosure one embodiment, and the example automatically giving the controlled attribute controlled is described.With reference to figure 9, the event of switch has unlatching (On) respectively and closes (Off), and the attribute description of unlatching and close event is all: use situation (comfortable), operator message (artificially) and positional information (parlor).The action of electric light has unlatching (Turnon) respectively and closes (Turnoff) action; The attribute description wherein opening (Turnon) action is: use situation (comfortable), operator message (artificially) and positional information (parlor), and the attribute description of closing (Turnoff) action is: use situation (comfortable), operator message (artificially) and positional information (parlor).Therefore, control A can be combined into: when switch detects open event, trigger electric light and perform unlatching (Turnon) action; Then, disclosure embodiment is according to the attribute description of unlatching (On) event being detected and opening the attribute description of (Turnon) action, and the controlled attribute of automatically giving control A is in comfortable (comfortableness), artificial (artificial) and region (inside).
Similarly, control B can be combined into: when switch detects cut out (Off), trigger electric light and perform closedown (Turnoff) action, then, disclosure embodiment according to (Off) event of closedown attribute description and close the attribute description of action of (Turnoff), the controlled attribute of automatically giving control B is comfortable, artificial and in region.
Under different situation, the solution of control hazard needs different priority arbitration.After obtaining the controlled attribute of control, according to disclosure embodiment, just can by comparing the right of priority that controlled attribute decides to control.Such as, the priority of controlled attribute is judged according to different patterns.These patterns as manual mode (Manual), save pattern (Safety), comfortable energy-conservation contextual model, outdoor pattern etc. from damage.Manual mode has highest priority with the controlled attribute of " artificially ".Saving pattern from damage is have highest priority with the controlled attribute of " saving type from damage ".Comfortable energy-conservation contextual model has highest priority with the controlled attribute of " comfortable type ".Outdoor pattern has highest priority with the controlled attribute in " outside region ".
Control hazard settlement mechanism of the present disclosure according to present mode, can be loaded into corresponding priority rules and describes document, decides the solution of priority ranking and the equal priority controlled, to solve control hazard according to the priority rules described in document.According to the disclosure one embodiment, the description document of priority rules is as shown in the example of Figure 10.In the example of Figure 10, the description content of the description document of a priority rules can comprise right of priority title, the first priority, the second priority ..., last priority and worst condition.Right of priority title describes the situation that this priority rules uses, such as: manual mode, save pattern etc. from damage.The control hazard moderator of control hazard settlement mechanism is that the preference of attribute more first described is higher according to the priority ranking described in document to describe these attributes.Worst condition (worstcase) is that two controls have similarity priority settling mode temporary, such as adopt first in first out (FirstInFirstOut, or last in, first out (LastInFirstOut, LIFO) or go out simultaneously etc. that mode decides FIFO).
Respond different use situations, the example that the priority rules that three kinds of different modes produce describes the description content of document is as follows.
Manual mode: people saves from damage for the safe > of >, and first in first out;
Save pattern from damage: saving the safe > people of > from damage is that > is comfortable, and first in first out; Comfortable contextual model: comfortable > is safe, and > saves from damage, and first in first out.According to disclosure embodiment, control hazard settlement mechanism can judge two right of priority controlled according to above rule.These priority rules can do dynamic increase and decrease according to different use situations, and the solution of equal priority also can do dynamic adjustment according to use situation.
According to disclosure embodiment, it is that sequentially comparison controls whether have controlled attribute that the right of priority of control compares.By comparing the right of priority of two controls, the arbitration of control hazard is described as follows.First, the prepreerence controlled attribute of comparison, if two control only single side have this controlled attribute, then this control is winning; If two control to have simultaneously or simultaneously not this controlled attribute time, then continue a more secondary preferential controlled attribute, sequentially comparison is to finally.If when two side's right of priority are all identical, then mode decides can to adopt first in first out (FIFO) again or last in, first out (LIFO) or go out simultaneously etc.The result of first in first out (FIFO) newly controls to win; The result of result that last in, first out (LIFO) is that former control is won; The result simultaneously gone out is that two sides are all failed, again strives for.
Control hazard arbitration mechanism of the present disclosure can possess the solution that many conflict management rules reach control hazard.Wherein, each conflict management rule is the right of priority judging control with binary differentiating approach.In these many conflict management rules, have a rule to be distinguish " artificially " and " non-artificial ", and the right of priority of " artificially " is greater than " non-artificial "; Have a rule to be distinguish " safety " and " non-security ", and the right of priority of " safety " is greater than " non-security ".Have a rule to be distinguish " same area " and " difference region ", and the right of priority of " same area " is greater than " difference region ".
Accept above-mentioned, Figure 11 A and Figure 11 B describes document according to the priority rules of a manual mode, arbitrates the right of priority of two controls with binary differentiating approach.With reference to figure 11A, the description content that the priority rules of this manual mode describes document is: manual mode, people is in the safe > region of >, and first in first out.In Figure 11 B, control A is former control, and control B is new control.So, when detecting that control B clashes with control A, according to the priority order of this manual mode, the attribute of this binary differentiating approach first comparison controls A and control B be whether " artificially " when being " artificially " to the attribute of control A and the attribute of control B is " non-artificial ", then judge that control A is as winning; When the attribute " non-artificial " of control A and the attribute of control B is " artificially " time, then judge that control B is as winning.
When the attribute of control A and control B be all " artificially " or be all " non-artificial " time, the attribute of this binary differentiating approach comparison control A and control B be whether " safety " similarly, when in control A with control B, when only having the attribute of a control to be " safety ", then judge that attribute is that this control of " safety " is as winning.When the attribute of control A and control B be all " safety " or be all " non-security " time, the attribute of this binary differentiating approach comparison control A and control B be whether " in region " similarly, when in control A with control B, when only having the attribute of a control to be " in region ", then judge that attribute is that this control in " in region " is as winning.When control A has the attribute of equal priority with control B, then according to first in first out, judge that new control B is as winning.
Accept above-mentioned explanation, Figure 12 is according to an embodiment, illustrates that a control hazard solves the composition of each unit in module (ControlConflictResolutionModule), and operates in a sensor network environment.Figure 13 is according to an embodiment, illustrates that this control hazard solves the thin portion running of module.Please also refer to Figure 12 and Figure 13.In fig. 12, control hazard solution module 640 comprises controlled attribute generation unit (controlattributegenerationunit) 1210, priority rules storehouse 1220 and a control hazard moderator (conflictarbiter) 1230.When control hazard detecting device 600 notifies that control hazard solution module 1200 newly controls to clash, controlled attribute generation unit 1210 produces the controlled attribute of this new control, and is supplied to control hazard moderator 1230.Such as, controlled attribute generation unit 1210, by the sensor type of this new control and actuator types, gives the controlled attribute of this new control, as shown in the step 1310 of Figure 13.Control hazard moderator 1230 according to a present mode, can obtain corresponding priority rules, as shown in the step 1320 of Figure 13 from priority rules storehouse 1220; And according to this priority rules, compare the controlled attribute of this new control and at least one former control, as shown in the step 1330 of Figure 13; With arbitrate this new control therewith at least one former control whichever for the person of winning.
Such as, control hazard moderator 1230 can check whether this new control has higher right of priority, as shown in the step 1340 of Figure 13; When the right of priority height of new control former control more at least one than this, judge that new control is as the person of winning, as shown in the step 1350 of Figure 13; And can notify to control execution module 650, perform the new action controlled.When the right of priority of new control former control more at least one than this is low, judge that this at least one former control is as the person of winning, as shown in the step 1360 of Figure 13.Up-to-date effective control is updated to a control element storehouse (controlelementstorage) by control and management module 660 by control hazard moderator 1230.
So the control hazard of disclosure embodiment solves module and automatically can give controlled attribute according to sensor and actuator; Automatically according to different situation, the arbitration of different priority ranking can be given; And automatically can solve control hazard.
As described above, the mechanism managing control hazard in sensor network of the present disclosure mainly comprises control hazard and detects and control hazard solution.Accept above-mentioned, Figure 14 is according to the disclosure one embodiment, and the system managing control hazard in a kind of sensor network is described.In the embodiment of Figure 14.The system 1400 of management control hazard can comprise control hazard detecting device 600 and control hazard solves module 640.Control hazard detecting device 600 is according to the type of a sensor obtained from new control 610a and the type of an actuator, determine the time window 622 of new control 610a, and when at least one time window of this actuator and time window 622 identical with at least one target actuators of at least one former control at least one former control therewith has overlap, judge to clash 1400b and notify that control hazard solves module 640.Control hazard solves the controlled attribute that module 640 produces new controls 610a, and carrys out the controlled attribute of relatively newer control at least one former control therewith according to the pattern in multiple different mode, with arbitrate this new control therewith at least one former control whichever for the person of winning.
As described above, control hazard solves module can according to the pattern in multiple different mode, corresponding at least one priority rules is obtained from a priority rules storehouse, and according to this at least one priority rules, the relatively newer controlled attribute controlling at least one former control therewith.When the new right of priority controlling former control at least one than this is low, new control 610a removes by control and management module 660 by the system 1400 managing control hazard from a control element storehouse.When new control the right of priority height of former control at least one than this time, new control 610a can be write in this control element storehouse, and notice controls the action that execution module 650 performs newly control 610a.
Accept above-mentioned, Figure 15 is according to the disclosure one embodiment, and a kind of method managing control hazard in sensor network is described.In fig .15, the method for this management control hazard, according to the type of a sensor obtained from newly control and the type of an actuator, determines a time window of this new control and gives a controlled attribute (step 1510); Further, when this actuator is identical with at least one target actuators of at least one former control, and when at least one time window of this time window at least one former control therewith has an overlap, judge to clash (step 1520).When the conflict occurs, method 1500 is according at least one priority rules, the relatively priority ranking of this controlled attribute at least one controlled attribute of at least one former control therewith, arbitrate this new control therewith at least one former control whichever be the person of winning (step 1530).
In sum, disclosure embodiment provides a kind of control hazard supervisor System and method for based on time window.Be the sensor (event) according to difference control and actuator (action) type in control hazard detection, the time windows of generation, promotes the accurate rate that control hazard detects.In control hazard solution, the binary differentiating approach disclosing a kind of model selection solves conflict.In sensor network, disclosure embodiment automatically can detect conflict; When there is control hazard, according to the pattern of setting at present, can automatically make correct arbitration.
As described above is only disclosure embodiment, when not limiting the scope of disclosure enforcement according to this.Namely the equalization generally done according to claims of the present invention changes and modifies, and all still should belong to the claimed scope of claims of the present invention.

Claims (22)

1. manage a system for control hazard in sensor network, comprise:
Control hazard detecting device, according to the type of sensor obtained from new control and the type of actuator, determine the time window of this new control, and when this actuator is identical with at least one target actuators of at least one former control and this time window has overlapping with at least one time window of this at least one former control, judge that this new control has control hazard; And
Control hazard solves module, produces the controlled attribute of this new control, and compares at least one controlled attribute of this controlled attribute and this at least one former control, to arbitrate in this new control and this at least one former control whichever for the person of winning.
2. the system of management control hazard as claimed in claim 1, wherein this control hazard detecting device is by control and management module, obtains this at least one time window of this at least one former control from control time window list.
3. the system of management control hazard as claimed in claim 1, wherein this control hazard solves module via control hazard moderator, according to the pattern in multiple different mode, corresponding at least one priority rules is obtained from priority rules storehouse, and according to this at least one priority rules, compare this at least one controlled attribute of this new control and this at least one former control.
4. the system of management control hazard as claimed in claim 1, each control of the multiple controls wherein in this sensor network has a respective action time, is defined as the time window of this control this action time.
5. the system of management control hazard as claimed in claim 1, this system utilizes controlled attribute generation unit, to each control of control multiple in this sensor network, according to its sensor type and actuator types, gives controlled attribute.
6. the system of management control hazard as claimed in claim 4, the length of each time window controlled of wherein the plurality of control is jointly determined by the sensor of this control and the type of actuator.
7. the system of management control hazard as claimed in claim 3, wherein this at least one priority rules does dynamic increase and decrease according to different use situations.
8. the system of management control hazard as claimed in claim 3, wherein, when the right of priority of this new control former control more at least one than this is low, this new control removes by this system from control element storehouse, when the right of priority height of this new control former control more at least one than this, by this new this control element storehouse of control write.
9. the system of management control hazard as claimed in claim 3, wherein this control hazard solution module also comprises the control hazard moderator with many conflict management rules.
10. manage a method for control hazard in sensor network, comprise:
According to the type of sensor obtained from new control and the type of actuator, determine the time window of this new control and give controlled attribute;
When this actuator is identical with at least one target actuators of at least one former control, and when this time window has overlapping with at least one time window of this at least one former control, judge that this new control has control hazard; And
When the conflict occurs, according at least one priority rules, compare the priority ranking of the controlled attribute of this new control and this at least one former control, arbitrating whichever in this new control and this at least one former control is the person of winning.
The method of 11. management control hazards as claimed in claim 10, wherein the method gives different controlled attributes according to different control, and judges the priority of controlled attribute by different patterns.
The method of 12. management control hazards as claimed in claim 10, wherein the method possesses the solution that many conflict management rules reach control hazard, further, each conflict management rule of these many conflict management rules is the right of priority judging control with a kind of binary differentiating approach.
The method of 13. management control hazards as claimed in claim 12, wherein in these many conflict management rules, have a rule to be distinguish artificially with non-artificial, and artificial right of priority is greater than non-artificial.
The method of 14. management control hazards as claimed in claim 12, wherein in these many conflict management rules, have a rule to be distinguish safety with non-security, and the right of priority of safety is greater than non-security.
The method of 15. management control hazards as claimed in claim 12, wherein in these many conflict management rules, have a rule to be distinguish same area and difference region, and the right of priority of same area is greater than difference region.
The method of 16. management control hazards as claimed in claim 10, wherein the method is according to present mode, be loaded into corresponding priority rules and describe document, and decide the solution of priority ranking and the equal priority controlled according to this this at least one priority rules described in document.
The method of 17. management control hazards as claimed in claim 10, wherein the type of sensor is divided into disposable triggering and conditionality to trigger by the method, and the type of actuator is divided into and does not specify the execution time and have the appointment execution time, wherein this disposable triggering refers to that sensor only can detect a single state, and the trigger event when this state is set up, this conditionality triggers and refers to that sensor has the function detecting plural continuous state, and when the establishment of at least one designated state trigger event.
The method of 18. management control hazards as claimed in claim 10, wherein when the right of priority height of this new control former control more at least one than this, this new control is this person of winning.
The methods of 19. as claimed in claim 17 management control hazards, wherein when the type of the sensor controlled be the type of disposable triggering and actuator for not specifying the execution time time, the length of the time window of this control is unlimited.
The methods of 20. as claimed in claim 17 management control hazards, when the type being wherein disposable triggering and actuator when the type of the sensor controlled specifies the execution time for having, the length of the time window of this control is this appointment execution time.
The method of 21. management control hazards as claimed in claim 17, wherein when the type of the sensor controlled is that conditionality triggers and the type of actuator is when not specifying the execution time, the time window of this control produces when the event condition of this control is set up, and disappears when the event condition of this control is false.
The method of 22. management control hazards as claimed in claim 17, wherein when the type of sensor controlled is when conditionality triggers and the type of actuator specifies the execution time for having, the time window of this control produces when the event condition of this control is set up, and disappears when the condition of event is false or the longest for terminate rear disappearance in this appointment execution time.
CN201210183941.4A 2012-04-30 2012-06-05 System and method for sensing management control conflicts in a network Active CN103376787B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW101115387 2012-04-30
TW101115387A TW201345211A (en) 2012-04-30 2012-04-30 System and method for conflict management in sensor networks

Publications (2)

Publication Number Publication Date
CN103376787A CN103376787A (en) 2013-10-30
CN103376787B true CN103376787B (en) 2016-02-03

Family

ID=49462050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210183941.4A Active CN103376787B (en) 2012-04-30 2012-06-05 System and method for sensing management control conflicts in a network

Country Status (2)

Country Link
CN (1) CN103376787B (en)
TW (1) TW201345211A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI597666B (en) 2015-12-28 2017-09-01 緯創資通股份有限公司 Method for using shared device and resource sharing system
CN106371326B (en) * 2016-09-18 2021-01-05 海信集团有限公司 Storage method and device for equipment working scene
CN109660433B (en) * 2018-12-21 2021-10-22 中山大学 Intelligent household configuration data synchronization conflict resolution method
CN109725544B (en) * 2018-12-26 2020-05-01 北京蓦然认知科技有限公司 Method and device for dynamically constructing conflict checking rule table in smart home
CN110471300B (en) * 2019-08-23 2022-12-06 杭州行至云起科技有限公司 Conflict coordination method and system for multiple intelligent scenes

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540709A (en) * 2008-03-18 2009-09-23 索尼株式会社 Communication apparatus and communication method, communication system and computer program
CN101627581A (en) * 2007-02-09 2010-01-13 微软公司 Conflict resolution for multi-master synchronization of data for distributed devices
CN102185966A (en) * 2011-03-29 2011-09-14 余海权 Adaptively interactive intelligent electrical appliance cluster system
CN102419739A (en) * 2011-09-30 2012-04-18 上海联能仪表有限公司 Multi-main-bus arbitration sharing device and arbitration method
CN102655466A (en) * 2011-03-02 2012-09-05 财团法人工业技术研究院 Method and system for automatically binding sensor and actuator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627581A (en) * 2007-02-09 2010-01-13 微软公司 Conflict resolution for multi-master synchronization of data for distributed devices
CN101540709A (en) * 2008-03-18 2009-09-23 索尼株式会社 Communication apparatus and communication method, communication system and computer program
CN102655466A (en) * 2011-03-02 2012-09-05 财团法人工业技术研究院 Method and system for automatically binding sensor and actuator
CN102185966A (en) * 2011-03-29 2011-09-14 余海权 Adaptively interactive intelligent electrical appliance cluster system
CN102419739A (en) * 2011-09-30 2012-04-18 上海联能仪表有限公司 Multi-main-bus arbitration sharing device and arbitration method

Also Published As

Publication number Publication date
CN103376787A (en) 2013-10-30
TW201345211A (en) 2013-11-01

Similar Documents

Publication Publication Date Title
US10395494B2 (en) Systems and methods of home-specific sound event detection
CN103376787B (en) System and method for sensing management control conflicts in a network
US20190347916A1 (en) Electronic devices capable of communicating over multiple networks
US10522029B1 (en) Handling duress input
TWI461867B (en) Utility control system
US10645772B2 (en) Identity-based environment adjusting techniques
CN109492620A (en) Monitoring device and its control device, post monitoring method and readable storage medium storing program for executing
EP2955598B1 (en) Control system
CN105187786B (en) The voice prompting method and intelligent peephole of intelligent peephole
US20120086568A1 (en) Inferring Building Metadata From Distributed Sensors
US10755537B1 (en) Implementing deterrent protocols in response to detected security events
CN103198595A (en) Intelligent door and window anti-invasion system
CN103221920B (en) For integrating the computer implemented method and system of multiple building systems and service application
US10306401B2 (en) Systems and methods for learning and controlling area zones
CN106663363B (en) A kind of intelligent alarm system
US10469283B1 (en) Integration of knob sensors in monitoring systems
US11302156B1 (en) User interfaces associated with device applications
CN103635862A (en) A system and method for controlling electrical appliances
US9646482B1 (en) Learned and dynamic entry allowances
KR101944882B1 (en) Energy-saving access control system using air conditioning, lighting, facility control, and method for controlling air conditioning, lighting thereof
JPWO2014050098A1 (en) Control method and program
CN108389298A (en) A kind of intelligent entrance guard control system
CN112602305A (en) Method and apparatus for managing missed events
US10665082B1 (en) Providing device power-level notifications
US11748993B2 (en) Anomalous path detection within cameras' fields of view

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant