TW201345211A - System and method for conflict management in sensor networks - Google Patents

System and method for conflict management in sensor networks Download PDF

Info

Publication number
TW201345211A
TW201345211A TW101115387A TW101115387A TW201345211A TW 201345211 A TW201345211 A TW 201345211A TW 101115387 A TW101115387 A TW 101115387A TW 101115387 A TW101115387 A TW 101115387A TW 201345211 A TW201345211 A TW 201345211A
Authority
TW
Taiwan
Prior art keywords
control
conflict
type
actuator
priority
Prior art date
Application number
TW101115387A
Other languages
Chinese (zh)
Inventor
Ming-Shyan Wei
Hsin-Sheng Liu
Yueh-Feng Lee
Chun-Hsien Wu
Yang-Jung Li
Original Assignee
Ind Tech Res Inst
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 Ind Tech Res Inst filed Critical Ind Tech Res Inst
Priority to TW101115387A priority Critical patent/TW201345211A/en
Priority to CN201210183941.4A priority patent/CN103376787B/en
Publication of TW201345211A publication Critical patent/TW201345211A/en

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]

Landscapes

  • Selective Calling Equipment (AREA)
  • Power-Operated Mechanisms For Wings (AREA)

Abstract

In a conflict management system, a control conflict detector determines a time window of a new control according to a sensor type and an actuator type obtained from the new control, and determines that the new control has a control conflict when the actuator is same as at least one actuator of at least one original control and the time window overlaps with at least one time window of the at least one related original control. A conflict resolution module generates a control attribute of the new control, and compares the control attribute of the new control and at least one control attribute of the at least one original control according to at least one priority rule of a current mode to arbitrate the winner between the new control and the at least one original control.

Description

感測網路中管理控制衝突的系統與方法System and method for sensing management conflicts in a network

本揭露係關於一種感測網路中管理控制衝突(conflict management)的系統與方法。The present disclosure is directed to a system and method for sensing management conflict management in a network.

在一個包含有多個感測器(sensor)與致動器(actuator)的感測網路中,感測器是用來偵測事件,而致動器是用來喚起動作。在感測網路中可能會有許多的控制行為,控制與控制之間也可能會彼此衝突。當一感測器偵測的事件其條件成立時,由致動器執行指定的動作,此感測器與此致動器之間可建立一聯繫關係。此關係稱為連結(binding),而執行此連結的行為稱為控制。一範例如,感測器偵測的事件為「按下開關」,當「按下開關」成立時,由致動器執行「電燈開啟」的動作。另一範例如,感測器偵測的事件為「溫度超過30度」,當「溫度超過30度」成立時,由致動器執行「冷氣開啟」的動作。隨著感測網路越來越複雜,控制與控制之間就有機會產生衝突。In a sensing network that includes multiple sensors and actuators, the sensors are used to detect events and the actuators are used to evoke motion. There may be many control actions in the sensing network, and control and control may also conflict with each other. When a condition detected by a sensor is met, the specified action is performed by the actuator, and a relationship can be established between the sensor and the actuator. This relationship is called a binding, and the act of performing this link is called control. For example, the event detected by the sensor is "press the switch", and when the "press switch" is established, the "light on" action is performed by the actuator. For example, the event detected by the sensor is "temperature exceeds 30 degrees", and when "temperature exceeds 30 degrees" is established, the actuator performs "cold air opening" operation. As sensing networks become more complex, there is an opportunity for conflict between control and control.

有一些專利文獻揭示了衝突偵測(conflict detection)且/或衝突解決(conflict resolution)的技術。例如,一種用於家用數位網路中的智慧控制技術可以偵測內容衝突(context conflict)和服務衝突(service conflict),並採用基於優先權(priority-based)的方法來解決這些衝突。一種技術是偵測與解決由於不同來源資訊所造成的內容衝突(context conflict)。一種用在多媒體播放與儲存系統的資源管理系統會自動選擇一個合適的訊號來源以取得儲存資料,也會藉由每一儲存動作所持續的時間窗(time window)是否重疊來偵測多個影音資料要預錄時發生的資源衝突,並且藉由系統預設的處理規則或提示使用者來決定如何解決此衝突。一種用於多重核心處理器的架構可以偵測與解決共同存取記憶體所造成的存取衝突;其衝突偵測是根據在某一時間窗內,若有多個核心同時存取同一塊記憶體位址時,就會發生衝突,而其衝突解決則是根據發出要求的先後順序(FIFO)來決定允不允許執行該要求。一種應用在半導體生產過程中,解決多個生產控制器時造成衝突的技術是透過一個監督控制器(supervisory controller)來判斷與解決此控制衝突。Some patent documents disclose techniques for conflict detection and/or conflict resolution. For example, a smart control technology used in home digital networks can detect context conflicts and service conflicts, and use a priority-based approach to resolve these conflicts. One technique is to detect and resolve context conflicts caused by information from different sources. A resource management system for multimedia playback and storage systems automatically selects an appropriate source of information to obtain stored data, and also detects multiple audio and video by overlapping the time windows of each stored action. The resource conflicts that occur when the data is pre-recorded, and the system presets the processing rules or prompts the user to decide how to resolve the conflict. An architecture for multiple core processors can detect and resolve access conflicts caused by common access memory; the collision detection is based on the fact that multiple cores simultaneously access the same memory within a certain time window In the case of a body address, a conflict occurs, and the conflict resolution is based on the order in which the request is issued (FIFO) to determine that the request is not allowed to be executed. One application in the semiconductor manufacturing process to solve the conflicts caused by multiple production controllers is to judge and resolve this control conflict through a supervisory controller.

通常,解決控制衝突可用手動/半手動/自動。以手動解決控制衝突是指當發生衝突時,由使用者決定如何解決衝突。以半手動解決控制衝突是指當發生衝突時,由使用者決定如何解決衝突,但具備有足夠的演算法或學習能力,可以減少使用者的介入。以自動解決控制衝突是指當發生衝突時,使用者完全不用介入,系統會自行解決衝突。In general, solving control conflicts can be done manually/semi-manual/automatically. Manually resolving control conflicts means that when a conflict occurs, the user decides how to resolve the conflict. Resolving control conflicts in a semi-manual manner means that when a conflict occurs, the user decides how to resolve the conflict, but has sufficient algorithm or learning ability to reduce user intervention. To automatically resolve the control conflict means that when a conflict occurs, the user does not need to intervene at all, and the system will resolve the conflict by itself.

有一些非專利文獻揭示了衝突偵測且/或衝突解決的技術。例如,一篇論文提出一種內容感知(context-aware)的框架,用來收集位於家用感測平台與使用者的內容,並且為不同使用者及不同服務之間的衝突提出一種基於權重或優先權的解決方法,其衝突的類型隸屬於致動器控制衝突與環境控制衝突。一篇論文提出一種基於語意(semantic)的衝突管理技術,此技術設計一種內容感知與衝突管理的架構來服務多位使用者與多重群組,並且可以偵測與解決服務之間語意之上的控制衝突,其衝突的類型隸屬於致動器控制衝突。一篇論文提出一種稱為Physicalnet的運算框架,可以管理與安排異質感測器/致動器、多重網路、及多使用者的環境,其技術使用細粒度(fine-grained)存取權限的方式來解決衝突,其衝突的類型隸屬於感測器組態設定(configuration)控制衝突。There are some non-patent literatures that reveal techniques for conflict detection and/or conflict resolution. For example, a paper proposes a context-aware framework for collecting content on home-sensing platforms and users and proposing a weight-based or priority for conflicts between different users and different services. The solution to the type of conflict belongs to the actuator control conflict and the environmental control conflict. A paper proposes a semantic-based conflict management technique that designs a content-aware and conflict-managed architecture to serve multiple users and multiple groups, and to detect and resolve semantics between services. Control conflicts, the type of which is subject to actuator control conflicts. A paper proposes an arithmetic framework called Physicalnet that manages and arranges heterogeneous sensors/actuators, multiple networks, and multi-user environments with techniques that use fine-grained access rights. The way to resolve conflicts, the type of conflict is part of the sensor configuration control conflict.

一篇論文提出一種衝突解決技術來處理節能應用與舒適應用之間造成的控制衝突。此技術區隔不同使用者之間的優先權與權限-均值(privilege-average)來達成衝突的控制,並且使用射頻辨識系統(RFID)來識別不同的使用者,以及存取使用者的偏好(preference),其衝突的類型隸屬於致動器控制衝突。第一圖是此衝突解決技術的應用情境的一範例示意圖。第一圖中的應用情境是一個智慧型節能辦公室100,辦公室100包括一專屬區(personalized zone)110、以及一公開區(public zone)120,並且備有一中央控制系統(central control no artificial)、以及多個個別的控制系統。每一系統均裝設了自動調溫器(thermostat)、RFID讀取器(reader)與天線、以及感測器與致動器。A paper proposes a conflict resolution technique to deal with control conflicts between energy-efficient applications and comfort applications. This technology separates priority and privilege-average between different users to achieve conflict control, and uses Radio Frequency Identification (RFID) to identify different users and access user preferences ( Preference), the type of conflict is affiliated with the actuator control conflict. The first figure is an example schematic diagram of the application scenario of this conflict resolution technology. The application scenario in the first figure is a smart energy-saving office 100. The office 100 includes a personalized zone 110 and a public zone 120, and is provided with a central control system (central control no artificial). And multiple individual control systems. Each system is equipped with a thermostat, an RFID reader and antenna, and a sensor and actuator.

有一篇論文是為多使用者的普及運算環境提出一群衝突解決的演算法。此衝突解決演算法考量了搶先式(preemptive based)、非搶先式(non-preemptive based)、角色(role based)、優先權、時間切片(time slice based)、民主式(democratic based)、及個人偏好(personal preference)等因素來解決衝突,其衝突的類型隸屬於致動器控制衝突。One paper is a set of conflict resolution algorithms for multi-user pervasive computing environments. This conflict resolution algorithm considers preemptive based, non-preemptive based, role based, priority, time slice based, democratic based, and personal Factors such as personal preference resolve conflicts, and the type of conflict is subject to actuator control conflicts.

