WO2022234677A1 - Communication device, communication system, and communication method - Google Patents

Communication device, communication system, and communication method Download PDF

Info

Publication number
WO2022234677A1
WO2022234677A1 PCT/JP2021/017577 JP2021017577W WO2022234677A1 WO 2022234677 A1 WO2022234677 A1 WO 2022234677A1 JP 2021017577 W JP2021017577 W JP 2021017577W WO 2022234677 A1 WO2022234677 A1 WO 2022234677A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
server
air conditioner
line
control
Prior art date
Application number
PCT/JP2021/017577
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 PCT/JP2021/017577 priority Critical patent/WO2022234677A1/en
Priority to JP2023518605A priority patent/JPWO2022234677A1/ja
Publication of WO2022234677A1 publication Critical patent/WO2022234677A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present disclosure has been made to solve the above problems, and is a communication device that can continue to receive services from a server even when an abnormality occurs in the communication line between the communication device and the server. , to provide a communication system and communication method.
  • the communication device is a first communication means for direct long-range wireless communication with a server; a second communication means for short-range wireless communication; When an abnormality is detected in the communication line between the server and the first communication means, a device capable of communicating via the second communication means and directly communicating with the server. a communication control means for searching for a relay device that is a device capable of long-distance wireless communication, and thereafter exchanging data with the server via the relay device.
  • FIG. 1 shows the overall configuration of a remote control system according to Embodiment 1.
  • FIG. 2 is a block diagram showing the hardware configuration of the server according to Embodiment 1;
  • FIG. FIG. 2 is a block diagram showing the hardware configuration of the air conditioner according to the first embodiment;
  • FIG. 2 is a block diagram showing the hardware configuration of the mobile terminal according to Embodiment 1;
  • FIG. 1 shows a functional configuration of a server according to Embodiment 1;
  • FIG. 1 shows a functional configuration of an air conditioner according to Embodiment 1
  • FIG. 2 shows a functional configuration of a mobile terminal according to Embodiment 1;
  • 3 is a flowchart showing the procedure of communication line switching processing according to the first embodiment; The figure which shows the whole structure of the remote control system in Embodiment 2.
  • a diagram showing a functional configuration of a server according to Embodiment 2 Diagram showing the functional configuration of an air conditioner according to Embodiment 2 Flowchart showing the procedure of the degeneracy control switching process in the second embodiment A diagram showing an example of a function list according to the second embodiment
  • the server 2 is an example of a server according to the present disclosure.
  • the server 2 is a server computer installed and operated by the manufacturer, sales company, etc. of the air conditioner 3, and is connected to a network N such as the Internet.
  • the server 2 provides a service for remotely controlling each air conditioner 3 .
  • the server 2 includes a communication interface 20, a control circuit 21, and an auxiliary storage device 22 as a hardware configuration.
  • the communication interface 20 is an interface for connecting to the network N and communicating with other devices such as the air conditioners 3, and is based on Ethernet (registered trademark), for example.
  • the auxiliary storage device 22 is composed of a readable/writable non-volatile semiconductor memory, HDD (Hard Disk Drive), or the like.
  • the readable and writable nonvolatile semiconductor memory is, for example, EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, or the like.
  • the auxiliary storage device 22 stores a remote control program, which is a program for realizing remote control of each air conditioner 3, and data used when executing the remote control program.
  • the above remote control program can be downloaded to the server 2 via the network N from devices such as other servers.
  • the remote control program can be used for CD-ROM (Compact Disc Read Only Memory), DVD (Digital Versatile Disc), magneto-optical disc, USB (Universal Serial Bus) memory, HDD, SSD (Solid State Drive), memory card, etc. It can also be stored and distributed on a computer-readable recording medium. When such a recording medium is directly or indirectly attached to itself, the server 2 can also read and import the remote control program from the recording medium.
  • the second communication interface 31 is an example of second communication means according to the present disclosure.
  • the second communication interface 31 is an interface for wirelessly communicating with another device using a predetermined short-range wireless communication method.
  • the second communication interface 31 is an interface for wireless LAN (Local Area Network) communication.
  • the third communication interface 32 is an example of second communication means according to the present disclosure.
  • the third communication interface 32 is an interface for wirelessly communicating with other devices using a predetermined short-range wireless communication method.
  • the third communication interface 32 is an interface for performing BLE (Bluetooth (registered trademark) Low Energy) communication.
  • BLE Bluetooth (registered trademark) Low Energy
  • the auxiliary storage device 35 is composed of a readable and writable non-volatile semiconductor memory such as EEPROM and flash memory, for example.
  • the auxiliary storage device 35 stores firmware, which is a software program for realizing functions related to air conditioning, and data used when executing the firmware.
  • the auxiliary storage device 35 stores a communication control program, which is a program for controlling communication with the server 2, and data used when executing the communication control program.
  • the above communication control program can be downloaded to the air conditioner 3 via the network N from another device such as the server 2. Also, the air conditioner 3 can receive a communication control program from the mobile terminal 4 . Also, the communication control program can be distributed by being stored in a computer-readable recording medium such as a CD-ROM, DVD, magneto-optical disk, USB memory, HDD, SSD, memory card, or the like. When such a recording medium is directly or indirectly attached to the air conditioner 3, the air conditioner 3 can also read and import the communication control program from the recording medium.
  • a computer-readable recording medium such as a CD-ROM, DVD, magneto-optical disk, USB memory, HDD, SSD, memory card, or the like.
  • the mobile terminal 4 is a portable electronic device such as a smart phone or a tablet terminal possessed by a person in charge of maintenance of the remote control system 1 . As shown in FIG. 4, the mobile terminal 4 has a hardware configuration including a first communication interface 40, a second communication interface 41, an operation reception unit 42, a display 43, a control circuit 44, and an auxiliary storage device 45. and
  • the second communication interface 41 is an interface for wirelessly communicating with other devices using a predetermined short-range wireless communication method.
  • the second communication interface 41 is an interface for performing BLE communication.
  • the operation reception unit 42 includes one or more input devices such as a push button, a touch panel, and a touch pad, receives operation input from the user, and outputs a signal related to the received operation to the control circuit 44.
  • input devices such as a push button, a touch panel, and a touch pad
  • the display 43 includes a display device such as a liquid crystal display and an organic EL (Electro Luminescence) display. Under the control of the control circuit 44, the display 43 displays various screens and the like according to the user's operation.
  • a display device such as a liquid crystal display and an organic EL (Electro Luminescence) display.
  • the display 43 displays various screens and the like according to the user's operation.
  • the control circuit 44 includes a CPU, ROM, RAM, etc., and controls the mobile terminal 4 in an integrated manner. Details of the functions of the mobile terminal 4 realized by the control circuit 44 will be described later.
  • the auxiliary storage device 45 is composed of a readable and writable non-volatile semiconductor memory such as EEPROM and flash memory, for example.
  • the auxiliary storage device 45 stores programs executed during maintenance of the remote control system 1 and data used during execution of the programs.
  • the auxiliary storage device 45 also stores a data relay program, which is a program for realizing a function of relaying data transfer between the air conditioner 3 and the server 2 in response to a request from the air conditioner 3, and a data relay program. Data used during program execution are stored.
  • the server 2 includes an air conditioner control section 200 and a line management section 201 as functional configurations. These functional units are realized by the control circuit 21 executing the above-described remote control program stored in the auxiliary storage device 22 .
  • the air conditioner control unit 200 controls each air conditioner 3 . Specifically, the air conditioner control unit 200 collects operation data (hereinafter referred to as operation data) from each air conditioner 3 and controls the operation of each air conditioner 3 based on the collected operation data. The air conditioner control unit 200 also performs firmware update control for transmitting update firmware to air conditioners 3 whose firmware needs to be updated.
  • operation data hereinafter referred to as operation data
  • firmware update control for transmitting update firmware to air conditioners 3 whose firmware needs to be updated.
  • the line management unit 201 manages the state of the communication line with each air conditioner 3 . Specifically, when the line management unit 201 receives a line switching notification from the air conditioning equipment 3 via another device different from the air conditioning equipment 3, or receives a line restoration notification from the air conditioning equipment 3, The line information corresponding to the air conditioner 3 registered in the line information DB 220 is updated.
  • the line information DB 220 is a database stored in the auxiliary storage device 22, and line information corresponding to each air conditioner 3 is registered.
  • the line information includes the device ID (identification) of the air conditioner 3 and the line type of the air conditioner 3 .
  • the line type means a communication method (for example, LPWA or the like) when the air conditioner 3 communicates with the server 2 using the first communication interface 30 .
  • the line information further includes the device ID of the other device. and the line type of the device.
  • the communication line between the air conditioner 3 and the server 2 in direct long-distance wireless communication with the server 2 using the first communication interface 30 will be referred to as a first communication line.
  • a communication line between the air conditioner 3 and the server 2 in the case of indirectly communicating with the server 2 using another device is called a second communication line.
  • the above line switching notification is a notification indicating that the communication line has been switched from the first communication line to the second communication line.
  • the line switching notification includes the device ID of the air conditioner 3 that switched the communication line to the second communication line, the device ID of the device corresponding to the second communication line, that is, the device that relayed the line switching notification, and the line type. and are included.
  • the line management unit 201 adds information about the second communication line to the line information corresponding to the air conditioner 3 whose communication line has been switched.
  • the line restoration notification is a notification indicating that the first communication line has been restored.
  • the line management unit 201 receives the line restoration notification from the air conditioner 3, Delete the information about the second communication line from the line information corresponding to the device 3 .
  • the air conditioner 3 includes a communication control unit 300 and an air conditioning control unit 301 as functional configurations.
  • Communication control section 300 also includes line failure detection section 310 , line search section 311 , line switching section 312 , response request notification handling section 313 , and data relay section 314 .
  • These functional units are implemented by the control circuit 34 executing the above-described firmware and communication control program stored in the auxiliary storage device 35 .
  • the communication control unit 300 is an example of communication control means according to the present disclosure.
  • the communication control unit 300 comprehensively controls communication.
  • the air-conditioning control unit 301 performs overall control related to air-conditioning. Specifically, the air conditioning control unit 301 periodically (for example, at intervals of one minute) transmits the operation data to the server 2 via the communication control unit 300 .
  • the operation data includes operation mode (cooling, heating, dehumidification, ventilation, etc.), set temperature, wind direction, air volume, measurement results of various sensors (air temperature, humidity, etc.), and the like.
  • the air conditioning control unit 301 controls operations related to air conditioning according to control commands from the server 2 .
  • the line abnormality detection unit 310 detects whether or not there is an abnormality in the first communication line. Specifically, the line abnormality detection unit 310 monitors communication with the server 2 on the first communication line, determines whether communication is possible, and acquires communication quality (data arrival rate, transmission delay, etc.). If communication is not possible or if the communication quality is lower than a predetermined standard, the line abnormality detection unit 310 detects an abnormality in the first communication line and notifies the line search unit 311 to that effect.
  • the line abnormality detection unit 310 monitors communication with the server 2 on the first communication line, determines whether communication is possible, and acquires communication quality (data arrival rate, transmission delay, etc.). If communication is not possible or if the communication quality is lower than a predetermined standard, the line abnormality detection unit 310 detects an abnormality in the first communication line and notifies the line search unit 311 to that effect.
  • the line search unit 311 searches for an alternative communication line, that is, the second communication line. Specifically, when line search unit 311 receives notification from line error detection unit 310 that an error has been detected in the first communication line, line search unit 311 sends a notification requesting a response from another device capable of relaying data. is broadcasted from each of the second communication interface 31 and the third communication interface 32 .
  • the line search unit 311 obtains the device ID of the device that responded, the line type, the communication quality, and the allowable Extract the amount of data.
  • the line type means a communication method (for example, LPWA, 4G, 5G, etc.) when the device directly communicates with the server 2 .
  • Communication quality means communication quality between the device and the server 2 .
  • the allowable data volume means the upper limit of the data communication volume per day that is permissible when accepting data relay.
  • the line search unit 311 determines whether or not the daily data communication volume of the device itself is equal to or less than the allowable data volume included in the response notification.
  • the line search unit 311 may acquire the daily data communication volume of its own device from the air conditioning control unit 301, or monitor the data exchanged with the server 2 during normal operation to obtain the data communication volume of its own device. Data traffic per day may be derived.
  • the device is determined as the device to be used for relay (hereinafter referred to as relay device). If there are multiple devices that meet the above conditions, the line search unit 311 selects a device with lower communication cost and better communication quality as the relay device. Communication cost is determined based on the line type. After determining the relay device, the line search unit 311 notifies the line switching unit 312 of information indicating the communication interface used for communication with the relay device, the device ID of the relay device, and the line type.
  • the data relay unit 314 When the data relay unit 314 receives a notification from another air conditioner 3 indicating that the relay device has been selected, the data relay unit 314 receives a notification indicating that the role of the relay device has been canceled. and the server 2 to exchange data.
  • the mobile terminal 4 includes a response request notification handling unit 400 and a data relay unit 401 as characteristic functional configurations according to the present disclosure. These functional units are implemented by the control circuit 44 executing the above-described data relay program stored in the auxiliary storage device 45 .
  • the response request notification handling unit 400 discards the received response request notification without responding to the air conditioner 3 .
  • the data relay unit 401 When the data relay unit 401 receives a notification from the air conditioner 3 indicating that the relay device has been selected, the data relay unit 401 continues to communicate with the air conditioner 3 and the server 2 until it receives a notification indicating that the role of the relay device has been released. It relays the transfer of data between
  • FIG. 8 is a flowchart showing the procedure of communication line switching processing executed by the communication control unit 300 of the air conditioner 3.
  • the communication control unit 300 starts communication line switching processing when communication with the server 2 is started through the first communication line.
  • Step S101 The communication control unit 300 detects whether or not there is an abnormality in the first communication line. After that, the processing of the communication control unit 300 transitions to step S102.
  • Step S103 The communication control unit 300 broadcasts from each of the second communication interface 31 and the third communication interface 32 response request notifications for requesting responses from other devices capable of relaying data. After that, the processing of the communication control unit 300 transitions to step S104.
  • Step S104 The communication control unit 300 determines whether or not it has received a response notification from any device. If a response notification has been received (step S104; YES), the processing of the communication control unit 300 transitions to step S105. On the other hand, if the response notification has not been received (step S104; NO), the communication control unit 300 continues the process of step S104.
  • Step S105 The communication control unit 300 determines whether the device that sent the response notification is a device included in the connection list. If the device is included in the connection list (step S105; YES), the processing of the communication control unit 300 transitions to step S106. On the other hand, if the device is not included in the connection list (step S105; NO), the processing of the communication control unit 300 returns to step S104.
  • Step S106 The communication control unit 300 determines whether or not the daily data communication volume of its own device is equal to or less than the allowable data volume indicated by the response notification. If the amount of data communication per day is equal to or less than the allowable amount of data (step S106; YES), the processing of communication control unit 300 transitions to step S107. On the other hand, when the data communication amount per day exceeds the allowable data amount (step S106; NO), the processing of the communication control unit 300 returns to step S104.
  • Step S108 The communication control unit 300 transmits a line switching notification indicating that the communication line has been switched to the second communication line to the server 2 via the relay device, and ends the communication line switching process. After that, the communication control unit 300 transmits, for example, operation data to the server 2 via the relay device, and receives control commands from the server 2 via the relay device.
  • step S106 determines the device with the lower communication cost and the better communication quality as the relay device. Further, when a predetermined time-out period has elapsed since the transmission of the response request notification, the communication control unit 300 executes the process of step S103 again.
  • the air conditioner 3 can communicate with the second communication interface 31 or the third communication interface 32 when an abnormality is detected in the first communication line. It searches for a relay device, switches to a communication line (second communication line) via the searched relay device, and exchanges data with the server 2 . Therefore, it is possible to continuously receive necessary services without interruption of control by the server 2 .
  • the air conditioner 3 selects a device with a lower communication cost and a higher communication quality as a relay device. It is possible to select.
  • the air conditioner 3 may have two communication interfaces with different communication methods, or may have four or more communication interfaces with different communication methods.
  • the air conditioner 3 is connected to a communication adapter having functions equivalent to those of the communication control unit 300 via a serial communication device such as a UART (Universal Asynchronous Receiver/Transmitter), and other devices including the server 2 are connected via the communication adapter. It may be configured to communicate with a device.
  • the air conditioner 3 does not need to include the first communication interface 30 , the second communication interface 31 , the third communication interface 32 , and the communication control section 300 . Therefore, existing air conditioners can be used, and the remote control system 1 can be realized at low cost.
  • the communication adapter is an example of the communication device according to the present disclosure.
  • All or part of the functional units of the server 2 may be realized by dedicated hardware, and all or part of the functional units of the air conditioner 3 (see FIG. 6) may be It may be implemented by dedicated hardware, or all or part of the functional units of the mobile terminal 4 (see FIG. 7) may be implemented by dedicated hardware.
  • Dedicated hardware is, for example, a single circuit, a composite circuit, a programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof.
  • FIG. 9 is a diagram showing the overall configuration of the remote control system 1a according to the second embodiment.
  • the remote management system 1a is an example of a communication system according to the present disclosure.
  • the remote management system 1a is, for example, a system for air conditioning a building such as a building, a store, etc., similar to the remote control system 1 of Embodiment 1, and includes a server 2a, a plurality of air conditioners 3a, and one or a plurality of and a mobile terminal 4 .
  • the server 2a is an example of a server according to the present disclosure.
  • the server 2a is a server computer installed and operated by the manufacturer, sales company, etc. of the air conditioner 3a, and is connected to a network N such as the Internet.
  • the server 2a provides a service for remotely controlling each air conditioner 3a.
  • the hardware configuration of the server 2a is the same as the server 2 of Embodiment 1 (see FIG. 2).
  • the server 2a includes an air conditioner control section 200a and a line management section 201 as functional configurations. These functional units are realized by the control circuit 21 of the server 2a executing a remote control program stored in the auxiliary storage device 22 for realizing remote control of each air conditioner 3a.
  • the air conditioner control unit 200a controls each air conditioner 3a, like the air conditioner control unit 200 of the first embodiment. Specifically, the air conditioner control unit 200a collects operation data from each air conditioner 3a and controls the operation of each air conditioner 3a based on the collected operation data. The air conditioner control unit 200a also performs firmware update control for transmitting update firmware to air conditioners 3 whose firmware needs to be updated.
  • the air conditioning device control unit 200a receives the degradation control switching notification based on the received degeneration control switching notification.
  • degeneracy control for limiting the control function for the air conditioner 3a is started. For example, in degeneration control, the air conditioner control unit 200a stops the function of collecting operation data from the air conditioner 3a, or stops the firmware update function for the air conditioner 3a.
  • the air conditioner control unit 200a When the air conditioner control unit 200a receives the line restoration notification from the air conditioner 3a under degeneration control, it cancels the degeneration control for the air conditioner 3a.
  • the air conditioner 3a is an outdoor unit or an indoor unit, and is an example of a communication device according to the present disclosure.
  • the hardware configuration of the air conditioner 3a is the same as that of the air conditioner 3 of the first embodiment (see FIG. 3).
  • the air conditioner 3a includes a communication control unit 300a, an air conditioning control unit 301a, and a degeneracy control switching unit 302 as functional configurations.
  • the communication control unit 300 a also includes a line abnormality detection unit 310 , a line search unit 311 a , a line switching unit 312 , a response request notification handling unit 313 , and a data relay unit 314 .
  • the control circuit 34 of the air conditioning equipment 3a is stored in the auxiliary storage device 35, and these functional units are firmware, which is a software program for realizing functions related to air conditioning, and a program for controlling communication with the server 2a. and a degeneracy control program for implementing degeneracy control.
  • the line search unit 311a searches for an alternative communication line, that is, the second communication line, similarly to the line search unit 311 of the first embodiment. However, the line search unit 311a determines that the allowable data amount does not satisfy the condition within the timeout period after the transmission of the first response request notification, that is, the allowable data amount is less than the daily data communication amount of its own device. If only the device can be found, the device is determined as the relay device. At that time, the line search unit 311a notifies the line switching unit 312 of information indicating the communication interface used for communication with the relay device, the device ID and the line type of the relay device, and performs degeneration control. The allowable data amount of the relay device is notified to the switching unit 302 .
  • FIG. 12 is a flowchart showing the procedure of degeneration control switching processing.
  • the degeneration control switching unit 302 starts the degeneration control switching processing after the communication line switching processing (see FIG. 8) by the communication control unit 300a ends.
  • the degeneracy control switching unit 302 creates data representing the function list.
  • the function list as shown in FIG. 13, is a table showing the relationship between the control functions of the server 2a for its own device, the priority, and the amount of data communication.
  • the priority indicates that the lower the numerical value, the higher the priority of the control function, and an important control function is set to a low priority numerical value.
  • the amount of data communication is represented by the frame size of one transmission and the frequency of communication. Data indicating the relationship between control functions and priorities is created in advance and stored in the auxiliary storage device 35 .
  • the air conditioning equipment 3a can switch the control of its own equipment by the server 2a to degenerate control, even if only equipment with a small allowable data amount can be searched as a candidate for the relay equipment, the required data By reducing the amount of communication, the device can be used as a relay device. Therefore, it becomes possible to secure the second communication line more reliably.
  • the air conditioner 3a may have two communication interfaces with different communication methods, or may have four or more communication interfaces with different communication methods.
  • the communication adapter may have a function equivalent to that of the degeneracy control switching unit 302, and the degeneracy control switching unit 302 may be removed from the air conditioner 3a.
  • the communication adapter does not notify the air conditioner 3a of the restricted function, but receives an instruction from the air conditioner 3a to send data (for example, operation data) related to the restricted control function to the server 2a.
  • the data may be discarded without being transmitted to the server 2a.
  • the communication device may be not only an air conditioner but also other equipment such as security equipment and lighting equipment, or a communication adapter connected to the other equipment. It may be a home appliance or a communication adapter connected to the home appliance.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

