Air conditioner and communication control method thereof

By configuring multiple WIFI modules in the air conditioner and using the main control board to cooperate with the display module, polling control is realized, which solves the remote control problem caused by damage to a single WIFI module, improves user experience and reduces development costs.

CN115665830BActive Publication Date: 2025-08-15HISENSE (SHANDONG) AIR CONDITIONING CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211180936.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2025-08-15
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

Only one WIFI module is configured in the existing air conditioner. When the module is damaged, it cannot access the network, resulting in the inability to remote control and the user experience is low.

Method used

Configure multiple WIFI modules, cooperate with the display module through the main control board, control the communication connection and disconnection of each WIFI module through polling, and select the WIFI module connected to the network for remote control.

Benefits of technology

The number of WIFI modules has been expanded, which reduces the probability of not being able to access the network, saves the number of UART ports and communication lines, and reduces development costs and difficulty.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115665830B_ABST
    Figure CN115665830B_ABST
Patent Text Reader

Abstract

The present invention discloses an air conditioner and a communication control method for the air conditioner. The air conditioner includes: multiple Wi-Fi modules; a main control board, configured to: send network information to the multiple Wi-Fi modules in a polling manner when preset network conditions are met; wherein the network information is used for the Wi-Fi modules to access the network; after a preset time, obtain the network status of the multiple Wi-Fi modules in a polling manner; and when the network status of one of the multiple Wi-Fi modules is obtained as being connected to the network, set the Wi-Fi module that has been connected to the network as a target Wi-Fi module; wherein the target Wi-Fi module is configured to connect to a smart terminal via the network to enable the smart terminal to remotely control the main control board. By using the embodiments of the present invention, the number of Wi-Fi modules can be effectively expanded, and network configuration under multiple Wi-Fi modules can be achieved, thereby reducing the probability of being unable to access the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of household appliances, and in particular to an air conditioner and a communication control method for the air conditioner. Background Art

[0002] Currently, if Figure 1 As shown, the air conditioner is equipped with a WIFI module, which is connected to the main control board, which is connected to the display module. The WIFI module accesses the network, thereby enabling remote control of the air conditioner using smart terminals such as mobile phones, tablet computers, and desktop computers. However, during the implementation of the present invention, the inventors discovered that because existing air conditioners are equipped with only one WIFI module, if the WIFI module is damaged, it will be unable to access the network, resulting in an inability to remotely control the air conditioner, resulting in a poor user experience. Summary of the Invention

[0003] The embodiments of the present invention provide an air conditioner and a communication control method for the air conditioner, which can effectively expand the number of WIFI modules and realize network configuration under multiple WIFI modules, thereby reducing the probability of being unable to access the network.

[0004] An embodiment of the present invention provides an air conditioner, comprising:

[0005] Multiple WIFI modules;

[0006] Main control board, used for:

[0007] When the preset networking conditions are met, the network information is sent to the plurality of WIFI modules in a polling manner; wherein the network information is used for the WIFI modules to access the network;

[0008] After a preset time, the network status of the plurality of WIFI modules is obtained in a polling manner, and when the network status of one of the plurality of WIFI modules is obtained as being connected to the network, the WIFI module that has been connected to the network is set as the target WIFI module; wherein the target WIFI module is used to connect to the smart terminal through the network to realize remote control of the main control board by the smart terminal.

[0009] Compared with the prior art, the air conditioner provided in this embodiment is equipped with multiple WIFI modules. When preset networking conditions are met, networking information is sent to the multiple WIFI modules in a polling manner, and the network status of the multiple WIFI modules is obtained in a polling manner. When the network status of one of the multiple WIFI modules is obtained as being connected to the network, the WIFI module that has been connected to the network is set as the target WIFI module. In this way, a suitable WIFI module can be selected from the multiple WIFI modules to access the network for communication. This can effectively achieve the expansion of the number of WIFI modules and network configuration under multiple WIFI modules, reducing the probability of being unable to access the network.

[0010] As an improvement to the above solution, the main control board includes a first UART port; each of the WIFI modules includes a data communication port; the first UART port is connected to the data communication ports of multiple WIFI modules;

[0011] The air conditioner further includes a display module; the display module is connected to the plurality of WIFI modules to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port;

[0012] Then, when the preset networking condition is met, the network information is sent to the multiple WIFI modules in a polling manner, including:

[0013] When the preset networking conditions are met, one of the multiple WIFI modules is selected;

[0014] Establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending networking information to the currently selected WIFI module;

[0015] If there is an unselected WIFI module, one of the unselected WIFI modules is selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending networking information to the currently selected WIFI module.

[0016] In the field of air conditioning, the communication connection between the main control board and the WIFI module adopts a method of using one UART communication port and a group of UART communication lines for one group of UART communications. That is, if the main control board communicates with multiple WIFI modules, the main control board needs to be configured with multiple UART ports and multiple groups of UART communication lines. The main control board of the existing air conditioner is generally only configured with one UART port for communicating with the WIFI module. If the number of WIFI modules needs to be expanded, the UART ports on the main control board need to be increased. However, this embodiment controls the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port through the display module to realize polling chip selection of the WIFI module and send network information. This can save the number of UART ports and UART communication lines, thereby reducing costs. In addition, the original PCB design of the main control board does not need to be changed, which can effectively reduce the development workload and development difficulty.

[0017] As an improvement to the above solution, the main control board includes a first UART port; each of the WIFI modules includes a data communication port; the first UART port is connected to the data communication ports of multiple WIFI modules;

[0018] The air conditioner further includes a display module; the display module is connected to the plurality of WIFI modules to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port;

[0019] Then, after the preset time, obtaining the network status of the plurality of WIFI modules in a polling manner includes:

[0020] After a preset time, chip-select one of the plurality of WIFI modules;

[0021] Establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and obtaining the network status of the currently selected WIFI module;

[0022] If there is an unselected WIFI module, one of the unselected WIFI modules is selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and obtaining the network status of the currently selected WIFI module.