上述大部分的控制衝突管理技術並非是針對感測網路環境中的控制衝突,並且著重於解決控制衝突的方面,解決控制衝突的方式不外乎透過優先權或規則系統等。極少部分的控制衝突管理技術有揭示如何偵測控制衝突的機制。控制是感測網路最基本的行為模式。隨著感測網路越來越複雜,發生控制衝突的機會也越提高。控制衝突的發生,輕則可造成使用者控制不便;重則可危及生命安全。因此,如何在感測網路環境中偵測控制衝突並解決控制衝突是很重要的。Most of the above control conflict management techniques are not directed to the control conflicts in the sensing network environment, and focus on the aspects of controlling conflicts. The way to control conflicts is not limited to the priority or rule system. A very small number of control conflict management techniques have mechanisms that reveal how to detect control conflicts. Control is the most basic behavioral pattern of the sensing network. As sensing networks become more complex, the chances of a control conflict increase. Controlling the occurrence of conflicts can cause inconvenience to the user; in the worst case, it can endanger life. Therefore, it is important to detect control conflicts and resolve control conflicts in a sensing network environment.

本揭露實施例可提供一種感測網路中管理控制衝突的系統與方法。Embodiments of the present disclosure can provide a system and method for sensing control conflicts in a network.

所揭露的一實施例是關於一種感測網路中管理控制衝突的系統。此系統可包含一控制衝突偵測器(Control Conflict Detector)、以及一控制衝突解決模組(Conflict Resolution Module)。此控制衝突偵測器依照從一新控制(new control)中取得的一感測器的類型、以及一致動器的類型,決定此新控制的一時間窗(time window),並且當此致動器與至少一原控制(original control)的至少一目標致動器相同且此時間窗與此至少一原控制的至少一時間窗有重疊時,判定發生衝突。此控制衝突解決模組產生此新控制的一控制屬性(control attribute),並且比較新控制與此至少一原控制的至少一控制屬性,以仲裁此新控制與此至少一原控制中何者為勝出者(winner)。One disclosed embodiment is directed to a system for sensing control conflicts in a sensing network. The system can include a Control Conflict Detector and a Control Conflict Resolution Module. The control conflict detector determines a time window of the new control according to the type of a sensor obtained from a new control and the type of the actuator, and when the actuator A collision is determined to occur when at least one target actuator of at least one original control is identical and the time window overlaps with at least one time window of the at least one original control. The control conflict resolution module generates a control attribute of the new control, and compares the new control with at least one control attribute of the at least one original control to arbitrate which of the at least one original control is the winner (winner).

所揭露的另一實施例是關於一種感測網路中管理控制衝突的方法。此方法可包含:依照從一新控制中取得的一感測器的類型、以及一致動器的類型,決定此新控制的一時間窗並賦予一控制屬性;當此致動器與至少一原控制的至少一目標致動器相同,且此時間窗與此至少一原控制的至少一時間窗有重疊時,判定發生衝突;以及當發生衝突時,根據至少一優先權規則(priority rule),比較此新控制與此至少一原控制的至少一控制屬性的優先次序,來仲裁此新控制與此至少一原控制中何者為勝出者。Another embodiment disclosed is directed to a method of managing control conflicts in a sensing network. The method can include: determining a time window of the new control and assigning a control attribute according to a type of sensor obtained from a new control, and a type of the actuator; when the actuator and the at least one original control At least one target actuator is the same, and the time window overlaps with the at least one time window of the at least one original control, determining that a conflict occurs; and when a conflict occurs, comparing according to at least one priority rule The new control prioritizes the at least one control attribute of the at least one original control to arbitrate which of the at least one of the original controls is the winner.

茲配合下列圖示、實施例之詳細說明及申請專利範圍,將上述及本發明之其他優點詳述於後。The above and other advantages of the present invention will be described in detail below with reference to the following drawings, detailed description of the embodiments, and claims.

在一個包含有多個感測器與致動器的感測網路中,當透過感測器所產生之事件的條件成立時,藉由致動器去執行指定的動作。這樣一連串的行為,稱為控制。也就是說,在感測網路中的控制是由感測器與致動器所組成。一個控制會有自己的作用時間,在本揭露中,將此作用時間定義為此控制的時間窗(time window)。當一控制還在自己的時間窗中時,代表本次控制還是有作用,因此若有其他控制的目標致動器與本次控制相同時,就會發生控制衝突。隨著感測網路越來越複雜,發生控制衝突的機會也越提高,因此,固定的時間窗長度並不適用於所有控制。In a sensing network comprising a plurality of sensors and actuators, the actuator performs the specified action when the condition of the event generated by the sensor is established. Such a series of actions is called control. That is, the control in the sensing network consists of a sensor and an actuator. A control has its own time of action. In this disclosure, this action time is defined as the time window of this control. When a control is still in its own time window, it means that this control still works, so if there are other controlled target actuators that are the same as this control, a control conflict will occur. As sensing networks become more complex, the chances of control conflicts increase, so fixed time window lengths are not suitable for all controls.

在感測網路的環境中,本揭露實施例提供一種基於時間窗之控制衝突的管理機制。此控制衝突的管理機制主要包含兩部份,一部份是控制衝突偵測,另一部份是控制衝突解決。控制衝突偵測係依照感測器及致動器類型來自動決定時間窗大小,並且當時間窗發生重疊時,就會發生控制衝突。控制衝突解決係依照不同的控制給予不同的屬性,並且依照不同的模式之優先權規則來判斷控制屬性的優先順序。In an environment of sensing a network, the disclosed embodiments provide a management mechanism based on a time window to control conflicts. The management mechanism of this control conflict mainly consists of two parts, one is to control conflict detection, and the other is to control conflict resolution. Control collision detection automatically determines the time window size according to the sensor and actuator type, and when the time windows overlap, a control conflict occurs. Control conflict resolution assigns different attributes according to different controls, and determines the priority order of control attributes according to the priority rules of different modes.

在感測網路中,同時有兩個以上的控制針對同一致動器作用時,也就是說,同一致動器同時有兩個以上的控制行為發生時,就會發生控制衝突。例如,使用者透過遙控器將「冷氣開啟」;同時,電表偵測到的耗電量的累計度數超過100度電,系統自動將「冷氣關閉」。這時候就會產生控制衝突。In a sensing network, when more than two controls are active for the same actuator, that is, when more than two control actions occur simultaneously by the same actuator, a control conflict occurs. For example, the user turns "cool air on" through the remote control; at the same time, the accumulated power consumption detected by the meter exceeds 100 degrees, and the system automatically turns "cool air off". This will create a control conflict.

若兩控制的發生有些微的時間差時,也可能會產生控制衝突。例如,第二A圖的範例中,使用者透過開關將電燈關閉(在時間1發生的控制1),而環境控制系統依據照度不足將電燈打開(在時間2發生的控制2)。對使用者而言,實際上會覺得有衝突的。這是因為使用者剛把電燈關閉,卻又被非人為打開。若兩控制的發生有很大的時間差時,也可能會產生控制衝突。例如,第二B圖的範例中,在時間0發生的控制1是使用者按下按鍵,將冷氣開啟四個小時;在時間3發生的控制2是系統電表偵測耗電量超過5度電,將冷氣關閉。因為控制1的作用時間需要持續四個小時,但是控制2在第三小時就產生,所以會發生控制衝突。Control conflicts may also occur if there is a slight time difference between the two controls. For example, in the example of FIG. A, the user turns off the light through the switch (control 1 occurring at time 1), and the environmental control system turns on the light according to insufficient illumination (control 2 occurring at time 2). For the user, it actually feels conflicting. This is because the user has just turned off the light, but it has been turned off. If there is a large time difference between the two controls, a control conflict may occur. For example, in the example of the second B diagram, the control 1 occurring at time 0 is that the user presses the button to turn on the cold air for four hours; the control 2 that occurs at time 3 is that the system meter detects that the power consumption exceeds 5 degrees. , will turn off the air. Since the action time of the control 1 needs to last for four hours, but the control 2 is generated in the third hour, a control conflict occurs.

本揭露實施例以感測器(事件)及致動器(動作)類型來產生時間窗,來因應感測網路複雜的控制類型。也就是說,一控制之時間窗的長度是由感測器產生之事件與致動器之動作的類型共同決定。在本揭露中,感測器產生的事件可分為一次性觸發與條件性觸發。一次性觸發指的是感測器僅能偵測單一狀態,並且在此狀態成立時觸發事件。例如,電視遙控器、電動捲門遙控器、門鈴按鈕(button)、使用者介面按鈕等類型的感測器所產生的事件。條件性觸發指的是感測器可偵測兩個以上的連續狀態,並於指定狀態成立時觸發事件;例如,溫度計、煙霧偵測器、開關(switch)等類型的感測器所產生的事件。Embodiments of the present disclosure generate time windows in the form of sensors (events) and actuators (actions) in response to sensing the complex types of control of the network. That is to say, the length of a controlled time window is determined by the event generated by the sensor and the type of action of the actuator. In the present disclosure, the events generated by the sensor can be divided into a one-time trigger and a conditional trigger. A one-time trigger means that the sensor can only detect a single state and trigger an event when the state is established. For example, events generated by sensors such as television remote controls, electric roller door remotes, doorbell buttons, user interface buttons, and the like. Conditional triggering means that the sensor can detect more than two consecutive states and trigger an event when the specified state is established; for example, a thermometer, a smoke detector, a switch, etc. event.

在本揭露中,致動器(動作)可分為沒有指定執行時間、以及有指定執行時間。沒有指定執行時間的含意是當感測器偵測的事件被觸發時,致動器持續執行動作,例如電燈打開、瓦斯閥關閉等類型的動作。有指定執行時間的含意是當感測器偵測的事件被觸發時,致動器在指定時間內執行動作,例如冷氣開啟一個小時、門鈴響10秒等類型的動作。In the present disclosure, the actuator (action) can be divided into no specified execution time and a specified execution time. The meaning of not specifying the execution time is that when the event detected by the sensor is triggered, the actuator continues to perform an action such as a lamp opening, a gas valve closing, and the like. The purpose of specifying the execution time is that when the event detected by the sensor is triggered, the actuator performs an action within a specified time, such as an operation in which the air conditioner is turned on for one hour and the doorbell is ringed for 10 seconds.