In the present invention, an air conditioner (3) comprises: a first communication means for direct long-distance wireless communication with a server; a second communication means for short-distance wireless communication; and a communication control unit (300). If an abnormality is detected in a communication line between the server and the first communication means, the communication control unit (300) searches for a relay device which can communicate via the second communication means and which can establish direct long-distance wireless communication with the server, and subsequently exchanges data with the server via the relay device.

Description

通信機器、通信システム及び通信方法Communication equipment, communication system and communication method
 本開示は、通信機器、通信システム及び通信方法に関する。 The present disclosure relates to communication equipment, communication systems, and communication methods.
 近年、インターネット等のパブリックネットワークへの接続環境の充実化に伴い、空調機器等の機器をパブリックネットワークへ直接的に接続して、サーバによって遠隔で監視し、制御できるようにした技術が進展している(例えば、特許文献1)。 In recent years, with the enhancement of the connection environment to public networks such as the Internet, there has been progress in technology that allows air conditioners and other devices to be directly connected to the public network and remotely monitored and controlled by a server. (For example, Patent Document 1).
特開2020-008261号公報JP 2020-008261 A
 上記の特許文献1に記載されるような通信システムでは、空調機器とサーバ間の通信回線において通信ができない状態が発生すると、当該通信回線が復旧するまでサーバによる当該空調機器に対する制御が途絶え、必要なサービスを継続して受けられないという課題がある。 In a communication system such as that described in Patent Document 1 above, when a communication failure occurs in a communication line between an air conditioner and a server, control of the air conditioner by the server is interrupted until the communication line is restored. There is a problem that it is not possible to receive continuous services.
 本開示は、上記課題を解決するためになされたものであり、通信機器とサーバ間の通信回線に異常が生じた場合であってもサーバからのサービスを継続して受けることが可能な通信機器、通信システム及び通信方法を提供することを目的とする。 The present disclosure has been made to solve the above problems, and is a communication device that can continue to receive services from a server even when an abnormality occurs in the communication line between the communication device and the server. , to provide a communication system and communication method.
 上記目的を達成するため、本開示に係る通信機器は、
 サーバと直接的に長距離無線通信するための第1通信手段と、
 近距離無線通信用の第2通信手段と、
 前記サーバと前記第1通信手段との間における通信回線に異常が検出された場合、前記第2通信手段を介して通信することが可能な機器であって、且つ、前記サーバと直接的に長距離無線通信することが可能な機器である中継機器を探索し、以後、前記中継機器を介して前記サーバとデータの授受を行う通信制御手段と、を備える。