[0023] In the field of air conditioning, the communication connection between the main control board and the WIFI module adopts a method of using one UART communication port and a group of UART communication lines for one group of UART communications. That is, if the main control board communicates with multiple WIFI modules, the main control board needs to be configured with multiple UART ports and multiple groups of UART communication lines. The main control board of the existing air conditioner is generally only configured with one UART port for communicating with the WIFI module. If the number of WIFI modules needs to be expanded, the UART ports on the main control board need to be increased. However, this embodiment controls the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port through the display module to realize polling chip selection of the WIFI module and obtain the network status of the WIFI module. This can save the number of UART ports and UART communication lines, thereby reducing costs. In addition, the original PCB design of the main control board does not need to be changed, which can effectively reduce the development workload and development difficulty.

[0024] As an improvement to the above solution, the main control board is further used for:

[0025] In response to receiving the WIFI reset request, a reset signal is sent to the multiple WIFI modules in a polling manner, and the process returns to the step of sending networking information to the multiple WIFI modules in a polling manner; wherein the reset signal is used to instruct the WIFI module to reset.

[0026] In this embodiment, reset control of each WIFI module can be achieved, so that the user can reconfigure the network.

[0027] As an improvement to the above solution, the main control board includes a first UART port; each of the WIFI modules includes a data communication port; the first UART port is connected to the data communication ports of multiple WIFI modules;

[0028] The air conditioner further includes a display module; the display module is connected to the plurality of WIFI modules to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port;

[0029] Then, sending a reset signal to the plurality of WIFI modules in a polling manner includes:

[0030] Chip selecting one of the multiple WIFI modules;

[0031] Establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending a reset signal to the currently selected WIFI module;

[0032] If there is an unselected WIFI module, one of the unselected WIFI modules is chip-selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending a reset signal to the currently selected WIFI module.

[0033] In the field of air conditioning, the communication connection between the main control board and the WIFI module adopts a method of using one UART communication port and a group of UART communication lines for one group of UART communications. That is, if the main control board communicates with multiple WIFI modules, the main control board needs to be configured with multiple UART ports and multiple groups of UART communication lines. The main control board of the existing air conditioner is generally only configured with one UART port for communicating with the WIFI module. If the number of WIFI modules needs to be expanded, the UART ports on the main control board need to be increased. However, this embodiment controls the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port through the display module to realize polling chip selection of the WIFI module and send a reset signal, which can save the number of UART ports and UART communication lines, thereby reducing costs. In addition, the original PCB design of the main control board does not need to be changed, which can effectively reduce the development workload and development difficulty.

[0034] As an improvement to the above solution, the display module includes a second UART port, a third UART port, and an IO control port; the main control board is connected to the data communication ports of the plurality of WIFI modules through the second UART port and the third UART port, wherein the second UART port is connected to the first UART port, and the third UART port is connected to the data communication ports of the plurality of WIFI modules; each of the WIFI modules further includes an on-off controlled port; the IO control port is connected to the on-off controlled ports of the plurality of WIFI modules, and the display module outputs an on-off control signal through the IO control port to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port.

[0035] In this embodiment, the display module is connected to multiple WIFI modules through a set of UART ports, and the IO control port is used to control the UART communication on and off of the multiple WIFI modules to realize the chip selection of the WIFI modules. The main control board forwards the UART communication with the WIFI module through the display module, and communicates with multiple WIFI modules respectively through polling. In this way, the main control board can save the original UART port and communication line for communicating with the WIFI module.

[0036] As one of the optional embodiments, establishing a communication connection between the currently selected WIFI module and the main control board through the display module, and disconnecting the communication connection between the unselected WIFI module and the main control board, includes:

[0037] In response to receiving the chip select query signal periodically sent by the display module, the information of the currently selected WIFI module is returned to the display module, so that the display module controls the currently selected WIFI module to establish a communication connection with the main control board, and controls the unselected WIFI modules to disconnect the communication connection with the main control board.

[0038] In this embodiment, the display module serves as a communication host, periodically queries the chip select WIFI module status of the main control board, and physically switches the WIFI module communication lines rxd txd on and off.

[0039] As an improvement to the above solution, the display module includes a second UART port and multiple third UART ports; the main control board is connected to the data communication ports of the multiple WIFI modules through the second UART port and the multiple third UART ports, wherein the second UART port is connected to the first UART port, and each of the third UART ports is connected to the data communication port of each of the WIFI modules; the display module outputs an on-off control signal through each of the third UART ports to control the establishment and disconnection of the communication connection between the data communication port of each of the WIFI modules and the first UART port.

[0040] In this embodiment, the display module uses multiple third UART ports to communicate with multiple WIFI modules, so there is no need to set up a dedicated IO port to control the on and off of the WIFI module communication, which saves costs.

[0041] Accordingly, another embodiment of the present invention provides a communication control method for an air conditioner, which is executed by a main control board of the air conditioner, and the method includes:

[0042] When the preset networking conditions are met, the network information is sent to the multiple WIFI modules of the air conditioner in a polling manner; wherein the network information is used for the WIFI modules to access the network;

[0043] After a preset time, the network status of the plurality of WIFI modules is obtained in a polling manner, and when the network status of one of the plurality of WIFI modules is obtained as being connected to the network, the WIFI module that has been connected to the network is set as the target WIFI module; wherein the target WIFI module is used to connect to the smart terminal through the network to realize remote control of the main control board by the smart terminal.

[0044] Compared with the prior art, the air conditioner provided in this embodiment is equipped with multiple WIFI modules. When preset networking conditions are met, networking information is sent to the multiple WIFI modules in a polling manner, and the network status of the multiple WIFI modules is obtained in a polling manner. When the network status of one of the multiple WIFI modules is obtained as being connected to the network, the WIFI module that has been connected to the network is set as the target WIFI module. In this way, a suitable WIFI module can be selected from the multiple WIFI modules to access the network for communication. This can effectively achieve the expansion of the number of WIFI modules and network configuration under multiple WIFI modules, reducing the probability of being unable to access the network.

[0045] As an improvement to the above solution, the method further includes:

[0046] In response to receiving the WIFI reset request, a reset signal is sent to the multiple WIFI modules in a polling manner, and the process returns to the step of sending networking information to the multiple WIFI modules in a polling manner; wherein the reset signal is used to instruct the WIFI module to reset.

[0047] In this embodiment, reset control of each WIFI module can be achieved, so that the user can reconfigure the network. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 This is a connection diagram of the main control board, display module and WIFI module in an existing air conditioner;

[0049] Figure 2 This is a schematic diagram of the overall structure of an air conditioner provided by one embodiment of the present invention;

[0050] Figure 3 This is a schematic structural diagram of a refrigeration system of an air conditioner provided by one embodiment of the present invention;

[0051] Figure 4 1 is a schematic cross-sectional structural diagram of an indoor unit of an air conditioner provided by one embodiment of the present invention;

[0052] Figure 5 This is a connection diagram of a main control board, a display module, and a WIFI module in an air conditioner provided by one embodiment of the present invention;

[0053] Figure 6 This is a connection diagram of a main control board, a display module, and a WIFI module in an air conditioner provided by another embodiment of the present invention;

[0054] Figure 7 This is a schematic diagram of a specific working process of a main control board of an air conditioner provided by one embodiment of the present invention;

[0055] Figure 8 This is a schematic diagram of a specific working process of a main control board of an air conditioner provided by another embodiment of the present invention;

[0056] Figure 9 This is a schematic diagram of a specific working process of a main control board of an air conditioner provided by another embodiment of the present invention;

[0057] Figure 10 This is a schematic diagram of a specific working process of a main control board of an air conditioner provided by another embodiment of the present invention;

[0058] Figure 11 This is a connection diagram of a main control board, a display module, and a WIFI module in an air conditioner provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0059] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0060] In the description of the present invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," "outer," and the like, indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate and simplify the description of the present invention. They are not intended to indicate or imply that the devices or components referred to must have, be constructed, or operate in a specific orientation, and therefore should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0061] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood broadly. For example, they may refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediary; and internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.

[0062] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0063] See also Figure 2, is a structural diagram of an air conditioner provided by one embodiment of the present invention.

[0064] An air conditioner 1 provided in an embodiment of the present invention includes an outdoor unit 2 and an indoor unit 3. The outdoor unit 2 of the air conditioner 1 refers to the portion of the refrigeration cycle including a compressor 11 and an outdoor heat exchanger, the indoor unit 3 of the air conditioner 1 includes an indoor heat exchanger, and the electronic expansion valve 14 can be provided in either the indoor unit 3 or the outdoor unit 2.

[0065] The outdoor unit 2 is usually set outdoors and is used for heat exchange in the indoor environment. Figure 2 In the figure, the outdoor unit 2 is shown by a dotted line because it is located outdoors on the opposite side to the indoor unit 3 across the wall WL.

[0066] Figure 3 1 shows the circuit structure of an air conditioner 1. This air conditioner 1 includes a refrigeration system 10. By circulating a refrigerant in refrigeration system 10, a vapor compression refrigeration cycle can be performed. The indoor unit 3 and the outdoor unit 2 are connected by a connecting pipe 4 to form refrigeration system 10 through which the refrigerant circulates. Refrigeration system 10 includes a compressor 11, an outdoor heat exchanger 13, an electronic expansion valve 14, a accumulator 15, and an indoor heat exchanger 16.

[0067] The indoor heat exchanger 16 and the outdoor heat exchanger 13 operate as condensers or evaporators. The compressor 11 draws in refrigerant from the suction port and discharges the internally compressed refrigerant to the indoor heat exchanger 16 from the discharge port. The outdoor heat exchanger 13 has a first inlet and outlet for circulating the refrigerant between the accumulator 15 and the suction port of the compressor 11, and a second inlet and outlet for circulating the refrigerant between the accumulator 15 and the electronic expansion valve 14. The outdoor heat exchanger 13 exchanges heat between the refrigerant flowing in the heat transfer pipe (not shown) connected between the second inlet and outlet of the outdoor heat exchanger 13 and the first inlet and outlet and the outdoor air.

[0068] The electronic expansion valve 14 is positioned between the outdoor heat exchanger 13 and the indoor heat exchanger 16. It expands and reduces the pressure of the refrigerant flowing between the outdoor heat exchanger 13 and the indoor heat exchanger 16. The opening of the electronic expansion valve 14 is adjustable. Decreasing the opening increases the flow resistance of the refrigerant through the electronic expansion valve 14, while increasing the opening decreases the flow resistance. Furthermore, even if the conditions of other components installed in the refrigeration system 10 remain unchanged, changing the opening of the electronic expansion valve 14 changes the flow rate of the refrigerant flowing through the refrigeration system 10. The indoor heat exchanger 16 has a second inlet and outlet for communicating liquid refrigerant with the electronic expansion valve 14 and a first inlet and outlet for communicating gaseous refrigerant with the discharge port of the compressor 11. The indoor heat exchanger 16 exchanges heat between the refrigerant flowing in the heat transfer pipe connected between the second inlet and the first inlet of the indoor heat exchanger 16 and the indoor air. An accumulator 15 is disposed between the outdoor heat exchanger 13 and the suction port of the compressor 11. In the accumulator 15, the refrigerant flowing from the outdoor heat exchanger 13 to the compressor 11 is separated into gas refrigerant and liquid refrigerant. Furthermore, the gas refrigerant is primarily supplied from the accumulator 15 to the suction port of the compressor 11.

[0069] The outdoor unit 2 includes an outdoor fan 21 that generates an airflow of outdoor air through the outdoor heat exchanger 13 to promote heat exchange between the refrigerant flowing in the heat transfer tube and the outdoor air. The outdoor fan 21 is driven by an outdoor fan motor 21a that can change its rotation speed. Figure 3 and Figure 4 The indoor unit 3 includes a fan 31 that generates airflow of indoor air through the indoor heat exchanger 16 to promote heat exchange between the refrigerant flowing in the heat transfer tube and the indoor air. The fan 31 is driven by an indoor fan motor 31a that can change its speed. Figure 4 As shown, in addition to the indoor heat exchanger 16 and the fan 31, the indoor unit 3 also includes a housing 61, an air filter, and an air guide mechanism consisting of an air guide plate 64 for adjusting the vertical air outlet direction of the indoor unit 3 and a swing blade assembly 63 for adjusting the horizontal air outlet direction of the indoor unit 3. The air conditioner 1 also includes a remote controller 5. The remote controller 5 has Figure 2 The user can use the buttons 5b corresponding to the operation switch, temperature setting switch, wind direction setting switch, wind volume setting switch and heat stress comfort function to operate these switches.