承上述,依照感測器(事件)及致動器(動作)的組合可以得到四種時間窗類型的組合。第三圖是根據本揭露一實施例,說明此四種類型的時間窗。類型一為感測器是一次性觸發,致動器是沒有指定執行時間;類型二為感測器是一次性觸發,致動器是有指定執行時間;類型三為感測器是條件性觸發,致動器是沒有指定執行時間的狀況;類型四為感測器是條件性觸發,致動器是有指定執行時間。In view of the above, a combination of four time window types can be obtained in accordance with a combination of a sensor (event) and an actuator (action). The third figure illustrates the four types of time windows in accordance with an embodiment of the present disclosure. Type 1 is a one-time trigger for the sensor, the actuator does not specify the execution time; type 2 is the sensor is a one-time trigger, the actuator has a specified execution time; type 3 is the sensor is a conditional trigger The actuator is a condition in which no execution time is specified; the fourth type is that the sensor is a conditional trigger, and the actuator has a specified execution time.

當一控制為類型一時(感測器(事件)是一次性觸發,致動器(動作)是沒有指定執行時間),此控制的時間窗長度為無限;時間窗於此控制的事件被觸發時產生,並且不會結束。例如,電視遙控器按下開關時,電視開啟。控制的作用時間為無限,電視不會自行關閉。When a control is type one (sensor (event) is a one-time trigger, actuator (action) is no specified execution time), the time window length of this control is infinite; when the time window is controlled by this time event is triggered Produced and will not end. For example, when the TV remote control presses the switch, the TV turns on. The duration of the control is unlimited and the TV does not turn itself off.

當一控制為類型二時(感測器(事件)是一次性觸發,致動器(動作)是有指定執行時間),此控制的時間窗長度即為此指定執行時間;時間窗於此控制的事件被觸發時產生,於執行時間結束後消失。例如,門鈴按鍵被按下時,鈴聲響10秒鐘。控制的作用時間為10秒鐘,並於10秒鐘後控制作用就結束了。換句話說,此控制的時間窗由此指定執行時間決定。When a control is type two (sensor (event) is a one-time trigger, actuator (action) is a specified execution time), the time window length of this control is the execution time for this; the time window is controlled here. The event is generated when it is triggered and disappears after the execution time. For example, when the doorbell button is pressed, the ringer sounds for 10 seconds. The control action time is 10 seconds, and after 10 seconds the control action is over. In other words, the time window of this control is thus specified by the execution time.

當一控制為類型三時(感測器(事件)是條件性觸發,致動器(動作)是沒有指定執行時間),此控制的時間窗長度與條件成立的與否有關。時間窗在此控制的事件條件成立時產生,而在此控制的事件條件不成立時消失。例如,電燈開關被開啟時,將電燈開啟。控制的作用時間為開關被開啟直到開關被關閉。換句話說,於事件的條件不成立時,此控制的時間窗消失。When a control is type three (sensor (event) is conditional trigger, actuator (action) is no specified execution time), the length of time window of this control is related to whether the condition is established or not. The time window is generated when the event condition of this control is established, and disappears when the event condition of this control is not established. For example, when the light switch is turned on, the light is turned on. The duration of the control is that the switch is turned on until the switch is turned off. In other words, the time window of this control disappears when the condition of the event does not hold.

當一控制為類型四時(感測器(事件)是條件性觸發,致動器(動作)是有指定執行時間),此控制的時間窗長度與此指定執行時間及條件成立的與否有關。時間窗產生於事件的條件成立時,並且在事件的條件不成立時消失或是最長為於此指定執行時間結束後消失。例如,人體移動偵測器偵測到人,將電燈開啟3分鐘。控制的作用時間最長為3分鐘,若3分鐘內沒有偵測到人,控制的作用時間會提前結束。換句話說,時間窗由此指定執行時間決定、或是在事件的條件不成立時消失。When a control is type four (sensor (event) is conditional trigger, actuator (action) is specified execution time), the length of time window of this control is related to whether the specified execution time and condition are established. . The time window is generated when the condition of the event is established, and disappears when the condition of the event does not hold or the longest disappears after the specified execution time ends. For example, the human motion detector detects a person and turns on the light for 3 minutes. The control action time is up to 3 minutes. If no person is detected within 3 minutes, the control action time will end prematurely. In other words, the time window is thus specified by the execution time or disappears when the condition of the event does not hold.

控制有了時間窗之後,就可以判定控制之間是否有發生控制衝突。如之前所述,還在自己的時間窗中的控制代表本次控制還是具有作用的。不同控制的時間窗可以是不同長度的。因此,若有兩個以上的控制,其時間窗互相重疊,且控制的目標致動器相同時,就會發生控制衝突。當不同的控制針對不同的目標致動器作用時,其中若有時間窗互相重疊的控制,彼此也不會有衝突,因為在時間窗互相重疊時,是針對不同的目標致動器控制,所以不會發生控制衝突。After the control has a time window, it can be determined whether there is a control conflict between the controls. As mentioned earlier, the control in its own time window represents that this control is still functional. The time windows of different controls can be of different lengths. Therefore, if there are more than two controls whose time windows overlap each other and the controlled target actuators are the same, a control conflict occurs. When different controls act on different target actuators, if there is control in which time windows overlap each other, there is no conflict with each other, because when the time windows overlap each other, it is controlled for different target actuators, so There is no control conflict.

依此,根據本揭露一實施例,第四圖是在一感測網路系統中,多個控制在時間上的一示意圖,其中每一方形長條圖代表一個控制,不同長條圖的圖案代表控制的目標致動器不同。參考第四圖,在時間0的時候,此系統存在有控制A、控制B、以及控制C。由於控制A、控制B、以及控制C是針對不同目標控制,因此彼此沒有衝突。在時間1的時候,此系統存在有控制A、控制B、以及控制C。這時候控制D要被執行,可是與系統中的控制C的目標致動器相同,因此控制C與控制D發生控制衝突。在時間2的時候,此系統存在有控制A、這時候控制E要被執行,此系統中沒有與控制E的目標致動器相同的控制存在,因此控制E沒有發生控制衝突。Accordingly, according to an embodiment of the present disclosure, the fourth figure is a schematic diagram of a plurality of controls in time in a sensing network system, wherein each square bar graph represents a control, a pattern of different bar graphs The target actuators representing the control are different. Referring to the fourth figure, at time 0, there are control A, control B, and control C in this system. Since Control A, Control B, and Control C are controlled for different targets, there is no conflict with each other. At time 1, the system has Control A, Control B, and Control C. At this time, the control D is to be executed, but it is the same as the target actuator of the control C in the system, so the control C and the control D have a control conflict. At time 2, there is control A in this system. At this time, control E is to be executed. There is no control in the system that is the same as the target actuator of control E. Therefore, control conflict does not occur in control E.

所以,當一控制產生後,可自此控制取得感測器產生的事件和致動器的動作,然後根據感測器的類型與致動器的類型來進行自動分類。例如,一控制為「溫度計偵測到溫度高於30度時,將冷氣打開」,則控制被拆解後的事件為「溫度計偵測到溫度高於30度」,因此,感測器類型為「條件性觸發」;控制被拆解後的動作為「冷氣打開」,因此,致動器類型為「沒有指定執行時間」。所以,自動分類後,此控制的時間窗屬於第三圖中的「類型三」。又例如,一控制為「門鈴開關被按下時,將門鈴響10秒」,則控制被拆解後的事件為「門鈴開關被按下」,因此,感測器類型為「一次性觸發」;控制被拆解後的動作為「門鈴響10秒」,因此,致動器類型為「有指定執行時間」。所以,自動分類後,此控制的時間窗屬於第三圖中的「類型二」。Therefore, when a control is generated, the event generated by the sensor and the action of the actuator can be controlled from then on, and then automatically classified according to the type of the sensor and the type of the actuator. For example, if the control is "the thermometer detects that the temperature is higher than 30 degrees, the cold air is turned on", then the event after the dismantling is controlled as "the thermometer detects that the temperature is higher than 30 degrees", therefore, the sensor type is "Conditional trigger"; the action after the control is disassembled is "air-conditioning", so the actuator type is "no execution time specified". Therefore, after automatic classification, the time window of this control belongs to "Type 3" in the third figure. For another example, if the control is "the doorbell is ringing for 10 seconds when the doorbell switch is pressed", the event after the control is disassembled is "the doorbell switch is pressed", so the sensor type is "one-time trigger". The action after the control is disassembled is "the doorbell rings for 10 seconds", so the actuator type is "the specified execution time". Therefore, after automatic classification, the time window of this control belongs to "Type 2" in the third figure.

自動分類後,可根據所得出的時間窗類型來決定控制的時間窗。換句話說,一控制的時間窗由此控制的感測器產生之事件與致動器之動作的類型共同決定。而同一目標致動器的一新控制與系統中的原控制是否衝突,可決定於此新控制的時間窗是否重疊於原控制之各自的時間窗。After automatic classification, the time window of control can be determined according to the type of time window obtained. In other words, the event generated by a controlled time window by the sensor is determined by the type of action of the actuator. Whether a new control of the same target actuator conflicts with the original control in the system determines whether the time window of the new control overlaps with the respective time window of the original control.

承上述,如第五圖所示,當一控制產生後,控制衝突偵測可包含自動分類510、控制時間窗產生520、以及自動偵測控制衝突是否發生530。當未偵測到控制衝突發生時,則進行控制執行(control execution);當偵測到控制衝突發生時,則解決此控制衝突。第六圖是根據一實施例,說明一控制衝突偵測器中各單元的組成,並且運作於一感測網路環境666中。第七圖是根據一實施例,說明此控制衝突偵測器的細部運作。As described above, as shown in FIG. 5, when a control is generated, the control conflict detection may include automatic classification 510, control time window generation 520, and automatic detection of whether a control conflict occurs 530. When no control conflict is detected, control execution is performed; when a control conflict is detected, the control conflict is resolved. The sixth diagram illustrates the composition of each unit in a control collision detector and operates in a sensing network environment 666, in accordance with an embodiment. The seventh figure illustrates the detailed operation of the control collision detector according to an embodiment.

