WO2021181670A1 - Air conditioning system, air conditioning device, communication method, and program - Google Patents

Air conditioning system, air conditioning device, communication method, and program Download PDF

Info

Publication number
WO2021181670A1
WO2021181670A1 PCT/JP2020/011166 JP2020011166W WO2021181670A1 WO 2021181670 A1 WO2021181670 A1 WO 2021181670A1 JP 2020011166 W JP2020011166 W JP 2020011166W WO 2021181670 A1 WO2021181670 A1 WO 2021181670A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
unit
air
cached
cache
Prior art date
Application number
PCT/JP2020/011166
Other languages
French (fr)
Japanese (ja)
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 JP2022505698A priority Critical patent/JP7258219B2/en
Priority to PCT/JP2020/011166 priority patent/WO2021181670A1/en
Publication of WO2021181670A1 publication Critical patent/WO2021181670A1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers

Definitions

  • This disclosure relates to air conditioning systems, air conditioning equipment, communication methods and programs.
  • Patent Document 1 discloses a technique for connecting a plurality of air conditioners such as an outdoor unit and a centralized remote controller so as to be able to communicate with each other by a daisy chain.
  • the frame when a frame is transmitted from one air conditioner to another, the frame may be transmitted via a plurality of communication lines connecting each air conditioner.
  • the source air conditioner attempts to retransmit the frame. Since the frame to be retransmitted can also be transmitted via a plurality of communication lines, frequent retransmissions occur when a communication failure occurs, and there is a risk that traffic will locally increase on the plurality of communication lines.
  • an object of the present disclosure is to provide an air conditioning system or the like that suppresses an increase in traffic at the time of frame retransmission in a plurality of air conditioning devices connected by a daisy chain.
  • the air conditioning system is Equipped with multiple air conditioners connected to each other by daisy chain
  • Each air conditioner of the plurality of air conditioners Transfer means to transfer frames and When the transfer means transfers a frame transmitted from the first air conditioner included in the plurality of air conditioners to the second air conditioner included in the plurality of air conditioners, whether or not to cache the frame is determined.
  • Judgment means for determining based on predetermined conditions and When it is determined by the determination means that the frame is cached, the cache means for caching the frame and the cache means.
  • the transfer means does not transfer the response frame to the frame within a predetermined period after the cached frame is transferred, the retransmission means for retransmitting the cached frame to the second air conditioner.
  • the predetermined conditions are set so that the number of air conditioners that cache the frame is not two or more.
  • the figure which shows the structure of the air-conditioning system which concerns on embodiment of this disclosure The figure which shows an example of the structure of the frame which concerns on embodiment of this disclosure.
  • the figure which shows the functional structure of the centralized remote control which concerns on embodiment of this disclosure The figure which shows an example of the cache condition set by the initial setting part of the centralized remote controller and the initial setting part of an outdoor unit which concerns on embodiment of this disclosure.
  • the figure which shows the functional structure of the outdoor unit which concerns on embodiment of this disclosure The figure which shows the functional structure of the indoor unit which concerns on embodiment of this disclosure.
  • a flowchart showing an example of processing at the time of frame transfer by the outdoor unit according to the embodiment of the present disclosure A flowchart showing an example of processing at the time of frame transfer by the centralized remote controller according to the embodiment of the present disclosure.
  • the air conditioning system 1 includes a centralized remote controller 10, a plurality of outdoor units 20, and a plurality of indoor units 30.
  • the centralized remote controller 10 and each outdoor unit 20 are connected to each other so as to be able to communicate with each other by a daisy chain by a communication line L.
  • the outdoor unit 20 is communicably connected to the indoor unit 30 under the control of the outdoor unit 20 by a bus connection by the transmission bus B.
  • the air conditioning system 1 is an example of the air conditioning system according to the present disclosure.
  • the communication line L is an example of the first communication line according to the present disclosure.
  • the transmission bus B is an example of the second communication line according to the present disclosure.
  • FIG. 1 shows four outdoor units 20.
  • each of the outdoor units 20 will be described as an outdoor unit 20a, an outdoor unit 20b, an outdoor unit 20c, and an outdoor unit 20d, as shown in FIG.
  • the centralized remote controller 10 communicates with each outdoor unit 20 and each indoor unit 30 to control each outdoor unit 20 and each indoor unit 30.
  • the centralized remote controller 10 is, for example, a centralized remote controller installed in a management room of an office building and controlling an outdoor unit 20 and an indoor unit 30 installed in the office building.
  • the centralized remote controller 10 and each outdoor unit 20 are connected by a daisy chain, the centralized remote controller 10 not only communicates with the directly connected outdoor unit 20, but also the outdoor unit 20 and the outdoor unit 20 which are not directly connected. It also indirectly communicates with the indoor unit 30 via another outdoor unit 20.
  • the centralized remote controller 10 controls the outdoor unit 20 and the indoor unit 30 by transmitting a frame to the outdoor unit 20 and the indoor unit 30.
  • the frame contains, for example, data indicating a command.
  • the command is a command for executing an operation related to air conditioning control, such as a set temperature change command and a state acquisition command.
  • the centralized remote controller 10 is an air-conditioning device that controls the outdoor unit 20 and the indoor unit 30, the centralized remote controller 10 is also included in the air-conditioning device.
  • the centralized remote controller 10 and the outdoor unit 20 may be collectively referred to as “air conditioner”.
  • the centralized remote controller 10 is an example of the air conditioner according to the present disclosure.
  • the outdoor unit 20 communicates with the centralized remote controller 10 and another outdoor unit 20.
  • the outdoor unit 20 receives a frame from the centralized remote controller 10 and executes an operation according to the received frame. Further, the outdoor unit 20 communicates with the indoor unit 30 under control.
  • the outdoor unit 20 transfers the frame to the indoor unit 30 under control. Further, as will be described in detail later, when the frame is transferred, the outdoor unit 20 caches the frame and resends the frame to the indoor unit 30 as needed. Since the outdoor unit 20 retransmits instead of the source of the frame, it is possible to suppress an increase in traffic on each communication line L.
  • the outdoor unit 20 is, for example, an outdoor unit installed on the roof of an office building.
  • the outdoor unit 20 is an example of the air conditioner according to the present disclosure.
  • the frame retransmitted to the indoor unit 30 is an example of the second frame according to the present disclosure.
  • the indoor unit 30 communicates with the outdoor unit 20.
  • the indoor unit 30 receives a frame from the outdoor unit 20 and executes an operation according to the received frame.
  • the indoor unit 30 is, for example, an indoor unit installed in an indoor space of an office building.
  • the indoor unit 30 is an example of the fourth air conditioner according to the present disclosure.
  • the outdoor unit 20 connected to the indoor unit 30 is an example of the third air conditioner according to the present disclosure.
  • the centralized remote controller 10 When the centralized remote controller 10 receives a frame not destined for itself from one of the two air conditioners directly connected by the daisy chain, the centralized remote controller 10 transfers the received frame to the other connected air conditioner. Similarly, when the outdoor unit 20 receives a frame not destined for the indoor unit 30 under its control or itself from one of the two air conditioners directly connected by the daisy chain, the outdoor unit 20 receives the frame. Transfer the frame to another connected air conditioner.
  • the air-conditioning device that is the source of the frame is an example of the first air-conditioning device according to the present disclosure
  • the air-conditioning device that is the destination of the frame is an example of the second air-conditioning device according to the present disclosure. Is.
  • the centralized remote controller 10 and the outdoor unit 20 cache the frame to be transferred when the predetermined conditions are satisfied at the time of the above frame transfer. Then, when the centralized remote controller 10 and the outdoor unit 20 do not transfer the response frame for the frame for a certain period of time after transferring the cached frame, the centralized remote controller 10 and the outdoor unit 20 retransmit the cached frame to the destination. This is because there is a high possibility that the transferred frame has not reached the destination normally when there is no response for a certain period of time or longer. Further, when the centralized remote controller 10 and the outdoor unit 20 transfer the response frame to the cached frame, the cached frame is deleted. This is because the cached frame has reached the destination normally when there is a response.
  • predetermined conditions are set so that the number of air conditioners that cache the frame is not two or more.
  • predetermined condition is referred to as a "cache condition”.
  • another air-conditioning device retransmits the frame instead of the transmission source, so that the number of communication lines L through which the frame passes is reduced as compared with the case where the transmission source retransmits the frame. Therefore, it is possible to suppress an increase in traffic at the time of retransmission. Further, since the number of air-conditioning devices that cache the frame is not two or more, the two or more air-conditioning devices do not retransmit the frame, and the traffic does not increase.
  • FIG. 1 consider a case where a frame is transmitted from the outdoor unit 20a to the outdoor unit 20d, and the outdoor unit 20b caches the frame.
  • the outdoor unit 20b retransmits the frame instead of the outdoor unit 20a. Therefore, unlike the case where the outdoor unit 20a retransmits the frame, the amount of communication on the communication line L connecting the outdoor unit 20a and the centralized remote controller 10 and the communication line L connecting the centralized remote controller 10 and the outdoor unit 20b does not increase. .. Therefore, it is possible to suppress an increase in traffic at the time of retransmission. Further, since the number of air-conditioning devices that cache the frame is not two or more, the two or more air-conditioning devices do not retransmit the frame, and the traffic does not increase.
  • the frame FR includes a header HD and a data DT.
  • the header HD includes a preamble field F0, a destination address field F1, a source address field F2, a frame type field F3, a frame ID field F4, and a data size field F5.
  • the data DT includes data to be transmitted.
  • the data to be transmitted is, for example, data indicating a command.
  • the preamble field F0 is a field indicating the start of the frame FR.
  • the preamble field F0 is, for example, a bit string unique to the communication protocol used in the air conditioning system 1.
  • Each device of the air conditioning system 1 processes the bit string as a frame FR, for example, when the head portion of the received bit string matches the preamble field F0.
  • the destination address field F1 is a field indicating the destination address of the frame FR.
  • the source address field F2 is a field indicating the source address of the frame FR.
  • the frame type field F3 is a field indicating the type of the frame FR.
  • the types of frame FR include the following.
  • An example of a request frame is a frame containing data indicating a set temperature change command.
  • the device that has received the frame needs to reply to the sender with a frame indicating whether or not the set temperature has been changed successfully.
  • the frame ID field F4 is a field indicating a frame ID (identifier) that uniquely identifies a frame transmitted by the source of the frame FR. However, when the frame FR is a response frame to the request frame, the frame ID field F4 indicates the same frame ID as the frame ID indicated by the frame ID field F4 of the received frame.
  • the source address of the request frame is the destination address
  • the own address that received the request frame is the source address
  • the frame type is the response frame
  • the frame ID is the request frame.
  • the data size field F5 is a field indicating the data size of the data DT of the frame FR.
  • the data size indicated by the data size field F5 allows the device that has received the frame FR to identify how much of the received bit string is one frame FR.
  • the header HD may include, for example, a field indicating a checksum for confirming whether or not an error has occurred in the frame FR.
  • the centralized remote controller 10 includes a control unit 100, a first communication unit 110, a second communication unit 120, a storage unit 130, a display unit 140, and an operation unit 150.
  • the control unit 100 controls the centralized remote controller 10 in an integrated manner.
  • the control unit 100 includes an initial setting unit 101, a transfer unit 102, a determination unit 103, a cache unit 104, a retransmission unit 105, and a cache deletion unit 106. Details of each function of the control unit 100 will be described later.
  • the control unit 100 performs processing according to the content indicated by the frame. For example, when the received frame indicates the state of the outdoor unit 20, the control unit 100 causes the display unit 140, which will be described later, to display information indicating the state.
  • the first communication unit 110 communicates with the outdoor unit 20 connected via the communication line L.
  • the first communication unit 110 is, for example, a wired communication interface to which a communication line L can be connected.
  • the second communication unit 120 has the same function as the first communication unit 110.
  • the centralized remote controller 10 includes the first communication unit 110 and the second communication unit 120, the centralized remote controller 10 and each outdoor unit 20 can be communicably connected by a daisy chain.
  • the storage unit 130 stores information on initial settings set by the initial setting unit 101, which will be described later, and data on frames cached by the cache unit 104.
  • the display unit 140 displays information related to the management of the air conditioning system 1.
  • the display unit 140 displays, for example, the set temperature of each indoor unit 30 and the room temperature of the room in which each indoor unit 30 is installed.
  • the display unit 140 is, for example, a touch screen integrated with the operation unit 150 described later.
  • the operation unit 150 accepts the user's operation.
  • the operation unit 150 accepts an operation of changing the set temperature.
  • the operation unit 150 is, for example, a touch screen integrated with the display unit 140.
  • the initial setting unit 101 performs initial settings related to the centralized remote controller 10 itself when the centralized remote controller 10 is activated, and saves information related to the initial settings in the storage unit 130.
  • the initial setting unit 101 determines, for example, the own address of the centralized remote controller 10, advertises the determined own address to another device, acquires the address of the other device, and specifies the network configuration of the air conditioning system 1. , Set cache conditions, etc.
  • the cache condition is set so that when each air-conditioning device transfers a frame in the air-conditioning system 1, two or more air-conditioning devices do not cache the frame.
  • the cache condition is determined so that only one air conditioner caches the frame or none of the air conditioners caches the frame based on the destination of the frame.
  • FIG. 4 shows a cache condition represented by a table showing which air conditioner caches the frame for each destination of the frame. It is assumed that each air-conditioning device has already specified that the network configuration of the air-conditioning system 1 is configured by the connection relationship shown in FIG. Further, the order of the destinations shown in FIG. 4 is the same as the connection order of each air conditioner shown in FIG. 1, in the order of the outdoor unit 20a, the centralized remote controller 10, the outdoor unit 20b, the outdoor unit 20c, and the outdoor unit 20d from the left. .. That is, the order of the destinations shown in FIG. 4 corresponds to the network configuration shown in FIG.
  • each air conditioner caches frames destined for its "two right” air conditioners in the network configuration shown in FIG.
  • the outdoor unit 20d caches a frame destined for the centralized remote controller 10 which is its own “two right” air conditioners. Since the left and right ends are treated as being looped, the "one right" of the outdoor unit 20d is the outdoor unit 20a, and the “one right” of the outdoor unit 20a is the centralized remote controller 10.
  • the outdoor unit 20a and the outdoor unit 20d belonging to the terminal do not actually cache the frame. This is because frames not destined for themselves are not forwarded to the end. Therefore, instead of the example shown in FIG. 4, as shown in FIG. 5, another air conditioner may cache the frame instead of the air conditioner belonging to the terminal.
  • the outdoor unit 20c and the centralized remote controller 10 shown in italics cache the frame in place of the outdoor unit 20d and the outdoor unit 20a. In this case, one air conditioner caches frames for two destinations, but two or more air conditioners do not cache the same frame.
  • FIGS. 4 and 5 the frame addressed to the outdoor unit 20a is cached by the outdoor unit 20c, but the frame transmitted from the outdoor unit 20b to the outdoor unit 20a is not transferred to the outdoor unit 20c. Not cached. Also, of course, frames destined for adjacent air conditioners are not cached. Therefore, the number of air conditioners that cache a certain frame may be 1 or 0.
  • the transfer unit 102 transfers the received frame to the outdoor unit 20 connected to the second communication unit 120.
  • the transfer unit 102 transfers the received frame to the outdoor unit 20 connected to the first communication unit 110. do. With such communication control, communication by daisy chain connection is realized.
  • the transfer unit 102 is an example of the transfer means according to the present disclosure.
  • the determination unit 103 determines whether or not the transfer target frame to be transferred by the transfer unit 102 should be cached based on the cache condition set by the initial setting unit 101 and stored in the storage unit 130. For example, when the cache condition is as shown in FIG. 4 or 5, the determination unit 103 determines whether or not the transfer target frame should be cached based on the destination of the transfer target frame and the cache condition. However, the determination unit 103 determines that the transfer target frame is not cached when the transfer target frame is not a frame that requires a response (that is, when the transfer target frame is not a request frame).
  • the determination unit 103 is an example of the determination means according to the present disclosure.
  • the cache unit 104 caches the transfer target frame by storing the transfer target frame determined by the determination unit 103 to be cached in the storage unit 130. Further, when the transfer target frame is cached, the cache unit 104 stores, for example, as shown in FIG. 6, the transfer time at which the transfer target frame is transferred and the number of retransmissions together in the storage unit 130. However, the number of retransmissions when the cache unit 104 caches the transfer target frame is 0. The transfer time and the number of retransmissions are updated by the retransmission unit 105 described later.
  • the cache unit 104 is an example of the cache means according to the present disclosure.
  • the retransmission unit 105 When there is a frame cached in the storage unit 130 for a certain period of time from the transfer time, the retransmission unit 105 retransmits the frame to the destination. Further, when the frame is retransmitted, the retransmission unit 105 updates the transfer time at the current time, increments the number of retransmissions by 1, and updates. When the number of retransmissions updated by the retransmission unit 105 is a certain number or more, the cache deletion unit 106, which will be described later, deletes the frame from the storage unit 130.
  • the retransmission unit 105 is an example of the retransmission means according to the present disclosure.
  • the above "fixed period” is, for example, 3 seconds. Further, the above-mentioned "fixed number of times" is, for example, four times.
  • each device is set to retransmit a frame whose source is itself after about 12 seconds have elapsed from the transmission of the frame. This is because if the device attempts to retransmit before the elapse of 12 seconds, two identical frames will be transmitted, which may lead to an increase in traffic.
  • the cache deletion unit 106 deletes the cached frame when the transfer target frame transferred by the transfer unit 102 is a response frame to the frame cached in the storage unit 130. Further, the cache deletion unit 106 deletes the cached frame when the number of retransmissions of the cached frame is a certain number or more.
  • the outdoor unit 20 includes a control unit 200, a first communication unit 210, a second communication unit 220, a storage unit 230, a third communication unit 240, and a main unit 250.
  • the functions of the first communication unit 210, the second communication unit 220, and the storage unit 230 are the same as those of the first communication unit 110, the second communication unit 120, and the storage unit 130 of the centralized remote controller 10, and thus the description thereof will be omitted.
  • the third communication unit 240 communicates with the indoor unit 30 under the control of the outdoor unit 20 connected via the transmission bus B.
  • the third communication unit 240 is, for example, a wired communication interface to which the transmission bus B can be connected.
  • the main unit 250 includes equipment necessary for air conditioning, such as a compressor, valves, fans, and temperature sensors.
  • equipment necessary for air conditioning such as a compressor, valves, fans, and temperature sensors.
  • the outdoor unit 20 can perform air conditioning in cooperation with the indoor unit 30.
  • the control unit 200 controls the outdoor unit 20 in an integrated manner.
  • the control unit 200 controls the main unit 250 and the indoor unit 30 under control in response to a command indicated by a frame received from the centralized remote controller 10.
  • the control unit 200 controls the indoor unit 30 under control by communication via the third communication unit 240.
  • the control unit 200 includes an initial setting unit 201, a transfer unit 202, a determination unit 203, a cache unit 204, a retransmission unit 205, and a cache deletion unit 206.
  • the functions of the initial setting unit 201, the cache unit 204, the retransmission unit 205, and the cache deletion unit 206 are the same as those of the initial setting unit 101, the cache unit 104, the retransmission unit 105, and the cache deletion unit 106 of the centralized remote controller 10, so the description thereof is omitted. do.
  • the function of the transfer unit 202 is almost the same as that of the transfer unit 102 of the centralized remote controller 10, but the transfer unit 202 further has the following functions.
  • the transfer unit 202 sends the received frame to the third communication. Transfer to the indoor unit 30 connected to the unit 240. Further, when the frame received by the third communication unit 240 is not destined for the outdoor unit 20 itself, the transfer unit 202 may send the received frame to the first communication unit 210 or the second communication unit according to the destination. Transfer to the air conditioner connected to 220.
  • the function of the determination unit 203 is generally the same as that of the determination unit 103 of the centralized remote controller 10, but the determination unit 203 further indicates that the destination of the transfer target frame is the indoor unit 30 under the control of the outdoor unit 20 itself. It is determined that the transfer target frame is cached regardless of the cache condition. However, when the transfer target frame is not a frame that requires a response (that is, when the transfer target frame is not a request frame), the determination unit 203 does not cache the transfer target frame.
  • the indoor unit 30 includes a control unit 300, a communication unit 310, and a main unit 320.
  • the control unit 300 controls the indoor unit 30 in an integrated manner.
  • the control unit 300 controls the main unit 320 based on the content indicated by the frame received from the outdoor unit 20.
  • the communication unit 310 communicates with the outdoor unit 20 and the other indoor unit 30 via the transmission bus B.
  • the communication unit 310 is, for example, a wired communication interface to which the transmission bus B can be connected.
  • the main unit 320 includes equipment necessary for air conditioning, such as a fan, a louver, a temperature sensor, and a humidity sensor.
  • the indoor unit 30 can perform air conditioning in cooperation with the outdoor unit 20.
  • the centralized remote controller 10 and the outdoor unit 20 shown in FIG. 9 are realized by a computer such as a personal computer or a microcontroller.
  • the centralized remote controller 10 and the outdoor unit 20 include a processor 1001, a memory 1002, an interface 1003, and a secondary storage device 1004, which are connected to each other via a bus 1000.
  • the processor 1001 is, for example, a CPU (Central Processing Unit).
  • CPU Central Processing Unit
  • the memory 1002 is, for example, a main storage device composed of a RAM (Random Access Memory).
  • the memory 1002 stores an operation program read from the secondary storage device 1004 by the processor 1001. Further, the memory 1002 functions as a work memory when the processor 1001 executes an operation program. The function of each storage unit is realized by the memory 1002.
  • Interface 1003 is an I / O (Input / Output) interface such as a serial port, a USB (Universal Serial Bus) port, and a network interface.
  • the interface 1003 realizes the functions of each communication unit.
  • the secondary storage device 1004 is, for example, a flash memory, an HDD (Hard Disk Drive), or an SSD (Solid State Drive).
  • the secondary storage device 1004 stores an operation program executed by the processor 1001.
  • FIG. 10 The operation shown in FIG. 10 is executed when the first communication unit 210, the second communication unit 220, or the third communication unit 240 receives a transfer target frame which is a frame not destined for the outdoor unit 20 itself. It is assumed that the initial setting by the initial setting unit 201 of the control unit 200 of the outdoor unit 20 has already been performed before the operation shown in FIG. 10 is performed.
  • the determination unit 203 of the control unit 200 of the outdoor unit 20 determines whether or not the transfer target frame is a request frame (step S101).
  • the determination unit 203 determines whether or not the destination of the transfer target frame is the indoor unit 30 connected to the outdoor unit 20 itself (step S102). ..
  • step S102 When the destination of the transfer target frame is the indoor unit 30 connected to the outdoor unit 20 itself (step S102: Yes), the determination unit 203 determines that the transfer target frame is cached, and the cache unit 204 of the control unit 200 is concerned. The transfer target frame is cached (step S104).
  • the determination unit 203 determines whether or not the transfer target frame satisfies the cache condition (step S103). ..
  • step S103 When the transfer target frame satisfies the cache condition (step S103: Yes), the determination unit 203 determines that the transfer target frame is cached, and the cache unit 204 caches the transfer target frame (step S104).
  • step S104 the transfer unit 202 of the control unit 200 transfers the transfer target frame (step S105). Then, the control unit 200 ends the process at the time of frame transfer.
  • step S103 When the transfer target frame does not satisfy the cache condition (step S103: No), the determination unit 203 determines that the transfer target frame is not cached, and the transfer target frame is not cached, and the transfer unit 202 is the transfer target. The frame is transferred (step S105). Then, the control unit 200 ends the process at the time of frame transfer.
  • the cache deletion unit 206 of the control unit 200 refers to the frame cached in the storage unit 230, and the transfer target frame responds to the cached frame. It is determined whether or not it is a frame (step S106). Further, in this case, the determination unit 203 determines that the transfer target frame is not cached.
  • step S106 When the transfer target frame is not a response frame for the cached frame (step S106: No), the transfer unit 202 transfers the transfer target frame (step S105). Then, the control unit 200 ends the process at the time of frame transfer.
  • the cache deletion unit 206 deletes the cached frame (step S107). After that, the transfer unit 202 transfers the transfer target frame (step S105). Then, the control unit 200 ends the process at the time of frame transfer.
  • FIG. 11 an example of processing at the time of frame transfer by the centralized remote controller 10 will be described in comparison with the case of the outdoor unit 20 shown in FIG.
  • the operation shown in FIG. 11 is executed when the first communication unit 110 or the second communication unit 120 receives a transfer target frame which is a frame whose destination is not the centralized remote controller 10 itself. It is assumed that the initial setting by the initial setting unit 101 of the control unit 100 of the centralized remote controller 10 has already been performed before the operation shown in FIG. 11 is performed.
  • steps S201 and S203 to S207 are the same as steps S101 and S103 to S107 shown in FIG.
  • step S202 is a missing number, and the operation corresponding to step S102 shown in FIG. 10 does not exist in FIG. This is because the indoor unit 30 is not connected to the centralized remote controller 10.
  • an example of the processing at the time of frame transfer by the centralized remote controller 10 shown in FIG. 11 is the same as the example of the processing at the time of frame transfer by the outdoor unit 20 shown in FIG. 10 except for the operation related to the indoor unit 30.
  • Each outdoor unit 20 executes the process at the time of frame transfer shown in FIG. 10, and the centralized remote controller 10 executes the process at the time of frame transfer shown in FIG. 11. Therefore, in the air conditioning system 1, two or more air conditioning devices are the same.
  • the frame can be cached appropriately without caching the frame, and the cached frame can be deleted when the response frame for the cached frame is transferred.
  • the operation shown in FIG. 12 is started, for example, after the initial setting by the initial setting unit 101 of the control unit 100 of the centralized remote controller 10 is performed. Further, the operation shown in FIG. 12 is executed in parallel with the process at the time of frame transfer shown in FIG.
  • the retransmission unit 105 of the control unit 100 of the centralized remote controller 10 determines whether or not there is a cached frame in the storage unit 130 (step S301). When there is no cached frame (step S301: No), the retransmission unit 105 repeats the operation from step S301.
  • step S301 When there is a cached frame (step S301: Yes), the retransmission unit 105 determines whether or not there is a cached frame for which a certain time has passed from the transfer time (step S302). When there is no cached frame for which a certain time has passed from the transfer time (step S302: No), the retransmission unit 105 repeats the operation from step S301.
  • step S207 shown in FIG. 11 is performed while the operations of steps S301 to S302 are repeated. It is possible that the cached frame will be deleted by. Specifically, when the response frame for the cached frame is transferred before a certain time elapses from the transfer time of the cached frame, the cached frame is deleted. By these operations, it is possible to prevent the cached frame from being unnecessarily resent when the cached frame reaches the destination normally and the destination device responds.
  • the retransmission unit 105 When there is a cached frame for which a certain time has passed from the transfer time (step S302: Yes), the retransmission unit 105 retransmits the cached frame (step S303). The retransmission unit 105 updates the transfer time and the number of retransmissions of the cached frame (step S304).
  • the cache deletion unit 106 of the control unit 100 determines whether or not the number of retransmissions of the cached frame is a certain number or more (step S305). When the number of retransmissions of the cached frame is not more than a certain number of times (step S305: No), the control unit 100 repeats the operation from step S301.
  • step S305 When the number of retransmissions of the cached frame is a certain number or more (step S305: Yes), the cache deletion unit 106 deletes the cached frame from the storage unit 130 (step S306). Then, the control unit 100 repeats the operation from step S301.
  • the air conditioning system 1 has been described above.
  • the centralized remote controller 10 and each outdoor unit 20 cache the frame based on the cache condition at the time of transferring the frame, and retransmit the frame in place of the transmission source as necessary. Therefore, it is possible to suppress an increase in traffic at the time of retransmission as compared with the case where the source retransmits. Further, since the cache condition is set so that the number of air conditioners that cache the frame is not two or more, the frame is not retransmitted by two or more air conditioners, and the traffic does not increase.
  • Modification example 1 In the embodiment, an example in which the cache condition is determined based on the connection order of each air conditioner is described, but the cache condition may be determined based on the order of the address of each air conditioner instead of the connection order. ..
  • each air conditioner sets a cache condition so as to cache a frame destined for the air conditioner having an address order two lower than its own address order, for example.
  • each air-conditioning device obtains a value obtained by adding 1 to the remainder when the address of the destination of the frame is divided by 5, which is the total number of the centralized remote controller 10 of the air-conditioning system 1 and each outdoor unit 20, and the obtained value.
  • the cache condition may be set so that the frame is cached when it matches its own address order.
  • the address ranking is 1st to 5th, and the value obtained by adding 1 to the above remainder is 1 to 5. Therefore, each air conditioner sets the cache condition as described above, so that one frame is 2 or more. Air conditioning equipment does not cache.
  • the cache condition may be determined based on both the destination of the frame and the source of the frame.
  • the cache condition may be set so that the air conditioner located "intermediate" between the source of the frame and the destination of the frame caches the frame.
  • the cache condition When the cache condition is set in this way, the number of uncached frames can be reduced compared to the case where the cache condition is set based only on the destination. For example, in the example shown in FIG. 4 or 5, the frame destined for the outdoor unit 20a is cached by the outdoor unit 20c, but the frame transmitted from the outdoor unit 20b to the outdoor unit 20a does not reach the outdoor unit 20c. Therefore, the frame is not cached. On the other hand, in the above example, the centralized remote controller 10 caches the frame.
  • the cache condition is determined based on the destination of the frame.
  • the cache condition may be determined based on the source of the frame.
  • each air conditioner may have an inconvenience when caching the frame, such as when the free space of its own storage unit is small or when its own processing load is heavy. May not cache the transfer target frame.
  • each air conditioner may not cache the frame having a low priority.
  • each air conditioner caches frames with low priority when there is no inconvenience in caching frames, such as when there is sufficient free space in its own storage unit or when its processing load is small, and the frames are cached. Frames with low priority may not be cached only when it is inconvenient to cache them.
  • the centralized remote controller 10 and the outdoor unit 20 are provided with the secondary storage device 1004.
  • the present invention is not limited to this, and the secondary storage device 1004 is provided outside the centralized remote controller 10 and the outdoor unit 20, and the centralized remote controller 10 and the outdoor unit 20 and the secondary storage device 1004 are connected via the interface 1003. May be good.
  • removable media such as a USB flash drive and a memory card can also be used as the secondary storage device 1004.
  • the centralized remote control 10 and the outdoor unit 20 are configured by a dedicated circuit using an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or the like. You may. Further, in the hardware configuration shown in FIG. 9, some of the functions of the centralized remote controller 10 and the outdoor unit 20 may be realized by, for example, a dedicated circuit connected to the interface 1003.
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • the programs used in the centralized remote control 10 and the outdoor unit 20 are stored in a computer-readable recording medium such as a CD-ROM (Compact Disc Read Only Memory), a DVD (Digital Versatile Disc), a USB flash drive, a memory card, or an HDD. It is possible to distribute it. Then, by installing such a program on a specific or general-purpose computer, the computer can function as the centralized remote controller 10 and the outdoor unit 20.
  • a computer-readable recording medium such as a CD-ROM (Compact Disc Read Only Memory), a DVD (Digital Versatile Disc), a USB flash drive, a memory card, or an HDD. It is possible to distribute it. Then, by installing such a program on a specific or general-purpose computer, the computer can function as the centralized remote controller 10 and the outdoor unit 20.
  • the above-mentioned program may be stored in a storage device of another server on the Internet so that the above-mentioned program can be downloaded from the server.
  • 1 air conditioning system 10 centralized remote control, 20, 20a-20d outdoor unit, 30 indoor unit, 100 control unit, 101 initial setting unit, 102 transfer unit, 103 judgment unit, 104 cache unit, 105 retransmission unit, 106 cache deletion unit, 110 1st communication unit, 120 2nd communication unit, 130 storage unit, 140 display unit, 150 operation unit, 200 control unit, 201 initial setting unit, 202 transfer unit, 203 judgment unit, 204 cache unit, 205 retransmission unit, 206 Cache deletion unit, 210 1st communication unit, 220 2nd communication unit, 230 storage unit, 240 3rd communication unit, 250 main unit, 300 control unit, 310 communication unit, 320 main unit, 1000 bus, 1001 processor, 1002 memory , 1003 interface, 1004 secondary storage, B transmission bus, DT data, F0 preamble field, F1 destination address field, F2 source address field, F3 frame type field, F4 frame ID field, F5 data size field, FR frame, HD header, L communication line.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