[0070] The refrigeration cycle includes a series of processes involving compression, condensation, expansion, and evaporation, supplying refrigerant to the conditioned and heat-exchanged air. The compressor 11 compresses the high-temperature, high-pressure refrigerant gas and discharges the compressed refrigerant gas. The discharged refrigerant gas flows into the condenser. The condenser condenses the compressed refrigerant into a liquid phase, and heat is released to the surrounding environment through the condensation process. The electronic expansion valve 14 expands the high-temperature, high-pressure liquid refrigerant condensed in the condenser into a low-pressure liquid refrigerant. The evaporator evaporates the refrigerant expanded in the electronic expansion valve 14 and returns the low-temperature, low-pressure refrigerant gas to the compressor 11. The evaporator can achieve a cooling effect by utilizing the latent heat of evaporation of the refrigerant to exchange heat with the material to be cooled. Throughout the entire cycle, the air conditioner 1 can adjust the temperature of the indoor space.

[0071] See also Figure 5 and Figure 6 The air conditioner 1 provided in the embodiment of the present invention further includes a plurality of WIFI modules 101 and a main control board 102; the main control board 102 is connected to the plurality of WIFI modules 101. Figure 7 The main control board 102 is used to:

[0072] S11. When a preset networking condition is met, sending networking information to the multiple WIFI modules 101 in a polling manner; wherein the networking information is used for the WIFI modules 101 to access the network;

[0073] S12. After a preset time, obtain the network status of the multiple WIFI modules 101 in a polling manner, and when the network status of one of the multiple WIFI modules 101 is obtained as being connected to the network, set the WIFI module 101 that has been connected to the network as the target WIFI module 101; wherein the target WIFI module 101 is used to connect to the smart terminal through the network to realize remote control of the main control board 102 by the smart terminal.

[0074] The preset networking condition can be receiving a user's networking command or detecting that the main control board 102 and each Wi-Fi module 101 are powered on. Network parameters include the model number, PID number, and firmware version. It should be noted that the network status can include connected to the network (cloud), locally connected, in the network configuration, disconnected, and upgrading.

[0075] Compared with the prior art, the air conditioner provided in this embodiment is configured with multiple WIFI modules 101. When preset networking conditions are met, networking information is sent to the multiple WIFI modules 101 in a polling manner, and the network status of the multiple WIFI modules 101 is obtained in a polling manner. When the network status of one of the multiple WIFI modules 101 is obtained as having been connected to the network, the WIFI module 101 that has been connected to the network is set as the target WIFI module 101, so that a suitable WIFI module 101 can be selected from the multiple WIFI modules 101 to access the network for communication, which can effectively achieve the expansion of the number of WIFI modules 101 and network configuration under multiple WIFI modules 101, thereby reducing the probability of being unable to access the network.

[0076] As one of the optional embodiments, the main control board 102 includes a first UART port; each of the WIFI modules 101 includes a data communication port; the first UART port is connected to the data communication ports of multiple WIFI modules 101;

[0077] The air conditioner further includes a display module 103; the display module 103 is connected to the plurality of WIFI modules 101 to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module 101 and the first UART port;

[0078] Then, see Figure 8 When the preset networking conditions are met, the network information is sent to the multiple WIFI modules 101 in a polling manner, including:

[0079] S21, when the preset networking condition is met, chip-selecting one of the multiple WIFI modules 101;

[0080] S22, establishing a communication connection between the currently selected WIFI module 101 and the main control board 102 through the display module 103, disconnecting the communication connection between the unselected WIFI module 101 and the main control board 102, and sending networking information to the currently selected WIFI module 101;

[0081] S23. If there is an unselected WIFI module 101, one of the unselected WIFI modules 101 is selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module 101 and the main control board 102 through the display module 103, disconnecting the communication connection between the unselected WIFI module 101 and the main control board 102, and sending networking information to the currently selected WIFI module 101.

[0082] In this embodiment, if there is no unselected WIFI module 101 , the process proceeds to step S12 .

[0083] In the field of air conditioning, the communication connection between the main control board 102 and the WIFI module 101 adopts a method of using one UART communication group using one UART port and one UART communication line. That is, if the main control board 102 communicates with multiple WIFI modules 101, the main control board 102 needs to be configured with multiple UART ports and multiple sets of UART communication lines. The main control board 102 of the existing air conditioner is generally only configured with one UART port for communicating with the WIFI module 101. If the number of WIFI modules 101 needs to be expanded, the UART port on the main control board 102 needs to be increased. However, in this embodiment, the display module 103 controls the establishment and disconnection of the communication connection between the data communication port of each WIFI module 101 and the first UART port to realize polling chip selection of the WIFI module 101 and send network information. The number of UART ports and UART communication lines can be saved, thereby reducing costs. In addition, the original PCB design of the main control board 102 does not need to be modified, which can effectively reduce the development workload and difficulty.

[0084] It should be noted that, in this embodiment, the WIFI module 101 can be directly welded to the display module 103. Alternatively, the display module 103 may not be welded to the display module 103, but may form an independent module and communicate with the display module 103 via a communication line.

[0085] As one of the optional embodiments, the main control board 102 includes a first UART port; each of the WIFI modules 101 includes a data communication port; the first UART port is connected to the data communication ports of multiple WIFI modules 101;

[0086] The air conditioner further includes a display module 103; the display module 103 is connected to the plurality of WIFI modules 101 to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module 101 and the first UART port;

[0087] Then, see Figure 9 , after the preset time, obtaining the network status of the plurality of WIFI modules 101 in a polling manner, including:

[0088] S31, after a preset time, chip-selecting one of the plurality of WIFI modules 101;

[0089] S32, establishing a communication connection between the currently selected WIFI module 101 and the main control board 102 through the display module 103, disconnecting the communication connection between the unselected WIFI module 101 and the main control board 102, and obtaining the network status of the currently selected WIFI module 101;

[0090] S33. If there is an unselected WIFI module 101, one of the unselected WIFI modules 101 is chip-selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module 101 and the main control board 102 through the display module 103, disconnecting the communication connection between the unselected WIFI module 101 and the main control board 102, and obtaining the network status of the currently selected WIFI module 101.

[0091] In this embodiment, if there is no unselected WIFI module 101 , the process proceeds to step S12 ′: when the network status of one of the multiple WIFI modules 101 is obtained to be connected to the network, the connected WIFI module 101 is set as the target WIFI module 101 .

[0092] In the field of air conditioning, the communication connection between the main control board 102 and the WIFI module 101 adopts a method of using one UART communication group using one UART port and one UART communication line. That is, if the main control board 102 communicates with multiple WIFI modules 101, the main control board 102 needs to be configured with multiple UART ports and multiple UART communication lines. The main control board 102 of the existing air conditioner is generally only configured with one UART port for communicating with the WIFI module 101. If the number of WIFI modules 101 needs to be expanded, the UART port on the main control board 102 needs to be increased. In this embodiment, the display module 103 controls the establishment and disconnection of the communication connection between the data communication port of each WIFI module 101 and the first UART port to realize polling chip selection of the WIFI module 101 and obtain the network status of the WIFI module 101. It can save the number of UART ports and UART communication lines, thereby reducing costs. In addition, the original PCB design of the main control board 102 does not need to be modified, which can effectively reduce the development workload and difficulty.

[0093] As an optional embodiment, see Figure 10 The main control board 102 is also used for:

[0094] S41. In response to receiving a WIFI reset request, sending a reset signal to the multiple WIFI modules 101 in a polling manner, and returning to the step of sending networking information to the multiple WIFI modules 101 in a polling manner; wherein the reset signal is used to instruct the WIFI module 101 to reset.

[0095] In this embodiment, reset control of each WIFI module 101 can be achieved, so that the user can reconfigure the network connection.

[0096] Furthermore, the main control board 102 includes a first UART port; each of the WIFI modules 101 includes a data communication port; the first UART port is connected to the data communication ports of the plurality of WIFI modules 101;

[0097] The air conditioner further includes a display module 103; the display module 103 is connected to the plurality of WIFI modules 101 to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module 101 and the first UART port;

[0098] Then, sending a reset signal to the plurality of WIFI modules 101 in a polling manner includes:

[0099] Chip selecting one of the multiple WIFI modules 101;

[0100] Establishing a communication connection between the currently selected WIFI module 101 and the main control board 102 through the display module 103, disconnecting the communication connection between the unselected WIFI module 101 and the main control board 102, and sending a reset signal to the currently selected WIFI module 101;

[0101] If there is an unselected WIFI module 101, one of the unselected WIFI modules 101 is chip-selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module 101 and the main control board 102 through the display module 103, disconnecting the communication connection between the unselected WIFI module 101 and the main control board 102, and sending a reset signal to the currently selected WIFI module 101.

[0102] In the field of air conditioning, the communication connection between the main control board 102 and the WIFI module 101 adopts a method of using one UART communication group using one UART port and one UART communication line. That is, if the main control board 102 communicates with multiple WIFI modules 101, the main control board 102 needs to be configured with multiple UART ports and multiple sets of UART communication lines. The main control board 102 of the existing air conditioner is generally only configured with one UART port for communicating with the WIFI module 101. If the number of WIFI modules 101 needs to be expanded, the UART port on the main control board 102 needs to be increased. In this embodiment, the display module 103 controls the establishment and disconnection of the communication connection between the data communication port of each WIFI module 101 and the first UART port to realize polling chip selection of the WIFI module 101 and send a reset signal. This can save the number of UART ports and UART communication lines, thereby reducing costs. In addition, the original PCB design of the main control board 102 does not need to be modified, which can effectively reduce the development workload and development difficulty.

[0103] Alternatively, as Figure 5 As shown, the main control board 102 includes a first UART port and a fourth UART port, and each of the WIFI modules 101 includes a data communication port; the first UART port is connected to the data communication ports of multiple WIFI modules 101; the display module 103 includes a second UART port and an IO control port; the fourth UART port is connected to the second UART port; each of the WIFI modules 101 also includes an on-off controlled port; the IO control port is connected to the on-off controlled ports of multiple WIFI modules 101, and the display module 103 outputs an on-off control signal through the IO control port to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module 101 and the first UART port. Thus, the main control board 102 is connected to two Wi-Fi modules 101 simultaneously through a single UART port. The main control board 102 and the display module 103 communicate via a single UART channel. When expanding from one Wi-Fi module 101 to multiple Wi-Fi modules 101, the hardware of the indoor main control board 102 does not need to be modified, thus shortening development time and saving hardware costs. In this solution, the main control board 102, the Wi-Fi module 101, and the display module 103 all communicate in full-duplex mode.

[0104] In a specific embodiment, the main control board 102 chip selects a WIFI module 101 and sends an instruction to the second UART port through the fourth UART port to notify the display module 103; after receiving the instruction, the display module 103 controls the RXD and TXD of the data communication port of the currently selected WIFI module 101 to be turned on through the IO control port, and the RXD and TXD of the data communication port of the unselected WIFI module 101 to be turned off, so that the display module 103 can control the currently selected WIFI module 101 to establish a communication connection with the main control board 102, and control the unselected WIFI module 101 to disconnect the communication connection with the main control board 102; after the connection is established, the main control board 102 sends a communication signal to the data communication port of the WIFI module 101 that has been connected to the network through the first UART port to realize communication between the main control board 102 and the WIFI module 101.