請一併參考第六圖與第七圖。控制衝突偵測器600包含一控制分類單元(Control Classification Unit) 610、一時間窗決定單元(Time Window Determination Unit)620、以及一控制衝突決定單元(Conflict Determination Unit) 630。當一新控制610a進入控制衝突偵測器600時,控制分類單元610依照感測器與致動器的特性進行分類,從新控制610a中取得一感測器與一致動器的類型(步驟710),並且將感測器類型(sensor type) 612與致動器類型(actuator type) 614提供給時間窗決定單元620。時間窗決定單元620依據感測器的類型612與致動器的類型614,決定一時間窗622給新控制610a(步驟720)。當此致動器與至少一原控制的至少一目標致動器相同時,控制衝突決定單元630檢查新控制610a的時間窗622與此至少一原控制的至少一時間窗630a是否有重疊(步驟730)。Please refer to the sixth and seventh figures together. The control conflict detector 600 includes a Control Classification Unit 610, a Time Window Determination Unit 620, and a Control Determination Unit 630. When a new control 610a enters the control conflict detector 600, the control classification unit 610 classifies the characteristics of the sensor and the actuator, and obtains a type of sensor and actuator from the new control 610a (step 710). And a sensor type 612 and an actuator type 614 are supplied to the time window decision unit 620. The time window decision unit 620 determines a time window 622 for the new control 610a based on the type of sensor 612 and the type 614 of the actuator (step 720). When the actuator is identical to the at least one target actuator that is originally controlled, the control conflict determination unit 630 checks whether the time window 622 of the new control 610a overlaps with the at least one time window 630a of the at least one original control (step 730). ).

當新控制610a的時間窗622與此至少一原控制的時間窗630a有重疊時,控制衝突決定單元630判定新控制610a有控制衝突(步驟740),並通知一控制衝突解決模組640,來進行控制衝突解決程序。當時間窗622與時間窗630a沒有重疊時,控制衝突決定單元630判定新控制610a沒有控制衝突(步驟750),通知一控制執行模組(Control Execution Module) 650,來執行新控制610a的動作直到其時間窗622消失為止。When the time window 622 of the new control 610a overlaps with the at least one original control time window 630a, the control conflict decision unit 630 determines that the new control 610a has a control conflict (step 740), and notifies a control conflict resolution module 640. Conduct a control conflict resolution procedure. When the time window 622 and the time window 630a do not overlap, the control conflict decision unit 630 determines that the new control 610a has no control conflict (step 750), notifies a Control Execution Module 650 to perform the action of the new control 610a until Its time window 622 disappears.

根據本揭露實施例,在第六圖之感測網路環境666中,感測器690偵測的狀態成立時,可通知一控制產生模組(Control Generation Module)670產生新控制610a。當新控制610a的時間窗622與目前活動的控制的時間窗630a沒有重疊時,控制執行模組可通知與新控制610a有連結關係的致動器692來執行新控制610a的動作。控制衝突決定單元630可透過一控制管理模組(Control management Module)660,從一控制時間窗表單(Control Time Window List)680取得至少一原控制的時間窗630a,也可以透過控制管理模組660將新控制610a的時間窗622儲存於控制時間窗表單680。According to the embodiment of the present disclosure, in the sensing network environment 666 of the sixth figure, when the state detected by the sensor 690 is established, a control generation module 670 can be notified to generate a new control 610a. When the time window 622 of the new control 610a does not overlap with the currently active control time window 630a, the control execution module can notify the actuator 692 in a connected relationship with the new control 610a to perform the action of the new control 610a. The control conflict determination unit 630 can obtain at least one original control time window 630a from a control time window list 680 through a control management module 660, or can pass through the control management module 660. The time window 622 of the new control 610a is stored in the control time window form 680.

承上述,本揭露實施例之感測網路中使用的控制衝突偵測技術是以同一目標致動器的兩控制的作用時間(時間窗)有重疊時來決定發生控制衝突,並且是以一控制的事件(感測器類型)及動作(致動器類型)來決定此控制之時間窗的類型。所以,本揭露實施例之控制衝突偵測機制可以自動地依照一控制的事件及動作,產生此控制的時間窗;也可以有效地知道何時發生控制。當衝突發生時,此控制衝突偵測技術可以自動地偵測到控制衝突。In the above, the control conflict detection technology used in the sensing network of the embodiment of the present disclosure determines that a control conflict occurs when the action time (time window) of the two control of the same target actuator overlaps, and is a The controlled event (sensor type) and action (actuator type) determine the type of time window for this control. Therefore, the control conflict detection mechanism of the disclosed embodiment can automatically generate a time window of the control according to a controlled event and action; and can also effectively know when the control occurs. This control collision detection technique can automatically detect a control conflict when a conflict occurs.

當一機制偵測到一新控制與目前活動的控制發生衝突時,此機制需要控制衝突解決的技術來解決衝突。如之前所提及,本揭露實施例之控制衝突的管理機制除了包含控制衝突偵測的部份,還包含控制衝突解決的部份。並且控制衝突解決係依照不同的控制給予不同的屬性,還透過不同的模式來判斷控制屬性的優先順序。藉由控制屬性的優先順序,來仲裁兩控制的去留,以達成控制衝突的解決。換句話說,此控制衝突解決的部份包含了控制屬性的產生(control attribute generation)、優先權規則庫(priority rule repository)、控制衝突的仲裁(control arbitration)。When a mechanism detects that a new control conflicts with the currently active control, this mechanism needs to control the conflict resolution technique to resolve the conflict. As mentioned before, the management mechanism for controlling conflicts of the disclosed embodiment includes a part for controlling conflict resolution in addition to the part for controlling collision detection. And the control conflict resolution system gives different attributes according to different control, and also judges the priority order of the control attributes through different modes. By controlling the priority of the attributes, the two controls are arbitrated to achieve the resolution of the control conflict. In other words, the part of this control conflict resolution includes control attribute generation, priority rule repository, and control arbitration.

本揭露實施例將每一控制賦予相對應的控制屬性,此控制屬性可以標示此控制所具備的特性,例如,人為(artificial)、安全性(safety)、保全性(security)、舒適性(comfortableness)等,再搭配二元區分法來決定原控制或新控制的去留,以達成控制衝突的解決。二元區分法可以透過模式,動態地更動順序,以符合各種使用情境。Embodiments of the present disclosure assign each control a corresponding control attribute that can indicate characteristics of the control, such as artificial, safety, security, comfort (comfortableness) ), etc., combined with the binary distinction method to determine the original control or the new control to stay, in order to achieve the control conflict resolution. The binary distinction can dynamically change the order through patterns to conform to various usage scenarios.

根據本揭露實施例,當控制衝突發生時,比較兩控制的控制屬性,來決定控制的優先權。本揭露實施例依照控制之感測器(事件)與致動器(動作)的類型賦予控制屬性。一控制的控制屬性描述該控制的應用類別。控制屬性主要分為使用情境(application domain)、操作者資訊(user information)、以及位置資訊(location information),共三種。使用情境的類型包括如保全類型(security domain)、安全類型(safety domain)、以及舒適類型(comfortableness domain)、以及節能類型(energy saving domain)等。操作者資訊的類型包括如人為(artificial)、以及非人為(no artificial)。位置資訊(location information)有兩類型,包括區域內(inside)、以及區域外(outside)。According to an embodiment of the present disclosure, when a control conflict occurs, the control attributes of the two controls are compared to determine the priority of the control. Embodiments of the present disclosure impart control attributes in accordance with the type of sensor (event) and actuator (action) that are controlled. A controlled control attribute describes the application category of the control. Control attributes are mainly divided into three types: application domain, user information, and location information. Types of usage scenarios include, for example, a security domain, a safety domain, and a comfortable domain, and an energy saving domain. Types of operator information include, for example, artificial and non-artificial. There are two types of location information, including inside and outside.

當一控制的控制屬性屬於「使用情境」時,此控制的事件與動作必須是同一情境。例如:偵煙器偵測到煙霧(安全),將警報器開啟(安全),其中此控制的事件與動作皆為安全類型,所以,此控制的控制屬性為「安全類型」。所以,控制的控制屬性屬於「使用情境」時,可以由感測器(事件)類型及致動器(動作)類型的組合產生。當一控制的控制屬性屬於「操作者資訊」時,此控制屬性「操作者資訊」可以由感測器(事件)類型來決定。例如:遙控器按下按鍵(人為),將插座開啟(非人為),其中此控制的事件是人為,所以,此控制的控制屬性是「人為」。當一控制的控制屬性屬於「位置資訊」時,此控制的事件與動作如果在同一區域,則此控制的控制屬性是「區域內」;反之為「區域外」。例如:開關狀態為ON(客廳),開啟電燈(客廳),其中此控制的事件與動作在同一客廳,所以,此控制的控制屬性是「區域內」。When a control's control attribute belongs to the "use context", the event and action of this control must be the same situation. For example, the smoke detector detects smoke (safety) and turns the alarm on (safe). The events and actions of this control are all security types. Therefore, the control attribute of this control is "safe type". Therefore, when the control attribute of the control belongs to the "use context", it can be generated by a combination of the sensor (event) type and the actuator (action) type. When a control attribute belongs to "operator information", the control attribute "operator information" can be determined by the type of sensor (event). For example, if the remote control presses the button (man-made), the socket is turned on (non-human), and the event of this control is artificial, so the control attribute of this control is "man-made". When a control attribute belongs to "Location Information", if the event and action of this control are in the same area, the control attribute of this control is "in-area"; otherwise, it is "out-of-area". For example, the switch state is ON (living room), and the light (living room) is turned on, wherein the event and action of the control are in the same living room, so the control property of the control is "in-area".

承上述可以得知,一控制的控制屬性的來源即為此控制的感測器(事件)與致動器(動作)。為了自動賦予每一控制的控制屬性,本揭露實施例具備多種感測器及致動器的描述,其描述內容為感測器及致動器的屬性描述,包括使用情境、操作者資訊、以及位置資訊。第八A圖與第八B圖分別是根據本揭露實施例之感測器及致動器之屬性描述的一些範例。在第八A圖中,例如,開關(Switch)所對應的開啟/關閉(On/Off)事件之屬性描述為:使用情境(舒適)、操作者資訊(人為)、以及位置資訊(客廳)。在第八B圖中,例如,電燈(Light)所對應的開啟/關閉(Turn on/off)動作之屬性描述為:使用情境(舒適)、操作者資訊(人為)、以及位置資訊(客廳)。From the above, it can be known that the source of a controlled control attribute is the sensor (event) and actuator (action) controlled for this purpose. In order to automatically assign control properties to each control, the disclosed embodiments are described with a variety of sensors and actuators, the description of which is a description of the properties of the sensors and actuators, including usage context, operator information, and Location information. 8A and 8B are respectively some examples of the description of the attributes of the sensor and the actuator according to the embodiment of the present disclosure. In the eighth diagram, for example, the attributes of the On/Off event corresponding to the switch are described as: use context (comfort), operator information (man-made), and location information (living room). In the eighth diagram B, for example, the attributes of the Turn on/off action corresponding to the Light are described as: use context (comfort), operator information (man-made), and location information (living room) .

