Method for linkage of home devices, electronic device and computer readable storage medium
By establishing binding relationships and linkage links between home devices and using Bluetooth and WiFi for communication, the problem of incorrect device binding is solved, and convenient linkage control is achieved.
Patent Information
- Application Number
- CN202211714283.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2042-12-29
AI Technical Summary
Errors can easily occur during the binding process between multiple similar home appliances, leading to inconvenience in linkage control.
By establishing a binding relationship between the first and second home devices and creating a linkage link based on the binding identification number, communication can be achieved using Bluetooth and WiFi functions, enabling linkage and interaction between devices.
It simplifies the device binding process, reduces errors, and enables flexible and convenient linkage control between devices.
Smart Images

Figure CN116094864B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home technology, and in particular to a method for linking home appliances, electronic devices, and computer-readable storage media. Background Technology
[0002] In recent years, with the continuous improvement of network technology and information technology, the application of smart home appliances has become widespread. Compared with traditional home appliances, smart home appliances have greater sensitivity, accurate judgment, and effective execution capabilities. In the coordinated control of smart home appliances, it is necessary to bind the devices together first. However, when multiple appliances of the same category exist, binding errors can easily occur. Summary of the Invention
[0003] The main technical problem addressed by this application is to provide a method for linking household appliances, an electronic device, and a computer-readable storage medium that enables linkage control between devices.
[0004] To solve the above-mentioned technical problems, one technical solution adopted in this application is: to provide a method for linking home devices, the method comprising: establishing a binding relationship between a first home device and a second home device and assigning a corresponding binding identification number; establishing a linkage link between the first home device and the second home device based on the binding identification number; and using the linkage link to perform linkage interaction between the first home device and the second home device.
[0005] The process of establishing a binding relationship between the first home device and the second home device includes: in response to the first home device and the second home device connecting to the terminal application, displaying the first home device and the second home device on the display interface of the terminal application, and establishing a binding relationship between the first home device and the second home device based on the user's visual operation.
[0006] The process of establishing a linkage link between a first home device and a second home device based on a binding identification number includes: in response to the first home device being able to establish a Bluetooth connection with a terminal application, establishing a first communication link between the first home device and the terminal application using the Bluetooth function of the first home device; establishing a second communication link between the second home device and the terminal application via cloud relay using the WiFi function of the second home device; and associating the first communication link and the second communication link based on the binding identification number to form a linkage link.
[0007] The linkage interaction between the first home device and the second home device using the linkage link includes: responding to the status information uploaded by the first home device through the first communication link, generating linkage information according to preset linkage rules, and sending the linkage information to the second home device via the second communication link; or, responding to the status information uploaded by the second home device through the second communication link, generating linkage information according to preset linkage rules, and sending the linkage information to the first home device via the first communication link.
[0008] The linkage interaction between the first home device and the second home device using the linkage link includes: in response to the terminal application receiving control information for the first home device, generating linkage information according to preset linkage rules, and sending the control information and linkage information to the first home device and the second home device respectively via the first communication link and the second communication link; or, in response to the terminal application receiving control information for the second home device, generating linkage information according to preset linkage rules, and sending the linkage information and control information to the first home device and the second home device respectively via the first communication link and the second communication link.
[0009] The process of establishing a linkage link between the first home device and the second home device based on the binding identification number includes: in response to the inability of the first home device and the terminal application to establish a Bluetooth connection, a first communication link is established between the first home device and the second home device based on the binding identification number and utilizing the Bluetooth function of the first home device and the second home device; a second communication link is established between the second home device and the terminal application via cloud relay using the WiFi function of the second home device, thereby using the second home device as a relay to form a linkage link.
[0010] In response to the inability of the first home device and the terminal application to establish a Bluetooth connection, a first communication link is established between the first home device and the second home device based on the binding identification number and utilizing the Bluetooth functions of the first home device and the second home device. This includes: in response to the inability of the first home device and the terminal application to establish a Bluetooth connection, controlling the first home device to send a Bluetooth broadcast containing the binding identification number of the first home device; and controlling the second home device to match the binding identification number in the Bluetooth broadcast with its own binding identification number after receiving the Bluetooth broadcast, and establishing the first communication link after matching.
[0011] The linkage interaction between the first home device and the second home device using the linkage link includes: responding to the status information uploaded by the first home device through the first communication link and the second communication link, generating linkage information according to the preset linkage rules, and sending the linkage information to the second home device through the second communication link; or, responding to the status information uploaded by the second home device through the second communication link, generating linkage information according to the preset linkage rules, and sending the linkage information to the first home device through the second communication link and the first communication link.
[0012] The linkage interaction between the first home device and the second home device using the linkage link includes: in response to the terminal application receiving control information for the first home device, generating linkage information according to preset linkage rules, sending the control information to the first home device via the first communication link and the second communication link, and sending the linkage information to the second home device via the second communication link; or, in response to the terminal application receiving control information for the second home device, generating linkage information according to preset linkage rules, sending the linkage information to the first home device via the first communication link and the second communication link respectively, and sending the control information to the second home device via the second communication link.
[0013] The step of establishing a linkage link between the first home appliance and the second home appliance based on the binding identification number further includes: in response to the failure of the second communication link, directly using the first communication link as the linkage link; using the linkage link to transmit linkage information between the first home appliance and the second home appliance, including: one of the first home appliance and the second home appliance generating linkage information based on its own status information and transmitting it to the other of the first home appliance and the second home appliance through the first communication link; one of the first home appliance and the second home appliance transmitting its own status information to the other of the first home appliance and the second home appliance through the first communication link, so as to allow the other of the first home appliance and the second home appliance to generate linkage information based on the status information.
[0014] To solve the above-mentioned technical problems, another technical solution adopted in this application is to provide an electronic device, which includes a processor and a memory, wherein the memory stores program instructions and the processor executes the program instructions to realize the above-mentioned linkage method of home appliances.
[0015] To solve the above-mentioned technical problems, another technical solution adopted in this application is to provide a computer-readable storage medium for storing program instructions that can be executed to realize the above-mentioned linkage method of home appliances.
[0016] The above technical solution establishes a binding relationship between the first household device and the second household device; based on the binding relationship, a linkage link is established between the first household device and the second household device; and the linkage interaction is carried out between the first household device and the second household device by using the linkage link. Therefore, by establishing a binding relationship between the first household device and the second household device, the linkage control between the first household device and the second household device can be realized. In addition, the binding relationship is established based on the binding operation of the user in the terminal application, which makes the establishment of the binding relationship between household devices simpler and more convenient, and it is not easy to have problems of incorrect binding. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a schematic flowchart of an embodiment of the method for linkage of household devices provided by the present application;
[0018] Figure 2 is an interaction schematic diagram of household devices provided by the present application;
[0019] Figure 3 is Figure 1 a schematic flowchart of an embodiment of step S12 shown;
[0020] Figure 4 is a schematic structural diagram of an embodiment of an electronic device provided by the present application;
[0021] Figure 5 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0022] The following will describe the solution of the embodiment of the present application in detail with reference to the accompanying drawings of the specification.
[0023] In the following description, specific details such as specific system structures, interfaces, and technologies are proposed for the purpose of illustration rather than limitation, so as to thoroughly understand the present application.
[0024] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after. In addition, "multiple" in this article means two or more than two. In addition, the term "at least one" in this article represents any one of multiple types or any combination of at least two of multiple types. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set composed of A, B, and C.
[0025] Please refer to Figure 1 , Figure 1This is a flowchart illustrating an embodiment of the home appliance linkage method provided in this application. It should be noted that if substantially the same result is achieved, this embodiment does not necessarily reflect that outcome. Figure 1 The illustrated process sequence is limited. For example... Figure 1 As shown, this embodiment includes:
[0026] Step S11: Establish a binding relationship between the first home appliance and the second home appliance.
[0027] The method in this embodiment is used to link household appliances, thereby achieving coordinated control of these appliances. The type of household appliance is not limited; it can be specifically set according to actual usage needs. For example, household appliances include stoves, refrigerators, range hoods, washing machines, water heaters, and lights. For instance, taking a stove and range hood as examples, by linking the stove and range hood, coordinated control of them can be achieved. For example, after the stove is ignited, the range hood automatically turns on.
[0028] In this embodiment, a binding relationship is established between a first home appliance and a second home appliance; wherein, the binding relationship is established based on the binding operation performed by the user in the terminal application. By establishing a binding relationship between the first home appliance and the second home appliance, the home appliances that actually need to be bound and linked can be identified subsequently; in addition, since the binding relationship between the first home appliance and the second home appliance is established because the binding operation is performed by the user in the terminal application, the establishment of the binding relationship is more flexible and convenient, and the occurrence of binding relationship establishment errors is reduced.
[0029] There are no restrictions on the first and second household appliances; they can be set according to actual usage needs. For example, the first household appliance could be a stove, and the second household appliance could be a range hood.
[0030] In one embodiment, in response to the first and second home devices being connected to the terminal application, the first and second home devices are displayed on the terminal application's display interface, and a binding relationship is established between the first and second home devices based on the user's visual operation. Specifically, the first and second home devices are connected to the terminal application; the first and second home devices are displayed on the terminal application's display interface; the user can select the second home device to be bound on the product function control page of the first home device, or the user can select the first home device to be bound on the product function control page of the second home device, to establish a binding relationship between the first and second home devices.
[0031] Step S12: Based on the binding relationship, establish a linkage link between the first home device and the second home device.
[0032] In this embodiment, a linkage link is established between the first home appliance and the second home appliance based on the binding relationship, so that the first home appliance and the second home appliance can be linked for control in the future.
[0033] Step S13: Use the linkage link to perform linkage interaction between the first home device and the second home device.
[0034] In this embodiment, a linkage link is used to establish linkage interaction between the first home appliance and the second home appliance; that is, after the linkage link is established between the first home appliance and the second home appliance, linkage control of the first home appliance and the second home appliance can be realized based on the linkage link.
[0035] In the above embodiments, a binding relationship is established between the first home appliance and the second home appliance; based on the binding relationship, a linkage link is established between the first home appliance and the second home appliance; and the linkage link is used to perform linkage interaction between the first home appliance and the second home appliance. Therefore, by establishing a binding relationship between the first home appliance and the second home appliance, linkage control between the first home appliance and the second home appliance can be realized. In addition, the binding relationship is established based on the user's binding operation in the terminal application, making the establishment of binding relationships between home appliances simpler and more convenient, and less prone to binding errors.
[0036] like Figure 2 As shown, Figure 2 This is an interactive diagram of the home appliances provided in this application. The first home appliance has a Bluetooth module, which enables it to establish a Bluetooth connection with a terminal application. The second home appliance has a dual-mode module, which integrates both Bluetooth and WiFi functions. The second home appliance can connect to the cloud via WiFi, and then connect to the terminal application through the cloud. It should be noted that the terminal application connects to the cloud through the terminal device's network, so the second home appliance can connect to the terminal application through the cloud. Furthermore, the second home appliance uses a dual-mode module that integrates both Bluetooth and WiFi functions, which reduces costs compared to using separate Bluetooth and WiFi modules in the second home appliance.
[0037] In one specific implementation, such as Figure 3 As shown, Figure 3 yes Figure 1 The flowchart of step S12 shown is a schematic diagram of an embodiment. Based on the binding relationship, a linkage link is established between the first home device and the second home device, specifically including the following sub-steps:
[0038] Step S31: In response to the first home device being able to establish a Bluetooth connection with the terminal application, a first communication link is established between the first home device and the terminal application using the Bluetooth function of the first home device.
[0039] In this embodiment, in response to the first home device being able to establish a Bluetooth connection with the terminal application, a first communication link is established between the first home device and the terminal application using the Bluetooth function of the first home device. That is, when the first home device is able to establish a Bluetooth connection with the terminal application, a Bluetooth connection is established with the terminal application, thereby establishing a first communication link between the first home device and the terminal application.
[0040] Step S32: Utilize the WiFi function of the second home device to establish a second communication link via the cloud between the second home device and the terminal 5 application.
[0041] In this embodiment, the WiFi function of the second home device is used to establish a second communication link via the cloud between the second home device and the terminal application. In other words, by using the WiFi function of the second home device to connect to the cloud, the terminal application will access the cloud through the terminal device's network...
[0042] The network connects to the cloud, so the second home device can connect to the terminal application through the cloud, thus establishing a second communication link between the second home device and the terminal application via the cloud.
[0043] Step S33: Associate the first communication link with the second communication link to form a linkage link.
[0044] In this embodiment, the first communication link and the second communication link are associated to form a linkage link. That is, the first communication link and the second communication link are associated to form a linkage link between the terminal application, the first home device, and the second home device, thereby enabling the terminal application to perform linkage control on the first home device and the second home device based on the linkage link.
[0045] In one embodiment, a linkage link is used between the first home appliance and the second home appliance.
[0046] The interaction between the two devices is as follows: in response to the first home device uploading status information 0 through the first communication link, linkage information is generated according to the preset linkage rules, and the linkage information is sent to the second home device through the second communication link; or, in response to the second home device uploading status information through the second communication link, linkage information is generated according to the preset linkage rules, and the linkage information is sent to the first home device through the first communication link.
[0047] Specifically, after the state of the first home appliance changes, state information is generated and transmitted to the terminal application via the first communication link. The terminal application generates linkage information according to preset linkage rules and sends the linkage information to the second home appliance via the second communication link, so that the second home appliance adjusts its state accordingly, thereby realizing the linkage control between the first and second home appliances. Alternatively, after the state of the second home appliance changes, state information is generated and transmitted to the terminal application via the second communication link. The terminal application generates linkage information according to preset linkage rules and sends the linkage information to the first home appliance via the first communication link, so that the first home appliance adjusts its state accordingly, thereby realizing the linkage control between the first and second home appliances.
[0048] For example, taking the first household appliance as a stove and the second household appliance as a range hood: after the stove is ignited and turned on, it generates power-on status information and transmits it to the terminal application through the first communication link; the terminal application generates linkage information according to the preset linkage rules and sends the linkage information to the range hood through the second communication link, so that the range hood turns on after receiving the linkage information, thus realizing that the range hood automatically turns on after the stove is ignited and turned on.
[0049] In other embodiments, the linkage link is used to perform linkage interaction between the first home device and the second home device. Specifically, in response to the terminal application receiving control information for the first home device, linkage information is generated according to preset linkage rules, and the control information and linkage information are respectively sent to the first home device and the second home device via the first communication link and the second communication link, respectively; or, in response to the terminal application receiving control information for the second home device, linkage information is generated according to preset linkage rules, and the linkage information and control information are respectively sent to the first home device and the second home device via the first communication link and the second communication link, respectively.
[0050] Specifically, when the terminal application receives control information for the first home device, it generates linkage information according to preset linkage rules. At this time, the control information is sent to the first home device through the first communication link and the linkage information is sent to the second home device through the second communication link. Alternatively, when the terminal application receives control information for the second home device, it generates linkage information according to preset linkage rules. At this time, the control information is sent to the second home device through the second communication link and the linkage information is sent to the first home device through the first communication link.
[0051] For example, taking a cooktop as the first household appliance and a range hood as the second household appliance: After the user increases the heat of the cooktop through the terminal application, the terminal application will receive the control information for the cooktop; at this time, the terminal application will generate linkage information for the range hood according to the preset linkage rules, and send the control information to the cooktop through the first communication link and the linkage information to the range hood through the second communication link, so that the cooktop and the range hood can be adjusted simultaneously, realizing the linkage control of the cooktop and the range hood.
[0052] In other specific embodiments, a linkage link is established between the first home device and the second home device based on the binding relationship. Specifically, this includes: in response to the inability of the first home device and the terminal application to establish a Bluetooth connection, a first communication link is established between the first and second home devices using their Bluetooth functions, based on the binding relationship; and a second communication link, relayed through the cloud, is established between the second home device and the terminal application using its WiFi function, thus forming a linkage link using the second home device as a relay. Specifically, when the first home device and the terminal application cannot establish a Bluetooth connection, a Bluetooth connection is established with the second home device to attach to it, which is equivalent to establishing a first communication link between the first and second home devices to share the communication function of the second home device and connect to the terminal application; the second home device connects to the cloud using its WiFi function. Since the terminal application connects to the cloud through the terminal device's network, the second home device can connect to the terminal application through the cloud, thereby establishing a second communication link between the second home device and the terminal application via the cloud.
[0053] In one embodiment, in response to the inability of the first home device and the terminal application to establish a Bluetooth connection, a first communication link is established between the first home device and the second home device based on the binding relationship and utilizing their Bluetooth functions. Specifically, in response to the inability of the first home device and the terminal application to establish a Bluetooth connection, the first home device is controlled to send a Bluetooth broadcast containing its binding identifier; upon receiving the Bluetooth broadcast, the second home device is controlled to match the binding identifier in the Bluetooth broadcast with its own binding identifier, and establish the first communication link after matching. That is, when the first home device cannot establish a Bluetooth connection with the terminal application due to the distance between them, it will send a Bluetooth broadcast containing its binding identifier; upon receiving the Bluetooth broadcast containing the binding identifier, the second home device will determine whether the received binding identifier matches its own binding identifier, and if it confirms that the received binding identifier matches its own binding identifier, it will initiate a connection to the first home device to establish a Bluetooth connection between the first home device and the second home device, thereby establishing a first communication link between the first home device and the second home device, and realizing the first home device being attached to the second home device.
[0054] In one embodiment, the linkage link is used to perform linkage interaction between the first home device and the second home device. Specifically, in response to the status information uploaded by the first home device through the first communication link and the second communication link, linkage information is generated according to the preset linkage rules, and the linkage information is sent to the second home device through the second communication link; or, in response to the status information uploaded by the second home device through the second communication link, linkage information is generated according to the preset linkage rules, and the linkage information is sent to the first home device through the second communication link and the first communication link.
[0055] Specifically, after the state of the first home appliance changes, state information is generated and transmitted to the terminal application via the first and second communication links. That is, the network sharing the second home appliance transmits the state information to the terminal application. The terminal application generates linkage information according to preset linkage rules and sends the linkage information to the second home appliance via the second communication link, causing the second home appliance to adjust its state accordingly, thereby achieving linkage control between the first and second home appliances. Alternatively, after the state of the second home appliance changes, state information is generated and transmitted to the terminal application via the second communication link. The terminal application generates linkage information according to preset linkage rules and sends the linkage information to the first home appliance via both the second and first communication links, causing the first home appliance to adjust its state accordingly, thereby achieving linkage control between the first and second home appliances.
[0056] For example, taking the first household appliance as a stove and the second household appliance as a range hood: after the stove is ignited and turned on, it generates power-on status information and transmits it to the terminal application through the first communication link; the terminal application generates linkage information according to the preset linkage rules and sends the linkage information to the range hood through the second communication link, so that the range hood turns on after receiving the linkage information, thus realizing that the range hood automatically turns on after the stove is ignited and turned on.
[0057] In other embodiments, the linkage link is used to perform linkage interaction between the first home device and the second home device. Specifically, in response to the terminal application receiving control information for the first home device, linkage information is generated according to preset linkage rules, and the control information is sent to the first home device via the first communication link and the second communication link, and the linkage information is sent to the second home device via the second communication link; or, in response to the terminal application receiving control information for the second home device, linkage information is generated according to preset linkage rules, and the linkage information is sent to the second home device via the first communication link and the second communication link respectively.
[0058] Specifically, when the terminal application receives control information for the first home device, it generates linkage information according to preset linkage rules. At this time, the control information is sent to the first home device through the first communication link and the second communication link, and the linkage information is sent to the second home device through the second communication link. Alternatively, when the terminal application receives control information for the second home device, it generates linkage information according to preset linkage rules. At this time, the control information is sent to the second home device through the second communication link, and the linkage information is sent to the first home device through the first communication link and the second communication link.
[0059] For example, taking a cooktop as the first household appliance and a range hood as the second household appliance: After the user increases the heat of the cooktop through the terminal application, the terminal application will receive the control information for the cooktop; at this time, the terminal application will generate linkage information for the range hood according to the preset linkage rules, and send the control information to the cooktop through the first communication link and the linkage information to the range hood through the second communication link, so that the cooktop and the range hood can be adjusted simultaneously, realizing the linkage control of the cooktop and the range hood.
[0060] In one specific implementation, the WiFi function of the second home device may fail, i.e., there may be a network outage. Therefore, in other implementations, in response to the failure of the second communication link, the first communication link is directly used as the linkage link. That is, after the first home device and the terminal application cannot establish a Bluetooth connection but establish a Bluetooth connection with the second home device, i.e., after the first home device is attached to the second home device, and the second home device is offline, the first communication link established between the first and second home devices using the Bluetooth function of the first and second home devices is directly used as the linkage link, so that the linkage control of the first and second home devices can still be achieved even in the event of a network outage.
[0061] At this time, the linkage link is used to perform linkage interaction between the first home device and the second home device. Specifically, one of the first home device and the second home device generates linkage information based on its own status information and transmits it to the other of the first home device and the second home device through the first communication link; or, one of the first home device and the second home device transmits its own status information to the other of the first home device and the second home device through the first communication link, so that the other of the first home device and the second home device can generate linkage information based on the status information.
[0062] Please see Figure 4 , Figure 4 This is a schematic diagram of an embodiment of the electronic device provided in this application. The electronic device 40 includes a memory 41 and a processor 42 coupled to each other. The processor 42 is used to execute program instructions stored in the memory 41 to implement the steps of any of the above-described home appliance linkage method embodiments. In a specific implementation scenario, the electronic device 40 may include, but is not limited to, a microcomputer or a server. In addition, the electronic device 40 may also include mobile devices such as laptops and tablets, which are not limited here.
[0063] Specifically, processor 42 controls itself and memory 41 to implement the steps of any of the above-described home appliance linkage method embodiments. Processor 42 can also be referred to as a CPU (Central Processing Unit). Processor 42 may be an integrated circuit chip with signal processing capabilities. Processor 42 can also be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor or any conventional processor. Furthermore, processor 42 can be implemented using integrated circuit chips.
[0064] Please see Figure 5 , Figure 5 This is a schematic diagram of an embodiment of the computer-readable storage medium provided in this application. The computer-readable storage medium 50 of this application embodiment stores program instructions 51. When executed, these program instructions 51 implement the methods provided in any embodiment and any non-conflicting combination of the home appliance linkage method of this application. The program instructions 51 can form a program file and be stored in the aforementioned computer-readable storage medium 50 in the form of a software product, so that a computer device (which may be a personal computer, server, or network device, etc.) executes all or part of the steps of the methods of various embodiments of this application. The aforementioned computer-readable storage medium 50 includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, or terminal devices such as computers, servers, mobile phones, and tablets.
[0065] If the technical solution of this application involves personal information, the product using this technical solution has clearly informed the user of the personal information processing rules and obtained the user's voluntary consent before processing the personal information. If the technical solution of this application involves sensitive personal information, the product using this technical solution has obtained the user's separate consent before processing the sensitive personal information, and also meets the requirement of "express consent". For example, at personal information collection devices such as cameras, clear and prominent signs are set up to inform users that they have entered the scope of personal information collection and that personal information will be collected. If an individual voluntarily enters the collection scope, it is deemed that they have agreed to the collection of their personal information; or on the personal information processing device, with clear signs / information informing users of the personal information processing rules, authorization is obtained from the individual through pop-up information or by asking the individual to upload their personal information; wherein, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the types of personal information processed.
[0066] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for linking home appliances, characterized in that, The method includes: A binding relationship is established between a first home device and a second home device; wherein the binding relationship is established based on the binding operation performed by the user in the terminal application; Based on the binding relationship, a linkage link is established between the first home appliance and the second home appliance; The linkage link is used to enable linkage and interaction between the first home device and the second home device; The step of establishing a linkage link between the first home appliance and the second home appliance based on the binding relationship includes: In response to the inability of the first home device and the terminal application to establish a Bluetooth connection, based on the binding relationship, a first communication link is established between the first home device and the second home device using the Bluetooth functions of the first home device and the second home device. By utilizing the WiFi function of the second home device, a second communication link is established between the second home device and the terminal application via the cloud, and then the second home device is used as a relay to form the linkage link.
2. The method according to claim 1, characterized in that, The process of establishing a binding relationship between the first home appliance and the second home appliance includes: In response to the first home device and the second home device being connected to the terminal application, the first home device and the second home device are displayed on the display interface of the terminal application, and a binding relationship is established between the first home device and the second home device based on the user's visual operation.
3. The method according to claim 1, characterized in that, The step of establishing a linkage link between the first home appliance and the second home appliance based on the binding relationship further includes: In response to the first home device being able to establish a Bluetooth connection with the terminal application, a first communication link is established between the first home device and the terminal application using the Bluetooth function of the first home device. By utilizing the WiFi function of the second home device, a second communication link via cloud relay is established between the second home device and the terminal application; The first communication link and the second communication link are associated to form the linkage link.
4. The method according to claim 3, characterized in that, The method of using the linkage link to perform linkage interaction between the first home device and the second home device includes: In response to the status information uploaded by the first home device via the first communication link, linkage information is generated according to preset linkage rules, and the linkage information is sent to the second home device via the second communication link; or, In response to the status information uploaded by the second home device through the second communication link, linkage information is generated according to the preset linkage rules, and the linkage information is sent to the first home device through the first communication link.
5. The method according to claim 3, characterized in that, The method of using the linkage link to perform linkage interaction between the first home device and the second home device includes: In response to the terminal application receiving control information for the first home appliance, linkage information is generated according to preset linkage rules, and the control information and the linkage information are respectively sent to the first home appliance and the second home appliance via the first communication link and the second communication link, respectively; or, In response to the terminal application receiving control information for the second home appliance, linkage information is generated according to preset linkage rules, and the linkage information and the control information are respectively sent to the first home appliance and the second home appliance via the first communication link and the second communication link, respectively.
6. The method according to claim 1, characterized in that, In response to the inability of the first home device and the terminal application to establish a Bluetooth connection, based on the binding relationship, a first communication link is established between the first home device and the second home device using their Bluetooth functions, including: In response to the failure of the first home device and the terminal application to establish a Bluetooth connection, the first home device is controlled to send a Bluetooth broadcast with the binding identification number of the first home device; After receiving the Bluetooth broadcast, the second home device is controlled to match the binding identification number in the Bluetooth broadcast with its own binding identification number, and establish the first communication link after matching.
7. The method according to claim 1, characterized in that, The method of using the linkage link to perform linkage interaction between the first home device and the second home device includes: In response to the status information uploaded by the first home device through the first communication link and the second communication link, linkage information is generated according to preset linkage rules, and the linkage information is sent to the second home device via the second communication link; or, In response to the status information uploaded by the second home device through the second communication link, linkage information is generated according to the preset linkage rules, and the linkage information is sent to the first home device through the second communication link and the first communication link.
8. The method according to claim 1, characterized in that, The method of using the linkage link to perform linkage interaction between the first home device and the second home device includes: In response to the terminal application receiving control information for the first home appliance, linkage information is generated according to preset linkage rules. The control information is then sent to the first home appliance via the first communication link and the second communication link, and the linkage information is sent to the second home appliance via the second communication link; or, In response to the terminal application receiving control information for the second home appliance, linkage information is generated according to preset linkage rules, and the linkage information is sent to the first home appliance via the first communication link and the second communication link respectively, and the control information is sent to the second home appliance via the second communication link.
9. The method according to claim 1, characterized in that, The step of establishing a linkage link between the first home appliance and the second home appliance based on the binding relationship further includes: In response to the failure of the second communication link, the first communication link is directly used as the linkage link. The method of using the linkage link to perform linkage interaction between the first home device and the second home device includes: One of the first and second home appliances generates linkage information based on its own status information and transmits it to the other of the first and second home appliances via the first communication link; or... One of the first home appliance and the second home appliance transmits its own status information to the other of the first home appliance and the second home appliance through the first communication link, so that the first home appliance and the other of the second home appliance can generate the linkage information based on the status information.
10. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing program instructions, and the processor executing the program instructions to implement the linkage method of the home appliance as described in any one of claims 1-9.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store program instructions that can be executed to implement the linkage method of home appliances as described in any one of claims 1-9.
Citation Information
Patent Citations
Air conditioner control method and device, air conditioner, medium and program product
CN113357781A