An air conditioning system (1) includes a plurality of air conditioning devices connected in daisy chain so as to be capable of communicating with each other. Each of the air conditioning devices among the plurality of air conditioning devices comprises: a transfer unit that transfers a frame; an assessment unit that, when the transfer unit transfers a frame transmitted from a first air conditioning device to a second air conditioning device, makes an assessment as to whether the frame is to be cached, on the basis of a predetermined condition; a cache unit that caches the frame when it has been assessed by the assessment unit that the frame is to be cached; and a re-sending unit that re-sends the cached frame to the second air conditioning device if a transfer means has not transferred a response frame for the frame within a predetermined period from when the cached frame was transferred. The predetermined condition is established so that the number of air conditioning devices caching frames is equal to or greater than 2.

Description

空調システム、空調機器、通信方法及びプログラムAir conditioning system, air conditioning equipment, communication methods and programs
 本開示は、空調システム、空調機器、通信方法及びプログラムに関する。 This disclosure relates to air conditioning systems, air conditioning equipment, communication methods and programs.
 室外機、集中リモコン等の複数の空調機器を、デイジーチェーンにより通信可能に接続する技術が特許文献1に開示されている。 Patent Document 1 discloses a technique for connecting a plurality of air conditioners such as an outdoor unit and a centralized remote controller so as to be able to communicate with each other by a daisy chain.