In order to achieve the above object, the communication device according to the present disclosure is
a first communication means for direct long-range wireless communication with a server;
a second communication means for short-range wireless communication;
When an abnormality is detected in the communication line between the server and the first communication means, a device capable of communicating via the second communication means and directly communicating with the server. a communication control means for searching for a relay device that is a device capable of long-distance wireless communication, and thereafter exchanging data with the server via the relay device.
 本開示によれば、通信機器とサーバ間の通信回線に異常が生じた場合であってもサーバからのサービスを継続して受けることが可能となる。 According to the present disclosure, it is possible to continue receiving services from the server even when an abnormality occurs in the communication line between the communication device and the server.
実施の形態1における遠隔制御システムの全体構成を示す図1 shows the overall configuration of a remote control system according to Embodiment 1. FIG. 実施の形態1におけるサーバのハードウェア構成を示すブロック図2 is a block diagram showing the hardware configuration of the server according to Embodiment 1; FIG. 実施の形態1における空調機器のハードウェア構成を示すブロック図FIG. 2 is a block diagram showing the hardware configuration of the air conditioner according to the first embodiment; FIG. 実施の形態1におけるモバイル端末のハードウェア構成を示すブロック図2 is a block diagram showing the hardware configuration of the mobile terminal according to Embodiment 1; FIG. 実施の形態1におけるサーバの機能構成を示す図FIG. 1 shows a functional configuration of a server according to Embodiment 1; 実施の形態1における空調機器の機能構成を示す図FIG. 1 shows a functional configuration of an air conditioner according to Embodiment 1 実施の形態1におけるモバイル端末の機能構成を示す図FIG. 2 shows a functional configuration of a mobile terminal according to Embodiment 1; 実施の形態1における通信回線切替処理の手順を示すフローチャート3 is a flowchart showing the procedure of communication line switching processing according to the first embodiment; 実施の形態2における遠隔制御システムの全体構成を示す図The figure which shows the whole structure of the remote control system in Embodiment 2. 実施の形態2におけるサーバの機能構成を示す図A diagram showing a functional configuration of a server according to Embodiment 2 実施の形態2における空調機器の機能構成を示す図Diagram showing the functional configuration of an air conditioner according to Embodiment 2 実施の形態2における縮退制御切替処理の手順を示すフローチャートFlowchart showing the procedure of the degeneracy control switching process in the second embodiment 実施の形態2における機能一覧表の一例を示す図A diagram showing an example of a function list according to the second embodiment
 以下、本開示の実施の形態について図面を参照して詳細に説明する。 Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings.
(実施の形態1)
 図1は、実施の形態1における遠隔制御システム1の全体構成を示す図である。遠隔制御システム1は、本開示に係る通信システムの一例である。遠隔制御システム1は、例えば、ビル、店舗等の建物の空気調和を行うシステムであり、サーバ2と、複数の空調機器3と、1又は複数のモバイル端末4とを備える。
(Embodiment 1)
FIG. 1 is a diagram showing the overall configuration of a remote control system 1 according to Embodiment 1. As shown in FIG. Remote control system 1 is an example of a communication system according to the present disclosure. The remote control system 1 is, for example, a system that air-conditions buildings such as buildings and stores, and includes a server 2 , a plurality of air conditioners 3 , and one or a plurality of mobile terminals 4 .
<サーバ2>
 サーバ2は、本開示に係るサーバの一例である。サーバ2は、空調機器3のメーカ、販売会社等によって設置され、運用されるサーバコンピュータであり、インターネット等のネットワークNに接続される。サーバ2は各空調機器3を遠隔制御するサービスを提供する。
<Server 2>
The server 2 is an example of a server according to the present disclosure. The server 2 is a server computer installed and operated by the manufacturer, sales company, etc. of the air conditioner 3, and is connected to a network N such as the Internet. The server 2 provides a service for remotely controlling each air conditioner 3 .
 図2に示すように、サーバ2は、ハードウェア構成として、通信インタフェース20と、制御回路21と、補助記憶装置22とを備える。通信インタフェース20は、ネットワークNに接続して各空調機器3等の他の機器と通信するためのインタフェースであり、例えば、Ethernet(登録商標)に基づくインタフェースである。 As shown in FIG. 2, the server 2 includes a communication interface 20, a control circuit 21, and an auxiliary storage device 22 as a hardware configuration. The communication interface 20 is an interface for connecting to the network N and communicating with other devices such as the air conditioners 3, and is based on Ethernet (registered trademark), for example.
 制御回路21は、サーバ2を統括的に制御する。制御回路21は、何れも図示しないが、CPU(Central Processing Unit)と、ROM(Read Only Memory)と、RAM(Random Access Memory)とを備える。制御回路21によって実現されるサーバ2の機能の詳細については後述する。 The control circuit 21 comprehensively controls the server 2. The control circuit 21 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory), which are not shown. Details of the functions of the server 2 realized by the control circuit 21 will be described later.
 補助記憶装置22は、読み書き可能な不揮発性の半導体メモリ、HDD(Hard Disk Drive)等で構成される。読み書き可能な不揮発性の半導体メモリは、例えば、EEPROM(Electrically Erasable Programmable Read-Only Memory)、フラッシュメモリ等である。補助記憶装置22には、各空調機器3に対する遠隔制御を実現するためのプログラムである遠隔制御プログラムと、遠隔制御プログラムの実行時に使用されるデータとが記憶される。 The auxiliary storage device 22 is composed of a readable/writable non-volatile semiconductor memory, HDD (Hard Disk Drive), or the like. The readable and writable nonvolatile semiconductor memory is, for example, EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, or the like. The auxiliary storage device 22 stores a remote control program, which is a program for realizing remote control of each air conditioner 3, and data used when executing the remote control program.
 上記の遠隔制御プログラムは、他のサーバ等の機器からネットワークNを介してサーバ2にダウンロードすることができる。また、遠隔制御プログラムは、CD-ROM(Compact Disc Read Only Memory)、DVD(Digital Versatile Disc)、光磁気ディスク、USB(Universal Serial Bus)メモリ、HDD、SSD(Solid State Drive)、メモリカード等のコンピュータ読み取り可能な記録媒体に格納して配布することも可能である。サーバ2は、そのような記録媒体が自身に直接又は間接的に装着されると、当該記録媒体から遠隔制御プログラムを読み出して取り込むことも可能である。 The above remote control program can be downloaded to the server 2 via the network N from devices such as other servers. In addition, the remote control program can be used for CD-ROM (Compact Disc Read Only Memory), DVD (Digital Versatile Disc), magneto-optical disc, USB (Universal Serial Bus) memory, HDD, SSD (Solid State Drive), memory card, etc. It can also be stored and distributed on a computer-readable recording medium. When such a recording medium is directly or indirectly attached to itself, the server 2 can also read and import the remote control program from the recording medium.
<空調機器3>
 空調機器3は、室外機又は室内機であり、本開示に係る通信機器の一例である。空調機器3は、図3に示すように、第1通信インタフェース30と、第2通信インタフェース31と、第3通信インタフェース32と、メインユニット33と、制御回路34と、補助記憶装置35とを備える。
<Air conditioner 3>
The air conditioner 3 is an outdoor unit or an indoor unit, and is an example of communication equipment according to the present disclosure. The air conditioner 3 includes a first communication interface 30, a second communication interface 31, a third communication interface 32, a main unit 33, a control circuit 34, and an auxiliary storage device 35, as shown in FIG. .
 第1通信インタフェース30は、本開示に係る第1通信手段の一例である。第1通信インタフェース30は、予め定めた長距離無線通信方式で他の機器と通信するためのインタフェースである。通常時において、空調機器3は、第1通信インタフェース30を使用してサーバ2と通信を行う。本実施の形態では、第1通信インタフェース30は、LPWA(Low Power Wide Area)通信を行うためのインタフェースである。 The first communication interface 30 is an example of first communication means according to the present disclosure. The first communication interface 30 is an interface for communicating with other devices using a predetermined long-distance wireless communication method. During normal operation, the air conditioner 3 communicates with the server 2 using the first communication interface 30 . In this embodiment, the first communication interface 30 is an interface for performing LPWA (Low Power Wide Area) communication.
 第2通信インタフェース31は、本開示に係る第2通信手段の一例である。第2通信インタフェース31は、予め定めた近距離無線通信方式で他の機器と無線通信するためのインタフェースである。本実施の形態では、第2通信インタフェース31は、無線LAN(Local Area Network)通信を行うためのインタフェースである。 The second communication interface 31 is an example of second communication means according to the present disclosure. The second communication interface 31 is an interface for wirelessly communicating with another device using a predetermined short-range wireless communication method. In this embodiment, the second communication interface 31 is an interface for wireless LAN (Local Area Network) communication.
 第3通信インタフェース32は、本開示に係る第2通信手段の一例である。第3通信インタフェース32は、予め定めた近距離無線通信方式で他の機器と無線通信するためのインタフェースである。本実施の形態では、第3通信インタフェース32は、BLE(Bluetooth(登録商標) Low Energy)通信を行うためのインタフェースである。 The third communication interface 32 is an example of second communication means according to the present disclosure. The third communication interface 32 is an interface for wirelessly communicating with other devices using a predetermined short-range wireless communication method. In the present embodiment, the third communication interface 32 is an interface for performing BLE (Bluetooth (registered trademark) Low Energy) communication.
 メインユニット33は、一般的な空調機器の本来的な機能を実現するための構成部であり、当該空調機器3が室外機の場合、メインユニット33には、圧縮機、熱交換器、膨張弁、四方弁、ファン、各種のセンサ等が含まれる。また、当該空調機器3が室内機の場合、メインユニット33には、ファン、熱交換器、ルーバ、各種のセンサ等が含まれる。 The main unit 33 is a component for realizing the essential functions of a general air conditioner. When the air conditioner 3 is an outdoor unit, the main unit 33 includes a compressor, a heat exchanger, an expansion valve , four-way valves, fans, and various sensors. Also, when the air conditioner 3 is an indoor unit, the main unit 33 includes a fan, a heat exchanger, a louver, various sensors, and the like.
 制御回路34は、CPU、ROM、RAM、読み書き可能な不揮発性の半導体メモリなど(何れも図示せず)を含んで構成され、空調機器3を統括的に制御する。制御回路34によって実現される空調機器3の機能の詳細については後述する。 The control circuit 34 includes a CPU, a ROM, a RAM, a readable/writable non-volatile semiconductor memory, etc. (none of which are shown), and controls the air conditioner 3 in an integrated manner. The details of the functions of the air conditioner 3 realized by the control circuit 34 will be described later.
 補助記憶装置35は、例えば、EEPROM、フラッシュメモリ等の読み書き可能な不揮発性の半導体メモリ等で構成される。補助記憶装置35には、空調に係る機能を実現するためのソフトウェアプログラムであるファームウェアと、ファームウェアの実行時に使用されるデータとが記憶される。さらに、補助記憶装置35には、サーバ2との通信を制御するためのプログラムである通信制御プログラムと、通信制御プログラムの実行時に使用されるデータとが記憶される。 The auxiliary storage device 35 is composed of a readable and writable non-volatile semiconductor memory such as EEPROM and flash memory, for example. The auxiliary storage device 35 stores firmware, which is a software program for realizing functions related to air conditioning, and data used when executing the firmware. Furthermore, the auxiliary storage device 35 stores a communication control program, which is a program for controlling communication with the server 2, and data used when executing the communication control program.
 上記の通信制御プログラムは、サーバ2等の他の機器からネットワークNを介して空調機器3にダウンロードすることができる。また、空調機器3は、モバイル端末4から通信制御プログラムを受信することも可能である。また、通信制御プログラムは、CD-ROM、DVD、光磁気ディスク、USBメモリ、HDD、SSD、メモリカード等のコンピュータ読み取り可能な記録媒体に格納して配布することも可能である。空調機器3は、そのような記録媒体が自身に直接又は間接的に装着されると、当該記録媒体から通信制御プログラムを読み出して取り込むことも可能である。 The above communication control program can be downloaded to the air conditioner 3 via the network N from another device such as the server 2. Also, the air conditioner 3 can receive a communication control program from the mobile terminal 4 . Also, the communication control program can be distributed by being stored in a computer-readable recording medium such as a CD-ROM, DVD, magneto-optical disk, USB memory, HDD, SSD, memory card, or the like. When such a recording medium is directly or indirectly attached to the air conditioner 3, the air conditioner 3 can also read and import the communication control program from the recording medium.