[0105] Alternatively, see Figure 6 The display module 103 includes a second UART port, a third UART port, and an IO control port; the main control board 102 is connected to the data communication ports of the plurality of WIFI modules 101 through the second UART port and the third UART port, wherein the second UART port is connected to the first UART port, and the third UART port is connected to the data communication ports of the plurality of WIFI modules 101; each of the WIFI modules 101 further includes an on-off controlled port; the IO control port is connected to the on-off controlled ports of the plurality of WIFI modules 101, and the display module 103 outputs an on-off control signal through the IO control port to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module 101 and the first UART port.

[0106] In a specific embodiment, the main control board 102 chip selects a WIFI module 101 and sends an instruction to the second UART port through the first UART port to notify the display module 103; after receiving the instruction, the display module 103 controls the RXD and TXD of the data communication port of the currently selected WIFI module 101 to be turned on through the IO control port, and the RXD and TXD of the data communication port of the unselected WIFI module 101 to be turned off, so that the display module 103 can control the currently selected WIFI module 101 to establish a communication connection with the main control board 102, and control the unselected WIFI module 101 to disconnect the communication connection with the main control board 102; after the connection is established, the main control board 102 sends a communication signal with the WIFI module 101 that has been connected to the network to the second UART port through the first UART port, and the display module 103 forwards it to the data communication port of the WIFI module 101 that has been connected to the network through the third UART port to realize communication between the main control board 102 and the WIFI module 101.

[0107] In this embodiment, the display module 103 is connected to multiple WIFI modules 101 through a group of UART ports, and the IO control port is used to control the UART communication on and off of the multiple WIFI modules 101 to realize the chip selection of the WIFI module 101. The main control board 102 forwards the UART communication with the WIFI module 101 through the display module 103, and communicates with the multiple WIFI modules 101 respectively through polling. In this way, the main control board 102 can save the original UART port and communication line for communicating with the WIFI module 101. Moreover, when expanding multiple WIFI modules 101, the present invention does not require any changes to the hardware of the main control board 102, and only the hardware of the display module 103 needs to be adjusted, which greatly saves development difficulty and workload.

[0108] Furthermore, establishing a communication connection between the currently selected WIFI module 101 and the main control board 102 through the display module 103 and disconnecting a communication connection between an unselected WIFI module 101 and the main control board 102 includes:

[0109] In response to receiving the chip select query signal regularly sent by the display module 103, the information of the currently selected WIFI module 101 is returned to the display module 103, so that the display module 103 controls the currently selected WIFI module 101 to establish a communication connection with the main control board 102, and controls the unselected WIFI module 101 to disconnect the communication connection with the main control board 102.

[0110] In this embodiment, the display module 103 acts as a communication host, periodically queries the status of the chip-selected WIFI module 101 of the main control board 102, and physically switches the communication lines rxd and txd of the WIFI module 101 on and off, thereby controlling each WIFI module 101 to establish or disconnect the communication connection with the main control board 102.

[0111] In a specific embodiment, the main control board 102 chip-selects a WIFI module 101, and the display module 103 periodically sends a chip selection query signal every 200ms to query the status of the chip-selected WIFI module 101 of the main control board 102, control the RXD and TXD of the currently selected WIFI module 101 to be turned on, and the RXD and TXD of the unselected WIFI module 101 to be turned off, and immediately return the on-off execution information of the WIFI module 101 to the main control board 102, so that the display module 103 can control the currently selected WIFI module 101 to establish a communication connection with the main control board 102, and control the unselected WIFI module 101 to disconnect the communication connection with the main control board 102.

[0112] Alternatively, see Figure 11 The display module 103 includes a second UART port and multiple third UART ports; the main control board 102 is connected to the data communication ports of the multiple WIFI modules 101 through the second UART port and the multiple third UART ports, wherein the second UART port is connected to the first UART port, and each of the third UART ports is connected to the data communication port of each WIFI module 101; the display module 103 outputs an on-off control signal through each of the third UART ports to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module 101 and the first UART port.

[0113] In this embodiment, the display module 103 uses multiple third UART ports to communicate with multiple WIFI modules 101, so there is no need to set up a dedicated IO port to control the on and off of the communication of the WIFI module 101, which saves costs.

[0114] In a specific embodiment, the main control board 102 chip selects a WIFI module 101 and sends an instruction to the second UART port through the first UART port to notify the display module 103; after receiving the instruction, the display module 103 controls the RXD and TXD of the data communication port of the currently selected WIFI module 101 to be turned on through the third UART port, and the RXD and TXD of the data communication port of the unselected WIFI module 101 to be turned off, so that the display module 103 can control the currently selected WIFI module 101 to establish a communication connection with the main control board 102, and control the unselected WIFI module 101 to disconnect the communication connection with the main control board 102; after the connection is established, the main control board 102 sends a communication signal with the WIFI module 101 that has been connected to the network to the second UART port through the first UART port, and the display module 103 forwards it to the data communication port of the WIFI module 101 that has been connected to the network through the corresponding third UART port to realize communication between the main control board 102 and the WIFI module 101.

[0115] Accordingly, another embodiment of the present invention provides a communication control method for an air conditioner, which is executed by a main control board of the air conditioner, and the method includes:

[0116] When the preset networking conditions are met, the network information is sent to the multiple WIFI modules of the air conditioner in a polling manner; wherein the network information is used for the WIFI modules to access the network;

[0117] After a preset time, the network status of the plurality of WIFI modules is obtained in a polling manner, and when the network status of one of the plurality of WIFI modules is obtained as being connected to the network, the WIFI module that has been connected to the network is set as the target WIFI module; wherein the target WIFI module is used to connect to the smart terminal through the network to realize remote control of the main control board by the smart terminal.

[0118] Compared with the prior art, the air conditioner provided in this embodiment is equipped with multiple WIFI modules. When preset networking conditions are met, networking information is sent to the multiple WIFI modules in a polling manner, and the network status of the multiple WIFI modules is obtained in a polling manner. When the network status of one of the multiple WIFI modules is obtained as being connected to the network, the WIFI module that has been connected to the network is set as the target WIFI module. In this way, a suitable WIFI module can be selected from the multiple WIFI modules to access the network for communication. This can effectively achieve the expansion of the number of WIFI modules and network configuration under multiple WIFI modules, reducing the probability of being unable to access the network.