特開2008-20092号公報Japanese Unexamined Patent Publication No. 2008-20092
 デイジーチェーンにより接続された複数の空調機器においては、ある空調機器から他の空調機器へフレームを送信するとき、各空調機器を接続する複数の通信線を経由してフレームが送信されうる。通信障害を原因としてフレームが送信先まで到達しなかったとき、送信元の空調機器は、当該フレームの再送を試みる。再送対象となるフレームも複数の通信線を経由して送信されうるため、通信障害の発生時には再送の多発が発生し、複数の通信線にてトラフィックが局所的に増大してしまうおそれがある。 In a plurality of air conditioners connected by a daisy chain, when a frame is transmitted from one air conditioner to another, the frame may be transmitted via a plurality of communication lines connecting each air conditioner. When the frame does not reach the transmission destination due to a communication failure, the source air conditioner attempts to retransmit the frame. Since the frame to be retransmitted can also be transmitted via a plurality of communication lines, frequent retransmissions occur when a communication failure occurs, and there is a risk that traffic will locally increase on the plurality of communication lines.
 本開示の目的は、上記の事情に鑑み、デイジーチェーンにより接続された複数の空調機器において、フレームの再送時におけるトラフィックの増加を抑制する空調システム等を提供することにある。 In view of the above circumstances, an object of the present disclosure is to provide an air conditioning system or the like that suppresses an increase in traffic at the time of frame retransmission in a plurality of air conditioning devices connected by a daisy chain.
 上記の目的を達成するため、本開示に係る空調システムは、
 デイジーチェーンにより互いに通信可能に接続された複数の空調機器を備え、
 前記複数の空調機器のそれぞれの空調機器は、
 フレームを転送する転送手段と、
 前記転送手段が前記複数の空調機器に含まれる第1の空調機器から前記複数の空調機器に含まれる第2の空調機器に送信されるフレームを転送するとき、前記フレームをキャッシュするか否かを予め定められた条件に基づいて判定する判定手段と、
 前記判定手段により前記フレームをキャッシュすると判定したとき前記フレームをキャッシュするキャッシュ手段と、
 キャッシュした前記フレームが転送されてから予め定められた期間内に前記フレームに対する応答フレームを前記転送手段が転送しなかったとき、キャッシュした前記フレームを前記第2の空調機器に再送する再送手段と、
 を備え、
 前記予め定められた条件は、前記フレームをキャッシュする空調機器の数が2以上とならないように定められる。
In order to achieve the above object, the air conditioning system according to the present disclosure is
Equipped with multiple air conditioners connected to each other by daisy chain
Each air conditioner of the plurality of air conditioners
Transfer means to transfer frames and
When the transfer means transfers a frame transmitted from the first air conditioner included in the plurality of air conditioners to the second air conditioner included in the plurality of air conditioners, whether or not to cache the frame is determined. Judgment means for determining based on predetermined conditions and
When it is determined by the determination means that the frame is cached, the cache means for caching the frame and the cache means.
When the transfer means does not transfer the response frame to the frame within a predetermined period after the cached frame is transferred, the retransmission means for retransmitting the cached frame to the second air conditioner.
With
The predetermined conditions are set so that the number of air conditioners that cache the frame is not two or more.
 本開示によれば、デイジーチェーンにより接続された複数の空調機器において、フレームの再送時におけるトラフィックの増加を抑制できる。 According to the present disclosure, in a plurality of air conditioners connected by a daisy chain, it is possible to suppress an increase in traffic at the time of frame retransmission.
本開示の実施の形態に係る空調システムの構成を示す図The figure which shows the structure of the air-conditioning system which concerns on embodiment of this disclosure. 本開示の実施の形態に係るフレームの構造の一例を示す図The figure which shows an example of the structure of the frame which concerns on embodiment of this disclosure. 本開示の実施の形態に係る集中リモコンの機能的構成を示す図The figure which shows the functional structure of the centralized remote control which concerns on embodiment of this disclosure. 本開示の実施の形態に係る集中リモコンの初期設定部及び室外機の初期設定部により設定されるキャッシュ条件の一例を示す図The figure which shows an example of the cache condition set by the initial setting part of the centralized remote controller and the initial setting part of an outdoor unit which concerns on embodiment of this disclosure. 本開示の実施の形態に係る集中リモコンの初期設定部及び室外機の初期設定部により設定されるキャッシュ条件の別の一例を示す図The figure which shows another example of the cache condition set by the initial setting part of the centralized remote controller and the initial setting part of an outdoor unit which concerns on embodiment of this disclosure. 本開示の実施の形態に係る集中リモコンのキャッシュ部及び室外機のキャッシュ部により保存されるデータの一例を示す図The figure which shows an example of the data which is stored by the cache part of the centralized remote controller and the cache part of an outdoor unit which concerns on embodiment of this disclosure. 本開示の実施の形態に係る室外機の機能的構成を示す図The figure which shows the functional structure of the outdoor unit which concerns on embodiment of this disclosure. 本開示の実施の形態に係る室内機の機能的構成を示す図The figure which shows the functional structure of the indoor unit which concerns on embodiment of this disclosure. 本開示の実施の形態に係る集中リモコン及び室外機のハードウェア構成の一例を示す図The figure which shows an example of the hardware composition of the centralized remote controller and the outdoor unit which concerns on embodiment of this disclosure. 本開示の実施の形態に係る室外機によるフレーム転送時の処理の一例を示すフローチャートA flowchart showing an example of processing at the time of frame transfer by the outdoor unit according to the embodiment of the present disclosure. 本開示の実施の形態に係る集中リモコンによるフレーム転送時の処理の一例を示すフローチャートA flowchart showing an example of processing at the time of frame transfer by the centralized remote controller according to the embodiment of the present disclosure. 本開示の実施の形態に係る集中リモコン及び室外機によるフレーム再送の動作の一例を示すフローチャートA flowchart showing an example of a frame retransmission operation by the centralized remote controller and the outdoor unit according to the embodiment of the present disclosure.
 以下、図面を参照しながら、本開示の実施の形態に係る空調システムを説明する。各図面においては、同一又は同等の部分に同一の符号を付す。 Hereinafter, the air conditioning system according to the embodiment of the present disclosure will be described with reference to the drawings. In each drawing, the same or equivalent parts are designated by the same reference numerals.
(実施の形態)
 図1を参照しながら、実施の形態に係る空調システム1を説明する。空調システム1は、集中リモコン10と、複数の室外機20と、複数の室内機30とを備える。集中リモコン10及び各室外機20は、通信線Lによるデイジーチェーンにより互いに通信可能に接続されている。室外機20は、伝送バスBによるバス接続により、当該室外機20の管理下にある室内機30と通信可能に接続されている。詳細は後述するが、空調システム1によれば、集中リモコン10、各室外機20及び各室内機30が送信したフレームの再送が必要となったときにおけるトラフィックの増加を抑制できる。空調システム1は、本開示に係る空調システムの一例である。通信線Lは、本開示に係る第1の通信線の一例である。伝送バスBは、本開示に係る第2の通信線の一例である。