<モバイル端末4>
 モバイル端末4は、遠隔制御システム1のメンテナンス担当者によって所持されるスマートフォン、タブレット端末等の携帯可能な電子機器である。図4に示すように、モバイル端末4は、ハードウェア構成として、第1通信インタフェース40と、第2通信インタフェース41と、操作受付部42と、ディスプレイ43と、制御回路44と、補助記憶装置45とを備える。
<Mobile terminal 4>
The mobile terminal 4 is a portable electronic device such as a smart phone or a tablet terminal possessed by a person in charge of maintenance of the remote control system 1 . As shown in FIG. 4, the mobile terminal 4 has a hardware configuration including a first communication interface 40, a second communication interface 41, an operation reception unit 42, a display 43, a control circuit 44, and an auxiliary storage device 45. and
 第1通信インタフェース40は、モバイルデータ通信用のインタフェースである。例えば、第1通信インタフェース40は、4G(第4世代移動通信システム)、5G(第5世代移動通信システム)等に基づく通信を行うためのインタフェースである。 The first communication interface 40 is an interface for mobile data communication. For example, the first communication interface 40 is an interface for performing communication based on 4G (fourth generation mobile communication system), 5G (fifth generation mobile communication system) or the like.
 第2通信インタフェース41は、予め定めた近距離無線通信方式で他の機器と無線通信するためのインタフェースである。本実施の形態では、第2通信インタフェース41は、BLE通信を行うためのインタフェースである。 The second communication interface 41 is an interface for wirelessly communicating with other devices using a predetermined short-range wireless communication method. In this embodiment, the second communication interface 41 is an interface for performing BLE communication.
 操作受付部42は、押しボタン、タッチパネル、タッチパッド等の1つ以上の入力デバイスを含んで構成され、ユーザからの操作入力を受け付け、受け付けた操作に係る信号を制御回路44に出力する。 The operation reception unit 42 includes one or more input devices such as a push button, a touch panel, and a touch pad, receives operation input from the user, and outputs a signal related to the received operation to the control circuit 44.
 ディスプレイ43は、液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイ等の表示デバイスを含んで構成される。ディスプレイ43は、制御回路44の制御の下、ユーザの操作に応じた各種の画面等を表示する。 The display 43 includes a display device such as a liquid crystal display and an organic EL (Electro Luminescence) display. Under the control of the control circuit 44, the display 43 displays various screens and the like according to the user's operation.
 制御回路44は、CPU、ROM、RAM等を含んで構成され、モバイル端末4を統括的に制御する。制御回路44によって実現されるモバイル端末4の機能の詳細については後述する。 The control circuit 44 includes a CPU, ROM, RAM, etc., and controls the mobile terminal 4 in an integrated manner. Details of the functions of the mobile terminal 4 realized by the control circuit 44 will be described later.
 補助記憶装置45は、例えば、EEPROM、フラッシュメモリ等の読み書き可能な不揮発性の半導体メモリ等で構成される。補助記憶装置45には、遠隔制御システム1のメンテナンス時に実行されるプログラムと、当該プログラムの実行時に使用されるデータとが記憶される。また、補助記憶装置45には、空調機器3からの要請に応じて、当該空調機器3とサーバ2間のデータの授受を中継する機能を実現するためのプログラムであるデータ中継プログラムと、データ中継プログラムの実行時に使用されるデータとが記憶される。 The auxiliary storage device 45 is composed of a readable and writable non-volatile semiconductor memory such as EEPROM and flash memory, for example. The auxiliary storage device 45 stores programs executed during maintenance of the remote control system 1 and data used during execution of the programs. The auxiliary storage device 45 also stores a data relay program, which is a program for realizing a function of relaying data transfer between the air conditioner 3 and the server 2 in response to a request from the air conditioner 3, and a data relay program. Data used during program execution are stored.
 上記のデータ中継プログラムは、サーバ2等の他の機器からネットワークNを介してモバイル端末4にダウンロードすることができる。また、データ中継プログラムは、CD-ROM、DVD、光磁気ディスク、USBメモリ、HDD、SSD、メモリカード等のコンピュータ読み取り可能な記録媒体に格納して配布することも可能である。モバイル端末4は、そのような記録媒体が自身に直接又は間接的に装着されると、当該記録媒体からデータ中継プログラムを読み出して取り込むことも可能である。 The above data relay program can be downloaded from other devices such as the server 2 to the mobile terminal 4 via the network N. The data relay program can also be stored and distributed in a computer-readable recording medium such as a CD-ROM, DVD, magneto-optical disk, USB memory, HDD, SSD, memory card, and the like. When such a recording medium is directly or indirectly attached to the mobile terminal 4, the mobile terminal 4 can read and import the data relay program from the recording medium.
<サーバ2の機能>
 続いて、サーバ2の機能について説明する。図5に示すように、サーバ2は、機能構成として、空調機器制御部200と、回線管理部201とを備える。これらの機能部は、制御回路21が補助記憶装置22に記憶されている上述した遠隔制御プログラムを実行することで実現される。
<Functions of Server 2>
Next, functions of the server 2 will be described. As shown in FIG. 5, the server 2 includes an air conditioner control section 200 and a line management section 201 as functional configurations. These functional units are realized by the control circuit 21 executing the above-described remote control program stored in the auxiliary storage device 22 .
 空調機器制御部200は、各空調機器3を制御する。詳細には、空調機器制御部200は、各空調機器3から運転に関するデータ(以下、運転データという)を収集し、収集した運転データに基づいて各空調機器3の運転を制御する。また、空調機器制御部200は、ファームウェアの更新が必要な空調機器3に対して更新用のファームウェアを送信するファームウェア更新制御も行う。 The air conditioner control unit 200 controls each air conditioner 3 . Specifically, the air conditioner control unit 200 collects operation data (hereinafter referred to as operation data) from each air conditioner 3 and controls the operation of each air conditioner 3 based on the collected operation data. The air conditioner control unit 200 also performs firmware update control for transmitting update firmware to air conditioners 3 whose firmware needs to be updated.
 回線管理部201は、各空調機器3との間の通信回線の状態を管理する。詳細には、回線管理部201は、空調機器3から当該空調機器3とは異なる他の機器を経由して回線切替通知を受信した場合、又は、空調機器3から回線復旧通知を受信した場合、回線情報DB220に登録されている当該空調機器3に対応する回線情報を更新する。回線情報DB220は、補助記憶装置22に記憶されるデータベースであり、各空調機器3に対応する回線情報が登録される。回線情報には、当該空調機器3の機器ID(identification)と、当該空調機器3の回線種別とが含まれる。回線種別は、当該空調機器3が第1通信インタフェース30を使用してサーバ2と通信する際の通信方式(例えば、LPWA等)を意味する。 The line management unit 201 manages the state of the communication line with each air conditioner 3 . Specifically, when the line management unit 201 receives a line switching notification from the air conditioning equipment 3 via another device different from the air conditioning equipment 3, or receives a line restoration notification from the air conditioning equipment 3, The line information corresponding to the air conditioner 3 registered in the line information DB 220 is updated. The line information DB 220 is a database stored in the auxiliary storage device 22, and line information corresponding to each air conditioner 3 is registered. The line information includes the device ID (identification) of the air conditioner 3 and the line type of the air conditioner 3 . The line type means a communication method (for example, LPWA or the like) when the air conditioner 3 communicates with the server 2 using the first communication interface 30 .
 また、当該空調機器3が、他の機器(他の空調機器3又はモバイル端末4)の通信回線を使用してサーバ2と通信する場合、回線情報には、さらに、当該他の機器の機器IDと、当該機器の回線種別とが含まれる。以下、空調機器3が、第1通信インタフェース30を使用してサーバ2と直接的に長距離無線通信する場合におけるサーバ2との間の通信回線を第1通信回線といい、空調機器3が、他の機器を使用してサーバ2と間接的に通信する場合における、当該空調機器3とサーバ2との間の通信回線を第2通信回線という。 When the air conditioner 3 communicates with the server 2 using the communication line of another device (other air conditioner 3 or mobile terminal 4), the line information further includes the device ID of the other device. and the line type of the device. Hereinafter, the communication line between the air conditioner 3 and the server 2 in direct long-distance wireless communication with the server 2 using the first communication interface 30 will be referred to as a first communication line. A communication line between the air conditioner 3 and the server 2 in the case of indirectly communicating with the server 2 using another device is called a second communication line.
 上記の回線切替通知は、通信回線を第1通信回線から第2通信回線に切り替えたことを示す通知である。回線切替通知には、通信回線を第2通信回線に切り替えた空調機器3の機器IDと、当該第2通信回線に対応する機器、即ち、当該回線切替通知を中継した機器の機器ID及び回線種別とが含まれている。回線管理部201は、回線切替通知を受信すると、通信回線を切り替えた当該空調機器3に対応する回線情報に、第2通信回線に関する情報を追加する。また、上記の回線復旧通知は、第1通信回線が復旧したことを示す通知であり、回線管理部201は、空調機器3から回線復旧通知を受信すると、回線情報DB220に登録されている当該空調機器3に対応する回線情報から第2通信回線に関する情報を削除する。 The above line switching notification is a notification indicating that the communication line has been switched from the first communication line to the second communication line. The line switching notification includes the device ID of the air conditioner 3 that switched the communication line to the second communication line, the device ID of the device corresponding to the second communication line, that is, the device that relayed the line switching notification, and the line type. and are included. Upon receiving the line switching notification, the line management unit 201 adds information about the second communication line to the line information corresponding to the air conditioner 3 whose communication line has been switched. Further, the line restoration notification is a notification indicating that the first communication line has been restored. When the line management unit 201 receives the line restoration notification from the air conditioner 3, Delete the information about the second communication line from the line information corresponding to the device 3 .
<空調機器3の機能>
 続いて、空調機器3の機能について説明する。図6に示すように、空調機器3は、機能構成として、通信制御部300と、空調制御部301とを備える。また、通信制御部300は、回線異常検出部310と、回線探索部311と、回線切替部312と、応答要求通知対応部313と、データ中継部314とを備える。これらの機能部は、制御回路34が補助記憶装置35に記憶されている上述したファームウェア及び通信制御プログラムを実行することで実現される。