[0119] As an improvement to the above solution, the main control board includes a first UART port; each of the WIFI modules includes a data communication port; the first UART port is connected to the data communication ports of multiple WIFI modules;

[0120] The air conditioner further includes a display module; the display module is connected to the plurality of WIFI modules to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port;

[0121] Then, when the preset networking condition is met, the network information is sent to the multiple WIFI modules in a polling manner, including:

[0122] When the preset networking conditions are met, one of the multiple WIFI modules is selected;

[0123] Establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending networking information to the currently selected WIFI module;

[0124] If there is an unselected WIFI module, one of the unselected WIFI modules is selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending networking information to the currently selected WIFI module.

[0125] In the field of air conditioning, the communication connection between the main control board and the WIFI module adopts a method of using one UART communication port and a group of UART communication lines for one group of UART communications. That is, if the main control board communicates with multiple WIFI modules, the main control board needs to be configured with multiple UART ports and multiple groups of UART communication lines. The main control board of the existing air conditioner is generally only configured with one UART port for communicating with the WIFI module. If the number of WIFI modules needs to be expanded, the UART ports on the main control board need to be increased. However, this embodiment controls the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port through the display module to realize polling chip selection of the WIFI module and send network information. This can save the number of UART ports and UART communication lines, thereby reducing costs. In addition, the original PCB design of the main control board does not need to be changed, which can effectively reduce the development workload and development difficulty.

[0126] As an improvement to the above solution, the main control board includes a first UART port; each of the WIFI modules includes a data communication port; the first UART port is connected to the data communication ports of multiple WIFI modules;

[0127] The air conditioner further includes a display module; the display module is connected to the plurality of WIFI modules to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port;

[0128] Then, after the preset time, obtaining the network status of the plurality of WIFI modules in a polling manner includes:

[0129] After a preset time, chip-select one of the plurality of WIFI modules;

[0130] Establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and obtaining the network status of the currently selected WIFI module;

[0131] If there is an unselected WIFI module, one of the unselected WIFI modules is selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and obtaining the network status of the currently selected WIFI module.

[0132] In the field of air conditioning, the communication connection between the main control board and the WIFI module adopts a method of using one UART communication port and a group of UART communication lines for one group of UART communications. That is, if the main control board communicates with multiple WIFI modules, the main control board needs to be configured with multiple UART ports and multiple groups of UART communication lines. The main control board of the existing air conditioner is generally only configured with one UART port for communicating with the WIFI module. If the number of WIFI modules needs to be expanded, the UART ports on the main control board need to be increased. However, this embodiment controls the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port through the display module to realize polling chip selection of the WIFI module and obtain the network status of the WIFI module. This can save the number of UART ports and UART communication lines, thereby reducing costs. In addition, the original PCB design of the main control board does not need to be changed, which can effectively reduce the development workload and development difficulty.

[0133] As an improvement to the above solution, the method further includes:

[0134] In response to receiving the WIFI reset request, a reset signal is sent to the multiple WIFI modules in a polling manner, and the process returns to the step of sending networking information to the multiple WIFI modules in a polling manner; wherein the reset signal is used to instruct the WIFI module to reset.

[0135] In this embodiment, reset control of each WIFI module can be achieved, so that the user can reconfigure the network.

[0136] As an improvement to the above solution, the main control board includes a first UART port; each of the WIFI modules includes a data communication port; the first UART port is connected to the data communication ports of multiple WIFI modules;

[0137] The air conditioner further includes a display module; the display module is connected to the plurality of WIFI modules to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port;

[0138] Then, sending a reset signal to the plurality of WIFI modules in a polling manner includes:

[0139] Chip selecting one of the multiple WIFI modules;

[0140] Establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending a reset signal to the currently selected WIFI module;

[0141] If there is an unselected WIFI module, one of the unselected WIFI modules is chip-selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending a reset signal to the currently selected WIFI module.

[0142] In the field of air conditioning, the communication connection between the main control board and the WIFI module adopts a method of using one UART communication port and a group of UART communication lines for one group of UART communications. That is, if the main control board communicates with multiple WIFI modules, the main control board needs to be configured with multiple UART ports and multiple groups of UART communication lines. The main control board of the existing air conditioner is generally only configured with one UART port for communicating with the WIFI module. If the number of WIFI modules needs to be expanded, the UART ports on the main control board need to be increased. However, this embodiment controls the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port through the display module to realize polling chip selection of the WIFI module and send a reset signal, which can save the number of UART ports and UART communication lines, thereby reducing costs. In addition, the original PCB design of the main control board does not need to be changed, which can effectively reduce the development workload and development difficulty.

[0143] As an improvement to the above solution, the display module includes a second UART port, a third UART port, and an IO control port; the main control board is connected to the data communication ports of the plurality of WIFI modules through the second UART port and the third UART port, wherein the second UART port is connected to the first UART port, and the third UART port is connected to the data communication ports of the plurality of WIFI modules; each of the WIFI modules further includes an on-off controlled port; the IO control port is connected to the on-off controlled ports of the plurality of WIFI modules, and the display module outputs an on-off control signal through the IO control port to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port.

[0144] In this embodiment, the display module is connected to multiple WIFI modules through a set of UART ports, and the IO control port is used to control the UART communication on and off of the multiple WIFI modules to realize the chip selection of the WIFI modules. The main control board forwards the UART communication with the WIFI module through the display module, and communicates with multiple WIFI modules respectively through polling. In this way, the main control board can save the original UART port and communication line for communicating with the WIFI module.

[0145] As one of the optional embodiments, establishing a communication connection between the currently selected WIFI module and the main control board through the display module, and disconnecting the communication connection between the unselected WIFI module and the main control board, includes:

[0146] In response to receiving the chip select query signal periodically sent by the display module, the information of the currently selected WIFI module is returned to the display module, so that the display module controls the currently selected WIFI module to establish a communication connection with the main control board, and controls the unselected WIFI modules to disconnect the communication connection with the main control board.