(Embodiment)
The air conditioning system 1 according to the embodiment will be described with reference to FIG. The air conditioning system 1 includes a centralized remote controller 10, a plurality of outdoor units 20, and a plurality of indoor units 30. The centralized remote controller 10 and each outdoor unit 20 are connected to each other so as to be able to communicate with each other by a daisy chain by a communication line L. The outdoor unit 20 is communicably connected to the indoor unit 30 under the control of the outdoor unit 20 by a bus connection by the transmission bus B. Although the details will be described later, according to the air conditioning system 1, it is possible to suppress an increase in traffic when it is necessary to retransmit the frames transmitted by the centralized remote controller 10, each outdoor unit 20, and each indoor unit 30. The air conditioning system 1 is an example of the air conditioning system according to the present disclosure. The communication line L is an example of the first communication line according to the present disclosure. The transmission bus B is an example of the second communication line according to the present disclosure.
 なお、図1では4つの室外機20が示されている。以下、それぞれの室外機20を区別する際には、室外機20のそれぞれを、図1に示すとおり、室外機20a、室外機20b、室外機20c及び室外機20dと記載する。 Note that FIG. 1 shows four outdoor units 20. Hereinafter, when distinguishing each outdoor unit 20, each of the outdoor units 20 will be described as an outdoor unit 20a, an outdoor unit 20b, an outdoor unit 20c, and an outdoor unit 20d, as shown in FIG.
 次に、空調システム1の各構成を概略的に説明する。 Next, each configuration of the air conditioning system 1 will be roughly described.
 集中リモコン10は、各室外機20及び各室内機30と通信し、各室外機20及び各室内機30を制御する。集中リモコン10は、例えばオフィスビルの管理室に設置され、当該オフィスビルに設置された室外機20及び室内機30を制御する集中リモコンである。上述のとおり、集中リモコン10及び各室外機20はデイジーチェーンにより接続されているので、集中リモコン10は、直接接続された室外機20と通信するのみならず、直接接続されていない室外機20及び室内機30とも、他の室外機20を介して間接的に通信する。 The centralized remote controller 10 communicates with each outdoor unit 20 and each indoor unit 30 to control each outdoor unit 20 and each indoor unit 30. The centralized remote controller 10 is, for example, a centralized remote controller installed in a management room of an office building and controlling an outdoor unit 20 and an indoor unit 30 installed in the office building. As described above, since the centralized remote controller 10 and each outdoor unit 20 are connected by a daisy chain, the centralized remote controller 10 not only communicates with the directly connected outdoor unit 20, but also the outdoor unit 20 and the outdoor unit 20 which are not directly connected. It also indirectly communicates with the indoor unit 30 via another outdoor unit 20.
 制御について、具体的には、集中リモコン10は、室外機20及び室内機30にフレームを送信することにより、室外機20及び室内機30を制御する。フレームは、例えばコマンドを示すデータを含む。コマンドとは、設定温度変更コマンド、状態取得コマンドなど、空調制御に関する動作を実行させるためのコマンドである。 Regarding control, specifically, the centralized remote controller 10 controls the outdoor unit 20 and the indoor unit 30 by transmitting a frame to the outdoor unit 20 and the indoor unit 30. The frame contains, for example, data indicating a command. The command is a command for executing an operation related to air conditioning control, such as a set temperature change command and a state acquisition command.
 集中リモコン10は、室外機20及び室内機30を制御する、空調に関する機器であるため、集中リモコン10も空調機器に含まれる。以下では、集中リモコン10、室外機20を総括して「空調機器」と表現することがある。集中リモコン10は、本開示に係る空調機器の一例である。 Since the centralized remote controller 10 is an air-conditioning device that controls the outdoor unit 20 and the indoor unit 30, the centralized remote controller 10 is also included in the air-conditioning device. In the following, the centralized remote controller 10 and the outdoor unit 20 may be collectively referred to as “air conditioner”. The centralized remote controller 10 is an example of the air conditioner according to the present disclosure.
 室外機20は、集中リモコン10及び他の室外機20と通信する。特に、室外機20は、集中リモコン10からフレームを受信し、受信したフレームに応じた動作を実行する。また、室外機20は、管理下にある室内機30と通信する。特に、室外機20は、宛先が管理下の室内機30であるフレームを受信したとき、当該フレームを当該管理下の室内機30に転送する。また、詳細は後述するが、室外機20は、当該フレームの転送の際に、当該フレームをキャッシュし、必要に応じて当該室内機30に再送する。当該フレームの送信元の代わりに室外機20が再送を行うことにより、各通信線L上のトラフィックの増加を抑制できる。室外機20は、例えばオフィスビルの屋上に設置された室外機である。室外機20は、本開示に係る空調機器の一例である。また、上記の室内機30に再送されるフレームは、本開示に係る第2のフレームの一例である。 The outdoor unit 20 communicates with the centralized remote controller 10 and another outdoor unit 20. In particular, the outdoor unit 20 receives a frame from the centralized remote controller 10 and executes an operation according to the received frame. Further, the outdoor unit 20 communicates with the indoor unit 30 under control. In particular, when the outdoor unit 20 receives a frame whose destination is the indoor unit 30 under control, the outdoor unit 20 transfers the frame to the indoor unit 30 under control. Further, as will be described in detail later, when the frame is transferred, the outdoor unit 20 caches the frame and resends the frame to the indoor unit 30 as needed. Since the outdoor unit 20 retransmits instead of the source of the frame, it is possible to suppress an increase in traffic on each communication line L. The outdoor unit 20 is, for example, an outdoor unit installed on the roof of an office building. The outdoor unit 20 is an example of the air conditioner according to the present disclosure. The frame retransmitted to the indoor unit 30 is an example of the second frame according to the present disclosure.
 室内機30は、室外機20と通信する。特に、室内機30は、室外機20からフレームを受信し、受信したフレームに応じた動作を実行する。室内機30は、例えばオフィスビルの屋内空間に設置された室内機である。室内機30は、本開示に係る第4の空調機器の一例である。また、当該室内機30に接続された室外機20は、本開示に係る第3の空調機器の一例である。 The indoor unit 30 communicates with the outdoor unit 20. In particular, the indoor unit 30 receives a frame from the outdoor unit 20 and executes an operation according to the received frame. The indoor unit 30 is, for example, an indoor unit installed in an indoor space of an office building. The indoor unit 30 is an example of the fourth air conditioner according to the present disclosure. Further, the outdoor unit 20 connected to the indoor unit 30 is an example of the third air conditioner according to the present disclosure.
 次に、集中リモコン10及び室外機20によるフレームの転送及び再送について概略的に説明する。ただし、室外機20が自身の管理下にある室内機30を宛先とするフレームを転送することについては、上述したため説明を省略する。 Next, the transfer and retransmission of the frame by the centralized remote controller 10 and the outdoor unit 20 will be schematically described. However, the description of the outdoor unit 20 transferring the frame destined for the indoor unit 30 under its control will be omitted because it has been described above.
 集中リモコン10は、自身を宛先としないフレームを、デイジーチェーンにより直接接続された2つの空調機器のうち一方の空調機器から受信したとき、受信したフレームを接続された他の空調機器に転送する。同様に、室外機20は、自身又は自身の管理下にある室内機30を宛先としないフレームを、デイジーチェーンにより直接接続された2つの空調機器のうち一方の空調機器から受信したとき、受信したフレームを接続された他の空調機器に転送する。この場合において、当該フレームの送信元となる空調機器は、本開示に係る第1の空調機器の一例であり、当該フレームの宛先となる空調機器は、本開示に係る第2の空調機器の一例である。 When the centralized remote controller 10 receives a frame not destined for itself from one of the two air conditioners directly connected by the daisy chain, the centralized remote controller 10 transfers the received frame to the other connected air conditioner. Similarly, when the outdoor unit 20 receives a frame not destined for the indoor unit 30 under its control or itself from one of the two air conditioners directly connected by the daisy chain, the outdoor unit 20 receives the frame. Transfer the frame to another connected air conditioner. In this case, the air-conditioning device that is the source of the frame is an example of the first air-conditioning device according to the present disclosure, and the air-conditioning device that is the destination of the frame is an example of the second air-conditioning device according to the present disclosure. Is.
 詳細は後述するが、集中リモコン10及び室外機20は、上記のフレーム転送の際に、予め定められた条件を満たしたとき、転送対象となるフレームをキャッシュする。そして、集中リモコン10及び室外機20は、キャッシュしたフレームを転送してから一定期間以上当該フレームに対する応答フレームを転送しなかったとき、キャッシュしたフレームを宛先に再送する。これは、一定期間以上応答がなかったとき、転送したフレームが宛先に正常に到達していない可能性が高いからである。また、集中リモコン10及び室外機20は、キャッシュしたフレームに対する応答フレームを転送したとき、キャッシュしたフレームを削除する。これは、応答があったとき、キャッシュしたフレームが宛先に正常に到達しているからである。 Although the details will be described later, the centralized remote controller 10 and the outdoor unit 20 cache the frame to be transferred when the predetermined conditions are satisfied at the time of the above frame transfer. Then, when the centralized remote controller 10 and the outdoor unit 20 do not transfer the response frame for the frame for a certain period of time after transferring the cached frame, the centralized remote controller 10 and the outdoor unit 20 retransmit the cached frame to the destination. This is because there is a high possibility that the transferred frame has not reached the destination normally when there is no response for a certain period of time or longer. Further, when the centralized remote controller 10 and the outdoor unit 20 transfer the response frame to the cached frame, the cached frame is deleted. This is because the cached frame has reached the destination normally when there is a response.
 上述の「予め定められた条件」は、当該フレームをキャッシュする空調機器が2以上とならないように定められる。以下では、「予め定められた条件」を「キャッシュ条件」という。 The above-mentioned "predetermined conditions" are set so that the number of air conditioners that cache the frame is not two or more. Hereinafter, the "predetermined condition" is referred to as a "cache condition".
 この動作により、空調システム1によれば、送信元に代えて他の空調機器が当該フレームを再送するので、送信元が再送する場合に比べてフレームが経由する通信線Lの数が少なくなる。したがって、再送時におけるトラフィックの増加を抑制できる。また、当該フレームをキャッシュする空調機器が2以上とならないため、2以上の空調機器が当該フレームを再送してしまい、かえってトラフィックが増加してしまうこともない。 Due to this operation, according to the air-conditioning system 1, another air-conditioning device retransmits the frame instead of the transmission source, so that the number of communication lines L through which the frame passes is reduced as compared with the case where the transmission source retransmits the frame. Therefore, it is possible to suppress an increase in traffic at the time of retransmission. Further, since the number of air-conditioning devices that cache the frame is not two or more, the two or more air-conditioning devices do not retransmit the frame, and the traffic does not increase.
 例えば、図1において、室外機20aから室外機20dにフレームが送信され、室外機20bが当該フレームをキャッシュする場合を考える。この場合において、何らかの原因により当該フレームを再送する必要が生じたとき、室外機20aではなく室外機20bが当該フレームを再送する。そのため、室外機20aが当該フレームを再送する場合と異なり、室外機20aと集中リモコン10とを接続する通信線L及び集中リモコン10と室外機20bとを接続する通信線Lにおける通信量が増加しない。したがって、再送時におけるトラフィックの増加を抑制できる。また、当該フレームをキャッシュする空調機器が2以上とならないため、2以上の空調機器が当該フレームを再送してしまい、かえってトラフィックが増加してしまうこともない。 For example, in FIG. 1, consider a case where a frame is transmitted from the outdoor unit 20a to the outdoor unit 20d, and the outdoor unit 20b caches the frame. In this case, when it becomes necessary to retransmit the frame for some reason, the outdoor unit 20b retransmits the frame instead of the outdoor unit 20a. Therefore, unlike the case where the outdoor unit 20a retransmits the frame, the amount of communication on the communication line L connecting the outdoor unit 20a and the centralized remote controller 10 and the communication line L connecting the centralized remote controller 10 and the outdoor unit 20b does not increase. .. Therefore, it is possible to suppress an increase in traffic at the time of retransmission. Further, since the number of air-conditioning devices that cache the frame is not two or more, the two or more air-conditioning devices do not retransmit the frame, and the traffic does not increase.
 次に、図2を参照しながら、空調システム1において各装置が送信するフレームの構造の一例を説明する。フレームFRは、ヘッダHDとデータDTとを含む。ヘッダHDは、プリアンブルフィールドF0と宛先アドレスフィールドF1と送信元アドレスフィールドF2とフレーム種別フィールドF3とフレームIDフィールドF4とデータサイズフィールドF5とを含む。データDTは、送信すべきデータを含む。送信すべきデータとは、例えばコマンドを示すデータである。 Next, an example of the structure of the frame transmitted by each device in the air conditioning system 1 will be described with reference to FIG. The frame FR includes a header HD and a data DT. The header HD includes a preamble field F0, a destination address field F1, a source address field F2, a frame type field F3, a frame ID field F4, and a data size field F5. The data DT includes data to be transmitted. The data to be transmitted is, for example, data indicating a command.
 プリアンブルフィールドF0は、フレームFRの開始を示すフィールドである。プリアンブルフィールドF0は、例えば空調システム1にて使用される通信プロトコルに固有のビット列である。空調システム1の各装置は、例えば受信したビット列の先頭部分がプリアンブルフィールドF0と一致したとき、当該ビット列をフレームFRとして処理する。 The preamble field F0 is a field indicating the start of the frame FR. The preamble field F0 is, for example, a bit string unique to the communication protocol used in the air conditioning system 1. Each device of the air conditioning system 1 processes the bit string as a frame FR, for example, when the head portion of the received bit string matches the preamble field F0.
 宛先アドレスフィールドF1は、フレームFRの宛先のアドレスを示すフィールドである。同様に、送信元アドレスフィールドF2は、フレームFRの送信元のアドレスを示すフィールドである。 The destination address field F1 is a field indicating the destination address of the frame FR. Similarly, the source address field F2 is a field indicating the source address of the frame FR.
 フレーム種別フィールドF3は、フレームFRの種別を示すフィールドである。フレームFRの種別として、以下のものが挙げられる。