<Functions of air conditioner 3>
Next, functions of the air conditioner 3 will be described. As shown in FIG. 6, the air conditioner 3 includes a communication control unit 300 and an air conditioning control unit 301 as functional configurations. Communication control section 300 also includes line failure detection section 310 , line search section 311 , line switching section 312 , response request notification handling section 313 , and data relay section 314 . These functional units are implemented by the control circuit 34 executing the above-described firmware and communication control program stored in the auxiliary storage device 35 .
 通信制御部300は、本開示に係る通信制御手段の一例である。通信制御部300は、通信に係る制御を統括的に行う。空調制御部301は、空調に係る制御を統括的に行う。詳細には、空調制御部301は、周期的に(例えば1分間隔で)運転データを通信制御部300を介してサーバ2に送信する。運転データには、運転モード(冷房、暖房、除湿、送風等)、設定温度、風向、風量、各種センサの計測結果(空気温度、湿度等)等が含まれる。また、空調制御部301は、サーバ2からの制御指令に従って空調に係る運転を制御する。 The communication control unit 300 is an example of communication control means according to the present disclosure. The communication control unit 300 comprehensively controls communication. The air-conditioning control unit 301 performs overall control related to air-conditioning. Specifically, the air conditioning control unit 301 periodically (for example, at intervals of one minute) transmits the operation data to the server 2 via the communication control unit 300 . The operation data includes operation mode (cooling, heating, dehumidification, ventilation, etc.), set temperature, wind direction, air volume, measurement results of various sensors (air temperature, humidity, etc.), and the like. In addition, the air conditioning control unit 301 controls operations related to air conditioning according to control commands from the server 2 .
 通信制御部300において、回線異常検出部310は、第1通信回線の異常の有無を検出する。詳細には、回線異常検出部310は、第1通信回線におけるサーバ2との通信を監視し、通信の可否を判定し、また、通信品質(データ到達率、伝送遅延等)を取得する。回線異常検出部310は、通信不可の場合、又は、通信品質が予め定めた基準より低い場合、第1通信回線の異常を検出したとして、その旨を回線探索部311に通知する。 In the communication control unit 300, the line abnormality detection unit 310 detects whether or not there is an abnormality in the first communication line. Specifically, the line abnormality detection unit 310 monitors communication with the server 2 on the first communication line, determines whether communication is possible, and acquires communication quality (data arrival rate, transmission delay, etc.). If communication is not possible or if the communication quality is lower than a predetermined standard, the line abnormality detection unit 310 detects an abnormality in the first communication line and notifies the line search unit 311 to that effect.
 回線探索部311は、代替の通信回線、即ち、第2通信回線を探索する。詳細には、回線探索部311は、回線異常検出部310から第1通信回線の異常を検出したとの通知を受けると、データの中継が可能な他の機器からの応答を要求するための通知である応答要求通知を第2通信インタフェース31及び第3通信インタフェース32の各々から同報送信する。 The line search unit 311 searches for an alternative communication line, that is, the second communication line. Specifically, when line search unit 311 receives notification from line error detection unit 310 that an error has been detected in the first communication line, line search unit 311 sends a notification requesting a response from another device capable of relaying data. is broadcasted from each of the second communication interface 31 and the third communication interface 32 .
 上記の応答要求通知に対して、いずれかの機器から応答通知が返ってくると、回線探索部311は、当該応答通知から、応答した機器の機器IDと、回線種別と、通信品質と、許容データ量とを抽出する。回線種別は、当該機器がサーバ2と直接的に通信する際の通信方式(例えば、LPWA、4G、5G等)を意味する。また、通信品質は、当該機器とサーバ2との間の通信品質を意味する。また、許容データ量は、データの中継を引き受ける際に許容できる1日当たりのデータ通信量の上限を意味する。 When a response notification is returned from one of the devices in response to the response request notification, the line search unit 311 obtains the device ID of the device that responded, the line type, the communication quality, and the allowable Extract the amount of data. The line type means a communication method (for example, LPWA, 4G, 5G, etc.) when the device directly communicates with the server 2 . Communication quality means communication quality between the device and the server 2 . In addition, the allowable data volume means the upper limit of the data communication volume per day that is permissible when accepting data relay.
 回線探索部311は、上記の応答通知を受信すると、当該応答通知を送信した機器が予め定められた接続先リストに含まれているか否かを判定する。接続先リストは、当該空調機器3の接続先として安全性が確認されており、且つ、サーバ2へのアクセスが可能な機器のリストである。例えば、接続先リストには、遠隔制御システム1を構成する全ての空調機器3及び全てのモバイル端末4を示す情報が含まれている。接続先リストに関するデータは、予め補助記憶装置35に保存されている。 Upon receiving the response notification, the line search unit 311 determines whether or not the device that sent the response notification is included in a predetermined connection destination list. The connection destination list is a list of devices whose safety has been confirmed as connection destinations of the air conditioner 3 and which can access the server 2 . For example, the connection destination list includes information indicating all air conditioners 3 and all mobile terminals 4 that constitute the remote control system 1 . Data relating to the connection destination list is stored in the auxiliary storage device 35 in advance.
 当該機器が接続先リストに含まれている場合、回線探索部311は、自機器の1日当たりのデータ通信量が、当該応答通知に含まれる許容データ量以下であるか否かを判定する。回線探索部311は、自機器の1日当たりのデータ通信量を空調制御部301から取得してもよいし、通常時においてサーバ2との間で授受されるデータを監視することで自機器の1日当たりのデータ通信量を導出してもよい。  If the device is included in the connection destination list, the line search unit 311 determines whether or not the daily data communication volume of the device itself is equal to or less than the allowable data volume included in the response notification. The line search unit 311 may acquire the daily data communication volume of its own device from the air conditioning control unit 301, or monitor the data exchanged with the server 2 during normal operation to obtain the data communication volume of its own device. Data traffic per day may be derived.
 自機器の1日当たりのデータ通信量が許容データ量以下の場合、当該機器を中継に使用する機器(以下、中継機器という。)に決定する。なお、上記の条件に当てはまる機器が複数存在する場合、回線探索部311は、より通信コストが低く、より通信品質のよい機器を中継機器に決定する。通信コストは、回線種別に基づいて判別される。回線探索部311は、中継機器を決定すると、回線切替部312に対して、当該中継機器との通信に使用する通信インタフェースを示す情報と、当該中継機器の機器ID及び回線種別とを通知する。 If the daily data communication volume of the device itself is less than the allowable data volume, the device is determined as the device to be used for relay (hereinafter referred to as relay device). If there are multiple devices that meet the above conditions, the line search unit 311 selects a device with lower communication cost and better communication quality as the relay device. Communication cost is determined based on the line type. After determining the relay device, the line search unit 311 notifies the line switching unit 312 of information indicating the communication interface used for communication with the relay device, the device ID of the relay device, and the line type.
 回線切替部312は、回線探索部311からの上記の通知を受けると、当該中継機器に対して、中継機器に決定したことを通知する。また、自機器の機器IDと、当該中継機器の機器ID及び回線種別とが含まれた回線切替通知を生成し、生成した回線切替通知を当該中継機器を介してサーバ2に送信する。以後、通信制御部300は、当該中継機器を介してサーバ2とデータの授受を行う。例えば、通信制御部300は、運転データを当該中継機器を介してサーバ2に送信し、サーバ2からの制御指令を当該中継機器を介して受信する。また、回線切替部312は、第1通信回線が復旧されると、回線復旧通知を第1通信回線、即ち、第1通信インタフェース30を使用してサーバ2に送信し、また、中継機器に対して中継機器の役割が解除されたことを通知する。 Upon receiving the above notification from the line search unit 311, the line switching unit 312 notifies the relay device that the relay device has been selected. Also, it generates a line switching notification containing the device ID of its own device, the device ID of the relay device, and the line type, and transmits the generated line switching notification to the server 2 via the relay device. Thereafter, the communication control unit 300 exchanges data with the server 2 via the relay device. For example, the communication control unit 300 transmits operation data to the server 2 via the relay device, and receives control commands from the server 2 via the relay device. Further, when the first communication line is restored, the line switching unit 312 transmits a line restoration notification to the server 2 using the first communication line, that is, the first communication interface 30, and also to the relay device. notifies that the role of the relay device has been released.
 応答要求通知対応部313は、他の空調機器3から上記の応答要求通知を第2通信インタフェース31を介して受信すると、現在、第1通信回線でサーバ2と通信している場合、即ち、第1通信インタフェース30を使用してサーバ2と通信している場合、自機器の機器IDと、回線種別と、通信品質と、許容データ量とが格納された応答通知を当該送信元の空調機器3に送信する。一方、現在、第2通信回線でサーバ2と通信している場合、即ち、第2通信インタフェース31又は第3通信インタフェース32を使用して、他の機器を介してサーバ2と通信している場合、応答要求通知対応部313は、応答要求通知を受信しても応答せずに破棄する。 When the response request notification handling unit 313 receives the above-described response request notification from another air conditioner 3 via the second communication interface 31, if the response request notification handling unit 313 is currently communicating with the server 2 via the first communication line, that is, the first 1 When communicating with the server 2 using the communication interface 30, a response notification containing the device ID of the own device, the line type, the communication quality, and the allowable data amount is sent to the air conditioning device 3 as the transmission source. Send to On the other hand, when currently communicating with the server 2 through the second communication line, that is, when communicating with the server 2 via another device using the second communication interface 31 or the third communication interface 32 , the response request notification handling unit 313 discards the response request notification without responding even if it receives the response request notification.
 データ中継部314は、他の空調機器3から中継機器に決定したことを示す通知を受信すると、以後、中継機器の役割が解除されたことを示す通知を受信するまで、当該他の空調機器3とサーバ2との間のデータの授受を中継する。 When the data relay unit 314 receives a notification from another air conditioner 3 indicating that the relay device has been selected, the data relay unit 314 receives a notification indicating that the role of the relay device has been canceled. and the server 2 to exchange data.
<モバイル端末4の機能>
 続いて、モバイル端末4の機能について説明する。図7に示すように、モバイル端末4は、本開示に係る特徴的な機能構成として、応答要求通知対応部400と、データ中継部401とを備える。これらの機能部は、制御回路44が補助記憶装置45に記憶されている上述したデータ中継プログラムを実行することで実現される。
<Functions of mobile terminal 4>
Next, functions of the mobile terminal 4 will be described. As shown in FIG. 7, the mobile terminal 4 includes a response request notification handling unit 400 and a data relay unit 401 as characteristic functional configurations according to the present disclosure. These functional units are implemented by the control circuit 44 executing the above-described data relay program stored in the auxiliary storage device 45 .
 応答要求通知対応部400は、空調機器3から上記の応答要求通知を第2通信インタフェース41を介して受信すると、当該応答要求通知を受信したことをユーザに報知するとともに、当該空調機器3に対する応答を許可するか否かの指示をユーザから受け付けるための図示しない操作画面をディスプレイ43に表示する。かかる操作画面を介して、ユーザにより応答を許可するとの指示を受けると、応答要求通知対応部400は、自機器の機器IDと、回線種別と、通信品質と、許容データ量とが格納された応答通知を当該送信元の空調機器3に送信する。なお、応答要求通知対応部400は、許容データ量についてもユーザから受け付けるようにしてもよい。 Upon receiving the response request notification from the air conditioner 3 via the second communication interface 41, the response request notification handling unit 400 notifies the user of the reception of the response request notification, and sends a response to the air conditioner 3. The display 43 displays an operation screen (not shown) for receiving an instruction from the user as to whether or not to permit When receiving an instruction to allow a response from the user via such an operation screen, the response request notification handling unit 400 stores the device ID of its own device, the line type, the communication quality, and the allowable data amount. A response notification is transmitted to the air conditioner 3 as the transmission source. Note that the response request notification handling unit 400 may also accept the allowable data amount from the user.
 一方、ユーザにより、応答を許可しないとの指示を受けると、応答要求通知対応部400は、当該空調機器3に対して応答することなく受信した応答要求通知を破棄する。 On the other hand, when receiving an instruction not to permit the response from the user, the response request notification handling unit 400 discards the received response request notification without responding to the air conditioner 3 .
 データ中継部401は、空調機器3から中継機器に決定したことを示す通知を受信すると、以後、中継機器の役割が解除されたことを示す通知を受信するまで、当該空調機器3とサーバ2との間のデータの授受を中継する。 When the data relay unit 401 receives a notification from the air conditioner 3 indicating that the relay device has been selected, the data relay unit 401 continues to communicate with the air conditioner 3 and the server 2 until it receives a notification indicating that the role of the relay device has been released. It relays the transfer of data between
 図8は、空調機器3の通信制御部300が実行する通信回線切替処理の手順を示すフローチャートである。通信制御部300は、第1通信回線でサーバ2との通信が開始されると通信回線切替処理を開始する。 FIG. 8 is a flowchart showing the procedure of communication line switching processing executed by the communication control unit 300 of the air conditioner 3. FIG. The communication control unit 300 starts communication line switching processing when communication with the server 2 is started through the first communication line.
(ステップS101)
 通信制御部300は、第1通信回線の異常の有無を検出する。その後、通信制御部300の処理は、ステップS102に遷移する。