[0147] In this embodiment, the display module serves as a communication host, periodically queries the chip select WIFI module status of the main control board, and physically switches the WIFI module communication lines rxd txd on and off.

[0148] As an improvement to the above solution, the display module includes a second UART port and multiple third UART ports; the main control board is connected to the data communication ports of the multiple WIFI modules through the second UART port and the multiple third UART ports, wherein the second UART port is connected to the first UART port, and each of the third UART ports is connected to the data communication port of each of the WIFI modules; the display module outputs an on-off control signal through each of the third UART ports to control the establishment and disconnection of the communication connection between the data communication port of each of the WIFI modules and the first UART port.

[0149] In this embodiment, the display module uses multiple third UART ports to communicate with multiple WIFI modules, so there is no need to set up a dedicated IO port to control the on and off of the WIFI module communication, which saves costs.

[0150] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An air conditioner, characterized in that: include: Multiple WIFI modules; Main control board, used for: When the preset networking conditions are met, the network information is sent to the plurality of WIFI modules in a polling manner; wherein the network information is used for the WIFI modules to access the network; After a preset time, the network status of the plurality of WIFI modules is obtained in a polling manner, and when the network status of one of the plurality of WIFI modules is obtained as being connected to the network, the WIFI module that has been connected to the network is set as the target WIFI module; wherein the target WIFI module is used to connect to the smart terminal through the network to enable the smart terminal to remotely control the main control board; The main control board includes a first UART port; each of the WIFI modules includes a data communication port; the first UART port is connected to the data communication ports of the plurality of WIFI modules; The air conditioner further includes a display module; the display module is connected to the plurality of WIFI modules to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port.

2. The air conditioner according to claim 1, wherein When the preset networking condition is met, sending networking information to the multiple WIFI modules in a polling manner includes: When the preset networking conditions are met, one of the multiple WIFI modules is selected; Establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending networking information to the currently selected WIFI module; If there is an unselected WIFI module, one of the unselected WIFI modules is selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending networking information to the currently selected WIFI module.

3. The air conditioner according to claim 1, wherein After a preset time, obtaining the network status of the plurality of WIFI modules in a polling manner includes: After a preset time, chip-select one of the plurality of WIFI modules; Establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and obtaining the network status of the currently selected WIFI module; If there is an unselected WIFI module, one of the unselected WIFI modules is selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and obtaining the network status of the currently selected WIFI module.

4. The air conditioner according to claim 1, wherein The main control board is also used for: In response to receiving the WIFI reset request, a reset signal is sent to the multiple WIFI modules in a polling manner, and the process returns to the step of sending networking information to the multiple WIFI modules in a polling manner; wherein the reset signal is used to instruct the WIFI module to reset.

5. The air conditioner according to claim 4, wherein: The sending of a reset signal to the plurality of WIFI modules in a polling manner includes: Chip selecting one of the multiple WIFI modules; Establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending a reset signal to the currently selected WIFI module; If there is an unselected WIFI module, one of the unselected WIFI modules is chip-selected, and the process returns to the step of establishing a communication connection between the currently selected WIFI module and the main control board through the display module, disconnecting the communication connection between the unselected WIFI module and the main control board, and sending a reset signal to the currently selected WIFI module.

6. The air conditioner according to any one of claims 2 to 5, characterized in that: The display module includes a second UART port, a third UART port, and an IO control port; the main control board is connected to the data communication ports of the plurality of WIFI modules through the second UART port and the third UART port, wherein the second UART port is connected to the first UART port, and the third UART port is connected to the data communication ports of the plurality of WIFI modules; each of the WIFI modules further includes an on / off controlled port; the IO control port is connected to the on / off controlled ports of the plurality of WIFI modules, and the display module outputs an on / off control signal through the IO control port to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port.

7. The air conditioner according to any one of claims 2 to 5, characterized in that: The establishing of a communication connection between the currently selected WIFI module and the main control board through the display module, and disconnecting a communication connection between an unselected WIFI module and the main control board, includes: In response to receiving the chip select query signal periodically sent by the display module, the information of the currently selected WIFI module is returned to the display module, so that the display module controls the currently selected WIFI module to establish a communication connection with the main control board, and controls the unselected WIFI modules to disconnect the communication connection with the main control board.

8. The air conditioner according to any one of claims 2 to 5, characterized in that: The display module includes a second UART port and multiple third UART ports; the main control board is connected to the data communication ports of the multiple WIFI modules through the second UART port and the multiple third UART ports, wherein the second UART port is connected to the first UART port, and each of the third UART ports is connected to the data communication port of each WIFI module; the display module outputs an on-off control signal through each of the third UART ports to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port.

9. A communication control method for an air conditioner, characterized in that: The method is executed by the main control board of the air conditioner, wherein the main control board includes a first UART port; each WIFI module includes a data communication port; the first UART port is connected to the data communication ports of the plurality of WIFI modules; The air conditioner further includes a display module; the display module is connected to the plurality of WIFI modules to control the establishment and disconnection of the communication connection between the data communication port of each WIFI module and the first UART port; The method comprises: When the preset networking conditions are met, the network information is sent to the multiple WIFI modules of the air conditioner in a polling manner; wherein the network information is used for the WIFI modules to access the network; After a preset time, the network status of the plurality of WIFI modules is obtained in a polling manner, and when the network status of one of the plurality of WIFI modules is obtained as being connected to the network, the WIFI module that has been connected to the network is set as the target WIFI module; wherein the target WIFI module is used to connect to the smart terminal through the network to realize remote control of the main control board by the smart terminal.

10. The communication control method for an air conditioner according to claim 9, wherein: The method further comprises: In response to receiving the WIFI reset request, a reset signal is sent to the multiple WIFI modules in a polling manner, and the process returns to the step of sending networking information to the multiple WIFI modules in a polling manner; wherein the reset signal is used to instruct the WIFI module to reset.

Citation Information

Patent Citations

  • Mobile terminal and Wi-Fi control method

    CN105682191A

  • Port module, electronic equipment and port control method

    CN106201958A