(i)受信したときに応答することが必要とされるフレーム。以下ではこのフレームを「要求フレーム」という。
(ii)要求フレームに対する応答フレーム。
The frame type field F3 is a field indicating the type of the frame FR. The types of frame FR include the following.
(I) Frames that are required to respond when received. Hereinafter, this frame is referred to as a "request frame".
(Ii) A response frame for a request frame.
 要求フレームの例として、設定温度変更コマンドを示すデータを含むフレームが挙げられる。当該フレームを受信した装置は、設定温度変更に成功したか否かを示すフレームを送信元に返信して応答する必要がある。 An example of a request frame is a frame containing data indicating a set temperature change command. The device that has received the frame needs to reply to the sender with a frame indicating whether or not the set temperature has been changed successfully.
 フレームIDフィールドF4は、フレームFRの送信元が送信するフレームを一意に識別するフレームID(identifier:識別子)を示すフィールドである。ただし、フレームFRが、要求フレームに対する応答フレームであるとき、フレームIDフィールドF4は、当該受信したフレームのフレームIDフィールドF4が示すフレームIDと同一のフレームIDを示すものとなる。 The frame ID field F4 is a field indicating a frame ID (identifier) that uniquely identifies a frame transmitted by the source of the frame FR. However, when the frame FR is a response frame to the request frame, the frame ID field F4 indicates the same frame ID as the frame ID indicated by the frame ID field F4 of the received frame.
 応答フレームとなるフレームFRの各フィールドについて、要求フレームの送信元のアドレスを宛先アドレスとし、要求フレームを受信した自身のアドレスを送信元アドレスとし、フレーム種別を応答フレームとし、フレームIDを要求フレームのフレームIDと同一のものとすることで、当該フレームFRが、要求フレームに対する応答フレームであることを示すことができる。 For each field of the frame FR that is the response frame, the source address of the request frame is the destination address, the own address that received the request frame is the source address, the frame type is the response frame, and the frame ID is the request frame. By making it the same as the frame ID, it can be shown that the frame FR is a response frame for the request frame.
 データサイズフィールドF5は、フレームFRのデータDTのデータサイズを示すフィールドである。データサイズフィールドF5が示すデータサイズにより、フレームFRを受信した装置は、受信したビット列のうちどこまでが1つのフレームFRなのかを識別することができる。 The data size field F5 is a field indicating the data size of the data DT of the frame FR. The data size indicated by the data size field F5 allows the device that has received the frame FR to identify how much of the received bit string is one frame FR.
 上記のほか、ヘッダHDは、例えばフレームFRに誤りが生じていないかを確認するためのチェックサムを示すフィールドを含んでもよい。 In addition to the above, the header HD may include, for example, a field indicating a checksum for confirming whether or not an error has occurred in the frame FR.
 次に、図3を参照しながら、集中リモコン10の機能的構成を説明する。集中リモコン10は、制御部100と第1通信部110と第2通信部120と記憶部130と表示部140と操作部150とを備える。 Next, the functional configuration of the centralized remote controller 10 will be described with reference to FIG. The centralized remote controller 10 includes a control unit 100, a first communication unit 110, a second communication unit 120, a storage unit 130, a display unit 140, and an operation unit 150.
 制御部100は、集中リモコン10を統括制御する。制御部100は、初期設定部101と転送部102と判定部103とキャッシュ部104と再送部105とキャッシュ削除部106とを備える。制御部100の各機能の詳細は後述する。 The control unit 100 controls the centralized remote controller 10 in an integrated manner. The control unit 100 includes an initial setting unit 101, a transfer unit 102, a determination unit 103, a cache unit 104, a retransmission unit 105, and a cache deletion unit 106. Details of each function of the control unit 100 will be described later.
 また、制御部100は、集中リモコン10自身を宛先とするフレームを後述の第1通信部110又は第2通信部120が受信したとき、当該フレームが示す内容に応じた処理を行う。例えば、受信したフレームが室外機20の状態を示すものであったとき、制御部100は、後述の表示部140に当該状態を示す情報を表示させる。 Further, when the first communication unit 110 or the second communication unit 120, which will be described later, receives a frame destined for the centralized remote controller 10 itself, the control unit 100 performs processing according to the content indicated by the frame. For example, when the received frame indicates the state of the outdoor unit 20, the control unit 100 causes the display unit 140, which will be described later, to display information indicating the state.
 第1通信部110は、通信線Lを介して接続された室外機20と通信する。第1通信部110は、例えば通信線Lを接続可能な有線通信インタフェースである。第2通信部120は、第1通信部110と同様の機能を有する。集中リモコン10が第1通信部110及び第2通信部120を備えることにより、集中リモコン10と各室外機20とをデイジーチェーンにより通信可能に接続することができる。 The first communication unit 110 communicates with the outdoor unit 20 connected via the communication line L. The first communication unit 110 is, for example, a wired communication interface to which a communication line L can be connected. The second communication unit 120 has the same function as the first communication unit 110. When the centralized remote controller 10 includes the first communication unit 110 and the second communication unit 120, the centralized remote controller 10 and each outdoor unit 20 can be communicably connected by a daisy chain.
 記憶部130は、後述の初期設定部101により設定される初期設定に関する情報及びキャッシュ部104によりキャッシュされたフレームに関するデータを保存する。 The storage unit 130 stores information on initial settings set by the initial setting unit 101, which will be described later, and data on frames cached by the cache unit 104.
 表示部140は、空調システム1の管理に関する情報を表示する。表示部140は、例えば各室内機30の設定温度及び各室内機30が設置された部屋の室温を表示する。表示部140は、例えば後述の操作部150と一体となったタッチスクリーンである。 The display unit 140 displays information related to the management of the air conditioning system 1. The display unit 140 displays, for example, the set temperature of each indoor unit 30 and the room temperature of the room in which each indoor unit 30 is installed. The display unit 140 is, for example, a touch screen integrated with the operation unit 150 described later.
 操作部150は、ユーザの操作を受け付ける。例えば、操作部150は、設定温度の変更操作を受け付ける。操作部150は、例えば表示部140と一体となったタッチスクリーンである。 The operation unit 150 accepts the user's operation. For example, the operation unit 150 accepts an operation of changing the set temperature. The operation unit 150 is, for example, a touch screen integrated with the display unit 140.
 初期設定部101は、集中リモコン10の起動時に、集中リモコン10自身に関する初期設定を行い、初期設定に関する情報を記憶部130に保存する。初期設定部101は、初期設定の際に、例えば集中リモコン10の自アドレスの決定、決定した自アドレスの他の装置への広告、他の装置のアドレスの取得、空調システム1のネットワーク構成の特定、キャッシュ条件の設定などを行う。 The initial setting unit 101 performs initial settings related to the centralized remote controller 10 itself when the centralized remote controller 10 is activated, and saves information related to the initial settings in the storage unit 130. At the time of initial setting, the initial setting unit 101 determines, for example, the own address of the centralized remote controller 10, advertises the determined own address to another device, acquires the address of the other device, and specifies the network configuration of the air conditioning system 1. , Set cache conditions, etc.
 キャッシュ条件の設定について説明する。上述のとおり、キャッシュ条件は、空調システム1においてあるフレームを各空調機器が転送する際に、2以上の空調機器が当該フレームをキャッシュしないように定められる。例えば、キャッシュ条件は、フレームの宛先に基づいて、1の空調機器のみが当該フレームをキャッシュするか、いずれの空調機器も当該フレームをキャッシュしないように定められる。 Explain the setting of cache conditions. As described above, the cache condition is set so that when each air-conditioning device transfers a frame in the air-conditioning system 1, two or more air-conditioning devices do not cache the frame. For example, the cache condition is determined so that only one air conditioner caches the frame or none of the air conditioners caches the frame based on the destination of the frame.
 図4を参照しながらキャッシュ条件の一例を説明する。図4は、フレームの宛先ごとにどの空調機器が当該フレームをキャッシュするかを示すテーブルによってキャッシュ条件を表現したものである。なお、各空調機器は、空調システム1のネットワーク構成が図1に示す接続関係により構成されていることをすでに特定しているものとする。また、図4に示す宛先の順序は、図1に示す各空調機器の接続順序と同様に、左から室外機20a、集中リモコン10、室外機20b、室外機20c、室外機20dの順である。つまり、図4に示す宛先の順序は、図1に示すネットワーク構成に対応する。 An example of cache conditions will be described with reference to FIG. FIG. 4 shows a cache condition represented by a table showing which air conditioner caches the frame for each destination of the frame. It is assumed that each air-conditioning device has already specified that the network configuration of the air-conditioning system 1 is configured by the connection relationship shown in FIG. Further, the order of the destinations shown in FIG. 4 is the same as the connection order of each air conditioner shown in FIG. 1, in the order of the outdoor unit 20a, the centralized remote controller 10, the outdoor unit 20b, the outdoor unit 20c, and the outdoor unit 20d from the left. .. That is, the order of the destinations shown in FIG. 4 corresponds to the network configuration shown in FIG.
 図4において、「キャッシュを行う空調機器」の行は、「宛先」の行を「2つ右」にずらしたものとなっている。ただし、左右の末端はループしているものとして扱う。これを言い換えると、各空調機器は、図1に示すネットワーク構成において自身の「2つ右」の空調機器を宛先とするフレームをキャッシュする。例えば、室外機20dは、自身の「2つ右」の空調機器である集中リモコン10を宛先とするフレームをキャッシュする。左右の末端はループしているものとして扱うので、室外機20dの「1つ右」が室外機20aであり、室外機20aの「1つ右」が集中リモコン10となる。 In FIG. 4, the line of "air conditioner for caching" is the line of "destination" shifted to "two right". However, the left and right ends are treated as if they were looping. In other words, each air conditioner caches frames destined for its "two right" air conditioners in the network configuration shown in FIG. For example, the outdoor unit 20d caches a frame destined for the centralized remote controller 10 which is its own "two right" air conditioners. Since the left and right ends are treated as being looped, the "one right" of the outdoor unit 20d is the outdoor unit 20a, and the "one right" of the outdoor unit 20a is the centralized remote controller 10.
 したがって、各空調機器が、自身の「2つ右」の空調機器を宛先とするフレームをキャッシュするようにキャッシュ条件を設定することにより、空調システム1において2以上の空調機器が同一のフレームをキャッシュしてしまうことを防ぐことができる。 Therefore, by setting the cache condition so that each air conditioner caches the frame destined for its own "two right" air conditioners, two or more air conditioners cache the same frame in the air conditioner system 1. It is possible to prevent it from happening.
 なお、図4に示す例では、末端に属する室外機20a及び室外機20dは、実際にフレームをキャッシュすることはない。自身を宛先としないフレームが末端まで転送されることはないからである。そのため、図4に示す例に代えて、図5に示すとおり、末端に属する空調機器に代えて他の空調機器がフレームをキャッシュするようにしてもよい。図5に示す例では、斜体にて示した室外機20c及び集中リモコン10が、室外機20d及び室外機20aに代えてフレームをキャッシュする。この場合、2つの宛先について1の空調機器がフレームをキャッシュすることとなるが、2以上の空調機器が同一のフレームをキャッシュしてしまうことはない。 In the example shown in FIG. 4, the outdoor unit 20a and the outdoor unit 20d belonging to the terminal do not actually cache the frame. This is because frames not destined for themselves are not forwarded to the end. Therefore, instead of the example shown in FIG. 4, as shown in FIG. 5, another air conditioner may cache the frame instead of the air conditioner belonging to the terminal. In the example shown in FIG. 5, the outdoor unit 20c and the centralized remote controller 10 shown in italics cache the frame in place of the outdoor unit 20d and the outdoor unit 20a. In this case, one air conditioner caches frames for two destinations, but two or more air conditioners do not cache the same frame.
 なお、図4及び図5のいずれについても、全てのフレームがキャッシュされるわけではない。例えば、図4及び図5において室外機20aを宛先とするフレームは室外機20cがキャッシュするものとなっているが、室外機20bから室外機20aに送信されるフレームは室外機20cに転送されないためキャッシュされない。また、隣接する空調機器を宛先とするフレームも当然キャッシュされない。そのため、あるフレームをキャッシュする空調機器の数は、1の場合もあれば0の場合もある。 Note that not all frames are cached in either FIG. 4 or FIG. For example, in FIGS. 4 and 5, the frame addressed to the outdoor unit 20a is cached by the outdoor unit 20c, but the frame transmitted from the outdoor unit 20b to the outdoor unit 20a is not transferred to the outdoor unit 20c. Not cached. Also, of course, frames destined for adjacent air conditioners are not cached. Therefore, the number of air conditioners that cache a certain frame may be 1 or 0.
 再び図3を参照する。転送部102は、第1通信部110が受信したフレームが、集中リモコン10自身を宛先とするものではない場合、受信したフレームを第2通信部120に接続された室外機20に転送する。同様に、転送部102は、第2通信部120が受信したフレームが、集中リモコン10自身を宛先とするものではない場合、受信したフレームを第1通信部110に接続された室外機20に転送する。このような通信制御により、デイジーチェーン接続による通信が実現される。転送部102は、本開示に係る転送手段の一例である。 Refer to Fig. 3 again. When the frame received by the first communication unit 110 is not destined for the centralized remote controller 10 itself, the transfer unit 102 transfers the received frame to the outdoor unit 20 connected to the second communication unit 120. Similarly, when the frame received by the second communication unit 120 is not destined for the centralized remote controller 10 itself, the transfer unit 102 transfers the received frame to the outdoor unit 20 connected to the first communication unit 110. do. With such communication control, communication by daisy chain connection is realized. The transfer unit 102 is an example of the transfer means according to the present disclosure.
 判定部103は、転送部102による転送の対象となる転送対象フレームをキャッシュすべきか否かを、初期設定部101により設定され記憶部130に保存されたキャッシュ条件に基づいて判定する。例えばキャッシュ条件が図4あるいは図5に示すものである場合、判定部103は、転送対象フレームの宛先とキャッシュ条件とに基づいて、転送対象フレームをキャッシュすべきか否かを判定する。ただし、判定部103は、転送対象フレームが応答を要するフレームではないとき(つまり、転送対象フレームが要求フレームではないとき)、転送対象フレームをキャッシュしないと判定する。判定部103は、本開示に係る判定手段の一例である。 The determination unit 103 determines whether or not the transfer target frame to be transferred by the transfer unit 102 should be cached based on the cache condition set by the initial setting unit 101 and stored in the storage unit 130. For example, when the cache condition is as shown in FIG. 4 or 5, the determination unit 103 determines whether or not the transfer target frame should be cached based on the destination of the transfer target frame and the cache condition. However, the determination unit 103 determines that the transfer target frame is not cached when the transfer target frame is not a frame that requires a response (that is, when the transfer target frame is not a request frame). The determination unit 103 is an example of the determination means according to the present disclosure.
 キャッシュ部104は、判定部103によりキャッシュすべきと判定された転送対象フレームを記憶部130に保存することにより、当該転送対象フレームをキャッシュする。また、キャッシュ部104は、転送対象フレームをキャッシュするとき、例えば図6に示すとおり、転送対象フレームを転送した転送時刻と再送回数とを併せて記憶部130に保存する。ただし、キャッシュ部104が転送対象フレームをキャッシュするときの再送回数は0である。転送時刻及び再送回数は、後述の再送部105により更新される。キャッシュ部104は、本開示に係るキャッシュ手段の一例である。 The cache unit 104 caches the transfer target frame by storing the transfer target frame determined by the determination unit 103 to be cached in the storage unit 130. Further, when the transfer target frame is cached, the cache unit 104 stores, for example, as shown in FIG. 6, the transfer time at which the transfer target frame is transferred and the number of retransmissions together in the storage unit 130. However, the number of retransmissions when the cache unit 104 caches the transfer target frame is 0. The transfer time and the number of retransmissions are updated by the retransmission unit 105 described later. The cache unit 104 is an example of the cache means according to the present disclosure.
 再送部105は、記憶部130にキャッシュされたフレームのうち、当該転送時刻から一定期間経過したフレームがあるとき、当該フレームを宛先に再送する。また、再送部105は、当該フレームを再送したとき、転送時刻を現在時刻にて更新し、再送回数を1増加して更新する。なお、再送部105により更新された再送回数が一定回数以上であったとき、後述のキャッシュ削除部106が当該フレームを記憶部130から削除する。再送部105は、本開示に係る再送手段の一例である。 When there is a frame cached in the storage unit 130 for a certain period of time from the transfer time, the retransmission unit 105 retransmits the frame to the destination. Further, when the frame is retransmitted, the retransmission unit 105 updates the transfer time at the current time, increments the number of retransmissions by 1, and updates. When the number of retransmissions updated by the retransmission unit 105 is a certain number or more, the cache deletion unit 106, which will be described later, deletes the frame from the storage unit 130. The retransmission unit 105 is an example of the retransmission means according to the present disclosure.
 上記の「一定期間」は、例えば3秒である。また、上記の「一定回数」は、例えば4回である。この場合、キャッシュされたフレームは、最初の転送時から約3×4=12秒後に削除される。この場合、各装置は、自身を送信元とするフレームの再送については、当該フレームを送信してから約12秒経過してから再送するように設定される。当該装置が12秒経過前に再送を試みると、同一のフレームが2つ送信されることとなり、トラフィックの増大を招くおそれがあるからである。 The above "fixed period" is, for example, 3 seconds. Further, the above-mentioned "fixed number of times" is, for example, four times. In this case, the cached frame is deleted about 3 × 4 = 12 seconds after the first transfer. In this case, each device is set to retransmit a frame whose source is itself after about 12 seconds have elapsed from the transmission of the frame. This is because if the device attempts to retransmit before the elapse of 12 seconds, two identical frames will be transmitted, which may lead to an increase in traffic.
 キャッシュ削除部106は、転送部102が転送する転送対象フレームが記憶部130にキャッシュされたフレームに対する応答フレームであるとき、当該キャッシュされたフレームを削除する。また、キャッシュ削除部106は、キャッシュされたフレームの再送回数が一定回数以上であるとき、当該キャッシュされたフレームを削除する。 The cache deletion unit 106 deletes the cached frame when the transfer target frame transferred by the transfer unit 102 is a response frame to the frame cached in the storage unit 130. Further, the cache deletion unit 106 deletes the cached frame when the number of retransmissions of the cached frame is a certain number or more.
 次に、図7を参照しながら、室外機20の機能的構成を説明する。ただし、室外機20の機能的構成は、図3の機能的構成と共通する点が多いため、異なる点を説明する。 Next, the functional configuration of the outdoor unit 20 will be described with reference to FIG. 7. However, since the functional configuration of the outdoor unit 20 has many points in common with the functional configuration of FIG. 3, different points will be described.
 室外機20は、制御部200と第1通信部210と第2通信部220と記憶部230と第3通信部240とメインユニット250とを備える。第1通信部210、第2通信部220及び記憶部230の機能は、集中リモコン10の第1通信部110、第2通信部120及び記憶部130と同様のため説明を省略する。 The outdoor unit 20 includes a control unit 200, a first communication unit 210, a second communication unit 220, a storage unit 230, a third communication unit 240, and a main unit 250. The functions of the first communication unit 210, the second communication unit 220, and the storage unit 230 are the same as those of the first communication unit 110, the second communication unit 120, and the storage unit 130 of the centralized remote controller 10, and thus the description thereof will be omitted.
 第3通信部240は、伝送バスBを介して接続された、室外機20の管理下にある室内機30と通信する。第3通信部240は、例えば伝送バスBを接続可能な有線通信インタフェースである。 The third communication unit 240 communicates with the indoor unit 30 under the control of the outdoor unit 20 connected via the transmission bus B. The third communication unit 240 is, for example, a wired communication interface to which the transmission bus B can be connected.
 メインユニット250は、コンプレッサ、バルブ、ファン、温度センサなどの、空調に必要な機器を含む。メインユニット250が制御部200の制御を受けることにより、室外機20は室内機30と協働した空調をすることができる。 The main unit 250 includes equipment necessary for air conditioning, such as a compressor, valves, fans, and temperature sensors. When the main unit 250 is controlled by the control unit 200, the outdoor unit 20 can perform air conditioning in cooperation with the indoor unit 30.
 制御部200は、室外機20を統括制御する。特に、制御部200は、集中リモコン10から受信したフレームが示すコマンドに応じてメインユニット250及び管理下の室内機30を制御する。制御部200は、第3通信部240を介した通信により管理下の室内機30を制御する。制御部200は、初期設定部201と転送部202と判定部203とキャッシュ部204と再送部205とキャッシュ削除部206とを備える。 The control unit 200 controls the outdoor unit 20 in an integrated manner. In particular, the control unit 200 controls the main unit 250 and the indoor unit 30 under control in response to a command indicated by a frame received from the centralized remote controller 10. The control unit 200 controls the indoor unit 30 under control by communication via the third communication unit 240. The control unit 200 includes an initial setting unit 201, a transfer unit 202, a determination unit 203, a cache unit 204, a retransmission unit 205, and a cache deletion unit 206.
 初期設定部201、キャッシュ部204、再送部205及びキャッシュ削除部206の機能は、集中リモコン10の初期設定部101、キャッシュ部104、再送部105及びキャッシュ削除部106と同様であるため説明を省略する。 The functions of the initial setting unit 201, the cache unit 204, the retransmission unit 205, and the cache deletion unit 206 are the same as those of the initial setting unit 101, the cache unit 104, the retransmission unit 105, and the cache deletion unit 106 of the centralized remote controller 10, so the description thereof is omitted. do.
 転送部202の機能については、概ね集中リモコン10の転送部102と同様であるが、転送部202はさらに、以下の機能を備える。転送部202は、第1通信部210又は第2通信部220が受信したフレームが、室外機20自身の管理下にある室内機30を宛先とするものである場合、受信したフレームを第3通信部240に接続された室内機30に転送する。また、転送部202は、第3通信部240が受信したフレームが、室外機20自身を宛先とするものではない場合、受信したフレームを、宛先に応じて第1通信部210又は第2通信部220に接続された空調機器に転送する。 The function of the transfer unit 202 is almost the same as that of the transfer unit 102 of the centralized remote controller 10, but the transfer unit 202 further has the following functions. When the frame received by the first communication unit 210 or the second communication unit 220 is destined for the indoor unit 30 under the control of the outdoor unit 20 itself, the transfer unit 202 sends the received frame to the third communication. Transfer to the indoor unit 30 connected to the unit 240. Further, when the frame received by the third communication unit 240 is not destined for the outdoor unit 20 itself, the transfer unit 202 may send the received frame to the first communication unit 210 or the second communication unit according to the destination. Transfer to the air conditioner connected to 220.
 判定部203の機能については、概ね集中リモコン10の判定部103と同様であるが、判定部203はさらに、転送対象フレームの宛先が室外機20自身の管理下にある室内機30であるとき、キャッシュ条件に依らずに当該転送対象フレームをキャッシュすると判定する。ただし、当該転送対象フレームが応答を要するフレームではないとき(つまり、転送対象フレームが要求フレームではないとき)、判定部203は当該転送対象フレームをキャッシュしない。 The function of the determination unit 203 is generally the same as that of the determination unit 103 of the centralized remote controller 10, but the determination unit 203 further indicates that the destination of the transfer target frame is the indoor unit 30 under the control of the outdoor unit 20 itself. It is determined that the transfer target frame is cached regardless of the cache condition. However, when the transfer target frame is not a frame that requires a response (that is, when the transfer target frame is not a request frame), the determination unit 203 does not cache the transfer target frame.
 次に、図8を参照しながら、室内機30の機能的構成を説明する。室内機30は、制御部300と通信部310とメインユニット320とを備える。 Next, the functional configuration of the indoor unit 30 will be described with reference to FIG. The indoor unit 30 includes a control unit 300, a communication unit 310, and a main unit 320.
 制御部300は、室内機30を統括制御する。制御部300は特に、室外機20から受信したフレームが示す内容に基づいてメインユニット320を制御する。 The control unit 300 controls the indoor unit 30 in an integrated manner. In particular, the control unit 300 controls the main unit 320 based on the content indicated by the frame received from the outdoor unit 20.
 通信部310は、伝送バスBを介して室外機20及び他の室内機30と通信する。通信部310は、例えば伝送バスBを接続可能な有線通信インタフェースである。 The communication unit 310 communicates with the outdoor unit 20 and the other indoor unit 30 via the transmission bus B. The communication unit 310 is, for example, a wired communication interface to which the transmission bus B can be connected.
 メインユニット320は、ファン、ルーバー、温度センサ、湿度センサなどの、空調に必要な機器を含む。メインユニット320が制御部300の制御を受けることにより、室内機30は室外機20と協働した空調をすることができる。 The main unit 320 includes equipment necessary for air conditioning, such as a fan, a louver, a temperature sensor, and a humidity sensor. When the main unit 320 is controlled by the control unit 300, the indoor unit 30 can perform air conditioning in cooperation with the outdoor unit 20.
 次に、集中リモコン10及び室外機20のハードウェア構成の一例について、図9を参照しながら説明する。図9に示す集中リモコン10及び室外機20は、例えばパーソナルコンピュータ、マイクロコントローラなどのコンピュータにより実現される。 Next, an example of the hardware configuration of the centralized remote controller 10 and the outdoor unit 20 will be described with reference to FIG. The centralized remote controller 10 and the outdoor unit 20 shown in FIG. 9 are realized by a computer such as a personal computer or a microcontroller.
 集中リモコン10及び室外機20は、バス1000を介して互いに接続された、プロセッサ1001と、メモリ1002と、インタフェース1003と、二次記憶装置1004と、を備える。 The centralized remote controller 10 and the outdoor unit 20 include a processor 1001, a memory 1002, an interface 1003, and a secondary storage device 1004, which are connected to each other via a bus 1000.
 プロセッサ1001は、例えばCPU(Central Processing Unit:中央演算装置)である。プロセッサ1001が、二次記憶装置1004に記憶された動作プログラムをメモリ1002に読み込んで実行することにより、集中リモコン10及び室外機20の各機能が実現される。 The processor 1001 is, for example, a CPU (Central Processing Unit). When the processor 1001 reads the operation program stored in the secondary storage device 1004 into the memory 1002 and executes it, each function of the centralized remote controller 10 and the outdoor unit 20 is realized.
 メモリ1002は、例えば、RAM(Random Access Memory)により構成される主記憶装置である。メモリ1002は、プロセッサ1001が二次記憶装置1004から読み込んだ動作プログラムを記憶する。また、メモリ1002は、プロセッサ1001が動作プログラムを実行する際のワークメモリとして機能する。メモリ1002により各記憶部の機能が実現される。 The memory 1002 is, for example, a main storage device composed of a RAM (Random Access Memory). The memory 1002 stores an operation program read from the secondary storage device 1004 by the processor 1001. Further, the memory 1002 functions as a work memory when the processor 1001 executes an operation program. The function of each storage unit is realized by the memory 1002.
 インタフェース1003は、例えばシリアルポート、USB(Universal Serial Bus)ポート、ネットワークインタフェースなどのI/O(Input/Output)インタフェースである。インタフェース1003により、各通信部の機能が実現される。 Interface 1003 is an I / O (Input / Output) interface such as a serial port, a USB (Universal Serial Bus) port, and a network interface. The interface 1003 realizes the functions of each communication unit.
 二次記憶装置1004は、例えば、フラッシュメモリ、HDD(Hard Disk Drive)、SSD(Solid State Drive)である。二次記憶装置1004は、プロセッサ1001が実行する動作プログラムを記憶する。 The secondary storage device 1004 is, for example, a flash memory, an HDD (Hard Disk Drive), or an SSD (Solid State Drive). The secondary storage device 1004 stores an operation program executed by the processor 1001.
 次に、図10を参照しながら、室外機20によるフレーム転送時の処理の一例を説明する。図10に示す動作は、第1通信部210、第2通信部220又は第3通信部240が、室外機20自身を宛先としないフレームである転送対象フレームを受信したときに実行される。なお、図10に示す動作が行われる前に、室外機20の制御部200の初期設定部201による初期設定がすでに行われているものとする。 Next, an example of processing at the time of frame transfer by the outdoor unit 20 will be described with reference to FIG. The operation shown in FIG. 10 is executed when the first communication unit 210, the second communication unit 220, or the third communication unit 240 receives a transfer target frame which is a frame not destined for the outdoor unit 20 itself. It is assumed that the initial setting by the initial setting unit 201 of the control unit 200 of the outdoor unit 20 has already been performed before the operation shown in FIG. 10 is performed.
 室外機20の制御部200の判定部203は、転送対象フレームが要求フレームであるか否かを判定する(ステップS101)。 The determination unit 203 of the control unit 200 of the outdoor unit 20 determines whether or not the transfer target frame is a request frame (step S101).
 転送対象フレームが要求フレームであるとき(ステップS101:Yes)、判定部203は、転送対象フレームの宛先が室外機20自身に接続された室内機30であるか否かを判定する(ステップS102)。 When the transfer target frame is a request frame (step S101: Yes), the determination unit 203 determines whether or not the destination of the transfer target frame is the indoor unit 30 connected to the outdoor unit 20 itself (step S102). ..
 転送対象フレームの宛先が室外機20自身に接続された室内機30であるとき(ステップS102:Yes)、判定部203は当該転送対象フレームをキャッシュすると判定し、制御部200のキャッシュ部204は当該転送対象フレームをキャッシュする(ステップS104)。 When the destination of the transfer target frame is the indoor unit 30 connected to the outdoor unit 20 itself (step S102: Yes), the determination unit 203 determines that the transfer target frame is cached, and the cache unit 204 of the control unit 200 is concerned. The transfer target frame is cached (step S104).
 転送対象フレームの宛先が室外機20自身に接続された室内機30ではないとき(ステップS102:No)、判定部203は、転送対象フレームがキャッシュ条件を満たすか否かを判定する(ステップS103)。 When the destination of the transfer target frame is not the indoor unit 30 connected to the outdoor unit 20 itself (step S102: No), the determination unit 203 determines whether or not the transfer target frame satisfies the cache condition (step S103). ..
 転送対象フレームがキャッシュ条件を満たすとき(ステップS103:Yes)、判定部203は当該転送対象フレームをキャッシュすると判定し、キャッシュ部204は当該転送対象フレームをキャッシュする(ステップS104)。 When the transfer target frame satisfies the cache condition (step S103: Yes), the determination unit 203 determines that the transfer target frame is cached, and the cache unit 204 caches the transfer target frame (step S104).
 ステップS104の動作ののち、制御部200の転送部202は当該転送対象フレームを転送する(ステップS105)。そして制御部200は、フレーム転送時の処理を終了する。 After the operation of step S104, the transfer unit 202 of the control unit 200 transfers the transfer target frame (step S105). Then, the control unit 200 ends the process at the time of frame transfer.
 転送対象フレームがキャッシュ条件を満たさないとき(ステップS103:No)、判定部203は当該転送対象フレームをキャッシュしないと判定し、当該転送対象フレームがキャッシュされることなく、転送部202は当該転送対象フレームを転送する(ステップS105)。そして制御部200は、フレーム転送時の処理を終了する。 When the transfer target frame does not satisfy the cache condition (step S103: No), the determination unit 203 determines that the transfer target frame is not cached, and the transfer target frame is not cached, and the transfer unit 202 is the transfer target. The frame is transferred (step S105). Then, the control unit 200 ends the process at the time of frame transfer.
 転送対象フレームが要求フレームではないとき(ステップS101:No)、制御部200のキャッシュ削除部206は、記憶部230にキャッシュされたフレームを参照し、当該転送対象フレームが、キャッシュされたフレームに対する応答フレームか否かを判定する(ステップS106)。また、この場合、判定部203は、当該転送対象フレームをキャッシュしないと判定する。 When the transfer target frame is not a request frame (step S101: No), the cache deletion unit 206 of the control unit 200 refers to the frame cached in the storage unit 230, and the transfer target frame responds to the cached frame. It is determined whether or not it is a frame (step S106). Further, in this case, the determination unit 203 determines that the transfer target frame is not cached.
 当該転送対象フレームが、キャッシュされたフレームに対する応答フレームではないとき(ステップS106:No)、転送部202は当該転送対象フレームを転送する(ステップS105)。そして制御部200は、フレーム転送時の処理を終了する。 When the transfer target frame is not a response frame for the cached frame (step S106: No), the transfer unit 202 transfers the transfer target frame (step S105). Then, the control unit 200 ends the process at the time of frame transfer.
 当該転送対象フレームが、キャッシュされたフレームに対する応答フレームであるとき(ステップS106:Yes)、キャッシュ削除部206は、当該キャッシュされたフレームを削除する(ステップS107)。その後、転送部202は当該転送対象フレームを転送する(ステップS105)。そして制御部200は、フレーム転送時の処理を終了する。 When the transfer target frame is a response frame for the cached frame (step S106: Yes), the cache deletion unit 206 deletes the cached frame (step S107). After that, the transfer unit 202 transfers the transfer target frame (step S105). Then, the control unit 200 ends the process at the time of frame transfer.
 次に、図11を参照しながら、集中リモコン10によるフレーム転送時の処理の一例を、図10に示す室外機20の場合と比較して説明する。図11に示す動作は、第1通信部110又は第2通信部120が、集中リモコン10自身を宛先としないフレームである転送対象フレームを受信したときに実行される。なお、図11に示す動作が行われる前に、集中リモコン10の制御部100の初期設定部101による初期設定がすでに行われているものとする。 Next, with reference to FIG. 11, an example of processing at the time of frame transfer by the centralized remote controller 10 will be described in comparison with the case of the outdoor unit 20 shown in FIG. The operation shown in FIG. 11 is executed when the first communication unit 110 or the second communication unit 120 receives a transfer target frame which is a frame whose destination is not the centralized remote controller 10 itself. It is assumed that the initial setting by the initial setting unit 101 of the control unit 100 of the centralized remote controller 10 has already been performed before the operation shown in FIG. 11 is performed.
 図11に示す動作のうち、ステップS201及びステップS203~S207については、図10に示すステップS101及びステップS103~S107と同様である。そして、図11においては、ステップS202は欠番となっており、図10に示すステップS102に相当する動作が図11には存在しない。これは、集中リモコン10には室内機30が接続されていないからである。 Of the operations shown in FIG. 11, steps S201 and S203 to S207 are the same as steps S101 and S103 to S107 shown in FIG. Then, in FIG. 11, step S202 is a missing number, and the operation corresponding to step S102 shown in FIG. 10 does not exist in FIG. This is because the indoor unit 30 is not connected to the centralized remote controller 10.
 したがって、図11に示す集中リモコン10によるフレーム転送時の処理の一例は、室内機30に関連する動作以外は、図10に示す室外機20によるフレーム転送時の処理の一例と同様である。 Therefore, an example of the processing at the time of frame transfer by the centralized remote controller 10 shown in FIG. 11 is the same as the example of the processing at the time of frame transfer by the outdoor unit 20 shown in FIG. 10 except for the operation related to the indoor unit 30.
 各室外機20が図10に示すフレーム転送時の処理を実行し、集中リモコン10が図11に示すフレーム転送時の処理を実行することにより、空調システム1において、2以上の空調機器が同一のフレームをキャッシュすることなく適切にフレームをキャッシュすることができ、かつキャッシュされたフレームに対する応答フレームを転送するときに、当該キャッシュされたフレームを削除することができる。 Each outdoor unit 20 executes the process at the time of frame transfer shown in FIG. 10, and the centralized remote controller 10 executes the process at the time of frame transfer shown in FIG. 11. Therefore, in the air conditioning system 1, two or more air conditioning devices are the same. The frame can be cached appropriately without caching the frame, and the cached frame can be deleted when the response frame for the cached frame is transferred.
 次に、図12を参照しながら、集中リモコン10及び室外機20によるフレーム再送の動作の一例を説明する。ただし、室外機20によるフレーム再送の動作は、集中リモコン10の場合と全く同様であるため、以下では集中リモコン10によるフレーム再送の動作の一例を説明する。 Next, an example of the frame retransmission operation by the centralized remote controller 10 and the outdoor unit 20 will be described with reference to FIG. However, since the operation of frame retransmission by the outdoor unit 20 is exactly the same as that of the centralized remote controller 10, an example of the frame retransmission operation by the centralized remote controller 10 will be described below.
 図12に示す動作は、例えば集中リモコン10の制御部100の初期設定部101による初期設定が行われた後に開始される。また、図12に示す動作は、図11に示すフレーム転送時の処理と並行して実行される。 The operation shown in FIG. 12 is started, for example, after the initial setting by the initial setting unit 101 of the control unit 100 of the centralized remote controller 10 is performed. Further, the operation shown in FIG. 12 is executed in parallel with the process at the time of frame transfer shown in FIG.
 集中リモコン10の制御部100の再送部105は、記憶部130にキャッシュされたフレームがあるか否かを判定する(ステップS301)。キャッシュされたフレームがないとき(ステップS301:No)、再送部105はステップS301からの動作を繰り返す。 The retransmission unit 105 of the control unit 100 of the centralized remote controller 10 determines whether or not there is a cached frame in the storage unit 130 (step S301). When there is no cached frame (step S301: No), the retransmission unit 105 repeats the operation from step S301.
 キャッシュされたフレームがあるとき(ステップS301:Yes)、再送部105は、キャッシュされたフレームのうち、転送時刻から一定時間経過したフレームがあるか否かを判定する(ステップS302)。キャッシュされたフレームのうち、転送時刻から一定時間経過したフレームがないとき(ステップS302:No)、再送部105はステップS301からの動作を繰り返す。 When there is a cached frame (step S301: Yes), the retransmission unit 105 determines whether or not there is a cached frame for which a certain time has passed from the transfer time (step S302). When there is no cached frame for which a certain time has passed from the transfer time (step S302: No), the retransmission unit 105 repeats the operation from step S301.
 上述したとおり、図12に示す動作は、図11に示すフレーム転送時の処理と並行して実行されるので、ステップS301~S302の動作を繰り返している間に、図11に示すステップS207の動作によりキャッシュされたフレームが削除されることもありうる。具体的には、キャッシュされたフレームの転送時刻から一定時間経過する前に当該キャッシュされたフレームに対する応答フレームを転送する場合、当該キャッシュされたフレームが削除される。これらの動作により、キャッシュされたフレームが宛先に正常に到達し宛先の装置が応答した場合に、キャッシュされたフレームを不必要に再送してしまうことを防ぐことができる。 As described above, since the operation shown in FIG. 12 is executed in parallel with the processing at the time of frame transfer shown in FIG. 11, the operation of step S207 shown in FIG. 11 is performed while the operations of steps S301 to S302 are repeated. It is possible that the cached frame will be deleted by. Specifically, when the response frame for the cached frame is transferred before a certain time elapses from the transfer time of the cached frame, the cached frame is deleted. By these operations, it is possible to prevent the cached frame from being unnecessarily resent when the cached frame reaches the destination normally and the destination device responds.
 キャッシュされたフレームのうち、転送時刻から一定時間経過したフレームがあるとき(ステップS302:Yes)、再送部105は、当該キャッシュされたフレームを再送する(ステップS303)。再送部105は、当該キャッシュされたフレームの転送時刻と再送回数とを更新する(ステップS304)。 When there is a cached frame for which a certain time has passed from the transfer time (step S302: Yes), the retransmission unit 105 retransmits the cached frame (step S303). The retransmission unit 105 updates the transfer time and the number of retransmissions of the cached frame (step S304).
 制御部100のキャッシュ削除部106は、当該キャッシュされたフレームの再送回数が一定回数以上か否かを判定する(ステップS305)。当該キャッシュされたフレームの再送回数が一定回数以上ではないとき(ステップS305:No)、制御部100はステップS301からの動作を繰り返す。 The cache deletion unit 106 of the control unit 100 determines whether or not the number of retransmissions of the cached frame is a certain number or more (step S305). When the number of retransmissions of the cached frame is not more than a certain number of times (step S305: No), the control unit 100 repeats the operation from step S301.
 当該キャッシュされたフレームの再送回数が一定回数以上であるとき(ステップS305:Yes)、キャッシュ削除部106は、当該キャッシュされたフレームを記憶部130から削除する(ステップS306)。そして制御部100はステップS301からの動作を繰り返す。 When the number of retransmissions of the cached frame is a certain number or more (step S305: Yes), the cache deletion unit 106 deletes the cached frame from the storage unit 130 (step S306). Then, the control unit 100 repeats the operation from step S301.
 以上、実施の形態に係る空調システム1を説明した。空調システム1によれば、集中リモコン10及び各室外機20は、フレームの転送時にキャッシュ条件に基づいてフレームをキャッシュし、必要に応じて送信元に代えて当該フレームを再送する。そのため、送信元が再送する場合に比べて再送時におけるトラフィックの増加を抑制できる。また、当該フレームをキャッシュする空調機器が2以上とならないようにキャッシュ条件が定められているため、2以上の空調機器が当該フレームを再送してしまい、かえってトラフィックが増加してしまうこともない。 The air conditioning system 1 according to the embodiment has been described above. According to the air conditioning system 1, the centralized remote controller 10 and each outdoor unit 20 cache the frame based on the cache condition at the time of transferring the frame, and retransmit the frame in place of the transmission source as necessary. Therefore, it is possible to suppress an increase in traffic at the time of retransmission as compared with the case where the source retransmits. Further, since the cache condition is set so that the number of air conditioners that cache the frame is not two or more, the frame is not retransmitted by two or more air conditioners, and the traffic does not increase.