(Step S101)
The communication control unit 300 detects whether or not there is an abnormality in the first communication line. After that, the processing of the communication control unit 300 transitions to step S102.
(ステップS102)
 通信制御部300は、第1通信回線に異常があるか否かを判定する(ステップS102)。第1通信回線に異常があると判定した場合(ステップS102;YES)、通信制御部300の処理は、ステップS103に遷移する。一方、第1通信回線に異常がないと判定した場合(ステップS102;NO)、通信制御部300の処理は、ステップS101に戻る。
(Step S102)
The communication control unit 300 determines whether or not there is an abnormality in the first communication line (step S102). When it is determined that there is an abnormality in the first communication line (step S102; YES), the processing of the communication control unit 300 transitions to step S103. On the other hand, when it is determined that there is no abnormality in the first communication line (step S102; NO), the processing of the communication control unit 300 returns to step S101.
(ステップS103)
 通信制御部300は、データの中継が可能な他の機器からの応答を要求するための応答要求通知を第2通信インタフェース31及び第3通信インタフェース32の各々から同報送信する。その後、通信制御部300の処理は、ステップS104に遷移する。
(Step S103)
The communication control unit 300 broadcasts from each of the second communication interface 31 and the third communication interface 32 response request notifications for requesting responses from other devices capable of relaying data. After that, the processing of the communication control unit 300 transitions to step S104.
(ステップS104)
 通信制御部300は、いずれかの機器からの応答通知を受信したか否かを判定する。応答通知を受信した場合(ステップS104;YES)、通信制御部300の処理は、ステップS105に遷移する。一方、応答通知を受信していない場合(ステップS104;NO)、通信制御部300は、引き続きステップS104の処理を実行する。
(Step S104)
The communication control unit 300 determines whether or not it has received a response notification from any device. If a response notification has been received (step S104; YES), the processing of the communication control unit 300 transitions to step S105. On the other hand, if the response notification has not been received (step S104; NO), the communication control unit 300 continues the process of step S104.
(ステップS105)
 通信制御部300は、当該応答通知の送信元の機器が接続リストに含まれる機器であるか否かを判定する。当該機器が接続リストに含まれる機器である場合(ステップS105;YES)、通信制御部300の処理は、ステップS106に遷移する。一方、当該機器が接続リストに含まれない機器である場合(ステップS105;NO)、通信制御部300の処理は、ステップS104に戻る。
(Step S105)
The communication control unit 300 determines whether the device that sent the response notification is a device included in the connection list. If the device is included in the connection list (step S105; YES), the processing of the communication control unit 300 transitions to step S106. On the other hand, if the device is not included in the connection list (step S105; NO), the processing of the communication control unit 300 returns to step S104.
(ステップS106)
 通信制御部300は、自機器の1日当たりのデータ通信量が、応答通知で示される許容データ量以下であるか否かを判定する。1日当たりのデータ通信量が許容データ量以下である場合(ステップS106;YES)、通信制御部300の処理は、ステップS107に遷移する。一方、1日当たりのデータ通信量が許容データ量を超える場合(ステップS106;NO)、通信制御部300の処理は、ステップS104に戻る。
(Step S106)
The communication control unit 300 determines whether or not the daily data communication volume of its own device is equal to or less than the allowable data volume indicated by the response notification. If the amount of data communication per day is equal to or less than the allowable amount of data (step S106; YES), the processing of communication control unit 300 transitions to step S107. On the other hand, when the data communication amount per day exceeds the allowable data amount (step S106; NO), the processing of the communication control unit 300 returns to step S104.
(ステップS107)
 通信制御部300は、当該機器を中継機器に決定し、当該中継機器に対して、中継機器に決定したことを通知する。その後、通信制御部300の処理は、ステップS108に遷移する。
(Step S107)
The communication control unit 300 determines the device as the relay device and notifies the relay device of the determination as the relay device. After that, the processing of the communication control unit 300 transitions to step S108.
(ステップS108)
 通信制御部300は、第2通信回線に切り替えたことを示す回線切替通知を中継機器を介してサーバ2に送信し、通信回線切替処理を終了する。以後、通信制御部300は、例えば、運転データを当該中継機器を介してサーバ2に送信し、サーバ2からの制御指令を当該中継機器を介して受信する。
(Step S108)
The communication control unit 300 transmits a line switching notification indicating that the communication line has been switched to the second communication line to the server 2 via the relay device, and ends the communication line switching process. After that, the communication control unit 300 transmits, for example, operation data to the server 2 via the relay device, and receives control commands from the server 2 via the relay device.
 なお、ステップS106の判定でYESになる機器が複数存在する場合、上述したように、通信制御部300は、より通信コストが低く、より通信品質のよい機器を中継機器に決定する。また、通信制御部300は、応答要求通知を送信してから予め定めたタイムアウト時間が経過した場合、再度、ステップS103の処理を実行する。 It should be noted that if there are multiple devices for which the determination in step S106 is YES, as described above, the communication control unit 300 determines the device with the lower communication cost and the better communication quality as the relay device. Further, when a predetermined time-out period has elapsed since the transmission of the response request notification, the communication control unit 300 executes the process of step S103 again.
 以上説明したように、実施の形態1の遠隔制御システム1によれば、空調機器3は、第1通信回線に異常を検出した場合、第2通信インタフェース31又は第3通信インタフェース32で通信可能な中継機器を探索し、探索した中継機器を介した通信回線(第2通信回線)に切り替えて、サーバ2とデータの授受を行う。このため、サーバ2による制御が途絶えることなく、必要なサービスを継続して受けることが可能となる。 As described above, according to the remote control system 1 of Embodiment 1, the air conditioner 3 can communicate with the second communication interface 31 or the third communication interface 32 when an abnormality is detected in the first communication line. It searches for a relay device, switches to a communication line (second communication line) via the searched relay device, and exchanges data with the server 2 . Therefore, it is possible to continuously receive necessary services without interruption of control by the server 2 .
 また、空調機器3は、データを中継可能な機器が複数存在する場合、より通信コストが低く、より通信品質のよい機器を中継機器に決定するため、より適した通信回線を第2通信回線として選択することが可能となる。 Further, when there are a plurality of devices capable of relaying data, the air conditioner 3 selects a device with a lower communication cost and a higher communication quality as a relay device. It is possible to select.
(変形例1)
 空調機器3は、通信方式が異なる2つの通信インタフェースを備える構成であってもよいし、通信方式が異なる4つ以上の通信インタフェースを備える構成であってもよい。
(Modification 1)
The air conditioner 3 may have two communication interfaces with different communication methods, or may have four or more communication interfaces with different communication methods.
(変形例2)
 空調機器3が、UART(Universal Asynchronous Receiver/Transmitter)等のシリアル通信デバイスを介して、通信制御部300と同等の機能を有する通信アダプタと接続し、当該通信アダプタを介してサーバ2を含む他の機器と通信する構成であってもよい。この場合、空調機器3は、第1通信インタフェース30、第2通信インタフェース31及び第3通信インタフェース32と、通信制御部300とを備える必要がない。このため、既存の空調機器を採用でき、遠隔制御システム1を低コストで実現できる。なお、この場合、当該通信アダプタが、本開示に係る通信機器の一例となる。
(Modification 2)
The air conditioner 3 is connected to a communication adapter having functions equivalent to those of the communication control unit 300 via a serial communication device such as a UART (Universal Asynchronous Receiver/Transmitter), and other devices including the server 2 are connected via the communication adapter. It may be configured to communicate with a device. In this case, the air conditioner 3 does not need to include the first communication interface 30 , the second communication interface 31 , the third communication interface 32 , and the communication control section 300 . Therefore, existing air conditioners can be used, and the remote control system 1 can be realized at low cost. Note that, in this case, the communication adapter is an example of the communication device according to the present disclosure.
(変形例3)
 サーバ2の機能部(図5参照)の全部又は一部が、専用のハードウェアで実現されるようにしてもよいし、空調機器3の機能部(図6参照)の全部又は一部が、専用のハードウェアで実現されるようにしてもよいし、モバイル端末4の機能部(図7参照)の全部又は一部が、専用のハードウェアで実現されるようにしてもよい。専用のハードウェアとは、例えば、単一回路、複合回路、プログラム化されたプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)又はこれらの組み合わせである。
(Modification 3)
All or part of the functional units of the server 2 (see FIG. 5) may be realized by dedicated hardware, and all or part of the functional units of the air conditioner 3 (see FIG. 6) may be It may be implemented by dedicated hardware, or all or part of the functional units of the mobile terminal 4 (see FIG. 7) may be implemented by dedicated hardware. Dedicated hardware is, for example, a single circuit, a composite circuit, a programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof.
 上記の各変形例に係る技術思想は、それぞれ単独で実現されてもよいし、適宜組み合わされて実現されてもよい。 The technical ideas related to each of the modifications above may be realized independently, or may be realized in combination as appropriate.
(実施の形態2)
 続いて、本開示の実施の形態2について説明する。なお、以下の説明において、実施の形態1と共通する構成要素等については、同一の符号を付し、その説明を省略する。
(Embodiment 2)
Next, a second embodiment of the present disclosure will be described. In addition, in the following description, the same reference numerals are given to the components and the like that are common to the first embodiment, and the description thereof will be omitted.
 図9は、実施の形態2における遠隔制御システム1aの全体構成を示す図である。遠隔管理システム1aは、本開示に係る通信システムの一例である。遠隔管理システム1aは、実施の形態1の遠隔制御システム1と同様、例えば、ビル、店舗等の建物の空気調和を行うシステムであり、サーバ2aと、複数の空調機器3aと、1又は複数のモバイル端末4とを備える。 FIG. 9 is a diagram showing the overall configuration of the remote control system 1a according to the second embodiment. The remote management system 1a is an example of a communication system according to the present disclosure. The remote management system 1a is, for example, a system for air conditioning a building such as a building, a store, etc., similar to the remote control system 1 of Embodiment 1, and includes a server 2a, a plurality of air conditioners 3a, and one or a plurality of and a mobile terminal 4 .
<サーバ2a>
 サーバ2aは、本開示に係るサーバの一例である。サーバ2aは、空調機器3aのメーカ、販売会社等によって設置され、運用されるサーバコンピュータであり、インターネット等のネットワークNに接続される。サーバ2aは各空調機器3aを遠隔制御するサービスを提供する。
<Server 2a>
The server 2a is an example of a server according to the present disclosure. The server 2a is a server computer installed and operated by the manufacturer, sales company, etc. of the air conditioner 3a, and is connected to a network N such as the Internet. The server 2a provides a service for remotely controlling each air conditioner 3a.
 サーバ2aのハードウェア構成は、実施の形態1のサーバ2(図2参照)と同様である。図10に示すように、サーバ2aは、機能構成として、空調機器制御部200aと、回線管理部201とを備える。これらの機能部は、サーバ2aの制御回路21が補助記憶装置22に記憶されている、各空調機器3aに対する遠隔制御を実現するための遠隔制御プログラムを実行することで実現される。 The hardware configuration of the server 2a is the same as the server 2 of Embodiment 1 (see FIG. 2). As shown in FIG. 10, the server 2a includes an air conditioner control section 200a and a line management section 201 as functional configurations. These functional units are realized by the control circuit 21 of the server 2a executing a remote control program stored in the auxiliary storage device 22 for realizing remote control of each air conditioner 3a.
 空調機器制御部200aは、実施の形態1の空調機器制御部200と同様、各空調機器3aを制御する。詳細には、空調機器制御部200aは、各空調機器3aから運転データを収集し、収集した運転データに基づいて各空調機器3aの運転を制御する。また、空調機器制御部200aは、ファームウェアの更新が必要な空調機器3に対して更新用のファームウェアを送信するファームウェア更新制御も行う。 The air conditioner control unit 200a controls each air conditioner 3a, like the air conditioner control unit 200 of the first embodiment. Specifically, the air conditioner control unit 200a collects operation data from each air conditioner 3a and controls the operation of each air conditioner 3a based on the collected operation data. The air conditioner control unit 200a also performs firmware update control for transmitting update firmware to air conditioners 3 whose firmware needs to be updated.
 さらに、空調機器制御部200aは、空調機器3aから他の機器を経由して(即ち、第2通信回線で)縮退制御切替通知を受信すると、受信した縮退制御切替通知で示される内容に基づいて、当該空調機器3aに対する制御機能を制限する縮退制御を開始する。例えば、縮退制御では、空調機器制御部200aは、当該空調機器3aから運転データを収集する機能を停止したり、当該空調機器3aに対するファームウェア更新機能を停止する。 Furthermore, when the air conditioner control unit 200a receives a degradation control switching notification from the air conditioner 3a via another device (that is, via the second communication line), the air conditioning device control unit 200a receives the degradation control switching notification based on the received degeneration control switching notification. , degeneracy control for limiting the control function for the air conditioner 3a is started. For example, in degeneration control, the air conditioner control unit 200a stops the function of collecting operation data from the air conditioner 3a, or stops the firmware update function for the air conditioner 3a.
 空調機器制御部200aは、縮退制御中の空調機器3aから回線復旧通知を受信すると、当該空調機器3aに対する縮退制御を解除する。 When the air conditioner control unit 200a receives the line restoration notification from the air conditioner 3a under degeneration control, it cancels the degeneration control for the air conditioner 3a.
