WO2012147203A1 - システムコントローラ及びプログラム - Google Patents
システムコントローラ及びプログラム Download PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/52—Program 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
Description
ユーザインタフェースに関する処理を行う第1の制御手段と、
複数の設備機器の各々とデータの授受を行う第2の制御手段と、
前記設備機器の運転状態に関する運転状態データを記憶し、前記第1の制御手段によってデータの読み書きが行われる第1のデータ記憶手段と、
前記運転状態データを記憶し、前記第2の制御手段によってデータの読み書きが行われる第2のデータ記憶手段と、
前記第1の制御手段又は前記第2の制御手段から、前記運転状態データの更新登録要求を受けると、所定条件の下、当該運転状態データの更新登録の許可又は禁止の何れかを決定し、決定した結果を要求元に応答すると共に、許可した場合には当該運転状態データの更新登録要求を保持する調停手段と、を備え、
前記第1の制御手段又は前記第2の制御手段は、前記運転状態データの更新登録要求を行った場合、前記調停手段により前記更新登録が許可されると、当該運転状態データの更新内容を示す更新用データを所定のバッファに格納すると共に、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新し、
前記第1の制御手段又は前記第2の制御手段は、他方の制御手段による前記更新登録要求を前記調停手段が保持している場合には、前記バッファから他方の制御手段が格納した更新用データを取り出し、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新する。
図1は、本実施形態に係るシステムコントローラ1を備えた設備システムの全体構成を示す図である。この設備システムは、例えば、オフィスビル内に設置される空調機や照明器等の設備機器2を制御し、管理するためのシステム(ビル設備システム)である。図1に示すように、この設備システムでは、システムコントローラ1と、複数の設備機器2(設備機器2A,2B,2C,…)と、1又は複数のリモコン3と、が設備ネットワーク4に接続されている。設備ネットワーク4は、一般的なビル設備システムにおける周知のネットワーク技術により構築される。
続いて、本発明の実施形態2に係るシステムコントローラについて説明する。実施形態1のシステムコントローラ1は、2つの制御部(ユーザI/F制御部13及び機器制御部15)のそれぞれが管理するデータ記憶部(表示用データ記憶部12及び機器制御用データ記憶部14)における運転状態データの更新同期を取る構成であった。本実施形態のシステムコントローラは、3つの制御部のそれぞれが管理するデータ記憶部における運転状態データの更新同期を取る構成となっている。
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の制御手段と、
複数の設備機器の各々とデータの授受を行う第2の制御手段と、
前記設備機器の運転状態に関する運転状態データを記憶し、前記第1の制御手段によってデータの読み書きが行われる第1のデータ記憶手段と、
前記運転状態データを記憶し、前記第2の制御手段によってデータの読み書きが行われる第2のデータ記憶手段と、
前記第1の制御手段又は前記第2の制御手段から、前記運転状態データの更新登録要求を受けると、所定条件の下、当該運転状態データの更新登録の許可又は禁止の何れかを決定し、決定した結果を要求元に応答すると共に、許可した場合には当該運転状態データの更新登録要求を保持する調停手段と、を備え、
前記第1の制御手段又は前記第2の制御手段は、前記運転状態データの更新登録要求を行った場合、前記調停手段により前記更新登録が許可されると、当該運転状態データの更新内容を示す更新用データを所定のバッファに格納すると共に、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新し、
前記第1の制御手段又は前記第2の制御手段は、他方の制御手段による前記更新登録要求を前記調停手段が保持している場合には、前記バッファから他方の制御手段が格納した更新用データを取り出し、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新するシステムコントローラ。 - 前記バッファは、
前記第1の制御手段によって前記更新用データが書き込まれ、前記第2の制御手段によって当該更新用データが取り出される第1のバッファと、
前記第2の制御手段によって前記更新用データが書き込まれ、前記第1の制御手段によって当該更新用データが取り出される第2のバッファと、から構成される請求項1に記載のシステムコントローラ。 - 前記調停手段は、前記第1の制御手段又は前記第2の制御手段から、前記運転状態データの更新登録要求を受けた際、当該運転状態データと所定のインスタンスレベルが一致する運転状態データについて、他方の制御手段による前記更新登録要求を保持していない場合には、当該更新登録を許可する請求項1又は2に記載のシステムコントローラ。
- 前記第1の制御手段及び前記第2の制御手段のそれぞれには、予め両者の優先関係を示す優先度が付与されており、
前記調停手段は、前記第1の制御手段又は前記第2の制御手段から、前記運転状態データの更新登録要求を受けた際、当該運転状態データと所定のインスタンスレベルが一致する運転状態データについて、他方の制御手段の要求による前記更新登録要求を保持している場合、当該更新登録を行った方の制御手段の前記優先度が高い場合には、当該更新登録を許可する請求項1乃至3の何れか1項に記載のシステムコントローラ。 - 前記第1の制御手段及び前記第2の制御手段とは異なる処理を行う第3の制御手段と、
前記設備機器の運転状態に関する運転状態データを記憶し、前記第3の制御手段によってデータの読み書きが行われる第3のデータ記憶手段と、をさらに備え、
前記調停手段は、さらに、前記第3の制御手段から、前記運転状態データの更新登録要求を受けると、所定条件の下、当該運転状態データの更新登録の許可又は禁止の何れかを決定し、決定した結果を前記第3の制御手段に応答すると共に、許可した場合には当該運転状態データの更新登録要求を保持し、
前記第1の制御手段、前記第2の制御手段又は前記第3の制御手段は、前記運転状態データの更新登録要求を行った場合、前記調停手段により前記更新登録が許可されると、当該運転状態データの更新内容を示す更新用データを所定のバッファに格納すると共に、対応する前記第1のデータ記憶手段、前記第2のデータ記憶手段又は前記第3のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新し、
前記第1の制御手段、前記第2の制御手段又は前記第3の制御手段は、他の制御手段による前記更新登録要求を前記調停手段が保持している場合には、前記バッファから他の制御手段が格納した更新用データを取り出し、対応する前記第1のデータ記憶手段、前記第2のデータ記憶手段又は前記第3のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新する請求項1に記載のシステムコントローラ。 - 前記バッファは、
前記第1の制御手段によって前記更新用データが書き込まれ、前記第2の制御手段又は前記第3の制御手段によって当該更新用データが取り出される第1のバッファと、
前記第2の制御手段によって前記更新用データが書き込まれ、前記第1の制御手段又は前記第3の制御手段によって当該更新用データが取り出される第2のバッファと、
前記第3の制御手段によって前記更新用データが書き込まれ、前記第1の制御手段又は前記第2の制御手段によって当該更新用データが取り出される第3のバッファと、から構成される請求項5に記載のシステムコントローラ。 - 前記更新用データには、前記第1の制御手段、前記第2の制御手段又は前記第3の制御手段が、当該更新用データを取り出すべき他の制御手段を指定するための領域が設けられている請求項5又は6に記載のシステムコントローラ。
- コンピュータを、
ユーザインタフェースに関する処理を行う第1の制御手段、
複数の設備機器の各々とデータの授受を行う第2の制御手段、
前記設備機器の運転状態に関する運転状態データを記憶し、前記第1の制御手段によってデータの読み書きが行われる第1のデータ記憶手段、
前記運転状態データを記憶し、前記第2の制御手段によってデータの読み書きが行われる第2のデータ記憶手段、
前記第1の制御手段又は前記第2の制御手段から、前記運転状態データの更新登録要求を受けると、所定条件の下、当該運転状態データの更新登録の許可又は禁止の何れかを決定し、決定した結果を要求元に応答すると共に、許可した場合には当該運転状態データの更新登録要求を保持する調停手段、として機能させるためのプログラムであって、
前記第1の制御手段又は前記第2の制御手段は、前記運転状態データの更新登録要求を行った場合、前記調停手段により前記更新登録が許可されると、当該運転状態データの更新内容を示す更新用データを所定のバッファに格納すると共に、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新し、
前記第1の制御手段又は前記第2の制御手段は、他方の制御手段による前記更新登録要求を前記調停手段が保持している場合には、前記バッファから他方の制御手段が格納した更新用データを取り出し、対応する前記第1のデータ記憶手段又は前記第2のデータ記憶手段に保存されている当該運転状態データの内容を前記更新用データに基づいて更新するプログラム。
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2016067412A1 (ja) * | 2014-10-30 | 2017-04-27 | 三菱電機株式会社 | 設備機器システム、及び、制御装置 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6203087B2 (ja) * | 2014-03-11 | 2017-09-27 | 三菱電機株式会社 | 空気調和機、空気調和機システム、及び書き換え制御プログラム |
Citations (8)
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)
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 | 신에쓰 가가꾸 고교 가부시끼가이샤 | 열경화성 에폭시 수지 조성물 및 반도체 장치 |
-
2011
- 2011-04-28 WO PCT/JP2011/060456 patent/WO2012147203A1/ja active Application Filing
- 2011-04-28 US US14/112,977 patent/US9488970B2/en active Active
- 2011-04-28 JP JP2013511856A patent/JP5558632B2/ja not_active Expired - Fee Related
Patent Citations (8)
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)
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 |