[go: up one dir, main page]

WO2012147203A1 - システムコントローラ及びプログラム - Google Patents

システムコントローラ及びプログラム Download PDF

Info

Publication number
WO2012147203A1
WO2012147203A1 PCT/JP2011/060456 JP2011060456W WO2012147203A1 WO 2012147203 A1 WO2012147203 A1 WO 2012147203A1 JP 2011060456 W JP2011060456 W JP 2011060456W WO 2012147203 A1 WO2012147203 A1 WO 2012147203A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
control unit
update
operation state
unit
Prior art date
Application number
PCT/JP2011/060456
Other languages
English (en)
French (fr)
Inventor
紀之 小宮
成憲 中田
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2011/060456 priority Critical patent/WO2012147203A1/ja
Priority to JP2013511856A priority patent/JP5558632B2/ja
Priority to US14/112,977 priority patent/US9488970B2/en
Publication of WO2012147203A1 publication Critical patent/WO2012147203A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores

Definitions

  • the present invention relates to a technique for obtaining update synchronization between a plurality of databases.
  • a controller that controls and controls equipment such as an air conditioner and an illuminator is usually a display control for displaying the operating state of each equipment. And a device control unit for performing operation control on each facility device.
  • a DB (display control DB) managed by the display control unit and a DB (device control DB) managed by the device control unit are prepared separately. Since the processing related to the operation state of each facility device needs to be matched between the display control unit side and the device control unit side, update synchronization needs to be performed in these DBs regarding the data related to the operation state.
  • the present invention has been made in view of the above circumstances, and an object thereof is to provide a system controller or the like that can realize update synchronization between a plurality of databases with a configuration that does not depend on the function of an OS.
  • a system controller provides: First control means for performing processing relating to a user interface; A second control means for exchanging data with each of the plurality of facility devices; Storing the operation state data relating to the operation state of the equipment, and a first data storage unit in which data is read and written by the first control unit; A second data storage means for storing the operating state data, wherein data is read and written by the second control means;
  • First control means for performing processing relating to a user interface
  • a second control means for exchanging data with each of the plurality of facility devices
  • a second data storage means for storing the operating state data, wherein data is read and written by the second control means
  • the update data is stored in a predetermined buffer, and the contents of the operation state data stored in the corresponding first data storage means or the second data storage means are updated based on the update data.
  • the arbitration unit holds the update registration request by the other control unit
  • the first control unit or the second control unit updates the update data stored in the other control unit from the buffer.
  • the contents of the operation state data stored in the corresponding first data storage means or second data storage means are updated based on the update data.
  • the present invention includes mediation means for determining whether or not to update and update the operating state data when the contents of the operating state data are changed in each process of the first control means and the second control means. .
  • mediation means for determining whether or not to update and update the operating state data when the contents of the operating state data are changed in each process of the first control means and the second control means.
  • FIG. 2 is a block diagram illustrating a functional configuration of a system controller according to the first embodiment.
  • Embodiment 1 it is a figure which shows the data structure of driving
  • 5 is a flowchart illustrating an operation procedure of a user I / F control unit in the first embodiment.
  • 5 is a flowchart illustrating an operation procedure of a device control unit in the first embodiment.
  • It is a block diagram which shows the function structure of the system controller of Embodiment 2.
  • 9 is a flowchart illustrating an operation procedure of a first control unit in the second embodiment.
  • Embodiment 2 it is a figure which shows the data structure of FIFO registration data.
  • FIG. 10 is a diagram (part 1) for describing destination designation settings in the second embodiment.
  • FIG. 10 is a diagram (part 2) for explaining setting of destination designation in the second embodiment.
  • it is a figure (the 1) for demonstrating cancellation
  • FIG. 10 is a diagram (part 2) for explaining cancellation of destination designation in the second embodiment.
  • FIG. 1 is a diagram illustrating an overall configuration of an equipment system including a system controller 1 according to the present embodiment.
  • This equipment system is a system (building equipment system) for controlling and managing the equipment 2 such as an air conditioner and an illuminator installed in an office building, for example.
  • a system controller 1 a plurality of equipment 2 (equipment 2 A, 2 B, 2 C,...) And one or a plurality of remote controllers 3 are connected to an equipment network 4.
  • the equipment network 4 is constructed by a known network technology in a general building equipment system.
  • the remote controller 3 is a remote controller for operating each equipment device 2 under the setting conditions desired by the user.
  • One remote controller 3 may be prepared for each facility device 2, or one remote controller 3 may correspond to a plurality of facility devices 2 as in this example.
  • the remote control 3 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), a readable / writable nonvolatile semiconductor memory such as a flash memory, a predetermined user interface, and equipment.
  • the communication interface is configured to communicate with other devices via the network 4 (none of which is shown).
  • the user interface includes, for example, a display device such as a liquid crystal display, an input device such as a keypad, a touch pad, and a touch panel.
  • the remote controller 3 receives an input operation from the user via the user interface, and transmits data (device control data) related to the received input operation to the designated equipment device 2.
  • the facility equipment 2 performs a driving operation based on the equipment control data from the remote controller 3. For example, when the equipment 2 is an air conditioner, the equipment 2 is switched to an operation mode such as cooling, heating, air blowing, or dehumidification according to the equipment control data from the remote controller 3 or is set to air at a set temperature. The operation that blows out with the air volume is performed. Further, for example, when the equipment 2 is an illuminator, the equipment 2 performs lighting / lighting operation or illumination with changed illuminance, color temperature, etc. according to the equipment control data from the remote controller 3.
  • an operation mode such as cooling, heating, air blowing, or dehumidification according to the equipment control data from the remote controller 3 or is set to air at a set temperature.
  • the operation that blows out with the air volume is performed.
  • the equipment 2 is an illuminator
  • the equipment 2 performs lighting / lighting operation or illumination with changed illuminance, color temperature, etc. according to the equipment control data from the remote controller 3.
  • the facility device 2 transmits state change data indicating the changed operation state to the system controller 1.
  • the system controller 1 communicates with other devices via a readable / writable non-volatile semiconductor memory or hard disk drive such as a CPU, ROM, RAM, and flash memory, a predetermined user interface, and a facility network 4.
  • a communication interface (not shown).
  • the user interface includes an input device (for example, a keyboard, a mouse, a keypad, a touchpad, a touch panel, etc.) and a display device (for example, a CRT, a liquid crystal display, etc.). Is done.
  • the system controller 1 When the system controller 1 receives the state change data described above from the equipment 2, the system controller 1 holds the state change data as the current operating state of the equipment 2.
  • the operation state of each equipment device 2 is displayed and output in a predetermined manner from the display device according to, for example, a user operation.
  • the operation state here includes the operation mode (stop, cooling, heating, air blowing, dehumidification, etc.), the set temperature, the air volume, and the like.
  • the system controller 1 can also operate the specific equipment 2 under the setting conditions desired by the user in response to a user operation via the input device. That is, when the user operation is an operation related to a change in the operation operation of the equipment device 2, the system controller 1 generates device control data according to the operation and transmits the device control data to the corresponding equipment device 2. By doing so, the driving
  • FIG. 2 is a block diagram showing a functional configuration of the system controller 1.
  • the system controller 1 includes an operation receiving unit 10, a display unit 11, a display data storage unit 12, a user I / F control unit 13, a device control data storage unit 14, and a device.
  • a control unit 15, an arbitration unit 16, a first FIFO buffer 17, and a second FIFO buffer 18 are provided.
  • the functions of the user I / F control unit 13, the device control unit 15, the arbitration unit 16, and the like are stored in a ROM or the like by a CPU or the like under the control of a predetermined OS (Operating System) installed in the system controller 1. This is realized by executing one or a plurality of predetermined programs.
  • the user I / F control unit 13 and the device control unit 15 are so-called tasks and are activated alternately by the OS.
  • the operation reception unit 10 receives an input operation from the user.
  • Data (user operation data) related to the input operation received by the operation receiving unit 10 is written into an operation interrupt buffer (not shown) by an operation interrupt handler (not shown).
  • the user operation data written in the operation interrupt buffer is read by the user I / F control unit 13.
  • the display unit 11 displays a screen for user operation under the control of the user I / F control unit 13, a user input result (that is, user operation data), and user-desired data (for example, the equipment device 2).
  • the data indicating the operation status of is displayed.
  • the display data storage unit 12 (first data storage unit) stores data indicating the operation state of each facility device 2 (operation state data) and various other data related to the above display by the display unit 11.
  • the user I / F control unit 13 controls the operation receiving unit 10 and the display unit 11 described above, and performs overall control related to the user interface in the system controller 1.
  • the user I / F control unit 13 first checks the operation interrupt buffer.
  • the user I / F control unit 13 reads the user operation data from the operation interrupt buffer, and performs processing according to the contents of the user operation data.
  • the user I / F control unit 13 makes an update registration request for the operation state data to the arbitration unit 16 described later.
  • the user I / F control unit 13 when a response indicating that update registration is permitted is returned from the arbitration unit 16, the user I / F control unit 13 generates FIFO registration data (details will be described later) from the user operation data, and the first Stored in the FIFO buffer 17.
  • the user I / F control unit 13 stores the generated FIFO registration data in the display data storage unit 12 as operation state data.
  • the user I / F control unit 13 discards the user operation data read from the operation interrupt buffer.
  • the user I / F control unit 13 inquires of the arbitration unit 16 about the presence / absence of operation state data to be updated and registered. When the response indicating that there is operation state data to be updated and registered is returned from the arbitration unit 16, the user I / F control unit 13 sequentially retrieves the FIFO registration data from the second FIFO buffer 18, and the operation state data And stored in the display data storage unit 12. After completing the extraction of the FIFO registration data, the user I / F control unit 13 clears the second FIFO buffer 18. In other words, the user I / F control unit 13 erases all the FIFO registration data stored in the second FIFO buffer 18.
  • the device control data storage unit 14 (second data storage means) stores operation state data of each equipment device 2. Although details will be described later, the data structure of the operation state data stored in the device control data storage unit 14 is the same as the data structure of the operation state data stored in the display data storage unit 12.
  • the device control unit 15 receives the above-described state change data transmitted from the equipment device 2 and uses the received state change data as current operation state data of the equipment device 2 for device control data. Save in the storage unit 14.
  • a reception interrupt handler (not shown) is activated.
  • the reception interrupt handler then writes the state change data received via the communication interface into a reception interrupt buffer (not shown).
  • the device control unit 15 first checks the reception interrupt buffer. When the state change data is stored in the reception interrupt buffer, the device control unit 15 reads the state change data from the reception interrupt buffer. Then, the device control unit 15 makes an update registration request for the operation state data to the arbitration unit 16.
  • the device control unit 15 when a response indicating that update registration is permitted is returned from the arbitration unit 16, the device control unit 15 generates FIFO registration data (details will be described later) from the state change data, and the second FIFO buffer. 18. Further, the device control unit 15 stores the generated FIFO registration data in the device control data storage unit 14 as operation state data. On the other hand, when a response indicating that update registration is prohibited is returned from the arbitration unit 16, the device control unit 15 discards the state change data read from the reception interrupt buffer.
  • the device control unit 15 inquires of the arbitration unit 16 whether or not there is operation state data to be updated and registered. When the arbitration unit 16 returns a response indicating that there is operation state data to be updated and registered, the device control unit 15 sequentially retrieves the FIFO registration data from the first FIFO buffer 17, and the device control data storage unit 14 is stored as operation state data. After completing the extraction of the FIFO registration data, the device control unit 15 clears the first FIFO buffer 17. That is, the device control unit 15 erases all the FIFO registration data stored in the first FIFO buffer 17. In addition, the device control unit 15 generates device control data based on the FIFO registration data extracted from the first FIFO buffer 17 and transmits the device control data to the corresponding facility device 2.
  • the arbitration unit 16 when receiving an operation state data update registration request from the user I / F control unit 13 or the device control unit 15, the arbitration unit 16 permits or prohibits the operation state data update registration. Any one is determined, and the determination result is returned to the requesting user I / F control unit 13 or the device control unit 15.
  • the arbitration unit 16 makes the above determination based on the data ID notified from the user I / F control unit 13 or the device control unit 15 at the time of the update registration request.
  • the operation state data includes a data ID and a data value.
  • the data ID is an ID assigned in advance to uniquely identify the instance level of each data used in the system. More specifically, the data ID is assigned to each facility device 2 for each control / monitoring target. For example, the data ID is assigned for each “operation mode of the equipment 2A”, “setting temperature of the equipment 2B”, “setting air volume of the equipment 2C”, and the like.
  • the data value when the content of the operation state indicates the operation mode, the data value is previously set according to the type of operation mode, such as stop: 0, cooling: 1, heating: 2, air blowing: 3, dehumidification: 4, and the like. It is indicated by a fixed value. Further, when the content of the operation state indicates the set temperature, the data value indicates a temperature value (unit: ° C.).
  • the arbitration unit 16 When the arbitration unit 16 receives an operation state data update registration request from one of the user I / F control unit 13 or the device control unit 15, an operation state data update registration request related to the same data ID has already been made from the other. It is determined whether or not. In other words, the arbitrating unit 16 determines whether or not there is a conflict of update registration requests for operation state data related to the same data ID. As a result, when no conflict has occurred, the arbitration unit 16 returns a response indicating that update registration is permitted to the user I / F control unit 13 or the device control unit 15 that is the current request source. On the other hand, if a conflict has occurred, the arbitration unit 16 returns a response indicating that update registration is prohibited to the current request source. That is, when a conflict occurs, priority is given to the one who made the update registration request first (that is, first win).
  • the arbitration unit 16 receives an inquiry from the user I / F control unit 13 or the device control unit 15 regarding the presence / absence of the operation state data to be updated and registered, the other update registration request that has already been permitted is issued. Determine if it exists.
  • the arbitration unit 16 responds to the inquiring user I / F control unit 13 or device control unit 15 that there is operation state data to be updated and registered. return it.
  • the arbitration unit 16 returns a response to the inquiry source that there is no operation state data to be updated and registered.
  • the first FIFO buffer 17 is a buffer used for transferring operation state data to be updated and registered from the user I / F control unit 13 to the device control unit 15.
  • the user I / F control unit 13 stores the FIFO registration data in the first FIFO buffer 17.
  • the device control unit 15 extracts the FIFO registration data from the first FIFO buffer 17.
  • the data structure of the FIFO registration data is the same as the data structure of the operation state data (see FIG. 3).
  • the second FIFO buffer 18 is a buffer used for transferring operation state data to be updated and registered from the device control unit 15 to the user I / F control unit 13.
  • the device control unit 15 stores the FIFO registration data in the second FIFO buffer 18 when the response indicating that the update registration is permitted is returned from the arbitration unit 16.
  • the user I / F control unit 13 extracts the FIFO registration data from the second FIFO buffer 18.
  • FIG. 4 is a flowchart showing an operation procedure of the user I / F control unit 13.
  • the user I / F control unit 13 checks the operation interrupt buffer.
  • user operation data is stored in the operation interrupt buffer, that is, when an input operation is performed by the user (step S101; YES)
  • the user I / F control unit 13 reads the user operation data from the operation interrupt buffer. Is read (step S102).
  • the user I / F control unit 13 When the read user operation data relates to the operation operation of the facility device 2 (step S103; YES), the user I / F control unit 13 requests the arbitration unit 16 to update and register the operation state data. (Step S104). On the other hand, when the read user operation data is not related to the operation of the equipment device 2 (step S103; NO), the user I / F control unit 13 displays a user interface such as a display in accordance with the contents of the user operation data. Processing is performed (step S108).
  • step S105 After the update registration request, when a response indicating that update registration is permitted is returned from the arbitration unit 16 (step S105; YES), the user I / F control unit 13 generates FIFO registration data from the user operation data. Then, it is stored in the first FIFO buffer 17 (step S106). Further, the user I / F control unit 13 stores the generated FIFO registration data in the display data storage unit 12 as operation state data (step S107).
  • step S105 when a response indicating that update registration is prohibited is returned from the arbitrating unit 16 (step S105; NO), the user I / F control unit 13 discards the user operation data read from the operation interrupt buffer (step S105). S109).
  • step S101 When user operation data is not stored in the operation interrupt buffer (step S101; NO), the user I / F control unit 13 inquires of the arbitration unit 16 about the presence / absence of operation state data to be updated and registered ( Step S110). On the other hand, when the response indicating that there is operation state data to be updated and registered is returned from the arbitration unit 16 (step S111; YES), the user I / F control unit 13 receives the second FIFO buffer 18 from the second FIFO buffer 18. The FIFO registration data is sequentially extracted and stored in the display data storage unit 12 as operation state data (step S112).
  • the user I / F control unit 13 After completing the extraction of the FIFO registration data, the user I / F control unit 13 clears the second FIFO buffer 18 (step S113). Further, the user I / F control unit 13 notifies the arbitration unit 16 that the update registration of all the operation state data transferred from the device control unit 15 to be updated and registered has been completed (step S114).
  • the arbitration unit 16 receives the previously received device control unit 15's data. Delete all update registration requests.
  • the device control unit 15 checks the reception interrupt buffer.
  • the state change data is stored in the reception interrupt buffer, that is, when the state change data is received from any of the equipment devices 2 (step S201; YES)
  • the device control unit 15 uses the reception interrupt buffer.
  • the state change data is read from the buffer (step S202).
  • the apparatus control part 15 performs the update registration request
  • the device control unit 15 After the update registration request, when the response indicating that update registration is permitted is returned from the arbitration unit 16 (step S204; YES), the device control unit 15 generates FIFO registration data from the state change data, and 2 is stored in the FIFO buffer 18 (step S205). In addition, the device control unit 15 stores the generated FIFO registration data in the device control data storage unit 14 as operation state data (step S206). On the other hand, when a response indicating that update registration is prohibited is returned from the arbitrating unit 16 (step S204; NO), the device control unit 15 discards the state change data read from the reception interrupt buffer (step S207).
  • the device control unit 15 inquires of the arbitration unit 16 about the presence / absence of the operation state data to be updated and registered (step S208). .
  • the device control unit 15 stores the FIFO registration data from the first FIFO buffer 17. Are sequentially taken out and stored in the device control data storage unit 14 as operation state data (step S210).
  • the device control unit 15 After completing the FIFO registration data extraction, the device control unit 15 clears the first FIFO buffer 17 (step S211). In addition, the device control unit 15 notifies the arbitration unit 16 that the update registration of all the operation state data to be updated and transferred transferred from the user I / F control unit 13 has been completed (step S212).
  • the arbitration unit 16 receives the previously received user. All update registration requests of the I / F control unit 13 are deleted.
  • the apparatus control part 15 produces
  • the system controller 1 has a change in the data value of the operation state data of a certain data ID in each process of the user I / F control unit 13 and the device control unit 15.
  • the arbitration unit 16 determines whether or not update registration of the operation state data of the data ID is possible. Thereby, in the display data storage unit 12 and the device control data storage unit 14 managed by the user I / F control unit 13 and the device control unit 15, the operation state data can be updated and synchronized. Data integrity can be maintained.
  • the arbitration unit 16 compares the priorities given to the user I / F control unit 13 and the device control unit 15 in advance, and the update with the higher priority is performed. You may make it the specification which gives priority to a registration request.
  • the method for extracting the FIFO registration data from the first FIFO buffer 17 and the second FIFO buffer 18 is not limited to the above embodiment. That is, the user I / F control unit 13 (device control unit 15) needs to extract all the FIFO registration data from the second FIFO buffer 18 (first FIFO buffer 17) in one startup process. There is no. For example, it may be a specification for taking out one by one, or a specification for taking out a predetermined number. In this case, the user I / F control unit 13 (device control unit 15) clears only the area where the FIFO registration data is extracted from the second FIFO buffer 18 (first FIFO buffer 17). That is, the user I / F control unit 13 (device control unit 15) deletes only the FIFO registration data from the second FIFO buffer 18 (first FIFO buffer 17).
  • the user I / F control unit 13 (device control unit 15) notifies the arbitration unit 16 of each data ID of one or a plurality of FIFO registration data that has been extracted. Upon receiving such notification, the arbitration unit 16 deletes the update registration request corresponding to the data ID in the other control unit (task) received earlier.
  • the system controller 1 includes a data storage unit (display data storage unit 12 and device control data storage unit 14) managed by each of two control units (user I / F control unit 13 and device control unit 15). ) In the operation state data update synchronization.
  • the system controller of the present embodiment is configured to synchronize the update of the operation state data in the data storage unit managed by each of the three control units.
  • FIG. 6 is a block diagram schematically showing a functional configuration of the system controller 5 of the present embodiment.
  • the system as shown in FIG. 1 shall be comprised similarly to the system controller 1 of Embodiment 1.
  • FIG. 6 is a block diagram schematically showing a functional configuration of the system controller 5 of the present embodiment.
  • the system as shown in FIG. 1 shall be comprised similarly to the system controller 1 of Embodiment 1.
  • FIG. 6 is a block diagram schematically showing a functional configuration of the system controller 5 of the present embodiment.
  • the system as shown in FIG. 1 shall be comprised similarly to the system controller 1 of Embodiment 1.
  • FIG. 6 is a block diagram schematically showing a functional configuration of the system controller 5 of the present embodiment.
  • the system as shown in FIG. 1 shall be comprised similarly to the system controller 1 of Embodiment 1.
  • FIG. 6 is a block diagram schematically showing a functional configuration of the system controller 5 of the present embodiment.
  • the system as shown in FIG. 1 shall be comprised similarly to the
  • the system controller 5 includes a first control unit 51, a first data storage unit 52, a second control unit 53, a second data storage unit 54, and a third control.
  • Unit 55 third data storage unit 56, arbitration unit 57, first FIFO buffer 58, second FIFO buffer 59, and third FIFO buffer 60.
  • the first control unit 51, the second control unit 53, and the third control unit 55 are so-called tasks, and their activation is sequentially switched in a predetermined order by the OS.
  • Any one of the first control unit 51, the second control unit 53, and the third control unit 55 is the same system controller as the user I / F control unit 13 in the system controller 1 of the first embodiment. 5 performs overall control related to the user interface. Further, the other one of these performs processing related to the control of the equipment device 2 as in the case of the device control unit 15 in the system controller 1 of the first embodiment.
  • the first control unit 51 accesses the first data storage unit 52 to write and read various data including operation state data.
  • the second control unit 53 accesses the second data storage unit 54 and writes and reads various data including the operation state data.
  • the third control unit 55 accesses the third data storage unit 56 to write and read various data including operation state data.
  • the arbitration unit 57 receives an operation state data update registration request from the first control unit 51, the second control unit 53, or the third control unit 55, similarly to the arbitration unit 16 in the system controller 1 of the first embodiment. And whether to permit or prohibit the update registration of the operating state data is determined, and the determination result is returned to the request source. In addition, when the arbitration unit 57 receives an inquiry from the first control unit 51, the second control unit 53, or the third control unit 55 about whether or not there is operation state data to be updated and registered, It is determined whether there is an update registration request.
  • the arbitration unit 57 When there is another permitted update registration request, the arbitration unit 57 returns a response to the inquiry source that there is operation state data to be updated and registered. On the other hand, when there is no other update registration request that has been permitted, the arbitrating unit 57 returns a response to the inquiry source that there is no operation state data to be updated and registered.
  • the first FIFO buffer 58 is a buffer used for transferring operation state data to be updated and registered from the first control unit 51 to the second control unit 53 and the third control unit 55. is there.
  • the second FIFO buffer 59 is a buffer used for transferring operation state data to be updated and registered from the second control unit 53 to the first control unit 51 and the third control unit 55. is there.
  • the third FIFO buffer 60 is a buffer used for transferring operation state data to be updated and registered from the third control unit 55 to the first control unit 51 and the second control unit 53. is there.
  • each task (first control unit 51, second control unit 53, and third control unit 55) in the system controller 5 configured as described above will be described with reference to the flowchart of FIG.
  • Only operations common to each task will be described in order to facilitate understanding of functions unique to the system controller 5 of the present embodiment.
  • An operation common to each task will be described using the operation of the first control unit 51 as an example.
  • the first control unit 51 checks an interrupt buffer (not shown) managed by itself.
  • the 1st control part 51 reads the said data from the said interruption buffer (step S302). And the 1st control part 51 performs the update registration request
  • the first control unit 51 notifies the arbitration unit 57 of the task ID and the data ID.
  • the task ID is an ID assigned in advance to uniquely identify each task, that is, each control unit (the first control unit 51, the second control unit 53, and the third control unit 55).
  • the arbitration unit 57 Upon receiving such an update registration request, the arbitration unit 57 has already received an update registration request for the operation state data related to the same data ID from another task (here, the second control unit 53 or the third control unit 55). It is determined whether or not. In other words, the arbitrating unit 57 determines whether or not there is a conflict in the update registration request for the operation state data related to the same data ID.
  • the first control unit 51 performs FIFO registration data based on the data read from the interrupt buffer. Is stored in the first FIFO buffer 58 (step S305).
  • the data structure of the FIFO registration data of this embodiment will be described.
  • the FIFO registration data of the present embodiment is composed of a data ID and a data value, like the FIFO registration data of the first embodiment. However, it differs from the case of the first embodiment in that the upper few bits (here, 3 bits) of the data ID are used for the designated area of the destination (transfer destination).
  • the first control unit 51, the second control unit 53, and the third control unit 55 are used to specify the destination one bit at a time starting from the most significant bit.
  • the task is stored in the FIFO registration data (that is, the operation state). Data).
  • the destination designation area is set as shown in FIG. 9A.
  • the first control unit 51 may store the destination designation area. May be set as shown in FIG. 9B.
  • the first control unit 51 stores the generated FIFO registration data in the first data storage unit 52 as operation state data (step S306).
  • the first control unit 51 discards the data read from the interrupt buffer (step S307).
  • the first control unit 51 When the data regarding the operation operation of the equipment 2 is not stored in the interrupt buffer (step S301; NO), the first control unit 51 has the operation state data to be updated and registered in the arbitration unit 57. The presence or absence is inquired (step S308).
  • the arbitration unit 57 When the arbitration unit 57 receives an inquiry as to whether or not there is operation state data to be updated and registered, an update registration request is issued by another task already permitted (here, the second control unit 53 or the third control unit 55). Determine if it exists. If there is another update registration request that has been permitted, the arbitration unit 57 returns a response to the first control unit 51 that there is operation state data that should be updated and registered. At that time, the arbitrating unit 57 notifies the first control unit 51 of information indicating a FIFO buffer in which operation state data to be updated and registered (that is, FIFO registration data) is stored. In this case, for example, a pointer indicating the head address of the corresponding FIFO buffer is notified.
  • the arbitration unit 57 returns a response to the first control unit 51 that there is no operation state data to be updated and registered.
  • the first control unit 51 When the response indicating that there is operation state data to be updated and registered is returned from the arbitration unit 57 (step S309; YES), the first control unit 51 notifies the FIFO buffer (here, the second FIFO buffer).
  • the FIFO registration data is sequentially extracted from either the FIFO buffer 59 or the third FIFO buffer 60) and stored in the first data storage unit 52 as operation state data (step S310).
  • the first control unit 51 drops the bit (here, the most significant bit) corresponding to its own task in the destination designation area of the extracted FIFO registration data (after setting the bit to 0), and again, Processing to overwrite the original storage destination of the FIFO buffer is also performed. That is, the first control unit 51 performs processing for canceling designation of a destination for itself. For example, when the destination designation area of the extracted FIFO registration data is set as shown in FIG. 10A, the first control unit 51 changes the setting of the destination designation area as shown in FIG. 10B. As a result, in the FIFO registration data, the first control unit 51 is shown to have been extracted.
  • the first control unit 51 sets the FIFO buffer. The FIFO registration data is deleted.
  • the arbitrating unit 57 notifies the first control unit 51 to that effect. . Then, the first control unit 51 sequentially extracts the FIFO registration data from both the second FIFO buffer 59 and the third FIFO buffer 60 and stores them in the first data storage unit 52 as operation state data.
  • the first control unit 51 When the FIFO registration data is extracted, if the FIFO registration data is deleted from the FIFO buffer (step S311; YES), the first control unit 51 notifies the arbitration unit 57 of the data ID of the deleted FIFO registration data ( Step S312).
  • the arbitration unit 57 Upon receiving the above notification from the first control unit 51, the arbitration unit 57 deletes the update registration request corresponding to the data ID by another control unit (task).
  • the mediation part 57 compares the priority provided to each of the 1st control part 51, the 2nd control part 53, and the 3rd control part 55, The update registration request with the higher priority may be prioritized.
  • the PC functions as the system controller according to the present invention. It is also possible to make it.
  • Such a program distribution method is arbitrary, for example, a computer-readable recording medium such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), an MO (Magneto Optical Disk), or a memory card. It may be stored and distributed in a network, or distributed via a communication network such as the Internet.
  • a computer-readable recording medium such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), an MO (Magneto Optical Disk), or a memory card. It may be stored and distributed in a network, or distributed via a communication network such as the Internet.
  • the present invention can be suitably employed in a system for controlling and managing equipment such as an air conditioner and an illuminator installed in a building or the like.
  • System Controller (Embodiment 1) DESCRIPTION OF SYMBOLS 10 Operation reception part 11 Display part 12 Display data storage part 13 User I / F control part 14 Equipment control data storage part 15 Equipment control part 16 Arbitration part 17 1st FIFO buffer 18 2nd FIFO buffer 2A, 2B, 2C Equipment 3 Remote Controller 4 Equipment Network 5 System Controller (Embodiment 2) 51 First Control Unit 52 First Data Storage Unit 53 Second Control Unit 54 Second Data Storage Unit 55 Third Control Unit 56 Third Data Storage Unit 57 Arbitration Unit 58 First FIFO Buffer 59 First 2 FIFO buffer 60 3rd FIFO buffer

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Air Conditioning Control Device (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Programmable Controllers (AREA)

Abstract

 調停部(16)は、ユーザI/F制御部(13)(機器制御部(15))から、運転状態データの更新登録要求を受けると、その可否を決定し、許可する場合は当該運転状態データの更新登録要求を保持する。ユーザI/F制御部(13)(機器制御部(15))は、運転状態データの更新登録要求を行った場合、調停部(16)により許可されると、FIFO登録データを生成して、第1のFIFOバッファ(17)(第2のFIFOバッファ(18))に格納し、また、表示用データ記憶部(12)(機器制御用データ記憶部(14))に保存する。ユーザI/F制御部(13)(機器制御部(15))は、他方の制御部による更新登録要求を調停部(16)が保持している場合には、第2のFIFOバッファ(18)(第1のFIFOバッファ(17))からFIFO登録データを取り出し、表示用データ記憶部(12)(機器制御用データ記憶部(14))に保存する。

Description

システムコントローラ及びプログラム
 本発明は、複数のデータベース間の更新同期を取る技術に関する。
 従来より、複数のデータベース間の同期を取るための技術は、種々提案されている。例えば、特許文献1に開示される空気調和システムでは、複数の分散管理装置及び集中管理装置のそれぞれで管理される属性情報DBの同期を取るため、複数の分散管理装置と集中管理装置との間で定期的に属性情報のデータを含む信号を通信する。
特開2009-204185号公報
 ところで、一般によく知られたビル設備システムにおいては、空調機や照明器等の設備機器を統括して制御するコントローラ(システムコントローラ)は、通常、各設備機器の動作状態を表示するための表示制御部と、各設備機器に対して動作制御等を行うための機器制御部と、を備える。
 そして、上記の場合、表示制御部が管理するDB(表示制御用DB)と、機器制御部が管理するDB(機器制御用DB)とは、別個に用意される。各設備機器の運転状態に関する処理は、表示制御部側と機器制御部側とで整合させる必要があるため、運転状態に関するデータについて、これらのDBにおいて、更新同期を取る必要がある。
 通常、この種のシステムコントローラでは、搭載するCPUは1つであるため、従来においては、上記の更新同期は、OS(Operating System)の機能に依拠していた。
 このため、例えば、システムコールの発行等、OSの処理に起因したオーバヘッドやデッドロックが発生する問題が残っていた。したがって、この種のシステムコントローラにおいて、OSの機能に依拠しない新たな更新同期技術の提案が望まれているのが実情である。
 本発明は、上記実情に鑑みてなされたものであり、OSの機能に依拠しない構成で、複数のデータベース間の更新同期を実現できるシステムコントローラ等を提供することを目的とする。
 上記目的を達成するため、本発明に係るシステムコントローラは、
 ユーザインタフェースに関する処理を行う第1の制御手段と、
 複数の設備機器の各々とデータの授受を行う第2の制御手段と、
 前記設備機器の運転状態に関する運転状態データを記憶し、前記第1の制御手段によってデータの読み書きが行われる第1のデータ記憶手段と、
 前記運転状態データを記憶し、前記第2の制御手段によってデータの読み書きが行われる第2のデータ記憶手段と、
 前記第1の制御手段又は前記第2の制御手段から、前記運転状態データの更新登録要求を受けると、所定条件の下、当該運転状態データの更新登録の許可又は禁止の何れかを決定し、決定した結果を要求元に応答すると共に、許可した場合には当該運転状態データの更新登録要求を保持する調停手段と、を備え、
 前記第1の制御手段又は前記第2の制御手段は、前記運転状態データの更新登録要求を行った場合、前記調停手段により前記更新登録が許可されると、当該運転状態データの更新内容を示す更新用データを所定のバッファに格納すると共に、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新し、
 前記第1の制御手段又は前記第2の制御手段は、他方の制御手段による前記更新登録要求を前記調停手段が保持している場合には、前記バッファから他方の制御手段が格納した更新用データを取り出し、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新する。
 本発明は、第1の制御手段及び第2の制御手段のそれぞれの処理において、運転状態データの内容変更が生じた場合、当該運転状態データの更新登録の可否を決定する調停手段を備えている。これにより、第1の制御手段及び第2の制御手段のそれぞれが管理する第1のデータ記憶手段及び第2のデータ記憶手段において、運転状態データの更新同期を取ることができ、運転状態データの整合性が維持できる。そして、OSの機能に依拠しない構成により、上記の更新同期を実現するため、例えば、システムコールの発行等、OSの処理に起因したオーバヘッドやデッドロックの発生を回避することが可能となる。したがって、実行効率を高めることが期待できる。
本発明の実施形態に係るシステムコントローラを備えた設備システムの構成を示す図である。 実施形態1のシステムコントローラの機能構成を示すブロック図である。 実施形態1において、運転状態データのデータ構造を示す図である。 実施形態1において、ユーザI/F制御部の動作手順を示すフローチャートである。 実施形態1において、機器制御部の動作手順を示すフローチャートである。 実施形態2のシステムコントローラの機能構成を示すブロック図である。 実施形態2において、第1の制御部の動作手順を示すフローチャートである。 実施形態2において、FIFO登録データのデータ構造を示す図である。 実施形態2において、宛先指定の設定について説明するための図(その1)である。 実施形態2において、宛先指定の設定について説明するための図(その2)である。 実施形態2において、宛先指定の解除について説明するための図(その1)である。 実施形態2において、宛先指定の解除について説明するための図(その2)である。
 以下、本発明の実施形態に係るシステムコントローラについて図面を参照して詳細に説明する。
(実施形態1)
 図1は、本実施形態に係るシステムコントローラ1を備えた設備システムの全体構成を示す図である。この設備システムは、例えば、オフィスビル内に設置される空調機や照明器等の設備機器2を制御し、管理するためのシステム(ビル設備システム)である。図1に示すように、この設備システムでは、システムコントローラ1と、複数の設備機器2(設備機器2A,2B,2C,…)と、1又は複数のリモコン3と、が設備ネットワーク4に接続されている。設備ネットワーク4は、一般的なビル設備システムにおける周知のネットワーク技術により構築される。
 リモコン3は、各設備機器2をユーザが所望する設定条件で運転動作させるためのリモートコントローラである。リモコン3は、設備機器2毎に1台ずつ用意された構成にしてもよいし、本例のように、1台のリモコン3が複数台の設備機器2に対応する構成であってもよい。
 リモコン3は、ハードウェア的には、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、フラッシュメモリ等の読み書き可能な不揮発性の半導体メモリ、所定のユーザインタフェース、設備ネットワーク4を介して他の機器と通信するための通信インタフェース等(何れも図示せず)から構成される。ユーザインタフェースは、例えば、液晶表示器等の表示デバイスや、キーパッド、タッチパッド、タッチパネル等の入力デバイス等から構成される。リモコン3は、ユーザインタフェースを介して、ユーザからの入力操作を受け付け、受け付けた入力操作に係るデータ(機器制御データ)を指定された設備機器2に送信する。
 設備機器2は、リモコン3からの機器制御データに基づいた運転動作を行う。例えば、設備機器2が空調機の場合、設備機器2は、リモコン3からの機器制御データに従って、冷房、暖房、送風、除湿等の運転モードを切り替えたり、設定された温度の空気を設定された風量で吹き出す動作等を行う。また、例えば、設備機器2が照明器の場合、設備機器2は、リモコン3からの機器制御データに従って、消灯・点灯動作を行ったり、照度や色温度等を変更した照明を行う。
 設備機器2は、上述のように、リモコン3によって動作状態が変更されると、変更した動作状態を示す状態変更データをシステムコントローラ1に送信する。
 システムコントローラ1は、ハードウェア的には、CPU、ROM、RAM、フラッシュメモリ等の読み書き可能な不揮発性の半導体メモリあるいはハードディスクドライブ、所定のユーザインタフェース、設備ネットワーク4を介して他の機器と通信するための通信インタフェース等(何れも図示せず)から構成される。ユーザインタフェースは、入力デバイス(例えば、キーボード、マウス、キーパッド、タッチパッドやタッチパネル等から構成される。)と、表示デバイス(例えば、CRTや液晶表示器等から構成される。)と、から構成される。
 システムコントローラ1は、設備機器2から上述した状態変更データを受信すると、かかる状態変更データを、当該設備機器2の現在の運転状態として保持する。各設備機器2の運転状態は、例えば、ユーザ操作に応じて、上記の表示デバイスから所定態様で表示出力される。ここでいう運転状態には、運転モード(停止、冷房、暖房、送風、除湿など)や設定されている温度や風量等の内容が含まれる。また、システムコントローラ1は、上記の入力デバイスを介したユーザ操作に応じて、特定の設備機器2を、ユーザが所望する設定条件で運転動作させることもできる。即ち、システムコントローラ1は、ユーザ操作が、設備機器2の運転動作の変更に関する操作である場合、かかる操作に応じて、機器制御データを生成し、これを、対応する設備機器2に対して送信することで、当該設備機器2の運転動作を制御することができる。
 図2は、システムコントローラ1の機能構成を示すブロック図である。図2に示すように、システムコントローラ1は、操作受付部10と、表示部11と、表示用データ記憶部12と、ユーザI/F制御部13と、機器制御用データ記憶部14と、機器制御部15と、調停部16と、第1のFIFOバッファ17と、第2のFIFOバッファ18と、を備える。
 ユーザI/F制御部13、機器制御部15、調停部16等の機能は、システムコントローラ1に実装されている所定のOS(Operating System)の制御下で、CPU等が、ROM等に記憶されている1又は複数の所定のプログラムを実行することで実現される。そして、ユーザI/F制御部13、機器制御部15は、いわゆるタスクであり、OSによって、交互に起動される。
 操作受付部10は、ユーザからの入力操作を受け付ける。操作受付部10が受け付けた入力操作に係るデータ(ユーザ操作データ)は、操作割り込みハンドラ(図示せず)によって、操作割り込み用バッファ(図示せず)に書き込まれる。操作割り込み用バッファに書き込まれたユーザ操作データは、ユーザI/F制御部13によって読み込まれる。
 表示部11は、ユーザI/F制御部13の制御の下、ユーザ操作用の画面を表示したり、ユーザの入力結果(即ち、ユーザ操作データ)やユーザの所望するデータ(例えば、設備機器2の運転状態を示すデータ)等の表示を行う。
 表示用データ記憶部12(第1のデータ記憶手段)は、各設備機器2の運転状態を示すデータ(運転状態データ)や、その他、表示部11による上記の表示に関する様々なデータを記憶する。
 ユーザI/F制御部13(第1の制御手段)は、上述した操作受付部10、表示部11を制御して、当該システムコントローラ1におけるユーザインタフェースに関する制御全般を行う。ユーザI/F制御部13は、起動すると、先ず、操作割り込み用バッファをチェックする。操作割り込み用バッファに上述したユーザ操作データが格納されている場合、ユーザI/F制御部13は、操作割り込み用バッファからユーザ操作データを読み出し、かかるユーザ操作データの内容に応じた処理を行う。
 この場合、例えば、ユーザ操作データが、設備機器2の運転動作に関するものであると、ユーザI/F制御部13は、後述する調停部16に対して、運転状態データの更新登録要求を行う。その結果、調停部16から更新登録を許可する旨の応答が返ってきた場合、ユーザI/F制御部13は、当該ユーザ操作データからFIFO登録データ(詳細は後述する)を生成し、第1のFIFOバッファ17に格納する。また、ユーザI/F制御部13は、生成したFIFO登録データを運転状態データとして表示用データ記憶部12に保存する。
 一方、調停部16から更新登録を禁止する旨の応答が返ってきた場合、ユーザI/F制御部13は、操作割り込み用バッファから読み出したユーザ操作データを破棄する。
 操作割り込み用バッファにユーザ操作データが格納されていない場合、ユーザI/F制御部13は、調停部16に対して、更新登録すべき運転状態データの存在有無を問い合わせる。調停部16から、更新登録すべき運転状態データが存在する旨の応答が返ってきた場合、ユーザI/F制御部13は、第2のFIFOバッファ18からFIFO登録データを順次取り出し、運転状態データとして表示用データ記憶部12に保存する。FIFO登録データの取り出し完了後、ユーザI/F制御部13は、第2のFIFOバッファ18をクリアする。即ち、ユーザI/F制御部13は、第2のFIFOバッファ18に格納されている全てのFIFO登録データを消去する。
 機器制御用データ記憶部14(第2のデータ記憶手段)は、各設備機器2の運転状態データを記憶する。詳細は後述するが、機器制御用データ記憶部14に記憶される運転状態データのデータ構造は、表示用データ記憶部12に記憶される運転状態データのデータ構造と同一である。
 機器制御部15(第2の制御手段)は、設備機器2から送信された上述の状態変更データを受信し、受信した状態変更データを当該設備機器2の現在の運転状態データとして機器制御用データ記憶部14に保存する。
 より詳細には、図示しない通信インタフェースが設備機器2から送信された状態変更データの受信を開始すると、受信割り込みハンドラ(図示せず)が起動する。そして、この受信割り込みハンドラは、通信インタフェースを介して受信した状態変更データを受信割り込み用バッファ(図示せず)に書き込む。機器制御部15は、起動すると、先ず、この受信割り込み用バッファをチェックする。受信割り込み用バッファに状態変更データが格納されている場合、機器制御部15は、受信割り込み用バッファから状態変更データを読み出す。そして、機器制御部15は、調停部16に対して、運転状態データの更新登録要求を行う。
 その結果、調停部16から更新登録を許可する旨の応答が返ってきた場合、機器制御部15は、当該状態変更データからFIFO登録データ(詳細は後述する)を生成し、第2のFIFOバッファ18に格納する。また、機器制御部15は、生成したFIFO登録データを運転状態データとして機器制御用データ記憶部14に保存する。一方、調停部16から更新登録を禁止する旨の応答が返ってきた場合、機器制御部15は、受信割り込み用バッファから読み出した状態変更データを破棄する。
 受信割り込み用バッファに状態変更データが格納されていない場合、機器制御部15は、調停部16に対して、更新登録すべき運転状態データの存在有無を問い合わせる。調停部16から、更新登録すべき運転状態データが存在する旨の応答が返ってきた場合、機器制御部15は、第1のFIFOバッファ17からFIFO登録データを順次取り出し、機器制御用データ記憶部14に運転状態データとして保存する。FIFO登録データの取り出し完了後、機器制御部15は、第1のFIFOバッファ17をクリアする。即ち、機器制御部15は、第1のFIFOバッファ17に格納されている全てのFIFO登録データを消去する。また、機器制御部15は、第1のFIFOバッファ17から取り出したFIFO登録データに基づいて、機器制御データを生成し、対応する設備機器2に対して送信する。
 調停部16は、上述したように、ユーザI/F制御部13又は機器制御部15から、運転状態データの更新登録要求を受けると、当該運転状態データの更新登録を許可するか禁止するかの何れかを決定し、その決定結果を、要求元のユーザI/F制御部13又は機器制御部15に応答する。調停部16は、更新登録要求の際にユーザI/F制御部13又は機器制御部15から通知されたデータIDに基づいて、上記の決定を行う。
 ここで、本実施形態における運転状態データの構造について説明する。運転状態データは、図3に示すように、データIDと、データ値と、から構成される。データIDは、当該システム内で利用される各データのインスタンスレベルを一意に識別するために予め割り振られたIDである。より詳細には、データIDは、各設備機器2について、制御・監視対象毎に付与される。例えば、データIDは、「設備機器2Aの運転モード」、「設備機器2Bの設定温度」、「設備機器2Cの設定風量」等ごとに付与される。
 データ値は、例えば、運転状態の内容が運転モードを示す場合では、停止:0、冷房:1、暖房:2、送風:3、除湿:4等のように、運転モードの種別に応じて予め決められた値で示される。また、運転状態の内容が設定温度を示す場合では、データ値は、温度の値(単位:℃)を示す。
 調停部16は、ユーザI/F制御部13又は機器制御部15の一方から運転状態データの更新登録要求を受けると、既に他方から同一のデータIDに係る運転状態データの更新登録要求が行われているか否かを判定する。換言すると、調停部16は、同一のデータIDに係る運転状態データの更新登録要求の競合が発生しているか否かを判定する。その結果、競合が発生していない場合、調停部16は、今回の要求元のユーザI/F制御部13又は機器制御部15に対して、更新登録を許可する旨の応答を返す。一方、競合が発生している場合、調停部16は、今回の要求元に対して、更新登録を禁止する旨の応答を返す。つまり、競合が発生した場合は、先に更新登録要求を行った方を優先する(即ち、先勝ち)。
 また、調停部16は、ユーザI/F制御部13又は機器制御部15の一方から、上述した更新登録すべき運転状態データの存在有無の問い合わせを受けると、既に許可した他方の更新登録要求が存在するか否かを判定する。許可済みの他方の更新登録要求が存在する場合、調停部16は、問い合わせ元のユーザI/F制御部13又は機器制御部15に対して、更新登録すべき運転状態データが存在する旨の応答を返す。一方、許可済みの他方の更新登録要求が存在しない場合、調停部16は、問い合わせ元に対して、更新登録すべき運転状態データが存在しない旨の応答を返す。
 第1のFIFOバッファ17は、ユーザI/F制御部13から機器制御部15に対して、更新登録すべき運転状態データを転送するために使用されるバッファである。上述したように、ユーザI/F制御部13は、調停部16から更新登録を許可する旨の応答が返ってきた場合、FIFO登録データを第1のFIFOバッファ17に格納する。そして、機器制御部15は、調停部16から、更新登録すべき運転状態データが存在する旨の応答が返ってきた場合、第1のFIFOバッファ17からFIFO登録データを取り出す。本実施形態では、FIFO登録データのデータ構造は、運転状態データのデータ構造(図3参照)と同一である。
 第2のFIFOバッファ18は、機器制御部15からユーザI/F制御部13に対して、更新登録すべき運転状態データを転送するために使用されるバッファである。上述したように、機器制御部15は、調停部16から更新登録を許可する旨の応答が返ってきた場合、FIFO登録データを第2のFIFOバッファ18に格納する。そして、ユーザI/F制御部13は、調停部16から、更新登録すべき運転状態データが存在する旨の応答が返ってきた場合、第2のFIFOバッファ18からFIFO登録データを取り出す。
 図4は、ユーザI/F制御部13の動作手順を示すフローチャートである。ユーザI/F制御部13は、起動すると、操作割り込み用バッファをチェックする。操作割り込み用バッファにユーザ操作データが格納されている場合、即ち、ユーザにより入力操作が行われた場合(ステップS101;YES)、ユーザI/F制御部13は、操作割り込み用バッファからユーザ操作データを読み出す(ステップS102)。
 読み出したユーザ操作データが、設備機器2の運転動作に関するものである場合(ステップS103;YES)、ユーザI/F制御部13は、調停部16に対して、運転状態データの更新登録要求を行う(ステップS104)。一方、読み出したユーザ操作データが、設備機器2の運転動作に関するものでない場合(ステップS103;NO)、ユーザI/F制御部13は、かかるユーザ操作データの内容に応じて、表示等のユーザインタフェース処理を行う(ステップS108)。
 更新登録要求の後、調停部16から、更新登録を許可する旨の応答が返ってきた場合(ステップS105;YES)、ユーザI/F制御部13は、当該ユーザ操作データからFIFO登録データを生成し、第1のFIFOバッファ17に格納する(ステップS106)。また、ユーザI/F制御部13は、生成したFIFO登録データを運転状態データとして表示用データ記憶部12に保存する(ステップS107)。
 一方、調停部16から更新登録を禁止する旨の応答が返ってきた場合(ステップS105;NO)、ユーザI/F制御部13は、操作割り込み用バッファから読み出したユーザ操作データを破棄する(ステップS109)。
 操作割り込み用バッファにユーザ操作データが格納されていない場合(ステップS101;NO)、ユーザI/F制御部13は、調停部16に対して、更新登録すべき運転状態データの存在有無を問い合わせる(ステップS110)。これに対し、調停部16から、更新登録すべき運転状態データが存在する旨の応答が返ってきた場合(ステップS111;YES)、ユーザI/F制御部13は、第2のFIFOバッファ18からFIFO登録データを順次取り出し、運転状態データとして表示用データ記憶部12に保存する(ステップS112)。
 FIFO登録データの取り出し完了後、ユーザI/F制御部13は、第2のFIFOバッファ18をクリアする(ステップS113)。また、ユーザI/F制御部13は、機器制御部15から転送された更新登録すべき全ての運転状態データの更新登録が完了した旨を調停部16に通知する(ステップS114)。
 かかる通知は、機器制御部15が更新登録要求した全ての運転状態データが、表示用データ記憶部12に反映されたことを意味するため、調停部16は、先に受け付けた機器制御部15の全ての更新登録要求を抹消する。
 続いて、図5のフローチャートを参照して、機器制御部15の動作手順を説明する。機器制御部15は、起動すると、受信割り込み用バッファをチェックする。受信割り込み用バッファに状態変更データが格納されている場合、即ち、何れかの設備機器2からの状態変更データを受信していた場合(ステップS201;YES)、機器制御部15は、受信割り込み用バッファから状態変更データを読み出す(ステップS202)。そして、機器制御部15は、調停部16に対して、運転状態データの更新登録要求を行う(ステップS203)。
 更新登録要求の後、調停部16から、更新登録を許可する旨の応答が返ってきた場合(ステップS204;YES)、機器制御部15は、当該状態変更データからFIFO登録データを生成し、第2のFIFOバッファ18に格納する(ステップS205)。また、機器制御部15は、生成したFIFO登録データを運転状態データとして機器制御用データ記憶部14に保存する(ステップS206)。一方、調停部16から更新登録を禁止する旨の応答が返ってきた場合(ステップS204;NO)、機器制御部15は、受信割り込み用バッファから読み出した状態変更データを破棄する(ステップS207)。
 受信割り込み用バッファに状態変更データが格納されていない場合(ステップS201;NO)、機器制御部15は、調停部16に対して、更新登録すべき運転状態データの存在有無を問い合わせる(ステップS208)。これに対し、調停部16から、更新登録すべき運転状態データが存在する旨の応答が返ってきた場合(ステップS209;YES)、機器制御部15は、第1のFIFOバッファ17からFIFO登録データを順次取り出し、運転状態データとして機器制御用データ記憶部14に保存する(ステップS210)。
 FIFO登録データの取り出し完了後、機器制御部15は、第1のFIFOバッファ17をクリアする(ステップS211)。また、機器制御部15は、ユーザI/F制御部13から転送された更新登録すべき全ての運転状態データの更新登録が完了した旨を調停部16に通知する(ステップS212)。
 かかる通知は、ユーザI/F制御部13が更新登録要求した全ての運転状態データが、機器制御用データ記憶部14に反映されたことを意味するため、調停部16は、先に受け付けたユーザI/F制御部13の全ての更新登録要求を抹消する。
 そして、機器制御部15は、第1のFIFOバッファ17から取り出したFIFO登録データに基づいて、機器制御データを生成し、対応する設備機器2に対して送信する(ステップS213)。
 以上説明したように、本実施形態のシステムコントローラ1は、ユーザI/F制御部13及び機器制御部15のそれぞれの処理において、あるデータIDの運転状態データのデータ値に変更が生じた場合、当該データIDの運転状態データの更新登録の可否を決定する調停部16を備えている。これにより、ユーザI/F制御部13及び機器制御部15のそれぞれが管理する表示用データ記憶部12及び機器制御用データ記憶部14において、運転状態データの更新同期を取ることができ、運転状態データの整合性が維持できる。
 また、OSの機能に依拠しない構成により、上記の更新同期を実現するため、例えば、システムコールの発行等、OSの処理に起因したオーバヘッドやデッドロックの発生を回避することが可能となる。したがって、実行効率を高めることが期待できる。
 本実施形態の変形例として、以下のような様々な構成も採用可能である。
 例えば、運転状態データの更新登録要求が競合した場合、調停部16は、予めユーザI/F制御部13及び機器制御部15のそれぞれに付与した優先度を比較し、優先度が高い方の更新登録要求を優先させる仕様にしてもよい。
 また、第1のFIFOバッファ17及び第2のFIFOバッファ18それぞれからのFIFO登録データの取り出し手法についても、上記実施形態に限定されることはない。即ち、ユーザI/F制御部13(機器制御部15)は、一の起動時の処理で、第2のFIFOバッファ18(第1のFIFOバッファ17)から、必ずしも全てのFIFO登録データを取り出す必要はない。例えば、1つずつ取り出す仕様でもよいし、予め決められた数を限度として、取り出す仕様にしてもよい。その場合、ユーザI/F制御部13(機器制御部15)は、第2のFIFOバッファ18(第1のFIFOバッファ17)における当該FIFO登録データを取り出した領域のみをクリアする。即ち、ユーザI/F制御部13(機器制御部15)は、第2のFIFOバッファ18(第1のFIFOバッファ17)から当該FIFO登録データのみを消去する。
 そして、ユーザI/F制御部13(機器制御部15)は、取り出しが完了した1又は複数のFIFO登録データの各データIDを調停部16に通知する。かかる通知を受けると、調停部16は、先に受け付けた他方の制御部(タスク)における当該データIDに対応する更新登録要求を抹消する。
(実施形態2)
 続いて、本発明の実施形態2に係るシステムコントローラについて説明する。実施形態1のシステムコントローラ1は、2つの制御部(ユーザI/F制御部13及び機器制御部15)のそれぞれが管理するデータ記憶部(表示用データ記憶部12及び機器制御用データ記憶部14)における運転状態データの更新同期を取る構成であった。本実施形態のシステムコントローラは、3つの制御部のそれぞれが管理するデータ記憶部における運転状態データの更新同期を取る構成となっている。
 図6は、本実施形態のシステムコントローラ5の機能構成を概略的に示すブロック図である。なお、このシステムコントローラ5についても、実施形態1のシステムコントローラ1と同様、図1に示すような設備システムを構成するものとする。
 図6に示すように、システムコントローラ5は、第1の制御部51と、第1のデータ記憶部52と、第2の制御部53と、第2のデータ記憶部54と、第3の制御部55と、第3のデータ記憶部56と、調停部57と、第1のFIFOバッファ58と、第2のFIFOバッファ59と、第3のFIFOバッファ60と、を備える。
 第1の制御部51、第2の制御部53、第3の制御部55は、いわゆるタスクであり、OSによって、所定の順番で順次起動が切り替えられる。
 第1の制御部51、第2の制御部53及び第3の制御部55の内の何れか一つは、実施形態1のシステムコントローラ1におけるユーザI/F制御部13と同様、当該システムコントローラ5におけるユーザインタフェースに関する制御全般を行う。また、これらの内の他の一つは、実施形態1のシステムコントローラ1における機器制御部15と同様、設備機器2の制御に関する処理を行う。
 第1の制御部51は、第1のデータ記憶部52にアクセスして、運転状態データを含む各種データの書き込み、読み出しを行う。第2の制御部53は、第2のデータ記憶部54にアクセスして、運転状態データを含む各種データの書き込み、読み出しを行う。第3の制御部55は、第3のデータ記憶部56にアクセスして、運転状態データを含む各種データの書き込み、読み出しを行う。
 調停部57は、実施形態1のシステムコントローラ1における調停部16と同様、第1の制御部51、第2の制御部53又は第3の制御部55から、運転状態データの更新登録要求を受けると、当該運転状態データの更新登録を許可するか禁止するかの何れかを決定し、その決定結果を要求元に応答する。また、調停部57は、第1の制御部51、第2の制御部53又は第3の制御部55から、更新登録すべき運転状態データの存在有無の問い合わせを受けると、既に許可した他の更新登録要求が存在するか否かを判定する。
 許可済みの他の更新登録要求が存在する場合、調停部57は、問い合わせ元に対して、更新登録すべき運転状態データが存在する旨の応答を返す。一方、許可済みの他の更新登録要求が存在しない場合、調停部57は、問い合わせ元に対して、更新登録すべき運転状態データが存在しない旨の応答を返す。
 第1のFIFOバッファ58は、第1の制御部51から、第2の制御部53及び第3の制御部55に対して、更新登録すべき運転状態データを転送するために使用されるバッファである。第2のFIFOバッファ59は、第2の制御部53から、第1の制御部51及び第3の制御部55に対して、更新登録すべき運転状態データを転送するために使用されるバッファである。第3のFIFOバッファ60は、第3の制御部55から、第1の制御部51及び第2の制御部53に対して、更新登録すべき運転状態データを転送するために使用されるバッファである。
 上記の構成のシステムコントローラ5において、各タスク(第1の制御部51、第2の制御部53、第3の制御部55)の動作手順について、図7のフローチャートを参照して説明する。なお、以下の動作手順においては、本実施形態のシステムコントローラ5特有の機能についての理解を容易にするため、各タスク共通の動作についてのみ説明する。各タスク共通の動作を、第1の制御部51の動作を例にして説明する。
 先ず、第1の制御部51は、自己の管理する割り込み用バッファ(図示せず)をチェックする。その割り込み用バッファに、設備機器2の運転動作に関するデータが格納されている場合(ステップS301;YES)、第1の制御部51は、当該割り込み用バッファから当該データを読み出す(ステップS302)。そして、第1の制御部51は、調停部57に対して、運転状態データの更新登録要求を行う(ステップS303)。その際、第1の制御部51は、調停部57に対して、タスクIDとデータIDを通知する。タスクIDは、各タスク、即ち、各制御部(第1の制御部51、第2の制御部53、第3の制御部55)を一意に識別するために予め割り振られたIDである。
 かかる更新登録要求を受けると、調停部57は、既に他のタスク(ここでは、第2の制御部53又は第3の制御部55)から、同一のデータIDに係る運転状態データの更新登録要求が行われているか否かを判定する。換言すると、調停部57は、同一のデータIDに係る運転状態データの更新登録要求の競合が発生しているか否かを判定する。
 その結果、調停部57から、更新登録を許可する旨の応答が返ってきた場合(ステップS304;YES)、第1の制御部51は、当該割り込み用バッファから読み出したデータに基づいてFIFO登録データを生成し、第1のFIFOバッファ58に格納する(ステップS305)。ここで、本実施形態のFIFO登録データのデータ構造について説明する。図8に示すように、本実施形態のFIFO登録データは、実施形態1のFIFO登録データと同様、データIDと、データ値と、から構成される。但し、データIDの上位数ビット(ここでは、3ビット)が、宛先(転送先)の指定領域に使用される点が、実施形態1の場合と異なる。
 本例では、最上位ビットから順に1ビットずつ、第1の制御部51、第2の制御部53、第3の制御部55を宛先指定するために使用される。この宛先指定領域において、あるタスク(第1の制御部51、第2の制御部53又は第3の制御部55)に対応するビットを立てることで、当該タスクをFIFO登録データ(即ち、運転状態データ)の転送先として指定することができる。
 例えば、第1の制御部51が、第2の制御部53及び第3の制御部55にFIFO登録データを転送したい場合、宛先指定領域を図9Aに示すように設定する。また、例えば、あるデータIDの運転状態データについては、第1の制御部51及び第3の制御部55の間で更新同期が取れればよい場合では、第1の制御部51は、宛先指定領域を図9Bに示すように設定すればよい。
 図7のフローに戻り、第1の制御部51は、生成したFIFO登録データを運転状態データとして第1のデータ記憶部52に保存する(ステップS306)。一方、調停部57から更新登録を禁止する旨の応答が返ってきた場合(ステップS304;NO)、第1の制御部51は、当該割り込み用バッファから読み出したデータを破棄する(ステップS307)。
 当該割り込み用バッファに設備機器2の運転動作に関するデータが格納されていない場合(ステップS301;NO)、第1の制御部51は、調停部57に対して、更新登録すべき運転状態データの存在有無を問い合わせる(ステップS308)。
 調停部57は、更新登録すべき運転状態データの存在有無の問い合わせを受けると、既に許可した他のタスク(ここでは、第2の制御部53又は第3の制御部55)による更新登録要求が存在するか否かを判定する。許可済みの他の更新登録要求が存在する場合、調停部57は、第1の制御部51に対して、更新登録すべき運転状態データが存在する旨の応答を返す。その際、調停部57は、更新登録すべき運転状態データ(即ち、FIFO登録データ)が格納されたFIFOバッファを示す情報を第1の制御部51に対して通知する。この場合、例えば、該当するFIFOバッファの先頭アドレスを示すポインタ等が通知される。
 一方、許可済みの他の更新登録要求が存在しない場合、調停部57は、第1の制御部51に対して、更新登録すべき運転状態データが存在しない旨の応答を返す。
 調停部57から、更新登録すべき運転状態データが存在する旨の応答が返ってきた場合(ステップS309;YES)、第1の制御部51は、通知されたFIFOバッファ(ここでは、第2のFIFOバッファ59又は第3のFIFOバッファ60の何れか)から、FIFO登録データを順次取り出し、運転状態データとして第1のデータ記憶部52に保存する(ステップS310)。
 上記において、第1の制御部51は、取り出したFIFO登録データの宛先指定領域における自タスクに対応するビット(ここでは、最上位ビット)を落とした後(ビットを0にした後)、再度、FIFOバッファの元の格納先に上書きする処理も行う。つまり、第1の制御部51は、自己に対する宛先指定を解除する処理を行う。例えば、取り出したFIFO登録データの宛先指定領域が図10Aに示すように設定されていた場合、第1の制御部51は、宛先指定領域を図10Bに示すように設定変更する。これにより、当該FIFO登録データにおいて、第1の制御部51については、取り出しが完了したことが示されることになる。
 なお、第1の制御部51がビットを落とした結果、宛先指定領域を構成する全ビットが、落ちた(0になった)状態になった場合、第1の制御部51は、当該FIFOバッファから当該FIFO登録データを消去する。
 また、更新登録すべき運転状態データが、第2のFIFOバッファ59及び第3のFIFOバッファ60の双方に格納されている場合、調停部57は、その旨を第1の制御部51に通知する。そして、第1の制御部51は、第2のFIFOバッファ59及び第3のFIFOバッファ60の双方から、FIFO登録データを順次取り出し、運転状態データとして第1のデータ記憶部52に保存する。
 FIFO登録データの取り出しの際、FIFOバッファから当該FIFO登録データを消去した場合(ステップS311;YES)、第1の制御部51は、消去したFIFO登録データのデータIDを調停部57に通知する(ステップS312)。
 調停部57は、第1の制御部51から上記の通知を受けると、他の制御部(タスク)による当該データIDに対応する更新登録要求を抹消する。
 このように、本実施形態のシステムコントローラ5では、3つの制御部(タスク)のそれぞれが管理するデータ記憶部(データベース)における運転状態データの更新同期を取ることが可能である。また、制御部及びデータ記憶部の組が4つ以上の構成においても、宛先指定領域のビット幅を拡張すれば、上記同様のロジックで容易に対応することができる。
 なお、運転状態データの更新登録要求が競合した場合、調停部57は、第1の制御部51、第2の制御部53及び第3の制御部55のそれぞれに付与した優先度を比較し、優先度が高い方の更新登録要求を優先させる仕様にしてもよい。
 また、上記実施形態1のシステムコントローラ1及び実施形態2のシステムコントローラ5がそれぞれ実行したプログラムを、既存のパーソナルコンピュータ(PC)等に適用することで、当該PCを本発明に係るシステムコントローラとして機能させることも可能である。
 このようなプログラムの配布方法は任意であり、例えば、CD-ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、MO(Magneto Optical Disk)、メモリカードなどのコンピュータ読み取り可能な記録媒体に格納して配布してもよいし、インターネットなどの通信ネットワークを介して配布してもよい。
 本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。また、上述した実施形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施形態ではなく、特許請求の範囲によって示される。そして、特許請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。
 本発明は、ビル内等に設置される空調機や照明器等の設備機器を制御し、管理するためのシステムに好適に採用され得る。
1 システムコントローラ(実施形態1)
 10 操作受付部
 11 表示部
 12 表示用データ記憶部
 13 ユーザI/F制御部
 14 機器制御用データ記憶部
 15 機器制御部
 16 調停部
 17 第1のFIFOバッファ
 18 第2のFIFOバッファ
2A、2B、2C 設備機器
3 リモコン
4 設備ネットワーク
5 システムコントローラ(実施形態2)
 51 第1の制御部
 52 第1のデータ記憶部
 53 第2の制御部
 54 第2のデータ記憶部
 55 第3の制御部
 56 第3のデータ記憶部
 57 調停部
 58 第1のFIFOバッファ
 59 第2のFIFOバッファ
 60 第3のFIFOバッファ

Claims (8)

  1.  ユーザインタフェースに関する処理を行う第1の制御手段と、
     複数の設備機器の各々とデータの授受を行う第2の制御手段と、
     前記設備機器の運転状態に関する運転状態データを記憶し、前記第1の制御手段によってデータの読み書きが行われる第1のデータ記憶手段と、
     前記運転状態データを記憶し、前記第2の制御手段によってデータの読み書きが行われる第2のデータ記憶手段と、
     前記第1の制御手段又は前記第2の制御手段から、前記運転状態データの更新登録要求を受けると、所定条件の下、当該運転状態データの更新登録の許可又は禁止の何れかを決定し、決定した結果を要求元に応答すると共に、許可した場合には当該運転状態データの更新登録要求を保持する調停手段と、を備え、
     前記第1の制御手段又は前記第2の制御手段は、前記運転状態データの更新登録要求を行った場合、前記調停手段により前記更新登録が許可されると、当該運転状態データの更新内容を示す更新用データを所定のバッファに格納すると共に、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新し、
     前記第1の制御手段又は前記第2の制御手段は、他方の制御手段による前記更新登録要求を前記調停手段が保持している場合には、前記バッファから他方の制御手段が格納した更新用データを取り出し、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新するシステムコントローラ。
  2.  前記バッファは、
     前記第1の制御手段によって前記更新用データが書き込まれ、前記第2の制御手段によって当該更新用データが取り出される第1のバッファと、
     前記第2の制御手段によって前記更新用データが書き込まれ、前記第1の制御手段によって当該更新用データが取り出される第2のバッファと、から構成される請求項1に記載のシステムコントローラ。
  3.  前記調停手段は、前記第1の制御手段又は前記第2の制御手段から、前記運転状態データの更新登録要求を受けた際、当該運転状態データと所定のインスタンスレベルが一致する運転状態データについて、他方の制御手段による前記更新登録要求を保持していない場合には、当該更新登録を許可する請求項1又は2に記載のシステムコントローラ。
  4.  前記第1の制御手段及び前記第2の制御手段のそれぞれには、予め両者の優先関係を示す優先度が付与されており、
     前記調停手段は、前記第1の制御手段又は前記第2の制御手段から、前記運転状態データの更新登録要求を受けた際、当該運転状態データと所定のインスタンスレベルが一致する運転状態データについて、他方の制御手段の要求による前記更新登録要求を保持している場合、当該更新登録を行った方の制御手段の前記優先度が高い場合には、当該更新登録を許可する請求項1乃至3の何れか1項に記載のシステムコントローラ。
  5.  前記第1の制御手段及び前記第2の制御手段とは異なる処理を行う第3の制御手段と、
     前記設備機器の運転状態に関する運転状態データを記憶し、前記第3の制御手段によってデータの読み書きが行われる第3のデータ記憶手段と、をさらに備え、
     前記調停手段は、さらに、前記第3の制御手段から、前記運転状態データの更新登録要求を受けると、所定条件の下、当該運転状態データの更新登録の許可又は禁止の何れかを決定し、決定した結果を前記第3の制御手段に応答すると共に、許可した場合には当該運転状態データの更新登録要求を保持し、
     前記第1の制御手段、前記第2の制御手段又は前記第3の制御手段は、前記運転状態データの更新登録要求を行った場合、前記調停手段により前記更新登録が許可されると、当該運転状態データの更新内容を示す更新用データを所定のバッファに格納すると共に、対応する前記第1のデータ記憶手段、前記第2のデータ記憶手段又は前記第3のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新し、
     前記第1の制御手段、前記第2の制御手段又は前記第3の制御手段は、他の制御手段による前記更新登録要求を前記調停手段が保持している場合には、前記バッファから他の制御手段が格納した更新用データを取り出し、対応する前記第1のデータ記憶手段、前記第2のデータ記憶手段又は前記第3のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新する請求項1に記載のシステムコントローラ。
  6.  前記バッファは、
     前記第1の制御手段によって前記更新用データが書き込まれ、前記第2の制御手段又は前記第3の制御手段によって当該更新用データが取り出される第1のバッファと、
     前記第2の制御手段によって前記更新用データが書き込まれ、前記第1の制御手段又は前記第3の制御手段によって当該更新用データが取り出される第2のバッファと、
     前記第3の制御手段によって前記更新用データが書き込まれ、前記第1の制御手段又は前記第2の制御手段によって当該更新用データが取り出される第3のバッファと、から構成される請求項5に記載のシステムコントローラ。
  7.  前記更新用データには、前記第1の制御手段、前記第2の制御手段又は前記第3の制御手段が、当該更新用データを取り出すべき他の制御手段を指定するための領域が設けられている請求項5又は6に記載のシステムコントローラ。
  8.  コンピュータを、
     ユーザインタフェースに関する処理を行う第1の制御手段、
     複数の設備機器の各々とデータの授受を行う第2の制御手段、
     前記設備機器の運転状態に関する運転状態データを記憶し、前記第1の制御手段によってデータの読み書きが行われる第1のデータ記憶手段、
     前記運転状態データを記憶し、前記第2の制御手段によってデータの読み書きが行われる第2のデータ記憶手段、
     前記第1の制御手段又は前記第2の制御手段から、前記運転状態データの更新登録要求を受けると、所定条件の下、当該運転状態データの更新登録の許可又は禁止の何れかを決定し、決定した結果を要求元に応答すると共に、許可した場合には当該運転状態データの更新登録要求を保持する調停手段、として機能させるためのプログラムであって、
     前記第1の制御手段又は前記第2の制御手段は、前記運転状態データの更新登録要求を行った場合、前記調停手段により前記更新登録が許可されると、当該運転状態データの更新内容を示す更新用データを所定のバッファに格納すると共に、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新し、
     前記第1の制御手段又は前記第2の制御手段は、他方の制御手段による前記更新登録要求を前記調停手段が保持している場合には、前記バッファから他方の制御手段が格納した更新用データを取り出し、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新するプログラム。
PCT/JP2011/060456 2011-04-28 2011-04-28 システムコントローラ及びプログラム WO2012147203A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP2011/060456 WO2012147203A1 (ja) 2011-04-28 2011-04-28 システムコントローラ及びプログラム
JP2013511856A JP5558632B2 (ja) 2011-04-28 2011-04-28 システムコントローラ、設備システム及びプログラム
US14/112,977 US9488970B2 (en) 2011-04-28 2011-04-28 System controller and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/060456 WO2012147203A1 (ja) 2011-04-28 2011-04-28 システムコントローラ及びプログラム

Publications (1)

Publication Number Publication Date
WO2012147203A1 true WO2012147203A1 (ja) 2012-11-01

Family

ID=47071743

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/060456 WO2012147203A1 (ja) 2011-04-28 2011-04-28 システムコントローラ及びプログラム

Country Status (3)

Country Link
US (1) US9488970B2 (ja)
JP (1) JP5558632B2 (ja)
WO (1) WO2012147203A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2016067412A1 (ja) * 2014-10-30 2017-04-27 三菱電機株式会社 設備機器システム、及び、制御装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6203087B2 (ja) * 2014-03-11 2017-09-27 三菱電機株式会社 空気調和機、空気調和機システム、及び書き換え制御プログラム

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62145349A (ja) * 1985-12-20 1987-06-29 Hitachi Ltd システム間デ−タベ−ス共用方式
JPH01211140A (ja) * 1988-02-16 1989-08-24 Internatl Business Mach Corp <Ibm> データ資源アクセス方法
JP2001043121A (ja) * 1999-07-29 2001-02-16 Nec Corp 共通情報更新方式
JP2003263405A (ja) * 2002-03-08 2003-09-19 Nec Microsystems Ltd 非同期インタフェース装置及び非同期インタフェース方法
JP2003316753A (ja) * 2002-04-26 2003-11-07 Fujitsu Ltd マルチプロセッサ装置
JP2009146051A (ja) * 2007-12-12 2009-07-02 Mitsubishi Electric Corp 設備管理装置、設備機器ネットワークシステム、データアクセス制御方法、通信トラフィック制御方法、データアクセス制御プログラム、通信トラフィック制御プログラム
JP2009204185A (ja) * 2008-02-26 2009-09-10 Mitsubishi Electric Corp 空気調和システム
JP2010186241A (ja) * 2009-02-10 2010-08-26 Mitsubishi Electric Corp マルチプロセッサシステム

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07168603A (ja) * 1993-12-15 1995-07-04 Mitsubishi Electric Corp 多重化制御装置
JPH0877113A (ja) * 1994-09-06 1996-03-22 Mitsubishi Electric Corp マルチプロセッサシステム及びそのスタート方法
KR101318279B1 (ko) * 2005-08-04 2013-10-15 신에쓰 가가꾸 고교 가부시끼가이샤 열경화성 에폭시 수지 조성물 및 반도체 장치

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62145349A (ja) * 1985-12-20 1987-06-29 Hitachi Ltd システム間デ−タベ−ス共用方式
JPH01211140A (ja) * 1988-02-16 1989-08-24 Internatl Business Mach Corp <Ibm> データ資源アクセス方法
JP2001043121A (ja) * 1999-07-29 2001-02-16 Nec Corp 共通情報更新方式
JP2003263405A (ja) * 2002-03-08 2003-09-19 Nec Microsystems Ltd 非同期インタフェース装置及び非同期インタフェース方法
JP2003316753A (ja) * 2002-04-26 2003-11-07 Fujitsu Ltd マルチプロセッサ装置
JP2009146051A (ja) * 2007-12-12 2009-07-02 Mitsubishi Electric Corp 設備管理装置、設備機器ネットワークシステム、データアクセス制御方法、通信トラフィック制御方法、データアクセス制御プログラム、通信トラフィック制御プログラム
JP2009204185A (ja) * 2008-02-26 2009-09-10 Mitsubishi Electric Corp 空気調和システム
JP2010186241A (ja) * 2009-02-10 2010-08-26 Mitsubishi Electric Corp マルチプロセッサシステム

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2016067412A1 (ja) * 2014-10-30 2017-04-27 三菱電機株式会社 設備機器システム、及び、制御装置

Also Published As

Publication number Publication date
JPWO2012147203A1 (ja) 2014-07-28
US20140039646A1 (en) 2014-02-06
JP5558632B2 (ja) 2014-07-23
US9488970B2 (en) 2016-11-08

Similar Documents

Publication Publication Date Title
JP4947441B2 (ja) マルチプロセッサシステム、マルチプロセッサシステムにおけるシステム構成方法及びそのプログラム
JP4497993B2 (ja) 電子配付物の配付制御システム及び方法
JP2007058728A (ja) データ移行方式
EP2988220A1 (en) Computer system, computer-system management method, and program
JP2007199920A (ja) ストレージ装置及びその制御方法
JP2007066067A (ja) ストレージシステム、データ転送方法及びプログラム
JP5895944B2 (ja) 管理装置、管理プログラムおよび管理方法
CN104081367A (zh) 设备管理装置、设备管理方法、程序以及设备管理系统
JP4741304B2 (ja) データマイグレーション方法又はデータマイグレーションシステム
JP5558632B2 (ja) システムコントローラ、設備システム及びプログラム
JP6036190B2 (ja) 情報処理装置、情報処理システムの制御方法及び情報処理システムの制御プログラム
JP2012186560A (ja) 電子機器、情報処理システム、及びプログラム
JP5282569B2 (ja) 管理装置、管理システム、管理方法及び管理プログラム
JP2005339299A (ja) ストレージ装置のキャッシュ制御方法
JP5792325B2 (ja) 計算機システム、データ管理方法及びプログラム
JP4476108B2 (ja) ストレージシステム、コンピュータシステム及びストレージの情報取得方法
JP6515052B2 (ja) 通信装置、通信システム、通信方法およびプログラム
US20210018907A1 (en) Management device, management system, display method, and program
JP2005301880A (ja) 計算機システムにおけるデータ入出力処理方法、ストレージ装置、ホスト計算機、および計算機システム、
JP6291966B2 (ja) 初期化処理高速化システム、初期化処理高速化装置、初期化処理高速化方法及び初期化処理高速化プログラム
WO2016016998A1 (ja) コントローラ、および、ホームシステム
JP4479778B2 (ja) 情報管理プログラム及び情報管理装置
JP2017134607A (ja) 画像形成装置およびデータ処理プログラム
JP5951123B2 (ja) 制御装置
JP5721755B2 (ja) 設備制御装置、設備制御システム、設備制御方法及びプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11864234

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2013511856

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 14112977

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11864234

Country of ref document: EP

Kind code of ref document: A1