<空調機器3a>
 空調機器3aは、室外機又は室内機であり、本開示に係る通信機器の一例である。空調機器3aのハードウェア構成は、実施の形態1の空調機器3(図3参照)と同様である。図11に示すように、空調機器3aは、機能構成として、通信制御部300aと、空調制御部301aと、縮退制御切替部302とを備える。また、通信制御部300aは、回線異常検出部310と、回線探索部311aと、回線切替部312と、応答要求通知対応部313と、データ中継部314とを備える。
<Air conditioner 3a>
The air conditioner 3a is an outdoor unit or an indoor unit, and is an example of a communication device according to the present disclosure. The hardware configuration of the air conditioner 3a is the same as that of the air conditioner 3 of the first embodiment (see FIG. 3). As shown in FIG. 11, the air conditioner 3a includes a communication control unit 300a, an air conditioning control unit 301a, and a degeneracy control switching unit 302 as functional configurations. The communication control unit 300 a also includes a line abnormality detection unit 310 , a line search unit 311 a , a line switching unit 312 , a response request notification handling unit 313 , and a data relay unit 314 .
 これらの機能部は、空調機器3aの制御回路34が補助記憶装置35に記憶されている、空調に係る機能を実現するためのソフトウェアプログラムであるファームウェア、サーバ2aとの通信を制御するためのプログラムである通信制御プログラム及び縮退制御を実現するための縮退制御プログラムを実行することで実現される。 The control circuit 34 of the air conditioning equipment 3a is stored in the auxiliary storage device 35, and these functional units are firmware, which is a software program for realizing functions related to air conditioning, and a program for controlling communication with the server 2a. and a degeneracy control program for implementing degeneracy control.
 上記の縮退制御プログラムは、サーバ2a等の他の機器からネットワークNを介して空調機器3aにダウンロードすることができる。また、空調機器3aは、モバイル端末4から縮退制御プログラムを受信することも可能である。また、縮退制御プログラムは、CD-ROM、DVD、光磁気ディスク、USBメモリ、HDD、SSD、メモリカード等のコンピュータ読み取り可能な記録媒体に格納して配布することも可能である。空調機器3aは、そのような記録媒体が自身に直接又は間接的に装着されると、当該記録媒体から縮退制御プログラムを読み出して取り込むことも可能である。 The degeneracy control program described above can be downloaded to the air conditioner 3a via the network N from another device such as the server 2a. Also, the air conditioner 3 a can receive the degeneracy control program from the mobile terminal 4 . Also, the degeneracy control program can be distributed by being stored in a computer-readable recording medium such as a CD-ROM, DVD, magneto-optical disk, USB memory, HDD, SSD, memory card, or the like. When such a recording medium is directly or indirectly attached to the air conditioner 3a, the air conditioner 3a can also read and take in the degeneracy control program from the recording medium.
 通信制御部300aにおいて、回線探索部311aは、実施の形態1の回線探索部311と同様、代替の通信回線、即ち、第2通信回線を探索する。ただし、回線探索部311aは、1回目の応答要求通知の送信後のタイムアウト時間内に、許容データ量が条件を満たさない、即ち、許容データ量が、自機器の1日当たりのデータ通信量より少ない機器しか探索できなかった場合、当該機器を中継機器に決定する。その際、回線探索部311aは、回線切替部312に対して、当該中継機器との通信に使用する通信インタフェースを示す情報と、当該中継機器の機器ID及び回線種別とを通知するとともに、縮退制御切替部302に対して、当該中継機器の許容データ量を通知する。 In the communication control unit 300a, the line search unit 311a searches for an alternative communication line, that is, the second communication line, similarly to the line search unit 311 of the first embodiment. However, the line search unit 311a determines that the allowable data amount does not satisfy the condition within the timeout period after the transmission of the first response request notification, that is, the allowable data amount is less than the daily data communication amount of its own device. If only the device can be found, the device is determined as the relay device. At that time, the line search unit 311a notifies the line switching unit 312 of information indicating the communication interface used for communication with the relay device, the device ID and the line type of the relay device, and performs degeneration control. The allowable data amount of the relay device is notified to the switching unit 302 .
 縮退制御切替部302は、本開示に係る縮退制御切替手段の一例である。縮退制御切替部302は、通信制御部300aの回線探索部311aから上記の通知を受けると、1日当たりのデータ通信量が当該許容データ量以下となるように、自機器に対するサーバ2aの制御を縮退制御に切り替える縮退制御切替処理を実行する。 The degeneracy control switching unit 302 is an example of degeneracy control switching means according to the present disclosure. Upon receiving the above notification from the line search unit 311a of the communication control unit 300a, the degeneration control switching unit 302 degenerates the control of the server 2a for its own device so that the amount of data communication per day is equal to or less than the allowable amount of data. Degenerate control switching processing for switching to control is executed.
 図12は、縮退制御切替処理の手順を示すフローチャートである。縮退制御切替部302は、通信制御部300aによる通信回線切替処理(図8参照)の終了後、縮退制御切替処理を開始する。 FIG. 12 is a flowchart showing the procedure of degeneration control switching processing. The degeneration control switching unit 302 starts the degeneration control switching processing after the communication line switching processing (see FIG. 8) by the communication control unit 300a ends.
(ステップS201)
 縮退制御切替部302は、機能一覧表を示すデータを作成する。機能一覧表は、図13に示すように、サーバ2aの自機器に対する制御機能と、優先度と、データ通信量との関係を示す表である。優先度は、低い数値ほど優先される制御機能であることを示し、重要な制御機能は優先度の数値が低い値に設定される。また、データ通信量は、1回に送信するフレームサイズと通信頻度によって表す。制御機能と優先度との関係を示すデータは、予め作成され、補助記憶装置35に保存されている。
(Step S201)
The degeneracy control switching unit 302 creates data representing the function list. The function list, as shown in FIG. 13, is a table showing the relationship between the control functions of the server 2a for its own device, the priority, and the amount of data communication. The priority indicates that the lower the numerical value, the higher the priority of the control function, and an important control function is set to a low priority numerical value. Also, the amount of data communication is represented by the frame size of one transmission and the frequency of communication. Data indicating the relationship between control functions and priorities is created in advance and stored in the auxiliary storage device 35 .
 縮退制御切替部302は、予め作成された制御機能と優先度との関係を示すデータと、空調制御部301aから取得した、制御機能毎のデータ通信量に関するデータとに基づいて機能一覧表を作成する。その後、縮退制御切替部302の処理は、ステップS202に遷移する。 The degenerate control switching unit 302 creates a function list based on the data indicating the relationship between the control functions and the priority created in advance and the data regarding the data communication amount for each control function acquired from the air conditioning control unit 301a. do. After that, the process of the degeneracy control switching unit 302 transitions to step S202.
 なお、通信制御部300aが、通常時においてサーバ2aとの間で授受されるデータを監視することで制御機能毎のデータ通信量に関するデータを取得するようにし、縮退制御切替部302は、通信制御部300aから制御機能毎のデータ通信量に関するデータを取得してもよい。 In addition, the communication control unit 300a monitors the data exchanged with the server 2a during normal operation to acquire data related to the amount of data communication for each control function. Data regarding the amount of data communication for each control function may be obtained from the unit 300a.
(ステップS202)
 縮退制御切替部302は、作成した機能一覧表を参照して、当該中継機器の許容データ量以内になるように制限する制御機能を決定する。例えば、許容データ量が100byte/1日の場合、図13に例示する機能一覧表を参照すると、優先度“1”の「空調ON/OFF制御」及び「運転モード設定」と、優先度“2”の「異常通知」については、続行することが可能であるが、優先度“3”及び“4”の制御機能は制限、即ち、停止されることになる。制限する制御機能の決定後、縮退制御切替部302の処理は、ステップS203に遷移する。
(Step S202)
The degeneracy control switching unit 302 refers to the created function list and determines a control function to be restricted within the allowable data amount of the relay device. For example, when the allowable data amount is 100 bytes/day, referring to the function list illustrated in FIG. ' can be continued, but the control functions with priority levels '3' and '4' are restricted, ie, stopped. After determining the control function to be restricted, the process of the degeneration control switching unit 302 transitions to step S203.
(ステップS203)
 縮退制御切替部302は、決定した内容を空調制御部301aに通知する。その後、縮退制御切替部302の処理は、ステップS204に遷移する。例えば、制限する制御機能に、「異常通知」が含まれている場合、空調制御部301aは、以後、第1通信回線が復旧するまで空調運転に関する異常を検出しても当該異常をサーバ2aに通知しない。また、制限する制御機能に、「運転データ通知」が含まれている場合、空調制御部301aは、以後、第1通信回線が復旧するまで運転データをサーバ2aに通知しない。
(Step S203)
The degeneracy control switching unit 302 notifies the determined content to the air conditioning control unit 301a. After that, the process of the degeneracy control switching unit 302 transitions to step S204. For example, if the control function to be restricted includes "abnormality notification", the air conditioning control unit 301a detects an abnormality related to the air conditioning operation until the first communication line is restored. Do not notify. Further, if the restricted control functions include "operation data notification", the air conditioning control unit 301a will not notify the server 2a of the operation data until the first communication line is restored.
(ステップS204)
 縮退制御切替部302は、決定した内容を示す縮退制御切替通知を中継機器を介してサーバ2aに送信する。その後、縮退制御切替部302は、縮退制御切替処理を終了する。
(Step S204)
The degeneration control switching unit 302 transmits a degeneration control switching notification indicating the determined content to the server 2a via the relay device. After that, the degeneration control switching unit 302 ends the degeneration control switching process.
 以上説明したように、実施の形態2の遠隔制御システム1aによれば、空調機器3aは、第1通信回線に異常を検出した場合、第2通信インタフェース31又は第3通信インタフェース32で通信可能な中継機器を探索し、探索した中継機器を介した通信回線(第2通信回線)に切り替えて、サーバ2aとデータの授受を行う。このため、サーバ2aによる制御が途絶えることなく、必要なサービスを継続して受けることが可能となる。 As described above, according to the remote control system 1a of the second embodiment, the air conditioner 3a can communicate with the second communication interface 31 or the third communication interface 32 when an abnormality is detected in the first communication line. It searches for a relay device, switches to a communication line (second communication line) via the searched relay device, and exchanges data with the server 2a. Therefore, it is possible to continuously receive necessary services without interruption of control by the server 2a.
 また、空調機器3aは、データを中継可能な機器が複数存在する場合、より通信コストが低く、より通信品質のよい機器を中継機器に決定するため、より適した通信回線を第2通信回線として確保することが可能となる。 Further, when there are a plurality of devices capable of relaying data, the air conditioner 3a selects a device with a lower communication cost and a higher communication quality as a relay device. can be secured.
 さらに、空調機器3aは、サーバ2aによる自機器に対する制御を縮退制御に切り替えることができるため、中継機器の候補として許容データ量が少ない機器しか探索できなかった場合であっても、必要とするデータ通信量を低下させることで当該機器を中継機器として採用することが可能である。このため、より確実に第2通信回線を確保することが可能となる。 Furthermore, since the air conditioning equipment 3a can switch the control of its own equipment by the server 2a to degenerate control, even if only equipment with a small allowable data amount can be searched as a candidate for the relay equipment, the required data By reducing the amount of communication, the device can be used as a relay device. Therefore, it becomes possible to secure the second communication line more reliably.
