The present invention relates generally to the field of building management systems. The present invention more particularly relates to systems and methods for archiving and retrieving data in a building automation system.
Building automation systems are, in general, hardware and/or software systems configured to control, monitor, and manage devices in or around a building or building area. BAS subsystems or devices can include heating, ventilation, and air conditioning (HVAC) subsystems or devices, security subsystems or devices, lighting subsystems or devices, fire alerting subsystems or devices, elevator subsystems or devices, other devices that are capable of managing building functions, or any combination thereof.
As BAS systems become more complicated or as a building is upgraded to include different types or versions of BAS subsystems, system integration issues become challenging and difficult to address. For example, conventional BAS subsystems have difficulty exchanging information due to protocol differences or other incompatibilities. Queries or commands that require information from multiple subsystems are difficult to implement.
One embodiment of the invention relates to a computer-implemented system for facilitating cross-subsystem queries of a plurality of building automation subsystems. The system includes a first database storing a logical model for a building automation system. The system further includes a second database storing information for the plurality of building automation subsystems. The second database relates information of the plurality of building automation subsystems based on the logical model of the first database. The system further includes a query engine configured to decompose a cross-subsystem query received from an application into a plurality of subsystem queries using the information of the second database.
The first database may be an ontology database and the second database may be a fact database. The query engine may utilize the fact database to determine ordering for the subsystem queries. In some exemplary embodiments the query engine may retrieve the subsystem queries from sets of pre-built and pre-stored subsystem queries. In yet other exemplary embodiments the query engine may build the subsystem queries by processing the cross-subsystem query. The query engine may store the plurality of subsystem queries and provides an updated message to the application originating the cross-subsystem query when results of the cross-subsystem query change. The query engine may provide the changed results through a messaging engine that uses the query result to build a message for the application. The messaging engine may append hierarchical information from the second database to the message for the application. The message for the application may include at least one string (e.g., a projected semantic type string) representing the hierarchical information associated with the message contents and based on the logical model of the first database.
Another embodiment of the invention relates to a computer-implemented method for facilitating cross-subsystem queries of a plurality of building automation subsystems. The method includes receiving a cross-subsystem query from an application. The method further includes recognizing the cross-subsystem query as requiring access to more than one of the plurality of building automation subsystems. The method yet further includes decomposing the cross-subsystem query into a plurality of subsystem queries using a database system that relates information for the plurality of building automation subsystems according to a cross-subsystem hierarchical model.
The method may further include determining ordering for the subsystem queries using the hierarchical model. retrieving the subsystem queries from sets of pre-built and pre-stored subsystem queries. The method may yet further include building the subsystem queries by processing the cross-subsystem query. The method may also include storing the plurality of subsystem queries and providing an updated message to the application originating the cross-subsystem query when results of the cross-subsystem query change. In some embodiments the method also includes providing the changed results to a messaging engine that uses the query result to build a message for the application. The method may also include appending hierarchical information from the database system to the message for the application. Appending the hierarchical information may include appending at least one string representing the hierarchical information associated with the message contents. The string may be a projected semantic type string relating to the subsystem type of the message contents. The plurality of building automation subsystems may be disparately protocolled.
Another embodiment of the invention relates to a computer-implemented system for facilitating communication between a plurality of disparate building automation subsystems and a plurality of applications. The system includes an ontology database storing a logical model for a building automation system. The system further includes a fact database storing information for a particular building automation system, wherein the ontology database relates information for the plurality of disparate building automation subsystems in a standardized fashion based on the logical model of the ontology database. The system yet further includes a messaging engine configured to receive a message from one of the disparate building automation subsystems and for one of the plurality of applications, wherein the messaging engine is configured to use the information in the fact database to transform the message into a standard format, to append hierarchical information to the transformed message, and to provide the transformed message to the one of the plurality of applications.
Another embodiment relates to a computer-implemented method for facilitating communication between a plurality of disparate building automation subsystems and a plurality of applications. The method includes storing a logical model for a building automation system in an ontology database. The method further includes storing information for a particular building automation system in a fact database. The fact database relates information for the plurality of disparate building automation subsystems in a standardized fashion based on the logical model of the ontology database. The method further includes receiving a message from one of the disparate building automation subsystems and for one of the plurality of applications at a messaging engine. The method yet further includes using the information in the fact database to transform the message into a standard format. The method also includes appending the hierarchical information to the transformed message and providing the transformed message to the one of the plurality of applications.
Alternative exemplary embodiments relate to other features and combinations of features as may be generally recited in the claims.
The disclosure will become more fully understood from the following detailed description, taken in conjunction with the accompanying figures, wherein like reference numerals refer to like elements, in which:
Referring to
One embodiment of the present application relates to a computer-implemented system for facilitating communication between a plurality of building automation subsystems (e.g., disparately protocolled BAS subsystems) and a plurality of applications. The present invention advantageously allows BAS applications to utilize cross-subsystem data and cross-subsystem interaction to provide for improved control and improved user experiences.
Subsystems 104 are shown to include access control system 108, video surveillance system 110, intrusion system 112, HVAC system 114, and lighting system 115. Fewer, additional, or alternative subsystems may be included in BAS 100. Access control system 108 may include access card readers, biometric scanners, or other readers configured to obtain information about a user. A computer system of access control system 108 can check the obtained user information against access permissions or other data, record user accesses, or conduct other access control activities. Video surveillance system 110 may include any number of cameras (e.g., analog, digital, etc.) connected to video recorders, object or event recognition processors, or other processing electronics or computer systems configured to use video information. Intrusion system 112 may include a network of sensors configured to provide alarms or otherwise change states if entry to a building or area has been forced. For example, intrusion system 112 can include any number of motion detectors, infrared sensors, glass break detectors, door contact sensors, and the like. HVAC system 114 includes any number of devices, controllers, and connections configured to allow for the control of heating, ventilation, or air conditioning in a building space. For example, HVAC system 114 may include a chiller, a boiler, any number of air handling units, economizers, field controllers, master controllers, actuators, temperature sensors, or other devices for controlling the temperature within a building space. Lighting system 115 can include any number of lights, relays connected to controllers, lighting sensors, dimmers, or other devices configured to controllably adjust the amount of the light provided to a building space. It should be noted that subsystems 104 may include more than one of any given type of subsystem. For example, in an exemplary embodiment multiple HVAC subsystems may be used to provide control to the same building or to the same collection of buildings (e.g., an old building may have a first HVAC system while a new building has a second HVAC system). Further, the subsystems may communicate according to disparate protocols. For example, a first HVAC subsystem may not be configured to communicate with a second HVAC subsystem or other of the building subsystems.
BAS 100 is further shown to include applications 106. Applications 106 include identification (ID) management application 116, event management application 118, compliance management application 120, HVAC management application 122, and security management application 124. Fewer, additional, or alternative applications may be included in BAS 100. In some embodiments all of applications 106 are integrated into a single application suite or integrated within a single system. Applications 106 may be thick clients running almost entirely on remote computers (computers remote from integration server 102). Applications 106 may alternatively be thin clients where the logic for the applications is hosted on a server (e.g., integration server 102, a GUI server, a web server, or another server) and the client is used primarily for user input and output (e.g., GUI display tasks).
ID management application 116 is an application that allows the creation and use of a single user credential that propagates across or can be used across physical security, logical (information technology) security, and business systems. ID management application 116 can be used to control where users can go in a building or campus or what information the users can access (e.g., via electronic devices). ID management application 116 can track where a user has been and where a user is currently. ID management application 116 may include user interfaces for configuring physical badges, managing visitors, providing users with self-service (e.g., updating contact information for the user), or other user interfaces regarding users, access, or location.
Event management application 118 may be an application that integrates data from access control system 108, video surveillance system 110, intrusion system 112, HVAC system 114, and lighting system 115 to provide a single integrated “command center” user interface. Data from subsystems 104 can be combined on user interfaces to provide a common operating picture. The combination of pertinent data across multiple systems on a single user interface can advantageously provide for more complete situational awareness or support advanced cross-subsystem process automation features.
Compliance management application 120 may be an application that utilizes data from subsystems 104 to check for compliance relative to internal or external policies. If data is available for combination “in real time,” a compliance management service such as application 120 can advantageously enable rapid event intervention or enforcement of compliance violations.
HVAC management application 122 can control HVAC system 114 and lighting system 115 using, e.g., information from access control system 108, video surveillance system 110, or intrusion system 112. Integrated control of HVAC system 114 can provide for improved occupant comfort or to conserve energy (e.g., based on occupancy information provided by access control system 108).
Security management application 124 can provide a unified interface for monitoring security in a building space using a number of different inputs from a number of different subsystems. For example, security management application 124 can receive inputs from intrusion system 112, video surveillance system 110, access control system 108, and/or HVAC system 114 (occupancy sensors of the HVAC system may be used by security algorithms of security management application 124).
Integration server 102 is configured to allow for cross-subsystem data communication, for one of the applications of applications 106 to utilize data from more than one subsystem 104, or for applications 106 to share information. More particularly, integration server 102 is intended to provide a messaging framework that can be understood by a plurality of applications regardless of the protocol or source of the subsystem information. Integration server 102 is further configured to provide a querying service that allows subsystems or applications to conduct cross-subsystem queries. Such cross-subsystem queries may allow an application (or end user operating the application) to utilize natural language queries or context rich queries. For example, a query such as the following may be entered by a user and executed by an application: “Show me high priority notifications about temperature increases outside of comfort levels in the rooms in the executive suite while the rooms in the executive suite are occupied.” Such cross-system queries have traditionally been very difficult for end-users to create and execute without detailed information about the underlying database design and access to a low level query editor (e.g., a structured query language (SQL) editor).
Referring now to
Referring still to
Some of applications 106 or subsystems 104 may be configured to communicate via the integration protocol without protocol conversion. As shown, adapters 206, 208 for conversion may be included with applications 106 or subsystems 104 (e.g., if the application developer supports such adapters or builds such an adapter into the application). In other instances the protocol conversion may be handled by interfaces 210, 212 of BAS integration server 102. For example, if a subsystem does not include an adapter 208 of its own and transmits proprietary messages to BAS integration server 102, subsystem interface 212 can receive such messages and convert the messages into communications according to the integration protocol. An adapter or interface for conducting conversion into an integration protocol may be provided for each different application protocol or subsystem protocol to be consumed by BAS integration server 102. When an application or subsystem has an adapter and conducts its own conversion to the integration protocol, applications interface 210 or subsystems interface 212 may allow the message to pass through to further components unmodified.
Referring further to
Referring now to
Fact Database
To enable fast information retrieval and to reduce the number of tables that must be accessed during a query operation, fact database 304 may be configured to store information in at least one table having a flat format. Such a table may include one row per attribute (e.g., one row per BAS attribute, one row per BAS object) in a complete BAS (including all of the BAS subsystems). In an exemplary embodiment, each row or record is stored with a projected semantic type string comprising multiple levels of type information and based on the hierarchical model stored in the ontology database 300. By way of example,
The projected semantic type information of fact database 304 may also contribute to the ability of BAS data to be indexed and quickly retrieved via the index. Devices in a BAS subsystem may most frequently transmit messages by a subsystem specific data type or unique name string. These unique subsystem specific type strings normally transmitted by the BAS subsystems to the integration server may be the keys used to create indexed hash values for the Fact DB. Therefore, when a message is received from a subsystem its type may be used to quickly access the corresponding record in the fact database and the projected semantic type information may be extracted from the record without joining another table. This projected semantic type string may be appended to the message from the BAS subsystem and quickly forwarded to an application or another process for consumption. This process may facilitate fast retransmission of messages via the integration server generally and the semantic mediator more particularly. Once retransmitted the messages include hierarchical information (e.g. the projected semantic type string) so that the consuming processes can process the message in light of the rich context provided by the projected semantic type information.
In other exemplary embodiments the Fact DB may have multiple indexes or use a hash index that has multiple inputs. For example, because particular types of devices may be well distributed around a building, one or more of the hash functions used to create index values may be based on a location-based relationship. For example, if Served_By is a relationship that is tracked by the system and generally describes an area (e.g., a floor) that is served by a device or system, fact database 304 may include a logical type entry such as “1→Floor 4A→2→3→4#Present_Value.” Accordingly, “Floor 4A” may be hashed as a key (or used as one of many inputs to a hash function) to allow for faster location-based searching or querying. It should be appreciated that other indexing schemes may be utilized to search the records of fact database 304. The indexing may be completed using, e.g., multi-purpose data storage and indexing engine 216 shown in
To build fact database 304 or to add records to fact database 304 as devices are brought online, multi-purpose data storage and indexing engine 216 may be configured to utilize a type concatenation process that traverses from the relationship root (φ) in the tables shown in
Referring still to
The process for building the BAS integration framework (e.g., the contents of the fact database) disclosed herein may be manual (e.g., driven via user interfaces of concept alignment tool 303 or fact builder 305), automated (an automated configuration module may use inferences, patterns, and test signals to create and refine BAS integration data), or a mixture thereof. The process 500 of
Query Processing and Integrated Event Monitoring
As mentioned above, the architecture of BAS integration server 102 generally and semantic mediator 214 more particularly can be used to provide for rich querying services. One example of such a service is a subscription service wherein an application (GUI application) subscribes to receive events within the subsystems. As subscribed events occur in the subsystems, messages are generated and sent to the client. For example, a GUI may allow a user to create a subscription query using natural language such as:
The creation of queries Q1.1 through Q2 or portions thereof can be completed manually and the queries or query templates may be stored in memory. Referring now to
Referring now to
Additional Features of the Messaging Engine
Referring back to
The process 750 utilized by messaging engine 308 to achieve the transformation shown in
The construction and arrangement of the systems and methods as shown in the various exemplary embodiments are illustrative only. Although only a few embodiments have been described in detail in this disclosure, many modifications are possible (e.g., variations in sizes, dimensions, structures, shapes and proportions of the various elements, values of parameters, mounting arrangements, use of materials, colors, orientations, etc.). For example, the position of elements may be reversed or otherwise varied and the nature or number of discrete elements or positions may be altered or varied. Accordingly, all such modifications are intended to be included within the scope of the present disclosure. The order or sequence of any process or method steps may be varied or re-sequenced according to alternative embodiments. Other substitutions, modifications, changes, and omissions may be made in the design, operating conditions and arrangement of the exemplary embodiments without departing from the scope of the present disclosure.
The present disclosure contemplates methods, systems and program products on any machine-readable media for accomplishing various operations. The embodiments of the present disclosure may be implemented using existing computer processors, or by a special purpose computer processor for an appropriate system, incorporated for this or another purpose, or by a hardwired system. Embodiments within the scope of the present disclosure include program products comprising machine-readable media for carrying or having machine-executable instructions or data structures stored thereon. Such machine-readable media can be any available media that can be accessed by a general purpose or special purpose computer or other machine with a processor. By way of example, such machine-readable media can comprise RAM, ROM, EPROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store desired program code in the form of machine-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer or other machine with a processor. Combinations of the above are also included within the scope of machine-readable media. Machine-executable instructions include, for example, instructions and data which cause a general purpose computer, special purpose computer, or special purpose processing machines to perform a certain function or group of functions.
Although the figures may show a specific order of method steps, the order of the steps may differ from what is depicted. Also two or more steps may be performed concurrently or with partial concurrence. Such variation will depend on the software and hardware systems chosen and on designer choice. All such variations are within the scope of the disclosure. Likewise, software implementations could be accomplished with standard programming techniques with rule based logic and other logic to accomplish the various connection steps, processing steps, comparison steps and decision steps.
Number | Name | Date | Kind |
---|---|---|---|
4872397 | Demeter et al. | Oct 1989 | A |
5061916 | French et al. | Oct 1991 | A |
5117900 | Cox | Jun 1992 | A |
6157943 | Meyer | Dec 2000 | A |
6167316 | Gloudeman et al. | Dec 2000 | A |
6332163 | Bowman-Amuah | Dec 2001 | B1 |
6366832 | Lomonaco et al. | Apr 2002 | B2 |
6405103 | Ryan et al. | Jun 2002 | B1 |
6487457 | Hull et al. | Nov 2002 | B1 |
6687698 | Nixon et al. | Feb 2004 | B1 |
6772216 | Ankireddipally et al. | Aug 2004 | B1 |
6788980 | Johnson | Sep 2004 | B1 |
6839601 | Yazback et al. | Jan 2005 | B1 |
6842776 | Poisner | Jan 2005 | B1 |
6845396 | Kanojia et al. | Jan 2005 | B1 |
6862589 | Grant | Mar 2005 | B2 |
6895513 | Balasubramaniam et al. | May 2005 | B1 |
7000238 | Nadler et al. | Feb 2006 | B2 |
7017162 | Smith et al. | Mar 2006 | B2 |
7039591 | Ecklund et al. | May 2006 | B2 |
7039654 | Eder | May 2006 | B1 |
7117504 | Smith et al. | Oct 2006 | B2 |
7151966 | Baier et al. | Dec 2006 | B1 |
7152090 | Amirisetty et al. | Dec 2006 | B2 |
7159007 | Stawikowski | Jan 2007 | B2 |
7162534 | Schleiss et al. | Jan 2007 | B2 |
7165087 | Graupner et al. | Jan 2007 | B1 |
7219154 | Blakley, III et al. | May 2007 | B2 |
7254607 | Hubbard et al. | Aug 2007 | B2 |
7266600 | Fletcher et al. | Sep 2007 | B2 |
7293010 | Angele et al. | Nov 2007 | B2 |
7295984 | Glynn | Nov 2007 | B2 |
7330473 | Baier et al. | Feb 2008 | B1 |
7340714 | Upton | Mar 2008 | B2 |
7343428 | Fletcher et al. | Mar 2008 | B2 |
7350184 | Upton | Mar 2008 | B2 |
7356694 | Mayo et al. | Apr 2008 | B2 |
7373410 | Monza et al. | May 2008 | B2 |
7376959 | Warshavsky et al. | May 2008 | B2 |
7392391 | Eibach et al. | Jun 2008 | B2 |
7398307 | Dorland | Jul 2008 | B2 |
7406982 | Pfaff et al. | Aug 2008 | B2 |
7461039 | Gilman | Dec 2008 | B1 |
7634555 | Wainscott, Jr. et al. | Dec 2009 | B1 |
20020023091 | Silberberg et al. | Feb 2002 | A1 |
20020059425 | Belfiore et al. | May 2002 | A1 |
20020065857 | Michalewicz et al. | May 2002 | A1 |
20020174178 | Stawikowski | Nov 2002 | A1 |
20030004912 | Pant et al. | Jan 2003 | A1 |
20030023712 | Zhao et al. | Jan 2003 | A1 |
20030028577 | Dorland et al. | Feb 2003 | A1 |
20030033376 | Brownhill et al. | Feb 2003 | A1 |
20030101170 | Edelstein et al. | May 2003 | A1 |
20030120665 | Fox et al. | Jun 2003 | A1 |
20030163450 | Borenstein et al. | Aug 2003 | A1 |
20030163597 | Hellman et al. | Aug 2003 | A1 |
20030177481 | Amaru et al. | Sep 2003 | A1 |
20030179228 | Schreiber et al. | Sep 2003 | A1 |
20040030739 | Yousefi'zadeh | Feb 2004 | A1 |
20040081183 | Monza et al. | Apr 2004 | A1 |
20040093331 | Garner et al. | May 2004 | A1 |
20040093344 | Berger et al. | May 2004 | A1 |
20040093559 | Amaru et al. | May 2004 | A1 |
20040098401 | Angele | May 2004 | A1 |
20040105424 | Skoczkowski et al. | Jun 2004 | A1 |
20040216030 | Hellman et al. | Oct 2004 | A1 |
20040216147 | Yanosy et al. | Oct 2004 | A1 |
20040218591 | Ogawa et al. | Nov 2004 | A1 |
20040225629 | Eder | Nov 2004 | A1 |
20040243595 | Cui et al. | Dec 2004 | A1 |
20040267567 | Barrera et al. | Dec 2004 | A1 |
20050044197 | Lai | Feb 2005 | A1 |
20050086360 | Mamou et al. | Apr 2005 | A1 |
20050198255 | Wainscott, Jr. et al. | Sep 2005 | A1 |
20060064468 | Brown et al. | Mar 2006 | A1 |
20060070082 | Sridhar et al. | Mar 2006 | A1 |
20060074980 | Sarkar | Apr 2006 | A1 |
20060106473 | Enright et al. | May 2006 | A1 |
20060161544 | Lee et al. | Jul 2006 | A1 |
20060168178 | Hwang et al. | Jul 2006 | A1 |
20070043687 | Bodart et al. | Feb 2007 | A1 |
20070100981 | Adamczyk et al. | May 2007 | A1 |
20070156498 | Zwerger et al. | Jul 2007 | A1 |
20070185759 | Kataria et al. | Aug 2007 | A1 |
20070236346 | Helal et al. | Oct 2007 | A1 |
20080009959 | Enright et al. | Jan 2008 | A1 |
20080028068 | Nochta et al. | Jan 2008 | A1 |
20080059492 | Tarin | Mar 2008 | A1 |
20080059559 | Gathman et al. | Mar 2008 | A1 |
20080172353 | Lim et al. | Jul 2008 | A1 |
20080172380 | Czyz et al. | Jul 2008 | A1 |
20080209505 | Ghai et al. | Aug 2008 | A1 |
20080250132 | Ji et al. | Oct 2008 | A1 |
Number | Date | Country |
---|---|---|
WO 0221259 | Mar 2002 | WO |
Entry |
---|
OPC™ Foundation, “OPC XML-DA Specification,” Version 1.0, Jul. 12, 2003, 100 pages. |
Number | Date | Country | |
---|---|---|---|
20120011141 A1 | Jan 2012 | US |