(変形例1)
 実施の形態では、各空調機器の接続順序に基づいてキャッシュ条件が定められる例を説明したが、接続順序ではなく各空調機器のアドレスの大小順に基づいてキャッシュ条件が定められるものであってもよい。
(Modification example 1)
In the embodiment, an example in which the cache condition is determined based on the connection order of each air conditioner is described, but the cache condition may be determined based on the order of the address of each air conditioner instead of the connection order. ..
 この場合、各空調機器は、例えば自身のアドレス順位よりも2つ下位のアドレス順位である空調機器を宛先とするフレームをキャッシュするようにキャッシュ条件を定める。 In this case, each air conditioner sets a cache condition so as to cache a frame destined for the air conditioner having an address order two lower than its own address order, for example.
 あるいは、各空調機器は、フレームの宛先のアドレスを空調システム1の集中リモコン10と各室外機20との合計数である5で割ったときの剰余に1を加算した値を求め、求めた値が自身のアドレス順位と一致するときに当該フレームをキャッシュするようにキャッシュ条件を定めてもよい。アドレス順位は1位~5位であり、上記の剰余に1を加算した値は1~5となるため、各空調機器が上記のようにキャッシュ条件を定めることにより、1つのフレームを2以上の空調機器がキャッシュすることがない。 Alternatively, each air-conditioning device obtains a value obtained by adding 1 to the remainder when the address of the destination of the frame is divided by 5, which is the total number of the centralized remote controller 10 of the air-conditioning system 1 and each outdoor unit 20, and the obtained value. The cache condition may be set so that the frame is cached when it matches its own address order. The address ranking is 1st to 5th, and the value obtained by adding 1 to the above remainder is 1 to 5. Therefore, each air conditioner sets the cache condition as described above, so that one frame is 2 or more. Air conditioning equipment does not cache.