(変形例1)
 空調機器3aは、通信方式が異なる2つの通信インタフェースを備える構成であってもよいし、通信方式が異なる4つ以上の通信インタフェースを備える構成であってもよい。
(Modification 1)
The air conditioner 3a may have two communication interfaces with different communication methods, or may have four or more communication interfaces with different communication methods.
(変形例2)
 空調機器3aが、UART等のシリアル通信デバイスを介して、通信制御部300aと同等の機能を有する通信アダプタと接続し、当該通信アダプタを介してサーバ2aを含む他の機器と通信する構成であってもよい。この場合、空調機器3aは、第1通信インタフェース30、第2通信インタフェース31及び第3通信インタフェース32と、通信制御部300aとを備える必要がない。このため、遠隔制御システム1aを低コストで実現できる。なお、この場合、当該通信アダプタが、本開示に係る通信機器の一例となる。
(Modification 2)
The air conditioner 3a is connected to a communication adapter having functions equivalent to those of the communication control unit 300a via a serial communication device such as UART, and communicates with other devices including the server 2a via the communication adapter. may In this case, the air conditioner 3a does not need to include the first communication interface 30, the second communication interface 31, the third communication interface 32, and the communication control section 300a. Therefore, the remote control system 1a can be realized at low cost. Note that, in this case, the communication adapter is an example of the communication device according to the present disclosure.
 さらに、通信アダプタが、縮退制御切替部302と同等の機能を有するようにし、空調機器3aから縮退制御切替部302を外してもよい。この場合、通信アダプタは、制限される機能について空調機器3aに通知せずに、空調機器3aから、制限されている制御機能に係るデータ(例えば、運転データ)のサーバ2aへの送信指示があった場合、サーバ2aに送信せずに、当該データを破棄するようにしてもよい。 Furthermore, the communication adapter may have a function equivalent to that of the degeneracy control switching unit 302, and the degeneracy control switching unit 302 may be removed from the air conditioner 3a. In this case, the communication adapter does not notify the air conditioner 3a of the restricted function, but receives an instruction from the air conditioner 3a to send data (for example, operation data) related to the restricted control function to the server 2a. In this case, the data may be discarded without being transmitted to the server 2a.
(変形例3)
 サーバ2aの機能部(図10参照)の全部又は一部が、専用のハードウェアで実現されるようにしてもよいし、空調機器3aの機能部(図11参照)の全部又は一部が、専用のハードウェアで実現されるようにしてもよい。専用のハードウェアとは、例えば、単一回路、複合回路、プログラム化されたプロセッサ、ASIC、FPGA又はこれらの組み合わせである。
(Modification 3)
All or part of the functional units of the server 2a (see FIG. 10) may be realized by dedicated hardware, or all or part of the functional units of the air conditioner 3a (see FIG. 11) may be It may be realized by dedicated hardware. Dedicated hardware may be, for example, single circuits, multiple circuits, programmed processors, ASICs, FPGAs, or combinations thereof.
 上記の各変形例に係る技術思想は、それぞれ単独で実現されてもよいし、適宜組み合わされて実現されてもよい。 The technical ideas related to each of the modifications above may be realized independently, or may be realized in combination as appropriate.
 本開示は、上記の各実施の形態及びその変形例に限定されず、本開示の要旨を逸脱しない範囲での種々の変更は勿論可能である。 The present disclosure is not limited to the above-described embodiments and modifications thereof, and various modifications are of course possible without departing from the gist of the present disclosure.
 例えば、本開示に係る通信機器は、空調機器のみならず、セキュリティ設備、照明機器等の他の設備機器又は当該他の設備機器に接続される通信アダプタであってもよいし、住宅に設置される家電機器又は当該家電機器に接続される通信アダプタであってもよい。 For example, the communication device according to the present disclosure may be not only an air conditioner but also other equipment such as security equipment and lighting equipment, or a communication adapter connected to the other equipment. It may be a home appliance or a communication adapter connected to the home appliance.
 本開示は、広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能である。また、上述した実施の形態は、本開示を説明するためのものであり、本開示の範囲を限定するものではない。つまり、本開示の範囲は、実施の形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の開示の意義の範囲内で施される様々な変形が、本開示の範囲内とみなされる。 Various embodiments and modifications are possible for the present disclosure without departing from its broad spirit and scope. In addition, the embodiments described above are for explaining the present disclosure, and do not limit the scope of the present disclosure. In other words, the scope of the present disclosure is indicated by the claims rather than the embodiments. Various modifications made within the scope of the claims and within the scope of equivalent disclosure are considered to be within the scope of the present disclosure.
 本開示は、設備機器又は家電機器等の機器がサーバによって遠隔制御されるシステムに好適に採用され得る。 The present disclosure can be preferably applied to a system in which equipment such as facility equipment or home appliances is remotely controlled by a server.
 1,1a 遠隔制御システム、2,2a サーバ、3,3a 空調機器、4 モバイル端末、20 通信インタフェース、21,34,44 制御回路、22,35,45 補助記憶装置、30,40 第1通信インタフェース、31,41 第2通信インタフェース、32 第3通信インタフェース、33 メインユニット、42 操作受付部、43 ディスプレイ、200,200a 空調機器制御部、201 回線管理部、220 回線情報DB、300,300a 通信制御部、301,301a 空調制御部、302 縮退制御切替部、310 回線異常検出部、311,311a 回線探索部、312 回線切替部、313,400 応答要求通知対応部、314,401 データ中継部、N ネットワーク 1, 1a -- remote control system, 2, 2a -- server, 3, 3a -- air conditioner, 4 -- mobile terminal, 20 -- communication interface, 21, 34, 44 -- control circuit, 22, 35, 45 -- auxiliary storage device, 30, 40 -- first communication interface , 31, 41 second communication interface, 32 third communication interface, 33 main unit, 42 operation reception unit, 43 display, 200, 200a air conditioner control unit, 201 line management unit, 220 line information DB, 300, 300a communication control Units, 301, 301a Air conditioning control unit, 302 Degeneration control switching unit, 310 Line error detection unit, 311, 311a Line search unit, 312 Line switching unit, 313, 400 Response request notification corresponding unit, 314, 401 Data relay unit, N network

Claims (5)

  1.  サーバと直接的に長距離無線通信するための第1通信手段と、
     近距離無線通信用の第2通信手段と、
     前記サーバと前記第1通信手段との間における通信回線に異常が検出された場合、前記第2通信手段を介して通信することが可能な機器であって、且つ、前記サーバと直接的に長距離無線通信することが可能な機器である中継機器を探索し、以後、前記中継機器を介して前記サーバとデータの授受を行う通信制御手段と、を備える、通信機器。
    a first communication means for direct long-range wireless communication with a server;
    a second communication means for short-range wireless communication;
    When an abnormality is detected in the communication line between the server and the first communication means, a device capable of communicating via the second communication means and directly communicating with the server. A communication device comprising: communication control means for searching for a relay device that is a device capable of long-distance wireless communication, and thereafter exchanging data with the server via the relay device.
  2.  前記中継機器が中継可能なデータ通信量の上限が、必要とするデータ通信量以下の場合、前記サーバの自機器に対する制御を縮退制御に切り替えて、前記必要とするデータ通信量を低下させる縮退制御切替手段をさらに備える、請求項1に記載の通信機器。 When the upper limit of the amount of data communication that can be relayed by the relay device is equal to or less than the required amount of data communication, degeneration control for reducing the required amount of data communication by switching the control of the server's own device to degeneration control. The communication device according to claim 1, further comprising switching means.
  3.  前記通信制御手段は、前記第2通信手段を介して通信することが可能な機器であって、且つ、前記サーバと直接的に長距離無線通信することが可能な機器が複数存在する場合、各機器における、前記サーバとの間の通信品質と前記長距離無線通信の方式とに基づいて、前記中継機器を決定する、請求項1又は2に記載の通信機器。 The communication control means is a device capable of communicating via the second communication means, and when there are a plurality of devices capable of direct long-distance wireless communication with the server, each 3. The communication device according to claim 1, wherein the relay device is determined based on the communication quality between the device and the server and the method of the long-distance wireless communication.
  4.  請求項1から3のいずれか1項に記載の通信機器と、
     サーバと、を備える、通信システム。
    A communication device according to any one of claims 1 to 3;
    A communication system comprising: a server;
  5.  サーバと直接的に長距離無線通信するための第1通信手段と、
     近距離無線通信用の第2通信手段と、を備える通信機器が、
     前記サーバと前記第1通信手段との間における通信回線に異常を検出した場合、前記第2通信手段を介して通信することが可能な機器であって、且つ、前記サーバと直接的に長距離無線通信することが可能な機器である中継機器を探索し、以後、前記中継機器を介して前記サーバとデータの授受を行う、通信方法。
    a first communication means for direct long-range wireless communication with a server;
    A communication device comprising a second communication means for short-range wireless communication,
    A device capable of communicating via the second communication means when an abnormality is detected in the communication line between the server and the first communication means, and having a long distance directly with the server. A communication method for searching for a relay device that is a device capable of wireless communication, and thereafter exchanging data with the server via the relay device.
PCT/JP2021/017577 2021-05-07 2021-05-07 Communication device, communication system, and communication method WO2022234677A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2021/017577 WO2022234677A1 (en) 2021-05-07 2021-05-07 Communication device, communication system, and communication method
JP2023518605A JPWO2022234677A1 (en) 2021-05-07 2021-05-07

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/017577 WO2022234677A1 (en) 2021-05-07 2021-05-07 Communication device, communication system, and communication method

Publications (1)

Publication Number Publication Date
WO2022234677A1 true WO2022234677A1 (en) 2022-11-10

Family

ID=83932048

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/017577 WO2022234677A1 (en) 2021-05-07 2021-05-07 Communication device, communication system, and communication method

Country Status (2)

Country Link
JP (1) JPWO2022234677A1 (en)
WO (1) WO2022234677A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009094827A (en) * 2007-10-10 2009-04-30 Kddi Corp Mobile terminal for automatically starting short range high-sped radio communication interface by using gps, program and method
JP2017050764A (en) * 2015-09-03 2017-03-09 ソニー株式会社 Device, system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009094827A (en) * 2007-10-10 2009-04-30 Kddi Corp Mobile terminal for automatically starting short range high-sped radio communication interface by using gps, program and method
JP2017050764A (en) * 2015-09-03 2017-03-09 ソニー株式会社 Device, system and method

Also Published As

Publication number Publication date
JPWO2022234677A1 (en) 2022-11-10

Similar Documents

Publication Publication Date Title
US11644209B2 (en) Distributed heating, ventilation, and air conditioning system
WO2015098622A1 (en) Air conditioner system
US9702581B2 (en) Air conditioning system
US10274910B2 (en) Air-conditioning control system
JP6324422B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
JP6764794B2 (en) Air conditioner management system, air conditioner management device used for this, air conditioner management method
WO2022234677A1 (en) Communication device, communication system, and communication method
JP6644165B2 (en) Communication device, communication system, communication method and program
JP6224775B2 (en) ELECTRIC DEVICE, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM
JP2010114835A (en) Communication control device for facility apparatus, management system, and communication control method
EP3860137B1 (en) Information transmission device and apparatus management system
CN107431734B (en) Indoor device, communication adapter, control method, and recording medium
JP6115927B2 (en) ELECTRIC DEVICE, CONTROLLER, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM
WO2023089749A1 (en) Air conditioner management system, air conditioner management method, and air conditioner management program
WO2018146718A1 (en) Air conditioning device
JP2019169969A (en) Electric apparatus, management system, control method of electric apparatus, and program

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2023518605

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

Country of ref document: EP

Kind code of ref document: A1