Remote control terminal and water heater pairing method, remote control terminal and water heater
By exchanging equipment information and routing device distribution network information between the remote control terminal and the water heater, and accessing the routing device in STA mode for identity verification, the cumbersome pairing problem of traditional remote control terminal and water heater is solved, and a fast and simple pairing process is achieved.
Patent Information
- Application Number
- CN202111575762.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-21
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2041-12-21
AI Technical Summary
The matching process between traditional remote control terminals and water heaters is cumbersome and inefficient, making it inconvenient for users to operate.
After establishing a communication connection with the water heater at the remote control terminal, the device information and the distribution network information of the routing device are exchanged, and the routing device is connected to the routing device in STA mode for identity verification, thereby achieving fast and simple pairing.
Without additional equipment assistance, users avoid the complicated process of inputting routing device distribution network information, which greatly accelerates the pairing speed of remote control terminals and water heaters and improves the pairing success rate.
Smart Images

Figure CN114390530B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a remote control terminal, a water heater and a pairing method thereof, and a pairing method for a hot water system. Background Art
[0002] When using a water heater, users often need to operate the water heater itself to complete the desired bathing temperature and other functions. In particular, forced-exhaust gas water heaters are generally installed on the balcony, making it very inconvenient for users to control the water heater. To solve this problem, remote control terminals have emerged that can remotely control the water heater after pairing, such as through a bathroom controller or mobile phone.
[0003] However, the pairing process between the remote control terminal and the water heater in traditional technology is relatively complicated and inefficient. Summary of the Invention
[0004] The first technical problem solved by the present invention is to provide a method for pairing a remote control terminal with a water heater, which can quickly and easily complete the pairing between the remote control terminal and the water heater.
[0005] The second technical problem solved by the present invention is to provide a remote control terminal that can be quickly and easily paired with a water heater.
[0006] The third technical problem solved by the present invention is to provide a water heater that can be quickly and easily paired with a remote control terminal.
[0007] The first technical problem mentioned above is solved by the following technical solution:
[0008] In the first aspect, a method for pairing a remote control terminal with a water heater is described from the remote control terminal side, comprising: when the first remote control terminal establishes a first communication connection with the water heater, sending the device information of the first remote control terminal to the water heater, and receiving the device information sent by the water heater and the network configuration information of the routing device, and using the device information sent by the water heater as the main device information; wherein, the first remote control terminal is the remote control terminal to be paired with the water heater; the first remote control terminal accesses the routing device in STA mode according to the network configuration information of the routing device; after accessing the routing device, the first remote control terminal obtains the first information and performs a first verification to pair with the water heater; the first information includes the device information of the water heater connected to the routing device, and the first verification includes determining whether the first information matches the main device information.
[0009] In one embodiment, the first communication connection is a WIFI hotspot connection, and the process of establishing the first communication connection between the first remote control terminal and the water heater includes: the first remote control terminal waits for access in AP mode; the first remote control terminal establishes a first communication connection with the water heater after being accessed by the water heater; the water heater obtains the first signal strength, determines the target first remote control terminal based on the first signal strength, and accesses the target first remote control terminal in STA mode, and the first signal strength is the signal strength of the first remote control terminal in AP mode.
[0010] In one embodiment, when the first remote control terminal establishes a first communication connection with multiple water heaters, the step of using the device information sent by the water heater as the main device information includes: the first remote control terminal responds to a selection instruction and uses the device information sent by the water heater corresponding to the selection instruction among the device information sent by the multiple water heaters as the main device information.
[0011] On the second aspect, another method for pairing a remote control terminal with a water heater described from the remote control terminal side includes: when the first remote control terminal establishes a second communication connection with the second remote control terminal, the first remote control terminal receives the device information of the second remote control terminal, the network configuration information of the routing device, and the device information of the water heater paired with the second remote control terminal, and uses the device information of the water heater paired with the second remote control terminal sent by the second remote control terminal as the main device information; wherein, the first remote control terminal is the remote control terminal to be paired with the water heater, and the second remote control terminal is the remote control terminal paired with the water heater; the first remote control terminal accesses the routing device in STA mode according to the network configuration information of the routing device; after accessing the routing device, the first remote control terminal obtains the second information and performs a second verification to pair with the water heater; wherein, the second information includes the device information of the water heater connected to the routing device, and the second verification includes determining whether the second information matches the main device information.
[0012] In one embodiment, the second communication connection is a WIFI hotspot connection, and the process of establishing the second communication connection between the second remote control terminal and the first remote control terminal includes: the first remote control terminal waits for access in AP mode; the first remote control terminal establishes a second communication connection with the second remote control terminal after being accessed by the second remote control terminal; the second remote control terminal obtains the first signal strength, determines the target first remote control terminal based on the first signal strength, and accesses the target first remote control terminal in STA mode, where the first signal strength is the signal strength of the first remote control terminal in AP mode.
[0013] In one embodiment, there are multiple first remote control terminals waiting for access in AP mode, and the second communication connection is a WIFI hotspot connection. The process of the second remote control terminal establishing the second communication connection with the first remote control terminal includes: each first remote control terminal waits for access in AP mode; each first remote control terminal establishes a second communication connection with the second remote control terminal after being accessed by the second remote control terminal; the second remote control terminal obtains each first signal strength, determines the target first remote control terminal according to each first signal strength, and accesses each target first remote control terminal in STA mode in order of the first signal strength from strong to weak, so as to establish a second communication connection with each target first remote control terminal, and the first signal strength is the signal strength of the first remote control terminal in AP mode.
[0014] On the third aspect, a method for pairing a remote control terminal with a water heater is described from the water heater side, comprising: when the water heater establishes a first communication connection with the first remote control terminal, sending the device information of the water heater and the network configuration information of the routing device to the first remote control terminal, and receiving the device information of the first remote control terminal sent by the first remote control terminal; wherein, the first remote control terminal is the remote control terminal to be paired with the water heater; the water heater accesses the routing device in STA mode; after the water heater is connected to the routing device, it obtains third information and performs a third verification to pair with the first remote control terminal; wherein, the third information includes the device information of the first remote control terminal accessed to the routing device, and the third verification includes determining whether the third information matches the device information of the first remote control terminal sent by the first remote control terminal.
[0015] In a fourth aspect, a method for pairing a remote control terminal with a water heater is described based on the interaction between the water heater and the remote control terminal, including: when the water heater establishes a first communication connection with the first remote control terminal, the water heater sends the device information of the water heater and the network configuration information of the routing device to the first remote control terminal, and the first remote control terminal sends the device information of the first remote control terminal to the water heater, and uses the device information sent by the water heater as the main device information; wherein, the first remote control terminal is the remote control terminal to be paired with the water heater; the first remote control terminal obtains the first information and performs a first verification after accessing the routing device in STA mode according to the network configuration information of the routing device, and the water heater obtains the third information and performs a third verification after accessing the routing device in STA mode; wherein, the first information includes the device information of the water heater connected to the routing device, the first verification includes determining whether the first information matches the main device information, the third information includes the device information of the first remote control terminal connected to the routing device, and the third verification includes determining whether the third information matches the device information sent by the first remote control terminal; after both the first verification and the third verification are passed, the water heater is paired with the first remote control terminal.
[0016] In the fifth aspect, a method for pairing a remote control terminal with a water heater is described based on the interaction between the water heater and the remote control terminal, including: when the second remote control terminal establishes a second communication connection with the first remote control terminal, the second remote control terminal sends the device information of the second remote control terminal, the network configuration information of the routing device, and the device information of the water heater that has been paired with the second remote control terminal to the first remote control terminal; wherein the first remote control terminal is the remote control terminal to be paired with the water heater, the second remote control terminal is the remote control terminal that has been paired with the water heater, and the water heater is connected to the routing device in STA mode; the first remote control terminal uses the device information of the water heater that has been paired with the second remote control terminal sent by the second remote control terminal as the main Device information, and obtains second information and performs a second verification after accessing the routing device in STA mode according to the network configuration information of the routing device, and the water heater obtains fourth information and performs a fourth verification; wherein, the second information includes the device information of the water heater connected to the routing device, the second verification includes determining whether the second information matches the main device information, the fourth information includes the device information of the second remote control terminal sent by the first remote control terminal connected to the routing device, the fourth verification includes determining whether the fourth information matches the pairing set of the water heater, and the pairing set includes the device information of the second remote control terminal corresponding to the water heater; after the second verification and the fourth verification are passed, the water heater is paired with the first remote control terminal.
[0017] The second technical problem mentioned above is solved by the following technical solution:
[0018] A remote control terminal includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, it is used to implement the steps of the pairing method between the remote control terminal and the water heater in the embodiments of the first and second aspects.
[0019] The third technical problem mentioned above is solved by the following technical solution:
[0020] A water heater, wherein a memory stores a computer program, and a processor executes the computer program to implement the steps of the method for pairing a remote control terminal with a water heater in the embodiment of the third aspect.
[0021] Any of the above embodiments can achieve: the remote control terminal does not require the assistance of additional communication equipment during the pairing process with the water heater, and the user is also spared the complicated process of entering the network configuration information of the routing device, which greatly speeds up the pairing speed of the remote control terminal and the water heater and improves the pairing success rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the conventional technology, the following briefly introduces the drawings required for use in the embodiments or the conventional technology descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 is a flow chart of a method for pairing a remote control terminal with a water heater in one embodiment;
[0024] Figure 2 is a flow chart of a method for pairing a remote control terminal with a water heater in another embodiment;
[0025] Figure 3 is a flow chart of a method for pairing a remote control terminal with a water heater in yet another embodiment;
[0026] Figure 4 is a flow chart of a method for pairing a remote control terminal with a water heater in yet another embodiment;
[0027] Figure 5 A schematic diagram of a process for establishing a second communication connection between a first remote control terminal and a second remote control terminal in one embodiment;
[0028] Figure 6 is a flow chart of a method for pairing a remote control terminal with a water heater in another embodiment;
[0029] Figure 7 is a flow chart of a method for pairing a remote control terminal with a water heater in yet another embodiment;
[0030] Figure 8 is a flow chart of a method for pairing a remote control terminal with a water heater in yet another embodiment;
[0031] Figure 9 is a schematic diagram of a remote control terminal in one embodiment;
[0032] Figure 10 Schematic diagram of a water heater in one embodiment. DETAILED DESCRIPTION
[0033] To facilitate understanding of the present application, the present application will be described more fully below with reference to the accompanying drawings. The accompanying drawings provide examples of the present application. However, the present application may be implemented in many different forms and is not limited to the examples described herein. Rather, these examples are provided to make the disclosure of the present application more thorough and comprehensive.
[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application pertains. The terms used herein in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application.
[0035] It will be understood that the terms "first," "second," etc. used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element.
[0036] Spatially relative terms such as "under," "beneath," "beneath," "under," "above," "above," etc., may be used herein to describe the relationship of an element or feature shown in the figures to other elements or features. It should be understood that in addition to the orientations shown in the figures, spatially relative terms also include different orientations of the device in use and operation. For example, if the device in the drawings is turned over, the element or feature described as "under" or "beneath" or "beneath" the other elements will be oriented as "above" the other elements or features. Thus, the exemplary terms "under" and "under" can include both upper and lower orientations. In addition, the device can also include alternative orientations (e.g., rotated 90 degrees or other orientations), and the spatial descriptors used herein are interpreted accordingly.
[0037] It should be noted that when an element is considered to be "connected" to another element, it can be directly connected to the other element or connected to the other element through an intervening element. In addition, the "connection" in the following embodiments should be understood as "electrical connection", "communication connection", etc., if there is transmission of electrical signals or data between the connected objects.
[0038] As used herein, the singular forms "a," "an," and "the" may also include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include," "comprising," "having," and the like specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Furthermore, the term "and / or" as used in this specification includes any and all combinations of the relevant listed items.
[0039] The remote control terminal involved in this application can be any type of terminal device that can control a water heater, such as a bathroom controller, a mobile terminal, etc. In order to facilitate the user to control the water heater, a corresponding control APP can also be configured on the remote control terminal. In order for the remote control terminal to control a specific water heater, it is necessary to first pair the remote control terminal with the water heater. Research has found that the current pairing method between water heaters and remote control terminals on the market is relatively cumbersome and has a low success rate. User pairing generally requires operating the product and the mobile phone APP, and it takes about 2 minutes to complete the pairing. Incorrect pairing steps during the process will lead to pairing failure.
[0040] Based on the above reasons, the present invention provides a method for pairing a remote control terminal with a water heater. Figure 1 First, the pairing method between the remote control terminal and the water heater is described from the remote control terminal side, including step S102 and step S104.
[0041] S102, when establishing a first communication connection with the water heater, the first remote control terminal sends the device information of the first remote control terminal to the water heater, receives the device information sent by the water heater and the network configuration information of the routing device, and uses the device information sent by the water heater as the main device information.
[0042] The first remote control terminal is the remote control terminal to be paired with the water heater. It is understood that the first communication connection can be a common wireless communication connection method such as WiFi, Bluetooth, or LoRa. Both the water heater and the remote control terminal are equipped with a WiFi module, which can be set to AP (Access Point) mode or STA (Station) mode. When the water heater or remote control terminal is in AP mode, devices equipped with a WiFi module can access the water heater or remote control terminal in STA mode. When the water heater or remote control terminal is in STA mode, the water heater or remote control terminal can also access devices in AP mode. To facilitate the water heater to record and verify the identity of the first remote control terminal, when the water heater and the first remote control terminal establish a first communication connection, the first remote control terminal sends its device information to the water heater. Since the water heater is already connected to a routing device, the routing device's network configuration information (such as the routing device's name, account number, and password) is stored in the water heater. To avoid the user having to use a mobile phone or other device to enter the routing device's network configuration information into the first remote control terminal, the first remote control terminal can automatically receive the routing device's network configuration information sent by the water heater. Similarly, to facilitate recording and verifying the identity of the water heater to be paired, when the water heater establishes a first communication connection with the first remote control terminal, the first remote control terminal receives the device information of the water heater sent by the water heater and uses the received device information of the water heater as the master device information. The first remote control terminal can then verify the identity of the water heater using the master device information.
[0043] S104: The first remote control terminal accesses the routing device in STA mode according to the network configuration information of the routing device.
[0044] It is understood that devices in STA mode can access the router using the router's network configuration information. Devices connected to the router can interact with each other using the local area network. If the router is connected to the internet, devices connected to the router can also interact with the cloud.
[0045] S106: After accessing the routing device, the first remote control terminal obtains first information and performs a first verification to pair with the water heater.
[0046] Among them, the first information includes the device information of the water heater connected to the routing device, and the first verification includes determining whether the first information matches the main device information. It can be understood that the remote control terminal and the water heater need to verify each other, and the pairing is successful after the verifications performed by both parties are passed. Since the water heater connected to the routing device and the water heater that establishes the first communication connection with the first remote control terminal may be different, the first remote control terminal needs to perform the first verification. In the case where the routing device is only connected to one water heater, the water heater connected to the routing device sends its own device information to the first remote control terminal through the transit of the routing device. The first remote control terminal verifies whether the device information of the water heater obtained through the transit of the routing device matches the main device information. If they match, the first verification performed by the first remote control terminal passes.
[0047] In the case where the routing device is connected to multiple water heaters, each water heater connected to the routing device sends its own device information to the first remote control terminal through the routing device. The first remote control terminal verifies whether there is one of the device information of the multiple water heaters obtained through the routing device that matches the main device information. If there is a match, the first verification performed by the first remote control terminal is successful.
[0048] After being connected to the routing device, the water heater can also send its own device information to the routing device. The routing device stores the device information of the water heater. The first information obtained by the first remote control terminal can also be read from the routing device.
[0049] Based on the pairing method of the remote control terminal and the water heater in this embodiment, the first remote control terminal to be paired with the water heater establishes a first communication connection with the water heater that has been connected to the routing device to interact with the water heater and obtain the network configuration information of the routing device required to access the routing device. The first remote control terminal and the water heater further exchange information for identity authentication for subsequent pairing verification. The first remote control terminal can access the routing device using the obtained network configuration information of the routing device and perform a first verification to attempt to pair with the water heater connected to the routing device. The remote control terminal does not require the assistance of additional communication equipment in the process of pairing with the water heater, and the user is also exempted from the complicated process of entering the network configuration information of the routing device, which greatly speeds up the pairing speed of the remote control terminal and the water heater and improves the pairing success rate.
[0050] In one embodiment, the first communication connection is a WIFI hotspot connection, see Figure 2 The method for pairing the remote control terminal with the water heater includes steps S202 to S210.
[0051] S202: The first remote control terminal waits for access in AP mode.
[0052] It can be understood that the first remote control terminal sets the WiFi module to AP mode and transmits a WiFi signal to wait for the device to access.
[0053] S204: After being connected to the water heater, the first remote control terminal establishes a first communication connection with the water heater.
[0054] The water heater obtains a first signal strength, identifies the target first remote terminal based on the first signal strength, and then connects to the target first remote terminal in STA mode. The first signal strength is the signal strength of the first remote terminal in AP mode. Specifically, the water heater obtains the strength of the WiFi signal transmitted by the first remote terminal in AP mode. If the first signal strength meets the communication requirements, the water heater determines that the first remote terminal corresponding to the first signal strength is the target first remote terminal. For example, the communication requirements may be considered met if the first signal strength exceeds a first threshold. To save energy, the water heater may obtain the first signal strength at preset intervals. To speed up the communication connection, the water heater may continuously obtain the first signal strength and connect to the target first remote terminal as soon as it is identified. If the water heater is currently connected to the routing device in STA mode, it should exit the routing device and connect to the target first remote terminal in STA mode. After connecting to the target first remote terminal in STA mode, the water heater establishes a first communication connection with the target first remote terminal.
[0055] S206, when the first remote control terminal establishes a first communication connection with the water heater, the first remote control terminal sends the device information of the first remote control terminal to the water heater, and receives the device information sent by the water heater and the network distribution information of the routing device, and uses the device information sent by the water heater as the main device information.
[0056] Step S206 is the same as step S102 and reference may be made to the above.
[0057] S208: The first remote control terminal accesses the routing device in STA mode according to the network configuration information of the routing device.
[0058] It can be understood that after establishing the first communication connection with the water heater and completing the interaction, the first remote control terminal will switch the mode of the WiFi module from AP mode to STA mode and access the routing device in STA mode.
[0059] S210: After accessing the routing device, the first remote control terminal obtains first information and performs a first verification to pair with the water heater.
[0060] Step S210 is the same as step S106 , and reference may be made to the above.
[0061] In one embodiment, when a first remote control terminal establishes a first communication connection with multiple water heaters, the step of using device information transmitted by the water heaters as primary device information includes: the first remote control terminal responding to a selection instruction and using the device information transmitted by the water heater corresponding to the selection instruction as the primary device information. It is understood that multiple water heaters may be within the signal coverage range of the first remote control terminal, and therefore, accessing the first remote control terminal requires determining one of the multiple water heaters with which the first communication connection has been established as a subsequent pairing target. In this embodiment, the first remote control terminal responds to the selection instruction and uses the device information transmitted by the water heater corresponding to the selection instruction as the primary device information, and subsequently uses the water heater corresponding to the selection instruction as the pairing target. Specifically, the selection instruction can be generated by a user operating the first remote control terminal. When the first remote control terminal establishes a first communication connection with multiple water heaters, the first remote control terminal displays the device information of each water heater on a display device. The user can select a pairing target for the first remote control terminal based on the content displayed on the display device. The first remote control terminal generates the selection instruction based on the user's operation.
[0062] See also Figure 3 The embodiment of the present invention further proposes a method for pairing an unpaired remote control terminal with a water heater through a paired remote control terminal. The method is described from the remote control terminal side and includes steps S302 to S306.
[0063] S302, when the first remote control terminal establishes a second communication connection with the second remote control terminal, receives the device information of the second remote control terminal, the network configuration information of the routing device, and the device information of the water heater paired with the second remote control terminal sent by the second remote control terminal, and uses the device information of the water heater paired with the second remote control terminal sent by the second remote control terminal as the main device information.
[0064] The first remote control terminal is the remote control terminal to be paired with the water heater, and the second remote control terminal is the remote control terminal already paired with the water heater. It is understood that the second communication connection can be a common wireless communication connection method such as WiFi, Bluetooth, or LoRa. The second remote control terminal has already been paired with the water heater and therefore stores the network configuration information of the routing device. To eliminate the need for the user to input the routing device network configuration information into the first remote control terminal using a mobile phone or other device, the first remote control terminal can automatically receive the routing device network configuration information sent by the second remote control terminal. Furthermore, since the first remote control terminal is to be paired with the water heater corresponding to the second remote control terminal, the first remote control terminal is equivalent to a subordinate device of the second remote control terminal. Therefore, the device information of the water heater already paired with the second remote control terminal is required to verify whether the water heater to be paired with it is the water heater paired with its superior. Furthermore, when verifying the identity of the first remote control terminal being paired through the second remote control terminal, the water heater needs to ensure that the superior of the first remote control terminal is a remote control terminal with which it has already been paired. Therefore, the first remote terminal also needs to receive the device information of the second remote control terminal sent by the second remote control terminal in order to verify the identity of the first remote control terminal.
[0065] S304: The first remote control terminal accesses the routing device in STA mode according to the network configuration information of the routing device.
[0066] S306: After accessing the routing device, the first remote control terminal obtains second information and performs a second verification to pair with the water heater.
[0067] Among them, the second information includes the device information of the water heater connected to the routing device, and the second verification includes determining whether the second information matches the main device information. It can be understood that the remote control terminal and the water heater need to verify each other, and the pairing is successful after the verifications performed by both parties are passed. Since the water heater connected to the routing device and the water heater paired with the superior of the first remote control terminal may be different, the first remote control terminal needs to perform a second verification. In the case where there is only one water heater connected to the routing device, the water heater connected to the routing device sends its own device information to the first remote control terminal through the transit of the routing device. The first remote control terminal verifies whether the device information of the water heater obtained through the transit of the routing device matches the main device information. If they match, the second verification performed by the first remote control terminal passes.
[0068] In the case where the routing device is connected to multiple water heaters, each water heater connected to the routing device sends its own device information to the first remote control terminal through the relay of the routing device. The first remote control terminal verifies whether there is one of the device information of the multiple water heaters obtained through the relay of the routing device that matches the main device information. If there is a match, the second verification performed by the first remote control terminal passes.
[0069] After being connected to the routing device, the water heater can also send its own device information to the routing device. The routing device stores the device information of the water heater. The first information obtained by the first remote control terminal can also be read from the routing device.
[0070] Based on the pairing method of the remote control terminal and the water heater in this embodiment, the first remote control terminal to be paired with the water heater and the second remote control terminal that has been paired with the water heater establish a second communication connection to interact with the second remote control terminal to obtain the network configuration information of the routing device required to access the routing device. The first remote control terminal and the second remote control terminal further exchange information for identity authentication for subsequent pairing verification. The first remote control terminal can access the routing device using the obtained network configuration information of the routing device and perform a second verification to attempt to pair with the water heater connected to the routing device. The remote control terminal does not require the assistance of additional communication equipment in the process of pairing with the water heater, and the user is also exempted from the complicated process of entering the network configuration information of the routing device, which greatly speeds up the pairing speed of the remote control terminal and the water heater and improves the pairing success rate.
[0071] In one embodiment, the second communication connection is a WIFI hotspot connection, see Figure 4 The method for pairing the remote control terminal with the water heater includes steps S402 to S410.
[0072] S402: The first remote control terminal waits for access in AP mode.
[0073] Step S402 is similar to step S202 and can be referred to above.
[0074] S404: After being accessed by the second remote control terminal, the first remote control terminal establishes a second communication connection with the second remote control terminal.
[0075] The second remote control terminal obtains a first signal strength, identifies the target first remote control terminal based on the first signal strength, and then connects to the target first remote control terminal in STA mode. The first signal strength is the signal strength of the first remote control terminal in AP mode. Specifically, the second remote control terminal obtains the strength of the WiFi signal transmitted by the first remote control terminal in AP mode. If the first signal strength meets the communication requirements, the second remote control terminal determines that the first remote control terminal corresponding to the first signal strength is the target first remote control terminal. For example, the communication requirements can be considered met if the first signal strength exceeds a second threshold. It is worth noting that the selection of the first and second thresholds can be determined based on the model and characteristics of the WiFi modules of the second remote control terminal and the water heater. If the WiFi modules of the second remote terminal and the water heater are the same, the first threshold is equal to the second threshold. If the WiFi modules of the second remote terminal and the water heater are different, the corresponding thresholds can also be selected based on the signal strength requirements of their respective WiFi modules. To save energy, the second remote control terminal can obtain the first signal strength at preset intervals. To speed up the communication connection, the second remote terminal can continuously obtain the first signal strength and connect to the target first remote terminal as soon as it is identified. If the second remote control terminal is currently accessing the routing device in STA mode, it should exit the routing device and then access the target first remote control terminal in STA mode. After the second remote control terminal accesses the target first remote control terminal in STA mode, the second remote control terminal establishes a second communication connection with the target first remote control terminal.
[0076] S406, when the first remote control terminal establishes a second communication connection with the second remote control terminal, receives the device information of the second remote control terminal, the network configuration information of the routing device, and the device information of the water heater paired with the second remote control terminal sent by the second remote control terminal, and uses the device information of the water heater paired with the second remote control terminal sent by the second remote control terminal as the main device information.
[0077] Step S406 is the same as step S302 and can be referred to above.
[0078] S408: The first remote control terminal accesses the routing device in STA mode according to the network configuration information of the routing device.
[0079] It can be understood that after establishing the second communication connection with the second remote control terminal and completing the interaction, the first remote control terminal will switch the mode of the WiFi module from AP mode to STA mode and access the routing device in STA mode.
[0080] S410: After accessing the routing device, the first remote control terminal obtains second information and performs a second verification to pair with the water heater.
[0081] Step S410 is the same as step S306 , and reference may be made to the above.
[0082] In one embodiment, there are multiple first remote control terminals waiting for access in AP mode, and the second communication connection is a WIFI hotspot connection. Figure 5 The process of establishing the second communication connection between the second remote control terminal and the first remote control terminal includes steps S502 to S504.
[0083] S502: Each first remote control terminal waits for access in AP mode.
[0084] Step S502 is similar to step S202 and can be referred to above.
[0085] S504: After being accessed by the second remote control terminal, each first remote control terminal establishes a second communication connection with the second remote control terminal.
[0086] The second remote control terminal obtains each first signal strength, determines a target first remote control terminal based on each first signal strength, and sequentially connects to each target first remote control terminal in STA mode in descending order of first signal strength, thereby establishing a second communication connection with each target first remote control terminal. The first signal strength is the signal strength of the first remote control terminal in AP mode. Step S504 is similar to step S404 and may be referred to above. The difference is that in this embodiment, there are multiple target first remote control terminals. The second remote control terminal establishes a second communication connection starting with the target first remote control terminal with the strongest first signal strength. After the second remote terminal completes interaction with the established second communication connection (i.e., receives information sent by the first remote control terminal), it disconnects the current second communication connection and establishes and interacts with the target first remote control terminal with the strongest first signal strength among those with which a second communication connection has not been established. This process is repeated until all target first remote control terminals have established and interacted with the second remote control terminal.
[0087] See also Figure 6 A method for pairing a remote control terminal with a water heater described from the water heater side includes steps S602 to S606.
[0088] S602: When the water heater establishes a first communication connection with the first remote control terminal, the device information of the water heater and the network configuration information of the routing device are sent to the first remote control terminal, and the device information of the first remote control terminal is received from the first remote control terminal.
[0089] The first remote control terminal is the remote control terminal to be paired with the water heater. Step S602 is similar to step S102, and reference may be made to the above.
[0090] S604: The water heater is connected to the routing device in STA mode.
[0091] It can be understood that the water heater accesses the routing device in STA mode after disconnecting the first communication connection with the first remote control terminal.
[0092] S606: After the water heater is connected to the routing device, it obtains third information and performs a third verification to pair with the first remote control terminal.
[0093] Among them, the third information includes the device information of the first remote control terminal connected to the routing device, and the third verification includes determining whether the third information matches the device information of the first remote control terminal sent by the first remote control terminal. It can be understood that the remote control terminal and the water heater need to verify each other, and the pairing is successful after the verifications performed by both parties are passed. Since the first remote control terminal connected to the routing device and the first remote control terminal that has established a first communication connection with the water heater may be different, the water heater needs to perform a first verification. In the case where the routing device is only connected to one first remote control terminal, the first remote control terminal connected to the routing device sends its own device information to the water heater through the transit of the routing device. The water heater verifies whether the device information of the first remote control terminal obtained through the transit of the routing device matches the first remote control terminal sent by the first remote control terminal that has established a first communication connection with the water heater. If they match, the third verification performed by the water heater passes.
[0094] In the case where the routing device is connected to multiple first remote control terminals, each first remote control terminal connected to the routing device sends its own device information to the water heater through the transit of the routing device. The water heater verifies whether there is one of the device information of the multiple first remote control terminals obtained through the transit of the routing device that matches the device information of the first remote control terminal sent by the first remote control terminal. If there is a match, the third verification performed by the water heater passes.
[0095] After being connected to the routing device, the first remote control terminal can also send its own device information to the routing device. The routing device stores the device information of the first remote control terminal. The third information obtained by the water heater can also be read from the routing device.
[0096] Based on the pairing method of the remote control terminal and the water heater in this embodiment, the water heater that has been connected to the routing device establishes a first communication connection with the first remote control terminal to interact with the first remote control terminal and send the first remote control terminal the routing device's network configuration information required to access the routing device. The first remote control terminal and the water heater further exchange information for identity authentication for subsequent pairing verification. After completing the interaction with the first remote control terminal, the water heater connects to the routing device and performs a third verification to attempt to pair with the first remote control terminal connected to the routing device. The remote control terminal does not require the assistance of additional communication equipment in the process of pairing with the water heater, and the user is also spared the complicated process of entering the routing device's network configuration information, which greatly speeds up the pairing speed of the remote control terminal and the water heater and improves the pairing success rate.
[0097] In one embodiment, when the water heater establishes a first communication connection with the first remote control terminal, the water heater also sends its key information to the first remote control terminal. The third information also includes the key information of the first remote control terminal connected to the routing device. The third verification also includes determining whether the key information in the third information matches the key information of the water heater. It will be appreciated that to enhance pairing security, this embodiment incorporates a key mechanism into the pairing process. Each water heater has a corresponding key information, and only the first remote control terminal holding the key information corresponding to the water heater can pair with the water heater. Therefore, during the third verification, the water heater also needs to determine whether the key information sent by the first remote control terminal via the routing device matches the water heater's own key information. The third verification only succeeds if both the key information and the device information in step S606 match. Similarly, after introducing the key mechanism, step S302 or step S406 should be adaptively modified as follows: when the second remote control terminal establishes a second communication connection with the first remote control terminal, the first remote terminal receives, from the second remote terminal, the device information of the second remote terminal, the network configuration information of the routing device, the device information of the water heater paired with the second remote terminal, and the key information of the water heater paired with the second remote terminal.
[0098] See also Figure 7 A method for pairing a remote control terminal with a water heater, described based on the interaction between the water heater and the remote control terminal, includes steps S702 to S710.
[0099] S702: When the water heater establishes a first communication connection with the first remote control terminal, the water heater sends device information of the water heater and network configuration information of the routing device to the first remote control terminal.
[0100] The first remote control terminal is a remote control terminal to be paired with the water heater.
[0101] S704: When the water heater establishes a first communication connection with the first remote control terminal, the first remote control terminal sends the device information of the first remote control terminal to the water heater, and uses the device information sent by the water heater as the main device information.
[0102] For instructions on steps S702 and S704, refer to the instructions on step S102. There is no restriction on the sequence of steps S702 and S704. For example, after the first remote control terminal sends the water heater its device information, the water heater may then send back its device information and the routing device's network configuration information to the first remote control terminal. Alternatively, after the first communication connection is established, both parties may proactively send information.
[0103] S706: The water heater is connected to the routing device in STA mode, obtains the third information, and performs a third verification.
[0104] The third information includes the device information of the remote control terminal connected to the routing device, and the third verification includes determining whether the third information matches the device information sent by the first remote control terminal. For step S706, please refer to the description of step S606.
[0105] S708: The first remote control terminal accesses the routing device in STA mode according to the network configuration information of the routing device, obtains first information, and performs a first verification.
[0106] The first information includes device information of the water heater connected to the routing device, and the first verification includes determining whether the first information matches the main device information. For step S708, please refer to the description of step S106.
[0107] S710: After the first verification and the third verification are both passed, the water heater is paired with the first remote control terminal.
[0108] It is understood that after the water heater is paired with the first remote control terminal, the cloud or routing device can complete the binding between the paired water heater and the first remote control terminal. That is, the routing device or cloud will forward the control instructions issued by the remote control terminal only to the water heater paired with the remote control terminal, and the routing device or cloud will also forward the operating status information feedback from the water heater only to the remote control terminal paired with the water heater.
[0109] Based on the pairing method of the remote control terminal and the water heater in this embodiment, a water heater that has been connected to the routing device establishes a first communication connection with the first remote control terminal to be paired with the water heater, and the water heater interacts with the first remote control terminal. The water heater sends the network configuration information of the routing device required to access the routing device to the first remote control terminal. The first remote control terminal and the water heater further exchange information for identity authentication for subsequent pairing verification. After completing the interaction with the water heater, the first remote control terminal accesses the routing device and performs the first verification. After completing the interaction with the first remote control terminal, the water heater accesses the routing device and performs the third verification. When both the first and third verifications are passed, the pairing of the first remote control terminal and the water heater is completed. The remote control terminal does not require the assistance of additional communication equipment in the process of pairing with the water heater, and the user is also exempted from the complicated process of entering the network configuration information of the routing device, which greatly speeds up the pairing speed of the remote control terminal and the water heater and improves the pairing success rate.
[0110] See also Figure 8 A method for pairing a remote control terminal with a water heater, described based on the interaction between the water heater and the remote control terminal, includes steps S802 to S808.
[0111] S802, when the second remote control terminal establishes a second communication connection with the first remote control terminal, the second remote control terminal sends the device information of the second remote control terminal, the network configuration information of the routing device, and the device information of the water heater paired with the second remote control terminal to the first remote control terminal.
[0112] The first remote control terminal is the remote control terminal to be paired with the water heater, the second remote control terminal is the remote control terminal that has been paired with the water heater, and the water heater is connected to the routing device in STA mode. For step S802, please refer to the description of step S302.
[0113] S804, the first remote control terminal uses the device information of the water heater paired with the second remote control terminal sent by the second remote control terminal as the main device information, and obtains the second information and performs a second verification after accessing the routing device in STA mode according to the network configuration information of the routing device.
[0114] The second information includes device information of the water heater connected to the routing device, and the second verification includes determining whether the second information matches the main device information sent by the second remote control terminal. For step S804, please refer to the description of step S306.
[0115] S806: The water heater obtains fourth information and performs fourth verification.
[0116] The fourth information includes the device information of the second remote control terminal sent by the first remote control terminal connected to the routing device. The fourth verification includes determining whether the fourth information matches the pairing set of the water heater, where the pairing set includes the device information of the second remote control terminal corresponding to the water heater. It can be understood that since the first remote control terminal connected to the routing device is not necessarily a subordinate of the remote control terminal that has been paired with the water heater, the fourth verification is required. In the case where the routing device is only connected to one first remote control terminal, the first remote control terminal connected to the routing device sends its own superior device information to the water heater through the routing device. The water heater determines whether the superior device information of the first remote control terminal matches an item in the pairing set. If there is a match, the fourth verification performed by the water heater passes.
[0117] In the case where the routing device is connected to multiple water heaters, the first remote control terminal of each connected routing device sends its own superior device information to the water heater through the routing device. The water heater verifies whether there is any device information obtained through the routing device that matches the pairing set. If there is a match, the fourth verification performed by the water heater passes.
[0118] S808: After the second verification and the fourth verification are both passed, the water heater is paired with the first remote control terminal.
[0119] It is understood that after the water heater is paired with the first remote control terminal, the water heater will add the device information of the newly paired first remote control terminal to the pairing set, allowing the newly paired first remote control terminal to serve as the second remote control terminal and become the superior of other first remote control terminals. After the water heater is paired with the first remote control terminal, the paired water heater and the first remote control terminal can be bound in the cloud or on a routing device. That is, the routing device or cloud will forward control commands issued by the remote control terminal only to the water heater paired with the remote control terminal, and the routing device or cloud will also forward operating status information feedback from the water heater only to the remote control terminal paired with the water heater.
[0120] Based on the pairing method of the remote control terminal and the water heater in this embodiment, the second remote control terminal that has been paired with the water heater establishes a second communication connection with the first remote control terminal to be paired with the water heater, and the first remote control terminal and the second remote control terminal interact. The second remote control terminal sends the network configuration information of the routing device required to access the routing device to the first remote control terminal. The second remote control terminal and the first remote control terminal further exchange information for identity authentication for subsequent pairing verification. After completing the interaction with the second remote control terminal, the first remote control terminal accesses the routing device and performs the second verification. After completing the interaction with the first remote control terminal, the water heater accesses the routing device and performs the fourth verification. If both the second and fourth verifications are passed, the pairing of the first remote control terminal and the water heater is completed. The remote control terminal does not require the assistance of additional communication equipment in the process of pairing with the water heater, and the user is also exempted from the complicated process of entering the network configuration information of the routing device, which greatly speeds up the pairing speed of the remote control terminal and the water heater and improves the pairing success rate.
[0121] It should be understood that although Figures 1 to 8 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figures 1 to 8 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The order of execution of these steps or stages is not necessarily one by one, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0122] See also Figure 9 The embodiment of the present invention further provides a remote control terminal, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of any embodiment of the method for pairing a remote control terminal with a water heater, which is implemented by the remote control terminal. It can be understood that Figure 9 The remote control terminal shown in the figure is a bathroom controller fixed on the wall, but it can actually be a mobile terminal (such as a mobile phone, tablet computer, etc.), a remote control, etc.
[0123] See also Figure 10 A water heater includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, it is used to implement the steps in any embodiment of the pairing method between a remote control terminal and a water heater with the water heater as the implementation subject.
[0124] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0125] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0126] The above embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A method for pairing a remote control terminal with a water heater, characterized in that: include: When a first communication connection is established with the water heater, the first remote control terminal sends device information of the first remote control terminal to the water heater, receives device information and network configuration information of the routing device sent by the water heater, and uses the device information sent by the water heater as master device information; wherein the first remote control terminal is a remote control terminal to be paired with the water heater; wherein the first remote control terminal is any terminal device capable of controlling the water heater; The first remote control terminal accesses the routing device in STA mode according to the network configuration information of the routing device; After accessing the routing device, the first remote control terminal obtains first information and performs a first verification to pair with the water heater; the first information includes device information of the water heater connected to the routing device, and the first verification includes determining whether the first information matches the main device information.
2. The method for pairing a remote control terminal with a water heater according to claim 1, characterized in that: The first communication connection is a WIFI hotspot connection, and the process of establishing the first communication connection between the first remote control terminal and the water heater includes: The first remote control terminal waits for access in AP mode; After being connected to the water heater, the first remote control terminal establishes the first communication connection with the water heater; the water heater obtains the first signal strength, determines the target first remote control terminal based on the first signal strength, and accesses the target first remote control terminal in STA mode, and the first signal strength is the signal strength of the first remote control terminal in AP mode.
3. The method for pairing a remote control terminal with a water heater according to claim 1, characterized in that: When the first remote control terminal establishes a first communication connection with the plurality of water heaters, the step of using the device information sent by the water heater as the main device information includes: In response to the selection instruction, the first remote control terminal uses the device information sent by the water heater corresponding to the selection instruction as the main device information among the device information sent by the plurality of water heaters.
4. A method for pairing a remote control terminal with a water heater, characterized in that: include: When establishing a second communication connection with a second remote control terminal, the first remote control terminal receives device information of the second remote control terminal, network configuration information of the routing device, and device information of the water heater paired with the second remote control terminal, sent by the second remote control terminal, and uses the device information of the water heater paired with the second remote control terminal sent by the second remote control terminal as master device information; wherein the first remote control terminal is the remote control terminal to be paired with the water heater, and the second remote control terminal is the remote control terminal paired with the water heater; wherein the first remote control terminal is any terminal device capable of controlling the water heater; The first remote control terminal accesses the routing device in STA mode according to the network configuration information of the routing device; After accessing the routing device, the first remote control terminal obtains second information and performs a second verification to pair with the water heater; wherein, the second information includes device information of the water heater connected to the routing device, and the second verification includes determining whether the second information matches the main device information.
5. The method for pairing a remote control terminal with a water heater according to claim 4, characterized in that: The second communication connection is a WIFI hotspot connection, and the process of establishing the second communication connection between the second remote control terminal and the first remote control terminal includes: The first remote control terminal waits for access in AP mode; After being accessed by the second remote control terminal, the first remote control terminal establishes the second communication connection with the second remote control terminal; the second remote control terminal obtains the first signal strength, determines the target first remote control terminal based on the first signal strength, and accesses the target first remote control terminal in STA mode, and the first signal strength is the signal strength of the first remote control terminal in AP mode.
6. The method for pairing a remote control terminal with a water heater according to claim 4, characterized in that: There are multiple first remote control terminals waiting for access in AP mode, the second communication connection is a WIFI hotspot connection, and the process of establishing the second communication connection between the second remote control terminal and the first remote control terminal includes: Each of the first remote control terminals waits for access in AP mode; After being accessed by the second remote control terminal, each first remote control terminal establishes the second communication connection with the second remote control terminal; the second remote control terminal obtains each first signal strength, determines the target first remote control terminal based on each first signal strength, and accesses each target first remote control terminal in STA mode in descending order of the first signal strength, so as to establish the second communication connection with each target first remote control terminal, where the first signal strength is the signal strength of the first remote control terminal in AP mode.
7. A method for pairing a remote control terminal with a water heater, characterized in that: include: When a first communication connection is established between the water heater and a first remote control terminal, the device information of the water heater and the network configuration information of the routing device are sent to the first remote control terminal, and the device information of the first remote control terminal sent by the first remote control terminal is received; wherein the first remote control terminal is a remote control terminal to be paired with the water heater; wherein the first remote control terminal is any terminal device capable of controlling the water heater; The water heater is connected to the routing device in STA mode; After the water heater is connected to the routing device, it obtains third information and performs a third verification to pair with the first remote control terminal; wherein, the third information includes the device information of the first remote control terminal connected to the routing device, and the third verification includes determining whether the third information matches the device information sent by the first remote control terminal to the first remote control terminal.
8. A method for pairing a remote control terminal with a water heater, characterized in that: include: When a first communication connection is established between the water heater and a first remote control terminal, the water heater sends device information of the water heater and network configuration information of a routing device to the first remote control terminal. The first remote control terminal sends the device information of the first remote control terminal to the water heater and uses the device information sent by the water heater as the master device information. The first remote control terminal is a remote control terminal to be paired with the water heater. The first remote control terminal is any terminal device capable of controlling the water heater. The first remote control terminal obtains first information and performs a first verification after accessing the routing device in STA mode according to the network configuration information of the routing device; the water heater obtains third information and performs a third verification after accessing the routing device in STA mode; wherein the first information includes device information of the water heater connected to the routing device, the first verification includes determining whether the first information matches the main device information, the third information includes device information of the first remote control terminal connected to the routing device, and the third verification includes determining whether the third information matches the device information sent by the first remote control terminal; After both the first verification and the third verification are passed, the water heater is paired with the first remote control terminal.
9. A method for pairing a remote control terminal with a water heater, characterized in that: include: When the second remote control terminal establishes a second communication connection with the first remote control terminal, the second remote control terminal sends the device information of the second remote control terminal, the network configuration information of the routing device, and the device information of the water heater paired with the second remote control terminal to the first remote control terminal; wherein the first remote control terminal is the remote control terminal to be paired with the water heater, the second remote control terminal is the remote control terminal paired with the water heater, and the water heater is connected to the routing device in STA mode; wherein the first remote control terminal is any terminal device capable of controlling the water heater; The first remote control terminal uses the device information of the water heater paired with the second remote control terminal and sent by the second remote control terminal as the main device information, and obtains second information and performs a second verification after accessing the routing device in STA mode according to the network configuration information of the routing device, and the water heater obtains fourth information and performs a fourth verification; wherein the second information includes the device information of the water heater connected to the routing device, the second verification includes determining whether the second information matches the main device information, the fourth information includes the device information of the second remote control terminal sent by the first remote control terminal connected to the routing device, and the fourth verification includes determining whether the fourth information matches the pairing set of the water heater, and the pairing set includes the device information of the second remote control terminal corresponding to the water heater; After both the second verification and the fourth verification are passed, the water heater is paired with the first remote control terminal.
10. A remote control terminal, characterized in that: The remote control terminal includes a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the steps of the method for pairing a remote control terminal and a water heater according to any one of claims 1 to 5.
11. A water heater, characterized in that: The water heater includes a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the steps of the method for pairing a remote control terminal with a water heater as claimed in claim 7.
Citation Information
Patent Citations
Control method of water heater
CN112728772A
Binding method and device of intelligent equipment, storage medium and electronic device
CN112737845A