因此,知道一控制的感測器類型及致動器類型,並參照事先提供的感測器與致動器的屬性描述,就可以知道此控制的控制屬性。第九圖是根據本揭露一實施例,說明自動賦予控制的控制屬性的範例。參考第九圖,開關的事件分別有開啟(On)及關閉(Off),開啟及關閉事件的屬性描述皆為:使用情境(舒適)、操作者資訊(人為)、以及位置資訊(客廳)。電燈的動作分別有開啟(Turn on)及關閉(Turn off)動作;其中開啟(Turn on)動作的屬性描述為:使用情境(舒適)、操作者資訊(人為)、以及位置資訊(客廳),關閉(Turn off)動作的屬性描述為:使用情境(舒適)、操作者資訊(人為)、以及位置資訊(客廳)。因此,可以組合出控制A:當開關偵測到開啟事件時,觸發電燈執行開啟(Turn on)動作;然後,本揭露實施例依據偵測到開啟(On)事件的屬性描述、以及開啟(Turn on)動作的屬性描述,自動賦予控制A的控制屬性為舒適(comfortableness)、人為(artificial)、以及區域內(inside)。Therefore, knowing the type of sensor and the type of actuator that is controlled, and referring to the attribute descriptions of the sensors and actuators provided in advance, the control attributes of this control can be known. The ninth figure is an example of a control attribute for automatically giving control according to an embodiment of the present disclosure. Referring to the ninth figure, the events of the switch are ON and OFF, respectively. The attribute descriptions of the opening and closing events are: use context (comfort), operator information (man-made), and location information (living room). The action of the light lamp has Turn on and Turn off actions respectively; the properties of the Turn on action are described as: use context (comfort), operator information (man-made), and location information (living room). The properties of the Turn off action are described as: use context (comfort), operator information (man-made), and location information (living room). Therefore, the control A can be combined: when the switch detects the open event, the trigger light performs a Turn on action; then, the disclosed embodiment is based on the attribute description of the detected On event, and is turned on (Turn On the attribute description of the action, the control attributes automatically assigned to control A are comfortableness, artificial, and inside.

類似地,可以組合出控制B:當開關偵測到關閉(Off)時,觸發電燈執行關閉(Turn off)動作,然後,本揭露實施例依據關閉(Off)事件的屬性描述、以及關閉(Turn off)的動作的屬性描述,自動賦予控制B的控制屬性為舒適、人為、以及區域內。Similarly, control B can be combined: when the switch detects off (Off), the triggering light performs a Turn off action, and then, the disclosed embodiment is based on the attribute description of the Off event, and is turned off (Turn The attribute description of the action of off) automatically assigns the control attributes of control B to comfort, man-made, and intra-area.

在不同情境下,控制衝突的解決需要不同的優先權仲裁。取得控制的控制屬性之後,根據本揭露實施例,就可以透過比較控制屬性來決定控制的優先權。例如,依照不同的模式來判斷控制屬性的優先順序。這些模式如手動模式(Manual)、保全模式(Safety)、舒適節能情境模式、戶外模式等。手動模式是以「人為」的控制屬性具有最高優先權。保全模式是以「保全類型」的控制屬性具有最高優先權。舒適節能情境模式是以「舒適類型」的控制屬性具有最高優先權。戶外模式是以「區域外」的控制屬性具有最高優先權。In different situations, the resolution of control conflicts requires different priority arbitrations. After obtaining the control attributes of the control, according to the disclosed embodiment, the priority of the control can be determined by comparing the control attributes. For example, the priority order of the control attributes is judged according to different modes. These modes are manual mode, safety mode, comfortable energy saving mode, outdoor mode, and the like. The manual mode has the highest priority with the "man-made" control attribute. The security mode has the highest priority with the control attribute of the "preservation type". The comfort and energy saving situation mode has the highest priority with the control attribute of the "comfort type". The outdoor mode has the highest priority with the control attribute of "outside the area".

本揭露之控制衝突解決機制會依據當前模式,載入對應的優先權規則描述檔,依照描述檔中的優先權規則來決定控制的優先次序及相同優先權的解決方法,以解決控制衝突。根據本揭露一實施例,優先權規則的描述檔如第十圖的範例所示。在第十圖的範例中,一優先權規則的描述檔的描述內容可包含優先權名稱、第一優先屬性、第二優先屬性、...、最後優先屬性、以及最差情況。優先權名稱敘述該優先權規則使用的情境,例如:手動模式、保全模式等。控制衝突解決機制之控制衝突仲裁器是依照描述檔中的優先次序來描述這些屬性,愈先描述的屬性優先權越高。最差情況(worst case)是兩控制有相同優先權時的解決方式,例如採用先進先出(First In First Out,FIFO)、或是後進先出(Last In First Out,LIFO)、或是同時出等方式來決定。The control conflict resolution mechanism of the present disclosure loads the corresponding priority rule description file according to the current mode, and determines the priority of the control and the solution of the same priority according to the priority rule in the description file to solve the control conflict. According to an embodiment of the present disclosure, the description file of the priority rule is as shown in the example of the tenth figure. In the example of the tenth figure, the description content of the profile of a priority rule may include a priority name, a first priority attribute, a second priority attribute, ..., a last priority attribute, and a worst case. The priority name describes the context in which the priority rule is used, such as manual mode, security mode, and the like. The control conflict arbiter that controls the conflict resolution mechanism describes these attributes in accordance with the order of precedence in the description file, the higher the attribute priority described earlier. Worst case is the solution when the two controls have the same priority, such as First In First Out (FIFO), or Last In First Out (LIFO), or both. It is decided by the way.

因應不同的使用情境,三種不同模式產生的優先權規則描述檔的描述內容的範例如下。手動模式:人為>安全>保全,以及先進先出;保全模式:保全>安全>人為>舒適,以及先進先出;舒適情境模式:舒適>安全>保全,以及先進先出。根據本揭露實施例,控制衝突解決機制可依據以上規則來判斷兩個控制的優先權。這些優先權規則可以依據不同的使用情境來做動態的增減,並且相同優先權的解決方法也可以依據使用情境來做動態的調整。An example of the description of the priority rule description file generated by the three different modes is as follows in response to different usage scenarios. Manual mode: Man-made > Security > Security, and FIFO; Security mode: Security > Security > Human > Comfort, and FIFO; Comfort Situation Mode: Comfort > Security > Security, and FIFO. According to the disclosed embodiment, the control conflict resolution mechanism may determine the priority of the two controls according to the above rules. These priority rules can be dynamically increased or decreased depending on the usage context, and the same priority solution can also be dynamically adjusted based on the usage context.

根據本揭露實施例,控制的優先權比較是依序比對控制是否存有控制屬性。藉由比較兩控制的優先權,控制衝突的仲裁說明如下。首先,比對最優先的控制屬性,若兩控制僅單一方擁有該控制屬性,則該控制為優勝;若兩控制同時有或同時沒有該控制屬性時,則繼續比較次一優先的控制屬性,依序比對到最後。若兩方優先權皆相同時,則可以再採用先進先出(FIFO)、或是後進先出(LIFO)、或是同時出等方式來決定。先進先出(FIFO)的結果是新控制獲勝;後進先出(LIFO)結果的結果是原控制獲勝;同時出的結果是兩方皆失敗,重新爭取。According to an embodiment of the present disclosure, the priority comparison of the control is whether the control attribute exists in the sequential comparison control. By comparing the priorities of the two controls, the arbitration for controlling the conflict is explained below. First, comparing the highest priority control attribute, if the two controls only have the control attribute, the control is superior; if the two controls have or do not have the control attribute at the same time, then continue to compare the next priority control attribute, Sequentially compared to the end. If both parties have the same priority, they can be determined by first-in, first-out (FIFO), or last-in first-out (LIFO), or simultaneous. The result of the first in first out (FIFO) is that the new control wins; the result of the LIFO result is that the original control wins; at the same time, both parties fail and regain.

本揭露之控制衝突仲裁機制可具備多條衝突管理規則來達成控制衝突的解決。其中,每一衝突管理規則是以二元區分法來判斷控制的優先權。此多條衝突管理規則中,有一規則是區分「人為」與「非人為」,並且「人為」的優先權大於「非人為」;有一規則是區分「安全」與「非安全」,並且「安全」的優先權大於「非安全」。有一規則是區分「相同區域」與「相異區域」,並且「相同區域」的優先權大於「相異區域」。The control conflict arbitration mechanism disclosed in the present disclosure may have multiple conflict management rules to achieve control conflict resolution. Among them, each conflict management rule is based on the binary distinction method to judge the priority of control. Among the various conflict management rules, one rule distinguishes between "man-made" and "non-human", and the priority of "man-made" is greater than "non-human"; there is a rule that distinguishes between "safe" and "non-safe" and "safe" The priority is greater than "non-secure". There is a rule that distinguishes between "same area" and "different area", and the priority of "same area" is greater than "different area".

承上述,第十一A圖與第十一B圖是依照一手動模式的優先權規則描述檔,以二元區分法來仲裁兩控制的優先權。參考第十一A圖,此手動模式的優先權規則描述檔的描述內容為:手動模式,人為>安全>區域內,以及先進先出。在第十一B圖中,控制A為原控制,控制B為新控制。所以,當偵測到控制B與控制A發生衝突時,依照此手動模式的優先權順序,此二元區分法先比對控制A與控制B的屬性是否為「人為」?當對控制A的屬性是「人為」且控制B的屬性是「非人為」時,則判定控制A為優勝;當控制A的屬性「非人為」且控制B的屬性是「人為」時,則判定控制B為優勝。In view of the above, the 11th and 11th B diagrams are based on a manual mode priority rule description file, and the priority of the two controls is arbitrated by a binary method. Referring to Figure 11A, the description of the priority rule description file of this manual mode is: manual mode, man-made > security > zone, and first in, first out. In the eleventh B-picture, control A is the original control and control B is the new control. Therefore, when it is detected that the control B and the control A collide, according to the priority order of the manual mode, the binary distinction first compares whether the attributes of the control A and the control B are "artificial". When the attribute of the control A is "man-made" and the attribute of the control B is "non-human", it is determined that the control A is superior; when the attribute of the control A is "non-human" and the attribute of the control B is "man-made", then It is determined that control B is superior.

當控制A與控制B的屬性都是「人為」、或都是「非人為」時,此二元區分法比對控制A與控制B的屬性是否為「安全」?類似地,當控制A與控制B中,僅有一控制的屬性是「安全」時,則判定屬性是「安全」的該控制為優勝。當控制A與控制B的屬性都是「安全」、或都是「非安全」時,此二元區分法比對控制A與控制B的屬性是否為「區域內」?類似地,當控制A與控制B中,僅有一控制的屬性是「區域內」時,則判定屬性是「區域內」的該控制為優勝。當控制A與控制B有相同優先權的屬性時,則依先進先出,判定新控制B為優勝。When the attributes of Control A and Control B are both "man-made" or "non-human", does this binary method compare the attributes of Control A and Control B to "safe"? Similarly, when only one control attribute is "safe" in control A and control B, then the control that determines that the attribute is "safe" is superior. When the attributes of Control A and Control B are both "safe" or "non-secure", does this binary method compare the attributes of Control A and Control B to "in-area"? Similarly, when only one control attribute in the control A and the control B is "in-area", it is determined that the attribute is "in-area" and the control is superior. When the control A and the control B have the same priority attribute, the new control B is determined to be superior according to the first in first out.

承上述說明,第十二圖是根據一實施例,說明一控制衝突解決模組(Control Conflict Resolution Module)中各單元的組成,並且運作於一感測網路環境中。第十三圖是根據一實施例,說明此控制衝突解決模組的細部運作。請一併參考第十二圖與第十三圖。在第十二圖中,控制衝突解決模組640包含一控制屬性產生單元(control attribute generation unit)1210、一優先權規則庫1220、以及一控制衝突仲裁器(conflict arbiter)1230。當控制衝突偵測器600通知控制衝突解決模組1200新控制發生衝突時,控制屬性產生單元1210產生此新控制的控制屬性,並提供給控制衝突仲裁器1230。例如,控制屬性產生單元1210可藉由此新控制的感測器類型及致動器類型,來賦予此新控制的控制屬性,如第十三圖之步驟1310所示。控制衝突仲裁器1230可依據一當前模式,從優先權規則庫1220取得對應的優先權規則,如第十三圖之步驟1320所示;並根據此優先權規則,來比較此新控制與至少一原控制的控制屬性,如第十三圖之步驟1330所示;以仲裁此新控制與此至少一原控制中何者為勝出者。In the above description, the twelfth figure illustrates the composition of each unit in a Control Conflict Resolution Module and operates in a sensing network environment, according to an embodiment. A thirteenth diagram illustrates the detailed operation of the control conflict resolution module in accordance with an embodiment. Please refer to the twelfth and thirteenth drawings together. In the twelfth figure, the control conflict resolution module 640 includes a control attribute generation unit 1210, a priority rule base 1220, and a control conflict arbiter 1230. When the control conflict detector 600 notifies the control conflict resolution module 1200 that a new control conflict occurs, the control attribute generating unit 1210 generates the control attribute of the new control and supplies it to the control conflict arbiter 1230. For example, the control attribute generation unit 1210 can assign the control attribute of the new control by the sensor type and the actuator type thus newly controlled, as shown in step 1310 of the thirteenth diagram. The control conflict arbiter 1230 may retrieve the corresponding priority rule from the priority rule base 1220 according to a current mode, as shown in step 1320 of the thirteenth figure; and compare the new control with at least one according to the priority rule. The control attribute of the original control is as shown in step 1330 of the thirteenth figure; to arbitrate the new control and which of the at least one original control is the winner.

例如,控制衝突仲裁器1230可檢查此新控制是否有較高的優先權,如第十三圖之步驟1340所示;當新控制比此至少一原控制的優先權高時,判定新控制為勝出者,如第十三圖之步驟1350所示;並可通知控制執行模組650,來執行新控制的動作。當新控制比此至少一原控制的優先權低時,判定此至少一原控制為勝出者,如第十三圖之步驟1360所示。控制衝突仲裁器1230可透過控制管理模組660將最新有效的控制更新至一控制元素庫(control element storage)。For example, the control conflict arbiter 1230 can check whether the new control has a higher priority, as shown in step 1340 of the thirteenth diagram; when the new control has a higher priority than the at least one original control, the new control is determined to be The winner is shown in step 1350 of the thirteenth diagram; and the control execution module 650 can be notified to perform the action of the new control. When the new control is lower than the priority of the at least one original control, it is determined that the at least one original control is the winner, as shown in step 1360 of the thirteenth figure. The control conflict arbiter 1230 can update the most recent valid control to a control element storage through the control management module 660.

所以,本揭露實施例之控制衝突解決模組可以自動地依照感測器及致動器給予控制屬性;可以自動地依照不同情境,給予不同的優先次序的仲裁;以及可以自動地解決控制衝突。Therefore, the control conflict resolution module of the disclosed embodiment can automatically give control attributes according to the sensors and actuators; can automatically give different prioritized arbitration according to different situations; and can automatically resolve control conflicts.

如之前所述,本揭露之感測網路中管理控制衝突的機制主要包含控制衝突偵測、以及控制衝突解決。承上述,第十四圖是根據本揭露一實施例,說明一種感測網路中管理控制衝突的系統。在第十四圖的實施例中,。管理控制衝突的系統1400可包含控制衝突偵測器600、以及控制衝突解決模組640。控制衝突偵測器600依照從新控制610a中取得的一感測器的類型、以及一致動器的類型,決定新控制610a的時間窗622,並且當此致動器與至少一原控制的至少一目標致動器相同且時間窗622與此至少一原控制的至少一時間窗有重疊時,判定發生衝突1400b並通知控制衝突解決模組640。控制衝突解決模組640產生新控制610a的一控制屬性,並依據多種不同模式中的一模式來比較新控制與此至少一原控制的控制屬性,以仲裁此新控制與此至少一原控制中何者為勝出者。As described above, the mechanism for managing control conflicts in the sensing network of the present disclosure mainly includes controlling conflict detection and controlling conflict resolution. In view of the above, FIG. 14 is a diagram illustrating a system for managing control conflicts in a sensing network in accordance with an embodiment of the present disclosure. In the embodiment of the fourteenth figure, The system 1400 that manages control conflicts can include a control conflict detector 600 and a control conflict resolution module 640. The control conflict detector 600 determines the time window 622 of the new control 610a in accordance with the type of sensor taken from the new control 610a and the type of the actuator, and when the actuator is associated with at least one target of the original control When the actuators are the same and the time window 622 overlaps with the at least one time window of the at least one original control, it is determined that the conflict 1400b occurs and the control conflict resolution module 640 is notified. The control conflict resolution module 640 generates a control attribute of the new control 610a, and compares the new control with the control attribute of the at least one original control according to one of the plurality of different modes to arbitrate the new control and the at least one original control Which is the winner.

如之前所述,控制衝突解決模組可依據多種不同模式中的一模式,從一優先權規則庫取得對應的至少一優先權規則,並根據此至少一優先權規則,比較新控制與此至少一原控制的控制屬性。當新控制比此至少一原控制的優先權低時,管理控制衝突的系統1400可藉由控制管理模組660將新控制610a從一控制元素庫中移除。當新控制比此至少一原控制的優先權高時,可將新控制610a寫入此控制元素庫中,並且通知控制執行模組650來執行新控制610a的動作。As described above, the control conflict resolution module may obtain a corresponding at least one priority rule from a priority rule base according to one of a plurality of different modes, and compare the new control with the at least one priority rule according to the at least one priority rule. The control attribute of an original control. When the new control has a lower priority than the at least one original control, the system 1400 that manages the control conflict can remove the new control 610a from a library of control elements by the control management module 660. When the new control has a higher priority than the at least one original control, the new control 610a can be written to the control element library and the control execution module 650 can be notified to perform the action of the new control 610a.

承上述,第十五圖是根據本揭露一實施例,說明一種感測網路中管理控制衝突的方法。在第十五圖中,此管理控制衝突的方法依照從一新控制中取得的一感測器的類型、以及一致動器的類型,決定此新控制的一時間窗並賦予一控制屬性(步驟1510);並且,當此致動器與至少一原控制的至少一目標致動器相同,且此時間窗與此至少一原控制的至少一時間窗有重疊時,判定發生衝突(步驟1520)。當發生衝突時,方法1500根據至少一優先權規則,比較此控制屬性與此至少一原控制的至少一控制屬性的優先次序,來仲裁此新控制與此至少一原控制中何者為勝出者(步驟1530)。In the above, the fifteenth figure illustrates a method for managing control conflicts in a sensing network according to an embodiment of the present disclosure. In the fifteenth figure, the method of managing the control conflict determines a time window of the new control and assigns a control attribute according to the type of a sensor obtained from a new control and the type of the actuator (step 1510); and, when the actuator is identical to the at least one target actuator that is originally controlled, and the time window overlaps with the at least one time window of the at least one original control, it is determined that a conflict occurs (step 1520). When a conflict occurs, the method 1500 compares the priority of the control attribute with the at least one control attribute of the at least one original control according to at least one priority rule to arbitrate which of the at least one original control is the winner ( Step 1530).

綜上所述,本揭露實施例提供一種以時間窗為基礎的控制衝突管理機系統與方法。在控制衝突偵測的方面是依照不同控制的感測器(事件)及致動器(動作)類型,產生的不同時間窗,來提升控制衝突偵測的精確率。在控制衝突解決的方面,揭示一種模式選擇的二元區分法來解決衝突。在感測網路中,本揭露實施例可以自動地偵測衝突;當發生控制衝突時,可依據目前設定的模式,自動地作出正確的仲裁。In summary, the disclosed embodiments provide a time window based control conflict management machine system and method. In the aspect of controlling collision detection, different time windows generated according to different types of sensors (events) and actuators (actions) are controlled to improve the accuracy of control collision detection. In the aspect of controlling conflict resolution, a binary distinction of mode selection is revealed to resolve conflicts. In the sensing network, the disclosed embodiment can automatically detect conflicts; when a control conflict occurs, the correct arbitration can be automatically made according to the currently set mode.

以上所述者僅為本揭露實施例,當不能依此限定本揭露實施之範圍。即大凡本發明申請專利範圍所作之均等變化與修飾,皆應仍屬本發明專利涵蓋之範圍。The above is only the embodiment of the disclosure, and the scope of the disclosure is not limited thereto. That is, the equivalent changes and modifications made by the scope of the present invention should remain within the scope of the present invention.

100...智慧型節能辦公室100. . . Smart Energy Saving Office

110...專屬區110. . . Exclusive area

120...公開區120. . . Public area

510...自動分類510. . . Automatic classification

520...控制時間窗產生520. . . Control time window generation

530...自動偵測控制衝突是否發生530. . . Automatically detect if control conflicts occur

600...控制衝突偵測器600. . . Control conflict detector

610...控制分類單元610. . . Control classification unit

620...時間窗決定單元620. . . Time window decision unit

630...控制衝突決定單元630. . . Control conflict decision unit

640...控制衝突解決模組640. . . Control conflict resolution module

650...控制執行模組650. . . Control execution module

660...控制管理模組660. . . Control management module

670...控制產生模組670. . . Control generation module

666...感測網路環境666. . . Sensing network environment

680...控制時間窗表單680. . . Control time window form

610a...新控制610a. . . New control

612...感測器類型612. . . Sensor type

614...致動器類型614. . . Actuator type

622、630a...時間窗622, 630a. . . Time Window

690...感測器690. . . Sensor

692...致動器692. . . Actuator

710...從新控制中取得一感測器與致一動器的類型710. . . Get a type of sensor and actuator from the new control

720...依據感測器類型與致動器類型,決定一時間窗給新控制720. . . Determine a time window for new control based on sensor type and actuator type

730...檢查新控制的時間窗與此至少一原控制的時間窗是否有重疊730. . . Check if the time window of the new control overlaps with the time window of at least one of the original controls

740...判定新控制有控制衝突740. . . Determine that the new control has a control conflict

750...判定新控制沒有控制衝突750. . . Determine that the new control has no control conflicts

1200...控制衝突解決模組1200. . . Control conflict resolution module

1210...控制屬性產生單元1210. . . Control attribute generation unit

1220...優先權規則庫1220. . . Priority rule base

1230...控制衝突仲裁器1230. . . Control conflict arbiter

1310...藉由新控制的感測器類型及致動器類型,來賦予新控制的控制屬性1310. . . Controlling properties for new controls with newly controlled sensor types and actuator types

1320...依據一當前模式,從優先權規則庫取得對應的優先權規則1320. . . According to a current mode, the corresponding priority rule is obtained from the priority rule base

1330...比較此新控制與至少一原控制的控制屬性1330. . . Compare this new control with at least one of the original control's control properties

1340...檢查新控制是否有較高的優先權1340. . . Check if the new control has a higher priority

1350...判定新控制勝出1350. . . Determine that the new control wins

1360...判定此至少一原控制勝出1360. . . Determining that at least one original control wins

1400...管理控制衝突的系統1400. . . Manage systems that control conflicts

1510...依照從一新控制中取得的一感測器的類型、以及一致動器的類型,決定此新控制的一時間窗並賦予一控制屬性1510. . . Determining a time window of the new control and assigning a control attribute according to the type of a sensor obtained from a new control and the type of the actuator

1520...當此致動器與至少一原控制的至少一目標致動器相同,且此時間窗與此至少一原控制的至少一時間窗有重疊時,判定發生衝突1520. . . Determining a conflict when the actuator is identical to at least one of the originally controlled at least one target actuators, and the time window overlaps with the at least one time window of the at least one original control

1530...當發生衝突時,根據至少一優先權規則,比較此控制屬性與此至少一原控制的至少一控制屬性的優先次序,來仲裁此新控制與此至少一原控制中何者為勝出者1530. . . When a conflict occurs, comparing the control attribute with the at least one control attribute of the at least one control attribute according to at least one priority rule to arbitrate the new control and the at least one of the original controls as the winner

第一圖是一衝突解決技術的應用情境的一範例示意圖。The first figure is an example schematic diagram of an application scenario of a conflict resolution technique.

第二A圖是根據本揭露一實施例的範例示意圖,說明兩控制的發生有些微的時間差時,也可能會產生控制衝突。The second A is a schematic diagram of an example according to an embodiment of the present disclosure. When a slight time difference between the two controls occurs, a control conflict may also occur.

第二B圖是根據本揭露一實施例的範例示意圖,說明兩控制的發生有很大的時間差時,也可能會產生控制衝突。The second B is a schematic diagram of an example according to an embodiment of the present disclosure. When a large time difference occurs between the two controls, a control conflict may also occur.

第三圖是根據本揭露一實施例,說明四種類型的時間窗。The third figure illustrates four types of time windows in accordance with an embodiment of the present disclosure.

第四圖是根據本揭露一實施例,說明在一感測網路系統中,多個控制在時間上的一示意圖。The fourth figure is a schematic diagram illustrating the temporal control of a plurality of controls in a sensing network system in accordance with an embodiment of the present disclosure.

第五圖是根據本揭露一實施例,說明控制衝突偵測包含的部分。The fifth figure illustrates the portion included in the control collision detection according to an embodiment of the present disclosure.

第六圖是根據本揭露一實施例,說明控制衝突偵測器中各單元的組成,並且運作於一感測網路環境中。The sixth figure illustrates the composition of each unit in the control collision detector according to an embodiment of the disclosure, and operates in a sensing network environment.

第七圖是根據本揭露一實施例,說明控制衝突偵測器的細部運作。The seventh figure illustrates the detailed operation of controlling the collision detector according to an embodiment of the present disclosure.

第八A圖是根據本揭露一實施例,說明感測器之屬性描述的範例。Eighth A is an illustration of an attribute description of a sensor in accordance with an embodiment of the present disclosure.

第八B圖是根據本揭露一實施例,說明致動器之屬性描述的範例。FIG. 8B is an illustration of an example of an attribute description of an actuator in accordance with an embodiment of the present disclosure.

第九圖是根據本揭露一實施例,說明自動賦予控制的控制屬性的範例。The ninth figure is an example of a control attribute for automatically giving control according to an embodiment of the present disclosure.

第十圖是根據本揭露一實施例,優先權規則的描述檔的範例。The tenth figure is an example of a description file of a priority rule according to an embodiment of the present disclosure.

第十一A圖與第十一B圖是根據本揭露一實施例,依照一手動模式的優先權規則描述檔,以二元區分法來仲裁兩控制的優先權。11A and 11B are diagrams for arbitrating the priority of two controls in a binary distinction according to a manual mode priority rule description file according to an embodiment of the present disclosure.

第十二圖是根據本揭露一實施例,說明一控制衝突解決模組中各單元的組成,並且運作於一感測網路環境中。The twelfth figure illustrates the composition of each unit in a control conflict resolution module according to an embodiment of the present disclosure, and operates in a sensing network environment.

第十三圖是根據本揭露一實施例,說明此控制衝突解決模組的細部運作。The thirteenth figure illustrates the detailed operation of the control conflict resolution module according to an embodiment of the present disclosure.

第十四圖是根據本揭露一實施例,說明一種感測網路中管理控制衝突的系統。Figure 14 is a diagram illustrating a system for managing control conflicts in a sensing network in accordance with an embodiment of the present disclosure.

第十五圖是根據本揭露一實施例,說明一種感測網路中管理控制衝突的方法。The fifteenth figure illustrates a method of managing control conflicts in a sensing network in accordance with an embodiment of the present disclosure.

1400...管理控制衝突的系統1400. . . Manage systems that control conflicts

600...控制衝突偵測器600. . . Control conflict detector

640...控制衝突解決模組640. . . Control conflict resolution module

650...控制執行模組650. . . Control execution module

660...控制管理模組660. . . Control management module

610a...新控制610a. . . New control

690...感測器690. . . Sensor

692...致動器692. . . Actuator

670...控制產生模組670. . . Control generation module

Claims (24)

一種感測網路中管理控制衝突的系統,包含:一控制衝突偵測器,依照從一新控制中取得的一感測器的類型、以及一致動器的類型,決定該新控制的一時間窗,並且當該致動器與至少一原控制的至少一目標致動器相同且該時間窗與該至少一原控制的至少一時間窗有重疊時,判定該新控制有控制衝突;以及一控制衝突解決模組,產生該新控制的一控制屬性,並且比較該控制屬性與該至少一原控制的至少一控制屬性,以仲裁該新控制與該至少一原控制中何者為勝出者。A system for sensing control conflicts in a network, comprising: a control conflict detector, determining a time of the new control according to a type of sensor obtained from a new control and a type of the actuator a window, and when the actuator is identical to at least one of the originally controlled at least one target actuators and the time window overlaps with the at least one time window of the at least one original control, determining that the new control has a control conflict; and Controlling the conflict resolution module, generating a control attribute of the new control, and comparing the control attribute with the at least one control attribute of the at least one original control to arbitrate which of the at least one original control is the winner. 如申請專利範圍第1項所述之管理控制衝突的系統,其中該控制衝突偵測器透過一控制管理模組,從一控制時間窗表單取得該至少一原控制的該至少一時間窗。The system for managing conflicts of control according to claim 1, wherein the control conflict detector obtains the at least one time window of the at least one original control from a control time window form through a control management module. 如申請專利範圍第1項所述之管理控制衝突的系統,其中該控制衝突解決模組經由一控制衝突仲裁器,依據多種不同模式中的一模式,從一優先權規則庫取得對應的至少一優先權規則,並根據該至少一優先權規則,比較該新控制與該至少一原控制的該至少一控制屬性。The system for managing conflicts of control according to claim 1, wherein the control conflict resolution module obtains at least one corresponding from a priority rule base according to one of a plurality of different modes via a control conflict arbiter a priority rule, and comparing the new control with the at least one control attribute of the at least one original control according to the at least one priority rule. 如申請專利範圍第1項所述之管理控制衝突的系統,其中該感測網路中的多個控制的每一控制有一各自的作用時間,該作用時間被定義為該控制的時間窗。A system for managing conflicts of control as described in claim 1, wherein each of the plurality of controls in the sensing network has a respective duration of time, the duration of time being defined as a time window of the control. 如申請專利範圍第1項所述之管理控制衝突的系統,該系統利用一控制屬性產生單元,對該感測網路中多個控制的每一控制,根據其感測器類型及致動器類型,賦予一控制屬性。A system for managing conflicts of control as described in claim 1, wherein the system utilizes a control attribute generation unit for each control of the plurality of controls in the sensing network, based on its sensor type and actuator Type, given a control attribute. 如申請專利範圍第4項所述之管理控制衝突的系統,其中該多個控制的每一控制的時間窗的長度是由該控制的感測器與致動器的類型共同決定。A system for managing conflicts of control as described in claim 4, wherein the length of the time window of each of the plurality of controls is determined by the type of the sensor and the actuator being controlled. 如申請專利範圍第3項所述之管理控制衝突的系統,其中該至少一優先權規則係依據不同的使用情境做動態的增減。The system for managing conflicts of management as described in claim 3, wherein the at least one priority rule is dynamically increased or decreased according to different usage scenarios. 如申請專利範圍第3項所述之管理控制衝突的系統,其中,當該新控制比該至少一原控制的優先權低時,該系統將該控制從一控制元素庫中移除,當該新控制比該至少一原控制的優先權高時,將該新控制寫入該控制元素庫中。A system for managing conflicts of control as described in claim 3, wherein when the new control has a lower priority than the at least one original control, the system removes the control from a control element library when the When the new control has a higher priority than the at least one original control, the new control is written into the control element library. 如申請專利範圍第3項所述之管理控制衝突的系統,其中該控制衝突解決模組還包括具有多條衝突管理規則的一控制衝突仲裁器。The system for managing conflicts of control as described in claim 3, wherein the control conflict resolution module further comprises a control conflict arbiter having a plurality of conflict management rules. 一種感測網路中管理控制衝突的方法,包含:依照從一新控制中取得的一感測器的類型、以及一致動器的類型,決定該新控制的一時間窗並賦予一控制屬性;當該致動器與至少一原控制的至少一目標致動器相同,且該時間窗與該至少一原控制的至少一時間窗有重疊時,判定該新控制有控制衝突;以及當發生衝突時,根據至少一優先權規則,比較該新控制與該至少一原控制的控制屬性的優先次序,來仲裁該新控制與該至少一原控制中何者為勝出者。A method for sensing a control conflict in a network includes: determining a time window of the new control and assigning a control attribute according to a type of a sensor obtained from a new control and a type of the actuator; Determining that the new control has a control conflict when the actuator is identical to at least one of the originally controlled at least one target actuators, and the time window overlaps with the at least one time window of the at least one original control; and when a conflict occurs And comparing, according to the at least one priority rule, the priority of the new control and the control attribute of the at least one original control to arbitrate which of the at least one original control is the winner. 如申請專利範圍第10項所述之管理控制衝突的方法,其中該方法係依照不同的控制給予不同的控制屬性,並且透過不同的模式來判斷控制屬性的優先順序。The method for managing conflicts of management as described in claim 10, wherein the method assigns different control attributes according to different controls, and determines the priority order of the control attributes through different modes. 如申請專利範圍第10項所述之管理控制衝突的方法,其中該方法具備多條衝突管理規則來達成控制衝突的解決,並且,該多條衝突管理規則的每一衝突管理規則是以一種二元區分法來判斷控制的優先權。The method for managing conflicts of management as described in claim 10, wherein the method has multiple conflict management rules to achieve control conflict resolution, and each conflict management rule of the plurality of conflict management rules is a type II The meta-differentiation method is used to judge the priority of control. 如申請專利範圍第12項所述之管理控制衝突的方法,其中該多條衝突管理規則中,有一規則是區分人為與非人為,並且人為的優先權大於非人為。有一規則是區分。For example, the method for managing conflicts of management described in claim 12, wherein one of the plurality of conflict management rules distinguishes between artificial and non-human, and the artificial priority is greater than non-human. There is a rule that distinguishes. 如申請專利範圍第12項所述之管理控制衝突的方法,其中該多條衝突管理規則中,有一規則是區分安全與非安全,並且安全的優先權大於非安全。The method for managing conflicts of management as described in claim 12, wherein one of the plurality of conflict management rules distinguishes between security and non-security, and the priority of security is greater than non-security. 如申請專利範圍第12項所述之管理控制衝突的方法,其中該多條衝突管理規則中,有一規則是區分相同區域與相異區域,並且相同區域的優先權大於相異區域。The method for managing conflicts of management as described in claim 12, wherein one of the plurality of conflict management rules distinguishes between the same area and the different area, and the priority of the same area is greater than the different area. 如申請專利範圍第10項所述之管理控制衝突的方法,其中該方法依據一當前模式,載入一對應的優先權規則描述檔,並根據該描述檔中的該至少一優先權規則來決定控制的優先次序及相同優先權的解決方法。The method for managing conflicts of management as described in claim 10, wherein the method loads a corresponding priority rule description file according to a current mode, and determines according to the at least one priority rule in the description file. Control prioritization and resolution of the same priority. 如申請專利範圍第10項所述之管理控制衝突的方法,其中該方法將感測器的類型分為一次性觸發、以及條件性觸發,並且將致動器的類型分為沒有指定執行時間、以及有指定執行時間。A method for managing conflicts of control as described in claim 10, wherein the method divides the type of the sensor into a one-time trigger and a conditional trigger, and divides the type of the actuator into no specified execution time, And have a specified execution time. 如申請專利範圍第17項所述之管理控制衝突的方法,其中該一次性觸發是指感測器僅能偵測單一狀態,並且在該狀態成立時觸發事件。The method for managing conflicts of control as described in claim 17 wherein the one-time trigger means that the sensor can only detect a single state and trigger an event when the state is established. 如申請專利範圍第17項所述之管理控制衝突的方法,其中該條件性觸發是指感測器有偵測兩個以上的連續狀態的功能,並且於至少一指定狀態成立時觸發事件。The method for managing control conflicts as described in claim 17 wherein the conditional triggering refers to a function of the sensor detecting more than two consecutive states, and triggering an event when at least one specified state is established. 如申請專利範圍第10項所述之管理控制衝突的方法,其中當該新控制比該至少一原控制的優先權高時,該新控制是該勝出者。A method of managing a control conflict as described in claim 10, wherein the new control is the winner when the new control has a higher priority than the at least one original control. 如申請專利範圍第17項所述之管理控制衝突的方法,其中當一控制的感測器的類型為一次性觸發、以及致動器的類型為沒有指定執行時間時,該控制的時間窗的長度為無限。A method for managing conflicts of control as described in claim 17, wherein when the type of a controlled sensor is a one-time trigger and the type of the actuator is a specified execution time, the time window of the control The length is unlimited. 如申請專利範圍第17項所述之管理控制衝突的方法,其中當一控制的感測器的類型為一次性觸發、以及致動器的類型為有指定執行時間時,該控制的時間窗的長度為該指定執行時間。A method for managing conflicts of control as described in claim 17, wherein when the type of the controlled sensor is a one-time trigger and the type of the actuator is a specified execution time, the time window of the control The length is the specified execution time. 如申請專利範圍第17項所述之管理控制衝突的方法,其中當一控制的感測器的類型為條件性觸發、以及致動器的類型為沒有指定執行時間時,該控制的時間窗於該控制的事件條件成立時產生,而於該控制的事件條件不成立時消失。The method for managing conflicts of control as described in claim 17, wherein when the type of the controlled sensor is conditional triggering and the type of the actuator is no specified execution time, the time window of the control is The event condition of the control is generated when it is established, and disappears when the event condition of the control is not established. 如申請專利範圍第17項所述之管理控制衝突的方法,其中當一控制的感測器的類型為條件性觸發、以及致動器的類型為有指定執行時間時,該控制的時間窗於該控制的事件條件成立時產生,並且於事件的條件不成立時消失或是最長為於該指定執行時間結束後消失。The method for managing conflicts of control as described in claim 17, wherein when the type of the controlled sensor is conditional triggering and the type of the actuator is a specified execution time, the time window of the control is The event condition of the control is generated when it is established, and disappears when the condition of the event is not established or the longest disappears after the specified execution time ends.
TW101115387A 2012-04-30 2012-04-30 System and method for conflict management in sensor networks TW201345211A (en)

Priority Applications (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
CN201210183941.4A CN103376787B (en) 2012-04-30 2012-06-05 System and method for sensing management control conflicts in a network

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
TW201345211A true TW201345211A (en) 2013-11-01

Family

ID=49462050

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10146716B2 (en) 2015-12-28 2018-12-04 Wiwynn Corporation Method for using shared device and resource sharing system
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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN110471300B (en) * 2019-08-23 2022-12-06 杭州行至云起科技有限公司 Conflict coordination method and system for multiple intelligent scenes

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7620659B2 (en) * 2007-02-09 2009-11-17 Microsoft Corporation Efficient knowledge representation in data synchronization systems
JP4479813B2 (en) * 2008-03-18 2010-06-09 ソニー株式会社 COMMUNICATION DEVICE AND COMMUNICATION METHOD, COMMUNICATION SYSTEM, AND COMPUTER PROGRAM
TWI442200B (en) * 2011-03-02 2014-06-21 Ind Tech Res Inst Method and apparatus of binding sensors and actuators automatically
CN102185966B (en) * 2011-03-29 2013-08-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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10146716B2 (en) 2015-12-28 2018-12-04 Wiwynn Corporation Method for using shared device and resource sharing system
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

Also Published As

Publication number Publication date
CN103376787B (en) 2016-02-03
CN103376787A (en) 2013-10-30

Similar Documents

Publication Publication Date Title
US11133953B2 (en) Systems and methods for home automation control
US11243502B2 (en) Interactive environmental controller
TW201345211A (en) System and method for conflict management in sensor networks
US10488833B2 (en) Control system
US10499412B2 (en) Bandwidth throttling based on home occupancy
WO2013103071A1 (en) Device control apparatus, program, device control server, and device control system
US10217350B2 (en) Adaptive exception handling in security system
US20130293115A1 (en) Automatically configuring of a lighting
US10306401B2 (en) Systems and methods for learning and controlling area zones
US10671033B2 (en) Ubiquitous computing methods and apparatus
KR20080006981A (en) System and method for offering intelligent home service
CN112602305B (en) Method and device for managing missing event
JP7281684B2 (en) Display method, device information output system, device information output method, and program
Eltaleb et al. Smart home sensor systems: Advancements and applications
JP6027393B2 (en) Facility management system and method
WO2021052273A1 (en) Creation method for action resource, execution method, electronic device, and storage medium
WO2021052284A1 (en) Method for creating and method for executing action resource, electronic device, and storage medium
JP7325033B2 (en) Management system and management method
Ajayi et al. Design and Implementation of a WiFi-Enabled Home Automation System.
WO2023186382A1 (en) Subject monitoring
CN111965982A (en) Method and device for creating action resource and triggering operation aiming at target resource
WO2022268309A1 (en) Smart data collection
CN114415527A (en) Smart home pre-starting method and device
KR20180013265A (en) IoT Device Service Conflict Arbitration Method and System
TW202119310A (en) Workspace managing method and workspace managing system