Communication device and air conditioning system
The communication device postpones firmware updates to align with air conditioner timer functions, ensuring seamless operation and efficient firmware updates.
Patent Information
- Application Number
- JP2023075535
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-01
- Publication Date
- 2024-11-14
AI Technical Summary
Communication devices connected to air conditioners cannot control the air conditioner based on a timer function during firmware updates, leading to conflicts in timing and potential disruptions.
A communication device with a firmware presence determination unit, postponement time determination unit, and update unit that postpones firmware updates when they conflict with timer function execution, allowing updates at appropriate times.
Ensures firmware updates occur at optimal times without disrupting timer function operations, reducing processing load and preventing conflicts.
Smart Images

Figure 2024160486000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a communication device and an air conditioning system. [Background technology]
[0002] Patent Document 1 discloses a configuration in which a communication adapter is connected to an air conditioner to remotely control the air conditioner. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-085599 Summary of the Invention [Problem to be solved by the invention]
[0004] The present disclosure provides a communication device and an air conditioning system that are capable of updating firmware at appropriate times. [Means for solving the problem]
[0005] The communication device in the present disclosure is connected to an indoor unit of an air conditioning device having an outdoor unit and an indoor unit, and is configured to be able to communicate with a management device that manages the outdoor unit and the indoor unit via a communication network, and is equipped with a first determination unit, a second determination unit, and a decision unit. The first determination unit determines whether or not the latest firmware for the communication device is present. When it is determined that the latest firmware is present, the second determination unit determines whether or not it is necessary to postpone the update of the firmware based on a setting of a timer function that controls the air conditioning device according to a predetermined schedule. When it is determined that it is necessary to postpone the update of the firmware, the decision unit determines a postponement time that sets how long to postpone the update of the firmware from among multiple candidates.
[0006] The air conditioning system in the present disclosure includes a communication device, an air conditioning device, and a management device. The communication device is the communication device in the present disclosure. The air conditioning device has an indoor unit connected to the communication device, an outdoor unit connected to the indoor unit, and an operation device that operates the indoor unit. The monitoring device is connected to the communication device via the communication network and manages the outdoor unit and the indoor unit. Effect of the Invention
[0007] The communication device and air conditioning system according to the present disclosure are capable of postponing the timing of firmware updates as necessary, thereby enabling firmware updates to be performed at an appropriate time. [Brief description of the drawings]
[0008] [Figure 1] Block diagram of a communication device and an air conditioning system according to a first embodiment. [Diagram 2] A flowchart for explaining firmware update processing in the communication device according to the first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] (The knowledge and other information that formed the basis of this disclosure) At the time when the inventors came up with the idea of the present disclosure, there was technology available for remotely controlling an air conditioner using a communication device connected to the air conditioner. However, the communication device may be required to update its firmware. The inventors discovered a problem that the communication device cannot control the air conditioner based on a timer function that controls the air conditioner according to a predetermined schedule, even if the execution timing of the timer function arrives while the firmware is being updated. In order to solve this problem, the inventors have come to configure the subject matter of the present disclosure. Therefore, the present disclosure provides a communication device and an air conditioning system that postpones the timing of updating firmware if there is a conflict (i.e., coincidence) between the timing of updating firmware and the timing of executing a timer function.
[0010] Hereinafter, the embodiments will be described in detail with reference to the drawings. However, more detailed explanation than necessary may be omitted. For example, detailed explanation of already well-known matters or duplicate explanation of substantially the same configuration may be omitted. This is to avoid the following explanation becoming more redundant than necessary and to facilitate understanding by those skilled in the art.
[0011] It should be noted that the accompanying drawings and the following description are provided to enable those skilled in the art to fully understand the present disclosure, and are not intended to limit the subject matter described in the claims.
[0012] Hereinafter, the first embodiment will be described with reference to FIG. 1 and FIG. [1-1. Configuration] [1-1-1. Air conditioning system configuration] In Fig. 1, the air conditioning system ACS in this embodiment includes a wireless local area network adapter (an example of a communication device) 1 in this embodiment, an air conditioning device 2, and a server (an example of a management device) 5. Hereinafter, "wireless local area network" is abbreviated as "WLAM (Wireless Local Area Network)." Details of the air conditioning device 2 and the WLAN adapter 1 will be described later.
[0013] The server 5 is connected to the WLAN adapter 1 via a communication network 4 to manage the outdoor unit 21 and the indoor unit 22. The server 5 is connected to the communication network 4. The communication network 4 is, for example, the Internet. A router 3 is connected to the communication network 4. The WLAN adapter 1 is connected to the router 3 wirelessly, for example, by Wi-Fi (registered trademark), but may also be connected to the router 3 by wire. The WLAN adapter 1 is connected to the communication network 4 via the router 3. As a result, the server 5 is connected to the WLAN adapter 1 via the communication network 4 and the router 3.
[0014] The server 5 acquires operating data including the operating states of the outdoor unit 21 and the indoor unit 22 provided in the air conditioner 2 from the air conditioner 2 via the communication network 4 and the WLAN adapter 1, and manages the outdoor unit 21 and the indoor unit 22 using the operating data. For example, the server 5 determines whether or not there is a refrigerant leak in at least one of the outdoor unit 21 and the indoor unit 22 based on the operating data. The server 5 also holds firmware for updating the software that controls the WLAN adapter 1. In response to a request from the WLAN adapter 1 to acquire the latest firmware, the server 5 transmits the latest firmware that it holds to the WLAN adapter 1.
[0015] [1-1-2. Air conditioner configuration] As shown in FIG. 1, the air conditioning device 2 includes an indoor unit 22 connected to a WLAN adapter 1, an outdoor unit 21 connected to the indoor unit 22, and a remote control device (an example of an control device) 23 that operates the indoor unit 22.
[0016] The indoor unit 22 is configured to take in air from the room in which the indoor unit 22 is installed, exchange heat between the taken-in air and the refrigerant circulating between the indoor unit 22 and the outdoor unit 21, and blow the air after heat exchange into the room. The outdoor unit 21 operates based on the detection values of an outdoor air temperature sensor and a refrigerant pressure sensor (neither shown) provided in the outdoor unit 21 and an operation control signal sent from the indoor unit 22, and is configured to exchange heat between the refrigerant circulating between the outdoor unit 21 and the outdoor air, and to send the refrigerant after heat exchange to the indoor unit 22.
[0017] The remote control device 23 has an operation panel (not shown) that can be operated by the user of the air conditioner 2 as an input interface, for example, and is installed on a wall surface or the like inside the room. The remote control device 23 is connected to the indoor unit 22 by, for example, a cable. The user can operate the operation panel of the remote control device 23 to operate the indoor unit 22. The user can also operate the operation panel of the remote control device 23 to set various operations to be performed by the indoor unit 22. One example of the various operations to be performed by the indoor unit 22 is an operation by a timer function that controls the air conditioner 2 (for example, the indoor unit 22) according to a predetermined schedule. One example of the timer function is, for example, a weekly timer that sets a one-week air conditioning operation schedule, and a time zone demand that reduces the operation amount of the indoor unit 22 in a specified time zone. The remote control device 23 transmits setting information set by the user to the WLAN adapter 1 via the indoor unit 22.
[0018] The remote control device 23 may also have, for example, a speaker or a display device as an output interface. For example, the remote control device 23 can use, as a display device, a segment-type display device, a liquid crystal display device, an organic EL display device, etc. By having these output interfaces, the remote control device 23 can notify the operating status by voice, and notify the operating status and room temperature by display.
[0019] The WLAN adapter 1 is attached to a wall, ceiling, or ceiling space in a room, or to a housing of the indoor unit 22, etc. When the indoor unit 22 has a structure in which it is installed by being fitted into the ceiling, the WLAN adapter 1 may be attached to a base portion, which is a portion of the housing of the indoor unit 22 that is arranged on the ceiling space side. In this embodiment, the WLAN adapter 1 is connected to the indoor unit 22 by, for example, a cable, but may be connected to a communication line that connects the outdoor unit 21 and the indoor unit 22. In this way, the WLAN adapter 1 is not built into the indoor unit 22 and has a form independent of the indoor unit 22. The WLAN adapter 1 is connected to the indoor unit 22 after installation when the indoor unit 22 is installed at the installation location or after the indoor unit 22 is installed at the installation location. The WLAN adapter 1 is configured to collect operation data of at least one of the outdoor unit 21 and the indoor unit 22 and transmit it to the server 5, for example. The WLAN adapter 1 is configured to control the indoor unit 22 based on the stored setting information and the control information transmitted from the server 5, for example. The WLAN adapter 1 is configured, for example, so as not to allow the indoor unit 22 operating under control of the remote control device 23 to perform other operations, except in specific cases such as emergencies. The WLAN adapter 1 is configured, for example, so as not to allow the operation data of the indoor unit 22 and the outdoor unit 21 to be acquired while a firmware update (details of which will be described later) is being performed.
[0020] [1-1-3. Configuration of communication device] A specific configuration of a WLAN adapter 1, which corresponds to an example of a communication device in this embodiment, will be described. The WLAN adapter 1 is connected to an indoor unit 22 of an air conditioner 2 equipped with an outdoor unit 21 and an indoor unit 22, and is configured to be able to communicate with a server 5 that manages the outdoor unit 21 and the indoor unit 22 via a communication network 4. The WLAN adapter 1 is not included in the air conditioner 2, but is provided externally to the air conditioner 2.
[0021] 1, the WLAN adapter 1 includes a controller 11, a storage unit 12, and a communication unit 13. The controller 11 and the storage unit 12 are provided separately and independently in the WLAN adapter 1, but may be configured as an integrated integrated circuit (IC).
[0022] For example, a processor may be used as the controller 11. If a processor is used as the controller 11, various processes can be executed by loading a program from a storage unit 12 (described in detail later) storing the program into the processor and executing the program by the processor. Therefore, the process contents can be changed by changing the program stored in the storage unit 12, so that the degree of freedom in changing the control contents can be increased. The controller 11 is configured with a processor such as a central processing unit (CPU), a microcontroller unit (MCU), a microprocessor unit (MPU), etc.
[0023] The controller 11 functions as, for example, a control unit 111, a firmware presence determination unit 112, a postponement time determination unit 113, a postponement time determination unit 114, a firmware update unit 115, and other functional blocks (not shown) by reading and executing a control program for the WLAN adapter 1 stored in the storage unit 12. The control program may be downloaded from the server 5 and stored in the storage unit 12, or may be read from a recording medium (magnetic disk, optical disk, flash memory, etc.) and stored in the storage unit 12.
[0024] As will be described in more detail later, the control unit 111 comprehensively controls the firmware presence determination unit 112, the postponement time determination unit 113, the postponement time determination unit 114, and the firmware update unit 115, thereby controlling the WLAN adapter 1 so that the firmware is not updated when the timer function is executed.
[0025] The firmware presence determination unit (an example of a first determination unit) 112 determines whether the latest firmware of the WLAN adapter 1 exists. In this embodiment, the firmware presence determination unit 112 determines whether the latest firmware exists in the server 5 connected via the communication network 4. The firmware presence determination unit 112 stores the latest firmware acquired from the server 5 in the storage unit 12. When it is determined that the latest firmware exists, the postponement time determination unit (an example of a second determination unit) 113 determines whether it is necessary to postpone the firmware update based on the setting of a timer function that controls the air conditioner 2 according to a predetermined schedule. In this timer function, the WLAN adapter 1 transmits a control signal to the indoor unit 22 according to a predetermined schedule, thereby controlling the air conditioner 2 based on the timer function. When it is determined that the firmware update needs to be postponed, the postponement time determination unit (an example of a determination unit) 114 determines from among multiple candidates a postponement time that sets how long the firmware update is to be postponed. When it is determined that the firmware update does not need to be postponed, the firmware update unit 115 updates the firmware. The firmware update unit 115 updates the firmware, for example, immediately. Furthermore, the firmware update unit 115 updates the firmware when the postponement time determined by the postponement time determination unit 114 is reached.
[0026] The communication unit 13 includes a wireless unit 131 and a wired unit 132. The wireless unit 131 is configured to enable wireless communication with the router 3 through a wireless LAN connection, for example, by IEEE 802.16-compatible WiFi (registered trademark) or IEEE 802.16-compatible WiMax (registered trademark). The wireless unit 131 is configured to receive firmware and other information transmitted from the server 5 via the communication network 4 and the router 3. The wireless unit 131 is configured to transmit operation data, leakage detection data, and the like collected by the WLAN adapter 1 to the router 3.
[0027] The wired unit 132 is connected to, for example, the indoor unit 22 by wire. Examples of a communicator for a wired connection include a wired LAN based on the Ethernet (registered trademark) standard, or a wired connection using an optical fiber cable. The wired unit 132 is configured to receive operation data transmitted from at least one of the outdoor unit 21 and the indoor unit 22 and setting information set by the remote control device 23. The wired unit 132 is configured to transmit a control signal to the indoor unit 22 for operating the indoor unit 22 based on the setting information.
[0028] The storage unit 12 is a rewritable non-volatile storage device, and stores the programs executed by the controller 11, operation data of at least one of the outdoor unit 21 and the indoor unit 22, setting information set by the remote control device 23, and the like. The storage unit 12 is configured, for example, with a semiconductor storage device such as a flash ROM (Read Only Memory) or an SSD (Solid State Disk), or a magnetic storage device. The storage unit 12 may include a RAM (Random Access Memory) that forms a work area for temporarily storing programs and data.
[0029] The storage unit 12 stores a program executed by the control unit 111, and operation data and setting information received by the communication unit 13. The storage unit 12 also stores firmware transmitted from the server 5 and a postponement time determined by the postponement time determination unit 114.
[0030] [1-2. Operation] Of the various operations executed in the WLAN adapter 1, air conditioner 2, and air conditioning system ACS configured as above, the operation of firmware update processing executed in the WLAN adapter 1 will be described.
[0031] The operation of firmware update processing executed in the WLAN adapter 1 will be described based on Fig. 2 while referring to Fig. 1. Fig. 2 is a flowchart showing an example of the operation flow of firmware update processing executed in the WLAN adapter 1 (see Fig. 1). When the power is turned on, the WLAN adapter 1 starts the operation shown in Fig. 2. In the WLAN adapter 1, a control unit 111 provided in the controller 11 controls a firmware presence determination unit 112, a postponement time determination unit 113, a postponement time determination unit 114, and a firmware update unit 115 (all of which are shown in Fig. 1), thereby executing the firmware update process shown in Fig. 2.
[0032] 2, when the WLAN adapter 1 starts operating, in step S11, the firmware presence determination unit 112 requests the server 5 (see FIG. 2) to acquire the latest firmware via the wireless unit 131 provided in the communication unit 13, the router 3, and the communication network 4 (all of which are shown in FIG. 1), and the process proceeds to step S12. The WLAN adapter 1 executes a request to the server 5 to acquire the latest firmware at least when the WLAN adapter 1 is powered on and connected to the communication network 4 via the router 3 (see FIG. 1) for the first time, and when a reset process of the WLAN adapter 1 is executed.
[0033] In step S12, the firmware presence determination unit 112 checks whether the latest firmware is present in the signal transmitted from the server 5 in response to the acquisition request in step S11. If the firmware presence determination unit 112 determines that the latest firmware is present in the signal (step S12: YES), the firmware presence determination unit 112 proceeds to processing in step S13. On the other hand, if the firmware presence determination unit 112 determines that the latest firmware is not present in the signal (step S12: NO), the firmware presence determination unit 112 proceeds to processing in step S16.
[0034] In step S13, the postponement time determination unit 113 checks whether or not the timer function has been executed in the air conditioning device 2 (for example, the indoor unit 22 (see FIG. 1)) a first hour before the current time. Although details will be described later, the first time is set to a time longer than the period for retransmitting a control signal to the indoor unit 22 for operating the indoor unit 22 based on the timer function that has failed. In this embodiment, the first time is set to, for example, one minute. The postponement time determination unit 113 checks the time at which all timer functions stored in the storage unit 12 are executed. When the postponement time determination unit 113 checks that the timer function has been executed in the indoor unit 22 a first hour before the current time (step S13: YES), it determines that the firmware update needs to be postponed, and proceeds to processing in step S18. On the other hand, when the postponement time determination unit 113 checks that the timer function has not been executed in the indoor unit 22 a first hour before the current time (step S13: NO), it determines that the firmware update does not need to be postponed, and proceeds to processing in step S14.
[0035] Here, in the operation from when the timer function is started to when it is ended, the time when the timer function is started or when it is ended corresponds to an example of the execution timing of the timer function. Therefore, in step S13, the postponement time determination unit 113 determines whether or not there was a time when the timer function is started or when it is ended a first hour before the current time. For example, a weekly timer is set as the timer function, which is to "start indoor cooling at a set temperature of 28° at 9:00 on a specific day of the week, and stop the cooling at 20:00". In this case, the execution timing of the timer function is 9:00 and 20:00. In addition, for example, a time zone demand is set as the timer function, which is to "reduce the operation amount of the indoor unit 22 from 11:00 to 13:00 and from 16:00 to 19:00 during the day". In this case, the execution timing of the timer function is 11:00, 13:00, 16:00, and 19:00.
[0036] When a control signal for starting cooling the room is transmitted from the WLAN adapter 1 to the indoor unit 22 based on the timer function stored in the storage unit 12 (see FIG. 1), there is a possibility that an error signal indicating that cooling cannot be started is transmitted from the indoor unit 22 to the WLAN adapter 1. In this case, the WLAN adapter 1 needs to retransmit the control signal for controlling the start of cooling the room to the indoor unit 22 in order to cause the indoor unit 22 to start the cooling operation. For this reason, in the WLAN adapter 1, the first time is set to a time longer than the period in order to secure a period for this retransmission.
[0037] In step S14, the postponement time determination unit 113 checks whether or not the indoor unit 22 is scheduled to execute a timer function after the second hour from the current time. The second time is set to a time longer than the time required for firmware update processing, which will be described in detail later. In this embodiment, the second time is set, for example, 5 minutes later. The postponement time determination unit 113 checks the time at which all timer functions stored in the storage unit 12 are executed. In step S14, the postponement time determination unit 113 determines that the firmware update needs to be postponed if there is a time at which a timer function starts or ends after the second hour from the current time. If the postponement time determination unit 113 checks that the timer function is scheduled to be executed after the second hour from the current time in, for example, the indoor unit 22 in the air conditioning device 2 (step S14: YES), it determines that the firmware update needs to be postponed, and proceeds to the process of step S18. On the other hand, if the postponement time determination unit 113 confirms that the indoor unit 22 is not scheduled to execute the timer function the second hour from the current time (step S14: NO), it determines that there is no need to postpone the firmware update and proceeds to processing in step S15.
[0038] The firmware update process of the WLAN adapter 1 requires, for example, several minutes. The WLAN adapter 1 cannot operate the indoor unit 22 based on the timer function during the firmware update process. For this reason, the WLAN adapter 1 sets the second time to a time longer than the time required for the firmware update process so that the execution timing of the timer function described in step S13 does not come during the firmware update process.
[0039] In step S15, the firmware update unit 115 updates the firmware to the latest firmware acquired in step S12, thereby updating the firmware of the WLAN adapter 1. When the firmware update unit 115 finishes updating the firmware, the process proceeds to step S16.
[0040] In step S16, the control unit 111 determines whether or not an operation to turn off the power supply for operating the WLAN adapter 1 has been received. The operation to turn off the power supply is performed, for example, by a user of the air conditioning device 2. If the control unit 111 determines that the operation has been received (step S16: YES), it executes processing to turn off the power supply of the WLAN adapter 1 and terminates the operation of the WLAN adapter 1. On the other hand, if the control unit 111 determines that the operation has not been received (step S16: NO), it proceeds to processing of step S17.
[0041] In step S17, the firmware presence determination unit 112 determines whether it is time to acquire the latest firmware. The storage unit 12 stores the timing (i.e., time) for acquiring the latest firmware at a predetermined time, for example, only once a day. If the firmware presence determination unit 112 determines that it is time to acquire the latest firmware (step S17: YES), the process proceeds to step S11. On the other hand, if the firmware presence determination unit 112 determines that it is not time to acquire the latest firmware (step S17: NO), the process proceeds to step S16. In this way, the WLAN adapter 1 is configured to attempt to acquire the latest firmware when it is time to acquire the latest firmware, in addition to when the power is turned on. Furthermore, by repeatedly executing the processes of steps S16 and S17, the WLAN adapter 1 ends operation without acquiring the firmware when the power is turned off, even if it is not time to acquire the firmware.
[0042] In step S18, the postponement time determination unit 114 determines whether the number of times the postponement time for postponing the firmware update has been determined has reached an upper limit. If the postponement time determination unit 114 determines that the number of times the postponement time has been determined has reached the upper limit (step S18: YES), the postponement time determination unit 114 proceeds to the process of step S16. On the other hand, if the postponement time determination unit 114 determines that the number of times the postponement time has been determined has not reached the upper limit (step S18: NO), the postponement time determination unit 114 proceeds to the process of step S19.
[0043] In step S19, the postponement time determination unit 114 determines the postponement time for postponing the update of the latest firmware, and proceeds to the process of step S20. As described above, in this embodiment, the timing for executing the process of step S11 is stored in the storage unit 12. That is, in this embodiment, the firmware presence determination unit 112 determines whether the latest firmware exists at a predetermined cycle. The postponement time determination unit 114 determines the postponement time to be shorter than one cycle of the predetermined cycle. After determining the postponement time, the postponement time determination unit 114 starts measuring until the postponement time.
[0044] For example, the postponement time determination unit 114 randomly determines the postponement time so that the postponement time is within a range of half the period of one cycle of the predetermined cycle. If the predetermined cycle is, for example, one day, the postponement time determination unit 114 determines a random time in one-hour increments within a range of, for example, one hour to twelve hours as the postponement time. For example, the postponement time determination unit 114 randomly determines the postponement time from among a plurality of candidates. For example, the postponement time determination unit 114 randomly determines the postponement time using a random number for determining the postponement time. As a method for setting the postponement time, it is also possible to search for all execution timings of all timer functions stored in the storage unit 12 and set the postponement time to a time different from all the searched execution timings. However, this setting method increases the processing load for searching for the execution timings. Therefore, in this embodiment, the WLAN adapter 1 can reduce the load of the postponement time determination process by randomly determining the postponement time using the postponement time determination unit 114 without searching for the execution timings of the timer functions.
[0045] The execution timing of the timer function is likely to be set regularly for a predetermined period (for example, one day). Therefore, if the postponement time is determined to be the same period as one cycle of the predetermined cycle in which the firmware presence determination unit 112 attempts to obtain firmware from the server 5, the firmware update timing of the WLAN adapter 1 after the postponement time has elapsed may collide (i.e., match) with the execution timing of the timer function again. That is, there is a possibility that the determination is affirmative (YES determination) in the processing of either step S13 or step S14. Therefore, the multiple candidates for the postponement time are all set to a time shorter than one cycle of the predetermined cycle. For example, when one cycle of the predetermined cycle in which firmware acquisition is attempted is 24 hours, a total of 12 times from 1 hour to 12 hours are set as candidates for the postponement time at intervals of 1 hour. Therefore, the postponement time determination unit 114 can determine the postponement time to be shorter than one cycle of the predetermined cycle in which the firmware presence determination unit 112 attempts to obtain firmware from the server 5. This allows the WLAN adapter 1 to suppress a collision between the firmware update timing of the WLAN adapter 1 after the postponement time has elapsed and the execution timing of the timer function again.
[0046] Although the details will be described later, the postponement time determination unit 114 may determine the postponement time multiple times. When the postponement time determination unit 114 determines the postponement time multiple times, the postponement time determination unit 114 determines the postponement time so that it is shorter than the period obtained by subtracting the total extension time determined up to that point from one period of the predetermined period in which firmware acquisition is attempted. For example, when the total postponement time determined up to that point is 15 hours, the postponement time determination unit 114 determines one of the postponement time candidates from 1 hour to 8 hours as the postponement time so that it is shorter than 9 hours obtained by subtracting 15 hours from 24 hours, which is one period of the predetermined period. This allows the WLAN adapter 1 to prevent all postponement times determined by the postponement time determination unit 114 from becoming longer than one period of the predetermined period in which firmware acquisition is attempted.
[0047] In step S20, the postponement time determination unit 114 determines whether or not the postponement time determined in step S19 has been reached. If the postponement time determination unit 114 determines that the postponement time has been reached (step S20: YES), the process proceeds to step S13. On the other hand, if the postponement time determination unit 114 determines that the postponement time has not been reached (step S20: NO), the process proceeds to step S21.
[0048] In step S21, the control unit 111 determines whether or not an operation to turn off the power supply for operating the WLAN adapter 1 has been received, using the same process as in step S16. The operation to turn off the power supply is performed, for example, by a user of the air conditioning device 2. If the control unit 111 determines that the operation has been received (step S21: YES), it executes a process to turn off the power supply of the WLAN adapter 1 and ends the operation of the WLAN adapter 1. On the other hand, if the control unit 111 determines that the operation has not been received (step S21: NO), it returns to the process of step S20. In this way, if the WLAN adapter 1 receives an operation to turn off the power supply even if the postponement time has not been reached, it ends the operation without updating the firmware.
[0049] In this embodiment, when it is determined that the number of times the postponement time has been determined has reached the upper limit (for example, three times) (step S18: YES), in order to execute the update process of the latest firmware (step S15) thereafter, it is necessary that the firmware presence determination unit 112 determines that the latest firmware exists in the server 5 at least in the process of step S12 (step S12: YES). Therefore, in this embodiment, when the number of times the postponement time determination unit 114 has determined the postponement time reaches the upper limit (an example of a predetermined number of times) (step S18: YES), the firmware is not updated until the firmware presence determination unit 112 next determines that the latest firmware exists (flow of step S16: NO after step S18 → step S17: YES → step S11 → step S12: NO → step S16). That is, when the number of times the postponement time has been determined has reached the upper limit, the WLAN adapter 1 temporarily suspends the update process of the firmware. In the WLAN adapter 1, an upper limit is set on the number of times the postponement time can be determined, thereby preventing the firmware update process from being executed permanently during one predetermined cycle for obtaining the latest firmware, thereby reducing the processing load of the firmware update process.
[0050] After the latest firmware is acquired in step S12, it is determined that the number of times the postponement time has been determined has reached the upper limit (step S18: YES), and the firmware presence determination unit 112 acquires firmware in the process of step S12 executed thereafter. Even if the two pieces of firmware acquired with the process of step S18 in between are the same, if the WLAN adapter 1 has not been updated to the firmware acquired before step S18, the firmware acquired after step S18 is treated as the latest firmware.
[0051] In this embodiment, when the postponement time is reached, the postponement time determination unit 113 re-determines whether or not it is necessary to postpone the firmware update. Specifically, when the postponement time determined by the postponement time determination unit 114 is reached (step S20: YES) after the postponement time determination unit 113 determines whether or not it is necessary to postpone the firmware update (after step S13 or step S14), the postponement time determination unit 113 again determines whether or not it is necessary to postpone the firmware update (flow from step S20 to step S13 and step S14). This allows the WLAN adapter 1 to suppress a collision between the firmware update timing and the execution timing of the timer function even when the postponement time is reached.
[0052] In this embodiment, when the postponement time judgment unit 113 judges again that it is necessary to postpone the firmware update, the postponement time determination unit 114 re-determines the postponement time. Specifically, after the postponement time judgment unit 113 judges again that it is necessary to postpone the firmware update (step S20: YES → step S13: YES flow or step S20: YES → step S13: NO → step S14: YES flow), the postponement time determination unit 114 re-determines the postponement time (step S13 or step S14 → step S18: NO → step S19 flow). As a result, the WLAN adapter 1 can repeatedly determine the postponement time until the number of times the postponement time is determined reaches the upper limit, and therefore, the opportunity to update the firmware can be repeatedly provided.
[0053] [1-3. Effects, etc.] As described above, in this embodiment, the WLAN adapter 1 is connected to the indoor unit 22 of the air conditioner 2 equipped with the outdoor unit 21 and the indoor unit 22, and is configured to be able to communicate with the server 5 that manages the outdoor unit 21 and the indoor unit 22 via the communication network 4. The WLAN adapter 1 includes a firmware presence determination unit 112, a postponement time determination unit 113, and a postponement time determination unit 114. The firmware presence determination unit 112 determines whether or not the latest firmware for the WLAN adapter 1 exists. When it is determined that the latest firmware exists, the postponement time determination unit 113 determines whether or not it is necessary to postpone the firmware update based on the setting of a timer function that controls the air conditioner 2 according to a predetermined schedule. When it is determined that it is necessary to postpone the firmware update, the postponement time determination unit 114 determines from among multiple candidates a postponement time that sets how long the firmware update is to be postponed. This allows the WLAN adapter 1 to postpone the timing of firmware updates as necessary. Therefore, the WLAN adapter 1 can update the firmware at an appropriate timing. Furthermore, the WLAN adapter 1 can prioritize the execution of the timer function while preventing a conflict between the execution timing of the timer function and the firmware update timing.
[0054] As in this embodiment, the WLAN adapter 1 includes a firmware update unit 115. The firmware update unit 115 updates the firmware when it is determined that there is no need to postpone the firmware update. This allows the WLAN adapter 1 to determine that there is no need to postpone the firmware update after determining that the latest firmware is available, and therefore allows the WLAN adapter 1 to update the firmware immediately after obtaining the latest firmware.
[0055] As in this embodiment, the postponement time determining unit randomly determines the postponement time from among a plurality of candidates. This eliminates the need for the WLAN adapter 1 to search for all execution timings for all timer functions stored in the storage unit 12. This allows the WLAN adapter 1 to reduce the load of the process of determining the postponement time.
[0056] As in this embodiment, the postponement time determination unit 113 may determine that the firmware update needs to be postponed if the timer function has been executed a first hour before the current time or if the timer function is scheduled to be executed a second hour after the current time. This ensures a period during which an error signal indicating failure in execution of the timer function is transmitted from the indoor unit 22 and a period during which firmware update is completed before the timer function starts. Therefore, the WLAN adapter 1 can prevent a series of processes related to the timer function executed by the indoor unit 22 from being hindered by the firmware update process.
[0057] As in this embodiment, the firmware presence determination unit 112 may determine whether or not the latest firmware is present at a predetermined period, and the postponement time determination unit 114 may determine the postponement time to be shorter than one period of the predetermined period. This allows the postponement time determination unit 114 to determine the postponement time within the period from when the firmware presence determination unit 112 determines that the latest firmware exists to when the firmware presence determination unit 112 next determines that the latest firmware exists. Therefore, the WLAN adapter 1 can determine the postponement time as necessary each time the latest firmware is obtained.
[0058] As in the present embodiment, the postponement time determination unit 113 may re-determine whether or not it is necessary to postpone the firmware update when the postponement time is reached. This makes it possible to determine whether or not a firmware update is necessary when the postponement time is reached. Therefore, the WLAN adapter 1 can prevent a conflict between the execution timing of the timer function and the firmware update timing when the postponement time is reached.
[0059] As in this embodiment, when the postponement time determination unit 113 re-determines that the firmware update needs to be postponed, the postponement time determination unit 114 may re-determine the postponement time. This allows the postponement time determination unit 114 to repeatedly determine the postponement time, so that the WLAN adapter 1 can repeatedly try to update the firmware until there is no longer any conflict with the execution timing of the timer function.
[0060] As in this embodiment, when the number of times that the postponement time determination unit 114 has determined the postponement time reaches a predetermined number, the firmware may not be updated until the firmware presence determination unit 112 next determines that the latest firmware is present. This makes it possible to limit the number of times the postponement time determination unit 114 performs the process of determining the postponement time, thereby preventing excessive determination of the postponement time. Therefore, the WLAN adapter 1 can reduce the processing load related to the firmware update process.
[0061] In this embodiment, the air conditioning system ACS includes a WLAN adapter 1, an air conditioning device 2, and a server 5. The WLAN adapter 1 is an example of a communication device in this embodiment. The air conditioning device 2 has an indoor unit 22 connected to the WLAN adapter 1, an outdoor unit 21 connected to the indoor unit 22, and a remote control device 23 that controls the indoor unit 22. The server 5 is connected to the WLAN adapter 1 via a communication network 4 and manages the outdoor unit 21 and the indoor unit 22. This allows the air conditioning system ACS to obtain the same functions and effects as the WLAN adapter 1 in this embodiment.
[0062] (Other embodiments) As described above, the first embodiment has been described as an example of the technology disclosed in the present application. However, the technology in the present disclosure is not limited to this, and can be applied to embodiments in which modifications, substitutions, additions, omissions, etc. are made. In addition, it is also possible to combine the components described in the first embodiment to create new embodiments. Therefore, other embodiments will be exemplified below.
[0063] In the above embodiment, the WLAN adapter 1 is connected to the communication network 4 via the router 3, but this is not limiting. For example, the WLAN adapter 1 may also have the function of the router 3, and may be configured to be directly connected to the communication network 4. Furthermore, the WLAN adapter 1 may be configured to include, for example, a Subscriber Identity Module (SIM) card and to be directly connected to the server 5 through the communication network 4 without going through the router 3.
[0064] In the above embodiment, the postponement time determination unit 114 randomly determines the postponement time, but this is not limiting. For example, the postponement time determination unit 114 may be configured to refer to the most recent timer function, and if no timer function is scheduled for several hours later (for example, four hours later), determine the postponement time to be the time several hours later (for example, four hours). In this case, the time several hours later (for example, four hours) may be selected from among multiple candidates. Also, if there is no time matching the time several hours later among the multiple candidates, the time closest to the time several hours later may be selected from among the multiple candidates.
[0065] In the above embodiment, the server 5 holds operation data including the operating states of the outdoor unit 21 and the indoor unit 22 provided in the air conditioning device 2, and firmware for updating the software that controls the WLAN adapter 1, but is not limited to this. For example, the air conditioning system may have a server that holds operation data of the outdoor unit and the indoor unit, and a server (i.e., firmware holding device) that holds firmware for the WLAN adapter, which are separate and independent. In this case, a firmware presence determination unit (an example of a first determination unit) provided in the WLAN adapter determines whether the latest firmware exists in the server (i.e., firmware holding device) connected via a communication network.
[0066] In the above embodiment, the remote control device 23 is configured to be installed on a wall surface or the like inside the room, but is not limited thereto. The remote control device 23 may have, for example, a portable structure and may have a configuration capable of two-way communication with the indoor unit 22 by wireless communication such as infrared.
[0067] In the above embodiment, the WLAN adapter 1 has a structure that is externally attached to the air conditioner 2, but is not limited to this. The WLAN adapter may be one of the components of the air conditioner. In this case, the WLAN adapter may be built into, for example, an indoor unit or an outdoor unit.
[0068] It should be noted that the above-described embodiments are intended to illustrate the technology of the present disclosure, and various modifications, substitutions, additions, omissions, and the like can be made within the scope of the claims or their equivalents.
[0069] (Additional Note) The above description of the embodiments discloses the following techniques. (Technology 1) A communications device that is connected to an indoor unit of an air conditioning apparatus having an outdoor unit and an indoor unit, and is configured to be able to communicate with a management device that manages the outdoor unit and the indoor unit via a communications network, the communications device comprising: a first determination unit that determines whether or not the latest firmware for the communications device is available; a second determination unit that, when it is determined that the latest firmware is available, determines whether or not it is necessary to postpone the firmware update based on a setting of a timer function that controls the air conditioning apparatus according to a predetermined schedule; and a determination unit that, when it is determined that the firmware update needs to be extended, determines from a plurality of candidates a postponement time that sets how long the firmware update is to be postponed. With this configuration, the communication device can postpone the timing of updating the firmware as necessary. Therefore, the communication device can update the firmware at an appropriate timing. Furthermore, the communication device can prioritize the execution of the timer function while suppressing a conflict between the execution timing of the timer function and the firmware update timing.
[0070] (Technology 2) The communication device according to Technology 1, further comprising a firmware update unit that updates the firmware when it is determined that there is no need to postpone the update of the firmware. With this configuration, the communication device can determine that the latest firmware is available and then determine that the firmware update does not need to be postponed, and therefore can update the firmware immediately after obtaining the latest firmware.
[0071] (Technology 3) The communication device according to Technology 1 or 2, wherein the determination unit randomly determines the postponement time from among the multiple candidates. With this configuration, the communication device does not need to search for all execution timings for all timer functions stored in the storage unit, and therefore the communication device can reduce the load of the process of determining the postponement time.
[0072] (Technology 4) A communication device described in any one of Technologies 1 to 3, wherein the second determination unit determines that the firmware update needs to be postponed if the timer function has been executed a first hour before the current time or the timer function is scheduled to be executed a second hour after the current time. This configuration ensures a period during which an error signal indicating failure in execution of the timer function is transmitted from the indoor unit and a period during which firmware update is completed before the timer function starts. Therefore, the communication device can prevent a series of processes related to the timer function executed by the air conditioning apparatus from being disrupted by the firmware update process.
[0073] (Technology 5) A communication device described in any one of Technologies 1 to 4, wherein the first determination unit determines whether the latest firmware is present at a predetermined period, and the determination unit determines the postponement time so as to be shorter than one period of the predetermined period. With this configuration, the determination unit can determine the postponement time within the period from when the first determination unit determines that the latest firmware exists to when the next determination unit determines that the latest firmware exists. Therefore, the communication device can determine the postponement time as necessary each time the latest firmware is acquired.
[0074] (Technology 6) A communication device described in any one of Technologies 1 to 5, wherein the second judgment unit re-determines whether or not the firmware update needs to be postponed when the postponement time is reached. With this configuration, it is possible to determine whether or not a firmware update is necessary when the postponement time is reached, and therefore the communication device can prevent a conflict between the execution timing of the timer function and the firmware update timing when the postponement time is reached.
[0075] (Technology 7) The communication device according to Technology 6, wherein the determination unit redetermines the postponement time when the second judgment unit re-determines that the firmware update needs to be postponed. With this configuration, the determination unit can repeatedly determine the postponement time, so that the communication device can repeatedly try to update the firmware until there is no longer a conflict with the execution timing of the timer function.
[0076] (Technology 8) A communication device as described in Technology 7, in which, when the number of times that the determination unit has determined the postponement time reaches a predetermined number, the firmware is not updated until the first judgment unit next determines that the latest firmware is present. With this configuration, it is possible to limit the number of times the determination unit performs the process of determining the postponement time, thereby preventing excessive determination of the postponement time, and therefore it is possible to reduce the processing load of the communication device related to the firmware update process.
[0077] (Technology 9) An air conditioning system comprising: a communication device according to any one of technologies 1 to 8; an air conditioning device having an indoor unit connected to the communication device, an outdoor unit connected to the indoor unit, and an operation device for operating the indoor unit; and a management device connected to the communication device via the communication network and managing the outdoor unit and the indoor unit. With this configuration, the air conditioning system can obtain the same functions and effects as the communication device in any one of Techniques 1 to 8. [Industrial Applicability]
[0078] The present disclosure is applicable to a communication device connected via a communication network to a management device that manages outdoor units and indoor units, and to an air conditioning system including the communication device, the outdoor units, an air conditioning device having the outdoor units, and the management device. Specifically, the present disclosure is applicable to a communication device that can be connected to a communication network wirelessly or by wire, a commercial air conditioning system, and a home air conditioning system. [Explanation of symbols]
[0079] 1 WLAN adapter 2. Air conditioning equipment 3. Router 4. Communication Network 5 Server 11 Controller 12 Storage section 13. Communications Department 21 Outdoor unit 22 Indoor unit 23 Remote Control Device 111 Control section 112 Firmware presence determination unit 113 Postponement time determination section 114 Postponement time determination section 115 Firmware Update Unit 131 Radio Section 132 Wired Section ACS Air Conditioning System
Claims
1. A communication device that is connected to an air conditioning device having an outdoor unit and an indoor unit and is configured to be able to communicate with a management device that manages the air conditioning device via a communication network, a first determination unit that determines whether the latest firmware for the communication device is present; a second determination unit that, when it is determined that the latest firmware is present, determines whether or not it is necessary to postpone the firmware update based on a setting of a timer function that controls the air conditioning device according to a predetermined schedule; a determination unit that, when it is determined that the firmware update needs to be postponed, determines a postponement time that sets how long the firmware update should be postponed from among a plurality of candidates; A communication device comprising:
2. A firmware update unit that updates the firmware when it is determined that the firmware update does not need to be postponed. The communication device according to claim 1 .
3. The determination unit randomly determines the postponement time from among the plurality of candidates. The communication device according to claim 1 .
4. The second determination unit determines that it is necessary to postpone the update of the firmware when the timer function has been executed a first hour before the current time or the timer function is scheduled to be executed a second hour after the current time. The communication device according to claim 1 .
5. The first determination unit determines at a predetermined interval whether or not the latest firmware is present; The determination unit determines the extension time to be shorter than one period of the predetermined period. The communication device according to claim 1 .
6. The second determination unit re-determines whether or not it is necessary to postpone the update of the firmware when the postponement time is reached. The communication device according to claim 1 .
7. The decision unit redetermines the postponement time when the second determination unit re-determines that the firmware update needs to be postponed. The communication device according to claim 6.
8. When the number of times that the determination unit has determined the extension time reaches a predetermined number, the firmware is not updated until the first determination unit next determines that the latest firmware is present. The communication device according to claim 7.
9. A communication device according to any one of claims 1 to 8, an air conditioning apparatus having an indoor unit connected to the communication device, an outdoor unit connected to the indoor unit, and an operation device for operating the indoor unit; a management device that is connected to the communication device via the communication network and manages the outdoor unit and the indoor unit; An air conditioning system comprising:
Citation Information
Patent Citations
Air conditioner
JP2021085599A
Cited By
Game machine
JP2024166283A
Game machine
JP2024166284A
Game machine
JP2024166285A
Game machine
JP2024169543A
Game machine
JP2024169547A