(変形例2)
 実施の形態では、フレームの宛先に基づいてキャッシュ条件が定められる例を説明したが、フレームの宛先とフレームの送信元との双方に基づいてキャッシュ条件が定められるものであってもよい。例えば、フレームの送信元と当該フレームの宛先との「中間」に位置する空調機器が当該フレームをキャッシュするようにキャッシュ条件が定められるものであってもよい。このようにキャッシュ条件が定められることにより、例えば室外機20bから室外機20aに送信されるフレームは集中リモコン10がキャッシュし、室外機20dから室外機20aに送信されるフレームは室外機20bがキャッシュする。
(Modification 2)
In the embodiment, the example in which the cache condition is determined based on the destination of the frame has been described, but the cache condition may be determined based on both the destination of the frame and the source of the frame. For example, the cache condition may be set so that the air conditioner located "intermediate" between the source of the frame and the destination of the frame caches the frame. By defining the cache conditions in this way, for example, the centralized remote controller 10 caches the frame transmitted from the outdoor unit 20b to the outdoor unit 20a, and the outdoor unit 20b caches the frame transmitted from the outdoor unit 20d to the outdoor unit 20a. do.
 このようにキャッシュ条件が定められる場合、宛先のみに基づいてキャッシュ条件が定められる場合よりも、キャッシュされないフレームを減らすことができる。例えば図4あるいは図5に示す例では、室外機20aを宛先とするフレームは室外機20cがキャッシュすることとなるが、室外機20bから室外機20aに送信されるフレームは室外機20cに到達しないため、当該フレームがキャッシュされることはない。一方、上記の例では集中リモコン10が当該フレームをキャッシュする。 When the cache condition is set in this way, the number of uncached frames can be reduced compared to the case where the cache condition is set based only on the destination. For example, in the example shown in FIG. 4 or 5, the frame destined for the outdoor unit 20a is cached by the outdoor unit 20c, but the frame transmitted from the outdoor unit 20b to the outdoor unit 20a does not reach the outdoor unit 20c. Therefore, the frame is not cached. On the other hand, in the above example, the centralized remote controller 10 caches the frame.
(その他の変形例)
 実施の形態及び上記の変形例1では、フレームの宛先に基づいてキャッシュ条件が定められるものであった。これに代えて、フレームの送信元に基づいてキャッシュ条件が定められるものであってもよい。
(Other variants)
In the embodiment and the above-described first modification, the cache condition is determined based on the destination of the frame. Instead of this, the cache condition may be determined based on the source of the frame.
 また、各空調機器は、転送対象フレームがキャッシュ条件を満たす場合であっても、自身の記憶部の空き容量が少ないとき、自身の処理負担が大きいときなどフレームをキャッシュすると不都合が生じうる場合には、当該転送対象フレームをキャッシュしないものであってもよい。 In addition, even if the frame to be transferred satisfies the cache condition, each air conditioner may have an inconvenience when caching the frame, such as when the free space of its own storage unit is small or when its own processing load is heavy. May not cache the transfer target frame.
 また、フレームのヘッダに優先度を示すフィールドを設け、各空調機器は、優先度の低いフレームをキャッシュしないものであってもよい。あるいは、各空調機器は、自身の記憶部の空き容量が十分にあるとき、自身の処理負担が小さいときなどフレームをキャッシュするのに不都合が生じないときには優先度の低いフレームもキャッシュし、フレームをキャッシュするのに不都合が生じるときのみ優先度の低いフレームをキャッシュしないものであってもよい。 Further, a field indicating the priority may be provided in the header of the frame, and each air conditioner may not cache the frame having a low priority. Alternatively, each air conditioner caches frames with low priority when there is no inconvenience in caching frames, such as when there is sufficient free space in its own storage unit or when its processing load is small, and the frames are cached. Frames with low priority may not be cached only when it is inconvenient to cache them.
 図9に示すハードウェア構成においては、集中リモコン10及び室外機20が二次記憶装置1004を備えている。しかし、これに限らず、二次記憶装置1004を集中リモコン10及び室外機20の外部に設け、インタフェース1003を介して集中リモコン10及び室外機20と二次記憶装置1004とが接続される形態としてもよい。この形態においては、USBフラッシュドライブ、メモリカードなどのリムーバブルメディアも二次記憶装置1004として使用可能である。 In the hardware configuration shown in FIG. 9, the centralized remote controller 10 and the outdoor unit 20 are provided with the secondary storage device 1004. However, the present invention is not limited to this, and the secondary storage device 1004 is provided outside the centralized remote controller 10 and the outdoor unit 20, and the centralized remote controller 10 and the outdoor unit 20 and the secondary storage device 1004 are connected via the interface 1003. May be good. In this form, removable media such as a USB flash drive and a memory card can also be used as the secondary storage device 1004.
 また、図9に示すハードウェア構成に代えて、ASIC(Application Specific Integrated Circuit:特定用途向け集積回路)、FPGA(Field Programmable Gate Array)などを用いた専用回路により集中リモコン10及び室外機20を構成してもよい。また、図9に示すハードウェア構成において、集中リモコン10及び室外機20の機能の一部を、例えばインタフェース1003に接続された専用回路により実現してもよい。 Further, instead of the hardware configuration shown in FIG. 9, the centralized remote control 10 and the outdoor unit 20 are configured by a dedicated circuit using an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or the like. You may. Further, in the hardware configuration shown in FIG. 9, some of the functions of the centralized remote controller 10 and the outdoor unit 20 may be realized by, for example, a dedicated circuit connected to the interface 1003.
 集中リモコン10及び室外機20で用いられるプログラムは、CD-ROM(Compact Disc Read Only Memory)、DVD(Digital Versatile Disc)、USBフラッシュドライブ、メモリカード、HDD等のコンピュータ読み取り可能な記録媒体に格納して配布することが可能である。そして、かかるプログラムを特定の又は汎用のコンピュータにインストールすることによって、当該コンピュータを集中リモコン10及び室外機20として機能させることが可能である。 The programs used in the centralized remote control 10 and the outdoor unit 20 are stored in a computer-readable recording medium such as a CD-ROM (Compact Disc Read Only Memory), a DVD (Digital Versatile Disc), a USB flash drive, a memory card, or an HDD. It is possible to distribute it. Then, by installing such a program on a specific or general-purpose computer, the computer can function as the centralized remote controller 10 and the outdoor unit 20.
 また、上述のプログラムをインターネット上の他のサーバが有する記憶装置に格納しておき、当該サーバから上述のプログラムがダウンロードされるようにしてもよい。 Alternatively, the above-mentioned program may be stored in a storage device of another server on the Internet so that the above-mentioned program can be downloaded from the server.
 本開示は、本開示の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、本開示を説明するためのものであり、本開示の範囲を限定するものではない。つまり、本開示の範囲は、実施の形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の開示の意義の範囲内で施される様々な変形が、本開示の範囲内とみなされる。 The present disclosure allows for various embodiments and modifications without departing from the broad spirit and scope of the present disclosure. Moreover, the above-described embodiment is for explaining the present disclosure, and does not limit the scope of the present disclosure. That is, the scope of the present disclosure is indicated by the scope of claims, not by the embodiment. And various modifications made within the scope of the claims and within the equivalent meaning of disclosure are considered to be within the scope of the present disclosure.
 1 空調システム、10 集中リモコン、20,20a-20d 室外機、30 室内機、100 制御部、101 初期設定部、102 転送部、103 判定部、104 キャッシュ部、105 再送部、106 キャッシュ削除部、110 第1通信部、120 第2通信部、130 記憶部、140 表示部、150 操作部、200 制御部、201 初期設定部、202 転送部、203 判定部、204 キャッシュ部、205 再送部、206 キャッシュ削除部、210 第1通信部、220 第2通信部、230 記憶部、240 第3通信部、250 メインユニット、300 制御部、310 通信部、320 メインユニット、1000 バス、1001 プロセッサ、1002 メモリ、1003 インタフェース、1004 二次記憶装置、B 伝送バス、DT データ、F0 プリアンブルフィールド、F1 宛先アドレスフィールド、F2 送信元アドレスフィールド、F3 フレーム種別フィールド、F4 フレームIDフィールド、F5 データサイズフィールド、FR フレーム、HD ヘッダ、L 通信線。 1 air conditioning system, 10 centralized remote control, 20, 20a-20d outdoor unit, 30 indoor unit, 100 control unit, 101 initial setting unit, 102 transfer unit, 103 judgment unit, 104 cache unit, 105 retransmission unit, 106 cache deletion unit, 110 1st communication unit, 120 2nd communication unit, 130 storage unit, 140 display unit, 150 operation unit, 200 control unit, 201 initial setting unit, 202 transfer unit, 203 judgment unit, 204 cache unit, 205 retransmission unit, 206 Cache deletion unit, 210 1st communication unit, 220 2nd communication unit, 230 storage unit, 240 3rd communication unit, 250 main unit, 300 control unit, 310 communication unit, 320 main unit, 1000 bus, 1001 processor, 1002 memory , 1003 interface, 1004 secondary storage, B transmission bus, DT data, F0 preamble field, F1 destination address field, F2 source address field, F3 frame type field, F4 frame ID field, F5 data size field, FR frame, HD header, L communication line.

