CN103376787A - 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
CN103376787A
CN103376787A CN2012101839414A CN201210183941A CN103376787A CN 103376787 A CN103376787 A CN 103376787A CN 2012101839414 A CN2012101839414 A CN 2012101839414A CN 201210183941 A CN201210183941 A CN 201210183941A CN 103376787 A CN103376787 A CN 103376787A
Authority
CN
China
Prior art keywords
control
hazard
management
actuator
priority
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
Application number
CN2012101839414A
Other languages
Chinese (zh)
Other versions
CN103376787B (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

Images

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 management control hazard in the sensor network
Technical field
The disclosure relates to the System and method for of managing control hazard (conflict management) in a kind of sensor network.
Background technology
In a sensor network that includes a plurality of sensors (sensor) and actuator (actuator), sensor is the detection event, and actuator is to arouse action.In sensor network, may have many control behaviors, control with control between also may conflict each other.When its condition of event of sensor detection was set up, by the action of actuator execution appointment, this sensor can be set up a contact relation therewith between the actuator.This relation is called binding (binding), and the behavior of carrying out this binding is called control.One example be " pressing switch " such as the event that, sensor detects, when " pressing switch " sets up, by the action of actuator execution " electric light unlatching ".Another example be " temperature surpasses 30 degree " such as the event that, sensor detects, when " temperature surpasses 30 degree " when setting up, by the action of actuator execution " cold air unlatching ".Along with sensor network becomes increasingly complex, control with control between just have an opportunity the generation conflict.
There are some patent documentations to disclose the technology of collision detection (conflict detection) and/or conflict solution (conflict resolution).For example, a kind of intelligent control technology for the household digital network can Detection of content conflict (context conflict) and service-impacting (service conflict), and adopts the method based on right of priority (priority-based) to solve these conflicts.A kind of technology is to detect and solve because the content conflicts (context conflict) that separate sources information causes.A kind of resource management system that is used in multimedia and storage system can select a suitable signal to originate to obtain data on file automatically, also can be by each storage action duration window (time window) overlapping resource contention that occurs when detecting a plurality of audiovisual materials and will pre-record whether, and decide how to solve this conflict by processing rule or the prompting user of systemic presupposition.A kind of framework for multiple core processor can detect and the access conflict that solves common access memory and cause; Its collision detection is according in window sometime, when if simultaneously access of a plurality of cores same storage address is arranged, will clash, it then is to decide according to the sequencing (FIFO) that sends requirement to allow to carry out this requirement that its conflict solves.A kind of being applied in the semiconductor production process, the technology that causes conflict when solving a plurality of Production Controller are to judge and this control hazard of solution by a monitoring controller (supervisory controller).
Usually, solving control hazard can be with manually/half manual/auto.Refer to when clashing with manual solution control hazard determine how to manage conflict by the user.Manually solve control hazard with half and refer to when clashing determine how to manage conflict, but possess enough algorithms or learning ability are arranged, can reduce user's intervention by the user.Refer to that with automatic solution control hazard the user need not get involved fully when clashing, system's conflict of can settling a dispute by the parties concerned themselves.
There are some non-patent literatures to disclose the technology of collision detection and/or conflict solution.For example, one piece of paper proposes the framework of a kind of perception of content (context-aware), be used for collecting the content that is positioned at family expenses sensing platform and user, and be a kind of solution based on weight or right of priority of conflict proposition between different users and the different service, the type of its conflict is under the jurisdiction of actuator control hazard and environment control hazard.One piece 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 is served multidigit user and multiple group, and can detect and solve the control hazard on the meaning of one's words between the service, the type of its conflict is under the jurisdiction of the actuator control hazard.One piece of paper proposes a kind of computing framework that is called Physicalnet, can manage and arrange Heterogeneous Sensor/actuator, multimeshed network, and multi-user's environment, the mode of its utilization fine granularity (fine-grained) access right solves conflict, and the type of its conflict is under the jurisdiction of the sensor configuration and sets (configuration) control hazard.
One piece of paper proposes a kind of technical solution that conflicts and processes the control hazard that causes between energy-saving application and the comfortable application.The right of priority of this technical area between the different users reached the control that conflicts with authority-average (privilege-average), and use frequency identification system (RFID) to identify different users, and access user's preference (preference), the type of its conflict is under the jurisdiction of the actuator control hazard.Fig. 1 is an example schematic of the application situation of this conflict technical solution.Application situation among Fig. 1 is an intelligent type energy saving office 100, office 100 comprises 110 and one public area, a Precinct (personalized zone) (public zone) 120, and has a central control system (central control no artificial) and a plurality of other control system.Each system has all installed self-operated thermostatic controller (thermostat), RFID reader (reader) and antenna and sensor and actuator.
It is the algorithm that proposes a group conflict solution for multi-user's pervasive computing environment that one piece of paper is arranged.This conflict resolution algorithm considered the formula of trying to be the first (preemptive based), the non-formula of trying to be the first (non-preemptivebased), role (role based), right of priority, time slice (time slice based), democracy formula (democraticbased), and the factor such as individual preference (personal preference) solve conflict, the type of its conflict is under the jurisdiction of the actuator control hazard.
Above-mentioned most control hazard administrative skill is not to be control hazard in the sensor network environment, and focuses on the aspect that solves control hazard, and the mode that solves control hazard is nothing more than by right of priority or algorithm etc.The control hazard administrative skill of few part has announcement how to detect the mechanism of control hazard.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 the user to control inconvenience; But heavy then threat to life safety.Therefore, how in the sensor network environment, detect control hazard and to solve control hazard be very important.
Summary of the invention
Disclosure embodiment can provide the System and method for of management control hazard in a kind of sensor network.
A disclosed embodiment is the system about management control hazard in a kind of sensor network.This system can comprise a control hazard detecting device (Control Conflict Detector) and a control hazard solves module (Conflict Resolution Module).This control hazard detecting device is according to the type of a sensor of obtaining from a newly control (newcontrol) and the type of an actuator, determine a time window (time window) of this new control, and when at least one target actuator of this actuator and at least one former control (original control) identical and this time window therewith at least one time window of at least one former control have when overlapping, judgement clashes.This control hazard solves module and produces a controlled attribute (controlattribute) of this new control, and relatively new control is at least one controlled attribute of at least one former control therewith, with arbitrate this new control therewith at least one former control whichever for the person of winning (winner).
Disclosed another embodiment is the method about management control hazard in a kind of sensor network.The method can comprise: according to the type of a sensor of obtaining from a new control and the type of an actuator, determine a time window of this new control and give a controlled attribute; When this actuator identical with at least one target actuator of at least one former control, and this time window therewith at least one time window of at least one former control have when overlapping, judgement clashes; And when clashing, according at least one priority rules (priorityrule), this new control priority ranking of at least one controlled attribute of at least one former control therewith relatively, arbitrate this new control therewith at least one former control whichever be the person of winning.
Detailed description and claims of cooperating now following diagram, embodiment, with on address other advantages of the present invention and be specified in after.
Description of drawings
Fig. 1 is an example schematic of the application situation of a conflict technical solution.
Fig. 2 A is the example schematic according to the disclosure one embodiment, illustrate two controls slightly mistiming is arranged the time, also may produce control hazard.
Fig. 2 B is the example schematic according to the disclosure one embodiment, illustrate two control the very large mistiming is arranged the 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, a plurality ofly is controlled at a temporal synoptic diagram.
Fig. 5 is according to the disclosure one embodiment, illustrates that control hazard detects the part that comprises.
Fig. 6 is according to the disclosure one embodiment, and the composition of each unit in the control hazard detecting device is described, and operates in the sensor network environment.
Fig. 7 is according to the disclosure one embodiment, and the thin section 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 of the controlled attribute of automatically giving control 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 are according to the disclosure one embodiment, describe document according to the priority rules of a manual mode, arbitrate the right of priority of two controls with binary differentiation method.
Figure 12 is according to the disclosure one embodiment, illustrates that a control hazard solves the composition of each unit in the module, and operates in the sensor network environment.
Figure 13 is according to the disclosure one embodiment, illustrates that this control hazard solves the thin section running of module.
Figure 14 is according to the disclosure one embodiment, and the system of management control hazard in a kind of sensor network is described.
Figure 15 is according to the disclosure one embodiment, and the method for management control hazard in a kind of sensor network is described.
[main element symbol description]
100 intelligent type energy saving offices, 110 Precincts
120 public areas
510 automatic classifications, 520 control time window produces
Whether 530 Automatic Detection and Control conflicts occur
600 control hazard detecting devices, 610 control tactics unit
620 time window determining meanss, 630 control hazard determining meanss
640 control hazards solve module 650 control execution modules
660 control and management modules, 670 control generation modules
666 sensor network environment, 680 control time window list
The new control of 610a 612 sensor types
614 actuator types 622,630a time window
690 sensors, 692 actuators
710 obtain a sensor and the type that causes a moving device from new control
720 according to sensor type and actuator types, determines that a time window is to new control
Whether the time window of the new control of the 730 inspections therewith time window of at least one former control has overlapping
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 units
1220 priority rules storehouses, 1230 control hazard moderators
1310 by new sensor type and the actuator types of controlling, and give the controlled attribute of new control
1320 according to a present mode, obtains corresponding priority rules from the priority rules storehouse
1330 compare the controlled attribute of this new control and at least one former control
1340 check whether new control has higher right of priority
1350 judge that newly control is won
1360 these at least one former controls of judgement are won
The system of 1400 management control hazards
1510 according to the type of a sensor of obtaining from a new control and the type of an actuator, determines a time window of this new control and gives a controlled attribute
1520 when this actuator identical with at least one target actuator of at least one former control, and this time window therewith at least one time window of at least one former control have when overlapping, judgement clashes
1530 when clashing, according at least one priority rules, this controlled attribute priority ranking of at least one controlled attribute of at least one former control therewith relatively, arbitrate this new control therewith at least one former control whichever be the person of winning
Embodiment
In a sensor network that includes a plurality of sensors and actuator, when the condition of the event that produces by sensor is set up, go to carry out the action of appointment by actuator.A series of like this behavior is called control.That is to say that the control in sensor network is comprised of sensor and actuator.A control has the action time of oneself, in the disclosure, with this time window (time window) that action time, definition was controlled for this reason.When a control was also in the time window at oneself, representing this control still had effect, if so the target actuator that other controls are arranged control when identical with this, control hazard will occur.Along with sensor network becomes increasingly complex, the chance that control hazard occurs also more improves, therefore, regular time window length and be not suitable for all controls.
In the environment of sensor network, disclosure embodiment provides a kind of administrative mechanism of control hazard of time-based 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 the 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, there is simultaneously plural control to do the time spent for same actuator, that is to say, when same actuator had plural control behavior to occur simultaneously, control hazard will occur.For example, the user by telepilot with " cold air unlatching "; Simultaneously, the accumulative total number of degrees of the power consumption that ammeter detects surpass 100 degree electricity, and system is automatically with " cold air is closed ".At this time will produce control hazard.
If two controls slightly mistiming is arranged the time, also may produce control hazard.For example, in the example of Fig. 2 A, the user closes electric light (control 1 that occurs in the time 1) by switch, and environmental control system is opened electric light (control 2 that occurs in the time 2) according to the illumination deficiency.For the user, in fact can feel to have conflict.This is because the user just closes electric light, but is opened by non-artificial.If two control the very large mistiming is arranged the time, also may produce control hazard.For example, in the example of Fig. 2 B, the control 1 that occurs in the time 0 is that the user pushes button, and cold air was opened four hours; The control 2 that occurs in the time 3 is that system's ammeter detects power consumption above 5 degree electricity, and cold air is closed.Need to continue four hours because control action time of 1, just produce at the 3rd hour but control 2, so control hazard can occur.
Disclosure embodiment comes the generation time window with sensor (event) and actuator (action) type, responds the control type of sensor network complexity.That is to say that the length of time window of a control is that the type of the action of the event that produced by sensor and actuator determines jointly.In the disclosure, the event that sensor produces can be divided into disposable triggering and conditionality triggers.Disposable triggering refers to sensor only can detect a single state, and when this state is set up trigger event.For example, the event that produces of the sensor of the types such as TV remote controller, electric rolling door telepilot, bell button (button), user's interface button.Conditionality triggers and to refer to sensor and can detect plural continuous state, and when designated state is set up trigger event; For example, the event that produces of the sensor of the types such as thermometer, smoke-detectors, switch (switch).
In the disclosure, actuator (action) can be divided into does not specify the execution time and the appointment execution time is arranged.The connotation of not specifying the execution time is that actuator continues execution action when event that sensor detects is triggered, such as electric light open, the action of the type such as the gas valve cuts out.It is when the event of sensor detection is triggered that the connotation of specifying the execution time is arranged, and actuator is interior execution action at the appointed time, the action of types such as cold air unlatching one hour, door bell rings 10 seconds.
Accept above-mentionedly, can obtain the combination of four kinds of time window types according to the combination of sensor (event) and actuator (action).Fig. 3 is according to the disclosure one embodiment, and the time window of this Four types is described.Type one is disposable triggering for sensor, and actuator is not specify the execution time; Type two is disposable triggering for sensor, and actuator is that the appointment execution time is arranged; Type three is that conditionality triggers for sensor, and actuator is the situation of not specifying the execution time; Type four is that conditionality triggers for sensor, and actuator is that the appointment execution time is arranged.
Be controlled to be type for the moment (sensor (event) is disposable triggering, and actuator (action) is not specify the execution time) when one, the time window length of this control is unlimited; Time window produces when the event of this control is triggered, and can not finish.For example, when TV remote controller was pressed switch, TV was opened.Be unlimited the action time of control, and TV can not closed voluntarily.
When one is controlled to be type two (sensor (event) is disposable triggering, and actuator (action) is that the appointment execution time is arranged), the time window length of this control is namely specified the execution time for this reason; Time window produces when the event of this control is triggered, and disappears after the execution time finishes.For example, when the doorbell button is pressed, 10 seconds of bell rings.Be 10 seconds the action time of control, and control action just is through with after 10 seconds.In other words, the time window of this control specifies the execution time to determine thus.
When one is controlled to be type three (sensor (event) is that conditionality triggers, and actuator (action) is not specify the execution time), whether relevant the time window length of this control is with the condition establishment.Time window produces when the event condition of this control is set up, and disappears when the event condition of this control is false.For example, when light switch is unlocked, electric light is opened.Be that switch is unlocked until switch is closed the action time of control.In other words, when the condition of event was false, the time window of this control disappeared.
When one is controlled to be type four (sensor (event) is that conditionality triggers, and actuator (action) is that the appointment execution time is arranged), the time window length of this control is specified the whether relevant of execution time and condition establishment therewith.When time window results from the condition establishment of event, and disappearance or the longest for specify execution time to finish rear disappearance at this when the condition of event is false.For example, the human motion detecting device detects the people, and electric light was opened 3 minutes.Be 3 minutes the action time the longest of control, if do not detect the people in 3 minutes, can finish in advance the action time of control.In other words, time window is specified thus the execution time to determine or is disappeared when the condition of event is false.
Control has had after the time window, just can judge whether the generation control hazard is arranged between the control.As described above, also the control in the time window of oneself represent this control or tool effective.The time window of different controls can be different length.Therefore, if plural control is arranged, its time window overlaps each other, and the target actuator of control control hazard will occur when identical.When different control is done the time spent for different target actuators, if the wherein control that overlaps each other of free window does not have conflict each other yet, because when time window overlaps each other, be for different target actuator control, so control hazard can not occur.
According to this, according to the disclosure one embodiment, Fig. 4 is in a sensor network system, a plurality ofly is controlled at a temporal synoptic diagram, and wherein each square bar chart represents a control, and the pattern list-directed target actuator of generation of different bar charts is different.With reference to figure 4, the time 0, this system has control A, control B and control C.Because control A, control B and control C are for different target control, therefore each other not conflict.The time 1, this system has control A, control B and control C.At this time controlling D will be performed, identical with the target actuator of control C in the system, therefore controls C and with control D control hazard occurs.The time 2, this system has control A, at this time controls E and will be performed, and control not identical with the target actuator of control E in this system exists, and therefore control hazard does not occur to control E.
So after a control produced, control obtained the event of sensor generation and the action of actuator since then, then carries out automatic classification according to the type of sensor and the type of actuator.For example, one be controlled to be " thermometer detects temperature and is higher than 30 when spending, and cold air is opened ", the event after then control is disassembled is " thermometer detects temperature and is higher than 30 degree ", and therefore, sensor type is " conditionality triggering "; Action after control is disassembled is " cold air is opened ", and therefore, actuator types is " not specifying the execution time ".So behind the automatic classification, the time window of this control belongs to " type three " among Fig. 3.Again for example, one be controlled to be " when doorbell switch is pressed, with door bell rings 10 seconds ", the event after then control is disassembled is " doorbell switch is pressed ", and therefore, sensor type is " disposable triggering "; Action after control is disassembled is " door bell rings 10 seconds ", and therefore, actuator types is " the appointment execution time is arranged ".So behind the automatic classification, the time window of this control belongs to " type two " among Fig. 3.
Behind the automatic classification, can decide according to drawn time window type the time window of control.In other words, the type of the action of the event that produces of the sensor controlled thus of time window of a control and actuator determines jointly.And whether a new control of same target actuator conflicts with former control in the system, can determine whether the time window in this new control is overlapped in the time window separately of former control.
Hold above-mentioned, as shown in Figure 5, after a control produces, control hazard detect can comprise automatic classification 510, control time window produce 520 and the Automatic Detection and Control conflict whether occur 530.When not detecting the control hazard generation, then control execution (control execution); When detecting the control hazard generation, then solve this control hazard.Fig. 6 is according to an embodiment, and the composition of each unit in the control hazard detecting device is described, and operates in the sensor network environment 666.Fig. 7 is according to an embodiment, and the thin section running of this control hazard detecting device is described.
Please in the lump with reference to figure 6 and Fig. 7.Control hazard detecting device 600 comprises a control tactics unit (ControlClassification Unit) 610, one time window determining means (Time Window DeterminationUnit) 620 and one control hazard determining means (Conflict Determination Unit) 630.When a new control 610a enters control hazard detecting device 600, classify according to the characteristic of sensor and actuator in control tactics unit 610, from new control 610a, obtain the type (step 710) of a sensor and an actuator, and sensor type (sensor type) 612 and actuator types (actuator type) 614 are offered time window determining means 620.Time window determining means 620 determines that according to the type 612 of sensor and the type 614 of actuator a time window 622 is to new control 610a (step 720).When at least one target actuator of this actuator and at least one former control was identical, whether the time window 622 that control hazard determining means 630 checks new control 610a therewith at least one time window 630a of at least one former control had overlapping (step 730).
When the time window 622 of new control 610a therewith the time window 630a of at least one former control have when overlapping, control hazard determining means 630 judges that new control 610a has control hazard (step 740), and notify a control hazard to solve module 640, carry out the control hazard settlement procedure.When time window 622 and time window 630a do not have when overlapping, control hazard determining means 630 judges that new control 610a does not have control hazard (step 750), notify a control execution module (Control Execution Module) 650, carry out the action of new control 610a until 622 disappearances of its time window.
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 a control generation module (Control Generation Module) 670 to produce new control 610a.When the time window 630a of the time window 622 of new control 610a and movable at present control does not have when overlapping, the control execution module can be notified with new control 610a has the actuator 692 of connection relationship to carry out the action of new control 610a.Control hazard determining means 630 can be passed through a control and management module (Controlmanagement Module) 660, obtain the time window 630a of at least one former control from a control time window list (Control Time Window List) 680, also can be stored in control time window list 680 by the time window 622 that control and management module 660 will newly be controlled 610a.
Accept above-mentioned, the control hazard detection technique of using in the sensor network of disclosure embodiment is to have the action times (time window) with two controls of same target actuator to decide the generation control hazard when overlapping, and is the type that event (sensor type) and action (actuator types) with a control decide the time window of this control.So the control hazard testing mechanism of disclosure embodiment can automatically according to event and the action of a control, produce the time window of this control; Also can effectively know when control.When conflict occured, this control hazard detection technique can automatically detect control hazard.
When a mechanism detected a new control and clashes with movable at present control, the technology that this mechanism needs control hazard to solve solved conflict.As mentioned before, the part that the administrative mechanism of the control hazard of disclosure embodiment detects except comprising control hazard also comprises the part that control hazard solves.And control hazard solves system and gives different attributes according to different control, also judges 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 solves of this control hazard has comprised generation (control attribute generation), priority rules storehouse (the priority rule repository) of controlled attribute, the arbitration (control arbitration) of control hazard.
Disclosure embodiment gives corresponding controlled attribute with each control, this controlled attribute can indicate the characteristic that this control possesses, for example, artificially (artificial), security (safety), maintainability (security), comfortableness (comfortableness) etc., the binary of arranging in pairs or groups again differentiation method decides the going or staying of former control or new control, to reach the solution of control hazard.Binary is distinguished method can pass through pattern, dynamically change sequentially, to meet various use situations.
According to disclosure embodiment, when control hazard occurs, compare the controlled attributes of two controls, decide the right of priority of control.Disclosure embodiment gives controlled attribute according to the sensor (event) of control with the type of actuator (action).The controlled attribute of one control is described the applicating category of this control.Controlled attribute mainly is divided into uses situation (application domain), operator message (user information) and positional information (location information), totally three kinds.Use the type of situation to comprise as saving type (securitydomain), security type (safety domain) and comfortable type (comfortableness domain) and energy-conservation type (energy saving domain) etc. from damage.The type of operator message comprises such as artificial (artificial) and non-artificial (no artificial).Positional information (location information) has two types, comprises (inside) and zone outer (outside) in the zone.
When the controlled attribute of a control belonged to " use situation ", the event of this control must be same situation with action.For example: detect the cigarette device and detect smog (safety), warning horn is opened (safety), wherein the event of this control and action are all security type, so the controlled attribute of this control is " security type ".So, when the controlled attribute of control belongs to " use situation ", can be by the combination results of sensor (event) type and actuator (action) type.When the controlled attribute of a control belonged to " operator message ", this controlled attribute " operator message " can be decided by sensor (event) type.For example: telepilot pushes button (artificially), and socket is opened (non-artificial), and wherein the event of this control is artificial, so the controlled attribute of this control is " artificially ".When the controlled attribute of a control when belonging to " positional information ", if the event of this control and action at the same area, then the controlled attribute of this control is " zone is interior "; Otherwise be " zone is outer ".For example: on off state is ON (parlor), opens electric light (parlor), and wherein the event of this control and action are in same parlor, so the controlled attribute of this control is " in the zone ".
Accept above-mentioned can learning, the sensor (event) that the source of the controlled attribute of a control is namely controlled for this reason and actuator (action).In order automatically to give the controlled attribute of each control, disclosure embodiment possesses the description of multiple sensors and actuator, and it describes the attribute description that content is sensor and actuator, comprises using situation, operator message and positional information.Fig. 8 A and Fig. 8 B are respectively some examples according to the attribute description of the sensor of disclosure embodiment and actuator.In Fig. 8 A, for example, the attribute description of the corresponding On/Off of switch (Switch) (On/Off) event is: use situation (comfortable), operator message (artificially) and positional information (parlor).In Fig. 8 B, for example, the attribute description of the corresponding On/Off of electric light (Light) (Turn on/off) action 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 sensor of Provision in advance and the attribute description of actuator, just can know the controlled attribute of this control.Fig. 9 is according to the disclosure one embodiment, and the example of the controlled attribute of automatically giving control is described.With reference to figure 9, the event of switch has respectively unlatching (On) 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 respectively unlatching (Turn on) and closes (Turn off) action; The attribute description of wherein opening (Turn on) action is: use situation (comfortable), operator message (artificially) and positional information (parlor), the attribute description of closing (Turn off) action is: use situation (comfortable), operator message (artificially) and positional information (parlor).Therefore, can be combined into control A: when switch detects open event, trigger electric light and carry out unlatching (Turn on) action; Then, disclosure embodiment is according to the attribute description that detects unlatching (On) event and open the attribute description that (Turn on) moves, and the controlled attribute of automatically giving control A is in comfortable (comfortableness), artificial (artificial) and the zone (inside).
Similarly, can be combined into control B: when closing (Off) when switch detects, trigger the electric light execution and close (Turn off) action, then, disclosure embodiment is according to the attribute description of closing the attribute description of (Off) event and closing the action of (Turn off), and the controlled attribute of automatically giving control B is in comfortable, artificial and the zone.
Under different situations, the solution of control hazard needs different right of priority arbitrations.Obtain after the controlled attribute of control, according to disclosure embodiment, just can decide by comparing controlled attribute the right of priority of control.For example, judge the priority of controlled attribute according to different patterns.These patterns such as manual mode (Manual), save pattern (Safety), comfortable energy-conservation contextual model, outdoor pattern etc. from damage.Manual mode is that the controlled attribute with " artificially " has highest priority.The controlled attribute of saving pattern from damage and be with " saving type from damage " has highest priority.Comfortable energy-conservation contextual model is that the controlled attribute with " comfortable type " has highest priority.Outdoor pattern is that the controlled attribute with " zone is outer " has highest priority.
Control hazard settlement mechanism of the present disclosure can be written into corresponding priority rules and describe document according to present mode, decides the priority ranking of control and the solution of equal priority according to the priority rules of describing in the document, to solve control hazard.According to the disclosure one embodiment, the description document of priority rules is 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.The right of priority title is narrated 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 to describe these attributes according to the priority ranking of describing in the document, and the preference of attribute of describing more first is higher.Worst condition (worst case) is that two controls have similarity priority settling mode temporary, for example adopt first in first out (First In First Out, FIFO) or last in, first out (Last In First Out, LIFO) or go out simultaneously etc. that mode decides.
Respond different use situations, it is as follows that the priority rules that three kinds of different modes produce is described the example of description content of document.
Manual mode: artificial〉safely〉save from damage, and first in first out;
Save pattern from damage: save from damage>safety>artificial>comfortable, and first in first out; Comfortable contextual model: comfortable>safety>as to save from damage, and first in first out.According to disclosure embodiment, the control hazard settlement mechanism can be judged according to above rule the right of priority of two controls.These priority rules can be done dynamic increase and decrease with situation according to different, and the solution of equal priority also can be according to make dynamic adjustment of situation.
According to disclosure embodiment, the right of priority of control relatively is sequentially to compare control whether to have controlled attribute.By comparing the right of priority of two controls, the arbitration of control hazard is described as follows.At first, compare prepreerence controlled attribute, if two control only single side have this controlled attribute, then this is controlled to be winning; If two controls have simultaneously or simultaneously not during this controlled attribute, then continue relatively time one preferential controlled attribute, sequentially comparison is to last.When if two side's right of priority are all identical, mode decides then can to adopt first in first out (FIFO) or last in, first out (LIFO) or go out simultaneously etc. again.The result of first in first out (FIFO) is that new control is won; Result's that last in, first out (LIFO) result is that former control is won; The result who goes out simultaneously 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 are reached control hazard.Wherein, each conflict management rule is to judge the right of priority of control with binary differentiation method.In these many conflict management rules, it is to distinguish " artificially " and " non-artificial " that a rule is arranged, and the right of priority of " artificially " is greater than " non-artificial "; It is to distinguish " safety " and " non-security " that one rule is arranged, and the right of priority of " safety " is greater than " non-security ".It is to distinguish " same area " and " difference region " that one rule is arranged, and the right of priority of " same area " is greater than " difference region ".
Accept above-mentionedly, Figure 11 A and Figure 11 B describe document according to the priority rules of a manual mode, arbitrate the right of priority of two controls with binary differentiation method.With reference to figure 11A, the description content that the priority rules of this manual mode is described document is: manual mode, artificial〉safety〉in the zone, and first in first out.In Figure 11 B, control A is former control, and control B is new control.So, when detecting control B and control A when clashing, priority order according to this manual mode, this binary distinguish method whether compare first the attribute of control A and control B be " artificially " when the attribute to control A be " artificially " and the attribute of controlling B when being " non-artificial ", then judge and control A as winning; When the attribute of the attribute " non-artificial " of controlling A and control B is " artificially ", judge that then control B is as winning.
When the attribute of control A and control B all is " artificially " or when all being " non-artificial ", the attribute of this binary differentiation method comparison control A and control B whether be " safety " similarly, in control A and control B, the attribute of one control is only arranged when being " safety ", judge that then attribute is that this of " safety " is controlled to be winning.When the attribute of control A and control B all is " safety " or when all being " non-security ", the attribute of this binary differentiation method comparison control A and control B whether be " in the zone " similarly, in control A and control B, when the attribute that one control is only arranged is " zone in ", judge that then attribute is that this of " in the zone " is controlled to be 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 the module (ControlConflict Resolution Module), and operates in the sensor network environment.Figure 13 is according to an embodiment, illustrates that this control hazard solves the thin section running of module.Please in the lump with reference to Figure 12 and Figure 13.In Figure 12, control hazard solves module 640 and comprises a controlled attribute generation unit (control attribute generation unit) 1210, one priority rules storehouse 1220 and a control hazard moderator (conflict arbiter) 1230.When the 1200 new controls of control hazard detecting device 600 notice control hazards solution modules clashed, controlled attribute generation unit 1210 produced the controlled attribute of these new controls, and offers control hazard moderator 1230.For example, controlled attribute generation unit 1210 can by sensor type and the actuator types of this new control, be given the controlled attribute of this new control, shown in the step 1310 of Figure 13.Control hazard moderator 1230 can according to a present mode, be obtained corresponding priority rules from priority rules storehouse 1220, shown in the step 1320 of Figure 13; And according to this priority rules, come the controlled attribute of this new control of comparison and at least one former control, 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.
For example, control hazard moderator 1230 can check whether this new control has higher right of priority, shown in the step 1340 of Figure 13; When the right of priority of new this at least one former control of control ratio is high, judge newly to be controlled to be the person of winning, shown in the step 1350 of Figure 13; And can notify control execution module 650, carry out the action of new control.When the right of priority of new this at least one former control of control ratio is hanged down, judge this at least one former person of winning of being controlled to be, shown in the step 1360 of Figure 13.Control hazard moderator 1230 can be updated to a control element storehouse (control elementstorage) with up-to-date effective control by control and management module 660.
So the control hazard of disclosure embodiment solves module can automatically give controlled attribute according to sensor and actuator; Can automatically according to different situations, give the arbitration of different priority ranking; And can automatically solve control hazard.
As described above, the mechanism of management control hazard mainly comprises control hazard detection and control hazard solution in the sensor network of the present disclosure.Accept above-mentionedly, Figure 14 is according to the disclosure one embodiment, and the system of management 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 of obtaining from new control 610a and the type of an actuator, determine the time window 622 of new control 610a, and when at least one target actuator of this actuator and at least one former control identical and time window 622 therewith at least one time window of at least one former control have when overlapping, judge to clash 1400b and notify control hazard to solve module 640.Control hazard solves the controlled attribute that module 640 produces new control 610a, and comes the therewith controlled attribute of at least one former control of relatively newer control according to the pattern in the 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 be according to the pattern in the multiple different mode, obtain corresponding at least one priority rules from a priority rules storehouse, and according to this at least one priority rules, relatively newer control is the controlled attribute of at least one former control therewith.When the right of priority of new this at least one former control of control ratio is hanged down, the system 1400 of management control hazard can will newly control 610a by control and management module 660 and remove from a control element storehouse.When the right of priority of new this at least one former control of control ratio is high, can write in this control element storehouse newly controlling 610a, and notice control execution module 650 is carried out the action of new control 610a.
Accept above-mentionedly, Figure 15 is according to the disclosure one embodiment, and the method for management control hazard in a kind of sensor network is described.In Figure 15, the method for this management control hazard determines a time window of this new control and gives a controlled attribute (step 1510) according to the type of a sensor of obtaining from a new control and the type of an actuator; And, when this actuator identical with at least one target actuator of at least one former control, and this time window therewith at least one time window of at least one former control have when overlapping, judge to clash (step 1520).When clashing, method 1500 is according at least one priority rules, this controlled attribute priority ranking of at least one controlled attribute of at least one former control therewith relatively, 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 take the control hazard supervisor System and method for of time window as the basis.Be sensor (event) and actuator (action) type of controlling according to difference aspect the control hazard detection, the time windows of generation promotes the accurate rate that control hazard detects.Aspect the control hazard solution, the binary differentiation method that discloses a kind of model selection solves conflict.In sensor network, disclosure embodiment can automatically detect conflict; When control hazard occurs, can according to the pattern of present setting, automatically make correct arbitration.
The above person only is disclosure embodiment, when the scope that can not limit according to this disclosure enforcement.The equalization that namely claims are done according to the present invention generally changes and modifies, and all should still belong to the claimed scope of claims of the present invention.

Claims (24)

1. the system of management control hazard in the sensor network comprises:
The control hazard detecting device, according to the type of the sensor of from new control, obtaining and the type of actuator, determine the time window of this new control, and at least one time window of identical and this time window and this at least one former control has when overlapping when at least one target actuator of this actuator and at least one former control, and judging newly to control have control hazard; And
Control hazard solves module, produces the controlled attribute of this new control, and at least one controlled attribute of this controlled attribute and this at least one former control relatively, with arbitration should new control and this at least one former control in 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 obtained this at least one time window of this at least one former control by the control and management module from control time window list.
3. the system of management control hazard as claimed in claim 1, wherein this control hazard solves module via the control hazard moderator, according to the pattern in the multiple different mode, obtain corresponding at least one priority rules from the priority rules storehouse, and according to this at least one priority rules, relatively should newly control this at least one controlled attribute with this at least one former control.
4. the system of management control hazard as claimed in claim 1, wherein each control of a plurality of controls in this sensor network has separately 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 the controlled attribute generation unit, to each control of a plurality of controls 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, wherein the length of the time window of each control of these a plurality of controls is jointly to be 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 is done 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 this at least one former control of control ratio is hanged down, this system should control from the control element storehouse and remove, when the right of priority of this new this at least one former control of control ratio is high, should newly controls and write in this control element storehouse.
9. the system of management control hazard as claimed in claim 3, wherein this control hazard solves module and also comprises the control hazard moderator with many conflict management rules.
10. the method for management control hazard in the sensor network comprises:
According to the type of the sensor of from new control, obtaining 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 actuator of at least one former control, and at least one time window of this time window and this at least one former control has when overlapping, and judging newly to control have control hazard; And
When clashing, according at least one priority rules, relatively should new control and the priority ranking of the controlled attribute of this at least one former control, arbitrate that whichever is the person of winning in this new control and this at least one former control.
11. the method for management control hazard 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.
12. the method for management control hazard as claimed in claim 10, wherein the method possesses the solution that many conflict management rules are reached control hazard, and each conflict management rule of these many conflict management rules is to judge the right of priority of control with a kind of binary differentiation method.
13. the method for management control hazard as claimed in claim 12, wherein in these many conflict management rules, it is that differentiation is artificial and non-artificial that a rule is arranged, and artificial right of priority is greater than non-artificial.
14. the method for management control hazard as claimed in claim 12, wherein in these many conflict management rules, it is to distinguish safety with non-security that a rule is arranged, and the right of priority of safety is greater than non-security.
15. the method for management control hazard as claimed in claim 12, wherein in these many conflict management rules, it is to distinguish same area and difference region that a rule is arranged, and the right of priority of same area is greater than difference region.
16. the method for management control hazard as claimed in claim 10, wherein the method is according to present mode, be written into corresponding priority rules and describe document, and decide the priority ranking of control and the solution of equal priority according to this this at least one priority rules of describing in the document.
17. the method for management control hazard as claimed in claim 10, wherein the method is divided into disposable triggering with the type of sensor and conditionality triggers, and the type of actuator is divided into do not specify the execution time and the appointment execution time is arranged.
18. the method for management control hazard as claimed in claim 17, wherein this disposable triggering refers to that sensor only can detect a single state, and when this state is set up trigger event.
19. the method for management control hazard as claimed in claim 17, wherein this conditionality triggers and refers to that sensor has the function that detects plural continuous state, and when at least one designated state is set up trigger event.
20. the method for management control hazard as claimed in claim 10, wherein when the right of priority of this new this at least one former control of control ratio was high, this new control was this person of winning.
21. the method for management control hazard as claimed in claim 17, wherein when the type of sensor of control be the type of disposable triggering and actuator when not specifying the execution time, the length of the time window of this control is unlimited.
22. the method for management control hazard as claimed in claim 17, wherein when the type of sensor of control be the type of disposable triggering and actuator when the execution time of appointment is arranged, the length of the time window of this control is this appointment execution time.
23. the method for management control hazard as claimed in claim 17, wherein when the type of sensor of control be conditionality trigger and the type of actuator 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.
24. the method for management control hazard as claimed in claim 17, wherein when the type of sensor of control be conditionality trigger and the type of actuator for appointment being arranged during the execution time, the time window of this control produces when the event condition of this control is set up, and disappearance or the longest for disappearing after this appointment execution time end when the condition of event is false.
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
TW101115387A TW201345211A (en) 2012-04-30 2012-04-30 System and method for conflict management in sensor networks
TW101115387 2012-04-30

Publications (2)

Publication Number Publication Date
CN103376787A true CN103376787A (en) 2013-10-30
CN103376787B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371326A (en) * 2016-09-18 2017-02-01 海信集团有限公司 Storage method and apparatus of equipment work scenes
CN109660433A (en) * 2018-12-21 2019-04-19 中山大学 A kind of contention resolution that the configuration data of smart home is synchronous
CN109725544A (en) * 2018-12-26 2019-05-07 北京蓦然认知科技有限公司 The method and device of dynamic construction conflict verification rule list in a kind of smart home
CN110471300A (en) * 2019-08-23 2019-11-19 杭州行至云起科技有限公司 A kind of conflict coordination method and system of more intelligent scenes

Families Citing this family (1)

* 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

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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371326A (en) * 2016-09-18 2017-02-01 海信集团有限公司 Storage method and apparatus of equipment work scenes
CN109660433A (en) * 2018-12-21 2019-04-19 中山大学 A kind of contention resolution that the configuration data of smart home is synchronous
CN109660433B (en) * 2018-12-21 2021-10-22 中山大学 Intelligent household configuration data synchronization conflict resolution method
CN109725544A (en) * 2018-12-26 2019-05-07 北京蓦然认知科技有限公司 The method and device of dynamic construction conflict verification rule list in a kind of smart home
CN110471300A (en) * 2019-08-23 2019-11-19 杭州行至云起科技有限公司 A kind of conflict coordination method and system of more intelligent scenes

Also Published As

Publication number Publication date
TW201345211A (en) 2013-11-01
CN103376787B (en) 2016-02-03

Similar Documents

Publication Publication Date Title
US10395494B2 (en) Systems and methods of home-specific sound event detection
US20190347916A1 (en) Electronic devices capable of communicating over multiple networks
KR102195746B1 (en) Security in a smart-sensored home
US11887223B2 (en) Monitoring system analytics
CN103376787B (en) System and method for sensing management control conflicts in a network
WO2016183167A1 (en) Identified presence detection in and around premises
CN1639752A (en) System and method of keeping track of normal behavior of the inhabitants of a house
US20070162315A1 (en) Space reservation system
CN109492620A (en) Monitoring device and its control device, post monitoring method and readable storage medium storing program for executing
US10755537B1 (en) Implementing deterrent protocols in response to detected security events
US10306401B2 (en) Systems and methods for learning and controlling area zones
US11810437B2 (en) Integrated security for multiple access control systems
US11804976B2 (en) Integration of knob sensors in monitoring systems
US9613514B2 (en) Systems and methods for providing a smart notifications system
CN109716410A (en) A kind of fire alarm confirmation method, device and the terminal device of smoke detector
US8356003B2 (en) Automated integration of events for a surveillance system
US11748993B2 (en) Anomalous path detection within cameras' fields of view
CN103635862A (en) A system and method for controlling electrical appliances
EP3188148A1 (en) Intrusion alarm system with learned and dynamic entry delays
KR102329544B1 (en) Control method for customer support system of unattended study cafe
Zouba et al. Multi-sensors analysis for everyday activity monitoring
CN112799306A (en) Intelligent household control system
CN205485523U (en) Intelligence security system
Kahraman Assessing the service quality of intelligent building control systems: An importance-performance analysis
WO2020199077A1 (en) Building management system using video analytics

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