Claims (9)

  1.  デイジーチェーンにより互いに通信可能に接続された複数の空調機器を備え、
     前記複数の空調機器のそれぞれの空調機器は、
     フレームを転送する転送手段と、
     前記転送手段が前記複数の空調機器に含まれる第1の空調機器から前記複数の空調機器に含まれる第2の空調機器に送信されるフレームを転送するとき、前記フレームをキャッシュするか否かを予め定められた条件に基づいて判定する判定手段と、
     前記判定手段により前記フレームをキャッシュすると判定したとき前記フレームをキャッシュするキャッシュ手段と、
     キャッシュした前記フレームが転送されてから予め定められた期間内に前記フレームに対する応答フレームを前記転送手段が転送しなかったとき、キャッシュした前記フレームを前記第2の空調機器に再送する再送手段と、
     を備え、
     前記予め定められた条件は、前記フレームをキャッシュする空調機器の数が2以上とならないように定められる、
     空調システム。
    Equipped with multiple air conditioners connected to each other by daisy chain
    Each air conditioner of the plurality of air conditioners
    Transfer means to transfer frames and
    When the transfer means transfers a frame transmitted from the first air conditioner included in the plurality of air conditioners to the second air conditioner included in the plurality of air conditioners, whether or not to cache the frame is determined. Judgment means for determining based on predetermined conditions and
    When it is determined by the determination means that the frame is cached, the cache means for caching the frame and the cache means.
    When the transfer means does not transfer the response frame to the frame within a predetermined period after the cached frame is transferred, the retransmission means for retransmitting the cached frame to the second air conditioner.
    With
    The predetermined conditions are set so that the number of air conditioners that cache the frame is not two or more.
    Air conditioning system.
  2.  前記デイジーチェーンの接続に用いられる第1の通信線とは異なる第2の通信線により前記複数の空調機器に含まれる第3の空調機器に通信可能に接続された第4の空調機器をさらに備え、
     前記第3の空調機器の判定手段はさらに、前記第3の空調機器の転送手段が前記第1の空調機器から前記第4の空調機器に送信される第2のフレームを転送するとき、前記第2のフレームをキャッシュすると判定し、
     前記第3の空調機器の再送手段はさらに、キャッシュした前記第2のフレームが転送されてから予め定められた期間内に前記第2のフレームに対する応答フレームを前記第3の空調機器の転送手段が転送しなかったとき、キャッシュした前記第2のフレームを前記第4の空調機器に再送する、
     請求項1に記載の空調システム。
    Further provided with a fourth air-conditioning device communicably connected to the third air-conditioning device included in the plurality of air-conditioning devices by a second communication line different from the first communication line used for connecting the daisy chain. ,
    The third air-conditioning device determining means further determines the third when the transfer means of the third air-conditioning device transfers a second frame transmitted from the first air-conditioning device to the fourth air-conditioning device. Judging that 2 frames will be cached,
    In the retransmission means of the third air conditioner, the transfer means of the third air conditioner further transmits a response frame to the second frame within a predetermined period after the cached second frame is transferred. When not transferred, the cached second frame is retransmitted to the fourth air conditioner.
    The air conditioning system according to claim 1.
  3.  前記判定手段は、前記転送手段が転送するフレームが応答を要するフレームではないとき、前記フレームをキャッシュしないと判定する、
     請求項1又は2に記載の空調システム。
    The determination means determines that the frame is not cached when the frame transferred by the transfer means is not a frame that requires a response.
    The air conditioning system according to claim 1 or 2.
  4.  前記予め定められた条件は、前記転送手段が転送するフレームの宛先又は送信元に基づいて定められる、
     請求項1から3のいずれか1項に記載の空調システム。
    The predetermined conditions are determined based on the destination or source of the frame transferred by the transfer means.
    The air conditioning system according to any one of claims 1 to 3.
  5.  前記予め定められた条件は、前記転送手段が転送するフレームの宛先と送信元とに基づいて定められる、
     請求項1から3のいずれか1項に記載の空調システム。
    The predetermined conditions are determined based on the destination and the source of the frame transferred by the transfer means.
    The air conditioning system according to any one of claims 1 to 3.
  6.  前記予め定められた条件は、前記複数の空調機器の接続順序に基づいて定められる、
     請求項1から5のいずれか1項に記載の空調システム。
    The predetermined conditions are determined based on the connection order of the plurality of air conditioners.
    The air conditioning system according to any one of claims 1 to 5.
  7.  デイジーチェーンにより他の空調機器に接続される空調機器であって、
     フレームを転送する転送手段と、
     前記転送手段が、前記デイジーチェーンにより互いに通信可能に接続された複数の空調機器に含まれる第1の空調機器から前記複数の空調機器に含まれる第2の空調機器に送信されるフレームを転送するとき、前記フレームをキャッシュするか否かを予め定められた条件に基づいて判定する判定手段と、
     前記判定手段により前記フレームをキャッシュすると判定したとき前記フレームをキャッシュするキャッシュ手段と、
     キャッシュした前記フレームが転送されてから予め定められた期間内に前記フレームに対する応答フレームを前記転送手段が転送しなかったとき、キャッシュした前記フレームを前記第2の空調機器に再送する再送手段と、
     を備え、
     前記予め定められた条件は、前記フレームをキャッシュする空調機器の数が2以上とならないように定められる、
     空調機器。
    An air conditioner that is connected to other air conditioners by a daisy chain.
    Transfer means to transfer frames and
    The transfer means transfers a frame transmitted from a first air conditioner included in a plurality of air conditioners connected to each other by a daisy chain to a second air conditioner included in the plurality of air conditioners. When, a determination means for determining whether or not to cache the frame based on a predetermined condition, and
    When it is determined by the determination means that the frame is cached, the cache means for caching the frame and the cache means.
    When the transfer means does not transfer the response frame to the frame within a predetermined period after the cached frame is transferred, the retransmission means for retransmitting the cached frame to the second air conditioner.
    With
    The predetermined conditions are set so that the number of air conditioners that cache the frame is not two or more.
    Air conditioning equipment.
  8.  デイジーチェーンにより互いに通信可能に接続された複数の空調機器に含まれる空調機器における通信方法であって、
     フレームを転送し、
     前記複数の空調機器に含まれる第1の空調機器から前記複数の空調機器に含まれる第2の空調機器に送信されるフレームを転送するとき、前記フレームをキャッシュするか否かを予め定められた条件に基づいて判定し、
     前記フレームをキャッシュすると判定したとき、前記フレームをキャッシュし、
     キャッシュした前記フレームが転送されてから予め定められた期間内に前記フレームに対する応答フレームを転送しなかったとき、キャッシュした前記フレームを前記第2の空調機器に再送し、
     前記予め定められた条件は、前記フレームをキャッシュする空調機器の数が2以上とならないように定められる、
     通信方法。
    It is a communication method in an air conditioner included in a plurality of air conditioners connected to each other so as to be able to communicate with each other by a daisy chain.
    Transfer frames and
    When transferring a frame transmitted from the first air conditioner included in the plurality of air conditioners to the second air conditioner included in the plurality of air conditioners, it is predetermined whether or not to cache the frame. Judgment based on conditions,
    When it is determined that the frame is cached, the frame is cached and the frame is cached.
    When the response frame for the frame is not transferred within a predetermined period after the cached frame is transferred, the cached frame is retransmitted to the second air conditioner.
    The predetermined conditions are set so that the number of air conditioners that cache the frame is not two or more.
    Communication method.
  9.  デイジーチェーンにより他の空調機器に接続される空調機器が備えるコンピュータを、
     フレームを転送する転送手段、
     前記転送手段が、前記デイジーチェーンにより互いに通信可能に接続された複数の空調機器に含まれる第1の空調機器から前記複数の空調機器に含まれる第2の空調機器に送信されるフレームを転送するとき、前記フレームをキャッシュするか否かを予め定められた条件に基づいて判定する判定手段、
     前記判定手段により前記フレームをキャッシュすると判定したとき前記フレームをキャッシュするキャッシュ手段、
     キャッシュした前記フレームが転送されてから予め定められた期間内に前記フレームに対する応答フレームを前記転送手段が転送しなかったとき、キャッシュした前記フレームを前記第2の空調機器に再送する再送手段、
     として機能させ、
     前記予め定められた条件は、前記フレームをキャッシュする空調機器の数が2以上とならないように定められる、
     プログラム。
    A computer equipped with an air conditioner that is connected to another air conditioner by a daisy chain.
    Transfer means for transferring frames,
    The transfer means transfers a frame transmitted from a first air conditioner included in a plurality of air conditioners connected to each other by a daisy chain to a second air conditioner included in the plurality of air conditioners. When, a determination means for determining whether or not to cache the frame based on a predetermined condition,
    A cache means that caches the frame when it is determined by the determination means that the frame is cached.
    A retransmission means for retransmitting the cached frame to the second air conditioner when the transfer means does not transfer a response frame to the frame within a predetermined period after the cached frame is transferred.
    To function as
    The predetermined conditions are set so that the number of air conditioners that cache the frame is not two or more.
    program.
PCT/JP2020/011166 2020-03-13 2020-03-13 Air conditioning system, air conditioning device, communication method, and program WO2021181670A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022505698A JP7258219B2 (en) 2020-03-13 2020-03-13 Air conditioning system, air conditioning equipment, communication method and program
PCT/JP2020/011166 WO2021181670A1 (en) 2020-03-13 2020-03-13 Air conditioning system, air conditioning device, communication method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2020/011166 WO2021181670A1 (en) 2020-03-13 2020-03-13 Air conditioning system, air conditioning device, communication method, and program

Publications (1)

Publication Number Publication Date
WO2021181670A1 true WO2021181670A1 (en) 2021-09-16

Family

ID=77672190

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/011166 WO2021181670A1 (en) 2020-03-13 2020-03-13 Air conditioning system, air conditioning device, communication method, and program

Country Status (2)

Country Link
JP (1) JP7258219B2 (en)
WO (1) WO2021181670A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006038369A (en) * 2004-07-28 2006-02-09 Fujitsu General Ltd Communication system
JP2013002771A (en) * 2011-06-20 2013-01-07 Mitsubishi Electric Corp Network system of air conditioner
JP2018129708A (en) * 2017-02-09 2018-08-16 オムロン株式会社 Communication system, communication device and communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006038369A (en) * 2004-07-28 2006-02-09 Fujitsu General Ltd Communication system
JP2013002771A (en) * 2011-06-20 2013-01-07 Mitsubishi Electric Corp Network system of air conditioner
JP2018129708A (en) * 2017-02-09 2018-08-16 オムロン株式会社 Communication system, communication device and communication method

Also Published As

Publication number Publication date
JPWO2021181670A1 (en) 2021-09-16
JP7258219B2 (en) 2023-04-14

Similar Documents

Publication Publication Date Title
US9377768B2 (en) Memory recovery scheme and data structure in a heating, ventilation and air conditioning network
US8643315B2 (en) Universal apparatus and method for configurably controlling a heating or cooling system
US8761945B2 (en) Device commissioning in a heating, ventilation and air conditioning network
US8774210B2 (en) Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US20100106323A1 (en) Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
JP5274122B2 (en) Equipment control monitoring device and equipment control monitoring program
KR102479422B1 (en) Air conditioner and communication method of thereof
JP4786354B2 (en) iSCSI communication control method and storage system using the same
JP2007327656A (en) Information management system
JP2007327655A (en) Information management system
EP2584277B1 (en) Network system equipped with air conditioner and control method thereof
WO2021181670A1 (en) Air conditioning system, air conditioning device, communication method, and program
JP7004815B2 (en) Air conditioners, communication systems, and control methods
CN112422243A (en) Data transmission method and device based on process optimization
JP2016003834A (en) Indoor environment control device and indoor environment control program
JP4042790B2 (en) Electrical device and method for determining normal communication function in electrical device
WO2021060067A1 (en) Sensor device and air-conditioning management system
JP2003139375A (en) Parallel processing air-conditioning control communication device, parallel processing air- conditioning control communicating method and parallel processing air-conditioning control communication program
JPWO2019186619A1 (en) Air conditioning communication system, outdoor unit, air conditioning communication method, and program
JP6949213B2 (en) Management device, air conditioner, information update system, information update method, and information update program
JP6961091B2 (en) Program transfer system and program transfer method
WO2021192257A1 (en) Data collecting system, auxiliary communication apparatus, data collecting method, and program
CN113383323A (en) Management device or device information transmitting device
WO2021100103A1 (en) Air conditioning system, air conditioning device, air conditioning management method, and program
JP5832155B2 (en) Air conditioner network system

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: 20924403

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022505698

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20924403

Country of ref document: EP

Kind code of ref document: A1